CN102098167A - Multicasting stream forwarding method, device and system - Google Patents

Multicasting stream forwarding method, device and system Download PDF

Info

Publication number
CN102098167A
CN102098167A CN201010611541XA CN201010611541A CN102098167A CN 102098167 A CN102098167 A CN 102098167A CN 201010611541X A CN201010611541X A CN 201010611541XA CN 201010611541 A CN201010611541 A CN 201010611541A CN 102098167 A CN102098167 A CN 102098167A
Authority
CN
China
Prior art keywords
vlan
data flow
gvrp
multicast data
gateway router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010611541XA
Other languages
Chinese (zh)
Other versions
CN102098167B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010611541.XA priority Critical patent/CN102098167B/en
Publication of CN102098167A publication Critical patent/CN102098167A/en
Application granted granted Critical
Publication of CN102098167B publication Critical patent/CN102098167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a multicasting stream forwarding method, device and system. Aiming at the condition that a VC (Video Client) and a video EC (encoder) are in the same network segment, a VM (Video Management) server can establish a channel from the EC to the VC through informing the EC of carrying out a dynamic multicasting VLAN (Virtual Local Area Network) declaration and informing the VC of carrying out a dynamic multicasting VLAN declaration, a multicasting stream can be forwarded to the VC from a multicasting source along the channel, thus unnecessary multicasting flood is avoided, and the occupied bandwidth resources are reduced. Aiming at the condition that the VC and the EC are not in the same network segment, the VM server can establish a channel from the EC to a gateway router and then from the gateway router to the VC through informing the EC of carrying out the dynamic multicasting VLAN declaration and informing the gateway router of carrying out the dynamic multicasting VLAN declaration, the multicasting stream can be forwarded to the VC from the multicasting source, thus unnecessary multicasting flood is avoided and the occupied bandwidth resources are reduced.

Description

A kind of multicast flow forwarding method and equipment thereof and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of multicast flow forwarding method and equipment thereof and system.
Background technology
Along with the network technology and the IP technology of standardization and easily expansion constantly develops, be rapidly developed based on the intelligent monitoring technology of IP and network.The main flow of the present monitoring of IP monitoring having become, and multicast has obtained utilization widely in the IP monitoring.
In part monitoring group broadcasting network, there are big two layers of networking, Fig. 1 shows a kind of typical monitoring networking structure, and wherein, stub area 1 and stub area 2 are two layers of networkings, comprise more Layer 2 switch in two layers of networking; Between each stub area three layers of networking (i.e. central areas among the figure).After having disposed monitoring business, supervision and management center meeting centre zone, also comprise MS (MediaServer in the central area, the exchange of media server), be used for receiving EC (EnCoder, encoder) VC (Video Client, the videoconference client) broadcast of decoding is transmitted and be distributed to the clean culture of Fa Songing/multicast Media Stream with clean culture/multicast mode; Each stub area all can have the EC camera to insert and VC program request person.Wherein, EC is the video encoder that is positioned at front end in the supervisory control system, can with analog video signal according to specified format, specify code check encode, can clean culture or multicast give other client program requests.VC is a monitor client, can carry out the live video monitoring by VC, also can also can formulate storage plan to EC by VC to EC fixed time section playback history video.
If use the multicast monitoring flow, the user needs following deployment: at three-layer network, the egress router and the central area that comprise each stub area, enable PIM (Protocol Independent Multicast, Protocol Independent Multicast) dynamic routing protocol, generally can use PIM-SM (Protocol IndependentMulticast-Sparse Mode, Protocol Independent Multicast-sparse mode); At double layer network, all dispose IGMP snooping (Internet Group Management Protocol Snooping, internet group management protocol snooping) agreement prevents that flux of multicast from flooding in VLAN (Virtual Local Area Network, VLAN).
The inventor finds that there is following problem at least in the multicast data flow retransmission technique in the existing video monitoring system in realizing process of the present invention:
For the switch that has moved IGMP snooping agreement, when it receives multicast packet, transmit to recipient's port except needs, also need to transmit to routed port.Under this environment, will exist bandwidth waste and unnecessary flow to impact.As shown in Figure 2, at one of them stub area, there is the part switch in FHR (first-hop router) front, when video request program person VC and video source EC were below same Layer 2 switch, video flowing also can be transmitted towards the router port direction except to video request program person VC transmits, flow can be flooded to other switch and first-hop router like this, do not having outer network segment user to put sowing time, these flows are unnecessary in fact, and the problem that it caused mainly comprises:
Bandwidth between (1) first jumping switch and first-hop router is by serious waste;
When (2) there was bigger burst (burst) in the monitoring flow, the outlet buffering of switch can be had influence on network delay, packet loss and shake by serious waste;
(3) the unnecessary multicast data flow meeting of forwarding increases energy resource consumption.
Therefore we can say, have a large amount of Layer 2 switch, and video source and recipient be in same double layer network the time, can have the unnecessary multicast phenomenon that floods in the network at the Access Layer of user network.
Summary of the invention
The object of the present invention is to provide a kind of multicast flow forwarding method and equipment thereof and system, to avoid in the existing multicast data flow repeating process the unnecessary multicast phenomenon that floods, for this reason, the present invention adopts following technical scheme:
A kind of multicast flow forwarding method, be applied to include the network of VM, EC, VC, two-layer equipment and three-layer equipment, wherein, the last registration of VM has the gateway router address of EC, enable the IGMPSnopping agreement on the two-layer equipment, and enable the unknown multicast broadcast capability two layers of switching network overall situation, and enable GVRP at two layers of switching network at EC place, this method comprises:
After VM receives the request of VC program request EC multicast data flow, notify described EC to send multicast data flow, described EC uses M-VLAN to send multicast data flow according to described notice, and sends the GVRP logon message to state described M-VLAN;
Described VM judges that whether described VC and described EC are at the same network segment; If the judgment is Yes, then notify described VC to send the GVRP logon message, so that the multicast data flow of described EC arrives described VC through described M-VLAN; If the judgment is No, then be registered to gateway router address among the described VM according to described EC, notice respective gateway router sends the GVRP logon message so that the multicast data flow of described EC arrives described gateway router through described M-VLAN, then through three layers of multicast path by reaching described VC.
In the said method, the port that connects the two-layer equipment of gateway router or VC is set to hybrid interface, and allows all VLAN messages to pass through, wherein, M-VLAN acquiescence for dynamic registration uses the untag mode to pass through, and other interfaces use the Trunk mode to pass through.
In the said method, also comprise:
After described VM receives the request of the video flowing that stops the described EC of program request that described VC sends, if judge that described VC and described EC at the same network segment, then notify described VC use GVRP to nullify described M-VLAN;
If described VM judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
In the said method, also comprise: do not exist other VC to have access to the video flowing of described EC if described VM judges, then notify described EC to use GVRP to nullify described M-VLAN in live telecast.
A kind of VM equipment, be applied to include the network of VM, EC, VC, two-layer equipment and three-layer equipment, wherein, described VM goes up the gateway router address that registration has EC, enable the IGMPSnopping agreement on the two-layer equipment, and enable the unknown multicast broadcast capability two layers of switching network overall situation, and on two layers of switching network at EC place, enabling GVRP, this VM comprises:
Interface module is used to receive the request of the multicast data flow of VC program request EC;
Judge module is used for the described request that receives according to described interface module, judges that whether described VC and described EC are at the same network segment;
Notification module is used for after described interface module receives described request, notifies described EC to send multicast data flow, so that described EC uses M-VLAN to send multicast data flow according to this notice and states described M-VLAN; And, be judged as when being at described judge module, notify described VC to send the GVRP logon message, so that the multicast data flow of described EC arrives described VC through described M-VLAN; When described judge module is judged as not, be registered to gateway router address among this VM according to described EC, notice respective gateway router sends the GVRP logon message, so that the multicast data flow of described EC arrives described gateway router through described M-VLAN, then through three layers of multicast path by reaching described VC.
In the above-mentioned VM equipment, described interface module also is used for, and receives the request of the video flowing that stops the described EC of program request of described VC transmission;
Described judge module also is used for, receive the request of the video flowing that stops the described EC of program request that described VC sends in described interface module after, judge that whether described VC and described EC are at the same network segment, and when being judged as not, judge whether to exist other VC live telecasts to have access to the video flowing of described EC, and judge also when existing that whether described other VC and this EC are at the same network segment being judged as;
Described notification module also is used for, if described judge module is judged described VC and described EC at the same network segment, then notifies described VC to use GVRP to nullify described M-VLAN; If described judge module judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
In the above-mentioned VM equipment, described notification module also is used for, and judges at described judge module not exist other VC when the video flowing of described EC is had access in live telecast, notifies described EC to use GVRP to nullify described M-VLAN.
A kind of video monitoring system comprises VM, EC, VC, two-layer equipment and three-layer equipment, wherein:
The last registration of VM has the gateway router address of EC, and described VM is used for after the request that receives VC program request EC multicast data flow, notifies described EC to send multicast data flow; And, judge that whether described VC and described EC are at the same network segment; If the judgment is Yes, then notify described VC statement to send the GVRP logon message; If the judgment is No, then be registered to gateway router address among the described VM according to described EC, notice respective gateway router sends the GVRP logon message;
Described EC is used for the notice according to described transmission multicast data flow, uses M-VLAN to send multicast data flow, and states described M-VLAN;
Described VC is used for the notice according to described statement adding M-VLAN, and described M-VLAN is dynamically stated;
Described gateway router is used for the notice according to described statement adding M-VLAN, uses the described M-VLAN of GVRP message statement registration;
Enable IGMP Snopping agreement on the described two-layer equipment, and enable the unknown multicast broadcast capability, on the two-layer equipment that connects EC, enable GVRP; Described two-layer equipment is used for transmitting according to described M-VLAN the multicast data flow of described EC;
Described three-layer equipment is used to use three layers of Routing Protocol to transmit the multicast data flow of described EC.
In the above-mentioned video monitoring system, described EC specifically is used for, and after receiving the statement of described EC to described M-VLAN, the port that receives this statement inbound port of multicast data flow on this two-layer equipment as described EC is joined in the described M-VLAN; After receiving the statement of described VC, the port that receives this statement outbound port of multicast data flow on this two-layer equipment as described EC joined in the described M-VLAN described M-VLAN; Receiving after described gateway router registers the statement of described M-VLAN, the port that receives this statement outbound port of multicast data flow on this two-layer equipment as described EC joined in the described M-VLAN.
In the above-mentioned video monitoring system, the port that connects the two-layer equipment of gateway router or VC is set to hybrid interface, and allows all VLAN messages to pass through, wherein, M-VLAN acquiescence for dynamic registration uses the untag mode to pass through, and other interfaces use the Trunk mode to pass through.
In the above-mentioned video monitoring system, described VM also is used for, and after the request of the video flowing that stops the described EC of program request that receives described VC transmission, if judge described VC and described EC at the same network segment, then notifies described VC to use GVRP to nullify described M-VLAN; If described VM judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
In the above-mentioned video monitoring system, described VM also is used for, and does not exist other VC to have access to the video flowing of described EC in live telecast if described VM judges, then notifies described EC to use GVRP to nullify described M-VLAN.
Useful technique effect of the present invention comprises:
At VC and EC situation at the same network segment, VM carries out dynamic multicast VLAN statement by notice EC and notice VC carries out dynamic multicast VLAN statement, can set up the passage from EC to VC, multicast data flow can be forwarded to VC from multicast source along this passage, compared with prior art, avoid unnecessary multicast to flood, reduced taking of bandwidth resources.At VC and EC not in the situation of the same network segment, VM carries out dynamic multicast VLAN statement by notice EC and the notification gateway router carries out dynamic multicast VLAN statement, can set up from EC to the gateway router, passage from the gateway router to VC again, multicast data flow can be forwarded to VC from multicast source along this passage, compared with prior art, avoid unnecessary multicast to flood, reduced taking of bandwidth resources.
Description of drawings
Fig. 1 is the common group web frame schematic diagram of the IP video surveillance network of prior art;
Fig. 2 is the schematic diagram of stub area multicast groups in the networking structure shown in Figure 1;
The networking structure schematic diagram that Fig. 3 provides for the embodiment of the invention;
Program request person VC that Fig. 4 A, Fig. 4 B and Fig. 4 C provide for the embodiment of the invention and multicast source the EC not multicast data flow when the same network segment transmit schematic diagram;
Program request person VC that Fig. 5 A, Fig. 5 B and Fig. 5 C provide for the embodiment of the invention and the multicast source EC multicast data flow forwarding process schematic diagram when the same network segment;
The schematic flow sheet that stops program request that Fig. 6 provides for the embodiment of the invention;
The structural representation of the video management server that Fig. 7 provides for the embodiment of the invention.
Embodiment
Unnecessary multicast in existing multicast data flow repeating process floods, and the embodiment of the invention provides a kind of use GVRP (GARP VLAN Registration Protocol, GARP VLAN log-in protocol) to carry out the dynamic vlan process registration.Wherein, GARP is the abbreviation of Generic Attribute RegistrationProtocol, i.e. Generic Attribute Registration Protocol can be used for propagation property, and GVRP is used for registration and unregistration VLAN attribute.
In general, the embodiment of the invention is at first enabled the GVRP function in two layers of switching network, dispose M-VLAN on EC, and EC is registered to its gateway router IP address information on the VM when VM registers; When VC user's order video flowed, VM notice EC used M-VLAN to send multicast data flow, and EC sends assert packet and carries out the M-VLAN registration when sending multicast data flow.If program request person VC and multicast source EC are at the same network segment, then VM can notify VC to send the GVRP statement, adds this M-VLAN with statement, and flux of multicast can arrive program request person VC through this M-VLAN like this; If program request person VC and multicast source EC be not at the same network segment, then VM can notify the gateway router of EC to send the GVRP statement, add this M-VLAN with statement, flux of multicast can be through this M-VLAN arrival first-hop router like this, then through three layers of multicast path by reaching program request person VC.
Be example with networking structure shown in Figure 3 below, the embodiment of the invention is described in detail.
As shown in Figure 3, at FHR (first-hop router) front end 1 or a plurality of access Layer 2 switch are arranged, switch1 and switch2 wherein, are connected with EC on the port port10 of switch1 as shown in Figure 3.VC A and EC be not at the same network segment, and VC B and EC are at the same network segment.
Under initial environment, carry out following configuration and regulation:
(1) the existing three layers of multicast routing protocol of operation between FHR and other the router (as the Router2 among Fig. 3), such as PIM SM (Protocol Independent Multicast-Sparse Mode, Protocol Independent Multicast-sparse mode), can certainly be other Routing Protocols;
(2) double layer network all disposes IGMP snooping agreement;
(3) overall situation is enabled the unknown multicast broadcast capability on the Layer 2 switch, in the VLAN of static configuration, enable the unknown multicast discard, the unknown multicast packets that receives for dynamic vlan can forward by other interfaces in this VLAN like this, can be dropped for the unknown multicast packets of receiving in the static VLAN;
(4) carry the gateway router IP address of this equipment, the IP address mask of this equipment in the message that EC registers on VM;
(5) VC during Login Register, need carry the IP address and the mask of this equipment on VM;
(6) enable the GVRP function in the switching network of connection EC;
(7) in advance on VM for there being the flood EC channel arrangement M-VLAN of network of multicast.EC is when registration, and VM can be handed down to EC with this M-VLAN.When the user passed through this EC passage of place VC program request, EC used M-VLAN to send multicast data flow.If be the EC of the non-network that floods, then can not need to dispose M-VLAN on the VM, and be to use the current mechanism operation to get final product.
Further, the interface that connects router or VC in the switching network is set to the Hybrid mouth, and allows all VLAN to pass through, and uses the mode of untag to pass through for the VLAN acquiescence of dynamic registration, and other total interface uses the Trunk mode to pass through.
Below in conjunction with Fig. 4 A, Fig. 4 B and Fig. 4 C to program request person VC and multicast source EC not the multicast data flow forwarding process when the same network segment be described.
Shown in Fig. 4 A, this flow process can comprise:
Step 401, VC A sends request to VM, with the video flowing of request program request EC, carries IP address and the mask (being expressed as IP address/mask) thereof of VC A in this request.
Step 402, after VM received this request, notice EC sent multicast data flow.
After EC is notified, by disposing M-VLAN thereon, therefore EC can send multicast data flow with this M-VLAN, EC also uses the GVRP message that this VLAN is stated dynamically, receive the two-layer equipment of this statement, the port that receives this statement is joined in the described M-VLAN as the inbound port of this multicast data flow on this two-layer equipment.After statement was finished, shown in Fig. 4 B, layer 2-switched part interface (as the port10 of the switch1 among Fig. 4 B, the port20 of switch2) joined in this dynamic vlan.But multicast data flow can't be transmitted on other interface, because have only an incoming interface to add this VLAN (as the port10 of the switch1 among Fig. 4 B) on the direct-connected switch, does not have outgoing interface in the VLAN.
Step 403, after VM receives this request, also according to IP address/mask of the IP address/mask of VC A and EC judge VC user whether with EC at the same network segment, if, then change step 404 over to not at the same network segment; Otherwise change the step 504 of flow process shown in Fig. 5 A over to.In the present embodiment, judged result is not for being the same network segment.
Wherein, EC is when VM registers, and with its IP address/mask, and the gateway router of this EC (i.e. FHR among the figure) IP address registration is to VM, and VM can be stored in the IP address/mask of EC and the gateway ip address of this EC in the database.
Step 404, VM obtains the gateway router IP address of this EC from database, and use SNMP (Simple Network Management Protocol, Simple Network Management Protocol) this gateway router of message notifying uses this M-VLAN of GVRP statement registration, and the multicast data flow of EC sends to VC A by this M-VLAN.
Receive the two-layer equipment of this gateway router statement, the port that receives this statement outbound port of multicast data flow on this two-layer equipment as described EC joined in the described M-VLAN.After succeeding in registration, shown in Fig. 4 C, after the port port21 of switch2 and the port port12 of switch1 receive the assert packet of gateway router, port21 and port12 are joined in the M-VLAN as the outgoing interface of multicast data flow, just set up the tunnel of a M-VLAN between like this from EC to FHR.After the multicast data flow of EC arrives direct-connected switch switch1, can be owing to the unknown multicast broadcast capability, interfaces all in M-VLAN are broadcasted, like this, multicast data flow can arrive FHR through this VLAN tunnel, and after FHR received multicast data flow, three layers multicast protocol of its operation of process was forwarded to VC A.
Wherein, on the outgoing interface of the switch of direct-connected FHR (as the port21 of the switch2 among the figure), multicast message can be peeled off the tag of M-VLAN because the untag function of hybrid interface, allow message send to FHR, thereby make FHR can normally receive this multicast message in the mode of untag.
Need to prove that in the above-mentioned flow process, VM notice EC sends multicast data flow, judge that with VM VC and EC are whether in the same network segment and the subsequent treatment of carrying out according to judged result, not strict demand on sequential.
From above flow process as can be seen, at program request person VC and multicast source EC not under the situation at the same network segment, VM carries out dynamic multicast VLAN statement by notice EC, can receive on the two-layer equipment of this statement, this multicast data flow inbound port is joined in the M-VLAN, carry out the dynamic multicast statement by the notification gateway router, can receive on the two-layer equipment of this statement, this multicast data flow outbound port is linked in the M-VLAN, thereby set up from multicast source EC to gateway router, the passage of VC from gateway router to program request person again, multicast data flow can be forwarded to program request person VC along this passage from multicast source, compared with prior art, avoid unnecessary multicast to flood, reduced taking of bandwidth resources.
Below in conjunction with Fig. 5 A and Fig. 5 B and Fig. 5 C program request person VC and the multicast source EC multicast data flow forwarding process when the same network segment is described.
Shown in Fig. 5 A, this flow process can comprise:
Step 501, VC B sends request to VM, with the video flowing of request program request EC, carries IP address and the mask (being expressed as IP address/mask) thereof of VC A in this request.
Step 502, after VM received this request, notice EC sent multicast data flow.
After EC is notified, by disposing M-VLAN thereon, therefore EC can send multicast data flow with M-VLAN, EC also uses the GVRP message that this VLAN is stated dynamically, receive the two-layer equipment of this statement, the port that receives this statement is joined in the described M-VLAN as the inbound port of this multicast data flow on this two-layer equipment.After statement was finished, shown in Fig. 5 B, layer 2-switched part interface (as the port10 of the switch1 among Fig. 5 B, the port20 of switch2) joined in this dynamic vlan.But multicast data flow can't be transmitted on other interface, because direct-connected switch has only an interface to add this VLAN (as the port10 of the switch1 among Fig. 5 B).
Step 503, after VM receives this request, also according to IP address/mask of the IP address/mask of VC B and EC judge VC user whether with EC at the same network segment, if at the same network segment, then change step 504 over to; Otherwise change the step 404 of flow process shown in Fig. 4 A over to.In the present embodiment, judged result is at the same network segment.
Wherein, EC is when VM registers, and with its IP address/mask, and the gateway router IP address registration of this EC is to VM.
Step 504, VM notice VC B uses GVRP this M-VLAN to be stated dynamically the multicast data flow of EC sends to VC B by this M-VLAN.
Receive the two-layer equipment of VC B statement, the port that receives this statement is joined in the described M-VLAN as the outbound port of this multicast data flow on this two-layer equipment.After statement was finished, the outgoing interface dynamic registration of switch was in VLAN.Shown in Fig. 5 C, after the port port11 of switch1 receives the assert packet of VC B, port11 is joined in the M-VLAN as the outgoing interface of multicast data flow, like this from EC to the tunnel of just having set up a M-VLAN the VC B.The multicast data flow of EC is forwarded to VC B in this M-VLAN, and can not forward on other the switch.
Wherein, on the outgoing interface of the switch of direct-connected VC B (as the port11 of the switch1 among the figure), multicast message can be peeled off the tag of M-VLAN because the untag function of hybrid interface, allow message send to VC B, thereby make VC B can normally receive this multicast message in the mode of untag.
Need to prove that in the above-mentioned flow process, VM notice EC sends multicast data flow, judge that with VM VC and EC are whether in the same network segment and the subsequent treatment of carrying out according to judged result, not strict demand on sequential.
From above flow process as can be seen, at program request person VC and multicast source EC under the situation at the same network segment, VM carries out dynamic multicast VLAN statement by notice EC, can receive on the two-layer equipment of this statement, this multicast data flow inbound port is joined in the M-VLAN, carry out the dynamic multicast statement by notice program request person VC, can receive on the two-layer equipment of this statement, this multicast data flow outbound port is linked in the M-VLAN, thereby set up the passage from multicast source EC to program request person VC, multicast data flow can be forwarded to program request person VC along this passage from multicast source, compared with prior art, avoid unnecessary multicast to flood, reduced taking of bandwidth resources.
When program request person VC request halt video flowing, need take into account the cancellation of action attitude VLAN, also need simultaneously to consider whether to exist other user using this dynamic vlan.Concrete, this flow process can comprise as shown in Figure 6:
Step 601, program request person VC sends request to VM, stops the video flowing of program request EC with request, carries IP address and the mask (being expressed as IP address/mask) thereof of this VC in this request.
Step 602, after VM receives this request, do as judge, and carry out respective handling according to judged result:
Step 603A, VM judges this VC and EC at the same network segment according to IP address/mask of this VC and IP address/mask of EC, then notifies this VC to use GVRP to nullify this dynamic M-VLAN; If be judged as not at the same network segment then do not need to notify VC;
Step 603B, VM judges that according to IP address/mask of this VC and IP address/mask of EC this VC and EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of this EC (promptly having asked the video flowing of this EC), then notify the gateway router of EC to use GVRP to nullify this dynamic M-VLAN; Other situations do not need the notification gateway router;
Step 603C, VM judges that according to IP address/mask of this VC and IP address/mask of EC this VC and EC be not at the same network segment, have access to the video flowing of this EC though there are other VC live telecasts, but this every other VC all with EC at the same network segment, then notify the gateway router of EC to use GVRP to nullify this dynamic M-VLAN; Other situations do not need the notification gateway router.
Further, if there is no other VC has access to the video flowing of this EC in live telecast, also need to notify EC to use GVRP to nullify this M-VLAN, other situations (when existing other VC live telecasts to have access to the video flowing of this EC) do not notify the gateway router of this EC to use GVRP to nullify this dynamic M-VLAN.
Based on identical technical conceive, the embodiment of the invention also provides a kind of video management server that can be applicable to above-mentioned networking structure and flow process.
Referring to Fig. 7, the structural representation of the video management server (VM) that provides for the embodiment of the invention.This VM goes up the gateway router address that registration has EC, and this VM can comprise:
Interface module 701 is used to receive the request of the multicast data flow of VC program request EC;
Judge module 702 is used for the described request that receives according to interface module 701, judges that whether described VC and described EC are at the same network segment;
Notification module 703 is used for after interface module 701 receives described request, notifies described EC to send multicast data flow, so that described EC uses M-VLAN to send multicast data flow according to this notice and states described M-VLAN; And, be judged as when being at judge module 702, notify described VC to send the GVRP logon message, so that the multicast data flow of described EC arrives described VC through described M-VLAN; When judge module 702 is judged as not, be registered to gateway router address among this VM according to described EC, notice respective gateway router sends the GVRP logon message, so that the multicast data flow of described EC arrives this gateway router (being first-hop router) through described M-VLAN, then through three layers of multicast path by reaching described VC.
In the above-mentioned VM equipment, interface module 701 also can receive the request of the video flowing that stops the described EC of program request of described VC transmission; Accordingly, judge module 702 also can be after interface module 701 receives the request of the video flowing that stops the described EC of program request that described VC sends, judge that whether described VC and described EC are at the same network segment, and when being judged as not, judge whether to exist other VC live telecasts to have access to the video flowing of described EC, and judge also when existing that whether described other VC and this EC are at the same network segment being judged as; Notification module 703 also is used for: if judge module 702 is judged described VC and described EC at the same network segment, then notify described VC to use GVRP to nullify described M-VLAN; If judge module 702 judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.Further, notification module 703 also can not exist other VC when the video flowing of described EC is had access in live telecast in judge module 702 judgements, notifies described EC to use GVRP to nullify described M-VLAN.
In the above-mentioned VM equipment, described VM goes up IP address and the mask thereof that registration has the gateway router of EC, carries IP address and the mask thereof of this VC in the request of described VC program request EC multicast data flow; Accordingly, judge module 702 can be according to IP address and the mask thereof of described VC, and the IP address and the mask thereof of the gateway router of EC, judges that whether described VC and described EC are at the same network segment.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (12)

1. multicast flow forwarding method, it is characterized in that, be applied to include the network of video management server VM, video encoder EC, videoconference client VC, two-layer equipment and three-layer equipment, wherein, the last registration of VM has the gateway router address of EC, enable internet group management protocol snooping IGMPSnopping agreement on the two-layer equipment, and enable the unknown multicast broadcast capability two layers of switching network overall situation, two layers of switching network at the EC place are enabled VLAN Generic Attribute Registration Protocol GVRP, and this method comprises:
After VM receives the request of VC program request EC multicast data flow, notify described EC to send multicast data flow, described EC uses M-VLAN to send multicast data flow according to described notice, and sends the GVRP logon message to state described M-VLAN;
Described VM judges that whether described VC and described EC are at the same network segment; If the judgment is Yes, then notify described VC to send the GVRP logon message, so that the multicast data flow of described EC arrives described VC through described M-VLAN; If the judgment is No, then be registered to gateway router address among the described VM according to described EC, notice respective gateway router sends the GVRP logon message so that the multicast data flow of described EC arrives described gateway router through described M-VLAN, then through three layers of multicast path by reaching described VC.
2. the method for claim 1, it is characterized in that, the port that connects the two-layer equipment of gateway router or VC is set to hybrid interface, and allow all VLAN messages to pass through, wherein, M-VLAN acquiescence for dynamic registration uses the untag mode to pass through, and other interfaces use the Trunk mode to pass through.
3. the method for claim 1 is characterized in that, also comprises:
After described VM receives the request of the video flowing that stops the described EC of program request that described VC sends, if judge that described VC and described EC at the same network segment, then notify described VC use GVRP to nullify described M-VLAN;
If described VM judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
4. method as claimed in claim 3 is characterized in that, also comprises: do not exist other VC to have access to the video flowing of described EC in live telecast if described VM judges, then notify described EC to use GVRP to nullify described M-VLAN.
5. VM equipment, be applied to include the network of VM, EC, VC, two-layer equipment and three-layer equipment, wherein, described VM goes up the gateway router address that registration has EC, enable the IGMPSnopping agreement on the two-layer equipment, and enable the unknown multicast broadcast capability two layers of switching network overall situation, and on two layers of switching network at EC place, enabling GVRP, this VM comprises:
Interface module is used to receive the request of the multicast data flow of VC program request EC;
Judge module is used for the described request that receives according to described interface module, judges that whether described VC and described EC are at the same network segment;
Notification module is used for after described interface module receives described request, notifies described EC to send multicast data flow, so that described EC uses M-VLAN to send multicast data flow according to this notice and states described M-VLAN; And, be judged as when being at described judge module, notify described VC to send the GVRP logon message, so that the multicast data flow of described EC arrives described VC through described M-VLAN; When described judge module is judged as not, be registered to gateway router address among this VM according to described EC, notice respective gateway router sends the GVRP logon message, so that the multicast data flow of described EC arrives described gateway router through described M-VLAN, then through three layers of multicast path by reaching described VC.
6. VM equipment as claimed in claim 5 is characterized in that,
Described interface module also is used for, and receives the request of the video flowing that stops the described EC of program request of described VC transmission;
Described judge module also is used for, receive the request of the video flowing that stops the described EC of program request that described VC sends in described interface module after, judge that whether described VC and described EC are at the same network segment, and when being judged as not, judge whether to exist other VC live telecasts to have access to the video flowing of described EC, and judge also when existing that whether described other VC and this EC are at the same network segment being judged as;
Described notification module also is used for, if described judge module is judged described VC and described EC at the same network segment, then notifies described VC to use GVRP to nullify described M-VLAN; If described judge module judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
7. VM equipment as claimed in claim 6 is characterized in that described notification module also is used for, and judges at described judge module not exist other VC when the video flowing of described EC is had access in live telecast, notifies described EC to use GVRP to nullify described M-VLAN.
8. a video monitoring system is characterized in that, comprises VM, EC, VC, two-layer equipment and three-layer equipment, wherein:
The last registration of VM has the gateway router address of EC, and described VM is used for after the request that receives VC program request EC multicast data flow, notifies described EC to send multicast data flow; And, judge that whether described VC and described EC are at the same network segment; If the judgment is Yes, then notify described VC statement to send the GVRP logon message; If the judgment is No, then be registered to gateway router address among the described VM according to described EC, notice respective gateway router sends the GVRP logon message;
Described EC is used for the notice according to described transmission multicast data flow, uses M-VLAN to send multicast data flow, and states described M-VLAN;
Described VC is used for the notice according to described statement adding M-VLAN, and described M-VLAN is dynamically stated;
Described gateway router is used for the notice according to described statement adding M-VLAN, uses the described M-VLAN of GVRP message statement registration;
Enable IGMP Snopping agreement on the described two-layer equipment, and enable the unknown multicast broadcast capability, on the two-layer equipment that connects EC, enable GVRP; Described two-layer equipment is used for transmitting according to described M-VLAN the multicast data flow of described EC;
Described three-layer equipment is used to use three layers of Routing Protocol to transmit the multicast data flow of described EC.
9. video monitoring system as claimed in claim 8, it is characterized in that, described EC specifically is used for, and after receiving the statement of described EC to described M-VLAN, the port that receives this statement inbound port of multicast data flow on this two-layer equipment as described EC is joined in the described M-VLAN; After receiving the statement of described VC, the port that receives this statement outbound port of multicast data flow on this two-layer equipment as described EC joined in the described M-VLAN described M-VLAN; Receiving after described gateway router registers the statement of described M-VLAN, the port that receives this statement outbound port of multicast data flow on this two-layer equipment as described EC joined in the described M-VLAN.
10. video monitoring system as claimed in claim 8, it is characterized in that, the port that connects the two-layer equipment of gateway router or VC is set to hybrid interface, and allow all VLAN messages to pass through, wherein, M-VLAN acquiescence for dynamic registration uses the untag mode to pass through, and other interfaces use the Trunk mode to pass through.
11. video monitoring system as claimed in claim 8, it is characterized in that described VM also is used for, after the request of the video flowing that stops the described EC of program request that receives described VC transmission, if judge described VC and described EC, then notify described VC to use GVRP to nullify described M-VLAN at the same network segment; If described VM judges that described VC and described EC be not at the same network segment, and do not exist other VC live telecasts to have access to the video flowing of described EC, perhaps, have access to the video flowing of described EC though there are other VC live telecasts, but this every other VC all with this EC at the same network segment, then notify the gateway router of described EC to use GVRP to nullify described M-VLAN.
12. video monitoring system as claimed in claim 11, described VM also is used for, and does not exist other VC to have access to the video flowing of described EC in live telecast if described VM judges, then notifies described EC to use GVRP to nullify described M-VLAN.
CN201010611541.XA 2010-12-29 2010-12-29 Multicasting stream forwarding method, device and system Active CN102098167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010611541.XA CN102098167B (en) 2010-12-29 2010-12-29 Multicasting stream forwarding method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010611541.XA CN102098167B (en) 2010-12-29 2010-12-29 Multicasting stream forwarding method, device and system

Publications (2)

Publication Number Publication Date
CN102098167A true CN102098167A (en) 2011-06-15
CN102098167B CN102098167B (en) 2013-12-25

Family

ID=44131045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010611541.XA Active CN102098167B (en) 2010-12-29 2010-12-29 Multicasting stream forwarding method, device and system

Country Status (1)

Country Link
CN (1) CN102098167B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347895A (en) * 2011-06-21 2012-02-08 杭州华三通信技术有限公司 Method and equipment for transmitting monitoring data
CN102710801A (en) * 2012-05-03 2012-10-03 浙江宇视科技有限公司 Method and device for processing live video stream on demand
CN102946525A (en) * 2012-11-20 2013-02-27 浙江宇视科技有限公司 Multicast service management device and forwarding device
CN105656780A (en) * 2016-03-17 2016-06-08 北京星网锐捷网络技术有限公司 Data message forwarding method and device
CN106358086A (en) * 2016-10-13 2017-01-25 内蒙古工业大学 Online video-on-demand service dynamic request routing method
CN107231567A (en) * 2016-03-25 2017-10-03 华为技术有限公司 A kind of message transmitting method, apparatus and system
CN107852335A (en) * 2015-08-31 2018-03-27 华为技术有限公司 The redirection of service or device discovery messages in software defined network
CN104144125B (en) * 2013-05-10 2018-11-20 华为技术有限公司 A kind of method, the network equipment and router filtering multicast packet
CN110048925A (en) * 2018-01-15 2019-07-23 厦门靠谱云股份有限公司 A kind of IaaS OverLay control Planar realization method based on open source EVPN
CN114465942A (en) * 2021-12-24 2022-05-10 天翼云科技有限公司 Forwarding method and system for simultaneously supporting two-layer multicast traffic and three-layer multicast traffic

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556541B1 (en) * 1999-01-11 2003-04-29 Hewlett-Packard Development Company, L.P. MAC address learning and propagation in load balancing switch protocols
CN101098252A (en) * 2006-06-29 2008-01-02 阿尔卡特公司 Legal monitor of IP network
CN201303339Y (en) * 2008-09-19 2009-09-02 北京众和容智电子科技有限公司 Remote network data acquisition monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556541B1 (en) * 1999-01-11 2003-04-29 Hewlett-Packard Development Company, L.P. MAC address learning and propagation in load balancing switch protocols
CN101098252A (en) * 2006-06-29 2008-01-02 阿尔卡特公司 Legal monitor of IP network
CN201303339Y (en) * 2008-09-19 2009-09-02 北京众和容智电子科技有限公司 Remote network data acquisition monitoring system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347895B (en) * 2011-06-21 2014-12-24 浙江宇视科技有限公司 Method and equipment for transmitting monitoring data
CN102347895A (en) * 2011-06-21 2012-02-08 杭州华三通信技术有限公司 Method and equipment for transmitting monitoring data
CN102710801A (en) * 2012-05-03 2012-10-03 浙江宇视科技有限公司 Method and device for processing live video stream on demand
CN102710801B (en) * 2012-05-03 2015-01-07 浙江宇视科技有限公司 Method and device for processing live video stream on demand
CN102946525A (en) * 2012-11-20 2013-02-27 浙江宇视科技有限公司 Multicast service management device and forwarding device
CN102946525B (en) * 2012-11-20 2015-06-10 浙江宇视科技有限公司 Multicast service management device and forwarding device
CN104144125B (en) * 2013-05-10 2018-11-20 华为技术有限公司 A kind of method, the network equipment and router filtering multicast packet
CN107852335A (en) * 2015-08-31 2018-03-27 华为技术有限公司 The redirection of service or device discovery messages in software defined network
CN105656780A (en) * 2016-03-17 2016-06-08 北京星网锐捷网络技术有限公司 Data message forwarding method and device
CN107231567A (en) * 2016-03-25 2017-10-03 华为技术有限公司 A kind of message transmitting method, apparatus and system
CN107231567B (en) * 2016-03-25 2020-10-23 华为技术有限公司 Message transmission method, device and system
CN106358086A (en) * 2016-10-13 2017-01-25 内蒙古工业大学 Online video-on-demand service dynamic request routing method
CN106358086B (en) * 2016-10-13 2019-09-27 内蒙古工业大学 A kind of dynamic requests method for routing of Online Video order program service
CN110048925A (en) * 2018-01-15 2019-07-23 厦门靠谱云股份有限公司 A kind of IaaS OverLay control Planar realization method based on open source EVPN
CN110048925B (en) * 2018-01-15 2021-07-06 厦门靠谱云股份有限公司 IaaS OverLay control plane implementation method based on open source EVPN
CN114465942A (en) * 2021-12-24 2022-05-10 天翼云科技有限公司 Forwarding method and system for simultaneously supporting two-layer multicast traffic and three-layer multicast traffic

Also Published As

Publication number Publication date
CN102098167B (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN102098167B (en) Multicasting stream forwarding method, device and system
US7570635B2 (en) Multicast network unit, multicast network system, and multicast method
CN102035729B (en) Multicast data forwarding method
CN102075422B (en) Multicast management method and two-layer equipment
CN101291240B (en) Multicast flow transmission method and system
US20090213855A1 (en) Method and switch for implementing internet group management protocol snooping
CN101119311B (en) Method and device for controlling multicast data flow
CN102598586A (en) Method and devices for dealing multicast
KR20110027683A (en) Methods for obtaining terminal multicast status
CN101262412B (en) A method and its access device for multicast recovery with minimal delay
CN104579981B (en) A kind of multicast data packet forwarding method and apparatus
CN1996956A (en) L3 network device and method for multi-cast cross-VLAN forwarding
CN110690989A (en) Service data transmission method, device and computer readable storage medium
CN102347906B (en) Multi-cast method and multi-cast network system
CN106027352A (en) Service message forwarding method and device
CN103152291A (en) TRILL (Transparent Interconnection of Lots of Links) network-based remote mirror image implementation method and equipment
US9083542B2 (en) Method for using a computer network
CN102195863B (en) Multicasting realization method, access layer equipment and system under ring network framework
CN102843303B (en) Multicast message processing method in PIM and device
CN101247541A (en) Method for implementing multimedia multicast service of mobile communications network
CN108900439A (en) A kind of PON OLT system and its method for realizing masterslave switchover
CN110099307B (en) Node connection method, video network and computer readable storage medium
CN102377639B (en) Multicast pruning method, protocol independent multicast (PIM) router and group management snooping exchanger
CN103595645B (en) A kind of multicast flow management method and device
CN104683769A (en) Method and device for realizing multicast demanding under ring network environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHEJIANG UNIVIEW TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUASAN COMMUNICATION TECHNOLOGY CO., LTD.

Effective date: 20120221

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120221

Address after: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 building two or three layer A C

Applicant after: Zhejiang Uniview Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant