CN101425976B - Method for multicast data packet forwarding control - Google Patents

Method for multicast data packet forwarding control Download PDF

Info

Publication number
CN101425976B
CN101425976B CN2008102247111A CN200810224711A CN101425976B CN 101425976 B CN101425976 B CN 101425976B CN 2008102247111 A CN2008102247111 A CN 2008102247111A CN 200810224711 A CN200810224711 A CN 200810224711A CN 101425976 B CN101425976 B CN 101425976B
Authority
CN
China
Prior art keywords
multicast
message
self adaptation
multicast data
data message
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.)
Expired - Fee Related
Application number
CN2008102247111A
Other languages
Chinese (zh)
Other versions
CN101425976A (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.)
ZTE Corp
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 CN2008102247111A priority Critical patent/CN101425976B/en
Publication of CN101425976A publication Critical patent/CN101425976A/en
Application granted granted Critical
Publication of CN101425976B publication Critical patent/CN101425976B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for controlling multicast data message forwarding. The method comprises: dynamically configuring control mode of multicast data message forwarding in command line mode or self-adaptive mode corresponding to present network application scene, to control forwarding of multicast data message. The invention can dynamically configures control mode of multicast data message forwarding according to network application scene, preferably implements control for multicast message forwarding, and simultaneously satisfies demand of more network application scene in complex network.

Description

A kind of method of controlling the multicast data message forwarding
Technical field
The present invention relates to the technology that message is transmitted, relate in particular to a kind of method that the control multicast data message is transmitted in the Virtual Local Area Network of place, multicast packet source.
Background technology
Along with carrying out on a large scale of multimedia services such as the IPTV on the Internet, video conference, VOD, networking is constantly complicated.Have only the networking equipment of increasing configuration flexibility, could adapt to increasingly sophisticated networking demand.Existing networking equipment configuration is dumb, and the technology that the existing control multicast data message of employing is transmitted is very single.In realization, can only control the forwarding of multicast data message such as broadcast operation, and will be applied to all networking application scenarioss according to the forwarding operation that fixedly installs the control mode that multicast data message is transmitted; And can not be according to actual networking demand, i.e. the control mode of transmitting according to the conversion dynamic-configuration multicast data message of networking application scenarios.
As seen, the shortcoming of prior art is: adopt prior art, limited to the networking application scenarios that the control multicast data message is transmitted, can't satisfy the demand of more networking application scenarioss in the complicated networking in the networking process.Below for example the shortcoming of prior art is set forth.
As shown in Figure 1, Fig. 1 is the networking schematic diagram of a networking application scenarios.Among Fig. 1, comprise multicast packet source 11, user terminal 21, user terminal 22, user terminal 23 and switch 31.Wherein, the port one in the switch 31, port 2 and port 3 be 11 place VLAN in the multicast packet source, and promptly among the VLAN20, user terminal 21 and user terminal 22 and multicast packet source 11 coexist among the VLAN20; Port 4 in the switch 31 is at user place VLAN, and promptly among the VLAN30, user terminal 23 is in VLAN30.Because user terminal 21 and user terminal 22 and multicast packet source are in same VLAN, therefore, during when 21 program requests of user terminal in VLAN20 and to multicast packet source 11 request msgs, the technology that adopts existing control multicast data message to transmit, can only finish broadcast operation according to fixedly installing singlely, thereby cause among the VLAN20 multicast data message is carried out broadcast operation, make not the user terminal 22 of request msg also can receive this multicast data message, influence user experience.As seen, in networking application scenarios shown in Figure 1, current demand is: multicast data message is not carried out broadcast operation among the VLAN20, only multicast data message is transmitted to requesting users terminal 21.And the employing prior art because the mode that the control multicast data message is transmitted is single, therefore, can't be controlled the forwarding of multicast data message well to this networking application scenarios.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that multicast data message is transmitted of controlling, the control mode that can transmit according to the conversion dynamic-configuration multicast data message of networking application scenarios, realize control better, satisfy the demand of more networking application scenarioss in the complicated networking simultaneously the multicast message forwarding.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of controlling the multicast data message forwarding, this method comprises: corresponding to current networking application scenarios, with the control mode that the pattern or the adaptive pattern dynamic-configuration multicast data message of order line are transmitted, control the forwarding of described multicast data message;
Wherein, if the control mode of configuration is: broadcast the control mode of all multicast data messages, realize under described adaptive pattern that then the control mode of described all multicast data messages of broadcasting specifically may further comprise the steps:
A, when checking out that multicast packet source place VLAN and corresponding multicast address all create the self adaptation message effectively the time, and the sign of MAC Address, described multicast packet source place VLAN, corresponding multicast address and the cascade request command of equipment is encapsulated in the described self adaptation message; Afterwards, according to the MAC Address and the corresponding multicast address of described equipment, all of the port in the place VLAN of described multicast packet source sends described self adaptation message;
B, reception are also resolved described self adaptation message, determine current being received from after the VLAN that adapts to message is described multicast packet source place VLAN according to the described multicast packet source place VLAN that parses and corresponding multicast address; Determine the current equipment that adapts to message that is received from when being cascade when continuing sign according to the described cascade request command that parses with the equipment that sends the self adaptation message, the cascade sign is set, the configuration broadcast sign, multicast data message is broadcasted in the place VLAN of described multicast packet source.
Wherein, the pattern of described order line is specially: in the virtual LAN VLAN of place, multicast packet source, dispose the control mode that the needed multicast data message of described current networking application scenarios is transmitted.
Wherein, described adaptive pattern is specially:
Create the self adaptation message, and the relevant information of described current networking application scenarios is encapsulated in the described self adaptation message; By parsing, in the place VLAN of multicast packet source, dispose the control mode that the needed multicast data message of current networking application scenarios is transmitted to described self adaptation message.
Wherein, the control mode of described multicast data message forwarding specifically comprises: the control mode that abandons the control mode of unknown multicast data message, the control mode of broadcasting all multicast data messages or broadcasting unknown multicast data message.
Wherein, the described control mode that abandons the unknown multicast data message is specially:
Active user's terminal adds a group in the place VLAN of described multicast packet source, ask the data of on-demand multicasting data source, and the multicast address of described active user's terminal is added the multicast forwarding list item;
According to the multicast address of active user's terminal in the described multicast forwarding list item, described multicast packet source is transmitted to active user's terminal with multicast data message from the port of active user's terminal, abandons the unknown multicast data message.
Wherein, the control mode of described broadcasting unknown multicast data message is specially:
Active user's terminal is not asked the data of on-demand multicasting data source, and broadcast the unknown multicast data message in described multicast packet source in the place VLAN of described multicast packet source, is transmitted to the described active user's terminal among the place VLAN of multicast packet source.
Wherein, in the steps A, further will send the current time of self adaptation message and the retention time of self adaptation message to be encapsulated in the described self adaptation message;
Among the step B, the described operation that the cascade sign is set also comprises before:
From described self adaptation message, parse the current time of described self adaptation message and the retention time of described self adaptation message, calculate the end value that the time that receives described self adaptation message deducts the current time acquisition of described self adaptation message, judge that described end value is whether greater than retention time of described self adaptation message, if greater than, then described self adaptation message is invalid; Otherwise described self adaptation message is effective.
Wherein, among the step B, the described operation that the cascade sign is set also comprises afterwards:
Obtain described end value, the retention time that calculates described self adaptation message deducts the difference that described end value obtains, give the maintenance timer with described difference assignment, startup maintenance timer is done and is subtracted 1 operation, when the value of described maintenance timer is 0, it is overtime invalid to determine described self adaptation message, revises described cascade sign.
The present invention with the control mode that the pattern or the required multicast data message of the current networking application scenarios of adaptive pattern dynamic-configuration of order line are transmitted, controls the forwarding of multicast data message corresponding to current networking application scenarios.
The present invention is different from prior art, is a kind of technical scheme of dynamic-configuration, can dispose the control mode that multicast data message is transmitted neatly, to satisfy the demand of different user terminals in the network according to current networking application scenarios.And prior art is a kind of technical scheme of static configuration, can only fixedly install the control mode that single multicast data message is transmitted, and the control mode that this multicast data message is transmitted is applied to all networking application scenarioss, can't satisfy the demand of different user terminals in the network.Adopt the present invention, the control mode of can the required multicast data message of the current networking application scenarios of dynamic-configuration transmitting is controlled the forwarding of multicast data message.Thereby satisfied the demand of more networking application scenarioss in the complicated networking, made networking more flexible.And the different personalized configuration according to the demand of different user terminals is made can improve the user experience sense.
Description of drawings
Fig. 1 is the networking schematic diagram of a networking application scenarios;
Fig. 2 is the networking schematic diagram of another networking application scenarios;
Fig. 3 is the realization flow schematic diagram of the inventive method.
Embodiment
Basic thought of the present invention is: with the control mode that the pattern or the required multicast data message of the current networking application scenarios of adaptive pattern dynamic-configuration of order line are transmitted, control the forwarding of multicast data message.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
A kind of method of controlling the multicast data message forwarding, this method comprises: corresponding to current networking application scenarios, with the control mode that the pattern or the adaptive pattern dynamic-configuration multicast data message of order line are transmitted, control the forwarding of multicast data message.
Wherein, the pattern of order line is specially: in the place VLAN of the multicast packet source of appointment, dispose the control mode that the needed multicast data message of current networking application scenarios is transmitted.
Wherein, adaptive pattern is specially: the relevant information according to current networking application scenarios is created the self adaptation message; By parsing, in the place VLAN of multicast packet source, dispose the control mode that the needed multicast data message of current networking application scenarios is transmitted to the self adaptation message of this establishment.
Here, at the control mode that multicast data message is transmitted, in the place VLAN of multicast packet source, the control mode that multicast data message is transmitted specifically comprises three kinds of embodiments.
First kind of embodiment is: the control mode that abandons the unknown multicast data message.Specifically, active user's terminal adds a group in the place VLAN of multicast packet source, asks the data in the on-demand multicasting data source, and the multicast address of active user's terminal is added the multicast forwarding list item.According to the multicast address of active user's terminal in the multicast forwarding list item, the multicast packet source is transmitted to active user's terminal of the request of sending with multicast data message from the port of active user's terminal of appointment, abandons the unknown multicast data message.Here, at group, so-called group refers to multicast group.Can issue all members in the same multicast group such as the multicast data message of multicast group A, equipment connects a plurality of outlets such as multicast address back in the multicast forwarding list item on the switch, such as outlet 1, outlet 2 with export 3.Behind the multicast data message that receives this multicast group A, can find the multicast forwarding list item of corresponding multicast group A, and look for corresponding outlet 1, outlet 2 and export 3 according to multicast address, then the multicast data message of multicast group A is transmitted from these three outlets.The port of active user's terminal of so so-called appointment refers to above-mentioned outlet 1, outlet 2 and exports 3.
Because other user terminals are not asked the data in the on-demand multicasting data source among the place VLAN of multicast packet source, therefore, the multicast address of other user terminals can not add the multicast forwarding list item, and the multicast forwarding list item is used for the multicast data message forwarding, and the port of other user terminals can not received the multicast data message of active user's program request that terminal is asked among the VLAN of place, multicast packet source so.Here, at the unknown multicast data message, the unknown multicast data message is that for the multicast address that does not have in the multicast forwarding list item, multicast data message is can not be forwarded to this multicast address the multicast address in the multicast forwarding list item.The multicast data message here is the unknown multicast data message.
In simple terms, multicast data message can not broadcasted in the place VLAN of multicast packet source, just is transmitted to active user's terminal of request program request among the place VLAN of multicast packet source.Other user terminals can not received the information of the group of active user's program request that terminal is asked among the place VLAN of this multicast packet source.
For instance, as shown in Figure 1, Fig. 1 is the networking schematic diagram of a networking application scenarios, and in this example, the control mode that adopts order line configuration multicast data message to transmit is: the control mode that abandons the unknown multicast data message.Is to add a group among the VLAN20 at user terminal 22 at multicast packet source place VLAN, under the data cases of request on-demand multicasting data source, because current demand is: multicast data message is not broadcasted in the place VLAN of multicast packet source, only be transmitted to and send the requesting users terminal, therefore, the control mode that can adopt order line configuration multicast data message to transmit is: the control mode that abandons the unknown multicast data message.To satisfy current demand, reach the demand that realizes forwarding according to user terminal requests.At this moment, the user terminal among the VLAN20 21 is to receive multicast data message that user terminal 22 is received.
Second kind of embodiment is: the control mode of broadcasting all multicast data messages.Specifically, no matter whether the data of user terminal requests on-demand multicasting data source are arranged, and the group among the adding multicast packet source place VLAN, broadcast multicast data message in the multicast packet source in the place VLAN of multicast packet source, be transmitted to all user terminals among the place VLAN of multicast packet source.Effect was preferable when the present embodiment was used for multiple devices such as the networking application scenarios of many switch cascades.
For instance, as shown in Figure 2, Fig. 2 is the networking schematic diagram of another networking application scenarios.Among Fig. 2, comprise multicast packet source 12, user terminal 24, user terminal 25, user terminal 26, switch 32, switch 33 and switch 34.Wherein, port 5 in the switch 32, port 6, and the port in the switch 33 7, port 8, and the port in the switch 34 9, port one 0 in the multicast packet source 12 place VLAN, be among the VLAN40, user terminal 24 and user terminal 25 and multicast packet source 12 coexist among the VLAN40; Port one 1 in the switch 34 and port one 2 are at user place VLAN, and promptly among the VLAN50, user terminal 25 and user terminal 26 are in VLAN50.And switch 32, switch 33 and switch 34 are cascades.
Many switches that comprise in the place VLAN of multicast packet source are under the situation of switch 32, switch 33 and switch 34 cascades, if employing prior art, user terminal adds a group in the place VLAN of multicast packet source, when asking the data of on-demand multicasting data source, need to send the request of sending that joins message, and after reporting this request to give the multicast packet source step by step according to the cascade connection of many switches, the multicast packet source could be transmitted to this requesting users terminal to corresponding multicast data message.Such as, when user terminal 25 and group of user terminal 26 addings, will report multicast packet source 12 to joining message separately by switch 34, switch 33 and switch 32, and on switch 34, switch 33 and switch 32, set up multicast forwarding list item separately respectively; Afterwards, multicast packet source 12 is transmitted to user terminal 25 and user terminal 26 according to the multicast forwarding list item of setting up with multicast data message on switch 34, switch 33 and switch 32.As seen, send request in the process of the multicast data message of the request of receiving, very big time delay just occurred owing in the switch of many cascades, report step by step and return in the requesting users terminal.Current demand is: reduce time delay, if adopt the present invention, the control mode that can adopt order line configuration multicast data message to transmit is: the control mode of broadcasting all multicast data messages.To satisfy current demand, can reduce time delay effectively.As seen, it is more superior than adopting prior art to adopt the present invention.
And, because Fig. 1 is different networking application scenarioss with Fig. 2, demand separately is also different, therefore, at different demands, the control mode of employing the present invention dynamic-configuration multicast data message forwarding flexibly also can better satisfy the individual demand of different user terminals, and the user experience sense is better.So, under this networking application scenarios of Fig. 2, many switches are when the VLAN cascade of place, multicast packet source, just can not adopt the control mode that abandons the unknown multicast data message among Fig. 1, the control mode that adopts is: broadcast the control mode of all multicast data messages, can make multicast data message arrive switch 32, switch 33 and switch 34 in the very first time like this.On these three switches data flow is arranged all, send as user terminal so and join message when sending request, just reduced delay.
The third embodiment is: the control mode of broadcasting unknown multicast data message.Specifically, in the place VLAN of multicast packet source, do not add a group in active user's terminal, do not ask under the data cases of on-demand multicasting data source, broadcast the unknown multicast data message in the multicast packet source in the place VLAN of multicast packet source, be transmitted to this active user's terminal of not asking among the place VLAN of multicast packet source.Here, at the unknown multicast data message, the unknown multicast data message is that for the multicast address that does not have in the multicast forwarding list item, multicast data message is can not be forwarded to this multicast address the multicast address in the multicast forwarding list item.The multicast data message here is the unknown multicast data message.
Because, when active user's terminal is not asked the data of on-demand multicasting data source, be can in the multicast forwarding list item, not add multicast address, and the forwarding of multicast data message is to be undertaken by the multicast address in the multicast forwarding list item, but, need this unknown multicast data message forwarding to this active user's terminal of not asking for fear of time delay.Therefore, the broadcasting of Ci Shi multicast data message is actually the broadcasting of unknown multicast data message.At this moment, there is being a user terminal in the place VLAN of multicast packet source, to add a group, under the data cases of request on-demand multicasting data source, the multicast address that can add this requesting users terminal in the multicast forwarding list item, so, the multicast data message of this moment has been not the unknown multicast data message just, and multicast data message is just according to the multicast address of this requesting users terminal, is transmitted to this requesting users terminal from the port of user terminal program request.
As shown in Figure 3, when a plurality of equipment cascading, under adaptive pattern, realize that the concrete processing procedure of the control mode of all multicast data messages of broadcasting may further comprise the steps:
Step 101, all create the self adaptation message effectively the time, and the sign of MAC Address, multicast packet source place VLAN, corresponding multicast address and the cascade request command of equipment is encapsulated in the self adaptation message when the equipment inspection of transmitting terminal goes out multicast packet source place VLAN and corresponding multicast address.
That is to say that, the relevant information of current networking application scenarios comprises here: the sign of the MAC Address of equipment, multicast packet source place VLAN, corresponding multicast address and cascade request command.Wherein, the MAC Address of equipment is used for determining different equipment.
Step 102, according to the MAC Address of equipment and corresponding multicast address, all of the port in the place VLAN of multicast packet source sends the self adaptation message.
The device parses of step 103, receiving terminal goes out multicast packet source place VLAN and the corresponding multicast address in the self adaptation message, when the multicast source place VLAN that determines this multicast source place VLAN and this corresponding multicast address and the equipment of receiving terminal and multicast address are consistent, determine that the equipment of receiving terminal and the equipment of transmitting terminal are among the place VLAN of same multicast packet source.
Step 104, determine current being received from after the VLAN that adapts to message is multicast packet source place VLAN, continue to judge the whether cascade of the current sending ending equipment that is received from the receiving device that adapts to message and transmission self adaptation message according to the sign of the cascade request command that parses.
Step 105, when determining cascade, the cascade sign is set, the configuration broadcast sign, multicast data message is broadcasted in the place VLAN of multicast packet source.
Here, in the step 105, the operation that the cascade sign is set also comprises operation before: the equipment of transmitting terminal parses the current time of transmission self adaptation message and the retention time of self adaptation message from the self adaptation message, calculate the end value that the time that is received from the adaptation message deducts the current time acquisition that sends the self adaptation message, judge that this end value is whether greater than retention time of self adaptation message, if greater than, then the self adaptation message is invalid, the follow-up cascade sign that is not provided with; Otherwise the self adaptation message is effective, the follow-up cascade sign that is provided with.It is pointed out that this operation that is provided with before the cascade flag operation is: the operation that the equipment one of receiving terminal carries out when receiving the self adaptation message that the equipment of transmitting terminal sends.
Here, in the step 105, the operation that the cascade sign is set also comprises operation afterwards: obtain the The above results value, the retention time that calculates the self adaptation message deducts the difference that the The above results value obtains, and this difference assignment is given keep timer, and startup maintenance timer is done and subtracted 1 operation, when the value of this maintenance timer is 0, it is overtime invalid to determine the self adaptation message, revises the cascade sign, and the cascade sign is set afterwards again.It is pointed out that this operation that is provided with after the cascade flag operation is: the equipment of receiving terminal receives the operation of carrying out after self adaptation message a period of time that the equipment of transmitting terminal sends.Again assignment is also upgraded the value that keeps timer after the self adaptation message arrival that the next one sends.
Method embodiment: a plurality of equipment are a plurality of switches, and a plurality of switch is cascade, under adaptive pattern, realize that the control mode of all multicast data messages of broadcasting comprises the processing procedure of transmitting terminal and the processing procedure of receiving terminal.
With regard to the processing procedure of transmitting terminal, when carrying out the forwarding of multicast data message, necessarily have the VLAN of a receiving multicast data message, this VLAN is exactly multicast packet source place VLAN.The port that connects among the place VLAN of this multicast packet source is a routed port, is used for receiving multicast data message or communicate by letter with upstream equipment.This change just and start adaptive pattern in the place VLAN of this multicast packet source.The validity of multicast data source place VLAN of inspection group and corresponding multicast address, here, so-called corresponding multicast address refers to the multicast address of the multicast data message that the multicast packet source sends, if multicast packet source place VLAN and corresponding multicast address are all effective, then creating behind the self adaptation message all routed ports in the place VLAN of this multicast packet source sends and adapts to messages, here this self adaptation message has only a jumping, can not be forwarded to whole network.Starting sends self adaptation message timer then, that is to say after having sent a self adaptation message, the equipment of transmitting terminal will have a response of the equipment of receiving terminal in the time after how long, promptly do not do timeout treatment if receive the response of the equipment of receiving terminal, the control mode that keeps this moment the original multicast data message of the equipment of transmitting terminal to transmit; If receive the response of the equipment of receiving terminal, then time-out sends the self adaptation message, and starting time-out transmission self adaptation message timer, according to the time of this timer setting, retransmits a self adaptation message every the time of this setting.Before each transmission self adaptation message, can do validity check to multicast packet source place VLAN and corresponding multicast address, if effectively, then continue to send; If invalid, illustrate that then current VLAN has been not multicast packet source place VLAN, closes the adaptive pattern among the current VLAN.
So, the processing procedure of transmitting terminal may further comprise the steps:
Step 201, initialization and start adaptive pattern in the place VLAN of multicast packet source.
Whether step 202, the multicast data source place VLAN of inspection group and corresponding multicast address be all effective, if all effective, then execution in step 203; Otherwise current VLAN has not belonged to multicast packet source place VLAN, changes execution in step 207 over to.
Step 203, create the self adaptation message, and the sign of MAC Address, multicast packet source place VLAN, corresponding multicast address and the cascade request command of equipment is encapsulated in the self adaptation message.
Step 204, according to the MAC Address of equipment and corresponding multicast address, all of the port in the place VLAN of multicast packet source sends the self adaptation message.
Step 205, start to send self adaptation message timer, check whether the response of equipment of receiving terminal overtime, if overtime, the equipment that transmitting terminal then is described not with the equipment cascading of receiving terminal on, return and execution in step 202; Otherwise, on the equipment of affirmation transmitting terminal and the equipment cascading of receiving terminal, execution in step 206.
Step 206, time-out send the self adaptation message, and start time-out transmission self adaptation message timer, according to the time of this timer setting, retransmit a self adaptation message every the time of this setting.
Step 207, close the adaptive pattern among the current VLAN.
With regard to the processing procedure of picking end, when an equipment is received a self adaptation message in certain VLAN after, can resolve and check the information in this self adaptation message, be packaged with the multicast packet source place VLAN and the cascade sign of the equipment of transmitting terminal in the self adaptation message.Check that current to be received from this VLAN that adapts to message be multicast packet source place VLAN, the determining of multicast packet source place VLAN finished by controllable multicast, and a multicast packet source can be finished by configuration order in which vlan.If current this VLAN that is received from the adaptation message also is multicast packet source place VLAN, just illustrate that the equipment of transmitting terminal and the equipment of receiving terminal are cascades in the place VLAN of same multicast packet source, and the equipment of receiving terminal is the upstream equipment of the equipment of transmitting terminal, at this moment, being received from the control mode that multicast data message is transmitted among this VLAN that adapts to message before the configuration is: broadcast multicast data message in the place VLAN of this multicast packet source, avoiding time delay, and return a response to the equipment of transmitting terminal.So far being received from the processing that adapts to message finishes.
So, the processing procedure of picking end may further comprise the steps:
The self adaptation message that the equipment of step 301, receiving end/sending end sends, the device parses of receiving terminal go out multicast source place VLAN and the corresponding multicast address in the self adaptation message.
Multicast source place VLAN that step 302, basis parse and corresponding multicast address determine whether the equipment of receiving terminal and the equipment of transmitting terminal are among the place VLAN of same multicast packet source.If the multicast source place VLAN that parses is consistent with the multicast source place VLAN and the multicast address of the equipment of receiving terminal with corresponding multicast address, determine then whether the equipment of receiving terminal and the equipment of transmitting terminal are among the place VLAN of same multicast packet source.
Step 303, judge the whether cascade of the current sending ending equipment that is received from the receiving device that adapts to message and transmission self adaptation message according to the sign of the cascade request command that parses, if then execution in step 304; Otherwise, execution in step 306.
Step 304, the cascade sign is set, the configuration broadcast sign, multicast data message is at the current VLAN that adapts to message that is received from.Be to broadcast among the place VLAN of multicast packet source.
The equipment of step 305, receiving terminal finishes the current handling process of picking end after the equipment of transmitting terminal returns response.
Step 306, the cascade sign is not set, does not dispose broadcast flag, multicast data message at the current VLAN that adapts to message that is received from, is not promptly broadcasted among the VLAN of place, multicast packet source; Finish the current handling process of picking end.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (8)

1. control the method that multicast data message is transmitted for one kind, it is characterized in that, this method comprises: corresponding to current networking application scenarios, with the control mode that the pattern or the adaptive pattern dynamic-configuration multicast data message of order line are transmitted, control the forwarding of described multicast data message;
Wherein, if the control mode of configuration is: broadcast the control mode of all multicast data messages, realize under described adaptive pattern that then the control mode of described all multicast data messages of broadcasting specifically may further comprise the steps:
A, when checking out that multicast packet source place VLAN and corresponding multicast address all create the self adaptation message effectively the time, and the sign of MAC Address, described multicast packet source place VLAN, corresponding multicast address and the cascade request command of equipment is encapsulated in the described self adaptation message; Afterwards, according to the MAC Address and the corresponding multicast address of described equipment, all of the port in the place VLAN of described multicast packet source sends described self adaptation message;
B, reception are also resolved described self adaptation message, determine current being received from after the VLAN that adapts to message is described multicast packet source place VLAN according to the described multicast packet source place VLAN that parses and corresponding multicast address; Determine the current equipment that adapts to message that is received from when being cascade when continuing sign according to the described cascade request command that parses with the equipment that sends the self adaptation message, the cascade sign is set, the configuration broadcast sign, multicast data message is broadcasted in the place VLAN of described multicast packet source.
2. method according to claim 1 is characterized in that, the pattern of described order line is specially: in the virtual LAN VLAN of place, multicast packet source, dispose the control mode that the needed multicast data message of described current networking application scenarios is transmitted.
3. method according to claim 1 is characterized in that, described adaptive pattern is specially:
Create the self adaptation message, and the relevant information of described current networking application scenarios is encapsulated in the described self adaptation message; By parsing, in the place VLAN of multicast packet source, dispose the control mode that the needed multicast data message of current networking application scenarios is transmitted to described self adaptation message.
4. according to each described method in the claim 1 to 3, it is characterized in that the control mode that described multicast data message is transmitted specifically comprises: the control mode that abandons the control mode of unknown multicast data message, the control mode of broadcasting all multicast data messages or broadcasting unknown multicast data message.
5. method according to claim 4 is characterized in that, the described control mode that abandons the unknown multicast data message is specially:
Active user's terminal adds a group in the place VLAN of described multicast packet source, ask the data of on-demand multicasting data source, and the multicast address of described active user's terminal is added the multicast forwarding list item;
According to the multicast address of active user's terminal in the described multicast forwarding list item, described multicast packet source is transmitted to active user's terminal with multicast data message from the port of active user's terminal, abandons the unknown multicast data message.
6. method according to claim 4 is characterized in that, the control mode of described broadcasting unknown multicast data message is specially:
Active user's terminal is not asked the data of on-demand multicasting data source, and broadcast the unknown multicast data message in described multicast packet source in the place VLAN of described multicast packet source, is transmitted to the described active user's terminal among the place VLAN of multicast packet source.
7. method according to claim 4 is characterized in that, in the steps A, further will send the current time of self adaptation message and the retention time of self adaptation message to be encapsulated in the described self adaptation message;
Among the step B, the described operation that the cascade sign is set also comprises before:
From described self adaptation message, parse the current time of described self adaptation message and the retention time of described self adaptation message, calculate the end value that the time that receives described self adaptation message deducts the current time acquisition of described self adaptation message, judge that described end value is whether greater than retention time of described self adaptation message, if greater than, then described self adaptation message is invalid; Otherwise described self adaptation message is effective.
8. method according to claim 7 is characterized in that, among the step B, the described operation that the cascade sign is set also comprises afterwards:
Obtain described end value, the retention time that calculates described self adaptation message deducts the difference that described end value obtains, give the maintenance timer with described difference assignment, startup maintenance timer is done and is subtracted 1 operation, when the value of described maintenance timer is 0, it is overtime invalid to determine described self adaptation message, revises described cascade sign.
CN2008102247111A 2008-12-09 2008-12-09 Method for multicast data packet forwarding control Expired - Fee Related CN101425976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102247111A CN101425976B (en) 2008-12-09 2008-12-09 Method for multicast data packet forwarding control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102247111A CN101425976B (en) 2008-12-09 2008-12-09 Method for multicast data packet forwarding control

Publications (2)

Publication Number Publication Date
CN101425976A CN101425976A (en) 2009-05-06
CN101425976B true CN101425976B (en) 2011-08-24

Family

ID=40616319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102247111A Expired - Fee Related CN101425976B (en) 2008-12-09 2008-12-09 Method for multicast data packet forwarding control

Country Status (1)

Country Link
CN (1) CN101425976B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671096A (en) * 2004-03-17 2005-09-21 中国科学技术大学 Policy control based multicast access control method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN101262419A (en) * 2008-01-30 2008-09-10 华为技术有限公司 Multicast service forward method and device
CN101262448A (en) * 2008-04-21 2008-09-10 神州亿品科技有限公司 IP data packet transmission method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671096A (en) * 2004-03-17 2005-09-21 中国科学技术大学 Policy control based multicast access control method
CN101159665A (en) * 2007-08-28 2008-04-09 杭州华三通信技术有限公司 Method and device to implement forwarding of unknown multicast packet to router port
CN101262419A (en) * 2008-01-30 2008-09-10 华为技术有限公司 Multicast service forward method and device
CN101262448A (en) * 2008-04-21 2008-09-10 神州亿品科技有限公司 IP data packet transmission method and system

Also Published As

Publication number Publication date
CN101425976A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
CN101207501B (en) IP broadcasting system and a multicast group management apparatus for the same
US10200425B2 (en) Methods and apparatus for efficient IP multicasting in a content delivery network
Cain et al. Internet group management protocol, version 3
CN1913491B (en) Method and device for supporting co-existing of static and dynamic IP multicast
EP2940971B1 (en) Method and apparatus for obtaining an ip address by dhcp client
EP2817971B1 (en) Network controlled streaming
US9634847B2 (en) Robust multicast broadcasting
CN100417141C (en) Group broadcasting business realizing method
US7672325B2 (en) Method and apparatus for improved IGMP group membership messaging
EP1909439B1 (en) An implementing method and an apparatus for enhancing the multicast service manageability
CN101110848B (en) Method for detecting channel trouble
EP3331247A1 (en) Multi-screen control method and device
EP1300034B1 (en) Data delivery over a cellular radio network
US20190238949A1 (en) Multicast service providing method and software defined networking controller
AU2001267567A1 (en) Improvements in and relating to data delivery over a cellular radio network
KR20180025944A (en) Method and apparatus for implementing SDN-based ARP
CN101094132B (en) Process method for restarting terminal device of multicast service
CN101425976B (en) Method for multicast data packet forwarding control
WO2020027160A1 (en) Notification device and notification method
US20120163379A1 (en) Multicast routing device, multicast network system applying the same, and packet transmission method
KR20010076596A (en) Distributed IP Multicasting Method for Internet Broadcasting System
KR20150049688A (en) Terminal device for broadcasting and communication and method for processing packet thereof
CN102195889B (en) Method and equipment for relieving Internet group management protocol (IGMP) message processing stress
US8874796B1 (en) Techniques for using a general query to circumvent specific query response failure in an IGMP system
CN105245827A (en) Video data transmission method, device and system

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
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: 20110824

Termination date: 20171209