WO2007098699A1 - A media stream control method, a media stream conversion device and a multicast system - Google Patents
A media stream control method, a media stream conversion device and a multicast system Download PDFInfo
- Publication number
- WO2007098699A1 WO2007098699A1 PCT/CN2007/000649 CN2007000649W WO2007098699A1 WO 2007098699 A1 WO2007098699 A1 WO 2007098699A1 CN 2007000649 W CN2007000649 W CN 2007000649W WO 2007098699 A1 WO2007098699 A1 WO 2007098699A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media stream
- multicast
- service
- address
- port
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1023—Media gateways
- H04L65/103—Media gateways in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1033—Signalling gateways
- H04L65/104—Signalling gateways in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1043—Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
Definitions
- the present invention relates to multicast technologies, and in particular, to a media stream control method, a media stream conversion device, and a multicast system.
- the service provider can provide the service to the service recipient in the form of a media stream. If the service provider only needs to send the media stream to a service receiver, the service provider may send the unicast media stream to the service receiver; if the service provider needs to send the same media stream to multiple service receivers, and The IP network between the service provider and the service receiver can be compatible with the multicast media stream, and the service receiver can receive the multicast media stream, and the service receiver can send the multicast media stream, and the service needs to receive the multicast media stream. The receiver only needs to join the multicast group to receive the multicast media stream.
- the service provider there may be multiple IP networks between the service provider and the service receiver.
- the device or functional entity that forwards the media stream may forward the unicast media stream to the service receiver or the next device that forwards the media stream, but for the multicast media stream sent by the service provider
- the device or functional entity that forwards the media stream cannot forward the multicast media stream normally for a variety of reasons. As a result, the service receiver cannot receive the media stream.
- a forwarding device such as a router is set up between the two IP networks. If the service provider provides a unicast media stream to the service receiver, the router receives the packet. After the unicast media stream, the unicast media stream can be forwarded to the service recipient through the IP network. Assume that the service provider and router The IP network can be compatible with the multicast media stream. The IP network between the router and the service receiver is not compatible with the multicast media stream, and the service receiver can receive both the unicast media stream and the multicast media stream. If the IP address of the router is not compatible with the multicast media stream, the router cannot forward the multicast media stream, so that the service receiver cannot receive the media stream.
- the technical problem to be solved by the embodiments of the present invention is to provide a media stream control method, a media stream conversion device, and a multicast system, so as to achieve the purpose that the service receiver can receive the media stream completely normally.
- An embodiment of the present invention provides a media flow control method, including: a service control unit sends a request for converting a multicast media stream to a multicast media stream conversion unit; and after receiving the multicast media stream, the multicast media stream conversion unit multicasts The media stream is converted to a unicast media stream or a new multicast media stream and sent to the service recipient.
- the embodiment of the present invention further provides an NGN-based media stream control method, including: applying a function entity AF to request a service-based policy decision function entity SPDF for multicast control; and after processing the AF request, the SPDF proposes to the border gateway function entity BGF The request for converting the multicast media stream; after receiving the multicast media stream, the BGF converts the multicast media stream into a unicast media stream or a new multicast media stream and sends the message to the service receiver.
- the embodiment of the present invention further provides a media stream conversion device, including: a conversion request unit, configured to receive a request for converting a multicast media stream; a multicast media stream receiving unit, configured to receive a multicast media stream; and a multicast media stream conversion a unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and the media stream sending unit, configured to send the converted unicast media stream or the new multicast media stream to the service receiver.
- a conversion request unit configured to receive a request for converting a multicast media stream
- a multicast media stream receiving unit configured to receive a multicast media stream
- a multicast media stream conversion a unit configured to convert the multicast media stream into a unicast media stream or a new multicast media stream
- the media stream sending unit configured to send the converted unicast media stream or the new multicast media stream to the service receiver.
- the embodiment of the present invention further provides a BGF, including: a conversion request unit, configured to receive a request for converting a multicast media stream sent by an SPDF; a multicast media stream receiving unit, configured to receive a multicast media stream; and a multicast media stream conversion a unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and a media stream sending unit, configured to send to the service receiver Send the converted unicast media stream or new multicast media stream.
- a conversion request unit configured to receive a request for converting a multicast media stream sent by an SPDF
- a multicast media stream receiving unit configured to receive a multicast media stream
- a multicast media stream conversion a unit configured to convert the multicast media stream into a unicast media stream or a new multicast media stream
- a media stream sending unit configured to send to the service receiver Send the converted unicast media stream or new multicast media stream.
- the embodiment of the present invention further provides a multicast system, including a service receiver and a media stream providing unit, where the multicast system further includes: a multicast conversion device, configured to receive a request for converting a multicast media stream, and a media stream providing unit The multicast media stream is sent, and the multicast media stream is converted into a unicast media stream or a new multicast media stream is sent to the service receiver; the service control unit is configured to send a request for converting the multicast media stream to the multicast conversion device. And/or, controlling the media stream providing unit to send the media stream, and/or controlling the multicast conversion device to perform the conversion of the multicast media stream, and/or performing service negotiation with the service recipient.
- the embodiment of the present invention further provides an NGN-based multicast system, including a service receiver and a media stream providing unit, where the multicast system further includes: a BGF, an AF, an SPDF, and a service provider, where the BGF is used to receive the SPDF.
- the AF is used to obtain the information of the multicast media stream conversion. If it is determined that the multicast media stream needs to be converted, the request for the multicast media stream conversion is initiated to the SPDF. After the request for multicast media stream conversion, it is determined whether the conversion is allowed, and if so, the BGF is requested to perform the conversion.
- the received multicast media stream can be converted into a unicast media stream or a new multicast media stream, so that the media stream can be smoothly transmitted in the subsequent IP network until the service is received. Until now. Therefore, embodiments of the present invention can ensure that a service receiver receives a media stream normally.
- FIG. 1 is a schematic diagram of a system for providing a media stream service
- FIG. 2 is a schematic structural view of a first embodiment of the system of the present invention
- Figure 3 is a flow chart of a first embodiment of the method of the present invention.
- Figure 4 is a flow chart of a second embodiment of the method of the present invention.
- FIG. 5 is an architectural diagram of the RACS
- FIG. 6 is a flowchart of a multicast control process according to a second embodiment of the system of the present invention
- FIG. 3 is a flowchart of a multicast control process according to a third embodiment of the system of the present invention
- 8 is a first specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention
- FIG. 9 is a flowchart of a multicast control process based on the NGN shown in FIG. 8;
- FIG. 10 is a second specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention
- FIG. 11 is a flow chart of a multicast control process based on the NGN shown in FIG.
- FIG. 2 is a schematic structural diagram of a multicast system according to an embodiment of the present invention.
- this system includes service provider equipment, multicast/unicast conversion equipment, and service receivers.
- the service providing device includes a service control unit and a media stream providing unit.
- the service providing device can be a media server.
- the service control unit is configured to perform service negotiation with the service receiver and process the request of the service receiver, and apply control to the media stream providing unit according to the request of the service receiver, for example, send or stop sending the media stream, and the service control unit may also
- the multicast/unicast conversion device is controlled according to the negotiation result and actual needs of the service receiver.
- the media stream providing unit is configured to provide a media stream, and the manner of providing may be multicast or unicast.
- the multicast/unicast conversion device is configured to obtain a multicast media stream from the service providing device, and convert the multicast media stream into a unicast media stream according to the request of the service control unit.
- the network between the service providing device and the multicast/unicast conversion device is a multicast compatible network
- the network between the multicast/unicast conversion device and the service receiver may be a multicast compatible network or may be multicast incompatible.
- the network where the multicast compatible network refers to a network capable of supporting multicast media stream transmission, and the multicast incompatible network refers to a network that does not support multicast media stream transmission.
- the service receiver may be a service receiver that supports the multicast function, or a service receiver that does not support the multicast function.
- the service receiver and the service control unit use the service signaling to perform service negotiation, for example, using a SIP (Session Initiation Protocol) message.
- SIP Session Initiation Protocol
- the service control unit determines the way the service is provided. If the result of the negotiation is that the service is to be provided in multicast mode, but the media stream needs to be multicast to unicast, the service control unit performs subsequent actions.
- the service control unit determines that the service receiver needs to provide the service in multicast mode but needs to perform multicast to unicast conversion of the media stream, the service control unit interacts with the multicast/unicast conversion device to request multicast.
- the unicast conversion device performs a conversion operation of the multicast media stream to the unicast media stream.
- the service control unit provides the media stream receiving address and port of the service receiver to the multicast/unicast conversion device, and the multicast/unicast conversion device allocates the HDP (User Datagram Protocol) port. Number and use its own IP address for multicast/unicast conversion operations.
- HDP User Datagram Protocol
- the multicast/unicast conversion device obtains the multicast media stream from the service providing device, and performs the conversion operation on the multicast media stream, that is, the source IP address is used as the source address of the data packet, and the allocated port is used as the source port;
- the media stream receiving address of the receiver is the destination address, and the media stream receiving port of the service receiver is used as the destination port, and the multicast media stream is converted into a unicast media stream and sent to the service receiver.
- FIG 3 is a flow chart of a first embodiment of the method of the present invention. As shown in Figure 3, this embodiment includes:
- Step 301 The service receiving unit sends a service request to the service control unit of the service providing device, and the request message may be a SIP message.
- the service control unit can determine in what way to provide services to the service recipient based on:
- the service receiver provides the capability description to the service control unit during the service negotiation with the service control unit, and the capability description can indicate whether the multicast capability is supported, etc.;
- the service receiver registers its own capabilities with the network by, for example, registering at the time of opening the account before using the service; or
- the service control unit queries the network deployment information to obtain whether there is a network segment that does not support the multicast capability on the path of the service receiver; or
- the service receiver does not provide the capability description to the service control unit during the service negotiation process, but needs to provide the device identifier or software identifier to the network, and the service control unit is based on the The service identifier or the software identifier determines the multicast support capability of the service receiver; or the service control unit acquires the indication information of whether to send the multicast media stream, and if the indication information requires the multicast media stream to be sent, the service control unit sends the service to the service receiver. Send a multicast media stream.
- the service control unit may determine to provide a multicast media stream or a unicast media stream to the service recipient according to any of the above manners.
- the following steps can be taken to perform multicast control by default.
- Step S302 The service control unit returns a service response to the service receiver, and requests the service receiver to provide the address and port information of the received media stream.
- Step S303 After receiving the response from the service control unit, the service receiver allocates an address and a port for receiving the media stream, and carries the allocated address and port information in the request message that is sent again to the service control unit.
- Step S304 After receiving the address and port information of the media stream, the service control unit requests the multicast/unicast conversion device to perform a conversion function of the multicast media stream to the unicast media stream.
- the request message carries at least the multicast service address and port of the multicast media stream and the address and port of the service receiver receiving the unicast media stream.
- Step S305 After receiving the conversion request sent by the service control unit, the multicast/unicast conversion device generates a response message, and sends the response message to the service control unit, which is specifically implemented by:
- the multicast/unicast conversion device can establish a media stream providing unit to a multicast/unicast conversion device through a multicast routing protocol, such as a protocol-independent multicast-sparse mode (PIM-SM). Multicast media stream forwarding path.
- a multicast routing protocol such as a protocol-independent multicast-sparse mode (PIM-SM).
- PIM-SM protocol-independent multicast-sparse mode
- the operation result is fed back to the service control unit, and the result of the operation may carry the address and UDP port number of the unicast media stream to be sent by the multicast/unicast conversion device.
- the operation result may also carry an identifier, which is used to indicate the multicast service address and port of the multicast media stream, the address and port of the service receiver receiving the unicast media stream, and the multicast/unicast
- the conversion device is configured to send a binding relationship between the address and the port of the unicast media stream, so as to process subsequent requests of the service receiver and the like.
- Step S306 After receiving the response of the multicast/unicast conversion device, the service control unit generates a service response message to the service receiver, and sends the response message to the service receiver.
- the response message may carry the address and port information of the unicast media stream, and may not carry the foregoing information, and only indicates that the network side completes the service transmission preparation.
- Step S307 After receiving the response message, the service receiver performs preparation for receiving the unicast media stream, and requests the service control unit to send the media stream.
- Step S308 The service control unit requests the multicast/unicast conversion device to start multicast/unicast conversion, and the request may carry the address and port information of the multicast/unicast conversion device for sending the unicast media stream.
- the identifier described in step S304 may be carried, so that which multicast media stream is multicast/unicast converted.
- Step S309 The multicast/unicast conversion device uses the address and port of the multicast/unicast conversion device for sending the unicast media stream as the source address and source port of the unicast media stream, and receives the media stream from the service receiver.
- the address and port are used as the destination address and destination port of the unicast media stream, and the multicast/unicast conversion device feeds back the operation result to the service control unit.
- Step S310 The service control unit checks whether the media stream providing unit has started to provide the media stream, and if not, requests the media stream providing unit to start providing the media stream. After receiving the request from the service control unit, the media stream providing unit may feed back the operation result to the service control unit.
- Step S311 The service control unit feeds back the operation result to the service receiver.
- the multicast media stream provided by the media stream providing unit is converted by the multicast/unicast conversion device and then provided to the service receiver in a unicast media stream.
- the step S310 can be performed at any time after the step S301.
- the media stream providing unit sends the multicast media stream, and the media stream providing unit can send the media stream without receiving the address information of the service receiver. Joining the multicast party does not affect the normal operation of the multicast service. This mode is suitable for providing real-time rebroadcast in multicast mode. Business.
- the service control unit may select a multicast/unicast conversion device or a functional entity according to various conditions, for example, according to the location of the service recipient.
- a multicast/unicast conversion device or functional entity is selected for information, load information of the multicast/unicast conversion device, and the like.
- the multicast/unicast conversion device can be set in the border gateway of the multicast compatible network, or can be independently set in the multicast compatible network, if the multicast/unicast conversion device is set in In the border gateway of the multicast compatible network, the multicast media stream provided by the media stream providing unit to the multicast/unicast conversion device can effectively reduce the traffic of the multicast compatible network.
- the service control unit when the service receiving unit sends a service request for the first time, the service control unit can provide the receiving address and port of the unicast media stream to the service control unit, and can simultaneously request the service start.
- the service control unit When the service control unit sends a conversion request to the multicast/unicast conversion device for the first time, it can simultaneously request to start multicast/unicast conversion.
- the service control unit may return the response message only once to the service receiver, and after confirming the response message, the service receiver may interact with the media stream providing unit to request to start providing the multicast media stream.
- FIG. 4 is a flow chart of a second embodiment of the method of the present invention. As shown in Figure 4, this embodiment includes:
- Step S401 The service receiving unit sends a service request to the service control unit, where the service clearing message can carry the address and port information of the unicast media stream.
- the service control unit can determine in what manner the service is provided to the service recipient based on the following means:
- the service receiver may carry its own capability description in the service request message to indicate whether the multicast capability is supported;
- the service receiver Before the service receiver uses the service, it registers its own capabilities with the network through other means such as registration at the time of opening an account; or
- the service control unit queries the network deployment information to obtain whether there is a network segment that does not support the multicast capability on the path of the service receiver; or
- the service receiver does not provide the capability description to the service control list during the service negotiation process.
- the element but needs to provide a device identifier or a software identifier to the network, and the service control unit may determine the multicast support capability of the service receiver based on the device identifier or the software identifier.
- the service control unit may determine to provide a multicast media stream or a unicast media stream to the service recipient according to any of the above methods.
- Step S402 The service control unit requests the multicast/unicast conversion device to perform a conversion function of the multicast media stream to the unicast media stream.
- the request message carries at least the multicast service address and port of the multicast media stream and the address and port of the service receiver receiving the media stream, and the multicast/unicast conversion device is required to receive the corresponding multicast media stream.
- the multicast/unicast conversion begins.
- Step S403 After receiving the conversion request sent by the service control unit, the multicast/unicast conversion device generates a response message, and sends the response message to the service control unit, which is implemented by the following steps:
- the multicast/unicast conversion device can establish a multicast media stream forwarding path from the media stream providing unit to the multicast/unicast converting device through a multicast routing protocol (such as PIM-SM).
- a multicast routing protocol such as PIM-SM
- the multicast/unicast conversion device is used to send the address and port of the unicast media stream as the source address and source port of the unicast media stream, and the destination receiver receives the address and port of the media stream as the unicast media stream. Address and destination port. It should be noted that this conversion operation should start automatically after receiving the multicast media stream.
- the operation result is fed back to the service control unit, and the operation result may carry the address and port information of the unicast media stream, and the operation result may also carry an identifier, which is used to indicate the multicast.
- Step S404 The service control unit returns a service request response to the service receiver, where the response message may carry the multicast/unicast conversion device for transmitting the unicast media stream.
- Address and port information but not limited to this information.
- Step S405 The service receiving direction sends a confirmation message to the service control unit, and the two parties complete the service negotiation process.
- Step S406 The service control unit instructs the media stream providing unit to send the multicast media stream, and the media stream providing unit may feed back the operation result to the service control unit.
- the multicast media stream provided by the media stream providing unit is converted by the multicast/unicast conversion device and then provided to the service receiver in a unicast media stream.
- the multicast/unicast conversion device can provide the service.
- the multicast media stream sent by the device is converted into a new multicast media stream, and the new multicast media stream is sent to the service receiver.
- the media stream providing unit only needs to provide a multicast media stream, and does not need to perform signaling interaction with the service receiver or the multicast/unicast conversion device, and the load of the media stream providing unit is thus reduced.
- the service control unit and the media stream providing unit are disposed in a service providing device, and the service control unit negotiates with the service receiver, the content of the negotiation includes the media stream providing mode, providing the address, etc., thereby determining how to deliver the service.
- the receiver provides the media stream, and the ability of the service provider to control the receiver of the service is thus enhanced.
- the media stream providing unit can effectively provide the multicast media stream to the multicast/unicast conversion device. Reduce traffic within a multicast-compatible network
- the embodiment shown in FIG. 2-4 can be applied to any one of the IP networks.
- the following is an example of the NGN (Next Generation Network).
- FIG. 5 shows the architecture of the RACS (Resource and Admission Control Subsystem).
- RACS is a subsystem in NGN, and the RACS architecture is described in detail in the TISPAN document ETSI ES 282 003 V ⁇ 1.6.6> (2005-10).
- RACS provides resource and license control support for business applications.
- the AF shown in Figure 5 may not be a separate functional entity, but may be any functional entity or a collection of all functional entities that interact with RACS.
- the proxy CSCF Call Session Control Function
- the proxy CSCF has the function of AF when interacting with the RACS.
- the AF can obtain the information required for multicast control and perform corresponding control in multiple ways.
- the methods used may include:
- the first mode the terminal (ie, the service receiver) and the multicast function provider (ie, the service provider or the service providing device) negotiate the multicast service address and port used by the multicast service by using a signaling (eg, SIP message) negotiation mechanism.
- the negotiation signaling can be forwarded by the AF.
- the AF can obtain the necessary information for multicast control by viewing the service description information in the negotiation packet. For example, the SDP (Session Description Protocol) load carried in the SIP message is obtained.
- the second mode After receiving the multicast service request sent by the terminal, the multicast function provider performs multicast control on the AF request and provides detailed information. In this mode, the negotiation message does not need to pass through the AF. Even if the negotiation message passes through the AF, the AF does not need to understand the content of the negotiation message.
- the AP In order to complete the necessary multicast control process, the AP must obtain the following information or a combination of the following information: the multicast service address and port, the address and port to send the multicast service, and the address and port of the terminal receiving the service. This information can be obtained by viewing the content of the negotiation message or by the multicast function provider.
- the AF After the AF obtains the message that needs to be controlled by the multicast, in order to ensure that the multicast media flows through the BGF (Border Gateway Function), the AF can perform multicast control in the following two ways:
- the AF request SPDF Service-based Policy Decision Function
- the SPDF makes a request to the BGF, and the request may request the BGF to allocate the converted single. Broadcast the address and port of the media stream and establish a multicast forwarding path to the multicast media stream sending address If the BGF receives the multicast media stream, the BGF converts the multicast media stream into a unicast media stream and sends it to the terminal.
- the BGF can perform the conversion in such a manner that the allocated unicast is used for sending the converted unicast.
- the address and port of the media stream are the source address and port of the unicast media stream, and the terminal receives the address and port of the unicast media stream as the destination address and port.
- the BGF needs to establish a related terminal list for each multicast media stream. This list can be distinguished by the address and port of the terminal receiving the unicast media stream. If a new terminal is added to the multicast media stream group, the corresponding entry is added to the terminal list. If the terminal exits the media stream, the corresponding entry is deleted from the terminal list.
- the BGF queries the terminal to receive the address and port of the media stream from the terminal list, and performs corresponding service forwarding.
- the SPDF needs to report the result of the AF feedback to the AF.
- the AF can modify the packet of the service negotiation process according to the control result to ensure the correct completion of the service negotiation process.
- the status of the service negotiation packet passing through the AF may also feed back the allocation result to the requesting party that initiates the multicast control, so that the requesting party that initiates the multicast control may otherwise notify the terminal of the new service address.
- the AF requests the SPDF to perform multicast control.
- the request is processed by the SPDF, and the SPDF makes a request to the BGF.
- the request message may carry a multicast service address and port allocated by the SPDF. If the SPDF does not allocate a multicast service address and port,
- the BGF can be required to assign a multicast service address and port. In an actual application, the BGF may request a multicast service address and a port to be allocated to a multicast group management device, where the multicast group management device is used to uniformly manage available multicast service addresses and ports to avoid conflicts.
- the BGF may be required to allocate an address and a port for transmitting the converted new multicast media stream and establish a multicast forwarding path to the address and port for sending the multicast media stream, if the BGF receives the multicast.
- the media stream, the BGF can perform multicast conversion on the multicast media stream, and the converted result is: the converted multicast media stream is sourced by the newly allocated address and port for sending the converted new multicast media stream.
- Address and port with the newly assigned multicast service address and port as the destination address and port, and send the converted new multicast media stream to the end End.
- the terminal can join the new multicast group because the new multicast service address and port are allocated, and the multicast service address and port can be fed back to the terminal via SPDF and AF.
- the terminal can use IGMP (Internet Group Management Protocol).
- the Internet Group Management Protocol interacts with the RCEF (Resource Control Enforcement Function) and requests to join the multicast group.
- the RCEF can establish a multicast forwarding path to the BGF by using the multicast routing protocol.
- the BGF After the BGF completes the multicast service address and port of the new multicast media stream and allocates the address and port of the converted new multicast media stream, the BGF needs to distribute the result to the AF feedback through the SPDF.
- the AF The packet of the service negotiation process can be modified to enable the terminal to obtain the correct service sending address, so that the correct multicast joining process can be initiated. This situation is suitable for the case where the service negotiation packet passes the AF.
- the AF may also feed back the allocation result to the requesting party that initiates the multicast control, so that the requesting party that initiates the multicast control may otherwise notify the terminal of the new service address.
- the multicast system includes AF, SPDF, BGF, service provider and multicast function provider.
- the service provider and the terminal perform service negotiation, and the terminal may request the service provider to provide the multicast service.
- the AF may obtain the information for performing the multicast conversion in multiple manners. If the multicast media stream needs to be converted, the request is performed.
- SPDF performs multicast conversion; SPDF receives AJF multicast conversion request and performs policy judgment and resource check to determine whether to allow the corresponding conversion to be completed.
- BGF is requested to complete a specific multicast conversion operation; BGF is used to establish The multicast forwarding path of the multicast function provider, and converting the multicast media stream received from the multicast function provider into a unicast media stream, and sending the address to the terminal for forwarding the media stream in the process Port, etc.
- Figure 6 is a flow chart of the multicast control process of the second embodiment of the above system. As shown in Figure 6, it includes:
- Step S601 The AF sends a multicast control request to the SPDF, where the request carries all the information of the multicast service address and port, the address and port for transmitting the multicast service, the address and port of the terminal receiving the media stream, or the combination of the foregoing information.
- Step S602 SPDF constructs a conversion request to the BGF according to the request of the AF, to request
- the BGF performs a multicast-to-unicast conversion operation.
- the request is processed by the BGF, and at least the multicast service address and port, the address and port for transmitting the multicast service, and the address and port of the terminal receiving the media stream are all required. Or a combination of the above information.
- the BGF allocates an address and a port for sending the unicast media stream, and prepares a multicast to unicast conversion operation.
- the BGF After receiving the multicast media stream, the BGF performs the following conversion to allocate the The address and port of the unicast media stream are sent as the unicast media stream source address and port, and the terminal receives the address and port of the unicast media stream as the destination address and port, and sends the converted unicast media stream to the terminal. If multiple terminals request the same multicast media stream, the BGF can establish a related terminal list for each multicast media stream. This list is distinguished by the address and port of the terminal receiving the unicast media stream. If a terminal is added, the corresponding entry is added to the table. If the terminal exits the media stream, the corresponding entry is deleted from the table. During the media stream conversion, the BGF obtains the address and port of the terminal receiving the unicast media stream from the multicast service address and the port correspondence entry of the media stream, and performs corresponding media stream forwarding.
- Step S603 After completing the foregoing preparation, the BGF establishes a multicast forwarding path to the multicast function provider by using a multicast routing protocol, where the multicast routing protocol may be a PIM-SM protocol or a DVMRP (Distance Vector Multicast Routing Protocol). Off-network multicast routing protocol) or MOSPF (Multicast Open Shortest Path First).
- the multicast routing protocol may be a PIM-SM protocol or a DVMRP (Distance Vector Multicast Routing Protocol). Off-network multicast routing protocol) or MOSPF (Multicast Open Shortest Path First).
- Step S604 After completing the foregoing preparation, the BGF feeds back a response request to the SPDF, where the address and port of the allocated unicast media stream can be carried.
- Step S605 The SPDF feeds back a response request to the AF, where at least the address and port of the unicast media stream allocated by the BGF are carried.
- the AF obtains the address and port of the unicast media stream that is allocated by the BGF.
- the AF can perform different processing according to the service requirements, for example:
- the AF is the multicast control information obtained by analyzing the service negotiation signaling
- the service address information of the negotiation packet needs to be modified, so that the terminal obtains a new service sending address. If the AF is receiving the request of other functional entities, the multicast control is performed. And, the control result needs to be fed back to the functional entity, where the result may carry the allocated service forwarding place Address and port.
- the service providing address obtained by the terminal is the address and port of the unicast media stream allocated by the BGF, and the terminal waits to receive the unicast media stream at the address and port of the receiving unicast media stream.
- the BGF establishes a multicast forwarding path from the multicast function provider to the BGF.
- the BGF When the multicast media stream is received by the BGF after being sent by the multicast function provider, the BGF performs a media stream conversion operation, that is, The address and port of the allocated unicast media stream are used as the source address and port of the unicast media stream, and the terminal receives the address and port of the unicast media stream as the destination address and port of the unicast media stream, and converts the converted single The broadcast media stream is sent to the terminal.
- the media stream is a multicast media stream between the multicast function provider and the BGF, and is a unicast media stream between the BGF and the terminal.
- the process of establishing the BGF to the multicast function provider is performed by using the multicast routing protocol. Therefore, if multiple terminals request the same multicast media stream, the route establishment process only needs to be performed once, and subsequent requests will not be performed. Causes multiple route establishment requests.
- the SPDF can determine whether it is the same media stream according to a certain flow stream multicast service address and port and the media stream source address and port. If yes, the same multicast is not required on the core network side. The media stream makes multiple reservation requests, which simplifies the process.
- the BGF For terminals requesting the same multicast media stream, the BGF needs to assign a new address and port to each request. If there is an available address pool on the access network side, the address and port can be allocated from the available address pool. Of course, the results fed back to AF must match the results of the selection here.
- the AF multicast control request to the RACS is performed in stages, that is, the first request only requests the RACS to prepare for multicast/unicast conversion, but does not necessarily require the BGF to join the multicast group.
- the multicast path establishment process from the BGF to the multicast function provider may not be performed at this time.
- the BGF can establish a multicast forwarding path to the multicast function provider and perform corresponding multicast/unicast conversion operations.
- Multicast system includes
- the request service provider provides the multicast service; the AF can obtain the information for multicast conversion in multiple ways. If the multicast media stream needs to be converted, the SPDF is requested to perform the multicast conversion; Broadcasting the request and performing policy judgment and resource check to determine whether to allow the corresponding conversion to be completed.
- the BGF is requested to complete a specific multicast conversion operation; the BGF is used to establish a multicast forwarding path to the multicast function provider;
- the SPDF can send a request to the A-RACF, and the A-RACF requests the RCEF to join the assigned new multicast group, the RCEF receives the request, and establishes a multicast forwarding path to the BGF using the multicast routing protocol;
- the multicast media stream received by the broadcast function provider is converted into a new multicast media stream and sent to the terminal, in the process It may be allocated for forwarding address and port of the media stream, and the like.
- Figure ⁇ is a flow chart of the multicast control process of the third embodiment of the above system. As shown in Figure 7, it includes:
- Step S701 The AF sends a multicast control request to the SPDF, where the request carries all the information of the multicast service address and port, the address and port for transmitting the multicast service, the address and port of the terminal receiving the media stream, or the combination of the foregoing information.
- Step S702 The SPDF constructs a conversion request to the BGF according to the request of the AF, to request the BGF to perform a multicast-to-multicast conversion operation, and the request is processed by the BGF, where at least the multicast service address and port are carried, and the multicast service is sent.
- the address and the port, the terminal receiving the information of the address and port of the media stream, or the combination of the above information, the request may also carry the new multicast service address and port allocated by the SPDF. If the request does not carry the information, the SPDF may specify Assigned by BGF. After receiving the above request, the BGF allocates a new multicast service address and port.
- the BGF needs to allocate an address and port for sending the multicast media stream, and prepares to perform multicast to new multicast conversion operation, that is, After receiving the multicast media stream, the following is performed, where the address and port of the newly transmitted multicast media stream are allocated as the source address and port of the new multicast media stream,
- the assigned new multicast service address and port are the destination address and port and forward the service.
- the new multicast service address and port may be allocated by the BGF, or may be requested by the BGF to other multicast group management entities.
- the multicast group management entity manages the allocation of the address and port of the multicast group and ensures that no conflict exists. . If a new multicast service address and port are allocated by the BGF, a mechanism is required to ensure that no conflict occurs. For example, after the BGF allocates a new multicast service address and port, the BGF registers the result with a unified entity and guarantees that there is no Other multicast service addresses and port conflicts.
- the above new multicast service address and port may also be allocated by the SPDF and carried to the BGF in the request message.
- the allocation of the above-mentioned multicast service address and port can be called multicast group management. Whether to allocate a new multicast service address and port can be determined by SPDF or BGF, for example:
- the SPDF can decide whether to allocate a new multicast service address and port according to the executed policy. If the terminal is already using the same media stream, the SPDF can be not allocated.
- the new multicast service address and port carry the assigned multicast service address and port only in the request message.
- the BGF can be used. Otherwise, a new multicast service address and port need to be allocated.
- the SPDF can determine whether it is the same media stream according to the multicast service address and port. For the BGF, you can determine whether the original multicast group has been added and avoid adding the same multicast group. If the SPDF explicitly indicates that the BGF does not need to join the multicast group repeatedly, this judgment is not required.
- the BGF can still decide whether to allocate a new multicast service address and port according to the executed policy. If a terminal is already using the same media stream, you can not assign a new multicast service address and port. You only need to use the already assigned multicast service address and port. Otherwise, you need to assign a new multicast service address and A port, where the BGF can determine whether it is the same media stream according to the multicast service address and port and the service source address and port. In response to the feedback to the SPDF, the multicast service address and port used may be carried. If a new multicast service address and port are not allocated in the above process, the resource reservation process associated with this will be unnecessary, for example, by using T-RACF for the resource of the multicast media stream in the core network. Stay, this can be relatively straightforward.
- Step S703 After completing the foregoing preparation, the BGF may establish a multicast forwarding path to the multicast function provider by using the multicast routing protocol.
- Step S704 After completing the foregoing preparation, the BGF feeds back a response request to the SPDF, where the address and port of the allocated new multicast media stream and the new multicast service address and port may be carried.
- Step S705 The SPDF responds to the AF feedback request, and may carry the assigned address and port for sending the new multicast media stream and the new multicast service address and port.
- the AF obtains the address and port of the new multicast media stream and the new multicast service address and port allocated by the BGF.
- the AF can perform different processing according to the service requirements, for example: If the AF is analyzed by the service negotiation For the multicast control information obtained by the signaling, the service address information of the negotiation packet needs to be modified, so that the terminal obtains a new service sending address. If the AF is a request to receive other functional entities for multicast control, the function needs to be performed. The entity feedbacks the control result, which may carry the assigned service forwarding address and port and the new multicast service address and port.
- the service providing address obtained by the terminal is a new multicast service address and port allocated by the BGF.
- the BGF establishes a multicast forwarding path from the multicast function provider to the BGF.
- two methods can be used:
- IGMP can be used to join the new multicast group. This request can be processed by the RCEF. Since the new multicast media stream is provided by the BGF, the RCEF uses the multicast routing protocol to establish a multicast forwarding path to the BGF.
- the SPDF can also send a request to the A-RACF, and the A-RACF requests the RCEF to join the assigned new multicast group, and the RCEF receives the request and establishes a multicast forwarding path to the BGF using the multicast routing protocol.
- the BGF when the multicast media stream is received by the BGF after being sent from the multicast function provider Performing a media stream conversion operation, that is, using the assigned new multicast address and port as the source address and port of the new multicast media stream, and using the new multicast service address and port as the new multicast media stream.
- the address and port, and the converted new multicast media stream is sent.
- the media stream is a multicast media stream between the multicast function provider and the BGF, and is also a multicast media stream between the BGF and the terminal, ensuring that the multicast media stream is forwarded by the BGF.
- the BGF and the terminal The inter-multicast media stream is sent with the new multicast service address and port, and the multicast media stream passes through the RCEF.
- the process of establishing the BGF to the multicast function provider is performed by using the multicast routing protocol. Therefore, if multiple terminals request the same multicast media stream, the route establishment process only needs to be performed once, and subsequent requests will not be performed. Causes multiple route establishment requests.
- the SPDF can determine whether it is the same media stream according to the media stream multicast service address and port and the media stream source address and port. If yes, the same multicast media is not required on the core network side. The flow makes multiple reservation requests, which simplifies the process.
- the BGF For terminals requesting the same multicast media stream, the BGF needs to assign a new address and port to each request. If there is an available address pool on the access network side, the address and port can be allocated from the available address pool. Of course, the results fed back to AF must match the results of the selection here.
- the BGF can establish a multicast forwarding path to the multicast function provider and perform corresponding multicast/multicast conversion operations.
- the AF multicast control request and the resource reservation process to the SPDF are delivered to the SPDF by a request. it is also fine.
- the AF if the AF is required to obtain the multicast control information from the negotiation signaling, the AF needs to understand the negotiation signaling and can extract the related information. The AF can also modify the media description information in the signaling to match the control made.
- the requirements of the embodiment of the present invention for BGF are as follows:
- the BGF needs to support the multicast/unicast conversion function.
- the BGF (on the core network side interface) is required to support the multicast routing protocol, and the multicast routing protocol may be IGMP, PIM-SM, or PIM-DM (Protocol Independent Multicast-Dense Mode). Wait.
- the BGF needs to support the multicast/communication conversion function.
- the BGF (on the core network side interface) is required to support the multicast routing protocol.
- the BGF is required to send a new multicast media stream to the terminal access network side. This is to prevent new multicast media streams from being sent to the core network side.
- the embodiment of the invention also requires the RCEF to support a multicast routing protocol for establishing a multicast forwarding path.
- the following takes an NGN that uses IMS as the session control and service provisioning network as an example, and then describes an embodiment of the present invention.
- FIG. 8 is a first specific functional architecture diagram of a multicast system application in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention.
- the system includes a proxy CSCF, an SPDF, a BGF, a service CSCF, an AS (application server, ie, a service provider), a MRFC (Media Resource Function Controller), and a MRFP (Media Resource Function Processor). , media resource function processor).
- the AS negotiates with the terminal, and the terminal can request the AS to provide the multicast service.
- the proxy CSCF forwards the request and response message between the terminal and the serving CSCF.
- the proxy CSCF includes the function of the AF.
- the serving CSCF sends the service request message according to the triggering rule. Trigger to AS;
- the proxy CSCF obtains the information for multicast conversion in multiple ways. If the media stream needs to be multicast converted, the SPDF is requested to perform multicast conversion; and the SPDF receives the multicast conversion request of the proxy CSCF including the AF function. And performing policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, request the BGF to complete a specific multicast conversion operation; the BGF is used to establish a multicast forwarding path to the AS, and will receive from the AS.
- the multicast media stream is converted into a unicast media stream and sent to the terminal. In this process, an address and a port for sending the unicast media stream can be allocated.
- the AS is used to provide services to the terminal and perform necessary service negotiation with the terminal. Root According to the result of the negotiation, the MRFC requests the media resource; the MRFC receives the media resource request of the AS and controls the MRFP to allocate the media resource, which may include allocating resources such as the multicast service address; and the MRFP provides the multicast media to the terminal under the control of the MRFC.
- the MRFP is the multicast function provider for providing multicast media streams related to the service.
- Step S901 The terminal initiates a service request, and the request message may be a SIP invite, if the request message carries the address and port of the media stream received by the terminal.
- the proxy CSCF extracts the address and port information of the media stream received by the terminal. Otherwise, the proxy CSCF extracts the information in the subsequent negotiation packet.
- Step S902 The proxy CSCF forwards the request message to the serving CSCF.
- Step S903 The service CSCF triggers the request message to the AS that processes the service.
- Step S904 The AS sends a media resource request to the MRFC because the service request requires the media resource.
- Step S905 The MRFC applies control to the MRPP according to the request of the AS. If the service needs to be provided in a multicast manner, the MRFP determines the address of the multicast service and returns it to the
- Step S906 The MRFC returns a result of the media resource request to the AS, where the result includes an SDP (Session Description Protocol) description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service can be carried. .
- SDP Session Description Protocol
- Step S907 The AS sends a service response to the serving CSCF, where the response includes an SDP description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service can be carried.
- Step S908 The serving CSCF forwards the service response to the proxy CSCF.
- Step S909 Perform a multicast control process, including the following steps:
- Step S909.1 After receiving the foregoing response, the proxy CSCF extracts the multicast service address and port and the address and port of the MRFP that sends the multicast service, and may initiate a multicast control request to the SPDF in the local policy to enable the multicast media.
- Stream can be transferred by BGF hair;
- Step S909.2 The SPDF requests the BGF to perform the conversion of the multicast media stream to the unicast media stream, that is, the BGF needs to establish a multicast forwarding path by using the multicast routing protocol, and needs to allocate a unicast UDP port number for the forwarding group.
- the BGF can prepare to receive the multicast media stream provided by the MRFP, and then convert the received multicast media stream into a unicast media stream and send it to the terminal.
- the BGF can perform such conversion, that is, the BGF IP address.
- the address and the assigned UDP port are used as the source address and the source port of the unicast media stream, and the IP address of the terminal and the port on which the terminal receives the media stream are used as the destination address and the destination port;
- Step S909.3 The BGF establishes a multicast forwarding path to the MFP, where the multicast forwarding protocol is established by using the multicast routing protocol to the MRFP;
- Step S909.4 The BGF performs a resource reservation request, and feeds back the result to the SPDF, where the result includes address and port information for sending the unicast media stream;
- Step S909.5 The SPDF feeds back to the proxy CSCF the acknowledgement information for the resource reservation, where the result includes address and port information for sending the unicast media stream;
- Step S909.6 The proxy CSCF ⁇ modifies the SDP description in the media negotiation process according to the received information, that is, replaces the multicast service address in the SDP with the address and port information provided by the BGF for sending the unicast media stream.
- the port description if needed, can also replace the source address and port information of the multicast media stream.
- Step S910 The proxy CSCF feeds back the final response result to the terminal.
- Steps S911-S912 Perform a further media negotiation process.
- the proxy CSCF modifies the corresponding media description information in the negotiation packet to ensure the negotiation succeeds.
- the BGF's conversion operation can only begin when all the negotiation processes have been successfully completed and further instructions are received.
- Step S913 The MRFC further controls the MRFP.
- the media stream will be sent to the BGF in multicast mode, and the BGF will convert it to a unicast media stream and send it to the terminal.
- FIG. 10 is a second specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention.
- this system includes terminal, proxy CSCF, SPDF, BGF, A-RACF, RCEF, service. CSCF, AS, MRFC and MRFP.
- the AS and the terminal perform service negotiation, and the terminal may request the AS to provide the multicast service; the proxy CSCF forwards the request and response message between the terminal and the serving CSCF, and the proxy CSCF includes the function of the AF; the service CSCF sends the service request message according to the triggering rule. Trigger to; the proxy CSCF obtains the information for multicast conversion in multiple ways.
- the SPDF is requested to perform multicast conversion; the SPDF receives the multicast conversion request of the proxy CSCF including the AF function, and Perform policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, request the BGF to complete the specific multicast conversion operation; BGF is used to establish a multicast forwarding path to the AS; SPDF sends a request to the A-RACF, The RCEF is requested by the A-RACF to join the assigned new multicast group, the RCEF receives the request, and establishes a multicast forwarding path to the BGF by using the multicast routing protocol; the BGF converts the multicast media stream received from the AS into The new multicast media stream is sent to the terminal.
- the address and port for forwarding the media stream can be allocated.
- the MRFC receives the media resource request of the AS, and controls the MRFP to allocate the media resource, which may include allocating the multicast service. Address and other resources;
- the MRFP provides a multicast media stream to the terminal under the control of the MRFC, where the MRFP is a multicast function provider for providing a multicast media stream related to the service.
- FIG. 11 is a flow chart of the multicast control process of the NGN shown in FIG. 10, and the specific process is:
- Step S1101 The terminal initiates a service request, and the request message may be a SIP invite. If the request message carries the address and port information of the media stream, the proxy CSCF extracts the address and port of the media stream received by the terminal after the request message arrives at the proxy CSCF. Information, otherwise, the proxy CSCF extracts this information in subsequent negotiation messages.
- Step S1102 The proxy CSCF forwards the request message to the serving CSCF.
- Step S1103 The service CSCF triggers the request message to the AS that processes the service.
- Step S1105 The MRFC applies control to the MRFP according to the request of the AS, if necessary To provide services in multicast mode, the MRFP determines the address of the multicast service and returns it to MRFCo.
- Step S1106 The MRFC returns a result of the media resource request to the AS, where the result includes an SDP description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service may be carried.
- Step S1107 The AS sends a service response to the serving CSCF, where the response includes an SDP description, where the multicast service address and port and the address and port of the MRPP that sends the multicast service can be carried.
- Step S1108 The serving CSCF forwards the service response to the proxy CSCF.
- Step S1109 Perform a multicast control process, including the following steps:
- Step S1109.1 After receiving the foregoing response, the proxy CSCF extracts the multicast service address and port and the address and port of the MRFP that sends the multicast service, and can initiate a multicast control request to the SPDF according to the local policy, so that the group The broadcast media stream can be forwarded through the BGF;
- Step S1109.2 The SPDF requests the BGF to perform the conversion of the multicast media stream to the new multicast media stream.
- the new multicast service address and port can be allocated by the SPDF or the BGF, and the BGF needs to allocate a port number for forwarding.
- Multicast media stream so that the BGF can prepare to receive the multicast media stream provided by the MRFP, and then convert the received multicast media stream into a new multicast media stream and send it to the terminal, and the BGF can perform such conversion, that is,
- the IP address of the BGF and the port for forwarding the multicast media stream are used as the source address and source port of the new multicast media stream, and the newly assigned multicast service address and the newly assigned multicast service port are used as new groups.
- Step S1109.3 The BGF establishes a multicast forwarding path to the MRFP.
- the multicast routing protocol is used to establish a multicast forwarding path to the MRFP. If the multicast group has been added, the BGF does not need to be added repeatedly.
- Step S1109.4 The BGF performs a resource reservation request, and feeds back a result to the SPDF, where the result includes address and port information for transmitting a new multicast media stream; if the new multicast service address and port are allocated by the BGF , here also need to carry the newly assigned multicast service address and port;
- Step S1109.5 The SPDF feeds back the confirmation information of the resource reservation to the proxy CSCF, where the result includes the address and port information for sending the new multicast media stream, and the new multicast service address and port information;
- Step S1109.6 The proxy CSCF needs to modify the SDP description in the media negotiation process according to the received information, that is, replace the multicast service address and port description in the SDP with the new multicast service address and port information, and if necessary, The source address and port information of the multicast media stream can be replaced.
- Step S1110 The proxy CSCF feeds back the final response result to the terminal.
- Steps S1111-S1112 Perform a further media negotiation process.
- the proxy CSCF modifies the corresponding media description information in the negotiation packet to ensure the negotiation succeeds.
- the BGF's conversion operation can begin only after all negotiation processes have been successfully completed and further instructions are received.
- Step S1113 The MRFC further controls the MRFP.
- the terminal uses IGMP to join the new multicast group, and the request is processed by the RCEF.
- the RCEF then uses the multicast routing protocol to establish a multicast forwarding path to the BGF. After the forwarding path is established, the media stream will be The multicast mode is sent to the BGF, and the BGF converts it to a new multicast media stream. The new multicast media is sent to the terminal through the RCEF.
- the multicast function is provided.
- the multicast media stream provided by the party or the MRFP to the service receiver or terminal must pass through the BGF, and the BGF can convert the multicast media stream into a new multicast media stream, and the service receiver or terminal can also receive the multicast.
- the media stream, in this way, the BGF can control the resources of the service receiver or the terminal, and can also provide accurate metrics (for example, the traffic M of the multicast media stream is the basis for charging).
- the embodiment of the present invention further provides a media stream control device, including: a conversion request unit, configured to receive a request for converting a multicast media stream; and a multicast media stream receiving unit, configured to receive a multicast media stream; a media stream conversion unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and a media stream sending unit, configured to send to the service receiver Send the converted unicast media stream or a new multicast media stream.
- a media stream control device including: a conversion request unit, configured to receive a request for converting a multicast media stream; and a multicast media stream receiving unit, configured to receive a multicast media stream; a media stream conversion unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and a media stream sending unit, configured to send to the service receiver Send the converted unicast media stream or a new multicast media stream.
- the media stream control device may further include: an address and port information receiving unit, configured to receive, before the multicast media stream converting unit converts the multicast media stream into the unicast media stream, an address used by the service receiver to receive the unicast media stream And port information, and/or, receiving the multicast service address and port information used by the service receiver to receive the multicast media stream.
- an address and port information receiving unit configured to receive, before the multicast media stream converting unit converts the multicast media stream into the unicast media stream, an address used by the service receiver to receive the unicast media stream And port information, and/or, receiving the multicast service address and port information used by the service receiver to receive the multicast media stream.
- the media flow control device may further include: an address and a port unit, configured to allocate the unicast media before the multicast media stream conversion unit converts the multicast media stream into a unicast media stream or a new multicast media stream.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A media stream control method includes :the service control unit sends a request for converting multicast media stream to the multicast media stream conversion unit; after the multicast media stream is received by the multicast media stream conversion unit, the multicast media stream is converted into a unicast media stream or a new multicast media stream and is sent to the service reception party. Still there are a NGN-based media stream control method, a media stream conversion device, a BGF, a multicast system and a NGN-based multicast system. The received multicast media stream may be converted into a unicast media stream or a new multicast media stream, so that it can be ensured that the media stream is successfully transported through the subsequent IP network until it reaches the service reception party. Therefore it can be ensured that the media stream is received normally by the service reception party.
Description
媒体流控制方法、 媒体流转换设备及组播系统 Media stream control method, media stream conversion device, and multicast system
本申请要求于 2006 年 3 月 3 日提交中国专利局、 申请号为 20061Q034144.4、发明名称为"一种基于 IP网络提供组播业务的方法、 设备和系统"及于 2006 年 3 月 2 日提交中国专利局、 申请号为 200610034079.5、 发明名称为 "一种组播控制系统和方法 "的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。 This application is required to be submitted to the Chinese Patent Office on March 3, 2006, application number 20061Q034144.4, and the invention name is "a method, device and system for providing multicast services based on IP networks" and on March 2, 2006. The priority of the Chinese Patent Application No. 200610034079.5, entitled "A Multicast Control System and Method", is hereby incorporated by reference.
技术领域 Technical field
本发明涉及组播技术, 尤其涉及媒体流的控制方法、媒体流的转 换设备及组播系统。 The present invention relates to multicast technologies, and in particular, to a media stream control method, a media stream conversion device, and a multicast system.
背景技术 Background technique
在基于 IP网络实现通信业务时, 业务提供方可以以媒体流的形 式向业务接收方提供服务。 其中, 如果业务提供方只需要向一个业务 接收方发送媒体流, 则业务提供方可以向业务接收方发送单播媒体 流; 如果业务提供方需要向多个业务接收方发送同一个媒体流, 且业 务提供方与业务接收方之间的 IP网络能够兼容组播媒体流, 且业务 接收方能够接收组播媒体流, 则业务接收方可以发出组播媒体流, 而 需要接收组播媒体流的业务接收方只需要加入组播组即可接收到組 播媒体流。 When the communication service is implemented based on the IP network, the service provider can provide the service to the service recipient in the form of a media stream. If the service provider only needs to send the media stream to a service receiver, the service provider may send the unicast media stream to the service receiver; if the service provider needs to send the same media stream to multiple service receivers, and The IP network between the service provider and the service receiver can be compatible with the multicast media stream, and the service receiver can receive the multicast media stream, and the service receiver can send the multicast media stream, and the service needs to receive the multicast media stream. The receiver only needs to join the multicast group to receive the multicast media stream.
在实际应用中, 业务提供方与业务接收方之间可能存在多段 IP 网络,每两段 IP网络之间可以有一个转发媒体流的设备或功能实体。 对于业务提供方发出的单播媒体流,转发媒体流的设备或功能实体可 以将单播媒体流转发给业务接收方或下一个转发媒体流的设备,但对 于业务提供方发出的组播媒体流, 可能由于多种原因, 转发媒体流的 设备或功能实体无法将组播媒体流正常转发,这样就会造成业务接收 方无法收到媒体流。 In practical applications, there may be multiple IP networks between the service provider and the service receiver. There may be one device or functional entity that forwards the media stream between each two IP networks. For a unicast media stream sent by the service provider, the device or functional entity that forwards the media stream may forward the unicast media stream to the service receiver or the next device that forwards the media stream, but for the multicast media stream sent by the service provider The device or functional entity that forwards the media stream cannot forward the multicast media stream normally for a variety of reasons. As a result, the service receiver cannot receive the media stream.
以图 1为例, 业务提供方与业务接收方之间存在两段 IP网络, 两段 IP网络之间设置有路由器等转发设备, 如果业务提供方向业务 接收方提供单播媒体流, 则路由器接收到单播媒体流后, 可以将单播 媒体流通过 IP网絡转发给业务接收方。 假设业务提供方与路由器之
间的 IP网络能够兼容组播媒体流, 路由器与业务接收方之间的 IP网 络不兼容组播媒体流, 且业务接收方既可接收单播媒体流, 又可接收 組播媒体流, 如果业务提供方向业务接收方提供组播媒体流, 则由于 路由器与业务接收方之间的 IP网络不兼容组播媒体流, 所以路由器 无法转发组播媒体流, 致使业务接收方无法接收到媒体流。 As shown in Figure 1, there are two IP networks between the service provider and the service receiver. A forwarding device such as a router is set up between the two IP networks. If the service provider provides a unicast media stream to the service receiver, the router receives the packet. After the unicast media stream, the unicast media stream can be forwarded to the service recipient through the IP network. Assume that the service provider and router The IP network can be compatible with the multicast media stream. The IP network between the router and the service receiver is not compatible with the multicast media stream, and the service receiver can receive both the unicast media stream and the multicast media stream. If the IP address of the router is not compatible with the multicast media stream, the router cannot forward the multicast media stream, so that the service receiver cannot receive the media stream.
所以, 在实际应用中, 目前的媒体流控制技术还不能完全保证业 务接收方能够正常的接收到媒体流。 Therefore, in practical applications, the current media stream control technology cannot fully guarantee that the service receiver can receive the media stream normally.
发明内容 Summary of the invention
本发明实施例要解决的技术问题在于, 提供一种媒体流控制方 法、媒体流转换设备及组播系统, 以实现业务接收方能够完全正常的 接收到媒体流的目的。 The technical problem to be solved by the embodiments of the present invention is to provide a media stream control method, a media stream conversion device, and a multicast system, so as to achieve the purpose that the service receiver can receive the media stream completely normally.
本发明实施例提供一种媒体流控制方法, 包括: 业务控制单元向 组播媒体流转换单元发出转换组播媒体流的请求;组播媒体流转换单 元接收到组播媒体流后 ,将组播媒体流转换为单播媒体流或新的组播 媒体流并向业务接收方发送。 An embodiment of the present invention provides a media flow control method, including: a service control unit sends a request for converting a multicast media stream to a multicast media stream conversion unit; and after receiving the multicast media stream, the multicast media stream conversion unit multicasts The media stream is converted to a unicast media stream or a new multicast media stream and sent to the service recipient.
本发明实施例还提供一种基于 NGN的媒体流控制方法, 包括: 应用功能实体 AF请求基于业务的策略决策功能实体 SPDF进行组播 控制; SPDF处理 AF的请求后, 向边界网关功能实体 BGF提出转换 组播媒体流的请求; BGF接收到组播媒体流后, 将组播媒体流转换 为单播媒体流或新的组播媒体流发送给业务接收方。 The embodiment of the present invention further provides an NGN-based media stream control method, including: applying a function entity AF to request a service-based policy decision function entity SPDF for multicast control; and after processing the AF request, the SPDF proposes to the border gateway function entity BGF The request for converting the multicast media stream; after receiving the multicast media stream, the BGF converts the multicast media stream into a unicast media stream or a new multicast media stream and sends the message to the service receiver.
本发明实施例还提供一种媒体流转换设备,包括:转换请求单元, 用于接收转换组播媒体流的请求; 组播媒体流接收单元, 用于接收组 播媒体流; 组播媒体流转换单元, 用于将组播媒体流转换为单播媒体 流或新的组播媒体流; 媒体流发送单元, 用于向业务接收方发送转换 后的单播媒体流或新的组播媒体流。 The embodiment of the present invention further provides a media stream conversion device, including: a conversion request unit, configured to receive a request for converting a multicast media stream; a multicast media stream receiving unit, configured to receive a multicast media stream; and a multicast media stream conversion a unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and the media stream sending unit, configured to send the converted unicast media stream or the new multicast media stream to the service receiver.
本发明实施例还提供一种 BGF, 包括: 转换请求单元, 用于接 收 SPDF发出的转换组播媒体流的请求; 组播媒体流接收单元, 用于 接收组播媒体流; 组播媒体流转换单元, 用于将组播媒体流转换为单 播媒体流或新的组播媒体流; 媒体流发送单元, 用于向业务接收方发
送转换后的单播媒体流或新的组播媒体流。 The embodiment of the present invention further provides a BGF, including: a conversion request unit, configured to receive a request for converting a multicast media stream sent by an SPDF; a multicast media stream receiving unit, configured to receive a multicast media stream; and a multicast media stream conversion a unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and a media stream sending unit, configured to send to the service receiver Send the converted unicast media stream or new multicast media stream.
本发明实施例还提供一种组播系统,包括业务接收方及媒体流提 供单元, 所述组播系统还包括: 组播转换设备, 用于接收转换组播媒 体流的请求及媒体流提供单元发出的组播媒体流,并将组播媒体流转 换为单播媒体流或新的组播媒体流向业务接收方发送; 业务控制单 元, 用于向组播转换设备发出转换组播媒体流的请求, 和 /或, 控制 媒体流提供单元发送媒体流, 和 /或, 控制组播转换设备进行组播媒 体流的转换, 和 /或, 与业务接收方进行业务协商。 The embodiment of the present invention further provides a multicast system, including a service receiver and a media stream providing unit, where the multicast system further includes: a multicast conversion device, configured to receive a request for converting a multicast media stream, and a media stream providing unit The multicast media stream is sent, and the multicast media stream is converted into a unicast media stream or a new multicast media stream is sent to the service receiver; the service control unit is configured to send a request for converting the multicast media stream to the multicast conversion device. And/or, controlling the media stream providing unit to send the media stream, and/or controlling the multicast conversion device to perform the conversion of the multicast media stream, and/or performing service negotiation with the service recipient.
本发明实施例还提供一种基于 NGN的组播系统, 包括业务接收 方及媒体流提供单元, 所述组播系统还包括: BGF、 AF、 SPDF及业 务提供方,其中, BGF用于接收 SPDF发出的转换组播媒体流的请求 及媒体流提供单元发出的组播媒体流,并将组播媒体流转换为单播媒 体流或新的组播媒体流向业务接收方发送;业务提供方用于与业务接 收方进行业务协商; AF用于获取组播媒体流转换的信息, 如果确定 需要对组播媒体流进行转换, 则向 SPDF发起进行组播媒体流转换的 请求; SPDF用于接收 AF发起的进行组播媒体流转换的请求后, 判 断是否允许进行转换, 如果允许, 则向 BGF请求进行转换。 The embodiment of the present invention further provides an NGN-based multicast system, including a service receiver and a media stream providing unit, where the multicast system further includes: a BGF, an AF, an SPDF, and a service provider, where the BGF is used to receive the SPDF. Sending a request for converting the multicast media stream and the multicast media stream sent by the media stream providing unit, and converting the multicast media stream into a unicast media stream or a new multicast media stream to be sent to the service receiver; the service provider is used by The service is negotiated with the service receiver. The AF is used to obtain the information of the multicast media stream conversion. If it is determined that the multicast media stream needs to be converted, the request for the multicast media stream conversion is initiated to the SPDF. After the request for multicast media stream conversion, it is determined whether the conversion is allowed, and if so, the BGF is requested to perform the conversion.
在本发明实施例中 ,可以将接收到的組播媒体流转换为单播媒体 流或新的组播媒体流, 这样可以保证媒体流能够在后续的 IP网络中 顺利的传输, 直至到达业务接收方为止。 所以, 本发明的实施例能够 保证业务接收方正常的接收到媒体流。 In the embodiment of the present invention, the received multicast media stream can be converted into a unicast media stream or a new multicast media stream, so that the media stream can be smoothly transmitted in the subsequent IP network until the service is received. Until now. Therefore, embodiments of the present invention can ensure that a service receiver receives a media stream normally.
附图说明 DRAWINGS
图 1为现有的提供媒体流服务的系统示意图; 1 is a schematic diagram of a system for providing a media stream service;
图 2为本发明系统的第一实施例的结构示意图; 2 is a schematic structural view of a first embodiment of the system of the present invention;
图 3为本发明方法的第一实施例的流程图; Figure 3 is a flow chart of a first embodiment of the method of the present invention;
图 4为本发明方法的第二实施例的流程图; Figure 4 is a flow chart of a second embodiment of the method of the present invention;
图 5为 RACS的架构图; Figure 5 is an architectural diagram of the RACS;
图 6为基于本发明系统的第二实施例的组播控制过程流程图; 图 Ί为基于本发明系统的第三实施例的组播控制过程流程图;
图 8为本发明实施例的组播系统应用在采用 IMS作为会话控制 和业务提供网络的 NGN中的第一具体功能架构图; 6 is a flowchart of a multicast control process according to a second embodiment of the system of the present invention; FIG. 3 is a flowchart of a multicast control process according to a third embodiment of the system of the present invention; 8 is a first specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention;
图 9为基于图 8所示的 NGN的组播控制过程流程图; 9 is a flowchart of a multicast control process based on the NGN shown in FIG. 8;
图 10为本发明实施例的组播系统应用在采用 IMS作为会话控制 和业务提供网络的 NGN中的第二具体功能架构图; 10 is a second specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention;
图 11为基于图 10所示的 NGN的组播控制过程流程图。 11 is a flow chart of a multicast control process based on the NGN shown in FIG.
具体实施方式 detailed description
下面结合附图, 对本发明的实施例进行详细说明。 The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图 2是本发明实施例的组播系统的结构示意图。 在这个系统中, 存在不支持组播的网络或者业务接收方。 如图 2所示, 这个系统包括 业务提供设备、 组播 /单播转换设备和业务接收方。 其中, 业务提供 设备包括业务控制单元和媒体流提供单元。业务提供设备可以为媒体 服务器。 2 is a schematic structural diagram of a multicast system according to an embodiment of the present invention. In this system, there are networks or service receivers that do not support multicast. As shown in Figure 2, this system includes service provider equipment, multicast/unicast conversion equipment, and service receivers. The service providing device includes a service control unit and a media stream providing unit. The service providing device can be a media server.
业务控制单元用于与业务接收方进行业务协商及处理业务接收 方的请求, 并根据业务接收方的请求对媒体流提供单元施加控制, 例 如发送或停止发送媒体流, 另外, 业务控制单元还可以根据与业务接 收方的协商结果及实际需要, 对组播 /单播转换设备进行控制。 The service control unit is configured to perform service negotiation with the service receiver and process the request of the service receiver, and apply control to the media stream providing unit according to the request of the service receiver, for example, send or stop sending the media stream, and the service control unit may also The multicast/unicast conversion device is controlled according to the negotiation result and actual needs of the service receiver.
媒体流提供单元用于提供媒体流, 提供的方式可以是组播或单 播。 The media stream providing unit is configured to provide a media stream, and the manner of providing may be multicast or unicast.
组播 /单播转换设备用于从业务提供设备获取组播媒体流, 并根 据业务控制单元的请求将组播媒体流转换为单播媒体流。 The multicast/unicast conversion device is configured to obtain a multicast media stream from the service providing device, and convert the multicast media stream into a unicast media stream according to the request of the service control unit.
业务提供设备和组播 /单播转换设备之间的网络是组播兼容网 络, 组播 /单播转换设备和业务接收方之间的网络可以是组播兼容网 络、 也可以是组播不兼容网络, 其中, 组播兼容网络是指能够支持组 播媒体流传输的网络,组播不兼容网络是指不支持组播媒体流传输的 网络。 另外, 业务接收方可以是支持組播功能的业务接收方, 也可以 是不支持组播功能的业务接收方。 The network between the service providing device and the multicast/unicast conversion device is a multicast compatible network, and the network between the multicast/unicast conversion device and the service receiver may be a multicast compatible network or may be multicast incompatible. The network, where the multicast compatible network refers to a network capable of supporting multicast media stream transmission, and the multicast incompatible network refers to a network that does not support multicast media stream transmission. In addition, the service receiver may be a service receiver that supports the multicast function, or a service receiver that does not support the multicast function.
在图 2中,业务接收方与业务控制单元使用业务信令进行业务协 商, 例如使用 SIP ( Session Initiation Protocol, 会话初始协议) 消息,
在业务协商过程中, 确定业务提供方式。 如果协商的结果是需要以组 播方式进行业务提供,但需要对媒体流进行组播到单播的转换, 则业 务控制单元进行后续的动作。 In FIG. 2, the service receiver and the service control unit use the service signaling to perform service negotiation, for example, using a SIP (Session Initiation Protocol) message. In the process of business negotiation, determine the way the service is provided. If the result of the negotiation is that the service is to be provided in multicast mode, but the media stream needs to be multicast to unicast, the service control unit performs subsequent actions.
如果业务控制单元确定需要向业务接收方以组播方式提供业务, 但需要对媒体流进行组播到单播的转换, 则业务控制单元与组播 /单 播转换设备进行交互, 以请求组播 /单播转换设备进行组播媒体流到 单播媒体流的转换操作。 在这个过程中, 业务控制单元将业务接收方 的媒体流接收地址、 端口提供给组播 /单播转换设备, 组播 /单播转换 设备分配 HDP ( User Datagram Protocol, 用户数据报文协议)端口号 并使用自身 IP地址进行组播 /单播的转换操作。组播 /单播转换设备从 业务提供设备获得组播媒体流, 并对组播媒体流进行转换操作, 即, 以自身 IP地址作为数据报文源地址, 以分配的端口为源端口; 以业 务接收方的媒体流接收地址为目的地址,以业务接收方的媒体流接收 端口为目的端口,将组播媒体流转换为单播媒体流并发送给业务接收 方。 If the service control unit determines that the service receiver needs to provide the service in multicast mode but needs to perform multicast to unicast conversion of the media stream, the service control unit interacts with the multicast/unicast conversion device to request multicast. The unicast conversion device performs a conversion operation of the multicast media stream to the unicast media stream. In this process, the service control unit provides the media stream receiving address and port of the service receiver to the multicast/unicast conversion device, and the multicast/unicast conversion device allocates the HDP (User Datagram Protocol) port. Number and use its own IP address for multicast/unicast conversion operations. The multicast/unicast conversion device obtains the multicast media stream from the service providing device, and performs the conversion operation on the multicast media stream, that is, the source IP address is used as the source address of the data packet, and the allocated port is used as the source port; The media stream receiving address of the receiver is the destination address, and the media stream receiving port of the service receiver is used as the destination port, and the multicast media stream is converted into a unicast media stream and sent to the service receiver.
图 3是本发明方法的第一实施例的流程图。 如图 3所示, 这个实 施例包括: Figure 3 is a flow chart of a first embodiment of the method of the present invention. As shown in Figure 3, this embodiment includes:
步骤 301: 业务接收方向业务提供设备的业务控制单元发出业务 请求, 请求消息可以是 SIP消息。 业务控制单元可以基于以下方式判 断以何种方式向业务接收方提供业务: Step 301: The service receiving unit sends a service request to the service control unit of the service providing device, and the request message may be a SIP message. The service control unit can determine in what way to provide services to the service recipient based on:
业务接收方在与业务控制单元进行业务协商过程中,将能力描述 提供给业务控制单元, 能力描述中可以说明是否支持组播能力等; 或 者 The service receiver provides the capability description to the service control unit during the service negotiation with the service control unit, and the capability description can indicate whether the multicast capability is supported, etc.;
业务接收方在使用业务前,通过例如开户时登记等方式向网络注 册了自身能力; 或者 The service receiver registers its own capabilities with the network by, for example, registering at the time of opening the account before using the service; or
业务控制单元通过查询网络部署信息,获得业务接收方路径上是 否存在不支持组播能力的网络段; 或者 The service control unit queries the network deployment information to obtain whether there is a network segment that does not support the multicast capability on the path of the service receiver; or
业务接收方在业务协商过程中不将能力描述提供给业务控制单 元, 但需要向网络提供设备标识或者软件标识, 业务控制单元基于设
备标识或者软件标识确定业务接收方的组播支持能力; 或者 业务控制单元获取是否发送组播媒体流的指示信息,如果所述指 示信息要求发送组播媒体流,则业务控制单元向业务接收方发送组播 媒体流。 The service receiver does not provide the capability description to the service control unit during the service negotiation process, but needs to provide the device identifier or software identifier to the network, and the service control unit is based on the The service identifier or the software identifier determines the multicast support capability of the service receiver; or the service control unit acquires the indication information of whether to send the multicast media stream, and if the indication information requires the multicast media stream to be sent, the service control unit sends the service to the service receiver. Send a multicast media stream.
业务控制单元可以根据上述任意一个方式确定向业务接收方提 供组播媒体流或单播媒体流。 The service control unit may determine to provide a multicast media stream or a unicast media stream to the service recipient according to any of the above manners.
若基于上述方式无法确定业务接收方的能力 ,则可以默认釆取下 述步骤进行组播控制。 If the capability of the service receiver cannot be determined based on the above method, the following steps can be taken to perform multicast control by default.
步驟 S302: 业务控制单元向业务接收方返回业务响应, 并要求 业务接收方提供接收媒体流的地址和端口信息。 Step S302: The service control unit returns a service response to the service receiver, and requests the service receiver to provide the address and port information of the received media stream.
步驟 S303: 收到业务控制单元的响应后, 业务接收方分配一个 用于接收媒体流的地址和端口,并在向业务控制单元再次发送的请求 消息中携带分配的地址和端口信息。 Step S303: After receiving the response from the service control unit, the service receiver allocates an address and a port for receiving the media stream, and carries the allocated address and port information in the request message that is sent again to the service control unit.
步驟 S304: 业务控制单元收到业务接收方接收媒体流的地址和 端口信息之后, 向组播 /单播转换设备请求执行组播媒体流向单播媒 体流的转换功能。这个请求消息中至少携带组播媒体流的组播业务地 址和端口以及业务接收方接收单播媒体流的地址和端口等信息。 Step S304: After receiving the address and port information of the media stream, the service control unit requests the multicast/unicast conversion device to perform a conversion function of the multicast media stream to the unicast media stream. The request message carries at least the multicast service address and port of the multicast media stream and the address and port of the service receiver receiving the unicast media stream.
步骤 S305: 组播 /单播转换设备收到业务控制单元发出的转换请 求后, 生成响应消息, 并将响应消息发送到业务控制单元, 具体由如 下步碟实现: Step S305: After receiving the conversion request sent by the service control unit, the multicast/unicast conversion device generates a response message, and sends the response message to the service control unit, which is specifically implemented by:
组播 /单播转换设备可以通过组播路由协议 ( 如 PIM-SM (protocol-independent multicast-sparse mode, 协议无关组播一 稀疏模式) )建立从媒体流提供单元到组播 /单播转换设备的组播媒体 流转发路径。 The multicast/unicast conversion device can establish a media stream providing unit to a multicast/unicast conversion device through a multicast routing protocol, such as a protocol-independent multicast-sparse mode (PIM-SM). Multicast media stream forwarding path.
分配一个用于发送单播媒体流的端口。 Assign a port for sending unicast media streams.
向业务控制单元反馈操作结果, 这个操作结果可以携带组播 /单 播转换设备准备发送单播媒体流的地址和 UDP端口号。 另外, 操作 结果也可以携带一个标识,这个标识用于表示组播媒体流的组播业务 地址和端口、 业务接收方接收单播媒体流的地址和端口与组播 /单播
转换设备用于发送单播媒体流的地址和端口之间的绑定关系,以便业 务接收方的后续请求等处理。 The operation result is fed back to the service control unit, and the result of the operation may carry the address and UDP port number of the unicast media stream to be sent by the multicast/unicast conversion device. In addition, the operation result may also carry an identifier, which is used to indicate the multicast service address and port of the multicast media stream, the address and port of the service receiver receiving the unicast media stream, and the multicast/unicast The conversion device is configured to send a binding relationship between the address and the port of the unicast media stream, so as to process subsequent requests of the service receiver and the like.
步驟 S306: 业务控制单元收到组播 /单播转换设备的响应后, 生 成向业务接收方的业务响应消息, 并将响应消息发送到业务接收方。 其中, 响应消息可以携带准备发送单播媒体流的地址和端口信息, 当 然, 也可以不携带上述信息, 仅指出网络侧完成业务发送准备即可。 Step S306: After receiving the response of the multicast/unicast conversion device, the service control unit generates a service response message to the service receiver, and sends the response message to the service receiver. The response message may carry the address and port information of the unicast media stream, and may not carry the foregoing information, and only indicates that the network side completes the service transmission preparation.
步骤 S307: 业务接收方在收到上述响应消息后, 进行接收单播 媒体流的准备, 并向业务控制单元请求发送媒体流。 Step S307: After receiving the response message, the service receiver performs preparation for receiving the unicast media stream, and requests the service control unit to send the media stream.
步驟 S308: 业务控制单元向组播 /单播转换设备请求开始进行组 播 /单播转换, 这个请求可以携带组播 /单播转换设备的用于发送单播 媒体流的地址和端口信息, 也可以携带步骤 S304所述的标识, 这样 可以指明对哪个组播媒体流进行组播 /单播转换。 Step S308: The service control unit requests the multicast/unicast conversion device to start multicast/unicast conversion, and the request may carry the address and port information of the multicast/unicast conversion device for sending the unicast media stream. The identifier described in step S304 may be carried, so that which multicast media stream is multicast/unicast converted.
步驟 S309: 组播 /单播转换设备将组播 /单播转换设备的用于发送 单播媒体流的地址和端口作为单播媒体流的源地址及源端口,并将业 务接收方接收媒体流的地址及端口作为单播媒体流的目的地址及目 的端口, 组播 /单播转换设备向业务控制单元反馈操作结果。 Step S309: The multicast/unicast conversion device uses the address and port of the multicast/unicast conversion device for sending the unicast media stream as the source address and source port of the unicast media stream, and receives the media stream from the service receiver. The address and port are used as the destination address and destination port of the unicast media stream, and the multicast/unicast conversion device feeds back the operation result to the service control unit.
步骤 S310: 业务控制单元检查媒体流提供单元是否已经开始提 供媒体流, 如果没有, 则请求媒体流提供单元开始提供媒体流。 媒体 流提供单元收到业务控制单元的请求后,可以向业务控制单元反馈操 作结果。 Step S310: The service control unit checks whether the media stream providing unit has started to provide the media stream, and if not, requests the media stream providing unit to start providing the media stream. After receiving the request from the service control unit, the media stream providing unit may feed back the operation result to the service control unit.
步驟 S311 : 业务控制单元向业务接收方反馈操作结果。 Step S311: The service control unit feeds back the operation result to the service receiver.
这样, 媒体流提供单元提供的组播媒体流经过组播 /单播转换设 备的转换后, 以单播媒体流方式提供给业务接收方。 In this way, the multicast media stream provided by the media stream providing unit is converted by the multicast/unicast conversion device and then provided to the service receiver in a unicast media stream.
需要说明的是, 上述实施例仅为本发明方法的一个实施方式, 在 实际应用中, 本发明的方法还有多种实施方式, 例如: It should be noted that the foregoing embodiment is only one embodiment of the method of the present invention. In practical applications, the method of the present invention has various embodiments, for example:
步驟 S310可以在步骤 S301之后的任意一个时间进行,这是因为, 媒体流提供单元发送的是组播媒体流,媒体流提供单元不需要了解业 务接收方的地址信息就可发出媒体流,业务接收方加入组播并不会影 响组播业务的正常进行。这种模式适用于以组播方式提供实时转播的
业务。 The step S310 can be performed at any time after the step S301. The media stream providing unit sends the multicast media stream, and the media stream providing unit can send the media stream without receiving the address information of the service receiver. Joining the multicast party does not affect the normal operation of the multicast service. This mode is suitable for providing real-time rebroadcast in multicast mode. Business.
在步骤 S304中, 如果存在多个組播 /单播转换设备或功能实体, 则业务控制单元可以根据多种条件选择一个组播 /单播转换设备或功 能实体, 例如, 根据业务接收方的位置信息、 组播 /单播转换设备的 负载信息等选择一个组播 /单播转换设备或功能实体。 In step S304, if there are multiple multicast/unicast conversion devices or functional entities, the service control unit may select a multicast/unicast conversion device or a functional entity according to various conditions, for example, according to the location of the service recipient. A multicast/unicast conversion device or functional entity is selected for information, load information of the multicast/unicast conversion device, and the like.
另外, 在实际的网络部署中, 组播 /单播转换设备可以设置于组 播兼容网络的边界网关中, 也可以独立的设置于组播兼容网络中, 如 果组播 /单播转换设备设置于组播兼容网络的边界网关中, 则媒体流 提供单元向组播 /单播转换设备提供的组播媒体流可以有效的减少組 播兼容网络的流量。 此外, 在图 3中, 业务接收方向业务控制单元第 一次发出业务请求时,就可以向业务控制单元提供单播媒体流的接收 地址及端口, 还可以同时请求业务开始。 业务控制单元向组播 /单播 转换设备第一次发出转换请求时, 可以同时请求开始组播 /单播转换。 业务控制单元向业务接收方可以只返回一次响应消息,业务接收方对 这个响应消息确认后, 就可以与媒体流提供单元进行交互,请求开始 提供组播媒体流。 In addition, in the actual network deployment, the multicast/unicast conversion device can be set in the border gateway of the multicast compatible network, or can be independently set in the multicast compatible network, if the multicast/unicast conversion device is set in In the border gateway of the multicast compatible network, the multicast media stream provided by the media stream providing unit to the multicast/unicast conversion device can effectively reduce the traffic of the multicast compatible network. In addition, in FIG. 3, when the service receiving unit sends a service request for the first time, the service control unit can provide the receiving address and port of the unicast media stream to the service control unit, and can simultaneously request the service start. When the service control unit sends a conversion request to the multicast/unicast conversion device for the first time, it can simultaneously request to start multicast/unicast conversion. The service control unit may return the response message only once to the service receiver, and after confirming the response message, the service receiver may interact with the media stream providing unit to request to start providing the multicast media stream.
图 4是本发明方法的第二实施例的流程图。 如图 4所示,这个实 施例包括: 4 is a flow chart of a second embodiment of the method of the present invention. As shown in Figure 4, this embodiment includes:
步骤 S401 , 业务接收方向业务控制单元发出业务请求, 业务清 求消息中可以携带业务接收方接收单播媒体流的地址和端口信息。 Step S401: The service receiving unit sends a service request to the service control unit, where the service clearing message can carry the address and port information of the unicast media stream.
业务控制单元可以基于以下方式判断以何种方式向业务接收方 提供业务: The service control unit can determine in what manner the service is provided to the service recipient based on the following means:
业务接收方可以在业务请求消息中携带自身能力描述,说明是否 支持组播能力; 或者 The service receiver may carry its own capability description in the service request message to indicate whether the multicast capability is supported; or
业务接收方使用业务前,通过例如开户时登记等其它方式向网络 注册了自身能力; 或者 Before the service receiver uses the service, it registers its own capabilities with the network through other means such as registration at the time of opening an account; or
业务控制单元通过查询网络部署信息,获得业务接收方路径上是 否存在不支持组播能力的网络段; 或者 The service control unit queries the network deployment information to obtain whether there is a network segment that does not support the multicast capability on the path of the service receiver; or
业务接收方在业务协商过程中不将能力描述提供给业务控制单
元, 但需要向网络提供设备标识或者软件标识, 业务控制单元可以基 于设备标识或者软件标识确定业务接收方的组播支持能力。 The service receiver does not provide the capability description to the service control list during the service negotiation process. The element, but needs to provide a device identifier or a software identifier to the network, and the service control unit may determine the multicast support capability of the service receiver based on the device identifier or the software identifier.
业务控制单元可以^^据上述任意一个方式确定向业务接收方提 供组播媒体流或单播媒体流。 The service control unit may determine to provide a multicast media stream or a unicast media stream to the service recipient according to any of the above methods.
若基于上述方式无法确定业务接收方的能力,则可以默认采取下 述步骤进行组播控制。 If the capability of the service receiver cannot be determined based on the above manner, the following steps can be taken to perform multicast control by default.
步骤 S402: 业务控制单元倩求组播 /单播转换设备执行组播媒体 流向单播媒体流的转换功能。这个请求消息中至少携带组播媒体流的 組播业务地址和端口以及业务接收方接收媒体流的地址和端口等信 息, 并且要求组播 /单播转换设备收到相应的组播媒体流后, 就开始 进行组播 /单播的转换。 Step S402: The service control unit requests the multicast/unicast conversion device to perform a conversion function of the multicast media stream to the unicast media stream. The request message carries at least the multicast service address and port of the multicast media stream and the address and port of the service receiver receiving the media stream, and the multicast/unicast conversion device is required to receive the corresponding multicast media stream. The multicast/unicast conversion begins.
步驟 S403: 组播 /单播转换设备收到业务控制单元发出的转换请 求后, 生成响应消息, 并将响应消息发送到业务控制单元, 具体由如 下步骤实现: Step S403: After receiving the conversion request sent by the service control unit, the multicast/unicast conversion device generates a response message, and sends the response message to the service control unit, which is implemented by the following steps:
组播 /单播转换设备可以通过组播路由协议 (如 PIM-SM )建立从 媒体流提供单元到组播 /单播转换设备的组播媒体流转发路径。 The multicast/unicast conversion device can establish a multicast media stream forwarding path from the media stream providing unit to the multicast/unicast converting device through a multicast routing protocol (such as PIM-SM).
分配一个用于发送单播媒体流的端口。 Assign a port for sending unicast media streams.
将組播 /单播转换设备用于发送单播媒体流的地址及端口作为单 播媒体流的源地址及源端口,并将业务接收方接收媒体流的地址及端 口作为单播媒体流的目的地址及目的端口。 需要说明的是, 这个转换 操作在收到组播媒体流之后应当自动开始进行。 The multicast/unicast conversion device is used to send the address and port of the unicast media stream as the source address and source port of the unicast media stream, and the destination receiver receives the address and port of the media stream as the unicast media stream. Address and destination port. It should be noted that this conversion operation should start automatically after receiving the multicast media stream.
向业务控制单元反馈操作结果 , 这个操作结果可以携带组播 /单 播转换设备用于发送单播媒体流的地址和端口信息, 另外,操作结果 也可以携带一个标识,这个标识用于表示组播媒体流的组播业务地址 和端口、 业务接收方接收媒体流的地址和端口与组播 /单播转换设备 用于发送单播媒体流的地址及端口之间的绑定关系,以便业务接收方 的后续请求等处理。 The operation result is fed back to the service control unit, and the operation result may carry the address and port information of the unicast media stream, and the operation result may also carry an identifier, which is used to indicate the multicast. The multicast service address and port of the media stream, the address and port of the service receiver receiving the media stream, and the binding relationship between the address and port used by the multicast/unicast conversion device to send the unicast media stream, so that the service receiver Subsequent requests and so on.
步驟 S404: 业务控制单元向业务接收方返回业务请求响应, 这 个响应消息中可以携带组播 /单播转换设备用于发送单播媒体流的地
址和端口信息, 但不限于这些信息。 Step S404: The service control unit returns a service request response to the service receiver, where the response message may carry the multicast/unicast conversion device for transmitting the unicast media stream. Address and port information, but not limited to this information.
步骤 S405: 业务接收方向业务控制单元发送确认信息, 双方完 成业务协商过程。 Step S405: The service receiving direction sends a confirmation message to the service control unit, and the two parties complete the service negotiation process.
步骤 S406: 业务控制单元指示媒体流提供单元发送组播媒体流, 媒体流提供单元可以向业务控制单元反馈操作结果。 Step S406: The service control unit instructs the media stream providing unit to send the multicast media stream, and the media stream providing unit may feed back the operation result to the service control unit.
这样, 媒体流提供单元提供的组播媒体流经过组播 /单播转换设 备的转换后, 以单播媒体流方式提供给业务接收方。 In this way, the multicast media stream provided by the media stream providing unit is converted by the multicast/unicast conversion device and then provided to the service receiver in a unicast media stream.
需要说明的是, 如果业务接收方可以接收组播媒体流, 而流向业 务接收方的组播媒体流必须经过组播 /单播转换设备的监控, 则组播 / 单播转换设备可以将业务提供设备发出的组播媒体流转换为新的组 播媒体流, 再将新的组播媒体流发送给业务接收方。 It should be noted that if the service receiver can receive the multicast media stream and the multicast media stream flowing to the service receiver must be monitored by the multicast/unicast conversion device, the multicast/unicast conversion device can provide the service. The multicast media stream sent by the device is converted into a new multicast media stream, and the new multicast media stream is sent to the service receiver.
在上述实施例中,媒体流提供单元只需要提供组播媒体流, 不需 与业务接收方或组播 /单播转换设备之间进行信令交互 , 媒体流提供 单元的负载因此会减小。 另外, 如果业务控制单元与媒体流提供单元 都设置于一个业务提供设备内,并由业务控制单元与业务接收方进行 协商, 协商的内容包括媒体流提供方式、 提供地址等, 进而确定如何 向业务接收方提供媒体流,业务提供设备对业务接收方的控制能力因 此会得到加强。 此外, 如果组播 /单播转换设备位于组播兼容网络的 边界上并在物理位置上靠近业务接收方, 则媒体流提供单元向組播 / 单播转换设备提供组播媒体流时,可以有效的减少组播兼容网络内的 流量 In the above embodiment, the media stream providing unit only needs to provide a multicast media stream, and does not need to perform signaling interaction with the service receiver or the multicast/unicast conversion device, and the load of the media stream providing unit is thus reduced. In addition, if both the service control unit and the media stream providing unit are disposed in a service providing device, and the service control unit negotiates with the service receiver, the content of the negotiation includes the media stream providing mode, providing the address, etc., thereby determining how to deliver the service. The receiver provides the media stream, and the ability of the service provider to control the receiver of the service is thus enhanced. In addition, if the multicast/unicast conversion device is located on the boundary of the multicast compatible network and is close to the service receiver in the physical location, the media stream providing unit can effectively provide the multicast media stream to the multicast/unicast conversion device. Reduce traffic within a multicast-compatible network
图 2-4所示的实施例可以应用在任何一个 IP网络, 下面以 NGN ( Next Generation Network, 下一代网给)为例, 再对本发明实施例 进行说明。 The embodiment shown in FIG. 2-4 can be applied to any one of the IP networks. The following is an example of the NGN (Next Generation Network).
图 5为 RACS ( Resource and Admission Control Subsystem, 资源 及许可控制子系统) 的架构图。 RACS 是 NGN 中的一个子系统, TISPAN文档 ETSI ES 282 003 V<1.6.6> (2005-10)对 RACS架构进行 了详细描述。 RACS可以为业务应用提供资源和许可控制支持。 Figure 5 shows the architecture of the RACS (Resource and Admission Control Subsystem). RACS is a subsystem in NGN, and the RACS architecture is described in detail in the TISPAN document ETSI ES 282 003 V<1.6.6> (2005-10). RACS provides resource and license control support for business applications.
需要说明的是, 在实际应用中, 图 5 所示的 AF ( Application
Function, 应用功能) 可以不是一个独立的功能实体, 而可以是与 RACS有交互功能的任何一个功能实体或所有功能实体的集合。 例如 在 IMS ( IP Multimedia Subsystem, IP多媒体子系统)中, 代理 CSCF ( Call Session Control Function, 呼叫会话控制功能)与 RACS交互 时就具有 AF的功能。 It should be noted that in practical applications, the AF shown in Figure 5 (Application Function, application function) may not be a separate functional entity, but may be any functional entity or a collection of all functional entities that interact with RACS. For example, in the IMS (IP Multimedia Subsystem), the proxy CSCF (Call Session Control Function) has the function of AF when interacting with the RACS.
AF可以采用多种方式获取进行组播控制需要的信息并进行相应 的控制, 采用的方式可以包括: The AF can obtain the information required for multicast control and perform corresponding control in multiple ways. The methods used may include:
第一种方式: 终端(即业务接收方)与组播功能提供方(即业务 提供方或业务提供设备 )使用信令(例如 SIP消息)协商机制协商组 播业务使用的组播业务地址和端口,协商信令可以通过 AF进行转发, AF可以通过查看协商报文中的业务描述信息得到进行组播控制的必 要信息, 例如查看 SIP 消息中携带的 SDP ( Session Description Protocol, 会话描述协议) 负载得到组播业务地址和端口; The first mode: the terminal (ie, the service receiver) and the multicast function provider (ie, the service provider or the service providing device) negotiate the multicast service address and port used by the multicast service by using a signaling (eg, SIP message) negotiation mechanism. The negotiation signaling can be forwarded by the AF. The AF can obtain the necessary information for multicast control by viewing the service description information in the negotiation packet. For example, the SDP (Session Description Protocol) load carried in the SIP message is obtained. Multicast service address and port;
第二种方式: 组播功能提供方在收到终端发出的组播业务请求 后, 向 AF请求进行组播控制, 并提供细节信息。 在这种方式中, 不 需要协商报文经过 AF, 即使协商报文经过 AF, AF也不需要理解协 商报文的内容。 The second mode: After receiving the multicast service request sent by the terminal, the multicast function provider performs multicast control on the AF request and provides detailed information. In this mode, the negotiation message does not need to pass through the AF. Even if the negotiation message passes through the AF, the AF does not need to understand the content of the negotiation message.
AP为了完成必要的组播控制过程, 必须获得下述信息或者下述 信息的组合: 组播业务地址和端口、 发送组播业务的地址和端口、 终 端接收业务的地址和端口。这些信息可以通过查看协商报文内容获得 或者由组播功能提供方提供。 In order to complete the necessary multicast control process, the AP must obtain the following information or a combination of the following information: the multicast service address and port, the address and port to send the multicast service, and the address and port of the terminal receiving the service. This information can be obtained by viewing the content of the negotiation message or by the multicast function provider.
AF在获得需要进行组播控制的消息后, 为了确保组播媒体流经 过 BGF ( Border Gateway Function, 边界网关功能), AF可以采用如 下两种方式进行组播控制: After the AF obtains the message that needs to be controlled by the multicast, in order to ensure that the multicast media flows through the BGF (Border Gateway Function), the AF can perform multicast control in the following two ways:
第一种方式: The first way:
AF请求 SPDF ( Service-based Policy Decision Function, 基于业 务的策略决策功能)进行组播控制, 所述请求由 SPDF处理后, SPDF 向 BGF提出请求,这个请求可以要求 BGF分配用于发送转换后的单 播媒体流的地址和端口并建立到组播媒体流发送地址的组播转发路
径, 如果 BGF收到组播媒体流, BGF将组播媒体流转换为单播媒体 流并发送给终端, BGF 可以以这样的方式进行转换, 即, 以分配的 用于发送转换后的单播媒体流的地址和端口为单播媒体流的源地址 和端口, 以终端接收单播媒体流的地址和端口为目的地址和端口。如 果有多个终端请求同一个组播媒体流, 则 BGF需要为每一个组播媒 体流建立相关的终端列表,这个列表可以以终端接收单播媒体流的地 址和端口作为区分。 如果有新的终端加入到组播媒体流组中, 则在终 端列表中添加相应的表项; 如果有终端退出媒体流, 则从终端列表中 删除相应的表项。 在进行媒体流转换时, BGF从终端列表中查询终 端接收媒体流的地址和端口, 并进行相应的业务转发。 The AF request SPDF (Service-based Policy Decision Function) performs multicast control. After the request is processed by the SPDF, the SPDF makes a request to the BGF, and the request may request the BGF to allocate the converted single. Broadcast the address and port of the media stream and establish a multicast forwarding path to the multicast media stream sending address If the BGF receives the multicast media stream, the BGF converts the multicast media stream into a unicast media stream and sends it to the terminal. The BGF can perform the conversion in such a manner that the allocated unicast is used for sending the converted unicast. The address and port of the media stream are the source address and port of the unicast media stream, and the terminal receives the address and port of the unicast media stream as the destination address and port. If multiple terminals request the same multicast media stream, the BGF needs to establish a related terminal list for each multicast media stream. This list can be distinguished by the address and port of the terminal receiving the unicast media stream. If a new terminal is added to the multicast media stream group, the corresponding entry is added to the terminal list. If the terminal exits the media stream, the corresponding entry is deleted from the terminal list. During the media stream conversion, the BGF queries the terminal to receive the address and port of the media stream from the terminal list, and performs corresponding service forwarding.
BGF完成单播地址和端口的分配后, 需要通过 SPDF向 AF反馈 分配的结果, 这样, AF可以根据控制结果修改业务协商过程的报文, 以保证业务协商过程的正确完成,这种情况适合于业务协商报文经过 AF的情况。另夕卜, AF也可以向发起组播控制的请求方反馈分配结果, 以使发起组播控制的请求方可以采取其它方式向终端通知新的业务 地址。 After the BGF completes the unicast address and port assignment, the SPDF needs to report the result of the AF feedback to the AF. In this way, the AF can modify the packet of the service negotiation process according to the control result to ensure the correct completion of the service negotiation process. The status of the service negotiation packet passing through the AF. In addition, the AF may also feed back the allocation result to the requesting party that initiates the multicast control, so that the requesting party that initiates the multicast control may otherwise notify the terminal of the new service address.
第二种方式: The second way:
AF请求 SPDF进行组播控制 , 所述请求由 SPDF处理, SPDF向 BGF提出请求,这个请求消息中可以携带一个 SPDF分配的組播业务 地址和端口, 若 SPDF未分配组播业务地址和端口 ,则可以要求 BGF 分配一个组播业务地址和端口。 在实际应用中, BGF 可以向一个组 播组管理设备请求分配组播业务地址和端口,所述组播组管理设备用 于对可用的组播业务地址和端口进行统一管理, 以避免冲突。 另夕卜, 还可以要求 BGF分配一个用于发送转换后的新的组播媒体流的地址 和端口并建立到发送组播媒体流的地址和端口的组播转发路径,如果 BGF收到组播媒体流, BGF就可以对组播媒体流进行组播转换, 转 换的结果是:转换后的组播媒体流以新分配的用于发送转换后的新的 组播媒体流的地址和端口为源地址和端口,以新分配的组播业务地址 和端口为目的地址和端口, 并将转换后的新的组播媒体流发送给终
端。 由于分配了新的组播业务地址和端口, 而且組播业务地址和端口 可以经 SPDF和 AF反馈给终端,所以终端可以加入这个新的组播组, 其中 , 终端可以以 IGMP ( Internet Group Management Protocol, 互联 网组管理协议 )与 RCEF ( Resource Control Enforcement Function, 资 源控制执行功能) 交互并要求加入所述组播组, RCEF可以使用组 播路由协议建立到 BGF的组播转发路径。 The AF requests the SPDF to perform multicast control. The request is processed by the SPDF, and the SPDF makes a request to the BGF. The request message may carry a multicast service address and port allocated by the SPDF. If the SPDF does not allocate a multicast service address and port, The BGF can be required to assign a multicast service address and port. In an actual application, the BGF may request a multicast service address and a port to be allocated to a multicast group management device, where the multicast group management device is used to uniformly manage available multicast service addresses and ports to avoid conflicts. In addition, the BGF may be required to allocate an address and a port for transmitting the converted new multicast media stream and establish a multicast forwarding path to the address and port for sending the multicast media stream, if the BGF receives the multicast. The media stream, the BGF can perform multicast conversion on the multicast media stream, and the converted result is: the converted multicast media stream is sourced by the newly allocated address and port for sending the converted new multicast media stream. Address and port, with the newly assigned multicast service address and port as the destination address and port, and send the converted new multicast media stream to the end End. The terminal can join the new multicast group because the new multicast service address and port are allocated, and the multicast service address and port can be fed back to the terminal via SPDF and AF. The terminal can use IGMP (Internet Group Management Protocol). The Internet Group Management Protocol interacts with the RCEF (Resource Control Enforcement Function) and requests to join the multicast group. The RCEF can establish a multicast forwarding path to the BGF by using the multicast routing protocol.
BGF 在完成新的组播媒体流的组播业务地址和端口、 用于发送 转换后的新的组播媒体流的地址和端口的分配后, 需要通过 SPDF向 AF反馈分配的结果, 这样, AF可以修改业务协商过程的报文, 以使 终端得到正确的业务发送地址, 从而可以发起正确的组播加入过程, 这种情况适合于业务协商报文经过 AF的情况。 另外, AF也可以向 发起组播控制的请求方反馈分配结果,以使发起组播控制的请求方可 以采取其它方式向终端通知新的业务地址。 After the BGF completes the multicast service address and port of the new multicast media stream and allocates the address and port of the converted new multicast media stream, the BGF needs to distribute the result to the AF feedback through the SPDF. Thus, the AF The packet of the service negotiation process can be modified to enable the terminal to obtain the correct service sending address, so that the correct multicast joining process can be initiated. This situation is suitable for the case where the service negotiation packet passes the AF. In addition, the AF may also feed back the allocation result to the requesting party that initiates the multicast control, so that the requesting party that initiates the multicast control may otherwise notify the terminal of the new service address.
下面对本发明组播系统的第二实施例进行说明。 组播系统包括 AF、 SPDF, BGF、 业务提供方和组播功能提供方。 其中, 业务提供 方与终端进行业务协商, 终端可以请求业务提供方提供组播服务; AF可以通过多种方式获取进行组播转换的信息, 如果需要对组播媒 体流进行组播转换, 则请求 SPDF进行组播转换; SPDF接收 AJF的 组播转换请求并进行策略判断和资源检查,以决定是否允许完成相应 的转换, 如果允许, 则请求 BGF完成具体的组播转换操作; BGF用 于建立到组播功能提供方的组播转发路径 ,并将从组播功能提供方接 收到的组播媒体流转换成单播媒体流向终端发送, 在这个过程中, 可 以分配用于转发媒体流的地址和端口等。 Next, a second embodiment of the multicast system of the present invention will be described. The multicast system includes AF, SPDF, BGF, service provider and multicast function provider. The service provider and the terminal perform service negotiation, and the terminal may request the service provider to provide the multicast service. The AF may obtain the information for performing the multicast conversion in multiple manners. If the multicast media stream needs to be converted, the request is performed. SPDF performs multicast conversion; SPDF receives AJF multicast conversion request and performs policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, the BGF is requested to complete a specific multicast conversion operation; BGF is used to establish The multicast forwarding path of the multicast function provider, and converting the multicast media stream received from the multicast function provider into a unicast media stream, and sending the address to the terminal for forwarding the media stream in the process Port, etc.
图 6为上述系统的第二实施例的组播控制过程流程图。如图 6所 示, 包括: Figure 6 is a flow chart of the multicast control process of the second embodiment of the above system. As shown in Figure 6, it includes:
步骤 S601 : AF向 SPDF发送组播控制请求, 所述请求携带组播 业务地址和端口、发送组播业务的地址和端口、 终端接收媒体流的地 址和端口等信息的全部或者上述信息的组合。 Step S601: The AF sends a multicast control request to the SPDF, where the request carries all the information of the multicast service address and port, the address and port for transmitting the multicast service, the address and port of the terminal receiving the media stream, or the combination of the foregoing information.
步骤 S602: SPDF根据 AF的请求构造向 BGF的转换请求, 以请
求 BGF进行组播到单播的转换操作, 这个请求由 BGF进行处理, 其 中至少携带组播业务地址和端口、发送组播业务的地址和端口、终端 接收媒体流的地址和端口等信息的全部或者上述信息的组合。 BGF 收到上述请求后, 分配用于发送单播媒体流的地址和端口, 并准备进 行组播到单播的转换操作,即,收到组播媒体流之后,进行如下转换, 以所分配的发送单播媒体流的地址和端口作为单播媒体流源地址和 端口, 以终端接收单播媒体流的地址和端口作为目的地址和端口, 将 转换后的单播媒体流向终端发送。如果有多个终端请求同一个组播媒 体流, 则 BGF可以为每一个组播媒体流建立相关的终端列表, 这个 列表以终端接收单播媒体流的地址和端口作为区分。 如果新增终端, 则在表中添加相应的表项; 如果终端退出媒体流, 则从表中删除对应 的表项。 在进行媒体流转换时, BGF从媒体流的组播业务地址和端 口对应表项中取得终端接收单播媒体流的地址和端口,并进行相应的 媒体流转发。 Step S602: SPDF constructs a conversion request to the BGF according to the request of the AF, to request The BGF performs a multicast-to-unicast conversion operation. The request is processed by the BGF, and at least the multicast service address and port, the address and port for transmitting the multicast service, and the address and port of the terminal receiving the media stream are all required. Or a combination of the above information. After receiving the above request, the BGF allocates an address and a port for sending the unicast media stream, and prepares a multicast to unicast conversion operation. After receiving the multicast media stream, the BGF performs the following conversion to allocate the The address and port of the unicast media stream are sent as the unicast media stream source address and port, and the terminal receives the address and port of the unicast media stream as the destination address and port, and sends the converted unicast media stream to the terminal. If multiple terminals request the same multicast media stream, the BGF can establish a related terminal list for each multicast media stream. This list is distinguished by the address and port of the terminal receiving the unicast media stream. If a terminal is added, the corresponding entry is added to the table. If the terminal exits the media stream, the corresponding entry is deleted from the table. During the media stream conversion, the BGF obtains the address and port of the terminal receiving the unicast media stream from the multicast service address and the port correspondence entry of the media stream, and performs corresponding media stream forwarding.
步骤 S603: BGF在完成上述准备后, 使用组播路由协议建立到 组播功能提供方的组播转发路径,其中,组播路由协议可以为 PIM-SM 协议、 DVMRP ( Distance Vector Multicast Routing Protocol , 巨离向量 组播路由协议 )或 MOSPF ( Multicast Open Shortest Path First, 组播 最短路经优先协议)等。 Step S603: After completing the foregoing preparation, the BGF establishes a multicast forwarding path to the multicast function provider by using a multicast routing protocol, where the multicast routing protocol may be a PIM-SM protocol or a DVMRP (Distance Vector Multicast Routing Protocol). Off-network multicast routing protocol) or MOSPF (Multicast Open Shortest Path First).
步骤 S604: BGF完成上述准备之后, 向 SPDF反馈请求响应, 其中可以携带所分配的发送单播媒体流的地址和端口。 Step S604: After completing the foregoing preparation, the BGF feeds back a response request to the SPDF, where the address and port of the allocated unicast media stream can be carried.
步骤 S605: SPDF向 AF反馈请求响应,其中至少携带 BGF分配 的发送单播媒体流的地址和端口。 Step S605: The SPDF feeds back a response request to the AF, where at least the address and port of the unicast media stream allocated by the BGF are carried.
经过以上步骤后, AF获得了 BGF分配的发送单播媒体流的地址 和端口, AF可以根据业务需要做不同的处理, 例如: After the above steps, the AF obtains the address and port of the unicast media stream that is allocated by the BGF. The AF can perform different processing according to the service requirements, for example:
如果 AF是经过分析业务协商信令获得的组播控制信息, 则需要 修改协商报文的业务地址信息, 以使终端获得新的业务发送地址; 如果 AF是接收其它功能实体的请求进行组播控制, 则需要向所 述功能实体反馈控制结果,所述结果中可以携带所分配的业务转发地
址和端口。 If the AF is the multicast control information obtained by analyzing the service negotiation signaling, the service address information of the negotiation packet needs to be modified, so that the terminal obtains a new service sending address. If the AF is receiving the request of other functional entities, the multicast control is performed. And, the control result needs to be fed back to the functional entity, where the result may carry the allocated service forwarding place Address and port.
经过上述处理后, 终端获得的业务提供地址是 BGF分配的发送 单播媒体流的地址和端口,终端在自身的接收单播媒体流的地址和端 口等待接收单播媒体流。另夕卜, BGF建立了从组播功能提供方到 BGF 的组播转发路径, 当组播媒体流从组播功能提供方发出后被 BGF所 接收时, BGF执行媒体流转换操作, 即, 以分配的发送单播媒体流 的地址和端口作为单播媒体流的源地址和端口,以终端接收单播媒体 流的地址和端口作为单播媒体流的目的地址和端口,并将转换后的单 播媒体流向终端发送。 这样, 媒体流在组播功能提供方和 BGF之间 是组播媒体流, 在 BGF和终端之间是单播媒体流。 After the foregoing processing, the service providing address obtained by the terminal is the address and port of the unicast media stream allocated by the BGF, and the terminal waits to receive the unicast media stream at the address and port of the receiving unicast media stream. In addition, the BGF establishes a multicast forwarding path from the multicast function provider to the BGF. When the multicast media stream is received by the BGF after being sent by the multicast function provider, the BGF performs a media stream conversion operation, that is, The address and port of the allocated unicast media stream are used as the source address and port of the unicast media stream, and the terminal receives the address and port of the unicast media stream as the destination address and port of the unicast media stream, and converts the converted single The broadcast media stream is sent to the terminal. Thus, the media stream is a multicast media stream between the multicast function provider and the BGF, and is a unicast media stream between the BGF and the terminal.
BGF建立到组播功能提供方的过程是使用组播路由协议进行的 , 因此, 如果有多个终端请求同一个組播媒体流,路由建立过程只需要 进行一次就可以了, 后续的请求不会导致多次路由建立请求。 SPDF 在进行资源预留请求时,可以根据某体流組播业务地址和端口及媒体 流源地址和端口判断是否是同一个媒体流, 如果是, 则在核心网侧不 需要对同一个组播媒体流进行多次预留请求, 这样可以简化流程。 The process of establishing the BGF to the multicast function provider is performed by using the multicast routing protocol. Therefore, if multiple terminals request the same multicast media stream, the route establishment process only needs to be performed once, and subsequent requests will not be performed. Causes multiple route establishment requests. When performing a resource reservation request, the SPDF can determine whether it is the same media stream according to a certain flow stream multicast service address and port and the media stream source address and port. If yes, the same multicast is not required on the core network side. The media stream makes multiple reservation requests, which simplifies the process.
对于请求同一个组播媒体流的终端而言, BGF 需要为每一个请 求分配一个新的地址和端口。 如果接入网侧存在可用的地址池, 则可 以从可用的地址池中分配地址和端口。 当然, 反馈给 AF的结果必须 与这里的选择结果一致。 For terminals requesting the same multicast media stream, the BGF needs to assign a new address and port to each request. If there is an available address pool on the access network side, the address and port can be allocated from the available address pool. Of course, the results fed back to AF must match the results of the selection here.
在上述流程中,如果 AF向 RACS的组播控制请求是分阶段进行 的, 即, 第一次请求只是请求 RACS做好组播 /单播转换的准备, 但 并不一定要求 BGF加入组播组,则 BGF到组播功能提供方的组播路 径建立过程此时可以不进行。 当 AF 第二次请求组播 /单播转换开始 时, BGF可以再建立到组播功能提供方的组播转发路径并进行相应 的组播 /单播转换操作。 In the above process, if the AF multicast control request to the RACS is performed in stages, that is, the first request only requests the RACS to prepare for multicast/unicast conversion, but does not necessarily require the BGF to join the multicast group. The multicast path establishment process from the BGF to the multicast function provider may not be performed at this time. When the AF requests the multicast/unicast conversion to start for the second time, the BGF can establish a multicast forwarding path to the multicast function provider and perform corresponding multicast/unicast conversion operations.
需要说明的是, 只要组播控制过程在会话交互建立之前完成, 那 么上述实施例可能的变化都是允许的, 例如, AF向 SPDF的组播控 制请求和资源预留过程以一个请求传递给 SPDF也是可以的。
下面对本发明组播系统的第三实施例进行说明。 组播系统包括It should be noted that, as long as the multicast control process is completed before the session interaction is established, possible changes in the foregoing embodiments are allowed. For example, the AF multicast control request and the resource reservation process to the SPDF are delivered to the SPDF by a request. it is also fine. A third embodiment of the multicast system of the present invention will now be described. Multicast system includes
AF、 SPDF、 BGF、 A-RACF ( Access-Resource and Admission Control Function, 接入 -资源及许可控制功能)、 RCEF、 业务提供方和组播功 能提供方, 其中, 业务提供方与终端进行业务协商, 以请求业务提供 方提供组播服务; AF可以通过多种方式获得进行组播转换的信息, 如果需要对组播媒体流进行组播转换, 则请求 SPDF进行组播转换; SPDF接收 AF的组播转换请求并进行策略判断和资源检查, 以决定 是否允许完成相应的转换, 如果允许, 则请求 BGF完成具体的组播 转换操作; BGF用于建立到组播功能提供方的组播转发路径; SPDF 可以向 A-RACF发送请求, 并由 A-RACF请求 RCEF加入分配的新 的组播组, RCEF接收所述请求, 并使用组播路由协议建立到 BGF 的组播转发路径; BGF将从组播功能提供方接收到的组播媒体流转 换为新的组播媒体流, 并向终端发送, 在这个过程中, 可以分配用于 转发媒体流的地址和端口等。 AF, SPDF, BGF, A-RACF (Access-Resource and Admission Control Function), RCEF, service provider and multicast function provider, where the service provider negotiates with the terminal The request service provider provides the multicast service; the AF can obtain the information for multicast conversion in multiple ways. If the multicast media stream needs to be converted, the SPDF is requested to perform the multicast conversion; Broadcasting the request and performing policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, the BGF is requested to complete a specific multicast conversion operation; the BGF is used to establish a multicast forwarding path to the multicast function provider; The SPDF can send a request to the A-RACF, and the A-RACF requests the RCEF to join the assigned new multicast group, the RCEF receives the request, and establishes a multicast forwarding path to the BGF using the multicast routing protocol; The multicast media stream received by the broadcast function provider is converted into a new multicast media stream and sent to the terminal, in the process It may be allocated for forwarding address and port of the media stream, and the like.
图 Ί为上述系统的第三实施例的组播控制过程流程图。如图 7所 示, 包括: Figure 流程图 is a flow chart of the multicast control process of the third embodiment of the above system. As shown in Figure 7, it includes:
步驟 S701 : AF向 SPDF发送組播控制请求, 所述请求携带组播 业务地址和端口、发送组播业务的地址和端口、终端接收媒体流的地 址和端口等信息的全部或者上述信息的组合。 Step S701: The AF sends a multicast control request to the SPDF, where the request carries all the information of the multicast service address and port, the address and port for transmitting the multicast service, the address and port of the terminal receiving the media stream, or the combination of the foregoing information.
步驟 S702: SPDF根据 AF的请求构造向 BGF的转换请求, 以请 求 BGF进行组播到组播的转换操作, 这个请求由 BGF进行处理, 其 中至少携带组播业务地址和端口、发送组播业务的地址和端口、终端 接收媒体流的地址和端口等信息的全部或者上述信息的组合,这个请 求还可以携带 SPDF分配的新的组播业务地址和端口,如果请求中没 有携带这些信息, SPDF可以指定由 BGF进行分配。 BGF收到上述 请求后, 分配一个新的组播业务地址和端口, 另外, BGF 需要分配 用于发送组播媒体流的地址和端口,并准备进行组播到新的组播的转 换操作, 即, 收到组播媒体流之后, 进行如下换, 以所分配的发送新 的组播媒体流的地址和端口作为新的组播媒体流的源地址和端口,以
所分配的新的组播业务地址和端口为目的地址和端口并进行业务转 发。 Step S702: The SPDF constructs a conversion request to the BGF according to the request of the AF, to request the BGF to perform a multicast-to-multicast conversion operation, and the request is processed by the BGF, where at least the multicast service address and port are carried, and the multicast service is sent. The address and the port, the terminal receiving the information of the address and port of the media stream, or the combination of the above information, the request may also carry the new multicast service address and port allocated by the SPDF. If the request does not carry the information, the SPDF may specify Assigned by BGF. After receiving the above request, the BGF allocates a new multicast service address and port. In addition, the BGF needs to allocate an address and port for sending the multicast media stream, and prepares to perform multicast to new multicast conversion operation, that is, After receiving the multicast media stream, the following is performed, where the address and port of the newly transmitted multicast media stream are allocated as the source address and port of the new multicast media stream, The assigned new multicast service address and port are the destination address and port and forward the service.
上述新的组播业务地址和端口可以由 BGF分配 , 也可以由 BGF 向其它组播组管理实体请求获得,所述组播组管理实体管理组播组的 地址和端口的分配并保证没有冲突存在。 如果由 BGF分配新的组播 业务地址和端口, 则需要有机制保证不会有冲突发生, 例如, BGF 分配新的组播业务地址和端口后,向一个统一的实体注册分配结果并 保证没有与其他组播业务地址和端口冲突。 另夕卜, 上述新的组播业务 地址和端口也可以由 SPDF分配, 并在请求消息中携带给 BGF使用。 The new multicast service address and port may be allocated by the BGF, or may be requested by the BGF to other multicast group management entities. The multicast group management entity manages the allocation of the address and port of the multicast group and ensures that no conflict exists. . If a new multicast service address and port are allocated by the BGF, a mechanism is required to ensure that no conflict occurs. For example, after the BGF allocates a new multicast service address and port, the BGF registers the result with a unified entity and guarantees that there is no Other multicast service addresses and port conflicts. In addition, the above new multicast service address and port may also be allocated by the SPDF and carried to the BGF in the request message.
上述组播业务地址和端口的分配可以称为组播组管理,对于是否 需要分配新的组播业务地址和端口可以由 SPDF或者 BGF来决定, 例如: The allocation of the above-mentioned multicast service address and port can be called multicast group management. Whether to allocate a new multicast service address and port can be determined by SPDF or BGF, for example:
如果组播业务地址和端口的分配由 SPDF管理, 则 SPDF可以根 据已经执行的策略决定是否需要分配新的组播业务地址和端口,若已 经有终端在使用同一个媒体流,则 SPDF可以不分配新的组播业务地 址和端口, 仅在请求消息中携带已经分配的组播业务地址和端口给 If the allocation of the multicast service address and port is managed by SPDF, the SPDF can decide whether to allocate a new multicast service address and port according to the executed policy. If the terminal is already using the same media stream, the SPDF can be not allocated. The new multicast service address and port carry the assigned multicast service address and port only in the request message.
BGF 使用即可, 否则, 需要分配新的组播业务地址和端口, 其中, SPDF可以根据组播业务地址和端口判断是否是同一个媒体流。 对于 BGF 而言, 可以判断是否已经加入了原来的组播组而避免重复加入 同一个组播组, 如果 SPDF明确指示 BGF不需要重复加入所述组播 组, 则不需要进行这一判断。 The BGF can be used. Otherwise, a new multicast service address and port need to be allocated. The SPDF can determine whether it is the same media stream according to the multicast service address and port. For the BGF, you can determine whether the original multicast group has been added and avoid adding the same multicast group. If the SPDF explicitly indicates that the BGF does not need to join the multicast group repeatedly, this judgment is not required.
如果组播业务地址和端口的分配由 BGF管理, 即使 SPDF可以 要求 BGF分配新的組播业务地址和端口,但 BGF仍然可以根据已经 执行的策略决定是否需要分配新的組播业务地址和端口,如果已经有 终端在使用同一个媒体流, 则可以不分配新的组播业务地址和端口, 只需要使用已经分配的组播业务地址和端口即可, 否则, 需要分配新 的组播业务地址和端口, 其中, BGF 可以根据组播业务地址和端口 以及业务源地址和端口判断是否是同一个媒体流。在反馈给 SPDF的 响应中, 可以携带所使用的组播业务地址和端口。
如果在上述过程中, 并没有分配新的组播业务地址和端口, 则与 此相关联的资源预留过程将是不必要的,例如通过 T-RACF在核心网 为组播媒体流的资源预留, 这样可以相对筒化流程。 If the allocation of the multicast service address and port is managed by the BGF, even if the SPDF can request the BGF to allocate a new multicast service address and port, the BGF can still decide whether to allocate a new multicast service address and port according to the executed policy. If a terminal is already using the same media stream, you can not assign a new multicast service address and port. You only need to use the already assigned multicast service address and port. Otherwise, you need to assign a new multicast service address and A port, where the BGF can determine whether it is the same media stream according to the multicast service address and port and the service source address and port. In response to the feedback to the SPDF, the multicast service address and port used may be carried. If a new multicast service address and port are not allocated in the above process, the resource reservation process associated with this will be unnecessary, for example, by using T-RACF for the resource of the multicast media stream in the core network. Stay, this can be relatively straightforward.
步驟 S703: 完成上述准备后, BGF可以使用组播路由协议建立 到组播功能提供方的组播转发路径。 Step S703: After completing the foregoing preparation, the BGF may establish a multicast forwarding path to the multicast function provider by using the multicast routing protocol.
步骤 S704: BGF完成上述准备之后, 向 SPDF反馈请求响应, 其中可以携带所分配的发送新的组播媒体流的地址和端口以及新的 组播业务地址和端口。 Step S704: After completing the foregoing preparation, the BGF feeds back a response request to the SPDF, where the address and port of the allocated new multicast media stream and the new multicast service address and port may be carried.
步骤 S705 : SPDF向 AF反馈请求响应, 其中可以携带所分配 的发送新的组播媒体流的地址和端口以及新的组播业务地址和端口。 Step S705: The SPDF responds to the AF feedback request, and may carry the assigned address and port for sending the new multicast media stream and the new multicast service address and port.
经过上述步骤后, AF获得了 BGF分配的发送新的組播媒体流的 地址和端口以及新的组播业务地址和端口, AF可以根据业务需要做 不同处理, 例如: 如果 AF是经过分析业务协商信令获得的組播控制 信息, 则需要修改协商报文的业务地址信息, 以使终端获得新的业务 发送地址; 如果 AF是接收其它功能实体的请求进行组播控制, 则需 要向所述功能实体反馈控制结果,所述结果中可以携带所分配的业务 转发地址和端口以及新的组播业务地址和端口。 After the above steps, the AF obtains the address and port of the new multicast media stream and the new multicast service address and port allocated by the BGF. The AF can perform different processing according to the service requirements, for example: If the AF is analyzed by the service negotiation For the multicast control information obtained by the signaling, the service address information of the negotiation packet needs to be modified, so that the terminal obtains a new service sending address. If the AF is a request to receive other functional entities for multicast control, the function needs to be performed. The entity feedbacks the control result, which may carry the assigned service forwarding address and port and the new multicast service address and port.
经过上述处理后, 终端获得的业务提供地址是 BGF分配的新的 组播业务地址和端口。 另外, BGF建立了从组播功能提供方到 BGF 的組播转发路径。 此外, 为了建立从 RCEF到 BGF的組播转发路径, 可以釆取两种方式: After the foregoing processing, the service providing address obtained by the terminal is a new multicast service address and port allocated by the BGF. In addition, the BGF establishes a multicast forwarding path from the multicast function provider to the BGF. In addition, in order to establish a multicast forwarding path from RCEF to BGF, two methods can be used:
由于终端收到了新的组播业务地址和端口, 因此可以使用 IGMP 要求加入新的组播组, 这个请求可以由 RCEF处理。 由于新的组播媒 体流是由 BGF提供的, 因此, RCEF使用组播路由协议建立到 BGF 的组播转发路径。 Since the terminal receives the new multicast service address and port, IGMP can be used to join the new multicast group. This request can be processed by the RCEF. Since the new multicast media stream is provided by the BGF, the RCEF uses the multicast routing protocol to establish a multicast forwarding path to the BGF.
另外, SPDF也可以向 A-RACF发送请求,由 A-RACF请求 RCEF 加入分配的新的组播组, RCEF接收所述请求并使用组播路由协议建 立到 BGF的组播转发路径。 In addition, the SPDF can also send a request to the A-RACF, and the A-RACF requests the RCEF to join the assigned new multicast group, and the RCEF receives the request and establishes a multicast forwarding path to the BGF using the multicast routing protocol.
当组播媒体流从组播功能提供方发出后被 BGF所接收时, BGF
执行媒体流转换操作, 即, 以分配的发送新的组播地址和端口作为新 的组播媒体流的源地址和端口,以新的组播业务地址和端口作为新的 组播媒体流的目的地址和端口 , 并将转换后的新的组播媒体流发出。 这样, 媒体流在组播功能提供方和 BGF之间是组播媒体流, 在 BGF 和终端之间也是组播媒体流,保证了组播媒体流是经过 BGF转发的, 当然, BGF 和终端之间的组播媒体流是以新的组播业务地址和端口 发送的, 并且组播媒体流经过 RCEF。 BGF when the multicast media stream is received by the BGF after being sent from the multicast function provider Performing a media stream conversion operation, that is, using the assigned new multicast address and port as the source address and port of the new multicast media stream, and using the new multicast service address and port as the new multicast media stream. The address and port, and the converted new multicast media stream is sent. In this way, the media stream is a multicast media stream between the multicast function provider and the BGF, and is also a multicast media stream between the BGF and the terminal, ensuring that the multicast media stream is forwarded by the BGF. Of course, the BGF and the terminal The inter-multicast media stream is sent with the new multicast service address and port, and the multicast media stream passes through the RCEF.
BGF建立到组播功能提供方的过程是使用组播路由协议进行的, 因此, 如果有多个终端请求同一个组播媒体流, 路由建立过程只需要 进行一次就可以了, 后续的请求不会导致多次路由建立请求。 SPDF 在进行资源预留请求时,可以根据媒体流组播业务地址和端口及媒体 流源地址和端口判断是否是同一个媒体流, 如果是, 则在核心网侧不 需要对同一个组播媒体流进行多次预留请求, 这样可以简化流程。 The process of establishing the BGF to the multicast function provider is performed by using the multicast routing protocol. Therefore, if multiple terminals request the same multicast media stream, the route establishment process only needs to be performed once, and subsequent requests will not be performed. Causes multiple route establishment requests. When the resource reservation request is made, the SPDF can determine whether it is the same media stream according to the media stream multicast service address and port and the media stream source address and port. If yes, the same multicast media is not required on the core network side. The flow makes multiple reservation requests, which simplifies the process.
对于请求同一个组播媒体流的终端而言, BGF 需要为每一个请 求分配一个新的地址和端口。如果接入网侧存在可用的地址池, 则可 以从可用的地址池中分配地址和端口。 当然, 反馈给 AF的结果必须 与这里的选择结果一致。 For terminals requesting the same multicast media stream, the BGF needs to assign a new address and port to each request. If there is an available address pool on the access network side, the address and port can be allocated from the available address pool. Of course, the results fed back to AF must match the results of the selection here.
在上述流程中,如果 AF向 RACS的组播控制请求是分阶段进行 的, 即, 第一次请求只是请求 ACS做好组播 /组播转换的准备, 但 并不一定要求 BGF加入组播组, 则 BGF到组播功能提供方的组播路 径建立过程此时可以不进行。 当 AF 第二次请求组播 /组播转换开始 时, BGF 可以再建立到组播功能提供方的组播转发路径并进行相应 的组播 /组播转换操作。 In the above process, if the AF multicast control request to the RACS is performed in stages, that is, the first request is only to prepare the ACS for multicast/multicast conversion, but the BGF does not necessarily need to join the multicast group. Then, the multicast path establishment process from the BGF to the multicast function provider may not be performed at this time. When the AF requests the multicast/multicast conversion to start for the second time, the BGF can establish a multicast forwarding path to the multicast function provider and perform corresponding multicast/multicast conversion operations.
需要说明的是, 只要组播控制过程在会话交互建立之前完成, 那 么上述实施例可能的变化都是允许的, 例如, AF向 SPDF的组播控 制请求和资源预留过程以一个请求传递给 SPDF也是可以的。 It should be noted that, as long as the multicast control process is completed before the session interaction is established, possible changes in the foregoing embodiments are allowed. For example, the AF multicast control request and the resource reservation process to the SPDF are delivered to the SPDF by a request. it is also fine.
在本发明实施例中, 如果要求 AF从协商信令中获取组播控制信 息, 则 AF需要理解协商信令并能提取相关信息。 AF也可以修改信 令中的媒体描述信息, 以匹配所做的控制。
本发明实施例对 BGF的要求如下: In the embodiment of the present invention, if the AF is required to obtain the multicast control information from the negotiation signaling, the AF needs to understand the negotiation signaling and can extract the related information. The AF can also modify the media description information in the signaling to match the control made. The requirements of the embodiment of the present invention for BGF are as follows:
1.在第二实施例对应的组播控制方法中, BGF需要支持组播 /单 播的转换功能。 另外, 要求 BGF (在核心网侧接口) 支持组播路由 协议,所述组播路由协议可以为 IGMP、PIM-SM或 PIM-DM( Protocol Independent Multicast-Dense Mode, 协议无关组播 -密集模式)等。 1. In the multicast control method corresponding to the second embodiment, the BGF needs to support the multicast/unicast conversion function. In addition, the BGF (on the core network side interface) is required to support the multicast routing protocol, and the multicast routing protocol may be IGMP, PIM-SM, or PIM-DM (Protocol Independent Multicast-Dense Mode). Wait.
2.在第三实施例对应的组播控制方法中, BGF需要支持组播 /组 播的转换功能。 另外, 要求 BGF (在核心网侧接口) 支持组播路由 协议。 此外,要求 BGF只能向终端接入网一侧发送新的组播媒体流, 这是为了避免新的组播媒体流向核心网一侧发送。 2. In the multicast control method corresponding to the third embodiment, the BGF needs to support the multicast/communication conversion function. In addition, the BGF (on the core network side interface) is required to support the multicast routing protocol. In addition, the BGF is required to send a new multicast media stream to the terminal access network side. This is to prevent new multicast media streams from being sent to the core network side.
本发明实施例还要求 RCEF支持组播路由协议,用于建立组播转 发路径。 The embodiment of the invention also requires the RCEF to support a multicast routing protocol for establishing a multicast forwarding path.
下面以采用 IMS作为会话控制和业务提供网絡的 NGN为例,再 对本发明实施例进行说明。 The following takes an NGN that uses IMS as the session control and service provisioning network as an example, and then describes an embodiment of the present invention.
图 8是本发明实施例的组播系统应用在采用 IMS作为会话控制 和业务提供网络的 NGN中的第一具体功能架构图。 如图 8所示, 这 个系统包括代理 CSCF、 SPDF、 BGF、服务 CSCF、 AS (应用服务器, 即业务提供方)、 MRFC ( Media Resource Function Controller, 媒体资 源功能控制器)和 MRFP ( Media Resource Function Processor, 媒体 资源功能处理器)。 其中, AS 与终端进行业务协商, 终端可以请求 AS提供组播服务; 代理 CSCF转发终端与服务 CSCF之间的请求和 响应消息, 代理 CSCF包含了 AF的功能; 服务 CSCF根据触发规则 将业务请求消息触发到 AS; 代理 CSCF通过多种方式获得进行组播 转换的信息, 如果需要对媒体流进行组播转换, 则请求 SPDF进行组 播转换; SPDF接收包含 AF功能的代理 CSCF的组播转换请求, 并 进行策略判断和资源检查, 以决定是否允许完成相应的转换, 如果允 许, 则请求 BGF完成具体的组播转换操作; BGF用于建立到 AS的 组播转发路径, 并将从 AS接收到的组播媒体流转换为单播媒体流发 送给终端, 在这个过程中, 可以分配用于发送单播媒体流的地址和端 口等; AS用于向终端提供业务, 并与终端进行必要的业务协商, 根
据协商的结果向 MRFC提出媒体资源请求; MRFC接收 AS的媒体资 源请求并控制 MRFP进行媒体资源的分配,其中可以包括分配组播业 务地址等资源; MRFP在 MRFC的控制下向终端提供组播媒体流, 这里的 MRFP即为组播功能提供方 ,用于提供与业务相关的組播媒体 流。 FIG. 8 is a first specific functional architecture diagram of a multicast system application in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention. As shown in FIG. 8, the system includes a proxy CSCF, an SPDF, a BGF, a service CSCF, an AS (application server, ie, a service provider), a MRFC (Media Resource Function Controller), and a MRFP (Media Resource Function Processor). , media resource function processor). The AS negotiates with the terminal, and the terminal can request the AS to provide the multicast service. The proxy CSCF forwards the request and response message between the terminal and the serving CSCF. The proxy CSCF includes the function of the AF. The serving CSCF sends the service request message according to the triggering rule. Trigger to AS; The proxy CSCF obtains the information for multicast conversion in multiple ways. If the media stream needs to be multicast converted, the SPDF is requested to perform multicast conversion; and the SPDF receives the multicast conversion request of the proxy CSCF including the AF function. And performing policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, request the BGF to complete a specific multicast conversion operation; the BGF is used to establish a multicast forwarding path to the AS, and will receive from the AS. The multicast media stream is converted into a unicast media stream and sent to the terminal. In this process, an address and a port for sending the unicast media stream can be allocated. The AS is used to provide services to the terminal and perform necessary service negotiation with the terminal. Root According to the result of the negotiation, the MRFC requests the media resource; the MRFC receives the media resource request of the AS and controls the MRFP to allocate the media resource, which may include allocating resources such as the multicast service address; and the MRFP provides the multicast media to the terminal under the control of the MRFC. Flow, where the MRFP is the multicast function provider for providing multicast media streams related to the service.
图 9是图 8所示的 NGN的组播控制过程的流程图,具体流程为: 步骤 S901:终端发起业务请求, 请求消息可以为 SIP invite, 如果 请求消息中携带终端接收媒体流的地址和端口信息,则在请求消息到 达代理 CSCF后,代理 CSCF提取终端接收媒体流的地址和端口信息, 否则, 代理 CSCF在后续协商报文中提取这些信息。 9 is a flowchart of the multicast control process of the NGN shown in FIG. 8. The specific process is as follows: Step S901: The terminal initiates a service request, and the request message may be a SIP invite, if the request message carries the address and port of the media stream received by the terminal. After the request message arrives at the proxy CSCF, the proxy CSCF extracts the address and port information of the media stream received by the terminal. Otherwise, the proxy CSCF extracts the information in the subsequent negotiation packet.
步骤 S902: 代理 CSCF将请求消息转发到服务 CSCF。 Step S902: The proxy CSCF forwards the request message to the serving CSCF.
步骤 S903: 服务 CSCF将请求消息触发到处理业务的 AS。 Step S903: The service CSCF triggers the request message to the AS that processes the service.
步驟 S904: 由于业务请求需要媒体资源, 所以, AS向 MRFC发 起媒体资源请求。 Step S904: The AS sends a media resource request to the MRFC because the service request requires the media resource.
步骤 S905: MRFC根据 AS的请求对 MRPP施加控制, 如果需 要以组播方式提供业务, 则 MRFP 确定组播业务的地址并返回给 Step S905: The MRFC applies control to the MRPP according to the request of the AS. If the service needs to be provided in a multicast manner, the MRFP determines the address of the multicast service and returns it to the
MRFC。 MRFC.
步骤 S906: MRFC向 AS返回媒体资源请求的结果, 所述结果包 含一个 SDP ( Session Description Protocol, 会话描述协议)描述, 其 中可以携带组播业务地址和端口以及发送组播业务的 MRFP 的地址 和端口。 Step S906: The MRFC returns a result of the media resource request to the AS, where the result includes an SDP (Session Description Protocol) description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service can be carried. .
步骤 S907: AS向服务 CSCF发送业务响应, 所述响应包含 SDP 描述,其中可以携带组播业务地址和端口以及发送组播业务的 MRFP 的地址和端口。 Step S907: The AS sends a service response to the serving CSCF, where the response includes an SDP description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service can be carried.
步骤 S908: 服务 CSCF向代理 CSCF转发所述业务响应。 Step S908: The serving CSCF forwards the service response to the proxy CSCF.
步骤 S909: 执行组播控制过程, 包括以下步骤: Step S909: Perform a multicast control process, including the following steps:
步骤 S909.1: 代理 CSCF收到上述响应后, 提取组播业务地址和 端口以及发送组播业务的 MRFP的地址和端口,并可以 居本地策略 向 SPDF发起组播控制请求, 以使组播媒体流可以经过 BGF进行转
发; Step S909.1: After receiving the foregoing response, the proxy CSCF extracts the multicast service address and port and the address and port of the MRFP that sends the multicast service, and may initiate a multicast control request to the SPDF in the local policy to enable the multicast media. Stream can be transferred by BGF hair;
步驟 S909.2 SPDF向 BGF请求进行组播媒体流到单播媒体流的 转换, 即, BGF 需要以组播路由协议建立组播转发路径, 同时, 需 要分配一个单播 UDP端口号用于转发组播媒体流, 这样, BGF就可 以准备接收 MRFP提供的组播媒体流,再将接收的组播媒体流转换为 单播媒体流发给终端, BGF可以进行这样的转换, 即, 将 BGF的 IP 地址及分配的 UDP端口作为单播媒体流的源地址及源端口, 将终端 的 IP地址及终端接收媒体流的端口作为目的地址及目的端口; Step S909.2 The SPDF requests the BGF to perform the conversion of the multicast media stream to the unicast media stream, that is, the BGF needs to establish a multicast forwarding path by using the multicast routing protocol, and needs to allocate a unicast UDP port number for the forwarding group. The BGF can prepare to receive the multicast media stream provided by the MRFP, and then convert the received multicast media stream into a unicast media stream and send it to the terminal. The BGF can perform such conversion, that is, the BGF IP address. The address and the assigned UDP port are used as the source address and the source port of the unicast media stream, and the IP address of the terminal and the port on which the terminal receives the media stream are used as the destination address and the destination port;
步驟 S909.3: BGF建立到 M FP的组播转发路径, 其中, 使用 组播路由协议建立到 MRFP的组播转发路径; Step S909.3: The BGF establishes a multicast forwarding path to the MFP, where the multicast forwarding protocol is established by using the multicast routing protocol to the MRFP;
步驟 S909.4: BGF执行资源预留请求, 向 SPDF反馈结果, 所 述结果中包含用于发送单播媒体流的地址和端口信息; Step S909.4: The BGF performs a resource reservation request, and feeds back the result to the SPDF, where the result includes address and port information for sending the unicast media stream;
步骤 S909.5: SPDF向代理 CSCF反馈对资源预留的确认信息, 所述结果中包含用于发送单播媒体流的地址和端口信息; Step S909.5: The SPDF feeds back to the proxy CSCF the acknowledgement information for the resource reservation, where the result includes address and port information for sending the unicast media stream;
步骤 S909.6:代理 CSCF ^^据接收到的信息修改媒体协商过程中 的 SDP描述, 即, 用 BGF提供的用于发送单播媒体流的地址和端口 信息替换 SDP 中的组播业务地址和端口描述, 如果需要, 还可以替 换发送组播媒体流的源地址和端口信息。 Step S909.6: The proxy CSCF ^^ modifies the SDP description in the media negotiation process according to the received information, that is, replaces the multicast service address in the SDP with the address and port information provided by the BGF for sending the unicast media stream. The port description, if needed, can also replace the source address and port information of the multicast media stream.
步骤 S910: 代理 CSCF向终端反馈最终的响应结果。 Step S910: The proxy CSCF feeds back the final response result to the terminal.
步驟 S911- S912: 进行进一步的媒体协商过程, 协商报文每次经 过代理 CSCF时,代理 CSCF根据需要修改协商报文中相应的媒体描 述信息, 以确保协商成功。 BGF 的转换操作可以仅在所有协商过程 成功完成后, 接收到进一步的指示时才开始进行。 Steps S911-S912: Perform a further media negotiation process. When the negotiation message passes the proxy CSCF, the proxy CSCF modifies the corresponding media description information in the negotiation packet to ensure the negotiation succeeds. The BGF's conversion operation can only begin when all the negotiation processes have been successfully completed and further instructions are received.
步骤 S913: MRFC对 MRFP进一步控制。 Step S913: The MRFC further controls the MRFP.
上述协商过程完成后, 媒体流将以组播方式发送到 BGF, BGF 再将其转换为单播媒体流发送给终端。 After the negotiation process is complete, the media stream will be sent to the BGF in multicast mode, and the BGF will convert it to a unicast media stream and send it to the terminal.
图 10是本发明实施例的组播系统应用在采用 IMS作为会话控制 和业务提供网络的 NGN中的第二具体功能架构图。如图 10所示,这 个系统包括终端、 代理 CSCF、 SPDF, BGF、 A-RACF、 RCEF、 服
务 CSCF、 AS、 MRFC和 MRFP。 其中, AS与终端进行业务协商, 终端可以请求 AS提供組播服务; 代理 CSCF转发终端与服务 CSCF 之间的请求和响应消息, 代理 CSCF包含了 AF的功能; 服务 CSCF 根据触发规则将业务请求消息触发到;代理 CSCF通过多种方式获取 进行组播转换的信息,如果需要对媒体流进行组播转换,则请求 SPDF 进行组播转换; SPDF接收包含 AF功能的代理 CSCF的組播转换请 求, 并进行策略判断和资源检查, 以决定是否允许完成相应的转换, 如果允许, 则请求 BGF完成具体的组播转换操作; BGF用于建立到 AS的组播转发路径; SPDF向 A-RACF发送请求, 由 A-RACF请求 RCEF加入所分配的新的组播组, RCEF接收所述请求, 并使用组播 路由协议建立到 BGF的组播转发路径; BGF将从 AS接收到的组播 媒体流转换为新的组播媒体流向终端发送,在这个过程中, 可以分配 用于转发媒体流的地址和端口等; AS用于向终端提供业务, 并与终 端进行必要的业务协商, 根据协商的结果向 MRFC提出媒体资源请 求; MRFC接收 AS的媒体资源请求, 并控制 MRFP进行媒体资源的 分配, 其中可以包括分配组播业务地址等资源; MRFP在 MRFC的 控制下向终端提供组播媒体流,这里的 MRFP即组播功能提供方,用 于提供与业务相关的组播媒体流。 FIG. 10 is a second specific functional architecture diagram of a multicast system applied in an NGN using IMS as a session control and service provisioning network according to an embodiment of the present invention. As shown in Figure 10, this system includes terminal, proxy CSCF, SPDF, BGF, A-RACF, RCEF, service. CSCF, AS, MRFC and MRFP. The AS and the terminal perform service negotiation, and the terminal may request the AS to provide the multicast service; the proxy CSCF forwards the request and response message between the terminal and the serving CSCF, and the proxy CSCF includes the function of the AF; the service CSCF sends the service request message according to the triggering rule. Trigger to; the proxy CSCF obtains the information for multicast conversion in multiple ways. If the media stream needs to be multicast converted, the SPDF is requested to perform multicast conversion; the SPDF receives the multicast conversion request of the proxy CSCF including the AF function, and Perform policy judgment and resource check to determine whether to allow the corresponding conversion to be completed. If allowed, request the BGF to complete the specific multicast conversion operation; BGF is used to establish a multicast forwarding path to the AS; SPDF sends a request to the A-RACF, The RCEF is requested by the A-RACF to join the assigned new multicast group, the RCEF receives the request, and establishes a multicast forwarding path to the BGF by using the multicast routing protocol; the BGF converts the multicast media stream received from the AS into The new multicast media stream is sent to the terminal. In this process, the address and port for forwarding the media stream can be allocated. Providing a service to the terminal, and performing necessary service negotiation with the terminal, and submitting a media resource request to the MRFC according to the result of the negotiation; the MRFC receives the media resource request of the AS, and controls the MRFP to allocate the media resource, which may include allocating the multicast service. Address and other resources; The MRFP provides a multicast media stream to the terminal under the control of the MRFC, where the MRFP is a multicast function provider for providing a multicast media stream related to the service.
图 11是图 10所示的 NGN的组播控制过程的流程图, 具体流程 为: 11 is a flow chart of the multicast control process of the NGN shown in FIG. 10, and the specific process is:
步驟 S1101 : 终端发起业务请求, 请求消息可以为 SIP invite, 如 果请求消息中携带终端接收媒体流的地址和端口信息,则在请求消息 到达代理 CSCF后,代理 CSCF提取终端接收媒体流的地址和端口信 息, 否则, 代理 CSCF在后续协商报文中提取这些信息。 Step S1101: The terminal initiates a service request, and the request message may be a SIP invite. If the request message carries the address and port information of the media stream, the proxy CSCF extracts the address and port of the media stream received by the terminal after the request message arrives at the proxy CSCF. Information, otherwise, the proxy CSCF extracts this information in subsequent negotiation messages.
步驟 S1102: 代理 CSCF将请求消息转发到服务 CSCF。 Step S1102: The proxy CSCF forwards the request message to the serving CSCF.
步骤 S1103: 服务 CSCF将请求消息触发到处理业务的 AS。 步骤 S1104: 由于业务请求需要媒体资源, 所以, AS向 MRFC 发起媒体资源请求。 Step S1103: The service CSCF triggers the request message to the AS that processes the service. Step S1104: Since the service request requires media resources, the AS initiates a media resource request to the MRFC.
步骤 S1105: MRFC根据 AS的请求对 MRFP施加控制, 如果需
要以组播方式提供业务, 则 MRFP 确定组播业务的地址并返回给 MRFCo Step S1105: The MRFC applies control to the MRFP according to the request of the AS, if necessary To provide services in multicast mode, the MRFP determines the address of the multicast service and returns it to MRFCo.
步骤 S1106: MRFC向 AS返回媒体资源请求的结果, 所述结果 包含一个 SDP描述, 其中可以携带组播业务地址和端口以及发送组 播业务的 MRFP的地址和端口。 Step S1106: The MRFC returns a result of the media resource request to the AS, where the result includes an SDP description, where the multicast service address and port and the address and port of the MRFP that sends the multicast service may be carried.
步骤 S1107: AS向服务 CSCF发送业务响应,所述响应包含 SDP 描述,其中可以携带组播业务地址和端口以及发送组播业务的 MRPP 的地址和端口。 Step S1107: The AS sends a service response to the serving CSCF, where the response includes an SDP description, where the multicast service address and port and the address and port of the MRPP that sends the multicast service can be carried.
步骤 S1108: 服务 CSCF向代理 CSCF转发所述业务响应。 Step S1108: The serving CSCF forwards the service response to the proxy CSCF.
步骤 S1109: 执行组播控制过程, 包括以下步骤: Step S1109: Perform a multicast control process, including the following steps:
步骤 S1109.1: 代理 CSCF收到上述响应后, 提取组播业务地址 和端口以及发送组播业务的 MRFP的地址和端口,并可以才艮据本地策 略向 SPDF发起组播控制请求, 以使組播媒体流可以经过 BGF进行 转发; Step S1109.1: After receiving the foregoing response, the proxy CSCF extracts the multicast service address and port and the address and port of the MRFP that sends the multicast service, and can initiate a multicast control request to the SPDF according to the local policy, so that the group The broadcast media stream can be forwarded through the BGF;
步驟 S1109.2: SPDF向 BGF请求进行组播媒体流到新的组播媒 体流的转换,新的组播业务地址和端口可以由 SPDF或者 BGF分配, 同时, BGF 需要分配一个端口号用于转发组播媒体流, 这样, BGF 就可以准备接收 MRFP提供的组播媒体流,再将接收的组播媒体流转 换为新的组播媒体流发给终端, BGF可以进行这样的转换, 即, 将 BGF的 IP地址及分配的用于转发组播媒体流的端口作为新的组播媒 体流的源地址及源端口,将新分配的组播业务地址及新分配的组播业 务端口作为新的组播媒体流的目的地址及目的端口; Step S1109.2: The SPDF requests the BGF to perform the conversion of the multicast media stream to the new multicast media stream. The new multicast service address and port can be allocated by the SPDF or the BGF, and the BGF needs to allocate a port number for forwarding. Multicast media stream, so that the BGF can prepare to receive the multicast media stream provided by the MRFP, and then convert the received multicast media stream into a new multicast media stream and send it to the terminal, and the BGF can perform such conversion, that is, The IP address of the BGF and the port for forwarding the multicast media stream are used as the source address and source port of the new multicast media stream, and the newly assigned multicast service address and the newly assigned multicast service port are used as new groups. The destination address and destination port of the broadcast media stream;
步骤 S1109.3: BGF建立到 MRFP的组播转发路径, 其中, 使用 组播路由协议建立到 MRFP 的组播转发路径, 如果已经加入了组播 组, 则这里不需要重复加入; Step S1109.3: The BGF establishes a multicast forwarding path to the MRFP. The multicast routing protocol is used to establish a multicast forwarding path to the MRFP. If the multicast group has been added, the BGF does not need to be added repeatedly.
步骤 S1109.4: BGF执行资源预留请求, 向 SPDF反馈结果, 所 述结果中包含用于发送新的组播媒体流的地址和端口信息;如果新的 组播业务地址和端口是由 BGF分配的, 则这里也需要携带新分配的 组播业务地址和端口;
步驟 S1109.5: SPDF向代理 CSCF反馈对资源预留的确认信息, 所述结果中包含用于发送新的组播媒体流的地址和端口信息,以及新 的组播业务地址和端口信息; Step S1109.4: The BGF performs a resource reservation request, and feeds back a result to the SPDF, where the result includes address and port information for transmitting a new multicast media stream; if the new multicast service address and port are allocated by the BGF , here also need to carry the newly assigned multicast service address and port; Step S1109.5: The SPDF feeds back the confirmation information of the resource reservation to the proxy CSCF, where the result includes the address and port information for sending the new multicast media stream, and the new multicast service address and port information;
步骤 S1109.6: 代理 CSCF需要根据接收到的信息修改媒体协商 过程中的 SDP描述, 即, 用新的组播业务地址和端口信息替换 SDP 中的组播业务地址和端口描述, 如果需要, 还可以替换发送組播媒体 流的源地址和端口信息。 Step S1109.6: The proxy CSCF needs to modify the SDP description in the media negotiation process according to the received information, that is, replace the multicast service address and port description in the SDP with the new multicast service address and port information, and if necessary, The source address and port information of the multicast media stream can be replaced.
步骤 S1110: 代理 CSCF向终端反馈最终的响应结果。 Step S1110: The proxy CSCF feeds back the final response result to the terminal.
步骤 S1111- S1112: 进行进一步的媒体协商过程, 协商报文每次 经过代理 CSCF时,代理 CSCF根据需要修改协商报文中相应的媒体 描述信息, 以确保协商成功。 BGF 的转换操作可以仅在所有协商过 程成功完成后, 接收到进一步的指示时才开始进行。 Steps S1111-S1112: Perform a further media negotiation process. When the negotiation message passes the proxy CSCF, the proxy CSCF modifies the corresponding media description information in the negotiation packet to ensure the negotiation succeeds. The BGF's conversion operation can begin only after all negotiation processes have been successfully completed and further instructions are received.
步驟 S1113: MRFC对 MRFP进一步控制。 Step S1113: The MRFC further controls the MRFP.
上述协商过程完成后, 终端使用 IGMP要求加入新的组播组, 所 述请求由 RCEF处理; RCEF进而采用组播路由协议建立到 BGF的 组播转发路经; 转发路径建立后, 媒体流将以组播方式发送到 BGF, BGF再将其转换为新的组播媒体流, 新的组播媒体流经 RCEF发送 给终端。 After the negotiation process is completed, the terminal uses IGMP to join the new multicast group, and the request is processed by the RCEF. The RCEF then uses the multicast routing protocol to establish a multicast forwarding path to the BGF. After the forwarding path is established, the media stream will be The multicast mode is sent to the BGF, and the BGF converts it to a new multicast media stream. The new multicast media is sent to the terminal through the RCEF.
在上述实施例中, 如果 RCEF与 BGF之间的 IP网络能够兼容组 播媒体流, BGF与组播功能提供方或 MRFP之间的 IP网络也能够兼 容组播媒体流,则由于组播功能提供方或 MRFP向业务接收方或终端 提供的组播媒体流一定会经过 BGF, 且 BGF能够将组播媒体流转换 为新的组播媒体流发送出去,业务接收方或终端也能够接收到组播媒 体流, 这样, BGF 就可以对业务接收方或终端的资源进行控制, 还 可以提供精确的度量指标(例如组播媒体流的流量 M乍为计费的依据。 In the above embodiment, if the IP network between the RCEF and the BGF is compatible with the multicast media stream, and the IP network between the BGF and the multicast function provider or the MRFP is also compatible with the multicast media stream, the multicast function is provided. The multicast media stream provided by the party or the MRFP to the service receiver or terminal must pass through the BGF, and the BGF can convert the multicast media stream into a new multicast media stream, and the service receiver or terminal can also receive the multicast. The media stream, in this way, the BGF can control the resources of the service receiver or the terminal, and can also provide accurate metrics (for example, the traffic M of the multicast media stream is the basis for charging).
另夕卜, 本发明实施例还提供一种媒体流控制设备, 包括: 转换请 求单元, 用于接收转换组播媒体流的请求; 组播媒体流接收单元, 用 于接收组播媒体流; 组播媒体流转换单元, 用于将组播媒体流转换为 单播媒体流或新的组播媒体流;媒体流发送单元, 用于向业务接收方
发送转换后的单播媒体流或新的组播媒体流。 In addition, the embodiment of the present invention further provides a media stream control device, including: a conversion request unit, configured to receive a request for converting a multicast media stream; and a multicast media stream receiving unit, configured to receive a multicast media stream; a media stream conversion unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream; and a media stream sending unit, configured to send to the service receiver Send the converted unicast media stream or a new multicast media stream.
媒体流控制设备还可以包括: 地址和端口信息接收单元, 用于在 组播媒体流转换单元将组播媒体流转换为单播媒体流之前,接收业务 接收方用于接收单播媒体流的地址和端口信息, 和 /或, 接收业务接 收方用于接收组播媒体流的组播业务地址和端口信息。 The media stream control device may further include: an address and port information receiving unit, configured to receive, before the multicast media stream converting unit converts the multicast media stream into the unicast media stream, an address used by the service receiver to receive the unicast media stream And port information, and/or, receiving the multicast service address and port information used by the service receiver to receive the multicast media stream.
媒体流控制设备还可以包括: 分配地址和端口单元, 用于在组播 媒体流转换单元将组播媒体流转换为单播媒体流或新的组播媒体流 之前, 分配用于发送单播媒体流的地址和端口, 或者, 分配新的组播 媒体流的组播业务地址和端口及用于发送新的组播媒体流的地址和 端口。 The media flow control device may further include: an address and a port unit, configured to allocate the unicast media before the multicast media stream conversion unit converts the multicast media stream into a unicast media stream or a new multicast media stream. The address and port of the stream, or the multicast service address and port to which the new multicast media stream is allocated, and the address and port used to send the new multicast media stream.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明 的保护范围, 凡在本发明的精神和原则之内所做的任何修改、 等同替 换、 改进等, 均应包含在本发明的保护范围之内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included. It is within the scope of the invention.
Claims
1.一种媒体流控制方法, 其特征在于包括: A media stream control method, comprising:
业务控制单元向组播媒体流转换单元发出转换组播媒体流的请 求; The service control unit sends a request for converting the multicast media stream to the multicast media stream conversion unit;
组播媒体流转换单元接收到组播媒体流后 ,将组播媒体流转换为 单播媒体流或新的组播媒体流并向业务接收方发送。 After receiving the multicast media stream, the multicast media stream converting unit converts the multicast media stream into a unicast media stream or a new multicast media stream and sends the multicast media stream to the service receiver.
2.如权利要求 1所述的媒体流控制方法, 其特征在于业务控制单 元向组播媒体流转换单元发出转换组播媒体流的请求之前还包括:确 定是否向业务接收方发送组播媒体流。 The media stream control method according to claim 1, wherein the service control unit sends a request for converting the multicast media stream to the multicast media stream conversion unit, further comprising: determining whether to send the multicast media stream to the service receiver. .
3.如权利要求 2所述的媒体流控制方法, 其特征在于业务控制单 元通过如下至少一种方式确定是否向业务接收方发送组播媒体流: 业务控制单元检查来自业务接收方的业务协商信令中是否携带 支持组播媒体流的描述, 如果是, 则确定向业务接收方发送组播媒体 流; The media stream control method according to claim 2, wherein the service control unit determines whether to send the multicast media stream to the service receiver by at least one of the following: the service control unit checks the service negotiation message from the service receiver Whether the command carries a description supporting the multicast media stream, and if yes, determining to send the multicast media stream to the service receiver;
业务控制单元检查业务接收方是否向网络注册支持组播媒体流 的信息, 如果是, 则确定向业务接收方发送组播媒体流; The service control unit checks whether the service receiver registers information supporting the multicast media stream with the network, and if yes, determines to send the multicast media stream to the service receiver;
业务控制单元查询网络部署信息,如果确定向业务接收方发送媒 体流的路径上的所有网络段都支持组播媒体流 ,则确定向业务接收方 发送组播媒体流; The service control unit queries the network deployment information, and if it is determined that all network segments on the path for transmitting the media stream to the service receiver support the multicast media stream, determining to send the multicast media stream to the service receiver;
如果业务控制单元接收到来自业务提供方的设备标识或者软件 标识, 且所述标识表明业务接收方支持组播媒体流, 则确定向业务接 收方发送组播媒体流; If the service control unit receives the device identifier or the software identifier from the service provider, and the identifier indicates that the service receiver supports the multicast media stream, determining to send the multicast media stream to the service receiver;
业务控制单元获取是否发送組播媒体流的指示信息,如果所述指 示信息要求发送组播媒体流,则业务控制单元向业务接收方发送组播 媒体流。 The service control unit acquires indication information of whether to send the multicast media stream, and if the indication information requests to send the multicast media stream, the service control unit sends the multicast media stream to the service receiver.
4.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流 转换单元接收组播媒体流之前还包括:业务控制单元提供业务提供方 发出的组播媒体流的组播业务地址和端口信息。 The media stream control method according to claim 1, wherein the multicast media stream converting unit further comprises: the service control unit providing the multicast service address of the multicast media stream sent by the service provider before receiving the multicast media stream And port information.
5.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流
转换单元接收组播媒体流之前还包括:组播媒体流转换单元建立从业 务提供方到转换组播媒体流之前的组播媒体流转发路径。 The media stream control method according to claim 1, characterized in that the multicast media stream Before the converting unit receives the multicast media stream, the method further includes: the multicast media stream converting unit establishing a multicast media stream forwarding path from the service provider to before converting the multicast media stream.
6.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流 转换单元将组播媒体流转换为单播媒体流之前还包括:业务控制单元 提供业务接收方接收单播媒体流的地址和端口信息, 和 /或, 组播媒 体流的组播业务地址和端口信息。 The media stream control method according to claim 1, wherein before the multicast media stream converting unit converts the multicast media stream into the unicast media stream, the method further comprises: the service control unit providing the service receiver to receive the unicast media stream Address and port information, and/or multicast service address and port information for the multicast media stream.
7.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流 转换单元将组播媒体流转换为单播媒体流或新的组播媒体流之前还 包括: 组播媒体流转换单元分配用于发送单播媒体流的地址和端口, 或者,分配新的组播媒体流的组播业务地址和端口及用于发送新的组 播媒体流的地址和端口。 The media stream control method according to claim 1, wherein the multicast media stream conversion unit further comprises: multicast media stream conversion before converting the multicast media stream into a unicast media stream or a new multicast media stream. The unit allocates an address and port for transmitting a unicast media stream, or a multicast service address and port for allocating a new multicast media stream and an address and port for transmitting a new multicast media stream.
8.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流 转换单元按照下述方式将组播媒体流转换为单播媒体流:组播媒体流 转换单元将分配的用于发送单播媒体流的地址和端口作为单播媒体 流的源地址和源端口 ,将获取的业务接收方接收单播媒体流的地址和 端口作为单播媒体流的目的地址和目的端口。 The media stream control method according to claim 1, wherein the multicast media stream converting unit converts the multicast media stream into a unicast media stream in a manner that the multicast media stream converting unit allocates The address and port of the unicast media stream are sent as the source address and the source port of the unicast media stream, and the obtained service receiver receives the address and port of the unicast media stream as the destination address and destination port of the unicast media stream.
9.如权利要求 1所述的媒体流控制方法, 其特征在于组播媒体流 转换单元按照下述方式将组播媒体流转换为新的组播媒体流:组播媒 体流转换单元将分配的用于发送新的组播媒体流的地址和端口作为 新的组播媒体流的源地址和源端口,将分配的新的组播媒体流的组播 业务地址和端口作为新的组播媒体流的目的地址和目的端口。 The media stream control method according to claim 1, wherein the multicast media stream converting unit converts the multicast media stream into a new multicast media stream in the following manner: the multicast media stream converting unit allocates The address and port used to send the new multicast media stream are used as the source address and source port of the new multicast media stream, and the multicast service address and port of the assigned new multicast media stream are used as the new multicast media stream. Destination address and destination port.
10.如权利要求 1 所述的媒体流控制方法, 其特征在于组播媒体 流转换单元将单播媒体流或新的组播媒体流发送给业务接收方之前 还包括:业务控制单元向业务接收方提供发送单播媒体流的源地址和 端口信息, 或者提供新的组播媒体流的组播业务地址和端口信息和 / 或发送新的组播媒体流的地址和端口信息。 The media stream control method according to claim 1, wherein the multicast media stream converting unit further comprises: the service control unit receiving the service to the service before transmitting the unicast media stream or the new multicast media stream to the service receiver The party provides the source address and port information for sending the unicast media stream, or provides the multicast service address and port information of the new multicast media stream and/or the address and port information of the new multicast media stream.
11.如权利要求 10所述的媒体流控制方法, 其特征在于业务接收 方接收到新的组播媒体流的组播业务地址和端口信息后还包括:业务 接收方根据新的组播媒体流的组播业务地址和端口信息,加入到新的
组播媒体流的组播组。 The media stream control method according to claim 10, wherein the service receiver receives the multicast service address and port information of the new multicast media stream, and further includes: the service receiver according to the new multicast media stream Multicast service address and port information, added to the new Multicast group of multicast media streams.
12.如权利要求 1 所述的媒体流控制方法, 其特征在于: 如果存 在多个组播媒体流转换单元,则业务控制单元选择一个组播媒体流转 换单元, 并向选择的组播媒体流转换单元发出转换组播媒体流的请 求。 The media stream control method according to claim 1, wherein: if there are multiple multicast media stream converting units, the service control unit selects a multicast media stream converting unit and selects the multicast media stream. The conversion unit issues a request to convert the multicast media stream.
13.—种基于下一代网络 NGN的媒体流控制方法,其特征在于包 括: 13. A media stream control method based on a next generation network NGN, characterized by comprising:
应用功能实体 AF请求基于业务的策略决策功能实体 SPDF进行 组播控制; Application function entity AF requests the service-based policy decision function entity SPDF for multicast control;
SPDF处理 AF的请求后, 向边界网关功能实体 BGF提出转换組 播媒体流的请求; After processing the AF request, the SPDF proposes to the border gateway function entity BGF to convert the multicast media stream;
BGF 接收到组播媒体流后, 将組播媒体流转换为单播媒体流或 新的组播媒体流发送给业务接收方。 After receiving the multicast media stream, the BGF converts the multicast media stream into a unicast media stream or a new multicast media stream and sends it to the service receiver.
14.如权利要求 13所述的媒体流控制方法, 其特征在于 AF请求 基于业务的策略决策功能实体 SPDF进行组播控制之前还包括: AF 获取需要进行组播控制的信息, 其中, AF按照下述至少一种方式获 取需要进行组播控制的信息: The media stream control method according to claim 13, wherein the AF requesting the multicast control based on the service policy decision function entity SPDF further comprises: the AF acquiring information that needs to be subjected to multicast control, wherein the AF is in accordance with the following At least one way to obtain information that requires multicast control:
AF查看业务接收方与业务提供方之间的业务协商报文中的业务 描述信息, 得到进行组播控制的信息; The AF view the service description information in the service negotiation packet between the service receiver and the service provider, and obtain the information for performing multicast control.
业务提供方收到业务接收方发出的组播业务请求后, 向 AF请求 进行组播控制, 并提供用于组播控制的信息。 After receiving the multicast service request from the service receiver, the service provider requests multicast control from the AF and provides information for multicast control.
15.如权利要求 13所述的媒体流控制方法, 其特征在于: AF倩 求 SPDF进行组播控制或 SPDF向 BGF提出转换组播媒体流的请求 时, 向 SPDF或 BGF提供如下至少一种信息: The media stream control method according to claim 13, wherein: AF requests the SPDF to perform multicast control or the SPDF proposes to the BGF to convert the multicast media stream, and provides at least one of the following information to the SPDF or the BGF. :
业务提供方用于发送组播媒体流的地址和端口信息; The service provider is configured to send address and port information of the multicast media stream;
业务提供方发送的组播媒体流的组播业务地址和端口信息; 业务接收方接收媒体流的地址和端口信息。 The multicast service address and port information of the multicast media stream sent by the service provider; the service receiver receives the address and port information of the media stream.
16.如权利要求 13所述的媒体流控制方法, 其特征在于: AF请 求 SPDF进行组播控制或 SPDF向 BGF提出转换组播媒体流的请求
时,如果 SPDF没有向 BGF提供地址和端口信息,则 SPDF指定由 BGF 分配地址和端口, 或者, BGF 向管理组播组的功能实体请求获得地 址和端口信息。 The media stream control method according to claim 13, wherein: the AF requests the SPDF to perform multicast control or the SPDF proposes to the BGF to convert the multicast media stream. If the SPDF does not provide address and port information to the BGF, the SPDF specifies that the address and port are assigned by the BGF, or the BGF requests the functional entity managing the multicast group to obtain the address and port information.
17.如权利要求 13所述的媒体流控制方法, 其特征在于 BGF向 业务接收方发送新的组播媒体流之前还包括: BGF 建立从资源控制 执行功能 RCEF到 BGF的组播转发路径。 The media stream control method according to claim 13, wherein before the BGF sends the new multicast media stream to the service receiver, the BGF further comprises: the BGF establishing a multicast forwarding path from the resource control execution function RCEF to the BGF.
18.如权利要求 17所述的媒体流控制方法, 其特征在于按照下述 方式建立所述组播转发路径: The media stream control method according to claim 17, wherein the multicast forwarding path is established in the following manner:
业务接收方请求加入到新的组播组; The service receiver requests to join the new multicast group;
RCEF处理所述请求后, 使用组播路由协议建立到 BGF的组播 转发路径。 After processing the request, the RCEF uses the multicast routing protocol to establish a multicast forwarding path to the BGF.
19.如权利要求 17所述的媒体流控制方法, 其特征在于按照下述 方式建立所述组播转发路径: The media stream control method according to claim 17, wherein the multicast forwarding path is established in the following manner:
SPDF向接入-资源及许可控制功能 A-RACF发送请求; 由 A-RACF向 RCEF请求加入到新的组播组; SPDF sends a request to the access-resource and admission control function A-RACF; the A-RACF requests the RCEF to join the new multicast group;
RCEF使用组播路由协议建立到 BGF的组播转发路径。 The RCEF uses the multicast routing protocol to establish a multicast forwarding path to the BGF.
20.如权利要求 13所述的媒体流控制方法, 其特征在于: 如果有 多个业务接收方请求同一个组播媒体流, 则 BGF为组播媒体流建立 业务接收方列表, 其中, 业务接收方列表以业务接收方接收媒体流的 地址和端口信息作为业务接收方之间的区分依据。 The media stream control method according to claim 13, wherein: if a plurality of service receivers request the same multicast media stream, the BGF establishes a service receiver list for the multicast media stream, where the service receives The party list uses the address and port information of the media stream received by the service receiver as the basis for distinguishing between the service receivers.
21.如权利要求 14所述的媒体流控制方法, 其特征在于: 所述业 务提供方为应用服务器 AS, 向业务接收方提供媒体流的为媒体资源 功能处理器 MRFP。 The media stream control method according to claim 14, wherein: the service provider is an application server AS, and the media stream function processor MRFP is provided to the service receiver.
22.如权利要求 21所述的媒体流控制方法, 其特征在于 BGF进 行组播媒体流转换之前还包括: The media stream control method according to claim 21, wherein before the BGF performs the multicast media stream conversion, the method further includes:
代理 CSCF接收业务接收方发起的业务请求,并提取业务接收方 接收媒体流的地址和端口信息; The proxy CSCF receives the service request initiated by the service receiver, and extracts the address and port information of the media stream received by the service receiver;
代理 CSCF将所述业务请求转发到服务 CSCF; The proxy CSCF forwards the service request to the service CSCF;
服务 CSCF将所述业务请求触发到 AS;
如果所述业务请求需要媒体资源, 则 AS向媒体资源功能控制器 MRFC发起媒体资源请求; The service CSCF triggers the service request to the AS; If the service request requires a media resource, the AS initiates a media resource request to the media resource function controller MRFC;
MRFC对 MRFP施加控制, MRFP确定组播业务地址和端口并将 组播业务地址和端口信息返回给 MRFC; The MRFC applies control to the MRFP, and the MRFP determines the multicast service address and port and returns the multicast service address and port information to the MRFC;
MRFC向 AS返回媒体资源请求结杲, 其中携带有组播业务地址 和端口信息和 /或 MRFP发送组播媒体流的地址和端口信息; The MRFC returns a media resource request balance to the AS, where the multicast service address and port information and/or the address and port information of the multicast media stream sent by the MRFP are carried;
AS向服务 CSCF返回业务响应, 其中携带有组播业务地址和端 口信息和 /或 MRFP发送组播媒体流的地址和端口信息; The AS returns a service response to the serving CSCF, which carries the multicast service address and port information and/or the address and port information of the MRFP to send the multicast media stream;
服务 CSCF向代理 CSCF转发所述业务响应。 The serving CSCF forwards the service response to the proxy CSCF.
23.如权利要求 22所述的媒体流控制方法, 其特征在于 BGF进 行组播媒体流转换之前还包括: The media stream control method according to claim 22, wherein before the BGF performs the multicast media stream conversion, the method further includes:
代理 CSCF收到服务 CSCF转发的所述业务响应后,提取組播业 务地址和端口信息和 /或 MRFP发送组播媒体流的地址和端口信息 , 并向 SPDF发起组播控制请求; After receiving the service response forwarded by the CSCF, the CSCF extracts the multicast service address and port information and/or the address and port information of the multicast media stream sent by the MRFP, and initiates a multicast control request to the SPDF;
SPDF向 BGF请求进行组播媒体流的转换。 SPDF requests the BGF to convert the multicast media stream.
24.如权利要求 13所述的媒体流控制方法, 其特征在于 BGF按 照下述方式将組播媒体流转换为单播媒体流:将分配的用于发送单播 媒体流的地址和端口作为单播媒体流的源地址和源端口,将获取的业 务接收方接收单播媒体流的地址和端口作为单播媒体流的目的地址 和目的端口。 The media stream control method according to claim 13, wherein the BGF converts the multicast media stream into a unicast media stream in the following manner: the address and port allocated for transmitting the unicast media stream are used as a single The source address and the source port of the broadcast media stream, and the obtained service receiver receives the address and port of the unicast media stream as the destination address and destination port of the unicast media stream.
25.如权利要求 13所述的媒体流控制方法, 其特征在于 BGF按 照下述方式将组播媒体流转换为新的组播媒体流:将分配的用于发送 新的组播媒体流的地址和端口作为新的组播媒体流的源地址和源端 口,将分配的新的组播媒体流的组播业务地址和端口作为新的组播媒 体流的目的地址和目的端口。 The media stream control method according to claim 13, wherein the BGF converts the multicast media stream into a new multicast media stream in the following manner: an address to be allocated for transmitting a new multicast media stream And the port is used as the source address and source port of the new multicast media stream, and the multicast service address and port of the new multicast media stream to be allocated are used as the destination address and destination port of the new multicast media stream.
26.—种媒体流转换设备, 其特征在于包括: 26. A media stream conversion device, comprising:
转换请求单元, 用于接收转换组播媒体流的请求; a conversion request unit, configured to receive a request for converting a multicast media stream;
组播媒体流接收单元, 用于接收组播媒体流; a multicast media stream receiving unit, configured to receive a multicast media stream;
組播媒体流转换单元,用于将所述组播媒体流接收单元接收的组
播媒体流转换为单播媒体流或新的组播媒体流; a multicast media stream converting unit, configured to receive the group received by the multicast media stream receiving unit Converting the broadcast media stream to a unicast media stream or a new multicast media stream;
媒体流发送单元,用于向业务接收方发送转换后的单播媒体流或 新的组播媒体流。 And a media stream sending unit, configured to send the converted unicast media stream or the new multicast media stream to the service receiver.
27.如权利要求 26所述的媒体流转换设备, 其特征在于还包括: 地址和端口信息接收单元,用于在组播媒体流转换单元将组播媒体流 转换为单播媒体流之前,接收业务接收方用于接收单播媒体流的地址 和端口信息, 和 /或, 接收业务接收方用于接收组播媒体流的组播业 务地址和端口信息。 The media stream conversion device according to claim 26, further comprising: an address and port information receiving unit, configured to receive the multicast media stream conversion unit before converting the multicast media stream to the unicast media stream The service receiver is configured to receive the address and port information of the unicast media stream, and/or receive the multicast service address and port information used by the service receiver to receive the multicast media stream.
28.如权利要求 26所述的媒体流转换设备, 其特征在于还包括: 分配地址和端口单元,用于在组播媒体流转换单元将组播媒体流 转换为单播媒体流或新的组播媒体流之前,分配用于发送单播媒体流 的地址和端口, 或者, 分配新的组播媒体流的组播业务地址和端口及 用于发送新的组播媒体流的地址和端口。 28. The media stream conversion device of claim 26, further comprising: an address and port unit for converting the multicast media stream to a unicast media stream or a new group at the multicast media stream conversion unit Before the media stream is broadcast, the address and port for transmitting the unicast media stream are allocated, or the multicast service address and port of the new multicast media stream are allocated, and the address and port for transmitting the new multicast media stream.
29.—种 BGF, 其特征在于包括: 29. A BGF, characterized by comprising:
转换请求单元, 用于接收 SPDF发出的转换组播媒体流的请求; 组播媒体流接收单元, 用于接收组播媒体流; a conversion request unit, configured to receive a request for converting a multicast media stream sent by the SPDF, and a multicast media stream receiving unit, configured to receive the multicast media stream;
组播媒体流转换单元,用于将组播媒体流转换为单播媒体流或新 的组播媒体流; a multicast media stream conversion unit, configured to convert the multicast media stream into a unicast media stream or a new multicast media stream;
媒体流发送单元,用于向业务接收方发送转换后的单播媒体流或 新的组播媒体流。 And a media stream sending unit, configured to send the converted unicast media stream or the new multicast media stream to the service receiver.
30.如权利要求 29所述的 BGF, 其特征在于还包括: 组播路由协 议支持单元, 用于支持组播路由协议。 The BGF of claim 29, further comprising: a multicast routing protocol support unit, configured to support a multicast routing protocol.
31.—种组播系统, 包括业务接收方及媒体流提供单元, 其特征 在于还包括: 31. A multicast system, comprising a service receiver and a media stream providing unit, further comprising:
組播转换设备,用于接收转换组播媒体流的请求及媒体流提供单 元发出的组播媒体流,并将组播媒体流转换为单播媒体流或新的组播 媒体流向业务接 >1欠方发送; The multicast conversion device is configured to receive the request for converting the multicast media stream and the multicast media stream sent by the media stream providing unit, and convert the multicast media stream into a unicast media stream or a new multicast media stream to the service interface. Affected by the party;
业务控制单元, 用于向组播转换设备发出转换组播媒体流的请 求, 和 /或, 控制媒体流提供单元发送媒体流, 和 /或, 控制组播转换
设备进行组播媒体流的转换, 和 /或, 与业务接收方进行业务协商。a service control unit, configured to send a request for converting the multicast media stream to the multicast conversion device, and/or, control the media stream providing unit to send the media stream, and/or control the multicast conversion The device performs the conversion of the multicast media stream, and/or performs service negotiation with the service receiver.
32.—种基于 NGN的组播系统, 包括业务接收方及媒体流提供单 元, 其特征在于还包括: BGF、 AF、 SPDF及业务提供方, 其中,32. An NGN-based multicast system, including a service receiver and a media stream providing unit, further comprising: a BGF, an AF, an SPDF, and a service provider, where
BGF用于接收 SPDF发出的转换组播媒体流的请求及媒体流提 供单元发出的組播媒体流,并将组播媒体流转换为单播某体流或新的 组播媒体流向业务接收方发送; The BGF is configured to receive the request for converting the multicast media stream sent by the SPDF and the multicast media stream sent by the media stream providing unit, and convert the multicast media stream into a unicast body stream or a new multicast media stream and send the message to the service receiver. ;
业务提供方用于与业务接收方进行业务协商; The service provider is used for business negotiation with the service receiver;
AF用于获取组播媒体流转换的信息, 如果确定需要对組播媒体 流进行转换, 则向 SPDF发起进行組播媒体流转换的请求; The AF is configured to obtain information about the conversion of the multicast media stream, and if it is determined that the multicast media stream needs to be converted, initiate a request for the multicast media stream conversion to the SPDF;
SPDF用于接收 AF发起的进行组播媒体流转换的请求后, 判断 是否允许进行转换, 如果允许, 则向 BGF请求进行转换。 After receiving the request initiated by the AF for multicast media stream conversion, the SPDF determines whether the conversion is allowed, and if so, requests the BGF to perform the conversion.
33.如权利要求 32所述的组播系统,其特征在于还包括: A-RACF 及 RCEF, 其中, 33. The multicast system of claim 32, further comprising: A-RACF and RCEF, wherein
A-RACF用于接收 SPDF发出的业务接收方要求加入到新的组播 组的请求, 并向 RCEF提出所述请求; The A-RACF is configured to receive a request from the service recipient sent by the SPDF to join the new multicast group, and submit the request to the RCEF;
RCEF用于接收 A-RACF发出的请求后,使用组播路由协议建立 到 BGF的组播转发路径。 After receiving the request from A-RACF, the RCEF uses the multicast routing protocol to establish a multicast forwarding path to the BGF.
34.如权利要求 32 所述的组播系统, 其特征在于: AF 为代理 CSCF, 业务提供方为 AS, 媒体流提供单元为 MRFP, 所述组播系统 还包括: 服务 CSCF及 MRFC, 其中, The multicast system according to claim 32, wherein: the AF is a proxy CSCF, the service provider is an AS, and the media stream providing unit is an MRFP, and the multicast system further includes: a service CSCF and an MRFC, where
代理 CSCF用于转发业务接收方与服务 CSCF之间的请求和响应 消息; The proxy CSCF is used to forward request and response messages between the service recipient and the serving CSCF;
AS 用于与业务接收方进行业务协商后, 根据协商的结果向 MRFC提出媒体资源请求; After the AS negotiates with the service receiver, it submits a media resource request to the MRFC according to the result of the negotiation;
MRFC用于接收 AS的媒体资源请求后,控制 MRFP进行媒体资 源的分配; After receiving the media resource request of the AS, the MRFC controls the MRFP to perform media resource allocation;
MRFP用于在 MRPC的控制下向业务接收方提供组播媒体流。 The MRFP is used to provide a multicast media stream to a service recipient under the control of the MRPC.
35.如权利要求 34所述的组播系统, 其特征在于: BGF支持組播 路由协议。
35. The multicast system of claim 34, wherein: the BGF supports a multicast routing protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200780000184XA CN101313515B (en) | 2006-03-02 | 2007-03-01 | Media stream control method, media stream converting apparatus and multicast system |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100340795A CN101030921B (en) | 2006-03-02 | 2006-03-02 | Packet-broadcasting controlling system and method |
CN200610034079.5 | 2006-03-02 | ||
CN200610034144.4 | 2006-03-03 | ||
CN2006100341444A CN101030918B (en) | 2006-03-03 | 2006-03-03 | Method, apparatus and system for supplying packet service based on IP network |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007098699A1 true WO2007098699A1 (en) | 2007-09-07 |
Family
ID=38458667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/000649 WO2007098699A1 (en) | 2006-03-02 | 2007-03-01 | A media stream control method, a media stream conversion device and a multicast system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2007098699A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6836481B1 (en) * | 2000-02-17 | 2004-12-28 | Fujitsu Limited | Packet conversion device and packet conversion method |
CN1574788A (en) * | 2003-06-04 | 2005-02-02 | 日本电气株式会社 | Ip multicast distribution system, streaming data distribution system and program therefor |
WO2005114431A2 (en) * | 2004-05-18 | 2005-12-01 | Motorola, Inc., A Corporation Of The State Of Delaware | Data communication system, router and method for routeing data |
CN1741492A (en) * | 2005-08-31 | 2006-03-01 | 杭州华为三康技术有限公司 | Equiment and method for controlling group transmitting data retransmission |
-
2007
- 2007-03-01 WO PCT/CN2007/000649 patent/WO2007098699A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6836481B1 (en) * | 2000-02-17 | 2004-12-28 | Fujitsu Limited | Packet conversion device and packet conversion method |
CN1574788A (en) * | 2003-06-04 | 2005-02-02 | 日本电气株式会社 | Ip multicast distribution system, streaming data distribution system and program therefor |
WO2005114431A2 (en) * | 2004-05-18 | 2005-12-01 | Motorola, Inc., A Corporation Of The State Of Delaware | Data communication system, router and method for routeing data |
CN1741492A (en) * | 2005-08-31 | 2006-03-01 | 杭州华为三康技术有限公司 | Equiment and method for controlling group transmitting data retransmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1676398B1 (en) | Multi-user streaming | |
JP4597104B2 (en) | Resource reception control processing method and apparatus | |
EP2139158B1 (en) | Method, device and system for realizing multicast service | |
CN101313515B (en) | Media stream control method, media stream converting apparatus and multicast system | |
WO2008049314A1 (en) | Method and system for implementing multicasting service or broadcasting service based on the next generation network | |
CN101299825B (en) | Method, system and apparatus for implementing multicast load-bearing resource control | |
EP1787424B1 (en) | Method and apparatus for sharing an ongoing data session | |
WO2007093124A1 (en) | The method and system of multimedia resource scheduling | |
EP1900139A2 (en) | Method and system for multicasting data in a communication network | |
WO2009026838A1 (en) | A multicast/unicast admission control method, device and system | |
WO2007090347A1 (en) | A carrying method, system and device for ip multimedia system service | |
JP4787376B2 (en) | Method, apparatus and system for controlling multicast bearer resources | |
WO2008154884A1 (en) | Service access method, system and device for non-attribution contracted internet protocol television service provider | |
WO2008138236A1 (en) | Multicast method and device | |
WO2007098699A1 (en) | A media stream control method, a media stream conversion device and a multicast system | |
Cerqueira et al. | Multi-user session control in the next generation wireless system | |
WO2008098504A1 (en) | Method and system for providing multicast service and device for providing multicast service parameter | |
WO2009129728A1 (en) | Broadcast/multicast method, apparatus and system | |
JP5064425B2 (en) | Relay device, relay method and relay processing program for video distribution service providing system | |
KR100912534B1 (en) | Network system for session controlling of multi-channel broadcast based on IMS and operating method thereof | |
WO2009100623A1 (en) | A method for performing a multicast service admission control in ngn | |
CN101330396B (en) | Method for establishing multicast route and entity equipment | |
Di Crescenzo et al. | MULTICAST-AWARE QOS IN NEXT GENERATION NETWORKS | |
WO2006081758A1 (en) | A network structure and a method of achieving multi-party communication service | |
KR20100102364A (en) | A method for multicasting service in a internet protocol multimedia subsystem and an apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200780000184.X Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07720291 Country of ref document: EP Kind code of ref document: A1 |