CN100502346C - Method for realizing group broadcast channel quick switching - Google Patents
Method for realizing group broadcast channel quick switching Download PDFInfo
- Publication number
- CN100502346C CN100502346C CNB2004100695079A CN200410069507A CN100502346C CN 100502346 C CN100502346 C CN 100502346C CN B2004100695079 A CNB2004100695079 A CN B2004100695079A CN 200410069507 A CN200410069507 A CN 200410069507A CN 100502346 C CN100502346 C CN 100502346C
- Authority
- CN
- China
- Prior art keywords
- user terminal
- multicast
- multicast channel
- port information
- under
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000010076 replication Effects 0.000 claims description 48
- 238000012217 deletion Methods 0.000 claims description 10
- 230000037430 deletion Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 12
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 7
- 101150115300 MAC1 gene Proteins 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 5
- 102100039558 Galectin-3 Human genes 0.000 description 5
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 5
- 101150051246 MAC2 gene Proteins 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006855 networking Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This invention relates to a quick switch realization method for multicast channels including: when a user terminal leaves the current placed multicast channel, it is judged if said position information in said multicast channel has other accessed user terminals based on the position information accessed by said user terminal and the multicast duplicate list of the related channel is maintained according to the judgment result, which realizes that there is always only one multicast flow bandwidth on a user terminal circuit and solves the problem of existing multicast flows on the circuit during the switch.
Description
Technical field
The present invention relates to network communications technology field, relate in particular to the implementation method that a kind of multicast channel switches fast.
Background technology
The group broadcasting video frequency net of developing multicast business generally adopts network model as shown in Figure 1 on the present data network.Described group broadcasting video frequency network comprises Headend System (video headend shall system), the IP metropolitan area network (comprises Core device, central apparatus), Access Network (comprising Edge device, edge device) and four parts of Home Network (home network).
The video headend shall system realizes video user management, CA/DRM (condition access/digital copyright management), video coding function, then video traffic is sent into the IP metropolitan area network.Each video frequency program and broadcasting channel all adopt MPEG-2 (MPEG, Motion Picture Experts Group) to be encoded into one road code stream and are encapsulated in UDP/IP (User Datagram Protoco (UDP)/Internet protocol) message.
The IP metropolitan area network is delivered to broadband access network by the IP multicast functionality with video traffic.Broadband access network realizes that user terminal adds or leave the controlled function of video group, simultaneously, is responsible for the video flowing that user terminal needs is sent to user terminal.Described Access Network can comprise SW (Layer 2 switch) and DSLAM (digital subscriber line access multiplex) equipment, adopt FE (functional unit) or xDSL physical circuits such as (Digital Subscriber Line) to be connected between described equipment and the user terminal, described SW can be ATM (asynchronous transfer mode) switch or Ethernet switch.Video flowing sends to the directly edge device of access user terminal such as multicast router or Layer 2 switch or DSLAM etc. from the IP metropolitan area network, and the IGMP that this equipment is sent according to user terminal (the Internet multicast member management protocol) control message sends to video flowing the user terminal that needs.
IP metropolitan area network router (being central apparatus) is realized multicast routing protocol (as the PIM-SM agreement) and IGMP.The DSLAM that comprises in the broadband access network realizes IGMP Proxy (igmp proxy server) or IGMP Snooping (IGMP snooping device) function.
At user side, there are CPE (customer premises equipment, CPE), PC, video STB plurality of devices such as (set-top box), the interconnected formation one family of these device interiors local net network.Video traffic from the xDSL circuit is sent to STB by CPE and home network, and STB realizes decoding function, solves vision signal and delivers on the television set and show; Perhaps directly deliver on the PC, by PC decoding browse displays.As shown in Figure 1, PC and STB are connected under the cpe device, can have many, and this cpe device can be Modem (modulator-demodulator) or the switch/router that possesses two layers of exchange even three layers of function of exchange.
Be that example describes under two layers of switch mode with CPE below, present PC or STB on-demand multicasting program, the general multicast protocol that adopts IGMP agreement (comprising V1, V2 or V3 version), the IGMP agreement is a kind of agreement that is carried on the IP agreement, arranged side by side with the IP agreement in fact, defined client (being user terminal) and two entities of multicast router on agreement, the corresponding above-mentioned network of these two entities is exactly video terminal (TV, PC etc.) and access device.The IGMP protocol format is defined as follows:
The link layer protocol head | The IP protocol header | IGMP protocol massages part |
In above-mentioned form, when the protocol number in the IP protocol header is 2, IGMP protocol massages when showing the data of back;
The form of IGMP protocol massages part is as follows:
Wherein:
The version number of 4bit Version:4bit, v1, V2, V3 are followed successively by 1,2,3;
The type of message of 44bit Type:bit represents which type of control message this message is, is example with IGMP v2, and following several middle control message is arranged:
0x11=Membership Query, query message, multicast router is used to inquire about whether whether multicast group has the user to exist; Whether general timed sending also can send inquiry after receiving the leave message that the user sends, also have the user to exist to understand this group;
0x16=Version 2 Membership Report, member's report message shows to add certain multicast group or response group polling message;
0x17=Leave Group, leave message shows and leaves certain group
0x12=Version 1 Membership Report, member's report message of IGMP v1 is as adding or response usefulness;
The verification of 16bit checksum:16bit and;
32-bit group address (D address): the type of message of multicast address and 4bit is used.
In the existing multicast scheme, though,, only can keep the list item of a multicast replication table at access device for the situation that adds same multicast group according to having a plurality of users under port of agreement regulation.Therefore, access device is judged leaving of a user, need carry out the processing of leaving of user terminal by the response condition after the query message repeatedly, if described repeatedly query message is all less than response, then this user port is deleted from duplicating the port of multicast group, that is to say, only do not have under the situation of response in inquiry, could determine no longer to exist under this port the user terminal of other these multicast data flows of program request, could from the copy list of multicast group, delete this port, thereby guarantee that this port just can not deleted from duplicating the port of multicast group as long as there is the user of a response down in this port.
Yet, can there be the problem of user's switching channels in the multicast service process of carrying out of reality, for example: is 5M from access device to the line bandwidth each user network, user's on-demand multicasting channel 1, each multicast channel occupied bandwidth 4M; Switching multicast channels by user is to multicast channel 2, and the actual process of switching multicast channel is:
(1) send and leave multicast channel 1 message, agreement think need inquiry three times not response again the user is deleted from multicast channel 1, stop to send program stream 1 to user network;
(2) send and add multicast channel 2 messages, the operation that adds multicast channel 2 do not need to confirm, receive that IGMP joins message after, directly this user is joined in the multicast channel 2, program stream just can send to user network;
Because step (2) is faster than the processing procedure of step (1), so the data traffic of two channels of appearance that on the line can be of short duration, the bandwidth of 8M has altogether surpassed the 5M bandwidth of circuit, program data will be lost like this, and the flower screen appears in the program that causes TV or PC to see.
If in above-mentioned steps (1), do not inquire about, and directly port is deleted from multicast group, then for a plurality of user terminals being arranged in the user network just in the situation of the identical program of program request, will keep the list item of a multicast replication only can for a port because of multicast, and this list item is deleted, causes other user terminal under the same port can't continue to watch this program.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide the implementation method that a kind of multicast channel switches fast, thereby effectively avoided user terminal to carry out existing on the circuit in the multicast channel handoff procedure problem of a plurality of multicast data flows, and can guarantee that other users under the same port normally watch corresponding program.
The objective of the invention is to be achieved through the following technical solutions:
The implementation method that a kind of multicast channel provided by the invention switches fast comprises:
When user terminal leaves the multicast channel at current place, the port information that inserts according to described user terminal judges whether this port information under this multicast channel also exists the user terminal of other accesses, if exist, the list item that then keeps this port information correspondence, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
The implementation method that described multicast channel switches fast further comprises:
When the new multicast channel of user terminal program request, determine the port information that described user terminal inserts and the characteristic information of user terminal, and under this port information of this multicast channel the characteristic information of the described user terminal of record;
When user terminal leaves the multicast channel at current place, determine the port information of described user terminal access and the characteristic information of user terminal, characteristic information deletion with this user terminal of the record of this port information under this multicast channel, and judge the characteristic information that whether also has other user terminals under this port information of this multicast channel, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
The implementation method that described multicast channel switches fast further comprises:
A, when the new multicast channel of user terminal program request, determine the port information that described user terminal inserts, and add up the quantity of the user terminal that passes through this port information access this multicast channel under;
B, when user terminal leaves the multicast channel at current place, determine the port information that described user terminal inserts, the user terminal quantity that this port information under this multicast channel inserts is upgraded, and judge whether this port information under this multicast channel also exists the user terminal that inserts, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
Described steps A further comprises:
A1, user terminal send IGMP (internet control messages agreement) the reporting message message that application adds new multicast channel;
After A2, user network convergence device monitored described message, foundation copied to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel;
After A3, access device obtain described message, port information according to described user terminal access access device is set up the list item of corresponding multicast replication table under described multicast channel, and adds up the user terminal quantity that this port information inserts of passing through under this multicast channel.
Described steps A 3 comprises:
After A31, access device obtain described message, obtain the characteristic information of user terminal and the port information of access access device;
A32, under described multicast channel, set up the list item of corresponding multicast replication table, and add up the user terminal quantity of passing through this port information access this multicast channel under according to described characteristic information and port information.
Described steps A 32 further comprises:
A321, judge the list item that whether exists under this multicast channel based on the multicast replication table of described port information, if exist, execution in step A323, otherwise, execution in step A322;
A322, under described multicast channel, set up the list item of corresponding multicast replication table, execution in step A323 according to described port information;
A323, the characteristic information of described user terminal is added in the list item of described multicast replication table, and to the number count of passing through the user terminal that this port information inserts under this multicast channel.
Described step B further comprises:
The igmp leave message message of current place multicast channel is left in the request of sending of B1, user terminal;
After B2, user network convergence device monitored described message, deletion copied to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel;
After B3, access device obtain described message, obtain the port information that user terminal inserts, with the user terminal quantity renewal that this port information inserts of passing through under this multicast channel, and judge whether this port information under this multicast channel also exists the user terminal that inserts, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel.
The characteristic information of described user terminal comprises:
The MAC of user terminal (medium access control) address information or IP (Internet protocol) address information.
Described step B3 further comprises:
After access device obtains described message, obtain the characteristic information of user terminal and the port information of access access device, and in the multicast replication table, search corresponding list item according to the characteristic information or the described port information of described user terminal;
The characteristic information of described user terminal is deleted from the list item of the multicast replication table of correspondence, and the user terminal quantity of passing through this port information access under this multicast channel is done to subtract 1 handle;
Whether the quantitative value of judging described user terminal is zero, if, then the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel, otherwise, do not deal with.
Perhaps, described step B3 further comprises:
After access device obtains described message, obtain the port information that user terminal inserts;
Directly the user terminal quantity of passing through this port information access under this multicast channel being done to subtract 1 handles, and whether the quantity of judging described user terminal be zero, if then the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel, otherwise, do not deal with.
As seen from the above technical solution provided by the invention, the present invention has adopted when user terminal adds or leaves a certain multicast channel, all in the multicast replication table of access device, increase corresponding record, or write down its characteristic information or upgrade the access number of users, therefore, the present invention can be implemented in multicast service and carries out in the process, exist at the bandwidth of always having only a multicast data flow on the user terminal circuit, when having guaranteed that the standard multicast agreement is carried out, solved the problem that has a plurality of multicast data flows in the multicast handoff procedure on the circuit.That is to say, the processing method that the present invention leaves fast by multicast data flow, it is slow to have solved in the multicast network under the access interface client program request switch speed, influence the problem that client's play-on-demand program is experienced, thereby realized that the manageability of multicast in the multicast network and traditional programme channel select very approaching of effect.
Description of drawings
Fig. 1 is the networking structure schematic diagram of video multicast system;
Fig. 2 is the part networking structure schematic diagram of the video multicast system that the present invention relates to;
Fig. 3 adds the processing procedure schematic diagram of multicast group for user terminal among the present invention;
Fig. 4 adds the process chart of multicast group for user terminal;
Fig. 5 leaves the processing procedure schematic diagram of multicast group for user terminal among the present invention;
Fig. 6 leaves the process chart of multicast group for user terminal.
Embodiment
Core concept of the present invention is to send the request of leaving multicast group when multicast client (being the user terminal under the port), whether that then access device will be judged this user terminal according to the positional information (as the port information that inserts) that this user terminal inserts is last user under the correspondence position information, if then directly the list item of this positional information correspondence is deleted from this multicast replication table, otherwise, keep this list item.The present invention has guaranteed that arbitrary user terminal all can leave a certain multicast group fast, and can change another multicast group easily over to, makes user terminal can select fast to switch between different program channels.
Technical scheme provided by the present invention is only paid close attention between access device and the subscriber household network mutual when group broadcasting video frequency, the networking structure of the network that relates to as shown in Figure 2, wherein:
The user network convergence device is a two-layer equipment, be used to finish IGMP snooping (igmp snooping) function, the user network convergence device will be monitored the IGMP control message of all video terminals (being user terminal), thereby generate the multicast list that user network converges, comprise each port information etc. in the described multicast list, program can be duplicated to different video terminals (being user terminal) according to the information user's network convergence device that writes down in the multicast list.
Described video terminal comprises TV+STB (set-top box) or PC etc. can browse the various terminals that add the video multicast channel, various video terminals all can add or leave the multicast channel of appointment by the control procedure of IGMP agreement (comprising three kinds of versions of v1/v2/v3) definition.
The IGMP protocol massages that access device sends by process user, user terminal is added the multicast group channel that needs the multicast group channel that adds or leave appointment, the multicast replication table of in store multicast channel in the access device, port list according to record under each multicast group channel in the multicast replication table, the video flowing of corresponding multicast channel copied in these ports goes, thus make the user terminal that connects under the port can rating to the program stream of program request.
Method of the present invention comprises that mainly user terminal adds the processing procedure and the processing procedure of leaving a certain multicast channel of a certain multicast channel, will describe respectively below:
The processing procedure that user terminal adds a certain multicast channel comprises:
User terminal sends the IGMP reporting message message that application adds new multicast channel, usually user terminal can send this message packet in both cases: a kind of is that user terminal just starts, application first adds a multicast channel, and another kind is that user terminal need carry out the switching of multicast channel and apply for adding new multicast channel;
After the user network convergence device monitors described message, foundation copies to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel, promptly preserve corresponding multicast replication table on the user network convergence device, each list item has write down the corresponding multicast channel-group of program request that the user network convergence device connects down respectively and has broadcast the user terminal of stream and insert the port information of user network convergence device and the multicast channel information of program request; Need to prove herein, the present invention does not improve the processing procedure of user network convergence device, and processing procedure the present invention of user network convergence device does not pay close attention to, the present invention mainly is that the maintenance management to the list item of the multicast replication table of preserving in the access device has proposed corresponding improvement, to realize purpose of the present invention;
After access device obtains described message, determine that user terminal inserts the port information of access device and the multicast channel information of user terminal program request, under described multicast channel, set up the list item of corresponding multicast replication table according to the port information of described user terminal access access device and the multicast channel information of user terminal program request, and add up the user terminal quantity that this port information inserts of passing through under this multicast channel; The content of the multicast replication table record of described access device record comprises: multicast channel information reaches and its corresponding port information, reach the user terminal quantity that inserts by this port information, implication is: need the multicast data flow of this multicast channel is copied under the port of port information record, and the total quantity of the user terminal that inserts under the same port, described quantitative value is used for judging whether when user terminal leaves corresponding multicast channel being last user terminal, thereby determines whether this port is deleted from this multicast group;
In access device, can also comprise: the mac address information of user terminal or IP address information etc. at the characteristic information of described multicast replication table record by the user terminal of corresponding port information access access device; Equally, the characteristic information of described record also can be used for judging whether to be last user terminal when user terminal leaves corresponding multicast channel, thereby determine whether this port is deleted from this multicast group;
Certainly, described characteristic information can also be used with described user terminal quantity, guarantees that user terminal leaves current multicast channel fast, and can avoid mistake to delete the appearance of problem effectively, has improved reliability of the present invention.
Based on above-mentioned processing procedure, the processing procedure that user terminal leaves a certain multicast channel comprises:
The igmp leave message message of current place multicast channel is left in the user terminal request of sending;
After the user network convergence device monitors described message, deletion copies to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel, like this, after the multicast data flow of this multicast channel arrives the user network convergence device, can not duplicate again and send to this port;
After access device obtains described message, if in the multicast replication table of access device about writing down the quantity of the characteristic information and the access user terminal of user terminal in the list item under the port of a multicast channel respectively, then access device need obtain the port information of user terminal access and the characteristic information of user terminal, and described characteristic information is generally MAC Address or IP address information etc.;
Delete the characteristic information of the user terminal in this port information under this multicast channel, with the user terminal quantity renewal that this port information inserts of passing through under this multicast channel, promptly doing to subtract 1 handles, and judge according to the user terminal quantitative value after upgrading whether this port information this multicast channel under also exists the user terminal of access, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from described multicast replication table;
If only write down quantity about the user terminal that inserts under arbitrary port of arbitrary multicast channel, then after access device obtains the leave message of user terminal, only need obtain the port information that it inserts access device, and the quantity of the user terminal of the access under this port upgraded (promptly subtracting 1 handles), afterwards, whether the quantitative value of judging the user terminal of described access is zero, if, then the list item of this port information correspondence is deleted from described multicast replication table, otherwise, do not deal with;
If only write down characteristic information about the user terminal that inserts under arbitrary port of arbitrary multicast channel, then after access device obtains the leave message of user terminal, need obtain its port information that inserts access device and the characteristic information of user terminal, and with the characteristic information deletion of the user terminal of the access under this port, afterwards, judge the characteristic information that whether also has the user terminal that inserts under this port, if, then do not deal with, otherwise, the list item of this port information correspondence is deleted from described multicast replication table.
For the present invention there being further understanding, below in conjunction with accompanying drawing the present invention is related generally to that user terminal adds and two processing procedures leaving the designated multicast group are elaborated.According to the protocol procedures of IGMP v2 standard definition, set forth the implementation method of broadband access equipment below at two processing procedures.
According to networking diagram shown in Figure 2, supposing has following network environment:
Three video terminals, its MAC Address is respectively MAC1, MAC2, MAC3 inserts the port one, 2,3 of user network convergence device respectively; Its IP address is respectively IP1, IP2, IP3; Four multicast channels are arranged in the network, and its multicast group address is respectively G1, G2, G3, G4; The video terminal user can join any one different multicast group, also can join identical multicast group; The bandwidth that circuit between access device and user network convergence device has only been opened satisfied while two multicast channels (certainly, if allow the multicast data flow of three different multicast channels of three users' difference program request, then should open the bandwidth of three multicast channels).And the flow of supposing all multicast channels has directly multicast on the access device, and whether copies to the user video terminal, according to the adding of video terminal with leave decision.
Adding the G1 multicast group with video terminal 1 is example, and referring to Fig. 3 and Fig. 4, detailed process is as follows:
Video terminal 1 sends IGMP Report (IGMP asks to add) message, application adds the G1 multicast group, IGMP snooping funtion part detects the IGMP content of message on the user network convergence device, then the flow of having set up G1 at the user network convergence device copies to the list item of terminal place port one, assurance G1 multicast data flow can be duplicated on user's convergence device and be sent on the port one, makes video terminal 1 can receive the multicast data flow of G1;
The message of IGMP Report has arrived access device, and the processing procedure of access device is:
Extract the content information of the multicast channel G1 of user terminal program request from described message, user terminal inserts the port information of access device and the MAC/IP address information MAC1/IP1 of user terminal;
If be this multicast channel of first pass port A program request under access device, then in this multicast channel of the multicast replication table of G1, increase list item about port A, and be the list item increase count value of the port A of increase, count value is 1, otherwise, add 1 on the basis of existing count value, described count value has write down the quantity of the user terminal that inserts under the port A of G1 multicast channel; Also need increase the characteristic value of this user terminal simultaneously in the list item of described port A, i.e. MAC1/IP1 is referring to Fig. 4.
Adding the G1 multicast group with video terminal 2 again is example, and still referring to Fig. 3 and Fig. 4, detailed process is as follows:
Terminal 2 is sent IGMP Report message, application adds same multicast group G1, IGMP snooping funtion part detects the IGMP content of message on the user network convergence device, and the flow of having set up G1 at described user network convergence device copies to the list item of terminal place port 2;
The message of IGMP Report has arrived access device, and the processing procedure of access device is:
The content information of the multicast channel G1 of extraction user terminal program request and the MAC/IP address information MAC2/IP2 of user terminal from described message;
The list item of the port A that increases in the list item about port A of the multicast replication table of G1 increases count value, promptly adds 1 on the basis of existing count value, and described count value has write down the quantity of the user terminal under the port A of G1 multicast channel; Also need in the list item of described port A, increase the characteristic value of this user terminal simultaneously, i.e. MAC2/IP2.
When above-mentioned set up in based on the multicast replication table of port information preserved the characteristic value list item after, the switching of the multicast channel of user terminal just can be adopted more fast, and way has realized, and need not the regulation of agreement for another example like that, receiving that leave message sends query message later on, must wait until and delete corresponding list item in the multicast replication table after the overtime end again.
Among the present invention, user terminal carries out multicast channel switching processing process as shown in Figure 5 and Figure 6, and concrete processing procedure comprises:
Terminal 1 is sent IGMP leave message, multicast channel G1 is left in request, send the IGMPReport message then and add multicast channel G2, IGMP snooping funtion part detects the IGMP content of message on the user network convergence device, the flow with multicast channel G1 in the multicast replication table that the deletion of user network convergence device is preserved copies to the list item of user terminal place port one, increases the list item that the flow of multicast channel G2 is copied to port one;
As shown in Figure 6, the message of described IGMP leave has arrived access device, and the processing procedure of access device specifically comprises:
Step 61: from described leave message, extract the content of multicast group G1 and the characteristic information MAC1/IP1 of user terminal 1;
Step 62: will subtract 1 about the quantitative value of the user terminal of the access under the port A in the multicast replication table list item of multicast G1, obtain to upgrade the quantity of the user terminal that inserts the back, and the characteristic information MAC1/IP1 of deletion user terminal 1;
Step 63: whether the quantity of judging described user terminal is zero, if then execution in step 64, otherwise, execution in step 65;
Step 64: determine under the port A of access device, to no longer include the user terminal of on-demand multicasting group G1, the port A under the multicast group G1 is deleted;
Step 65: determine under the port A of access device, still to exist the user terminal of on-demand multicasting group G1, therefore, do not deal with, promptly keep the list item information under the multicast group G1 about port A;
Processing procedure from step 61 to step 65 as can be seen, the present invention has realized that user terminal leaves the purpose of arbitrary multicast channel fast, guarantees to have only the bandwidth of a multicast data flow to exist on the line at a user terminal.
After the message of IGMP Report has arrived access device, just begun the processing procedure of user terminal 1 adding multicast group G2, the process that described user terminal 1 adds multicast channel G2 is identical with above-mentioned adition process, the last list item that duplicates that has increased port A in multicast channel G2 has write down the quantity of the user terminal of the characteristic information MAC1/IP1 of this user terminal and access in the list item.
Lift an example again, as shown in Figure 5, on the basis of precedent, user terminal 2 also sends the IGMPleave message simultaneously, leaves multicast group G1, sends IGMP Report message simultaneously, add multicast group G3, IGMP snooping funtion part detects the IGMP content of message on the user network convergence device, in unit deletion the flow of multicast group G1 copy to the list item of terminal place port 2, increased the list item that multicast group G3 need copy to port 2;
The message of described IGMP leave has arrived access device, and herein, the processing procedure of access device and above-mentioned steps 61 are basic identical to step 65:
From described leave message, extract the content of multicast group G1 and the characteristic information MAC1/IP1 of user terminal 1; Then, will subtract 1 about the quantitative value of the user terminal of the access under the port A in the multicast replication table list item of multicast G1, and the characteristic information MAC2/IP2 of deletion user terminal 2; Afterwards, judge again whether the quantity of described user terminal is zero, if the port A under the multicast group G1 is deleted; Otherwise, do not deal with.
Equally, the message of IGMP Report has arrived access device, and the processing procedure of the adding that access device is carried out is identical with above-mentioned adition process, has increased the list item that duplicates of port A at last in multicast group G3, and has preserved the characteristic information MAC2/IP2 of user terminal 2.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (10)
1, the quick implementation method of switching of a kind of multicast channel is characterized in that comprising:
When user terminal leaves the multicast channel at current place, the port information that inserts according to described user terminal judges whether this port information under this multicast channel also exists the user terminal of other accesses, if exist, the list item that then keeps this port information correspondence, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
2, the quick implementation method of switching of multicast channel according to claim 1 is characterized in that this method further comprises:
When the new multicast channel of user terminal program request, determine the port information that described user terminal inserts and the characteristic information of user terminal, and under this port information of this multicast channel the characteristic information of the described user terminal of record;
When user terminal leaves the multicast channel at current place, determine the port information of described user terminal access and the characteristic information of user terminal, characteristic information deletion with this user terminal of the record of this port information under this multicast channel, and judge the characteristic information that whether also has other user terminals under this port information of this multicast channel, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
3, the quick implementation method of switching of multicast channel according to claim 1 is characterized in that this method further comprises:
A, when the new multicast channel of user terminal program request, determine the port information that described user terminal inserts, and add up the quantity of the user terminal that passes through this port information access this multicast channel under;
B, when user terminal leaves the multicast channel at current place, determine the port information that described user terminal inserts, the user terminal quantity that this port information under this multicast channel inserts is upgraded, and judge whether this port information under this multicast channel also exists the user terminal that inserts, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of multicast channel.
4, the quick implementation method of switching of multicast channel according to claim 3 is characterized in that described steps A further comprises:
A1, user terminal send the internet control messages agreement IGMP reporting message message that application adds new multicast channel;
After A2, user network convergence device monitored described message, foundation copied to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel;
After A3, access device obtain described message, port information according to described user terminal access access device is set up the list item of corresponding multicast replication table under described multicast channel, and adds up the user terminal quantity that this port information inserts of passing through under this multicast channel.
5, the quick implementation method of switching of multicast channel according to claim 4 is characterized in that described steps A 3 comprises:
After A31, access device obtain described message, obtain the characteristic information of user terminal and the port information of access access device;
A32, under described multicast channel, set up the list item of corresponding multicast replication table, and add up the user terminal quantity of passing through this port information access this multicast channel under according to described characteristic information and port information.
6, the quick implementation method of switching of multicast channel according to claim 5 is characterized in that described steps A 32 further comprises:
A321, judge the list item that whether exists under this multicast channel based on the multicast replication table of described port information, if exist, execution in step A323, otherwise, execution in step A322;
A322, under described multicast channel, set up the list item of corresponding multicast replication table, execution in step A323 according to described port information;
A323, the characteristic information of described user terminal is added in the list item of described multicast replication table, and to the number count of passing through the user terminal that this port information inserts under this multicast channel.
7, the quick implementation method of switching of multicast channel according to claim 4 is characterized in that described step B further comprises:
The igmp leave message message of current place multicast channel is left in the request of sending of B1, user terminal;
After B2, user network convergence device monitored described message, deletion copied to list item on the port that described user terminal inserts the user network convergence device with the multicast data flow of this multicast channel;
After B3, access device obtain described message, obtain the port information that user terminal inserts, with the user terminal quantity renewal that this port information inserts of passing through under this multicast channel, and judge whether this port information under this multicast channel also exists the user terminal that inserts, if exist, then do not deal with, otherwise, the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel.
8, the implementation method of switching fast according to claim 2,5,6 or 7 described multicast channels is characterized in that the characteristic information of described user terminal comprises:
The media access control MAC address information of user terminal or Internet protocol IP address information.
9, the quick implementation method of switching of multicast channel according to claim 7 is characterized in that:
Described step B3 further comprises:
After access device obtains described message, obtain the characteristic information of user terminal and the port information of access access device, and in the multicast replication table, search corresponding list item according to the characteristic information or the described port information of described user terminal;
The characteristic information of described user terminal is deleted from the list item of the multicast replication table of correspondence, and the user terminal quantity of passing through this port information access under this multicast channel is done to subtract 1 handle;
Whether the quantitative value of judging described user terminal is zero, if, then the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel, otherwise, do not deal with.
10, the quick implementation method of switching of multicast channel according to claim 7 is characterized in that described step B3 further comprises:
After access device obtains described message, obtain the port information that user terminal inserts;
Directly the user terminal quantity of passing through this port information access under this multicast channel being done to subtract 1 handles, and whether the quantity of judging described user terminal be zero, if then the list item of this port information correspondence is deleted from the multicast replication table of described multicast channel, otherwise, do not deal with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100695079A CN100502346C (en) | 2004-06-28 | 2004-06-28 | Method for realizing group broadcast channel quick switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100695079A CN100502346C (en) | 2004-06-28 | 2004-06-28 | Method for realizing group broadcast channel quick switching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1716902A CN1716902A (en) | 2006-01-04 |
CN100502346C true CN100502346C (en) | 2009-06-17 |
Family
ID=35822349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100695079A Expired - Lifetime CN100502346C (en) | 2004-06-28 | 2004-06-28 | Method for realizing group broadcast channel quick switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100502346C (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022345B (en) * | 2006-02-14 | 2011-01-26 | 中国移动通信集团公司 | Method for providing group broadcasting based on terminal initiated demand information |
CN101022344B (en) * | 2006-02-14 | 2011-02-09 | 中国移动通信集团公司 | Method for providing group broadcasting for terminal via monitoring information |
CN100450068C (en) * | 2006-07-18 | 2009-01-07 | 杭州华三通信技术有限公司 | Multicast group maintaining method |
CN101145922B (en) * | 2006-09-13 | 2011-06-22 | 中兴通讯股份有限公司 | A system and method for realizing reliable exit of multi-cast terminal |
CN101242340B (en) * | 2007-02-08 | 2011-08-10 | 华为技术有限公司 | A method, device and system for terminal device to switch multicast service |
JP5255048B2 (en) * | 2007-04-06 | 2013-08-07 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Method, system, and computer program for personalizing multimedia programs broadcast over an IP network |
WO2009067875A1 (en) * | 2007-11-01 | 2009-06-04 | Huawei Technologies Co., Ltd. | A multicasting method, system and device |
CN101170510B (en) * | 2007-11-21 | 2011-04-20 | 中兴通讯股份有限公司 | A control method for multicast data forwarding |
CN101931787B (en) * | 2009-06-25 | 2013-06-26 | 华为技术有限公司 | Method, device and system for controlling multicast programs |
CN102843297B (en) * | 2012-08-29 | 2015-08-19 | 上海斐讯数据通信技术有限公司 | The method of router process query message |
CN107566134A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | A kind of multicast packet method for stream processing, apparatus and system |
-
2004
- 2004-06-28 CN CNB2004100695079A patent/CN100502346C/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
CN1716902A (en) | 2006-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100358317C (en) | Community broad band Integrated service network system | |
US11006177B2 (en) | System and method for utilizing a secured service provider memory | |
US20090165067A1 (en) | Device Method and System for Providing a Media Stream | |
US8149859B2 (en) | Method for managing delivery of multicast traffic to devices | |
CN101160858B (en) | Implementing method and an apparatus for enhancing the multicast service manageability | |
EP2334073B1 (en) | Internet protocol multicast content delivery | |
CN100502346C (en) | Method for realizing group broadcast channel quick switching | |
US8677439B2 (en) | Method and system for reducing channel switching delay of an IPTV | |
WO2007058886A2 (en) | Placement of servers in an ip television network | |
CN100496120C (en) | Digital medium channel switching method and system | |
CN100384124C (en) | Method and system for providing LAN access user with network TV service | |
EP2022209A1 (en) | Multicast control | |
CN101521583B (en) | Resource admission control method, system and device | |
CN101197821B (en) | Method for implementing access network multicast in IPTV system | |
JP2010239655A (en) | Method and system for premium channel and pay-per-view (ppv) video resell | |
Lee et al. | Advanced scheme to reduce IPTV channel zapping time | |
CN101166084B (en) | Secure method for preventing multicast user from attacking | |
CN101827036B (en) | Method and device for realizing multicast service configuration of home gateway | |
CN101163002B (en) | Highly effective multicast authenticating method | |
CN101060467B (en) | A multicast user terminal powered-off fault processing method and system | |
CN101170490B (en) | Igmp message transmission method | |
CN100438499C (en) | Group broadcast program repeating processing method and connecting device for multicast repeat | |
CN101114986A (en) | Method for implementing multicast program preview | |
KR101050060B1 (en) | Method and system for transmitting data streams | |
KR100893045B1 (en) | Broadcasting service providing system and method using the point to multi-point connection in ATM network |
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 | ||
CX01 | Expiry of patent term |
Granted publication date: 20090617 |
|
CX01 | Expiry of patent term |