WO2010102479A1 - Method and system for updating media access control - Google Patents

Method and system for updating media access control Download PDF

Info

Publication number
WO2010102479A1
WO2010102479A1 PCT/CN2009/073773 CN2009073773W WO2010102479A1 WO 2010102479 A1 WO2010102479 A1 WO 2010102479A1 CN 2009073773 W CN2009073773 W CN 2009073773W WO 2010102479 A1 WO2010102479 A1 WO 2010102479A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac address
node
address
matching
target
Prior art date
Application number
PCT/CN2009/073773
Other languages
French (fr)
Chinese (zh)
Inventor
宋晓丽
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010102479A1 publication Critical patent/WO2010102479A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present invention relates to a medium access control (Media Access Control) (MAC) address refreshing technology, and more particularly to a method and system for refreshing a MAC address in an Ethernet ring protection switching.
  • Media Access Control Media Access Control
  • FIG. 1 is a schematic structural diagram of an Ethernet loop. As shown in FIG. 1, the Ethernet ring network is composed of a node 21 to a node 25, a user 11 to a user 12, a link between the user 11 and the node 21, and five nodes.
  • the link between the node 21 and the node 22 is a protection link (Ring Protection Link, the cylinder is called RPL), the node 21 is the master node, and the other nodes are all transit nodes.
  • RPL Protection Link
  • the node 21 blocks its corresponding RPL port (ie, port 31) to prevent the generation of a loop, and the traffic forwarded by the packet between the user 11 and the user 12 through the node 21, the node 25, the node 24, and The communication path formed by the links between them is transmitted.
  • the link between the node 25 and the node 24 fails, and after detecting the failure, the node 25 and the node 24 immediately block the node 25.
  • the faulty port of the node 24, and the corresponding fault detection protocol message is periodically sent out through the non-faulty port to notify the other nodes on the ring of the fault condition, and after receiving the fault detection protocol message, the node 21 starts the protection switching mechanism. Opening the previously blocked port 31, and switching the traffic between the user 11 and the user 12 to the RPL. At this time, the traffic between the user 11 and the user 12 passes through a new communication path, that is, the node 21, the node 22, the node 23, Nodes 24 and the links between them are transmitted.
  • the other nodes on the ring receive the MAC address refresh after receiving the fault detection protocol message.
  • the existing MAC address is refreshed by directly deleting the forwarding address database ( Filter
  • the cartridge is called FDB. All the entries in the list.
  • This refresh method is a "one size fits all" refresh method, which is unreasonable.
  • the refresh method of the existing MAC address since many entries that do not need to be refreshed are deleted, the convergence time of the protection switching is longer.
  • this over-refreshing directly deletes all entries in the FDB table without selecting, so that the packets between users are transferred.
  • the lack of forwarding path is based on the lack of forwarding path. It does not know how to forward the packet. The traffic that is forwarded by all the users on each node is flooded on the ports of the loop.
  • the main purpose of the present invention is to provide a method and a system for refreshing a MAC address, which can implement selective and reasonable refreshing, which can avoid not only excessive convergence time, but also avoid traffic flooding caused by excessive refresh. .
  • a method for refreshing a medium access control address is provided.
  • the method for refreshing the media access control address includes: acquiring a target media access control MAC address to be refreshed according to a port corresponding to the fault link between the nodes; and by using a source MAC address of the other node and the target MAC The address is matched, and the MAC address matching the source MAC address and the target MAC address is selected to be refreshed.
  • the obtaining the target MAC address is specifically: querying in the FDB list of the forwarding address database of the node, querying and obtaining the corresponding target MAC address according to the port number corresponding to the faulty link; The MAC address creates an address deletion list.
  • the method further includes: the other node receiving the address deletion list; querying in the FDB list of other nodes, if the corresponding MAC address cannot be queried according to the port number corresponding to the other node receiving the address deletion list, The refresh of the MAC address is not performed; otherwise, the matching is performed according to the queried MAC address.
  • the performing the matching is specifically: parsing the target MAC address from the address deletion list, matching the queried MAC address with a target MAC address, and if yes, performing a MAC address refresh; otherwise The MAC address is not refreshed; the MAC address is refreshed by: deleting the MAC address matching the target MAC address, and implementing refreshing.
  • the method further includes: returning, to all nodes including the node and the other node, all MAC addresses in the current FDB list of each node by using a node MAC address of each node Class, and the node MAC address is used as an index of the current FDB list.
  • the method further includes: first forwarding, by the node, the protocol message including the address deletion list to the other node, and simultaneously performing MAC address refreshing on each of the other nodes.
  • the system for refreshing the media access control address includes: an obtaining unit, a matching unit, and a refreshing unit; wherein the acquiring unit is configured to acquire a target MAC address to be refreshed according to a port corresponding to the faulty link between the nodes; a unit, configured to match a source MAC address of the other node with the target MAC address, and a refresh unit, configured to select to refresh the MAC address that matches the source MAC address and the target MAC address.
  • the system further includes: a creating unit, configured to create an address deletion list according to the target MAC address.
  • the system further includes: a forwarding unit, configured to forward, by the node, a protocol message including the address deletion list to the other node.
  • the matching unit is further configured to parse the target MAC address from the address deletion list; ⁇ according to the MAC address and the target MAC address queried by the port number corresponding to the other node receiving the address deletion list. Matching, if matched, the matching unit notifies the refresh unit to perform refresh of the MAC address; otherwise, the matching unit does not notify the refresh unit to perform refresh of the MAC address; the refresh unit is further configured to match the target MAC address
  • the MAC address is deleted and implemented to be refreshed.
  • the invention obtains a target MAC address to be refreshed according to a port corresponding to the fault link between the nodes; and selects a MAC that matches the source MAC address and the target MAC address by matching the source MAC address of the other node with the target MAC address.
  • the address is refreshed.
  • the present invention is different from the "one size fits all" and unselected refresh mechanism adopted by the existing MAC address refreshing method, and obtains the target MAC address to be refreshed according to the port corresponding to the faulty link between the nodes; and then uses the target MAC address.
  • the address is used as a basis for selectively and MAC address refreshing, and only refreshing the MAC address matching the target MAC address is more reasonable than the existing MAC address refreshing method.
  • FIG. 1 is a schematic structural diagram of an Ethernet loop in a normal dog state
  • FIG. 2 is a schematic structural diagram of an Ethernet loop in a protection switching state
  • FIG. 3 is a media access control according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an FDB list corresponding to each node in an Ethernet loop in a normal state according to an example of the present invention
  • FIG. 5 is an Ethernet loop in a fault state according to an example of the present invention
  • FIG. 6 is a schematic diagram of a MAC address refresh list corresponding to each node in an Ethernet loop according to an example of the present invention.
  • Address refreshing scheme the basic idea of the scheme is: obtaining a target MAC address to be refreshed according to a port corresponding to a faulty link between nodes; and then performing MAC address refreshing selectively and ambiguously using the target MAC address The basis is that only the MAC address matching the target MAC address is refreshed, which is more reasonable than the existing MAC address refresh method.
  • FIG. 3 is a schematic flowchart of a method for refreshing a media access control address according to an embodiment of the present invention.
  • the method includes the following steps: Step 101: According to a port corresponding to a fault link between nodes , get the target MAC address to be refreshed.
  • the other nodes refer to: nodes on the Ethernet loop other than the nodes involved in step 101.
  • the node involved in step 101 refers to: Two nodes connecting the faulty link.
  • the source MAC address may be: a MAC address pre-stored in the FDB list among other nodes on the Ethernet ring.
  • the target MAC address to be refreshed in step 101 may be: deleting the MAC address in the list according to the address created by the port corresponding to the faulty link between the nodes, and the MAC address is selectively performing MAC on other nodes.
  • the MAC address on which the purpose of selective and accurate refresh is achieved is specifically matched only when the MAC address in the FDB list of the other node matches the MAC address in the address deletion list.
  • the MAC address is refreshed, that is, the entry of the entry in the FDB list of the other node where the matched MAC address is located is deleted.
  • the specific processing procedure of the step 101 is: querying in the FDB list saved by the node, and querying and obtaining the corresponding target MAC address according to the port number corresponding to the faulty link. After that, the address deletion list (Delete Address List) is created according to the target MAC address. After the DAL is created, the step 101a may be further included before the matching in step 102 is performed.
  • the specific processing procedure of step 101a is: receiving DAL by other nodes; querying in the FDB list saved by other nodes, if receiving DAL according to other nodes The port number cannot be queried.
  • step 102 is performed, and the matching of the MAC address is performed according to the queried MAC address.
  • the other node receives the port number corresponding to the DAL, which is the same as the port number corresponding to the fault link between the nodes mentioned in the specific processing of step 101 above. Because the two are the same, the target MAC address obtained by the port number corresponding to the faulty link between the nodes can be matched to the MAC address of the other node, and the other can be selectively performed. The MAC address of the node is refreshed.
  • the specific process of performing MAC address matching in step 102 is: parsing the target MAC address from the DAL, matching the queried MAC address with the target MAC address, and if yes, performing MAC address refresh; otherwise, not performing The MAC address is refreshed.
  • the specific process of performing the MAC address refreshing in step 102 is as follows: In the FDB list saved by other nodes, the MAC address matching the target MAC address is deleted, and refreshing is implemented. It should be noted that the FDB list saved by the node and the type of the FDB list saved by other nodes include two cases. The list type of the first case includes two contents, specifically: the MAC address of the node and the access under the node. User MAC address, and port number.
  • the destination MAC address is obtained based on the port number, and then the DAL contains all the MAC addresses when the DAL is created according to the target MAC address. That is to say, the target MAC address at this time includes both the MAC address of the node and the user MAC address accessed by the node. Then, when the matching and MAC address refresh are performed based on the target MAC address in the DAL, the DAL is severely redundant due to the large number of target MAC addresses, and therefore, the MAC address refresh efficiency is affected. In order to speed up the refreshing efficiency of the MAC address and avoid the DAL redundancy caused by the large number of the target MAC addresses, the categorization step may be added before the target MAC address is obtained in step 101.
  • the specific processing procedure of the categorization step is: For all nodes, including other nodes, all the MAC addresses in the current FDB list saved by each node are classified by the node MAC address of each node in all nodes, and the node MAC address is used as the current FDB list. index.
  • the FDB list saved by the node and the type of the FDB list saved by other nodes are all FDB lists indexed by the node MAC address after categorization;
  • the target MAC address included in the DAL is the node MAC
  • the address is:
  • the list type of the second case includes three items, specifically: The node MAC address as the list index is the first item in the list, the MAC address of the node and the user MAC address accessed under the node. It is the second item in the list, and the third item in the list is the port number. And, create DAL, match, and refresh Both are based on the list index corresponding to the port number.
  • the target MAC address at this time only includes the MAC address of the node as the list index. Then, when the matching and MAC address refresh are performed based on the target MAC address in the DAL, since the target MAC address only includes the MAC address of the node, Different from the first case, the number of target MAC addresses is greatly reduced, thereby avoiding the redundancy of the DAL and greatly improving the refresh efficiency of the MAC address. It should be noted that the method further includes: first forwarding the protocol message including the DAL from the node to the other node, and then simultaneously performing MAC address refreshing on each node in the other node.
  • the present invention selectively and explicitly performs MAC address deletion to implement MAC address refresh, including the following contents: First, the faulty link neighbor node detects a fault, and then according to the phase The DAL is created on the port corresponding to the faulty link between the neighboring nodes.
  • the DAL is created as follows: In the FDB list saved on the adjacent node of the faulty link, find the MAC address of the ring node associated with the port corresponding to the faulty link.
  • the entry of the entry clears the corresponding MAC address in the FDB list on the neighboring node of the faulty link, and creates a DAL according to the MAC address of the node; subsequently, the protocol message carrying the DAL is along the non-failed port. Broadcast or multicast on the ring.
  • the other nodes on the ring except the neighboring nodes of the faulty link look up the MAC address of the ring node corresponding to the protocol message receiving port in the FDB list. That is, the port MAC address is received, and the MAC address of the receiving port is matched with the MAC address in the DAL.
  • the M in the FDB list indexed by the MAC address is deleted.
  • the AC address group is used to implement the refresh of the MAC address.
  • the node forwards the protocol message carrying the DAL between other nodes on the ring before the matching process, that is, the protocol message carrying the DAL can be as fast as possible.
  • the multicast is forwarded on all ring nodes by multicast or broadcast, and the FDB list refresh operation is performed almost simultaneously at each node.
  • the method provided by the embodiment of the present invention includes three technical points: First, each node of the Ethernet loop pairs all MAC addresses in the current FDB, that is, the MAC address of the node including each node on the ring and the user MAC address accessed by each node.
  • All MAC addresses within are categorized and categorized by the node MAC address of each node on the ring. In this way, when the subsequent D AL is created and the MAC address is deleted based on the MAC address of the node, the MAC address refresh efficiency is greatly improved. Second, when a loop fault occurs, the neighboring node of the faulty link detects the fault condition, immediately blocks its corresponding faulty port/blocking port, and searches for the corresponding ring in the FDB table according to the port corresponding to the faulty link. Node MAC address, create DAL.
  • the subsequent deletion of the corresponding MAC address group in the FDB is performed according to the DAL, and the protocol message carrying the DAL is periodically broadcast/multicasted on the ring through the non-faulty port to notify other nodes on the ring of the failure.
  • the master node on the ring initiates a protection switching mechanism to open the previously blocked RPL port, switches the traffic to the new communication path, and carries the DAL on the new communication path.
  • the protocol message is forwarded between the nodes on the ring.
  • the MAC address is updated according to the DAL.
  • the other nodes on the ring forward the packet and record the port number of the protocol message carrying the DAL.
  • the refresh method can not only perform selective, fast, and accurate MAC address refreshing, but also can effectively shorten the convergence time, and prevent the traffic data caused by excessive refreshing from flooding in the network. .
  • the refresh method can also solve the address refresh problem of multi-point fault and non-inversion mode in the Ethernet ring network.
  • the node is set to perform MAC address refresh only once in one state. If it is in the protection switching state, it can only be refreshed once. This will lead to two problems. First, when a node has multiple faults, if the faulty node recovers first, the network topology changes, but all the nodes on the loop are in the protection switching state. Perform a MAC address refresh. Second, in non-reversal mode, if a link in the ring network fails, all nodes enter the protection switching state. Because the ring network works in non-reversal mode, all nodes cannot be protected even after the fault is recovered.
  • the MAC address under the refresh problem consists of an Ethernet consisting of four nodes, users accessing each node, and links between them.
  • each node is represented by A, B, C and D respectively; the users accessed under node A are represented by AX, AY and AZ respectively; the users accessed under node B are represented by BX; the users accessed by node C are respectively CX and CY are indicated.
  • Each port number in the figure indicates the port number corresponding to the link accessed by each node; node A is the master node, the link between node A and node B is the RPL link, and a represents the RPL port of node A.
  • FIG. 4 is a diagram showing an FDB column corresponding to each node in an Ethernet loop in a normal state according to an example of the present invention. Schematic diagram of the table.
  • FIG. 5 is a schematic diagram showing the creation of a MAC address deletion list in an Ethernet ring in a fault state according to an example of the present invention.
  • FIG. 6 is a schematic diagram of a MAC address refresh list corresponding to each node in an Ethernet loop according to an example of the present invention.
  • the specific processing procedure of the MAC address refresh method is: Normal ⁇ ! In the dog state, node A blocks its corresponding RPL port to prevent loop formation.
  • the FDB list maintained by each node on the ring is shown in Figure 4.
  • Each node on the ring pairs all user MAC addresses and ring node MAC addresses.
  • the node MAC on the ring is classified for the index.
  • the link on the ring fails, for example, the link between node C and node D fails.
  • node C and node D detect the fault and block their corresponding fault ports respectively.
  • the port corresponding to the path finds the MAC address of the corresponding ring node and creates a DAL.
  • the created DAL and the FDB list maintained by each node on the ring are shown in Figure 5. Moreover, the DAL in FIG.
  • DA ie, destination address
  • SA ie, source address
  • specific value of the DAL refers to the target MAC address to be refreshed.
  • the port corresponding to the faulty link is port 2
  • the port number is 2
  • the FDB list corresponding to the node C is known.
  • the destination MAC address is D
  • the D is the MAC address.
  • the indexed MAC address group thus the DAL created for node C contains D.
  • the port corresponding to the faulty link is port 1
  • the port number is 1, and the FDB list corresponding to node D is known.
  • the destination MAC address is A, B, and C, and is cleared by A.
  • B and C are MAC address groups indexed by the MAC address.
  • the DAL created for node D contains A, B, and C.
  • the corresponding MAC addresses in the FDB list are respectively cleared, and at the same time, the protocol message for the DAL created for the node C is created and created for the node D.
  • the protocol message of the DAL is periodically broadcasted on the ring along the non-faulty port, and the fault condition is notified to other nodes on the ring.
  • the node A After receiving the protocol message, the node A initiates the protection switching mechanism to open the previously blocked RPL port, and switches the traffic to the RPL link. After receiving the protocol message carrying the DAL list, each node on the ring combines the receiving of the protocol message. The port compares the MAC address of the ring node corresponding to the receiving port in the FDB list of the node with the MAC address in the DAL. If the port matches the MAC address of the corresponding ring, the MAC address group of the FDB list is deleted. As shown in FIG. 6, for example, the node A receives the protocol message of the DAL created by the node D from the node D through the port 1, and searches for the MAC address of the ring node corresponding to the port 1 in the FDB list.
  • node A receives the protocol of DAL created by node C for node C through port 2.
  • the message finds the MAC address of the ring node corresponding to port 2 in its own FDB list, and the search result includes three addresses B, C, and D, and matches the search result with the DAL sent by node C, because node C sends it.
  • the DAL contains the MAC address D. Therefore, the entry in the FDB list that matches the MAC address D is deleted. That is, the port 2 corresponds to the entry with the MAC address being D.
  • the node B takes the node on the ring corresponding to the port 1.
  • the MAC address A matches the DAL created by the node D
  • the MAC addresses C and D corresponding to the port 2 match the DAL created by the node C
  • all the matching entries that is, the MAC address group indexed by A and the MAC address group indexed by D.
  • a computer readable medium having stored thereon computer executable instructions for causing a computer or processor to perform, for example, when executed by a computer or processor The processing of step S101 and step S102 shown in Fig. 3, preferably, one or more of the above embodiments may be performed.
  • the embodiment of the present invention provides a MAC address refreshing system, where the system includes: an obtaining unit, a matching unit, and a refreshing unit.
  • the obtaining unit is configured to obtain a target MAC address to be refreshed according to the port corresponding to the faulty link between the nodes.
  • a matching unit configured to match source MAC addresses of other nodes with target MAC addresses.
  • the refresh unit is configured to select to refresh the MAC address that matches the source MAC address and the destination MAC address.
  • the system may further include: a creating unit, configured to create an address deletion list with the target MAC address.
  • the system may further include: a forwarding unit, configured to forward the protocol message including the address deletion list to the other node by the node.
  • the matching unit is further configured to parse the target MAC address from the address deletion list; in the FDB list saved by the other node, the MAC address and the target MAC address that are queried according to the port number corresponding to the address deletion list received by the other node are performed. Matching, if matched, the matching unit notifies the refresh unit to perform refresh of the MAC address; otherwise, the matching unit does not notify the refresh unit to perform refresh of the MAC address.
  • the refresh unit is further configured to delete the MAC address matching the target MAC address in the FDB list saved by the other node, and implement refreshing.
  • the medium access control address refreshing scheme provided by the embodiment of the present invention is more than the existing one.
  • the MAC address refresh scheme is more reasonable, and it can effectively reduce the protection switching time and prevent the traffic caused by over-refreshing from flooding on the Ethernet loop.
  • the implementation of the present invention does not modify the system architecture and the current processing flow, is easy to implement, facilitates promotion in the technical field, and has strong industrial applicability. The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Landscapes

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

Abstract

A method for updating media access control (MAC) address is provided by the invention. The method includes: acquiring the target MAC address to be updated according to the port corresponding to the failure link between the nodes (101); by matching the source MAC address stored by other nodes with the target MAC address, selecting the MAC address to update when the source MAC address matches the target MAC address (102). A system for updating media access control address is also provided by the invention, wherein, an acquiring unit is used for acquiring the target MAC address to be updated according to the port corresponding to the failure link between the nodes; a matching unit is used for matching the source MAC address of other nodes with the target MAC address; an updating unit is used for selecting the MAC address to update when the source MAC address matches the target MAC address. Adopting the method and system of the invention, it can be realized that MAC address is updated optionally.

Description

媒体接入控制的刷新方法及系统  Method and system for refreshing media access control
技术领域 本发明涉及媒体接入控制 (Media Access Control, 筒称为 MAC ) 地址 的刷新技术, 尤其涉及一种在以太环网保护倒换中 MAC地址的刷新方法及 系统。 背景技术 目前以太网环路结构在城域网或企业网中应用很广泛,该结构能够提高 网络的可靠性, 当环网上一条链路断开时, 启用备份链路即可恢复环网上各 个节点之间的通信。 如图 1是以太网环路的组成结构示意图, 如图 1所示, 该以太环网由节点 21〜节点 25、 用户 11〜用户 12、 用户 11与节点 21之间的 链路、 五个节点之间的链路、 以及节点 24与用户 12之间的链路组成。 其中, 节点 21与节点 22之间的链路为保护链路( Ring Protection Link,筒称为 RPL ) , 节点 21为主节点, 除此之外的节点都为传输节点。 正常情况下, 节点 21阻 塞其对应的 RPL端口 (即, 端口 31 ) 以防止环路的产生, jt匕时用户 11与用 户 12之间报文转发的流量通过节点 21、 节点 25、 节点 24以及它们之间的 链路所组成的通信路径进行传输。 当正常的通信路径的某个节点或者链路发 生故障, 如图 2所示, 比如节点 25与节点 24之间的链路发生了故障, 节点 25和节点 24检测到故障后, 立即阻塞节点 25和节点 24的故障端口, 并通 过非故障的端口周期地向外发送相应的故障检测协议消息以将该故障情况通 知环上其他节点, 节点 21收到该故障检测协议消息后, 启动保护倒换机制, 打开先前阻塞的端口 31 , 将用户 11与用户 12之间的流量切换到 RPL, 此时 用户 11与用户 12之间的流量通过新的通信路径, 即, 节点 21、 节点 22、 节 点 23、 节点 24以及它们之间的链路进行传输。 而且, 为了实现快速的保护 倒换 , 环上其他节点收到该故障检测协议消息后 , 进行 MAC地址的刷新。 现有 MAC 地址的刷新方法是直接删除转发地址数据库 ( FilterThe present invention relates to a medium access control (Media Access Control) (MAC) address refreshing technology, and more particularly to a method and system for refreshing a MAC address in an Ethernet ring protection switching. BACKGROUND At present, an Ethernet loop structure is widely used in a metropolitan area network or an enterprise network, and the structure can improve the reliability of the network. When a link on the ring network is disconnected, the backup link can be enabled to restore each node on the ring network. Communication between. FIG. 1 is a schematic structural diagram of an Ethernet loop. As shown in FIG. 1, the Ethernet ring network is composed of a node 21 to a node 25, a user 11 to a user 12, a link between the user 11 and the node 21, and five nodes. The link between the link and the link between the node 24 and the user 12. The link between the node 21 and the node 22 is a protection link (Ring Protection Link, the cylinder is called RPL), the node 21 is the master node, and the other nodes are all transit nodes. Normally, the node 21 blocks its corresponding RPL port (ie, port 31) to prevent the generation of a loop, and the traffic forwarded by the packet between the user 11 and the user 12 through the node 21, the node 25, the node 24, and The communication path formed by the links between them is transmitted. When a node or link of a normal communication path fails, as shown in FIG. 2, for example, the link between the node 25 and the node 24 fails, and after detecting the failure, the node 25 and the node 24 immediately block the node 25. And the faulty port of the node 24, and the corresponding fault detection protocol message is periodically sent out through the non-faulty port to notify the other nodes on the ring of the fault condition, and after receiving the fault detection protocol message, the node 21 starts the protection switching mechanism. Opening the previously blocked port 31, and switching the traffic between the user 11 and the user 12 to the RPL. At this time, the traffic between the user 11 and the user 12 passes through a new communication path, that is, the node 21, the node 22, the node 23, Nodes 24 and the links between them are transmitted. Moreover, in order to implement fast protection switching, the other nodes on the ring receive the MAC address refresh after receiving the fault detection protocol message. The existing MAC address is refreshed by directly deleting the forwarding address database ( Filter
Database, 筒称为 FDB ) 列表中的所有条目, 这种刷新方法是 "一刀切" 的 刷新方法, 是 4艮不合理的。 事实上当环路上的节点或链路发生故障时, 并非 所有的 MAC地址都是需要刷新的。 采用现有 MAC地址的刷新方法, 由于 删除了很多不必刷新的条目, 因此导致保护倒换的收敛时间较长。 同时, 这 种过度刷新不经选择地直接删除 FDB表中的所有条目,使用户之间的报文转 发时缺乏转发路径的依据 , 不知道如何转发 , 还会使各节点所有用户之间报 文转发的流量在环路各端口洪泛, 而占用正常的业务 4艮文转发流量所占的带 宽, 严重时将导致拥塞而不得不丢弃一些业务 4艮文。 总之, 为了避免收敛时 间过长以及过度刷新所导致的流量洪泛, 迫切需要一种新的刷新方法, 而对 于这种新的刷新方法, 目前尚未提出有效的解决方案。 发明内容 有鉴于此, 本发明的主要目的在于提供一种 MAC地址的刷新方法及系 统, 能实现有选择的合理刷新, 不仅能避免收敛时间过长, 又能避免过度刷 新所导致的流量洪泛。 为达到上述目的, 根据本发明的一个方面, 提供了一种媒体接入控制地 址的刷新方法。 根据本发明的媒体接入控制地址的刷新方法包括: 根据节点之间故障链路对应的端口, 获取待刷新的目标媒体接入控制 MAC地址; 通过将其他节点的源 MAC地址与所述目标 MAC地址的匹配 , 选择对 所述源 MAC地址与目标 MAC地址相匹配的 MAC地址进行刷新。 其中 , 获取所述目标 MAC地址具体为: 在节点的转发地址数据库 FDB 列表中查询 ,才艮据故障链路对应的端口号查询并获取到对应的所述目标 MAC 地址; 之后, 才艮据目标 MAC地址创建地址删除列表。 其中, 所述匹配之前还包括: 所述其他节点接收所述地址删除列表; 在 其他节点的 FDB列表中查询 ,如果根据其他节点接收地址删除列表所对应的 端口号无法查询到对应的 MAC地址, 则不执行 MAC地址的刷新; 否则, 才艮据查询到的 MAC地址执行所述匹配。 其中 , 执行所述匹配具体为: 从所述地址删除列表中解析出所述目标 MAC地址, 将所述查询到的 MAC地址与目标 MAC地址进行匹配, 如果匹 配, 则执行 MAC地址的刷新; 否则, 不执行 MAC地址的刷新; 所述 MAC地址的刷新具体为: 将与目标 MAC地址相匹配的 MAC地 址删除, 并实现刷新。 其中, 获取所述目标 MAC地址之前, 还包括: 对包括所述节点和所述 其他节点在内的所有节点 , 以各节点的节点 MAC地址对各节点的当前 FDB 列表中所有 MAC地址分别进行归类, 并将所述节点 MAC地址作为所述当 前 FDB列表的索引。 其中, 该方法还包括: 先将包含地址删除列表的协议消息由所述节点转 发到所述其他节点后 , 再在所述其他节点中的各节点同时实现 MAC地址的 刷新。 为达到上述目的, 才艮据本发明的另一个方面, 提供了一种媒体接入控制 地址的刷新系统。 根据本发明的媒体接入控制地址的刷新系统包括: 获取单元, 匹配单元 和刷新单元; 其中, 获取单元, 用于根据节点之间故障链路对应的端口 , 获取待刷新的目标 MAC地址; 匹配单元 , 用于将其他节点的源 MAC地址与所述目标 MAC地址进行 匹配; 刷新单元, 用于选择对所述源 MAC 地址与目标 MAC 地址相匹配的 MAC地址进行刷新。 其中, 该系统还包括: 创建单元, 用于才艮据所述目标 MAC地址创建地 址删除列表。 其中, 该系统还包括: 转发单元, 用于将包含所述地址删除列表的协议 消息由所述节点转发到所述其他节点。 其中, 所述匹配单元, 进一步用于从所述地址删除列表中解析出所述目 标 MAC地址; ^^艮据其他节点接收地址删除列表所对应的端口号查询到的 MAC地址与目标 MAC地址进行匹配, 如果匹配, 则匹配单元通知所述刷新 单元执行 MAC地址的刷新; 否则, 匹配单元不通知所述刷新单元执行 MAC 地址的刷新; 所述刷新单元 , 进一步用于将与目标 MAC地址相匹配的 MAC地址删 除, 并实现刷新。 本发明根据节点之间故障链路对应的端口 , 获取待刷新的目标 MAC地 址; 通过将其他节点的源 MAC地址与该目标 MAC地址的匹配, 选择对源 MAC地址与目标 MAC地址相匹配的 MAC地址进行刷新。 本发明区别于现有 MAC地址刷新方法所采取的 "一刀切" 式、 不经选 择的刷新机制 ,根据节点之间故障链路对应的端口,获取待刷新的目标 MAC 地址; 然后再以该目标 MAC地址作为有选择地和 4青确地进行 MAC地址刷 新的依据, 仅仅对与该目标 MAC地址相匹配的 MAC地址进行刷新, 比现 有 MAC地址刷新方法更合理。 采用本发明, 在有效地缩短保护倒换时间的 同时, 可防止由过度刷新所导致的业务流量在以太网环路上的洪泛。 附图说明 此处所说明的附图用来提供对本发明的进一步理解 ,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为正常犬态下以太网环路的组成结构示意图; 图 2为保护倒换状态下以太网环路的组成结构示意图; 图 3 为根据本发明实施例的媒体接入控制地址的刷新方法的实现流程 示意图; 图 4为根据本发明实例的正常状态下以太网环路中各节点对应的 FDB 列表的示意图; 图 5为根据本发明实例的故障状态下以太网环路中 MAC地址删除列表 的创建示意图; 图 6为才艮据本发明实例的以太网环路中各节点对应的 MAC地址刷新列 表的示意图。 具体实施方式 功能相克述 考虑到现有技术中存在的问题,本发明实施例提供了一种媒体接入控制 地址的刷新方案, 该方案的基本思想是: 根据节点之间故障链路对应的端口, 获取待刷新的目标 MAC地址; 然后再以该目标 MAC地址作为有选择地和 青确地进行 MAC地址刷新的依据,仅仅对与该目标 MAC地址相匹配的 MAC 地址进行刷新, 比现有 MAC地址刷新方法更合理。 下面结合附图对技术方案的实施作进一步的详细描述。 方法实施例 图 3 为根据本发明实施例的媒体接入控制地址的刷新方法的实现流程 示意图, 如图 3所示, 该方法包括以下步骤: 步骤 101、根据节点之间故障链路对应的端口,获取待刷新的目标 MAC 地址。 步骤 102、 通过将其他节点保存的源 MAC地址与目标 MAC地址的匹 配, 选择对源 MAC地址与目标 MAC地址相匹配的 MAC地址进行刷新。 这里, 其他节点指: 以太网环路上, 除步骤 101中所涉及的节点之外的 节点。 步骤 101中所涉及的节点指: 连接故障链路的两个节点。 这里 , 源 MAC地址可以为: 以太网环路上的其他节点中, 各自预先存 储在 FDB列表中的 MAC地址。 而步骤 101 中所涉及的待刷新的目标 MAC 地址可以为: 根据节点之间故障链路对应的端口所创建的地址删除列表中的 MAC地址, 该 MAC地址是在对其他节点有选择地进行 MAC地址刷新时, 为达到有选择和精确地刷新的目的所依据的 MAC地址 , 具体来说 , 只有当 其他节点 FDB列表中的 MAC地址与地址删除列表中的 MAC地址相匹配时, 才对相匹配的 MAC地址进行刷新, 即, 将该相匹配的 MAC地址所在其他 节点 FDB列表中的表项条目删除。 针对由步骤 101〜步骤 102所构成的技术方案而言, 步骤 101的具体处 理过程为: 在节点保存的 FDB列表中查询,根据故障链路对应的端口号查询 并获取到对应的目标 MAC地址。 之后, 才艮据目标 MAC地址创建地址删除 列表 ( Delete Address List, 筒称为 DAL )。 创建 DAL后 , 在执行步骤 102中的匹配之前还可以包括步骤 101a, 步 骤 101a的具体处理过程为: 其他节点接收 DAL; 在其他节点保存的 FDB列 表中查询, 如果根据其他节点接收 DAL 所对应的端口号无法查询到对应的 MAC地址, 则不执行 MAC地址的刷新; 否则, 执行步骤 102, 并才艮据查询 到的 MAC地址执行 MAC地址的匹配。 这里, 其他节点接收 DAL所对应的端口号, 与上述步骤 101的具体处 理过程中提到的节点之间故障链路对应的端口号是一样的。 正因为二者是一 样的,所以, 才能基于由节点之间故障链路对应的端口号所获取的目标 MAC 地址, 对其他节点的 MAC地址进行匹配后, 有选择地和 4青确地进行其他节 点的 MAC地址刷新。 步骤 102中执行 MAC地址的匹配的具体处理过程为: 从 DAL中解析 出目标 MAC地址, 将查询到的 MAC地址与目标 MAC地址进行匹配, 如果 匹配, 则执行 MAC地址的刷新; 否则, 不执行 MAC地址的刷新。 步骤 102中执行 MAC地址的刷新的具体处理过程为: 在其他节点保存 的 FDB列表中,将与目标 MAC地址相匹配的 MAC地址删除, 并实现刷新。 需要指出的是,节点保存的 FDB列表和其他节点保存的 FDB列表的类 型包括两种情况, 第一种情况的列表类型包括两项内容, 具体为: 节点的 MAC地址和节点下所接入的用户 MAC地址、 和端口号。 这样 , 基于端口号 获取目标 MAC地址, 进而才艮据目标 MAC地址创建 DAL时, DAL中就包含 了所有的 MAC地址。也就是说,此时的目标 MAC地址既包括了节点的 MAC 地址, 又包括了节点下所接入的用户 MAC地址。 那么, 后续基于 DAL中的 目标 MAC地址进行匹配和 MAC地址刷新时,由于目标 MAC地址的数量众 多, DAL严重冗余, 因此, 会影响到 MAC地址的刷新效率。 为了加快 MAC地址的刷新效率 , 同时避免目标 MAC地址的数量众多 所导致的 DAL冗余,可以在步骤 101的获取目标 MAC地址之前增加归类步 骤, 归类步骤的具体处理过程为: 针对包括节点和其他节点在内的所有节点 而言, 以所有节点中各节点自身的节点 MAC地址对各节点自身保存的当前 FDB列表中所有 MAC地址分别进行归类,并将节点 MAC地址作为当前 FDB 列表的索引。 从而, 在第一种情况下, 节点保存的 FDB列表和其他节点保存 的 FDB列表的类型 , 在归类后皆为采用节点 MAC地址为索引的 FDB列表; DAL中包含的目标 MAC地址为节点 MAC地址, 即为: 第二种情况的列表 类型包括三项内容, 具体为: 作为列表索引的节点 MAC地址是列表中的第 一项内容, 节点的 MAC地址和节点下所接入的用户 MAC地址是列表中的 第二项内容, 列表中的第三项内容为端口号。 并且, 创建 DAL、 匹配和刷新 时都基于端口号对应的列表索引。 也就是说, 此时的目标 MAC地址仅仅包 括作为列表索引的节点的 MAC地址 , 那么, 后续基于 DAL中的目标 MAC 地址进行匹配和 MAC地址刷新时,由于目标 MAC地址仅仅包含节点的 MAC 地址, 区别于第一种情况, 大大减氏了目标 MAC地址的数量, 从而避免了 DAL的冗余, 能大大提高 MAC地址的刷新效率。 需要指出的是, 该方法还包括: 先将包含 DAL的协议消息由节点转发 到其他节点后, 再在其他节点中的各节点同时实现 MAC地址的刷新。 综上所述, 本发明有选择性地和賴-确地进行了 MAC地址的删除以实现 MAC 地址的刷新, 包括以下内容: 首先, 故障链路相邻节点检测到故障, 才艮据该相邻节点之间故障链路对应的端口创建 DAL, 创建 DAL具体为: 在 故障链路相邻节点上保存的 FDB列表中 ,找出与故障链路对应的端口相关联 的环上节点 MAC地址的表项条目 , 依据该节点 MAC地址进行故障链路相 邻节点上自身 FDB列表中相应 MAC地址的清除, 并依据该节点 MAC地址 创建 DAL; 随后, 将携带该 DAL的协议消息沿非故障端口在环上进行广播 或多播, 环上除故障链路相邻节点以外的其他节点收到包含该 DAL 的协议 消息后, 在自身 FDB列表中查找协议消息接收端口所对应的环上节点 MAC 地址, 即,接收端口 MAC地址, 并^)夺接收端口 MAC地址与 DAL中的 MAC 地址进行匹配, 若匹配成功则删除自身 FDB列表中以该 MAC地址为索引的 MAC地址组, 从而实现 MAC地址的刷新, 同时, 节点在匹配处理之前会将 携带该 DAL 的协议消息在环上其他节点之间进行转发, 也就是说, 该携带 DAL 的协议消息能够尽可能快地通过多播或广播在所有的环上节点进行转 发, FDB列表刷新操作在各个节点几乎是同时进行的。 本发明实施例提供的方法包括三个技术要点: 第一, 以太网环路各节点 对当前 FDB中所有 MAC地址, 即 , 包括环上各节点的节点 MAC地址和各 节点接入的用户 MAC地址在内的所有 MAC地址进行归类, 且以环上各节 点的节点 MAC地址为索引进行归类。 这样 , 后续 D AL的创建 , MAC地址 的删除均以该节点 MAC地址为依据进行操作时, 会大大提高 MAC地址的 刷新效率。 第二, 当环路故障发生后, 故障链路相邻节点检测到故障情况, 立即阻塞其对应的故障端口 /阻塞端口 , 并才艮据故障链路对应的端口在 FDB 表中查找相应环上节点 MAC地址, 创建 DAL。 这样, 后续才艮据该 DAL进 行自身 FDB中相应 MAC地址组的删除, 并将携带该 DAL的协议消息通过 非故障端口在环上进行周期广播 /多播, 用以通知环上其他节点该故障情况。 第三, 环上的主节点收到携带 DAL 的协议消息后, 将启动保护倒换机制打 开先前阻塞的 RPL端口, 将流量切换到新的通信路径, 在该新的通信路径上 对该携带 DAL的协议消息在环上各节点之间进行转发; 同时根据 DAL进行 MAC地址的更新, 环上其他节点收到携带 DAL的协议消息后, 进行转发的 同时记下接收该携带 DAL 的协议消息的端口号, 并根据该端口号在各自自 身的 FDB列表中找出相应的环上节点 MAC地址, 即 ,接收端口 MAC地址, ^夺接收端口 MAC地址与 DAL中的 MAC地址进行匹配, 若匹配成功, 则将 以该 MAC地址为索引的 MAC地址组在 FDB列表中进行删除。 采用本发明实施例提供的刷新方法, 不仅可以做到选择性、 快速、 精确 地进行 MAC地址刷新, 而且能有效地缩短收敛时间, 又可防止过度刷新所 导致的业务数据在网络中的洪泛。 此外, 采用该刷新方法还可解决以太环网 中多点故障和非反转模式的地址刷新问题。 原因在于 , 基于现有的以太环网 MAC 地址刷新机制, 为防止重复刷新, 设置节点在一种状态只进行一次的 MAC 地址刷新, 如果处于保护倒换状态, 则只能刷新一次。 这样将导致两 方面问题产生, 第一, 节点发生多点故障时, 若先故障的节点首先恢复, 此 时虽然网络拓朴发生了变化, 但因环路上的所有节点均处于保护倒换状态而 无法进行 MAC地址的刷新。 第二, 非反转模式下, 若环网中某条链路发生 故障, 所有节点均进入保护倒换状态, 因为环网工作于非反转模式, 即使故 障恢复后, 所有节点仍跳不出保护倒换状态, 因此当有新的故障发生时, 虽 然网络拓朴发生了变化, 所有节点都无法进行 MAC地址的刷新。 而采用本 发明实施例提供的刷新方法, 由于导致重复刷新的可能性非常小, 因此, 并 未设置一种状态仅刷新一次的原则, 也就不会存在上述的多点故障和非反转 模式下的 MAC地址刷新问题了。 实例 叚设一以太网由四个节点、各节点下接入的用户、 以及它们之间的链路 组成。 其中, 各节点分别以 A, B , C和 D表示; 节点 A下接入的用户分别 以 AX, AY和 AZ表示; 节点 B下接入的用户以 BX表示; 节点 C接入的用 户分别以 CX和 CY表示。 图中的各端口号表示各节点所接入链路对应的端 口号; 节点 A为主节点 , 节点 A与节点 B之间的链路为 RPL链路, 以 a表 示节点 A的 RPL端口, 在正常 ^!犬态下最初节点 A阻塞该 RPL端口, 在故障 犬态下会启动保护倒换机制, jtb时节点 A会打开先前阻塞的 RPL端口。 如 图 4所示为根据本发明实例的正常状态下以太网环路中各节点对应的 FDB列 表的示意图。 图 5 所示为根据本发明实例的故障状态下以太网环路中 MAC 地址删除列表的创建示意图。 图 6所示为根据本发明实例的以太网环路中各 节点对应的 MAC地址刷新列表的示意图。 在该实例中, MAC地址的刷新方法的具体处理过程为: 正常 ^!犬态下, 节点 A阻塞其对应的 RPL端口以防止环路的形成 ,环上各节点所维护的 FDB 列表如图 4所示, 环上各节点对所有用户 MAC地址和环上节点 MAC地址 以环上节点 MAC为索引进行归类。 故障状态下 , 当环上链路发生故障 , 比如节点 C与节点 D之间的链路 发生故障,首先,节点 C与节点 D检测到故障,分别阻塞其对应的故障端口, 才艮据故障链路对应的端口找出其对应的环上节点 MAC地址并创建 DAL, 创 建的 DAL和环上各节点所维护的 FDB列表如图 5所示。 而且, 图 5中 DAL 包括三个内容, DA (即, 目的地址)作为 DAL中的第一项内容; SA (即, 源地址)作为 DAL中的第二项内容; DAL的具体值作为 DAL中的第三项内 容, 该 DAL的具体值指待刷新的目标 MAC地址。 其中, 针对节点 C而言, 其故障链路对应的端口为端口 2, 那么才艮据端口号为 2, 查找节点 C对应的 FDB列表可知, 目标 MAC地址为 D, 并清除以 D为 MAC地址索引的 MAC 地址组, 从而针对节点 C创建的 DAL中包含 D。 针对节点 D而言, 其故障 链路对应的端口为端口 1 , 那么才艮据端口号为 1 , 查找节点 D对应的 FDB列 表可知, 目标 MAC地址为 A、 B和 C, 并清除以 A、 B和 C为 MAC地址索 引的 MAC地址组。 从而, 针对节点 D创建的 DAL中包含 A、 B和 C。 随后 , 才艮据针对节点 C创建的 DAL和针对节点 D创建的 DAL各节点 分别进行自身 FDB列表中相应 MAC地址的清除, 同时, 将携带针对节点 C 创建的 DAL的协议消息和针对节点 D创建的 DAL的协议消息沿非故障端口 在环上周期性广播, 将该故障情况通知环上其他节点。 当节点 A收到协议消 息后, 将启动保护倒换机制打开先前阻塞的 RPL端口, 将流量切换到 RPL 链路, 环上各节点收到携带 DAL 列表的协议消息后, 将结合该协议消息的 接收端口将节点自身 FDB列表中接收端口相应的环上节点 MAC地址与 DAL 中的 MAC地址进行比较, 若能完全匹配, 则删除 FDB列表中以相应环上节 点 MAC地址为索引的 MAC地址组。 如图 6所示, 比如, 节点 A通过端口 1接收到节点 D发来的针对节点 D创建的 DAL的协议消息 , 将在自身 FDB 列表中查找端口 1所对应的环上节点 MAC地址, 查找结果为空, 不需刷新, 同时节点 A通过端口 2接收到节点 C发来的针对节点 C创建的 DAL的协议 消息, 在自身 FDB列表中查找端口 2所对应的环上节点 MAC地址 , 查找结 果包含 B、 C和 D三个地址, 将查找结果与节点 C发来的 DAL进行匹配, 由于节点 C发来的 DAL包含 MAC地址 D, 因此, 删除自身 FDB列表中与 MAC地址 D相匹配的表项, 即, 端口 2对应 MAC地址为 D的表项; 同理, 节点 B 夺结合端口 1所对应环上节点 MAC地址 A与节点 D创建的 DAL匹 配, 结合端口 2所对应的 MAC地址 C和 D与节点 C创建的 DAL匹配, 并 在自身 FDB列表中, 删除与节点 D创建的 DAL和节点 C创建的 DAL相匹 配的所有表项, 即, 以 A为索引的 MAC地址组和以 D为索引的 MAC地址 组。 才艮据本发明实施例, 还提供了一种计算机可读介质, 该计算机可读介质 上存储有计算机可执行的指令, 当该指令被计算机或处理器执行时, 使得计 算机或处理器执行如图 3所示的步骤 S101和步骤 S102的处理, 优选地, 可 以执行上述实施例中的一个或多个。 系统实施例 本发明实施例提供了一种 MAC地址的刷新系统, 该系统包括: 获取单 元, 匹配单元和刷新单元。 其中, 获取单元, 用于才艮据节点之间故障链路对 应的端口, 获取待刷新的目标 MAC地址。 匹配单元 , 用于将其他节点的源 MAC地址与目标 MAC地址进行匹配。 刷新单元, 用于选择对源 MAC地址 与目标 MAC地址相匹配的 MAC地址进行刷新。 这里, 该系统还可以包括: 创建单元, 用于 居目标 MAC地址创建地 址删除列表。 优选地, 该系统还可以包括: 转发单元, 用于将包含地址删除列表的协 议消息由节点转发到其他节点。 其中, 匹配单元进一步用于从地址删除列表中解析出目标 MAC地址; 在其他节点保存的 FDB列表中 ,将根据其他节点接收地址删除列表所对应的 端口号查询到的 MAC地址与目标 MAC地址进行匹配, 如果匹配, 则匹配 单元通知刷新单元执行 MAC地址的刷新; 否则, 匹配单元不通知刷新单元 执行 MAC地址的刷新。 刷新单元, 进一步用于在其他节点保存的 FDB列表 中, 将与目标 MAC地址相匹配的 MAC地址删除, 并实现刷新。 综上所述, 本发明实施例提供的媒体接入控制地址的刷新方案比现有 MAC 地址刷新方案更合理, 能够在有效地缩短保护倒换时间的同时, 防止 由过度刷新所导致的业务流量在以太网环路上的洪泛。 另外 ,本发明的实现没有对系统架构和目前的处理流程修改,易于实现, 便于在技术领域中进行推广, 具有较强的工业适用性。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。 Database, the cartridge is called FDB. All the entries in the list. This refresh method is a "one size fits all" refresh method, which is unreasonable. In fact, when a node or link on a loop fails, not all MAC addresses need to be refreshed. With the refresh method of the existing MAC address, since many entries that do not need to be refreshed are deleted, the convergence time of the protection switching is longer. At the same time, this over-refreshing directly deletes all entries in the FDB table without selecting, so that the packets between users are transferred. The lack of forwarding path is based on the lack of forwarding path. It does not know how to forward the packet. The traffic that is forwarded by all the users on each node is flooded on the ports of the loop. In severe cases, it will lead to congestion and have to discard some business. In summary, in order to avoid traffic flooding caused by too long convergence time and excessive refresh, a new refresh method is urgently needed, and an effective solution has not been proposed for this new refresh method. SUMMARY OF THE INVENTION In view of this, the main purpose of the present invention is to provide a method and a system for refreshing a MAC address, which can implement selective and reasonable refreshing, which can avoid not only excessive convergence time, but also avoid traffic flooding caused by excessive refresh. . In order to achieve the above object, according to an aspect of the present invention, a method for refreshing a medium access control address is provided. The method for refreshing the media access control address according to the present invention includes: acquiring a target media access control MAC address to be refreshed according to a port corresponding to the fault link between the nodes; and by using a source MAC address of the other node and the target MAC The address is matched, and the MAC address matching the source MAC address and the target MAC address is selected to be refreshed. The obtaining the target MAC address is specifically: querying in the FDB list of the forwarding address database of the node, querying and obtaining the corresponding target MAC address according to the port number corresponding to the faulty link; The MAC address creates an address deletion list. Before the matching, the method further includes: the other node receiving the address deletion list; querying in the FDB list of other nodes, if the corresponding MAC address cannot be queried according to the port number corresponding to the other node receiving the address deletion list, The refresh of the MAC address is not performed; otherwise, the matching is performed according to the queried MAC address. The performing the matching is specifically: parsing the target MAC address from the address deletion list, matching the queried MAC address with a target MAC address, and if yes, performing a MAC address refresh; otherwise The MAC address is not refreshed; the MAC address is refreshed by: deleting the MAC address matching the target MAC address, and implementing refreshing. Before acquiring the target MAC address, the method further includes: returning, to all nodes including the node and the other node, all MAC addresses in the current FDB list of each node by using a node MAC address of each node Class, and the node MAC address is used as an index of the current FDB list. The method further includes: first forwarding, by the node, the protocol message including the address deletion list to the other node, and simultaneously performing MAC address refreshing on each of the other nodes. In order to achieve the above object, according to another aspect of the present invention, a refresh system for a medium access control address is provided. The system for refreshing the media access control address according to the present invention includes: an obtaining unit, a matching unit, and a refreshing unit; wherein the acquiring unit is configured to acquire a target MAC address to be refreshed according to a port corresponding to the faulty link between the nodes; a unit, configured to match a source MAC address of the other node with the target MAC address, and a refresh unit, configured to select to refresh the MAC address that matches the source MAC address and the target MAC address. The system further includes: a creating unit, configured to create an address deletion list according to the target MAC address. The system further includes: a forwarding unit, configured to forward, by the node, a protocol message including the address deletion list to the other node. The matching unit is further configured to parse the target MAC address from the address deletion list; ^^ according to the MAC address and the target MAC address queried by the port number corresponding to the other node receiving the address deletion list. Matching, if matched, the matching unit notifies the refresh unit to perform refresh of the MAC address; otherwise, the matching unit does not notify the refresh unit to perform refresh of the MAC address; the refresh unit is further configured to match the target MAC address The MAC address is deleted and implemented to be refreshed. The invention obtains a target MAC address to be refreshed according to a port corresponding to the fault link between the nodes; and selects a MAC that matches the source MAC address and the target MAC address by matching the source MAC address of the other node with the target MAC address. The address is refreshed. The present invention is different from the "one size fits all" and unselected refresh mechanism adopted by the existing MAC address refreshing method, and obtains the target MAC address to be refreshed according to the port corresponding to the faulty link between the nodes; and then uses the target MAC address. The address is used as a basis for selectively and MAC address refreshing, and only refreshing the MAC address matching the target MAC address is more reasonable than the existing MAC address refreshing method. By adopting the invention, the traffic of the traffic caused by the over-refresh can be prevented from flooding on the Ethernet loop while effectively reducing the protection switching time. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic structural diagram of an Ethernet loop in a normal dog state; FIG. 2 is a schematic structural diagram of an Ethernet loop in a protection switching state; FIG. 3 is a media access control according to an embodiment of the present invention; FIG. 4 is a schematic diagram of an FDB list corresponding to each node in an Ethernet loop in a normal state according to an example of the present invention; FIG. 5 is an Ethernet loop in a fault state according to an example of the present invention; FIG. 6 is a schematic diagram of a MAC address refresh list corresponding to each node in an Ethernet loop according to an example of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention provides a media access control in consideration of the problems existing in the prior art. Address refreshing scheme, the basic idea of the scheme is: obtaining a target MAC address to be refreshed according to a port corresponding to a faulty link between nodes; and then performing MAC address refreshing selectively and ambiguously using the target MAC address The basis is that only the MAC address matching the target MAC address is refreshed, which is more reasonable than the existing MAC address refresh method. The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings. Method Embodiment FIG. 3 is a schematic flowchart of a method for refreshing a media access control address according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps: Step 101: According to a port corresponding to a fault link between nodes , get the target MAC address to be refreshed. Step 102: Select, by matching the source MAC address saved by the other node with the target MAC address, to refresh the MAC address matching the source MAC address and the target MAC address. Here, the other nodes refer to: nodes on the Ethernet loop other than the nodes involved in step 101. The node involved in step 101 refers to: Two nodes connecting the faulty link. Here, the source MAC address may be: a MAC address pre-stored in the FDB list among other nodes on the Ethernet ring. The target MAC address to be refreshed in step 101 may be: deleting the MAC address in the list according to the address created by the port corresponding to the faulty link between the nodes, and the MAC address is selectively performing MAC on other nodes. When the address is refreshed, the MAC address on which the purpose of selective and accurate refresh is achieved is specifically matched only when the MAC address in the FDB list of the other node matches the MAC address in the address deletion list. The MAC address is refreshed, that is, the entry of the entry in the FDB list of the other node where the matched MAC address is located is deleted. For the technical solution of the step 101 to the step 102, the specific processing procedure of the step 101 is: querying in the FDB list saved by the node, and querying and obtaining the corresponding target MAC address according to the port number corresponding to the faulty link. After that, the address deletion list (Delete Address List) is created according to the target MAC address. After the DAL is created, the step 101a may be further included before the matching in step 102 is performed. The specific processing procedure of step 101a is: receiving DAL by other nodes; querying in the FDB list saved by other nodes, if receiving DAL according to other nodes The port number cannot be queried. If the MAC address is not used, the MAC address is not refreshed; otherwise, step 102 is performed, and the matching of the MAC address is performed according to the queried MAC address. Here, the other node receives the port number corresponding to the DAL, which is the same as the port number corresponding to the fault link between the nodes mentioned in the specific processing of step 101 above. Because the two are the same, the target MAC address obtained by the port number corresponding to the faulty link between the nodes can be matched to the MAC address of the other node, and the other can be selectively performed. The MAC address of the node is refreshed. The specific process of performing MAC address matching in step 102 is: parsing the target MAC address from the DAL, matching the queried MAC address with the target MAC address, and if yes, performing MAC address refresh; otherwise, not performing The MAC address is refreshed. The specific process of performing the MAC address refreshing in step 102 is as follows: In the FDB list saved by other nodes, the MAC address matching the target MAC address is deleted, and refreshing is implemented. It should be noted that the FDB list saved by the node and the type of the FDB list saved by other nodes include two cases. The list type of the first case includes two contents, specifically: the MAC address of the node and the access under the node. User MAC address, and port number. In this way, the destination MAC address is obtained based on the port number, and then the DAL contains all the MAC addresses when the DAL is created according to the target MAC address. That is to say, the target MAC address at this time includes both the MAC address of the node and the user MAC address accessed by the node. Then, when the matching and MAC address refresh are performed based on the target MAC address in the DAL, the DAL is severely redundant due to the large number of target MAC addresses, and therefore, the MAC address refresh efficiency is affected. In order to speed up the refreshing efficiency of the MAC address and avoid the DAL redundancy caused by the large number of the target MAC addresses, the categorization step may be added before the target MAC address is obtained in step 101. The specific processing procedure of the categorization step is: For all nodes, including other nodes, all the MAC addresses in the current FDB list saved by each node are classified by the node MAC address of each node in all nodes, and the node MAC address is used as the current FDB list. index. Therefore, in the first case, the FDB list saved by the node and the type of the FDB list saved by other nodes are all FDB lists indexed by the node MAC address after categorization; the target MAC address included in the DAL is the node MAC The address is: The list type of the second case includes three items, specifically: The node MAC address as the list index is the first item in the list, the MAC address of the node and the user MAC address accessed under the node. It is the second item in the list, and the third item in the list is the port number. And, create DAL, match, and refresh Both are based on the list index corresponding to the port number. That is to say, the target MAC address at this time only includes the MAC address of the node as the list index. Then, when the matching and MAC address refresh are performed based on the target MAC address in the DAL, since the target MAC address only includes the MAC address of the node, Different from the first case, the number of target MAC addresses is greatly reduced, thereby avoiding the redundancy of the DAL and greatly improving the refresh efficiency of the MAC address. It should be noted that the method further includes: first forwarding the protocol message including the DAL from the node to the other node, and then simultaneously performing MAC address refreshing on each node in the other node. In summary, the present invention selectively and explicitly performs MAC address deletion to implement MAC address refresh, including the following contents: First, the faulty link neighbor node detects a fault, and then according to the phase The DAL is created on the port corresponding to the faulty link between the neighboring nodes. The DAL is created as follows: In the FDB list saved on the adjacent node of the faulty link, find the MAC address of the ring node associated with the port corresponding to the faulty link. The entry of the entry, according to the MAC address of the node, clears the corresponding MAC address in the FDB list on the neighboring node of the faulty link, and creates a DAL according to the MAC address of the node; subsequently, the protocol message carrying the DAL is along the non-failed port. Broadcast or multicast on the ring. After receiving the protocol message containing the DAL, the other nodes on the ring except the neighboring nodes of the faulty link look up the MAC address of the ring node corresponding to the protocol message receiving port in the FDB list. That is, the port MAC address is received, and the MAC address of the receiving port is matched with the MAC address in the DAL. If the matching is successful, the M in the FDB list indexed by the MAC address is deleted. The AC address group is used to implement the refresh of the MAC address. At the same time, the node forwards the protocol message carrying the DAL between other nodes on the ring before the matching process, that is, the protocol message carrying the DAL can be as fast as possible. The multicast is forwarded on all ring nodes by multicast or broadcast, and the FDB list refresh operation is performed almost simultaneously at each node. The method provided by the embodiment of the present invention includes three technical points: First, each node of the Ethernet loop pairs all MAC addresses in the current FDB, that is, the MAC address of the node including each node on the ring and the user MAC address accessed by each node. All MAC addresses within are categorized and categorized by the node MAC address of each node on the ring. In this way, when the subsequent D AL is created and the MAC address is deleted based on the MAC address of the node, the MAC address refresh efficiency is greatly improved. Second, when a loop fault occurs, the neighboring node of the faulty link detects the fault condition, immediately blocks its corresponding faulty port/blocking port, and searches for the corresponding ring in the FDB table according to the port corresponding to the faulty link. Node MAC address, create DAL. In this way, the subsequent deletion of the corresponding MAC address group in the FDB is performed according to the DAL, and the protocol message carrying the DAL is periodically broadcast/multicasted on the ring through the non-faulty port to notify other nodes on the ring of the failure. Happening. Third, after receiving the protocol message carrying the DAL, the master node on the ring initiates a protection switching mechanism to open the previously blocked RPL port, switches the traffic to the new communication path, and carries the DAL on the new communication path. The protocol message is forwarded between the nodes on the ring. At the same time, the MAC address is updated according to the DAL. After receiving the protocol message carrying the DAL, the other nodes on the ring forward the packet and record the port number of the protocol message carrying the DAL. According to the port number, find the corresponding MAC address of the ring node in the FDB list of the respective port, that is, the MAC address of the receiving port, and the MAC address of the receiving port is matched with the MAC address in the DAL. If the matching is successful, then The MAC address group indexed by the MAC address is deleted in the FDB list. The refresh method provided by the embodiment of the present invention can not only perform selective, fast, and accurate MAC address refreshing, but also can effectively shorten the convergence time, and prevent the traffic data caused by excessive refreshing from flooding in the network. . In addition, the refresh method can also solve the address refresh problem of multi-point fault and non-inversion mode in the Ethernet ring network. The reason is that, based on the existing Ethernet ring address MAC address refresh mechanism, to prevent duplicate refresh, the node is set to perform MAC address refresh only once in one state. If it is in the protection switching state, it can only be refreshed once. This will lead to two problems. First, when a node has multiple faults, if the faulty node recovers first, the network topology changes, but all the nodes on the loop are in the protection switching state. Perform a MAC address refresh. Second, in non-reversal mode, if a link in the ring network fails, all nodes enter the protection switching state. Because the ring network works in non-reversal mode, all nodes cannot be protected even after the fault is recovered. Switching state, so when a new fault occurs, although the network topology changes, all nodes cannot perform MAC address refresh. However, with the refresh method provided by the embodiment of the present invention, since the possibility of repeated refresh is very small, the principle that the state is only refreshed once is not set, and the above-mentioned multi-point fault and non-reverse mode do not exist. The MAC address under the refresh problem. The example consists of an Ethernet consisting of four nodes, users accessing each node, and links between them. Among them, each node is represented by A, B, C and D respectively; the users accessed under node A are represented by AX, AY and AZ respectively; the users accessed under node B are represented by BX; the users accessed by node C are respectively CX and CY are indicated. Each port number in the figure indicates the port number corresponding to the link accessed by each node; node A is the master node, the link between node A and node B is the RPL link, and a represents the RPL port of node A. Normal ^! In the dog state, node A first blocks the RPL port, and in the faulty state, the protection switching mechanism is started. At jtb, node A opens the previously blocked RPL port. FIG. 4 is a diagram showing an FDB column corresponding to each node in an Ethernet loop in a normal state according to an example of the present invention. Schematic diagram of the table. FIG. 5 is a schematic diagram showing the creation of a MAC address deletion list in an Ethernet ring in a fault state according to an example of the present invention. FIG. 6 is a schematic diagram of a MAC address refresh list corresponding to each node in an Ethernet loop according to an example of the present invention. In this example, the specific processing procedure of the MAC address refresh method is: Normal ^! In the dog state, node A blocks its corresponding RPL port to prevent loop formation. The FDB list maintained by each node on the ring is shown in Figure 4. Each node on the ring pairs all user MAC addresses and ring node MAC addresses. The node MAC on the ring is classified for the index. In the fault state, when the link on the ring fails, for example, the link between node C and node D fails. First, node C and node D detect the fault and block their corresponding fault ports respectively. The port corresponding to the path finds the MAC address of the corresponding ring node and creates a DAL. The created DAL and the FDB list maintained by each node on the ring are shown in Figure 5. Moreover, the DAL in FIG. 5 includes three contents, DA (ie, destination address) as the first item in the DAL; SA (ie, source address) as the second item in the DAL; the specific value of the DAL as the DAL The third item, the specific value of the DAL refers to the target MAC address to be refreshed. For the node C, the port corresponding to the faulty link is port 2, then the port number is 2, and the FDB list corresponding to the node C is known. The destination MAC address is D, and the D is the MAC address. The indexed MAC address group, thus the DAL created for node C contains D. For node D, the port corresponding to the faulty link is port 1, then the port number is 1, and the FDB list corresponding to node D is known. The destination MAC address is A, B, and C, and is cleared by A. B and C are MAC address groups indexed by the MAC address. Thus, the DAL created for node D contains A, B, and C. Then, according to the DAL created for the node C and the DAL nodes created for the node D, the corresponding MAC addresses in the FDB list are respectively cleared, and at the same time, the protocol message for the DAL created for the node C is created and created for the node D. The protocol message of the DAL is periodically broadcasted on the ring along the non-faulty port, and the fault condition is notified to other nodes on the ring. After receiving the protocol message, the node A initiates the protection switching mechanism to open the previously blocked RPL port, and switches the traffic to the RPL link. After receiving the protocol message carrying the DAL list, each node on the ring combines the receiving of the protocol message. The port compares the MAC address of the ring node corresponding to the receiving port in the FDB list of the node with the MAC address in the DAL. If the port matches the MAC address of the corresponding ring, the MAC address group of the FDB list is deleted. As shown in FIG. 6, for example, the node A receives the protocol message of the DAL created by the node D from the node D through the port 1, and searches for the MAC address of the ring node corresponding to the port 1 in the FDB list. Empty, no need to refresh, and node A receives the protocol of DAL created by node C for node C through port 2. The message finds the MAC address of the ring node corresponding to port 2 in its own FDB list, and the search result includes three addresses B, C, and D, and matches the search result with the DAL sent by node C, because node C sends it. The DAL contains the MAC address D. Therefore, the entry in the FDB list that matches the MAC address D is deleted. That is, the port 2 corresponds to the entry with the MAC address being D. Similarly, the node B takes the node on the ring corresponding to the port 1. The MAC address A matches the DAL created by the node D, and the MAC addresses C and D corresponding to the port 2 match the DAL created by the node C, and in the FDB list, delete the DAL created by the node D and the DAL created by the node C. All the matching entries, that is, the MAC address group indexed by A and the MAC address group indexed by D. According to an embodiment of the present invention, there is also provided a computer readable medium having stored thereon computer executable instructions for causing a computer or processor to perform, for example, when executed by a computer or processor The processing of step S101 and step S102 shown in Fig. 3, preferably, one or more of the above embodiments may be performed. System Embodiment The embodiment of the present invention provides a MAC address refreshing system, where the system includes: an obtaining unit, a matching unit, and a refreshing unit. The obtaining unit is configured to obtain a target MAC address to be refreshed according to the port corresponding to the faulty link between the nodes. A matching unit, configured to match source MAC addresses of other nodes with target MAC addresses. The refresh unit is configured to select to refresh the MAC address that matches the source MAC address and the destination MAC address. Here, the system may further include: a creating unit, configured to create an address deletion list with the target MAC address. Preferably, the system may further include: a forwarding unit, configured to forward the protocol message including the address deletion list to the other node by the node. The matching unit is further configured to parse the target MAC address from the address deletion list; in the FDB list saved by the other node, the MAC address and the target MAC address that are queried according to the port number corresponding to the address deletion list received by the other node are performed. Matching, if matched, the matching unit notifies the refresh unit to perform refresh of the MAC address; otherwise, the matching unit does not notify the refresh unit to perform refresh of the MAC address. The refresh unit is further configured to delete the MAC address matching the target MAC address in the FDB list saved by the other node, and implement refreshing. In summary, the medium access control address refreshing scheme provided by the embodiment of the present invention is more than the existing one. The MAC address refresh scheme is more reasonable, and it can effectively reduce the protection switching time and prevent the traffic caused by over-refreshing from flooding on the Ethernet loop. In addition, the implementation of the present invention does not modify the system architecture and the current processing flow, is easy to implement, facilitates promotion in the technical field, and has strong industrial applicability. The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种媒体接入控制地址的刷新方法, 其特征在于, 该方法包括: A method for refreshing a media access control address, the method comprising:
根据节点之间故障链路对应的端口 , 获取待刷新的目标媒体接入 控制 MAC地址;  Obtaining a target media access control MAC address to be refreshed according to a port corresponding to the faulty link between the nodes;
通过将其他节点的源 MAC地址与所述目标 MAC地址的匹配, 选择对所述源 MAC地址与目标 MAC地址相匹配的 MAC地址进行刷 新。  The MAC address matching the source MAC address and the target MAC address is selected to be refreshed by matching the source MAC address of the other node with the target MAC address.
2. 4艮据权利要求 1 所述的方法, 其特征在于, 获取所述目标 MAC地址 具体为: 在节点的转发地址数据库 FDB列表中查询 , 根据故障链路对 应的端口号查询并获取到对应的所述目标 MAC 地址; 之后, 才艮据目 标 MAC地址创建地址删除列表。 2. The method according to claim 1, wherein the obtaining the target MAC address is: querying in a FDB list of a forwarding address database of a node, querying according to a port number corresponding to the faulty link, and obtaining a corresponding The target MAC address; after that, the address deletion list is created according to the target MAC address.
3. 根据权利要求 2所述的方法, 其特征在于, 所述匹配之前还包括: 所 述其他节点接收所述地址删除列表; 在其他节点的 FDB列表中查询 , 如果根据其他节点接收地址删除列表所对应的端口号无法查询到对应 的 MAC地址,则不执行 MAC地址的刷新; 否则,才艮据查询到的 MAC 地址执行所述匹配。 The method according to claim 2, wherein before the matching, the method further comprises: the other node receiving the address deletion list; querying in an FDB list of other nodes, if the address deletion list is received according to other nodes If the corresponding port number cannot be queried to the corresponding MAC address, the MAC address is not refreshed; otherwise, the matching is performed according to the queried MAC address.
4. 根据权利要求 3所述的方法, 其特征在于, 执行所述匹配具体为: 从 所述地址删除列表中解析出所述目标 MAC 地址, 将所述查询到的 MAC地址与目标 MAC地址进行匹配, 如果匹配, 则执行 MAC地址 的刷新; 否则, 不执行 MAC地址的刷新; The method according to claim 3, wherein the performing the matching is specifically: parsing the target MAC address from the address deletion list, and performing the queried MAC address and a target MAC address. Match, if it matches, perform MAC address refresh; otherwise, MAC address refresh is not performed;
所述 MAC 地址的刷新具体为: 将与目标 MAC 地址相匹配的 MAC地址删除, 并实现刷新。  The refreshing of the MAC address is specifically: deleting a MAC address matching the target MAC address, and implementing refreshing.
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 获取所述目 标 MAC 地址之前, 还包括: 对包括所述节点和所述其他节点在内的 所有节点, 以各节点的节点 MAC地址对各节点的当前 FDB列表中所 有 MAC地址分别进行归类, 并将所述节点 MAC地址作为所述当前 FDB列表的索引。 The method according to any one of claims 1 to 4, further comprising: before acquiring the target MAC address, further comprising: for each node including the node and the other node, The node MAC address of the node classifies all MAC addresses in the current FDB list of each node separately, and uses the node MAC address as an index of the current FDB list.
6. 根据权利要求 2所述的方法, 其特征在于, 该方法还包括: 先将包含 地址删除列表的协议消息由所述节点转发到所述其他节点后 , 再在所 述其他节点中的各节点同时实现 MAC地址的刷新。 The method according to claim 2, further comprising: first forwarding, by the node, the protocol message including the address deletion list to the other node, and then each of the other nodes The node simultaneously implements the refresh of the MAC address.
7. 一种媒体接入控制地址的刷新系统, 其特征在于, 该系统包括: 获取 单元, 匹配单元和刷新单元; 其中, A system for refreshing a media access control address, the system comprising: an acquiring unit, a matching unit, and a refreshing unit;
获取单元, 用于才艮据节点之间故障链路对应的端口, 获取待刷新 的目标 MAC地址;  An obtaining unit, configured to obtain a target MAC address to be refreshed, according to a port corresponding to the faulty link between the nodes;
匹配单元, 用于将其他节点的源 MAC地址与所述目标 MAC地 址进行匹配;  a matching unit, configured to match source MAC addresses of other nodes with the target MAC address;
刷新单元, 用于选择对所述源 MAC地址与目标 MAC地址相匹 配的 MAC地址进行刷新。  And a refreshing unit, configured to select to refresh the MAC address matching the source MAC address and the target MAC address.
8. 根据权利要求 7所述的系统, 其特征在于, 该系统还包括: 创建单元, 用于才艮据所述目标 MAC地址创建地址删除列表。 8. The system according to claim 7, wherein the system further comprises: a creating unit, configured to create an address deletion list according to the target MAC address.
9. 根据权利要求 8所述的系统, 其特征在于, 该系统还包括: 转发单元, 用于将包含所述地址删除列表的协议消息由所述节点转发到所述其他 节点。 9. The system according to claim 8, wherein the system further comprises: a forwarding unit, configured to forward, by the node, a protocol message including the address deletion list to the other node.
10. 才艮据权利要求 8或 9所述的系统, 其特征在于, 所述匹配单元, 进一 步用于从所述地址删除列表中解析出所述目标 MAC 地址; 将根据其 他节点接收地址删除列表所对应的端口号查询到的 MAC地址与目标 MAC 地址进行匹配, 如果匹配, 则匹配单元通知所述刷新单元执行 MAC地址的刷新; 否则, 匹配单元不通知所述刷新单元执行 MAC地 址的刷新; 10. The system according to claim 8 or 9, wherein the matching unit is further configured to parse the target MAC address from the address deletion list; and receive an address deletion list according to other nodes. The MAC address queried by the corresponding port number is matched with the target MAC address. If the matching, the matching unit notifies the refresh unit to perform the refresh of the MAC address; otherwise, the matching unit does not notify the refresh unit to perform the refresh of the MAC address;
所述刷新单元, 进一步用于将与目标 MAC地址相匹配的 MAC 地址删除, 并实现刷新。  The refreshing unit is further configured to delete the MAC address that matches the target MAC address, and implement refreshing.
PCT/CN2009/073773 2009-03-12 2009-09-07 Method and system for updating media access control WO2010102479A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910079480.4A CN101834771B (en) 2009-03-12 2009-03-12 Method and system for refreshing media access control
CN200910079480.4 2009-03-12

Publications (1)

Publication Number Publication Date
WO2010102479A1 true WO2010102479A1 (en) 2010-09-16

Family

ID=42718706

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073773 WO2010102479A1 (en) 2009-03-12 2009-09-07 Method and system for updating media access control

Country Status (2)

Country Link
CN (1) CN101834771B (en)
WO (1) WO2010102479A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025561B (en) * 2010-11-24 2015-06-10 中兴通讯股份有限公司 Method and system for refreshing MAC (Medium Access Controller) in Ethernet ring

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747438A (en) * 2005-10-14 2006-03-15 杭州华为三康技术有限公司 Method for assuring automatic protecting system regular service of Ethernet
WO2006125544A1 (en) * 2005-05-25 2006-11-30 Nokia Siemens Networks Gmbh & Co. Kg Ring network and method for automatic protection switching
CN101442465A (en) * 2007-11-23 2009-05-27 中兴通讯股份有限公司 Address update method for Ethernet looped network failure switching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL144100A (en) * 2000-07-06 2006-08-01 Samsung Electronics Co Ltd Mac address-based communication restricting method
US7941559B2 (en) * 2002-04-23 2011-05-10 Tellabs Bedford, Inc. Media access control address translation for a fiber to the home system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006125544A1 (en) * 2005-05-25 2006-11-30 Nokia Siemens Networks Gmbh & Co. Kg Ring network and method for automatic protection switching
CN1747438A (en) * 2005-10-14 2006-03-15 杭州华为三康技术有限公司 Method for assuring automatic protecting system regular service of Ethernet
CN101442465A (en) * 2007-11-23 2009-05-27 中兴通讯股份有限公司 Address update method for Ethernet looped network failure switching

Also Published As

Publication number Publication date
CN101834771B (en) 2014-07-16
CN101834771A (en) 2010-09-15

Similar Documents

Publication Publication Date Title
WO2017152576A1 (en) Packet forwarding method and apparatus
US8107383B2 (en) Reducing traffic loss in an EAPS system
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
EP2643940B1 (en) Method of shrinking a data loss window in a packet network device
EP2560325B1 (en) Method, system and apparatus for managing addresses in ethernet ring network
EP2518954B1 (en) Redundant ethernet automatic protection switching access to virtual private lan services.
US20130272114A1 (en) Pseudo wire switching method and device
WO2007140683A1 (en) Service protecting method, system and device based on connectionless
US20170005921A1 (en) Technique for network service availability
CN110730125B (en) Message forwarding method and device, dual-active system and communication equipment
CN101610221B (en) IP unicast smoothly switching method during STP switch and device thereof
WO2020024828A1 (en) Communication method, communication device and communication system
CA3104756C (en) Loop avoidance communications method, device, and system
CN107968753B (en) Method and device for modifying media access control address forwarding table
CN111935013A (en) Flow forwarding control method and device, flow forwarding method and chip, and switch
WO2013029438A1 (en) Ethernet interface protection method and network side device
WO2010031295A1 (en) Control method for ethernet failure recovery
CN113615132A (en) Fast flooding topology protection
WO2008095360A1 (en) Method and system for switching rapidly when there is a failure of virtual private network link path
WO2010102479A1 (en) Method and system for updating media access control
WO2018149294A1 (en) Method and apparatus for processing service flow in packet network
WO2015117465A1 (en) Fdb updating method, device, node, and system in ring network
CN115242709B (en) L2VPN to L3VPN access method, device, equipment and medium
US20230269129A1 (en) Bit Index Explicit Replication Egress Protection
WO2022011363A2 (en) Bit index explicit replication fast reroute

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09841348

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09841348

Country of ref document: EP

Kind code of ref document: A1