CN104158715A - Looped network node MAC address table refreshing and optimizing method - Google Patents

Looped network node MAC address table refreshing and optimizing method Download PDF

Info

Publication number
CN104158715A
CN104158715A CN201410450010.5A CN201410450010A CN104158715A CN 104158715 A CN104158715 A CN 104158715A CN 201410450010 A CN201410450010 A CN 201410450010A CN 104158715 A CN104158715 A CN 104158715A
Authority
CN
China
Prior art keywords
frame
looped network
node
address table
port
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.)
Pending
Application number
CN201410450010.5A
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Hubei Electric Power Co Ltd
Smart Grid Research Institute of SGCC
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Hubei Electric Power 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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Shanghai Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Hubei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410450010.5A priority Critical patent/CN104158715A/en
Publication of CN104158715A publication Critical patent/CN104158715A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention relates to a looped network node MAC address table refreshing and optimizing method. The method includes the steps that firstly, link failures happening on a looped network are detected, and a failure notification SF frame is sent; secondly, a main looped network node receives the SF frame, an RPL blocking port is opened, an MAC address table of a non-RPL connecting port is refreshed, a flag symbolic position 1 in the SF frame is sent out from a non-SF frame receiving port; thirdly, a looped network common node receives the SF frame, whether the SF frame is a message, on which the flag symbolic position is not set, sent in the first step or not is judged, and a non-receiving port forwards the SF frame; fourthly, MAC address tables do not need to be refreshed on looped network nodes receiving subsequent SF frames any more. According to the looped network node MAC address table refreshing and optimizing method, unnecessary address table refreshing on the looped network nodes is reduced, the accuracy of the address tables of the nodes is improved, the time of refreshing the address tables and the time of relearning are shortened at the same time, the self-healing efficiency of the looped network is improved, and the convergence time is shortened.

Description

On a kind of looped network, node M AC address table refreshes optimization method
Technical field
The present invention relates to a kind of mac address table and refresh optimization method, specifically will relate to node M AC address table on a kind of looped network and refresh optimization method.
Background technology
Traditional G.8032 looped network protection as shown in Figure 2, has Node1~Node6 node on ring, wherein node Node1 is host node (RPL Owner), and the link between node 1 and node 6 is reserve link (RPL).Host node blocks under normal circumstances, reserve link RPL, each node sends OAM message detection direct-connected link separately to adjacent node, and link change situation report to the host node on the ring of place.Certain link occurs fault in looped network, adjacent two nodes of link failure are Broadcast Fault notification message outwards, and host node will be opened RPL link after receiving this message, and ordinary node refreshes mac address table, each node can clog-freely be communicated by letter again like this, as shown in Figure 3.According to tradition protocol requirement G.8032, ordinary node can be by 2 port refresh alls of connecting ring once when refresh address table, this refreshing can cause the port of the unnecessary MAC of refreshing of a side also to refresh once, and when next message arrives, need again to relearn primary address, thereby cause the transmission that encircles regular traffic to receive impact, make the business recovery of node slow, reduce the efficiency of communication.
Summary of the invention
For the deficiencies in the prior art, the invention provides node M AC address table on a kind of looped network and refresh optimization method, when normal condition, on looped network, there is place's link failure in looped network of the present invention; Two nodes that fault is adjacent block non-working port, and send SF frame; When other nodes are received first SF frame, if this SF frame does not arrange flag bit through host node, can refresh the address table of the receiving port that receives SF frame and relearn, the address table of another port needn't refresh; If this SF frame process host node, and be provided with flag bit, can not refresh the address table of the receiving port that receives SF frame, but another port is carried out to address table, refresh and relearn.By method of the present invention, can reduce the number of times that the node on looped network while breaking down carries out address flush in link, accelerate the speed of address learning, shorten the time of network recovery, improve the protection switching efficiency of looped network in Single Point of Faliure situation.The present invention can occur, in the situation of single link failure, adopting more reasonably decision rule for Ethernet ring on the net, reaches and reduces unnecessary refresh operation, the self-healing of quickening looped network.
The object of the invention is to adopt following technical proposals to realize:
On looped network, node M AC address table refreshes an optimization method, and its improvements are, described method comprises
(1) there is link failure on the net and send signalling trouble SF frame in detection ring;
(2) ring network host node receives SF frame, and RPL port blocked is opened, and refreshes the mac address table of non-RPL connectivity port, by the flag mark position 1 in SF frame, from non-SF frame receiving port, outwards sends;
(3) looped network ordinary node is received SF frame, judges whether this SF frame is the message that flag flag bit is not set sending in step 1, non-reception port repeat SF frame;
(4) looped network node of receiving follow-up SF frame is without refreshing mac address table again.
Preferably, described step (1) comprises that the looped network that link failure and adjacent node detect this link failure occurs outwards sends signalling trouble SF frame.
Preferably, described step (2) comprises that ring network host node receives SF frame, determine receiving port, ring network host node is by the flag mark position 1 in SF frame, remove the obstruction of the port that connects RPL, refresh the address table of non-RPL connectivity port, from non-reception port, the SF frame that flag was set is sent.
Preferably, described step (2) comprise ring network host node by node state from normal condition transposition malfunction.
Preferably, described step (3) comprises that looped network ordinary node receives SF frame, and the flag flag bit of this SF frame does not put 1, only the mac address table that receives the port of SF frame is refreshed once, and from non-reception port repeat.
Preferably, described step (3) comprises that looped network ordinary node receives SF frame, and the flag flag bit of this SF frame has put 1, only the mac address table of non-SF receiving port is refreshed once, and from non-reception port repeat.
Preferably, described step (4) comprises that on looped network, node is received when step 1 is sent follow-up SF message, will no longer need to refresh mac address table.
Compared with the prior art, beneficial effect of the present invention is:
The flag bit of the inventive method utilization control message is confirmed the demand of port refresh address table; for the port that refreshed address table without again refreshing; the a little upper unnecessary address table of related port of reducing the link refreshes; avoid because address table repeats to refresh the address repetitive learning causing; reduce repeatedly the time that address learning spends; improve the forward efficiency of message and the efficiency of looped network self-healing; reduce the impact on looped network self-healing of address table repetitive learning; shorten network convergence time, strengthen practicality and the reliability of looped network protection technology.
Accompanying drawing explanation
Fig. 1 is that on a kind of looped network provided by the invention, node M AC address table refreshes optimization method schematic diagram.
Fig. 2 is looped network node connection diagram provided by the invention.
Tradition address table refresh operation schematic diagram when Fig. 3 is ring network fault provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
The present invention, in order to overcome the existing G.8032 deficiency of middle address flush method, realizes efficient address flush method.The optimization method that on a kind of looped network, node address table refreshes is provided.Utilize the method can realize refreshing rationally efficiently of mac address table.
Concrete steps of the present invention are as follows:
(1), while there is link failure in looped network, adjacent two nodes of fault nidus, after finding fault, outwards send signalling trouble message (SF frame) by non-fault connectivity port.
(2) when the upper host node of ring is received while sending first SF frame in step 1, first determine receiving port, host node is by the flag mark position 1 in SF frame, remove the obstruction of the port that connects RPL, Business Stream can be passed through, refresh the address table of non-RPL connectivity port, the SF frame that flag was set is sent from non-reception port, and host node need to be by node state from normal condition transposition malfunction.
(3) when ordinary node is received first SF frame on ring, need to judge, if this SF frame is the message that flag flag bit is not set sending in step 1, carry out step 4, otherwise carry out step 5.
(4) when on ring, ordinary node is received first SF message from step 1, only need the mac address table of receiving port to refresh, another port does not need to carry out refreshing of mac address table, and SF frame is gone out from non-reception port repeat.
(5) when on ring, ordinary node is received first SF message from step 2, SF receiving port does not need to carry out refreshing of mac address table, and another port need to carry out that mac address table refreshes and SF frame is gone out from non-reception port repeat.
(6) when node on the ring receives that step 1 is sent follow-up SF message, will no longer need to refresh mac address table.Finally need schematic diagram that executive address table refreshes as shown in Figure 1.
Embodiment
As shown in Figure 1, on a kind of looped network of the present invention node M AC address table to refresh optimization method idiographic flow as follows:
(1) between node 3 and node 4, link failure occurs, cannot complete data retransmission function, node 3 sends to node 2 the SF message that flag flag bit is not set, and node 4 sends to node 5 the SF message that flag flag bit is not set.
(2) node 2 is received after the SF message that flag flag bit is not set from node 3, confirm receiving port, the address table of receiving port is refreshed, from non-reception port repeat, go out the SF message of flag flag bit is not set, also to node 1, send SF message.
(3) node 5 is received after the SF message that flag flag bit is not set from node 4, confirm receiving port, the address table of receiving port is refreshed, from non-reception port repeat, go out the SF message of flag flag bit is not set, also think that node 6 sends SF messages.
(4) node 1 is RPL Owner, when node 1 is received the SF message that flag flag bit is not set, confirm receiving port, refresh immediately the address table of receiving port, remove the obstruction from port, open RPL link, realize data retransmission, and the flag flag bit in SF message is set, then from non-reception port, outwards send the SF message sending with flag flag bit to port 6.
(5) if node 6 first receives the SF message with flag flag bit that node 1 sends, at non-reception port refresh address table, and from non-reception port repeat SF message.
(6) if node 6 first receives the SF message that flag flag bit is not set that node 5 sends, at receiving port, carry out the refresh operation of address table, and from this SF message of non-reception port repeat.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; those of ordinary skill in the field still can modify or be equal to replacement the specific embodiment of the present invention with reference to above-described embodiment; these do not depart from any modification of spirit and scope of the invention or are equal to replacement, within the claim protection range of the present invention all awaiting the reply in application.

Claims (7)

1. on looped network, node M AC address table refreshes an optimization method, it is characterized in that, described method comprises
(1) there is link failure on the net and send signalling trouble SF frame in detection ring;
(2) ring network host node receives SF frame, and RPL port blocked is opened, and refreshes the mac address table of non-RPL connectivity port, by the flag mark position 1 in SF frame, from non-SF frame receiving port, outwards sends;
(3) looped network ordinary node is received SF frame, judges whether this SF frame is the message that flag flag bit is not set sending in step 1, non-reception port repeat SF frame;
(4) looped network node of receiving follow-up SF frame is without refreshing mac address table again.
2. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (1) comprises that the looped network that link failure and adjacent node detect this link failure occurs outwards sends signalling trouble SF frame.
3. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (2) comprises that ring network host node receives SF frame, determine receiving port, ring network host node is by the flag mark position 1 in SF frame, remove the obstruction of the port that connects RPL, refresh the address table of non-RPL connectivity port, from non-reception port, the SF frame that flag was set is sent.
4. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (2) comprise ring network host node by node state from normal condition transposition malfunction.
5. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (3) comprises that looped network ordinary node receives SF frame, the flag flag bit of this SF frame does not put 1, only the mac address table that receives the port of SF frame is refreshed once, and from non-reception port repeat.
6. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (3) comprises that looped network ordinary node receives SF frame, the flag flag bit of this SF frame has put 1, only the mac address table of non-SF receiving port is refreshed once, and from non-reception port repeat.
7. on a kind of looped network as claimed in claim 1, node M AC address table refreshes optimization method, it is characterized in that, described step (4) comprises that on looped network, node is received when step 1 is sent follow-up SF message, will no longer need to refresh mac address table.
CN201410450010.5A 2014-09-05 2014-09-05 Looped network node MAC address table refreshing and optimizing method Pending CN104158715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410450010.5A CN104158715A (en) 2014-09-05 2014-09-05 Looped network node MAC address table refreshing and optimizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410450010.5A CN104158715A (en) 2014-09-05 2014-09-05 Looped network node MAC address table refreshing and optimizing method

Publications (1)

Publication Number Publication Date
CN104158715A true CN104158715A (en) 2014-11-19

Family

ID=51884124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410450010.5A Pending CN104158715A (en) 2014-09-05 2014-09-05 Looped network node MAC address table refreshing and optimizing method

Country Status (1)

Country Link
CN (1) CN104158715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518024A (en) * 2021-07-12 2021-10-19 普联技术有限公司 Method, device, terminal and storage medium for refreshing address table of node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834830A (en) * 2009-03-10 2010-09-15 中兴通讯股份有限公司 Regional address refreshing method of Ethernet ring network
CN101902382A (en) * 2009-06-01 2010-12-01 中兴通讯股份有限公司 Ethernet single ring network address refreshing method and system
US20140064060A1 (en) * 2012-09-05 2014-03-06 Brocade Communications Systems, Inc. Mac flush optimizations for ethernet rings

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834830A (en) * 2009-03-10 2010-09-15 中兴通讯股份有限公司 Regional address refreshing method of Ethernet ring network
CN101902382A (en) * 2009-06-01 2010-12-01 中兴通讯股份有限公司 Ethernet single ring network address refreshing method and system
US20140064060A1 (en) * 2012-09-05 2014-03-06 Brocade Communications Systems, Inc. Mac flush optimizations for ethernet rings

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518024A (en) * 2021-07-12 2021-10-19 普联技术有限公司 Method, device, terminal and storage medium for refreshing address table of node
CN113518024B (en) * 2021-07-12 2022-07-05 普联技术有限公司 Method, device, terminal and storage medium for refreshing address table of node

Similar Documents

Publication Publication Date Title
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN102255757B (en) Link switching method and device
CN101426031B (en) Novel method and apparatus for Ether ring network address updating
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
US10721094B2 (en) Ethernet ring protection switching method and node
CN102232279A (en) Method for detecting loop position in Ethernet, and Ethernet switching device
CN105897515A (en) Ethernet loop detecting and processing method based on IPRAN equipment
CN103051536A (en) Quick multicast switching method of two-layer redundant link
CN102480409B (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN101834774A (en) Address refreshing method of switching node port in Ethernet ring network and switching node
US8681604B2 (en) Address refresh method and system
CN103581025A (en) Method and system for processing routing information and equipment
CN101989930B (en) Method and switching equipment for realizing Ethernet double loop
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN102130912B (en) Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment
CN101834770B (en) Ethernet multiple-ring network address refreshing method and device
CN102025584A (en) G.8032-based ring network protecting method and system
CN102104533B (en) Method for optimizing RRPP (rapid ring protection protocol) single ring network data transmitting path and ring network node
CN104158715A (en) Looped network node MAC address table refreshing and optimizing method
CN101938395B (en) Method and system for refreshing single ring address of Ethernet ring network
CN101834830B (en) Regional address refreshing method of Ethernet ring network
CN106341297B (en) Networking method and device for monitoring ring network
CN101494580B (en) Method for reinforcing EAPS looped network reliability
CN101888322B (en) Method for preventing repeated refresh of sub-ring outer domain address
CN102684926B (en) Implementation method and node device for rapid Ethernet ring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161227

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant after: State Power Networks Co

Applicant after: China Electric Power Research Institute

Applicant after: State Grid Smart Grid Institute

Applicant after: State Grid Shanghai Municipal Electric Power Company

Applicant after: State Grid Hubei Electric Power Company Information & Telecommunication Company

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Power Networks Co

Applicant before: China Electric Power Research Institute

Applicant before: State Grid Shanghai Municipal Electric Power Company

Applicant before: State Grid Hubei Electric Power Company Information & Telecommunication Company

CB02 Change of applicant information

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant after: State Grid Corporation of China

Applicant after: China Electric Power Research Institute

Applicant after: GLOBAL ENERGY INTERCONNECTION RESEARCH INSTITUTE

Applicant after: State Grid Shanghai Municipal Electric Power Company

Applicant after: State Grid Hubei Electric Power Company Information & Telecommunication Company

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Grid Corporation of China

Applicant before: China Electric Power Research Institute

Applicant before: State Grid Smart Grid Institute

Applicant before: State Grid Shanghai Municipal Electric Power Company

Applicant before: State Grid Hubei Electric Power Company Information & Telecommunication Company

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141119