CN102064956B - Method for regulating aging time, system and modulator-demodulator - Google Patents

Method for regulating aging time, system and modulator-demodulator Download PDF

Info

Publication number
CN102064956B
CN102064956B CN201010504113.7A CN201010504113A CN102064956B CN 102064956 B CN102064956 B CN 102064956B CN 201010504113 A CN201010504113 A CN 201010504113A CN 102064956 B CN102064956 B CN 102064956B
Authority
CN
China
Prior art keywords
time
demodulator
modulator
query message
interval
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.)
Active
Application number
CN201010504113.7A
Other languages
Chinese (zh)
Other versions
CN102064956A (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.)
Haining hi tech Zone Science and Innovation Center Co., Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010504113.7A priority Critical patent/CN102064956B/en
Publication of CN102064956A publication Critical patent/CN102064956A/en
Priority to PCT/CN2011/076052 priority patent/WO2012041080A1/en
Application granted granted Critical
Publication of CN102064956B publication Critical patent/CN102064956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a method for regulating aging time, a system and a modulator-demodulator. The method for regulating the aging time comprises the following steps: the modulator-demodulator receives a searching message from superior equipment; the modulator-demodulator monitors time interval of two continuous searching messages; and the modulator-demodulator takes the time interval as the aging time. By the invention, the aging time of the modulator-demodulator can be regulated simply and conveniently.

Description

The method of adjustment of ageing time and system, modulator-demodulator
Technical field
The present invention relates to the communications field, in particular to a kind of method of adjustment and system, modulator-demodulator of ageing time.
Background technology
Current modem (modulator-demodulator) mainly comprises two kinds of modes to the process of multicast: Internet igmpinternet (Internet Group Management Protocol, referred to as IGMP) proxy and IGMP snooping technology, wherein IGMP Snooping (igmp snooping) is relatively simple, operate mainly in link layer, it is the IGMP message by monitoring between client and router side, thus is setting up the multicast table entry for certain multicast.Include the mapping relations of multicast address, physical port and VLAN (Virtual Local AreaNetwork, referred to as VLAN).By using IGMP Snooping can set up multicast table on the two-layer switching equipment not supporting IGMP, thus reaching saving bandwidth, controlling the object of multicast message routing direction, mainly making under modem bridge mode to realize multicast mechanism in this way:
Step S1, when receiving IGMP general polling message from upper united mouth, directly forwards message at all lan mouths.
Step S2, when receiving the IGMP report message of lan mouth, first search at multicast MAC table the user's (being identified by MAC Address) sending this message and whether added medium education (Media Access Control corresponding to this message ip multicast group, referred to as MAC) multicast group, if have found corresponding entry according to MAC multicast address, the port numbers receiving report message and source MAC, the multicast group that this user has added report message and specifies is described, upgrade its ageing time, message is forwarded in upper united mouth.If do not find corresponding entry to illustrate that this port does not also add the multicast group of specifying in report message, so will according to multicast mac address, physical port, the newly-built entry of source MAC, and ageing time is set, report message is forwarded at wan mouth.
Step S3, when receiving the IGMP leave message of lan mouth, same with (multicast address, lan port, source MAC) search multicast MAC table whether there is this forwarding entry, exist and then from multicast MAC shows, delete this entry, and the entry of whether also depositing other is only searched with multicast address, illustrate to also have other lan mouth to need this multicast if existed, then IGMP leave bag is lost and no longer forward to wan mouth, if there is no other entries of this multicast, then forward IGMP leave message to wan mouth.
As can be seen from flow process above, under IGMP snooping pattern, modem itself initiatively can not send query message (query message) to lan mouth, the query message that just passive forwarding first line of a couplet equipment sends, during multicast MAC shows, the ageing time of each entry could upgrade after receiving report message, and report message is except when first time adds multicast group being user's initiatively initiation, report message is below all send when responding query message, we can know that the ageing time of MAC forwarding entry depends on modem first line of a couplet equipment and sends query message like this.
In actual applications, inventor finds, supposing that first line of a couplet equipment sends time interval of query is 180 seconds, and the aging initial time of multicast forwarding entry is 120 seconds in modem, after first line of a couplet equipment sends query message, there is certain user to add multicast 239.1.1.1 from port eth1 within 60 seconds, first line of a couplet equipment will be caused so also not have enough time to send query message next time, ageing time is just overtime, cause corresponding MAC forwarding entry deleted, modem can not forward the multicast data flow of 239.1.1.1 again to eth1.Simultaneously, in multicast MAC shows, the initial value of ageing time is less than the interval time that first line of a couplet equipment sends query bag, the interruption of the lan port multicast data flow of modem is likely caused because of the time-out of ageing time, so be arranged to the ageing time being greater than IGMPsnooping the interval time that first line of a couplet equipment must be sent query, the ageing time of the IGMP snooping function of current most of modem is all fixing, user interface do not have configuration interface, can not change after modem dispatches from the factory, so likely there is fault above and need to adjust the interval time that first line of a couplet equipment sends query, only have the modem of minority can revise the ageing time of IGMP snooping, but also need staff that ageing time is set according to the query time interval of first line of a couplet equipment, more loaded down with trivial details.
Summary of the invention
Propose the present invention for adjusting more loaded down with trivial details problem to the ageing time of adjustment demodulator in correlation technique, for this reason, main purpose of the present invention is the method for adjustment and system, the modulator-demodulator that provide a kind of ageing time, to solve the problem.
To achieve these goals, according to an aspect of the present invention, a kind of method of adjustment of ageing time is provided.The method of adjustment of this ageing time comprises: modulator-demodulator receives the query message from first line of a couplet equipment; The time interval of two continuous print query messages monitored by described modulator-demodulator; And, described modulator-demodulator using the described time interval as ageing time.
To achieve these goals, according to a further aspect in the invention, a kind of modulator-demodulator is provided.This modulator-demodulator comprises: receiver module, for receiving the query message from first line of a couplet equipment; Monitor module, for monitoring the time interval of query message described in two continuous print; And first adjusting module, for using the described time interval as ageing time.
To achieve these goals, according to a further aspect in the invention, a kind of adjustment System of ageing time is provided.The adjustment System of this ageing time comprises: first line of a couplet equipment, for sending query message; And, modulator-demodulator, for receiving described query message, monitor the time interval of query message described in two continuous print and using the described time interval as ageing time.
By the present invention, adopt modulator-demodulator reception from the query message of first line of a couplet equipment; The time interval of two continuous print query messages monitored by modulator-demodulator; And modulator-demodulator is using the method for the time interval as ageing time, solve in correlation technique and more loaded down with trivial details problem is adjusted to the ageing time of adjustment demodulator, and then reach simply, easily to the effect that the ageing time of adjustment demodulator adjusts.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the adjustment System of ageing time according to the embodiment of the present invention;
Fig. 2 is the flow chart of the method for adjustment of ageing time according to the embodiment of the present invention;
Fig. 3 is the flow chart of the acquisition ageing time according to the embodiment of the present invention;
Fig. 4 is the schematic diagram arranging IGMP snooping ageing time according to the embodiment of the present invention;
Fig. 5 is the schematic diagram of the modulator-demodulator according to the embodiment of the present invention;
Fig. 6 is the schematic diagram of the preferred embodiment according to modulator-demodulator of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Fig. 1 is the schematic diagram of the adjustment System of ageing time according to the embodiment of the present invention.
As shown in the figure, the adjustment System of this ageing time comprises first line of a couplet equipment 10 and modulator-demodulator 20.
Wherein, first line of a couplet equipment 10 is for sending query message, and this first line of a couplet equipment 10 can be multicast router, the various access in radio equipment such as bas; And modulator-demodulator 20 for receiving described query message, monitor the time interval of query message described in two continuous print and using the described time interval as ageing time.
Whether first line of a couplet equipment can also be used for detecting has user to add multicast group, and when having detected that user adds multicast group, sends described query message.
Can find out that the present invention can send the IGMP snooping ageing time automatically revising modem interval time of query message according to first line of a couplet equipment from the adjustment System of this ageing time.
Fig. 2 is the flow chart of the method for adjustment of ageing time according to the embodiment of the present invention.As shown in Figure 2, the method comprises the following steps:
Step S102, modulator-demodulator receives the query message from first line of a couplet equipment.
Before this step, whether described first line of a couplet equipment can first detect has user to add multicast group; And described first line of a couplet equipment is when having detected that user adds multicast group, sends described query message.
Step S104, the time interval of two continuous print query messages monitored by described modulator-demodulator.
Such as, described modulator-demodulator monitor time interval of two continuous print query messages can in the following ways: described modulator-demodulator creates the first variable and the second variable; Described modulator-demodulator utilizes described first variable and described second variable to preserve the time of described two continuous print query messages respectively; And described first line of a couplet equipment is when having detected that user adds multicast group, the time difference of described second variable and described first variable save has been added the initial value of the very first time as described ageing time by described modulator-demodulator.
Particularly, when modem system starts, create several variable, query_first (for preserving the time that a front query message arrives), query_second (for preserving the time that a rear query message arrives), timer query_timer, ageing time initial value query_timeout.
Preferably, when not having user to add multicast group, the initial value of ageing time can be set to zero, thus allow multicast can not be aging when initial.
Time initial, owing to adding any multicast group without any user, first line of a couplet equipment would not send query message, therefore the interval time that query message sends cannot be known, in order to avoid first line of a couplet equipment does not also send query message, the problem that the multicast forwarding entry of user is just aging occurs, composing initial value to query_timeout is 0.
Wherein, assuming that query message is the first query message and the second query message described in these two continuous print, said method can also comprise: described modulator-demodulator, after receiving described first query message, judges whether to receive described second query message in the second time; And described modulator-demodulator is not when described second time receives described second query message, upgrades the ageing time of all entries with described initial value.
Step S106, described modulator-demodulator using the described time interval as ageing time.This ageing time is the ageing time of all entries in multicast table.
Preferably, said method can also comprise: whether described modulator-demodulator detects and change described interval time; And described modulator-demodulator is when changing described interval time, adjusts described ageing time according to described interval time.
In the embodiment of the present invention, after Modem starts, when there being any user to add multicast group, first line of a couplet equipment starts to send query message, can know by monitoring continuous print two query messages the time interval that query message sends,
The above-mentioned time interval is preserved the ageing time as IGMP snooping, as long as have user to add multicast group later, the value just can preserved with this is as the initial value of ageing time, if find that the interval time of first line of a couplet equipment transmission query message changes in addition, the value of then preserving in modem also makes corresponding change, this ensure that IGMPsnooping ageing time sends the change of query message interval time with first line of a couplet equipment and changes.
Fig. 3 is the flow chart of the acquisition ageing time according to the embodiment of the present invention.
Step S302, time initial, ageing time initial value query_timeout=0.
Step S304, when receiving a query message, this query message of the first variable save, that is, the time of advent of this query message of query_first=.
Step S306, when receiving next query message, this query message of the second variable save, that is, the time of advent of this query message of query_second=.
Step S308, ageing time is that the difference of the second variable and the first variable adds a time value.That is, query_timeout=query_second-query_first+10.
As can be seen from this embodiment, after having user to add multicast group, first line of a couplet equipment starts to send query message to the wan mouth of modem.The time receiving first query message is saved in query_frist by modem, the time receiving next query message is saved in query_second, and value query_second being deducted query_first adds time t1 (span can between 10 ~ 180 seconds) is assigned to query_timeout, adding time t1 is to ensure that ageing time initial value is greater than the interval time sending query message, then again the time of two query message arrival is below kept in query_first and query_second, circulate according to this and ceaselessly monitor the interval time that query message issues, upgrade in time query_timeout value.
Step 4, first time will upgrade the ageing time of all multicast entrys after obtaining query_timeout value with this value.
Fig. 4 is the schematic diagram arranging IGMP snooping ageing time according to the embodiment of the present invention.
As shown in Figure 4, when there being user to add any multicast group, first judge whether query_timeout is 0, if be 0, is half an hour more than ageing time, be equivalent to ensure that this multicast forwarding entry can not be aging before not getting query interval time; If be not 0, query_timeout is set to ageing time.
Preferably, after receiving query message each time, restart timer query_timer, timing is that query_timeout adds time t2 (scope can between 1 < t2 < 10 seconds), if timer expiry also confiscates query message, then upgrade the ageing time of all entries with query_timeout, to guarantee that first line of a couplet equipment issues the amendment of query interval time and can not affect normal multicast service.
As can be seen from the above description, the present invention can adjust the ageing time of adjustment demodulator simply, easily.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Fig. 5 is the schematic diagram of the modulator-demodulator according to the embodiment of the present invention.As shown in the figure, this modulator-demodulator comprises receiver module 502, monitors module 504 and the first adjusting module 506.
Wherein, receiver module 502 is for receiving the query message from first line of a couplet equipment; Monitor module 504 for monitoring the time interval of query message described in two continuous print; And first adjusting module 506 for using the described time interval as ageing time.
Fig. 6 is the schematic diagram of the preferred embodiment according to modulator-demodulator of the present invention.
Whether, compared with the above embodiments, the modulator-demodulator of this embodiment can also comprise: detection module 508, change for detecting described interval time; And second adjusting module 510, for when changing described interval time, according to described interval time, described ageing time is adjusted.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of adjustment for ageing time, is characterized in that, comprising:
Modulator-demodulator receives the query message from first line of a couplet equipment;
The time interval of two continuous print query messages monitored by described modulator-demodulator; And
Described modulator-demodulator using the described time interval as ageing time.
2. method according to claim 1, is characterized in that,
Whether described modulator-demodulator detects and changes described interval time; And
Described modulator-demodulator, when changing described interval time, adjusts described ageing time according to described interval time.
3. method according to claim 1, is characterized in that, the initial value of described ageing time is zero.
4. according to the method in any one of claims 1 to 3, it is characterized in that, before modulator-demodulator receives the query message from first line of a couplet equipment, described method also comprises:
Whether described first line of a couplet equipment Inspection has user to add multicast group; And
Described first line of a couplet equipment, when having detected that user adds multicast group, sends described query message.
5. method according to claim 4, is characterized in that, the time interval that two continuous print query messages monitored by described modulator-demodulator comprises:
Described modulator-demodulator creates the first variable and the second variable;
Described modulator-demodulator utilizes described first variable and described second variable to preserve the time of described two continuous print query messages respectively; And
Described first line of a couplet equipment is when having detected that user adds multicast group, and the time difference of described second variable and described first variable save is added the initial value of the very first time as described ageing time by described modulator-demodulator.
6. method according to claim 5, is characterized in that, described in two continuous print, query message is the first query message and the second query message, and described method also comprises:
Described modulator-demodulator, after receiving described first query message, judges whether to receive described second query message in the second time; And
Described modulator-demodulator, when described second time does not receive described second query message, upgrades described ageing time with described initial value;
Wherein, described second time is greater than described ageing time.
7. a modulator-demodulator, is characterized in that, comprising:
Receiver module, for receiving the query message from first line of a couplet equipment;
Monitor module, for monitoring the time interval of query message described in two continuous print; And
First adjusting module, for using the described time interval as ageing time.
8. modulator-demodulator according to claim 7, is characterized in that, also comprises:
Whether detection module, change for detecting described interval time; And
Second adjusting module, for when changing described interval time, adjusts described ageing time according to described interval time.
9. an adjustment System for ageing time, is characterized in that, comprising:
First line of a couplet equipment, for sending query message; And
Modulator-demodulator, for receiving described query message, monitor the time interval of query message described in two continuous print and using the described time interval as ageing time.
10. system according to claim 9, is characterized in that, whether described first line of a couplet equipment also has user to add multicast group for detecting, and when having detected that user adds multicast group, sends described query message.
CN201010504113.7A 2010-09-30 2010-09-30 Method for regulating aging time, system and modulator-demodulator Active CN102064956B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010504113.7A CN102064956B (en) 2010-09-30 2010-09-30 Method for regulating aging time, system and modulator-demodulator
PCT/CN2011/076052 WO2012041080A1 (en) 2010-09-30 2011-06-21 Method and system for adjusting ageing time, and modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010504113.7A CN102064956B (en) 2010-09-30 2010-09-30 Method for regulating aging time, system and modulator-demodulator

Publications (2)

Publication Number Publication Date
CN102064956A CN102064956A (en) 2011-05-18
CN102064956B true CN102064956B (en) 2015-05-13

Family

ID=44000067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010504113.7A Active CN102064956B (en) 2010-09-30 2010-09-30 Method for regulating aging time, system and modulator-demodulator

Country Status (2)

Country Link
CN (1) CN102064956B (en)
WO (1) WO2012041080A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064956B (en) * 2010-09-30 2015-05-13 中兴通讯股份有限公司 Method for regulating aging time, system and modulator-demodulator
WO2012106873A1 (en) 2011-07-07 2012-08-16 华为技术有限公司 Multicast protocol message sniffing method, apparatus and switch
CN104821899A (en) * 2015-05-26 2015-08-05 国网智能电网研究院 Intelligent device dynamic identification method
CN109327398B (en) * 2018-11-21 2021-05-28 新华三技术有限公司 Method and device for preventing packet loss
CN114697728B (en) * 2022-05-31 2024-04-05 浙江宇视科技有限公司 Image output control method, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747951B1 (en) * 1999-09-20 2004-06-08 Nortel Networks Limited Method and apparatus for providing efficient management of resources in a multi-protocol over ATM (MPOA)
CN101262446A (en) * 2008-04-21 2008-09-10 北京星网锐捷网络技术有限公司 A generation method and device for Hello packet
CN101378326A (en) * 2008-09-18 2009-03-04 中兴通讯股份有限公司 Method for enquiring multicast user processing aging
CN100518142C (en) * 2005-12-27 2009-07-22 中兴通讯股份有限公司 Method for preventing network interruption caused by address aging and time inconformity

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550790C (en) * 2007-08-24 2009-10-14 中兴通讯股份有限公司 A kind of method of testing of Media Access Control Address table ageing time
CN102064956B (en) * 2010-09-30 2015-05-13 中兴通讯股份有限公司 Method for regulating aging time, system and modulator-demodulator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747951B1 (en) * 1999-09-20 2004-06-08 Nortel Networks Limited Method and apparatus for providing efficient management of resources in a multi-protocol over ATM (MPOA)
CN100518142C (en) * 2005-12-27 2009-07-22 中兴通讯股份有限公司 Method for preventing network interruption caused by address aging and time inconformity
CN101262446A (en) * 2008-04-21 2008-09-10 北京星网锐捷网络技术有限公司 A generation method and device for Hello packet
CN101378326A (en) * 2008-09-18 2009-03-04 中兴通讯股份有限公司 Method for enquiring multicast user processing aging

Also Published As

Publication number Publication date
WO2012041080A1 (en) 2012-04-05
CN102064956A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
EP3367619B1 (en) Synchronizing multicast state between multi-homed routers in an ethernet virtual private network
US8437352B2 (en) Method and system for power control based on application awareness in a packet network switch
US9344325B2 (en) System, method and apparatus providing MVPN fast failover
US9276898B2 (en) Method and device for link fault detecting and recovering based on ARP interaction
EP2324600B1 (en) Reducing cc message transmission in a provider network
EP2555476A1 (en) Method, system and device for protecting multicast in communication network
US8509059B2 (en) Method for operating a virtual router redundancy protocol router and communication system therefor
US20080253295A1 (en) Network system and node apparatus
CN102064956B (en) Method for regulating aging time, system and modulator-demodulator
WO2008080427A1 (en) Method of providing data
US11601335B2 (en) Methods and systems for neighbor-acknowledged graceful insertion/removal protocol
EP2399370A2 (en) Maximum transmission unit (mtu) size discovery mechanism and method for data-link layers
US7986695B1 (en) Automatic selection of site-IDs for virtual private networks
US20220329512A1 (en) Method and Apparatus for Updating Route Information, Computer Device, and Storage Medium
CN101330496B (en) Method and apparatus for detecting Ethernet multicast loop
US11677586B1 (en) Fast convergence for MAC mobility
US10771317B1 (en) Reducing traffic loss during link failure in an ethernet virtual private network multihoming topology
Cisco set fddi alarm through set logout
Cisco set fddi alarm through set logout
Cisco set fddi alarm through set logout
CN109361781B (en) Message forwarding method, device, server, system and storage medium
US11570073B1 (en) Service status notification
Cisco set fddi alarm through set logout
EP4009595B1 (en) Maintaining a set of links associated with a link aggregation group to facilitate provisioning or updating of a customer edge device provisioning or updating of a customer edge device
EP3879765B1 (en) Group load balancing for virtual router redundancy

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191223

Address after: 314400 No.11, Weisan Road, Nongfa District, Chang'an Town, Haining City, Jiaxing City, Zhejiang Province

Patentee after: Haining hi tech Zone Science and Innovation Center Co., Ltd

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee before: ZTE Communications Co., Ltd.