CN104378217A - Method and device for determining multicast group data - Google Patents

Method and device for determining multicast group data Download PDF

Info

Publication number
CN104378217A
CN104378217A CN201410693762.4A CN201410693762A CN104378217A CN 104378217 A CN104378217 A CN 104378217A CN 201410693762 A CN201410693762 A CN 201410693762A CN 104378217 A CN104378217 A CN 104378217A
Authority
CN
China
Prior art keywords
multicast group
group data
subscriber equipment
multicast
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410693762.4A
Other languages
Chinese (zh)
Other versions
CN104378217B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410693762.4A priority Critical patent/CN104378217B/en
Publication of CN104378217A publication Critical patent/CN104378217A/en
Application granted granted Critical
Publication of CN104378217B publication Critical patent/CN104378217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and device for determining multicast group data, and relates to the field of information technology, and by means of the method and device, the utilization rate of multicast traffic can be increased. According to the method, the method for determining the multicast group data is applied to a multicast virtual private network, the multicast virtual private network comprises a rendezvous point (RP), a provider edge (PE) and a user device, the PE corresponds to the user device, the RP communicates with the PE, and the PE communicates with the user device; firstly, a request message sent by the user device is received by the PE, then, the multicast group data required by the user device are determined according to the address of the multicast group data required by the user device, and finally, the RP sends the multicast group data required by the user device to the user device through the PE. The method and device for determining the multicast group data are suitable for the situation that a multicast source sends the multicast data to the user device.

Description

Determine method and the device of multicast group data
Technical field
The present invention relates to areas of information technology, particularly a kind of method and device determining multicast group data.
Background technology
Along with the development of information technology, multicasting virtual private network (English full name: Multicast Virtual PrivateNetwork, english abbreviation: MVPN) realization more and more general, the application of MVPN has reached comparatively universal degree, while multicasting virtual private network is comparatively popularized, utilize the application of multicast transmission data also increasingly extensive, but when utilizing multicast to transmit data, often there is the situation of flux of multicast waste.
At present, a kind of method sending multicast group data, be applied to multicasting virtual private network, this multicasting virtual private network comprises convergent point (English full name: Rendezvous Point, english abbreviation: RP), edge device (English full name: Provider Edge, english abbreviation: PE) and subscriber equipment, when subscriber equipment initiates request msg message to RP, and when subscriber equipment has been linked in multiple multicast group, the data of multiple multicast group that subscriber equipment accesses by RP all send to this subscriber equipment.
But, this subscriber equipment is all sent to by the data of the multiple multicast group accessed by subscriber equipment, during owing to only needing the data of the partaof group received in multiple multicast group when this subscriber equipment, multicast tree (the English full name: Multicast Distribution Tree that RP is corresponding according to subscriber equipment, english abbreviation: MDT) address, the multicast packet of all multicast group is sent to this subscriber equipment.When this subscriber equipment only needs the multicast packet of receiving unit multicast group, RP the data of whole multicast group will send this subscriber equipment to, namely partaof data can send to part not need the subscriber equipment of this multicast packet by RP, thus cause the utilance of flux of multicast lower.
Summary of the invention
The invention provides a kind of method and the device of determining multicast group data, the utilance of flux of multicast can be improved.
The technical solution used in the present invention is:
First aspect, the invention provides a kind of method determining multicast group data, be applied to multicasting virtual private network, described multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, described PE is corresponding with described subscriber equipment, described RP communicates with described PE, and described PE communicates with described subscriber equipment; Described method comprises:
Described RP receives the request message of described subscriber equipment transmission by described PE, carries the address of the multicast group data needed for described subscriber equipment in described request message;
The address of the described multicast group data of described RP needed for described subscriber equipment, determines the multicast group data needed for described subscriber equipment;
Multicast group data needed for described subscriber equipment is sent to described subscriber equipment via described PE by described RP.
Second aspect, the invention provides a kind of device determining multicast group data, be applied to multicasting virtual private network, described multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, described PE is corresponding with described subscriber equipment, described RP communicates with described PE, and described PE communicates with described subscriber equipment; Described device comprises:
First receiving element, in described RP, the request message receiving the transmission of described subscriber equipment by described PE, carries the address of the multicast group data needed for described subscriber equipment in described request message;
Determining unit, in described RP, the address of the described multicast group data needed for the described subscriber equipment that described first receiving element receives, determines the multicast group data needed for described subscriber equipment;
First transmitting element, in described RP, the multicast group data needed for the described subscriber equipment described determining unit determined sends to described subscriber equipment via described PE.
Method and the device determining multicast group data provided by the invention, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, RP and PE communicates, PE carries out communicating RP with subscriber equipment, first the request message of subscriber equipment transmission is received by PE, the address of the multicast group data then needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by last RP.The MDT address corresponding according to subscriber equipment with current RP, this subscriber equipment is sent to compare the multicast packet of all multicast group, the present invention receives the request message of subscriber equipment transmission by RP, can the address of multicast group data needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, and this multicast group data is sent to subscriber equipment, namely the request message that RP can send from subscriber equipment, obtain the address of the multicast group data needed for subscriber equipment, and determine the multicast group data needed for subscriber equipment, and multicast group data is sent to subscriber equipment, thus the utilance of flux of multicast can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in the present invention or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram determining multicast group data in the embodiment of the present invention;
Fig. 2 is the another kind of method flow diagram determining multicast group data in the embodiment of the present invention;
Fig. 3 is the apparatus structure schematic diagram determining multicast group data in the embodiment of the present invention;
Fig. 4 is the another kind of apparatus structure schematic diagram determining multicast group data in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method determining multicast group data, the utilance of flux of multicast can be improved, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, and RP and PE communicates, and PE communicates with subscriber equipment, as shown in Figure 1, described method comprises:
101, RP receives the request message of subscriber equipment transmission by PE.
Wherein, the address of the multicast group data needed for subscriber equipment is carried in request message.
For the embodiment of the present invention, RP is sparse mode Protocol Independent Multicast (English full name: ProtocolIndependent Multicast-Sparse Mode, english abbreviation: PIM-SM) convergent point of multicast in pattern, the sender of multicast and the recipient of multicast converge at RP place.Wherein, each multicast group correspond to corresponding RP.
For the embodiment of the present invention, PE can be provider edge router.
For this case inventive embodiments, first subscriber equipment is sent a request message to PE by Customer Edge router (English full name: Customer Edge, english abbreviation: CE), and then PE sends this request message to RP.In embodiments of the present invention, request message is used for user equipment requests multicast source transmission multicast packet.
It should be noted that to there is multiple router between PE and RP, the plurality of router all receives request message, and sends a request message.
102, the address of the multicast group data of RP needed for subscriber equipment, determines the multicast group data needed for subscriber equipment.
For the embodiment of the present invention, the address of multicast group data may be used for the address that characterizing consumer equipment specifically needs the multicast group data received, and different multicast group has the address of different multicast group data.Such as, subscriber equipment adds 5 multicast group, be respectively multicast group a, multicast group b, multicast group c, multicast group d, multicast group e, and the address of the multicast group data of correspondence is respectively IPv4-1, IPv4-2, IPv4-3, IPv4-4, IPv4-5, if subscriber equipment only needs the multicast group data of receiving group group a, then subscriber equipment only needs the request message sending request multicast group a, and carry the address ip v4-1 of multicast group data, RP is sent to by PE, RP is according to the address ip v4-1 of multicast group data, determine the multicast group data needed for subscriber equipment, for the multicast group data in multicast group a.
For embodiment, first RP configures multicast group mapping table, multicast mapping table can be multicast group data identifier corresponding to the address configuration of the multicast group data of carrying in request message, and record the address of multicast group data, and the corresponding relation between multicast group data identifier, send a request message when RP receives subscriber equipment by PE, and during the address of the multicast group data of carrying in request message, RP can check multicast group mapping table, is request message configuration multicast group data identifier.Wherein, if there is the address of this multicast group data in multicast group mapping table, and the corresponding relation between multicast group data identifier, then for this multicast group address configures already present multicast group data identifier; If there is not the address of this multicast group data in multicast group mapping table, and the corresponding relation between multicast group data identifier, then RP is non-existent multicast group data identifier in this multicast group mapping table of address configuration of this multicast group data, as the multicast group data identifier that the address of this multicast group data is corresponding, and record the corresponding relation between the address of this multicast group data and this multicast group data identifier.
103, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by RP.
For the embodiment of the present invention, when RP receives request message, request message is sent to multicast source by multicast source PE by RP, and multicast source is only the subscriber equipment sent a request message, and sends multicast group data.In embodiments of the present invention, multicast source according to the address of the multicast group data of carrying in request message, for the subscriber equipment sent a request message sends the multicast group data needed for this subscriber equipment.Wherein, the router between multicast source PE and RP all records the address of this multicast group data, or the multicast group data identifier that the address of multicast group data is corresponding.
The method of the determination multicast group data that the embodiment of the present invention provides, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, RP and PE communicates, PE carries out communicating RP with subscriber equipment, first the request message of subscriber equipment transmission is received by PE, the address of the multicast group data then needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by last RP.The MDT address corresponding according to subscriber equipment with current RP, this subscriber equipment is sent to compare the multicast packet of all multicast group, the embodiment of the present invention receives the request message of subscriber equipment transmission by RP, can the address of multicast group data needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, and this multicast group data is sent to subscriber equipment, namely the request message that RP can send from subscriber equipment, obtain the address of the multicast group data needed for subscriber equipment, and determine the multicast group data needed for subscriber equipment, and multicast group data is sent to subscriber equipment, thus the utilance of flux of multicast can be improved.
As illustrating method shown in Fig. 1, the embodiment of the present invention provides another kind to determine the method for multicast group data, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, and PE is corresponding with subscriber equipment, and RP and PE communicates, PE communicates with subscriber equipment, multicasting virtual private network also comprises opposite end PE, and as shown in Figure 2, described method comprises:
201, RP receives the request message of subscriber equipment transmission by PE.
Wherein, the address of the multicast group data needed for subscriber equipment is carried in request message.
For the embodiment of the present invention, RP is sparse mode Protocol Independent Multicast (English full name: ProtocolIndependent Multicast-Sparse Mode, english abbreviation: PIM-SM) convergent point of multicast in pattern, the sender of multicast and recipient converge at RP place.Wherein, each multicast group correspond to corresponding RP.
For the embodiment of the present invention, PE can be provider edge router.
For the embodiment of the present invention, the request message that subscriber equipment sends sends multicast group data for asking corresponding multicast source to this subscriber equipment, if subscriber equipment does not send a request message, then multicast source is that subscriber equipmenies all in this multicast group sends multicast group data, thus make not need the subscriber equipment of this multicast group data to receive this multicast group data, and then cause the waste of multicast group data flow, and increase the number of copies of multicast packet, and add the pressure of PE.
202, the address of the multicast group data of RP needed for subscriber equipment, determines the multicast group data needed for subscriber equipment.
Alternatively, step 202, specifically comprise: the first address of the multicast group data of RP needed for subscriber equipment, and the relation between the address of each multicast group data and each multicast group data identifier, determine the multicast group data identifier needed for subscriber equipment, then RP is according to multicast group data identifier, determines the multicast group data needed for subscriber equipment.
For the embodiment of the present invention, RP can be the address of the multicast group data of carrying in request message, the multicast group data identifier that configuration is corresponding, and records the address of multicast group data, and the corresponding relation between each multicast group data identifier.In embodiments of the present invention, RP, according to the address of the multicast group data of carrying in the request message received, is the address configuration correspondence multicast group data identifier of this multicast group data.Wherein, if there is the address of this multicast group data in RP, and the corresponding relation between multicast group data identifier, then RP is multicast group data identifier corresponding to the address configuration of this multicast group data; If RP does not exist the address of multicast group data, and the corresponding relation between multicast group data identifier, then RP selects new multicast group data identifier, and be the multicast group data identifier that the address configuration of this multicast group data is new, and record the address of this multicast group data, and the corresponding relation between new multicast group data identifier.
Such as, RP exists the address of multicast group data, and the corresponding relation between multicast group data identifier, the address ip v4-1 of multicast group data, IPv4-2, IPv4-3, multicast group data identifier corresponding is respectively 1,2,3, if the address of the multicast group data of carrying in the request message that RP receives is IPv4-2, then RP is the multicast group data identifier of the address configuration of this multicast group data is 3; If the address of the multicast group data of carrying in the request message that RP receives is IPv4-5, then RP is the multicast group data identifier of the address configuration of this multicast group data can be 4, and record the address ip v4-5 of multicast group data, and the corresponding relation between multicast group data identifier 4.
For the embodiment of the present invention, the address of multicast group data is carried in being sent a request message by subscriber equipment, the multicast group data needed for this subscriber equipment can be determined, namely multicast source can according to the address of multicast group data, be only the subscriber equipment needing this multicast group data, send this multicast group data, instead of send this multicast group data to all whole subscriber equipmenies adding this multicast group, thus the waste of multicast traffics can be reduced, and then the utilance of multicast traffics can be improved.
203, RP receives the wrapper that opposite end PE sends.
Wherein, the internal layer of wrapper is encapsulated as generalized routing protocol encapsulation (English full name: Generic RoutingEncapsulation, english abbreviation: GRE), the outer envelope of wrapper is Internet protocol IP v4 encapsulation, IPv4 encapsulation carries multicast group data identifier, and multicast group data identifier is for identifying multicast group data.
For the embodiment of the present invention, GRE is encapsulated as generalized routing protocol encapsulation, for encapsulating the data message of some network layer protocols, can transmit in Internet protocol (English full name: Internet Protocol version 4, english abbreviation: IPv4) network with the data message making these packed.In embodiments of the present invention, after multicast group data only carries out GRE encapsulation, just can carry out IPv4 encapsulation, namely this multicast group data directly cannot carry out IPv4 encapsulation.
For the embodiment of the present invention, IPv4 is encapsulated as Internet protocol encapsulation, after packet carries out IPv4 encapsulation, can transmit to make this packet in IPv4 public network.
For the embodiment of the present invention, multicast source sends multicast group data to multicast source PE, when multicast source PE receives the multicast packet of multicast source transmission, first multicast source PE carries out GRE encapsulation to multicast group data, then IPv4 encapsulation is carried out to multicast group data, form the wrapper of multicast group data, transmit in IPv4 public network to make the wrapper of this multicast group data.
For the embodiment of the present invention, by multicast source PE, GRE encapsulation is carried out to the multicast group data that multicast source sends, and IPv4 encapsulation, can make IPv4 wrapper carries multicast group data identifier, thus can according to multicast group data identifier, determine the address of the multicast group data needing to receive this multicast group data, and send this multicast group data to the subscriber equipment that the address of this multicast group data is corresponding, reduce the flux of multicast sending multicast group data and consume, and then the utilance of multicast traffics can be improved.
When RP receives according to shortest path tree (English full name: Shortest Path Tree, english abbreviation: SPT) after the multicast packet that sends, send stopped registration messages (English full name: Register-Stop Message) by mode of unicast to multicast source, process for registering the multicast source terminates.
204, RP resolves wrapper, obtains multicast group data.
Alternatively, after step 204, can also comprise: first multicast packet is sent to PE by RP, then PE receives the multicast group data that RP sends, and record multicast group data is transferred to PE transmission path by opposite end PE, receive other multicast group data of opposite end PE transmission to make PE according to transmission path.
For the embodiment of the present invention, opposite end PE is multicast source PE, the wrapper that RP receiving group source PE sends, and carries out IPv4 decapsulation, and GRE decapsulation, obtains multicast group data.
205, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by RP.
For the embodiment of the present invention, RP passes through the wrapper received, carry out IPv4 decapsulation, and GRE decapsulation, obtain this multicast group data, and according to the multicast group data identifier that wrapper carries, obtain the address of this multicast group data, thus can according to the address of this multicast group data, the subscriber equipment sending to the address of this multicast group data corresponding this multicast group data.
206, subscriber equipment sends PIM prune message by PE to RP.
Wherein, Protocol Independent Multicast (English full name: Protocol Independent Multicast, english abbreviation: PIM) prune message stops sending a request message for characterizing consumer equipment.
For the embodiment of the present invention, when subscriber equipment does not need multicast packet, subscriber equipment sends multicast from group message or prune message.
For the embodiment of the present invention, when PE receives first wrapper, carry out the switching that shared tree is set to source.Wherein, shared tree is that multicast source has to pass through RP, to the subscriber equipment needing this multicast group data, sends this multicast group data, and source tree, for multicast source is according to shortest path, to the subscriber equipment needing this multicast group data, sends this multicast group data.Wherein, shortest path is that this multicast group data is sent to the shortest path of subscriber equipment by multicast source, and this shortest path both can through RP, also can without RP.
For the embodiment of the present invention, after receiving first wrapper by PE, the exit address of this multicast source can be obtained, and according to the exit address of this multicast source, calculate and the multicast group data needed for subscriber equipment is sent to shortest path between the subscriber equipment needing this multicast group data from multicast source, thus the consumption of flux of multicast can be reduced further, and then the utilance of flux of multicast can be improved further.
The method of the determination multicast group data that the embodiment of the present invention provides, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, RP and PE communicates, PE carries out communicating RP with subscriber equipment, first the request message of subscriber equipment transmission is received by PE, the address of the multicast group data then needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by last RP.The MDT address corresponding according to subscriber equipment with current RP, this subscriber equipment is sent to compare the multicast packet of all multicast group, the embodiment of the present invention receives the request message of subscriber equipment transmission by RP, can the address of multicast group data needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, and this multicast group data is sent to subscriber equipment, namely the request message that RP can send from subscriber equipment, obtain the address of the multicast group data needed for subscriber equipment, and determine the multicast group data needed for subscriber equipment, and multicast group data is sent to subscriber equipment, thus the utilance of flux of multicast can be improved.
Further, the method of the determination multicast group data that the embodiment of the present invention provides, the address of multicast group data is carried in being sent a request message by subscriber equipment, the multicast group data needed for this subscriber equipment can be determined, namely multicast source can according to the address of multicast group data, be only the subscriber equipment needing this multicast group data, send this multicast group data, instead of send this multicast group data to all whole subscriber equipmenies adding this multicast group, thus the waste of multicast traffics can be reduced, and then the utilance of multicast traffics can be improved; For the embodiment of the present invention, by multicast source PE, GRE encapsulation is carried out to the multicast group data that multicast source sends, and IPv4 encapsulation, can make IPv4 wrapper carries multicast group data identifier, thus can according to multicast group data identifier, determine the address of the multicast group data needing to receive this multicast group data, and send this multicast group data to the subscriber equipment that the address of this multicast group data is corresponding, reduce the flux of multicast sending multicast group data and consume, and then the utilance of flux of multicast can be improved; After receiving first wrapper by PE, the exit address of this multicast source can be obtained, and according to the exit address of this multicast source, calculate and the multicast group data needed for subscriber equipment is sent to shortest path between the subscriber equipment needing this multicast group data from multicast source, thus the consumption of flux of multicast can be reduced further, and then the utilance of flux of multicast can be improved further.
As the realization to method shown in Fig. 1 and Fig. 2, the embodiment of the present invention additionally provides a kind of device determining multicast group data, this device can be arranged in multicast virtual net, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, RP and PE communicates, PE communicates with subscriber equipment, multicasting virtual private network also comprises opposite end PE, for improving the utilance of flux of multicast, as shown in Figure 3, described device comprises: the first receiving element 31, determining unit 32, first transmitting element 33.
First receiving element 31, in RP, receives the request message of subscriber equipment transmission by PE.
Wherein, the address of the multicast group data needed for subscriber equipment is carried in request message.
Determining unit 32, in RP, the address of the multicast group data needed for the subscriber equipment that the first receiving element 31 receives, determines the multicast group data needed for subscriber equipment.
First transmitting element 33, in RP, the multicast group data needed for the subscriber equipment determine determining unit 32 sends to subscriber equipment via PE.
First receiving element 31, also for receiving the wrapper that opposite end PE sends.
Wherein, the internal layer of wrapper is encapsulated as generalized routing protocol GRE and encapsulates, and the outer envelope of wrapper is Internet protocol IP v4 encapsulation, and IPv4 encapsulation carries multicast group data identifier, and multicast group data identifier is for identifying multicast group data.
Further, as shown in Figure 4, described device also comprises: resolution unit 41, second receiving element 42, record cell 43, second transmitting element 44.
Resolution unit 41, in RP, resolves the wrapper that the first receiving element 31 receives, obtains multicast group data.
First transmitting element 33, also for multicast packet is sent to PE.
Second receiving element 42, in PE, receives the multicast group data that RP sends.
Record cell 43, in RP, the multicast group data received for recording the second receiving element 42 to be transferred to the transmission path of PE by opposite end PE, receives other multicast group data that opposite end PE sends to make PE according to transmission path.
Second transmitting element 44, in subscriber equipment, sends Protocol Independent Multicast PIM prune message by PE to RP.
Determining unit 32, specifically for the address of the multicast group data needed for subscriber equipment, and the relation between the address of each multicast group data and each multicast group data identifier, determine the multicast group data identifier needed for subscriber equipment.
Determining unit 32, specifically also for according to multicast group data identifier, determines the multicast group data needed for subscriber equipment.
The device of the determination multicast group data that the embodiment of the present invention provides, be applied to multicasting virtual private network, multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, PE is corresponding with subscriber equipment, RP and PE communicates, PE carries out communicating RP with subscriber equipment, first the request message of subscriber equipment transmission is received by PE, the address of the multicast group data then needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, the multicast group data needed for subscriber equipment is sent to subscriber equipment via PE by last RP.The MDT address corresponding according to subscriber equipment with current RP, this subscriber equipment is sent to compare the multicast packet of all multicast group, the embodiment of the present invention receives the request message of subscriber equipment transmission by RP, can the address of multicast group data needed for subscriber equipment, determine the multicast group data needed for subscriber equipment, and this multicast group data is sent to subscriber equipment, namely the request message that RP can send from subscriber equipment, obtain the address of the multicast group data needed for subscriber equipment, and determine the multicast group data needed for subscriber equipment, and multicast group data is sent to subscriber equipment, thus the utilance of flux of multicast can be improved.
Further, the device of the determination multicast group data that the embodiment of the present invention provides, the address of multicast group data is carried in being sent a request message by subscriber equipment, the multicast group data needed for this subscriber equipment can be determined, namely multicast source can according to the address of multicast group data, be only the subscriber equipment needing this multicast group data, send this multicast group data, instead of send this multicast group data to the whole subscriber equipmenies adding this multicast group, thus reduce the waste of multicast traffics, and then the utilance of multicast traffics can be improved; For the embodiment of the present invention, by multicast source PE, GRE encapsulation is carried out to the multicast group data that multicast source sends, and IPv4 encapsulation, can make IPv4 wrapper carries multicast group data identifier, thus can according to multicast group data identifier, determine the address of the multicast group data needing to receive this multicast group data, and send this multicast group data to the subscriber equipment that the address of this multicast group data is corresponding, reduce the flux of multicast sending multicast group data and consume, and then the utilance of flux of multicast can be improved; After receiving first wrapper by PE, the exit address of this multicast source can be obtained, and according to the exit address of this multicast source, calculate and the multicast group data needed for subscriber equipment is sent to shortest path between the subscriber equipment needing this multicast group data from multicast source, thus the consumption of flux of multicast can be reduced further, and then the utilance of flux of multicast can be improved further.
It should be noted that, other the corresponding descriptions in the device of the determination multicast group data provided in the embodiment of the present invention corresponding to each unit, the correspondence in reference diagram 1 and Fig. 2 can describe, do not repeat them here.
The device of the determination multicast group data that the embodiment of the present invention provides can realize the above-mentioned embodiment of the method provided, and concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.The method of the determination multicast group data that the embodiment of the present invention provides and device go for multicast source and send multicast packet to subscriber equipment, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change 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 claim.

Claims (10)

1. determine the method for multicast group data for one kind, be applied to multicasting virtual private network, it is characterized in that, described multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, described PE is corresponding with described subscriber equipment, described RP communicates with described PE, and described PE communicates with described subscriber equipment; Described method comprises:
Described RP receives the request message of described subscriber equipment transmission by described PE, carries the address of the multicast group data needed for described subscriber equipment in described request message;
The address of the described multicast group data of described RP needed for described subscriber equipment, determines the multicast group data needed for described subscriber equipment;
Multicast group data needed for described subscriber equipment is sent to described subscriber equipment via described PE by described RP.
2. the method determining multicast group data according to claim 1, is characterized in that, described multicasting virtual private network also comprises opposite end PE;
Described RP also comprised the multicast group data needed for described subscriber equipment is sent to the step of described subscriber equipment via described PE before:
Described RP receives the wrapper that described opposite end PE sends, the internal layer of described wrapper is encapsulated as generalized routing protocol GRE and encapsulates, the outer envelope of described wrapper is Internet protocol IP v4 encapsulation, described IPv4 encapsulation carries multicast group data identifier, and described multicast group data identifier is for identifying described multicast group data;
Described RP resolves described wrapper, obtains described multicast group data.
3. the method determining multicast group data according to claim 2, is characterized in that, described RP resolves described wrapper, after obtaining the step of described multicast group data, also comprises:
Described multicast packet is sent to described PE by described RP;
Described PE receives the described multicast group data that described RP sends, and records described multicast group data is transferred to described PE transmission path by described opposite end PE, receives other multicast group data of described opposite end PE transmission to make described PE according to described transmission path.
4. the method determining multicast group data according to claim 1, is characterized in that, described RP also comprises after the multicast group data needed for described subscriber equipment is sent to the step of described subscriber equipment:
Described subscriber equipment sends Protocol Independent Multicast PIM prune message by described PE to described RP.
5. the method determining multicast group data according to claim 1, is characterized in that, the address of the multicast group data of described RP needed for described subscriber equipment, determines the step of the multicast group data needed for described subscriber equipment, specifically comprises:
The address of the described multicast group data of described RP needed for described subscriber equipment, and the relation between the address of each multicast group data and each multicast group data identifier, determine the multicast group data identifier needed for described subscriber equipment;
Described RP, according to described multicast group data identifier, determines the described multicast group data needed for described subscriber equipment.
6. determine the device of multicast group data for one kind, be applied to multicasting virtual private network, it is characterized in that, described multicasting virtual private network comprises convergent point RP, edge device PE and subscriber equipment, described PE is corresponding with described subscriber equipment, described RP communicates with described PE, and described PE communicates with described subscriber equipment; Described device comprises:
First receiving element, in described RP, the request message receiving the transmission of described subscriber equipment by described PE, carries the address of the multicast group data needed for described subscriber equipment in described request message;
Determining unit, in described RP, the address of the described multicast group data needed for the described subscriber equipment that described first receiving element receives, determines the multicast group data needed for described subscriber equipment;
First transmitting element, in described RP, the multicast group data needed for the described subscriber equipment described determining unit determined sends to described subscriber equipment via described PE.
7. the device determining multicast group data according to claim 6, is characterized in that, described multicasting virtual private network also comprises opposite end PE;
Described first receiving element, also for receiving the wrapper that described opposite end PE sends, the internal layer of described wrapper is encapsulated as generalized routing protocol GRE and encapsulates, the outer envelope of described wrapper is Internet protocol IP v4 encapsulation, described IPv4 encapsulation carries multicast group data identifier, and described multicast group data identifier is for identifying described multicast group data;
Described device also comprises: resolution unit;
Described resolution unit, in described RP, resolves the described wrapper that described first receiving element receives, obtains described multicast group data.
8. the device determining multicast group data according to claim 7, is characterized in that,
Described first transmitting element, also for described multicast packet is sent to described PE;
Described device also comprises: the second receiving element, record cell;
Described second receiving element, in described PE, receives the described multicast group data that described RP sends;
Described record cell, for in described RP, the described multicast group data received for recording described second receiving element to be transferred to the transmission path of described PE by described opposite end PE, receive other multicast group data that described opposite end PE sends to make described PE according to described transmission path.
9. the device determining multicast group data according to claim 6, is characterized in that, described device also comprises: the second transmitting element;
Described second transmitting element, in described subscriber equipment, sends Protocol Independent Multicast PIM prune message by described PE to described RP.
10. the device determining multicast group data according to claim 6, is characterized in that,
Described determining unit, specifically for the address of the described multicast group data needed for described subscriber equipment, and the relation between the address of each multicast group data and each multicast group data identifier, determine the multicast group data identifier needed for described subscriber equipment;
Described determining unit, specifically also for according to described multicast group data identifier, determines the described multicast group data needed for described subscriber equipment.
CN201410693762.4A 2014-11-26 2014-11-26 Determine the method and device of multicast group data Active CN104378217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410693762.4A CN104378217B (en) 2014-11-26 2014-11-26 Determine the method and device of multicast group data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410693762.4A CN104378217B (en) 2014-11-26 2014-11-26 Determine the method and device of multicast group data

Publications (2)

Publication Number Publication Date
CN104378217A true CN104378217A (en) 2015-02-25
CN104378217B CN104378217B (en) 2018-03-06

Family

ID=52556898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410693762.4A Active CN104378217B (en) 2014-11-26 2014-11-26 Determine the method and device of multicast group data

Country Status (1)

Country Link
CN (1) CN104378217B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547350A (en) * 2017-08-02 2018-01-05 新华三技术有限公司 flow processing method and device
WO2019174552A1 (en) * 2018-03-14 2019-09-19 华为技术有限公司 Multicast route processing method, network device, and route reflector
WO2023109891A1 (en) * 2021-12-17 2023-06-22 华为技术有限公司 Multicast transmission method, apparatus and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905530A (en) * 2006-08-08 2007-01-31 杭州华为三康技术有限公司 Method and system of multicast and video-on-demand
CN101145924A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Method, device and system for SSM multicast
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905530A (en) * 2006-08-08 2007-01-31 杭州华为三康技术有限公司 Method and system of multicast and video-on-demand
CN101145924A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Method, device and system for SSM multicast
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547350A (en) * 2017-08-02 2018-01-05 新华三技术有限公司 flow processing method and device
CN107547350B (en) * 2017-08-02 2020-09-08 新华三技术有限公司 Traffic processing method and device
WO2019174552A1 (en) * 2018-03-14 2019-09-19 华为技术有限公司 Multicast route processing method, network device, and route reflector
WO2023109891A1 (en) * 2021-12-17 2023-06-22 华为技术有限公司 Multicast transmission method, apparatus and system

Also Published As

Publication number Publication date
CN104378217B (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN103795636B (en) Multicast processing method, device and system
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
US7936702B2 (en) Interdomain bi-directional protocol independent multicast
CN102739541B (en) The method, apparatus and system of a kind of routing function startup and transfer of data
CN102273177B (en) Neighbour discovery protocol mediation
WO2018214809A1 (en) Message transmission method and device, and storage medium
CN105871565A (en) Method and device for multicast forwarding
EP2680507B1 (en) Packet forwarding method and system, and relay agent device
JP4248546B2 (en) Apparatus and method for transferring MPLS multicast packet via Ethernet
CN103944867A (en) Dynamic host configuration protocol (DHCP) message processing method, device and system
CN102571375B (en) Multicast forwarding method and device as well as network device
CN108600074A (en) The retransmission method and device of multicast data message
CN102739502B (en) A kind of realize network identity conversion method, Apparatus and system
WO2013107245A1 (en) Method, device and system for implementing multicast in transparent interconnection of lots of links (trill) campus
CN107580079A (en) A kind of message transmitting method and device
CN104954265A (en) Method for sending multicast message and switch
WO2021143279A1 (en) Method and device for segment routing service processing, routing equipment, and storage medium
CN102307144A (en) Dynamic host configuration protocol (DHCP) message forwarding method for transparent interconnection of lots of links (TRILL) network and routing bridge
CN106357542B (en) The method and software defined network controller of multicast service are provided
CN113364660B (en) Data packet processing method and device in LVS load balancing
CN102510414A (en) Host name transfer method and device adopting same
CN103685032B (en) Message forwarding method and network address translation services device
WO2020220459A1 (en) Vxlan and openflow-based method and system for sharing virtual home network
CN102025522A (en) Method for realizing multicast between different IP domains and boundary gateway router
CN102904814B (en) Data transmission method, source PE, object PE and data transmission 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
GR01 Patent grant
GR01 Patent grant