CN1635743A - Method for logging-out invalid IGMP multicast port on router - Google Patents

Method for logging-out invalid IGMP multicast port on router Download PDF

Info

Publication number
CN1635743A
CN1635743A CNA2003101238610A CN200310123861A CN1635743A CN 1635743 A CN1635743 A CN 1635743A CN A2003101238610 A CNA2003101238610 A CN A2003101238610A CN 200310123861 A CN200310123861 A CN 200310123861A CN 1635743 A CN1635743 A CN 1635743A
Authority
CN
China
Prior art keywords
port
multicast
described method
inefficacy
router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2003101238610A
Other languages
Chinese (zh)
Other versions
CN100365987C (en
Inventor
郑平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing property right Bats Exchange Inc
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101238610A priority Critical patent/CN100365987C/en
Publication of CN1635743A publication Critical patent/CN1635743A/en
Application granted granted Critical
Publication of CN100365987C publication Critical patent/CN100365987C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention refers to a method for quick canceling IGMP multicasting terminal which is ineffective in router, which contains (1), testing the connection state in route terminal, (2), canceling ineffective terminal in testing the ineffective terminal according to definite strategy. Said invention can save said terminal occupied multicasting bandwidth in terminal being ineffective.

Description

Nullify the method for the Internet Group Management Protocol multicast port that lost efficacy on the router
Technical field
The present invention relates to a kind of method of nullifying IGMP (Internet Group Management Protocol) multicast port that lost efficacy on the router, relate in particular to a kind of port that utilizes and detect, nullify the method for the IGMP multicast port that lost efficacy on the router fast.
Background technology
In the IGMP multicast protocol, the member of a multicast group may be on one or more ports of equipment, and these ports are to register by the response process of IGMP agreement, are called the member port of this multicast group.Fig. 1 shows the multicast group under the normal operation.As shown in Figure 1, the multicast service that belongs to certain multicast group will be sent to corresponding member port and get on, and other port will not be transmitted, so that conserve bandwidth.When member's port no longer needs multicast service, then in the multicast group of correspondence, nullify this member port with conserve bandwidth.
Generally, in IGMP, the cancellation of member port realizes by dual mode:
1, utilize the timed sending query message to refresh in esse multicast group member port, the member port that needs to continue to use must in time feed back.Be considered as no longer existing for the port that does not have response in time, it is carried out deletion action.
2, under the V2 of IGMP version, when needing to nullify, multicast group member port can send leave message to equipment, and equipment is inquired about separately by the multicast group at this member place, realizes the cancellation of the multicast member of this group.
Above cancellation mode is to realize under the supposition port connects normally, now is analyzed as follows.No matter whether port lost efficacy mode 1, all can work.Mode 2 must send message to equipment, can't make in this way when port connects inefficacy.Lost efficacy if port connects, and then can only utilize method 1 to finish cancellation.For the IGMP agreement, the process of nullifying is: multicast router sends query message, be broadcast to all of the port of equipment, wait for that the member in this group sends response message, response message is lost when preventing that network condition is not good, allow 1 to 4 time do not respond (being generally 3 times), view network situation and deciding.When through repeatedly inquiry, when certain member port does not have the number of times of response to reach predetermined number of times, could determine this port is deleted from the group of correspondence.That is to say that the query time about needing 3 to take turns usually just can be finished cancellation.In general, one takes turns inquiry approximately needs about 2 minutes, and 3 take turns inquiry then needed about 6 minutes, and during this period of time, bandwidth has been wasted.
Thereby existing technology is run into port and is connected situation about losing efficacy in actual applications, and it is slow then to exist cancellation inefficacy port, the situation of waste bandwidth.
Summary of the invention
The above-mentioned shortcoming that the present invention is directed to prior art is made, thereby, the purpose of this invention is to provide a kind of method of nullifying the IGMP multicast port that lost efficacy on the router, refresh port improves bandwidth availability ratio rapidly.
For achieving the above object, the invention provides a kind of method of nullifying the IGMP multicast port that lost efficacy on the router, may further comprise the steps: (1) is detected the connection status of router port; (2) when detecting described port and lost efficacy, nullify described inefficacy port according to certain strategy.
Preferably, adopt the connection status of LPT (link break-through technology) technology for detection port.
Preferably, by checking whether overhead byte judges normally whether port connects.
Preferably, by checking whether the special data frame that port transmitted judges normally whether port connects.
Preferably, judge by the register-bit on the chip of checking the use of IP port whether port connects.
Preferably, described step 2) strategy in is meant, short time-delay is set, and is available if described inefficacy port recovers in described time-delay, then do not nullify, and when finishing as time-delay, described inefficacy port does not recover available, then nullifies described inefficacy port.
Preferably, the strategy described step 2) is meant the described inefficacy port of direct cancellation.
Preferably, when recovering to connect, port sends the multicast group query message at once, so that continue to use the group of multicast to recover registration again to needs.
Preferably, nullify described inefficacy port by a delete interface.
The method of the inefficacy port of IGMP multicast on the cancellation router of the present invention realizes that simply resource occupation is few, does not need the IGMP multicast protocol is carried out big modification, can save the shared multicast bandwidth of this port under the port failure conditions.
Description of drawings
Fig. 1 is the group under the normal operation;
Fig. 2 is that the port under the normal condition is nullified schematic diagram;
Fig. 3 is the schematic diagram of detection inefficacy port of the present invention and the quick port of nullifying.
Embodiment
Explain specific embodiments of the present invention below in conjunction with accompanying drawing.
As shown in Figure 2, from the log off procedure of prior art as can be known, it is to need that stipulated number-from the process that respective sets is deleted port, such process is comparatively not consuming time through inquire about-not responding-reaching that the normal condition lower port withdraws from IGMP multicast member group.At the port this special circumstances that lost efficacy, the present invention adopts such strategy, promptly monitor all of the port, find certain port inefficacy (for example going offline), all groups of automatic inspection then, the group that comprises this port is handled, this port is rejected, so just can realize the purpose of getting rid of the inefficacy port rapidly, saving this a part of bandwidth.
As shown in Figure 3, the present invention detects by the state to port, realizes refreshing fast of multicast group member port.Can use the connection status of detection port someway, the method for detection port connection status mainly contains two types, and 1, check the IP port, the register-bit on the chip that can use by port judge whether port connects.2, check the virtual port that transmits by optical fiber, can be by checking whether the overhead byte that is transmitted normally judges whether to connect.Also can use other detection method, only need when port can't be accepted multicast service, can be examined out to get final product.Described inefficacy comprises that local terminal lost efficacy or lost efficacy in the opposite end (considering situation about detecting by remote equipment, LPT technology for example, i.e. Link pass through, link break-through technology).
Lost efficacy for local terminal, can with method be whether the register of checking the connection status of port normally obtains, all effective for physics light mouth/electricity mouth.Lost efficacy for far-end, existed only in the virtual port that transmits by optical fiber.In this case, owing to may exist the later terminal of repeatedly cascade that situation about losing efficacy takes place,, must detect by special agreement so can't directly judge by the connection of physical state.This detection has two kinds of main modes: 1, directly utilize the reserve part in the SDH overhead byte to transmit, when finding that this byte becomes abnormal condition, just can judge to connect had lost efficacy.2, special Frame of design transmits in the virtual port business together, as long as professional disconnected, this special frame also can't pass to, and then can judge to connect and lose efficacy.
Be detected if port loses efficacy, and so just can report to IGMP multicast protocol administration module requirement cancellation and lose the member port of effect.To be on the safe side, can decide when nullify this port by certain strategy.These strategies should be determined according to concrete should being used for.For example: 1, short time-delay is set,, does not then carry out cancellation work if during this period of time port recovers available.For the port of failing at the appointed time to recover, handle by calling a delete interface.2, also can call delete interface immediately and delete, but when port recovers to connect, send the multicast group query message at once, so that continue to use the group of multicast to recover registration again to needs.About delete interface, this interface scans the multicast group of all existence, promptly traversal is searched all records of multicast group record sheet, check content corresponding, comprised the inefficacy port that just has been checked through if find the multicast member port in this record, then just the lost efficacy deletion of port of the discovery multicast group that contains the inefficacy port.
More than the preferred embodiments of the present invention are described in detail for illustrative purposes; but those of ordinary skill in the art is to be appreciated that; under the situation of scope and spirit of the present invention; various improvement, interpolation and replacement all are possible, and all in the protection range that claim of the present invention limited.

Claims (10)

1. method of nullifying the Internet Group Management Protocol multicast port that lost efficacy on the router is characterized in that may further comprise the steps:
(1) connection status to router port detects;
(2) when detecting described port and lost efficacy, nullify described inefficacy port according to certain strategy.
2. according to the described method of claim 1, it is characterized in that, adopt the connection status of link break-through technology for detection port.
3. according to the described method of claim 1, it is characterized in that, judge by the register-bit on the chip of checking the use of IP port whether port connects.
4. according to the described method of claim 1, it is characterized in that whether judge normally by checking the overhead byte that port transmitted whether port connects.
5. according to the described method of claim 1, it is characterized in that whether judge normally by checking the special data frame that port transmitted whether port connects.
6. according to each described method of claim 1 to 5, it is characterized in that, described step 2) strategy in is meant short time-delay is set, in described time-delay, if it is available that described inefficacy port recovers, then do not nullify, if delay time when finishing, described inefficacy port does not recover available, then nullifies described inefficacy port.
7. according to each described method of claim 1 to 5, it is characterized in that described step 2) in strategy be meant the described inefficacy port of direct cancellation.
8. according to the described method of claim 6, it is characterized in that, when port recovers to connect, send the multicast group query message at once, so that continue to use the group of multicast to recover registration again to needs.
9. according to the described method of claim 7, it is characterized in that, when port recovers to connect, send the multicast group query message at once, so that continue to use the group of multicast to recover registration again to needs.
10. according to each described method of claim 1 to 5, it is characterized in that, nullify described inefficacy port by a delete interface.
CNB2003101238610A 2003-12-31 2003-12-31 Method for logging-out invalid IGMP multicast port on router Expired - Fee Related CN100365987C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101238610A CN100365987C (en) 2003-12-31 2003-12-31 Method for logging-out invalid IGMP multicast port on router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101238610A CN100365987C (en) 2003-12-31 2003-12-31 Method for logging-out invalid IGMP multicast port on router

Publications (2)

Publication Number Publication Date
CN1635743A true CN1635743A (en) 2005-07-06
CN100365987C CN100365987C (en) 2008-01-30

Family

ID=34844883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101238610A Expired - Fee Related CN100365987C (en) 2003-12-31 2003-12-31 Method for logging-out invalid IGMP multicast port on router

Country Status (1)

Country Link
CN (1) CN100365987C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442776C (en) * 2005-12-06 2008-12-10 杭州华三通信技术有限公司 Method for realizing multicast translation in three-layer switching unit
CN100466614C (en) * 2005-12-01 2009-03-04 华为技术有限公司 Multi-cast broadcasting business realizing method
WO2011120205A1 (en) * 2010-04-02 2011-10-06 上海贝尔股份有限公司 Method and device for notifying of leaving of mobile node quickly
CN101272341B (en) * 2008-05-27 2011-11-09 杭州华三通信技术有限公司 Method, device, distributed system and routing device for implementing hardware multicast under distributed structure
CN104506336A (en) * 2015-01-22 2015-04-08 盛科网络(苏州)有限公司 Method and device for saving Down port bandwidth in multicast/broadcast of interchanger chip
CN105049248A (en) * 2015-07-09 2015-11-11 北京宇航系统工程研究所 Network state fast detection method of SDH (synchronous digital hierarchy) device
CN106453074A (en) * 2016-10-21 2017-02-22 杭州华三通信技术有限公司 Switching method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3531412B2 (en) * 1997-04-10 2004-05-31 日本電信電話株式会社 Multicast communication system and ATM cell forming apparatus
EP1029263A4 (en) * 1997-04-23 2000-09-06 Motorola Inc System, device, and method for managing multicast group memberships in a multicast network
US20020097728A1 (en) * 2000-11-17 2002-07-25 Starguide Digital Networks, Inc. Method and apparatus for injection of IP multicast content into an ATM DSL network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466614C (en) * 2005-12-01 2009-03-04 华为技术有限公司 Multi-cast broadcasting business realizing method
CN100442776C (en) * 2005-12-06 2008-12-10 杭州华三通信技术有限公司 Method for realizing multicast translation in three-layer switching unit
CN101272341B (en) * 2008-05-27 2011-11-09 杭州华三通信技术有限公司 Method, device, distributed system and routing device for implementing hardware multicast under distributed structure
WO2011120205A1 (en) * 2010-04-02 2011-10-06 上海贝尔股份有限公司 Method and device for notifying of leaving of mobile node quickly
CN102783088A (en) * 2010-04-02 2012-11-14 上海贝尔股份有限公司 Method and device for notifying of leaving of mobile node quickly
TWI504199B (en) * 2010-04-02 2015-10-11 Alcatel Lucent A method and a device for quickly informing the mobile node of the departure
CN102783088B (en) * 2010-04-02 2016-01-20 上海贝尔股份有限公司 Notify the method and apparatus left of mobile node rapidly
CN104506336A (en) * 2015-01-22 2015-04-08 盛科网络(苏州)有限公司 Method and device for saving Down port bandwidth in multicast/broadcast of interchanger chip
CN105049248A (en) * 2015-07-09 2015-11-11 北京宇航系统工程研究所 Network state fast detection method of SDH (synchronous digital hierarchy) device
CN106453074A (en) * 2016-10-21 2017-02-22 杭州华三通信技术有限公司 Switching method and apparatus

Also Published As

Publication number Publication date
CN100365987C (en) 2008-01-30

Similar Documents

Publication Publication Date Title
US6859830B1 (en) Method and system for detecting a dead server
CN1305271C (en) Network safety isolating and information exchanging system and method based on proxy mapping
CN100558050C (en) The method of a kind of remote monitoring or maintenance and device
CN100407646C (en) Method for realizing data service backup
US20060050643A1 (en) Router for multicast redundant routing and system for multicast redundancy
CN102394925B (en) Communication method and device for remote monitoring diagnosis center and area regulation center
CN101043398A (en) Method and system for sharing connection dynamically
CN111355658B (en) SDN cross-domain cooperation method based on distributed service framework
CN1635743A (en) Method for logging-out invalid IGMP multicast port on router
CN1753377A (en) Method of avoiding access collision of redundant main station against serial bus ink
CN1210911C (en) Method for real time detecting ethernet connected computer on-line state through insertion equipment
CN110098987A (en) A method of solving the long connection load balancing of Internet of Things multilayer
CN1808998A (en) Method of detection and maintenance of PPP link
CN1152517C (en) Method of guarding network attack
CN102281263B (en) Method for establishing Internet small computer system interface (iSCSI) session and iSCSI initiator
CN1835466A (en) Kilomega Ethernet port butt method
CN1235346C (en) Method for improving route repeat liability of access server
CN101060424A (en) A system and its method for realizing the load balancing and high availability
CN114978939B (en) Method for detecting network link quality
CN1949724A (en) Ether port protection method
CN1540940A (en) Connecting method for multiplex VPN tunnel
US20040264509A1 (en) Method of implementing ip telephone gatekeeper group and gatekeeper system
CN1878110A (en) Directly connected network promulgating method and system
CN2786873Y (en) Kilomega fiber transceiver
CN113472801A (en) Physically isolated network communication method and module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING EQUITY EXCHANGE CO., LTD.

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO LTD

Effective date: 20120323

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518129 SHENZHEN, GUANGDONG PROVINCE TO: 100033 XICHENG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20120323

Address after: 100033, No. 17, Finance Street, Beijing, Xicheng District

Patentee after: Beijing property right Bats Exchange Inc

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

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

Granted publication date: 20080130

Termination date: 20121231