CN104753796A - Method for optimizing multicast routing table building - Google Patents

Method for optimizing multicast routing table building Download PDF

Info

Publication number
CN104753796A
CN104753796A CN201310745045.7A CN201310745045A CN104753796A CN 104753796 A CN104753796 A CN 104753796A CN 201310745045 A CN201310745045 A CN 201310745045A CN 104753796 A CN104753796 A CN 104753796A
Authority
CN
China
Prior art keywords
multicast
data message
temporary
optimizing
software control
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
CN201310745045.7A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310745045.7A priority Critical patent/CN104753796A/en
Publication of CN104753796A publication Critical patent/CN104753796A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for optimizing multicast routing table building. According to the method for optimizing the multicast routing table building, when an interchanger chip layer receives a multicast data message, a software control layer builds a temporary multicast forwarding table, a multicast routing protocol generates a real multicast forwarding table, the software control layer uses the real multicast forwarding table to update and replace the temporary multicast forwarding table and writes the real multicast forwarding table in the interchanger chip layer, and the multicast data message is transmitted from the interchanger chip layer according to the multicast forwarding table. The method for optimizing the multicast routing table building firstly builds the temporary multicast routing table of which the output interface is empty, the massive CPU resource consumption due to sending all the burst massive unknown multicast data messages to the CPU is avoided, and the normal running of the interchanger is guaranteed.

Description

The method that Optimizing Multicast Route table is set up
Technical field
The present invention relates to a kind of switch multicast data packet forwarding technical field, particularly relate to the method for building up of Optimizing Multicast Route table.
Background technology
In prior art, switch in the face of a large amount of multicast data message of burst, set up in multicast forward table process, the CPU unavoidable meeting of these multicast data messages being delivered to switch goes process, if do not have rational packet filtering strategy, flow is excessive, and cpu resource can be caused to be taken in a large number.When CPU is in busy state all the time, various agreement can not get enough scheduling times, thus causes the catastrophe failures such as protocol state machine time-out.
Summary of the invention
The technical problem that the present invention need solve is to provide one and avoids a large amount of transmitted to CPU of multicast data message, the method that the Optimizing Multicast Route table improving the ability of switch processes data is set up.
For solving above-mentioned technical problem, the present invention devises a kind of method that Optimizing Multicast Route table is set up, and it comprises the following steps:
Step 1: when exchanger core lamella receives multicast data message, first set up temporary multicast by software control layer and transmit write exchanger core lamella, the outgoing interface that described temporary multicast is transmitted is for empty;
Step 2: software control layer is reported to the multicast data message do not forwarded to multicast routing protocol again, generates corresponding multicast forward table by multicast routing protocol, notices software control layer;
Step 3: described multicast forward table is upgraded replacement temporary multicast and transmits by software control layer, and writes exchanger core lamella, and multicast data message, according to multicast forward table, forwards.
Improve further as the present invention, when exchanger core lamella receives multicast data message, if find the multicast forward table of coupling in exchanger core lamella, multicast data message, according to multicast forward table, forwards.
First the present invention sets up outgoing interface is empty temporary multicast routing table, avoids the whole transmitted to CPU of a large amount of unknown multicast data messages that happens suddenly, the problem of at substantial cpu resource, ensures the normal operation of switch.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method that Optimizing Multicast Route table of the present invention is set up.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with the accompanying drawing of embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
The invention provides a kind of method that Optimizing Multicast Route table is set up, run into a large amount of unknown multicast data message at switch, first set up interim multicast forward table, prevent identical multicast data message continue to allow CPU process, the scheduling of cpu resource can be waited until.Ensure that the task that CPU runs other agreements can not be affected.Meanwhile, multicast routing protocol sets up correct multicast forward table, upgrades interim multicast forward table, and so far, multicast data message forwards successfully according to correct multicast forward table.
Temporary multicast of the present invention is transmitted, and is not generated by multicast routing protocol ruling, but interim in order to not allow the too much transmitted to CPU of identical multicast data message, and the interface that transfers of this multicast forward table is empty.The real multicast forward table of the present invention is the multicast forward table generated by multicast routing protocol ruling, is accurately, is used for the normal forwarding of multicast data message.It is structurally the same that temporary multicast is transmitted with real multicast forward table, and difference is the outgoing interface that temporary multicast is transmitted is sky, and the outgoing interface of real multicast forward table is determined by multicast routing protocol.
As shown in Figure 1, when exchanger core lamella runs into a large amount of multicast data messages, when there is a part of multicast data message known, the multicast forward table of already present coupling can be found at exchanger core lamella, the multicast forward table that this part multicast data message known mates according to exchanger core lamella, forwards.Also have a large amount of multicast data messages not find the multicast forward table of coupling at exchanger core lamella, exchanger core lamella delivers to software control layer by the multicast data message of these the unknowns.
Software control layer receives multicast data message, can first set up temporary multicast and transmit, and this temporary multicast is transmitted write exchanger core lamella.The outgoing interface transmitted due to temporary multicast is sky, and the multicast data packet forwarding of this part is not gone out.Further, software control layer is reported to the multicast data message for forwarding to multicast routing protocol again, generates corresponding multicast forward table, and notice software control layer, this multicast forward table is produced by multicast routing protocol, is real multicast forward table.
Multicast forward table is upgraded replacement temporary multicast and transmits by software control layer, and writes exchanger core lamella, and the multicast data message be not before forwarded away, according to the multicast forward table now write, forwards.If exchanger core lamella runs into the multicast data message of identical multicast group, also the multicast forward table of coupling can be found at exchanger core lamella, can directly forward at exchanger core lamella, avoid identical multicast group multicast data message be reported to multicast routing protocol.
First the present invention sets up outgoing interface is empty temporary multicast routing table, avoids the whole transmitted to CPU of a large amount of unknown multicast data messages that happens suddenly, the problem of at substantial cpu resource, ensures the normal operation of switch.
Below only have expressed one embodiment of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (2)

1. a method for Optimizing Multicast Route table foundation, is characterized in that, comprise the following steps:
Step 1: when exchanger core lamella receives multicast data message, first set up temporary multicast by software control layer and transmit write exchanger core lamella, the outgoing interface that described temporary multicast is transmitted is for empty;
Step 2: software control layer is reported to the multicast data message do not forwarded to multicast routing protocol again, generates corresponding multicast forward table by multicast routing protocol, notices software control layer;
Step 3: described multicast forward table is upgraded replacement temporary multicast and transmits by software control layer, and writes exchanger core lamella, and multicast data message, according to multicast forward table, forwards.
2. the method for Optimizing Multicast Route table foundation according to claim 1, it is characterized in that, when exchanger core lamella receives multicast data message, if find the multicast forward table of coupling in exchanger core lamella, multicast data message, according to multicast forward table, forwards.
CN201310745045.7A 2013-12-30 2013-12-30 Method for optimizing multicast routing table building Pending CN104753796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310745045.7A CN104753796A (en) 2013-12-30 2013-12-30 Method for optimizing multicast routing table building

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310745045.7A CN104753796A (en) 2013-12-30 2013-12-30 Method for optimizing multicast routing table building

Publications (1)

Publication Number Publication Date
CN104753796A true CN104753796A (en) 2015-07-01

Family

ID=53592930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310745045.7A Pending CN104753796A (en) 2013-12-30 2013-12-30 Method for optimizing multicast routing table building

Country Status (1)

Country Link
CN (1) CN104753796A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645452A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 A kind for the treatment of method and apparatus of unknown multicast packets
CN111130816A (en) * 2019-12-27 2020-05-08 北京东土军悦科技有限公司 Message forwarding processing equipment, method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744569A (en) * 2005-08-24 2006-03-08 杭州华为三康技术有限公司 Unknown multicasting message processing method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN102111279A (en) * 2011-02-28 2011-06-29 杭州华三通信技术有限公司 Method and equipment for transmitting multicast data
CN102396190A (en) * 2009-06-03 2012-03-28 上海贝尔股份有限公司 Method and device for multiple rendezvous points processing multicast services of mobile multicast source jointly
CN102761542A (en) * 2012-06-25 2012-10-31 杭州华三通信技术有限公司 Method and equipment for preventing multicast data from attacking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744569A (en) * 2005-08-24 2006-03-08 杭州华为三康技术有限公司 Unknown multicasting message processing method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN102396190A (en) * 2009-06-03 2012-03-28 上海贝尔股份有限公司 Method and device for multiple rendezvous points processing multicast services of mobile multicast source jointly
CN102111279A (en) * 2011-02-28 2011-06-29 杭州华三通信技术有限公司 Method and equipment for transmitting multicast data
CN102761542A (en) * 2012-06-25 2012-10-31 杭州华三通信技术有限公司 Method and equipment for preventing multicast data from attacking

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645452A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 A kind for the treatment of method and apparatus of unknown multicast packets
CN111130816A (en) * 2019-12-27 2020-05-08 北京东土军悦科技有限公司 Message forwarding processing equipment, method, device and storage medium
CN111130816B (en) * 2019-12-27 2022-06-24 北京东土军悦科技有限公司 Message forwarding processing equipment, method, device and storage medium

Similar Documents

Publication Publication Date Title
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN101030901A (en) Distributed Ethernet system and method for inspecting fault based thereon
JP6595112B2 (en) Data transmission method and apparatus, and terminal
EP2480013A1 (en) Method and system for realizing application of machine-to-machine/man terminal based on groups
CN102811152A (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN104753796A (en) Method for optimizing multicast routing table building
CN101237270B (en) A method for the node B to get retransfer interval control information
WO2019085651A1 (en) Software-defined network setting method, controller, switch, and storage medium
CN104753749A (en) Multi-host communication method and multi-host communication system
CN105207824A (en) SDN based automatic protection switching system and method
WO2017000478A1 (en) Method and device for transmitting service data with microwave link
WO2013000231A1 (en) Batch service processing method and device
CN102820992A (en) Processing method and device of data packets
CN102413034B (en) Method for controlling label notice message and maintaining LSP (Label Switching Path), and LSR (Label Switching Router)
CN104079679A (en) Method for achieving consistency keeping of MAC address tables
CN102594696A (en) Method and device for managing link aggregation groups (LAGs) of network device
CN102970234B (en) The message forwarding method of virtual switch cellular system inside and device, the network equipment
CN102780604B (en) Calculate method and the device of initialization route
CN102291326A (en) Terminal and instant communication application management method and system thereof
CN103152240B (en) Virtual vlan port is adopted to realize the method and system of many virtual networks
CN101908969B (en) Optimization method, maintenance node and network system of end-to-end restoration path
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof
CN109669639A (en) Bad block management method
CN204087203U (en) Telecommunication circuit between multiple ARM
CN105591900B (en) A kind of link switch-over method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701

RJ01 Rejection of invention patent application after publication