WO2013083052A1 - 获取组播地址的方法、装置及系统 - Google Patents

获取组播地址的方法、装置及系统 Download PDF

Info

Publication number
WO2013083052A1
WO2013083052A1 PCT/CN2012/085994 CN2012085994W WO2013083052A1 WO 2013083052 A1 WO2013083052 A1 WO 2013083052A1 CN 2012085994 W CN2012085994 W CN 2012085994W WO 2013083052 A1 WO2013083052 A1 WO 2013083052A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
user terminal
multicast address
form information
program form
Prior art date
Application number
PCT/CN2012/085994
Other languages
English (en)
French (fr)
Inventor
张忠建
查敏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP12854943.3A priority Critical patent/EP2770699A4/en
Publication of WO2013083052A1 publication Critical patent/WO2013083052A1/zh
Priority to US14/298,486 priority patent/US9516385B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/103Media gateways in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for acquiring a multicast address.
  • IPTV Internet Protocol Televis ion
  • IP Internet Protocol
  • Multimedia data such as text and images, providing home users with new technologies for a variety of interactive services, including digital TV. Users can enjoy IPTV services through computers or network set-top boxes + regular TVs.
  • IPv4 Internet Protocol vers ion
  • IPv4 Internet Protocol Version 4
  • IPv6 Internet Protocol Version 4
  • the IPTV service management system mainly adopts ALG (Appl ica Layer Layer Gatway) to adapt to the scenario where both IPv4 and IPv6 networks and devices exist simultaneously.
  • the user terminal is a multicast receiver, such as an STB (Set Top Box) or a computer.
  • ALG has IPv4 network and IPv6 network interworking capability and application layer function, and receives mapping request of IPv4 to IPv6 (or IPv6 to IPv4) multicast address sent by EPG (Electroic Program Guides) device.
  • EPG Electronic Program Guides
  • the EPG device is such that the EPG device generates an IPv6 (or IPv4) multicast address and channel correspondence table according to the mapping table shown.
  • the ALG intercepts the response message of the EPG device in response to the multicast receiver electronic program form request, and according to its own mapping rule, the intercepted IPv4 (or IPv6) multicast address and channel correspondence table, and the acquired multicast receiver Version information, generating IPv6 (or IPv4)
  • IPv4 The multicast address and channel correspondence table is sent to the multicast receiver.
  • the EPG device requires the EPG device to be a dual-stack device, or two EPG (IPv4 EPG and IPv6 EPG) devices, so as to be able to send an IPv4 program form to an IPv4-only user terminal, and to support only IPv6.
  • the user terminal sends an IPv6 program form.
  • the network device is required to have an application layer capability, and the device is complicated and has high performance requirements.
  • the EPG device needs to interact with the ALG, and the processing of the correspondence between the channel and the multicast address by the EPG device is complicated, which is not conducive to IPTV service management.
  • the system migrates from IPv4 to IPv6.
  • the gateway devices of the IPv4 network and the IPv6 network need to have the capability of ALG, which results in a complicated device and high performance requirements on the gateway device.
  • Embodiments of the present invention provide a method, an apparatus, and a system for acquiring a multicast address, which enable a user terminal to acquire a program form that matches an IP version supported by the user in a mixed reception scenario in which both IPv4 and IPv6 exist simultaneously. Information, the entire process does not require EPG equipment to interact with the ALG, which reduces the complexity of the equipment in the IPTV management system and facilitates the migration of the IPTV service management system from IPv4 to IPv6.
  • an embodiment of the present invention provides a method for obtaining a multicast address, where the method includes:
  • an embodiment of the present invention further provides a method for obtaining a multicast address, where the method includes:
  • the program form information includes a correspondence between a multicast channel and a multicast address
  • the user terminal When receiving the first request message sent by the user terminal, sending the program form information to the user terminal, so that the user terminal acquires a multicast address that matches the user terminal according to the program form information, where The first request message is used to instruct the EPG device to deliver the program form information to the user terminal, where the matching means that the IP version supported by the multicast address is consistent with the IP version supported by the user terminal.
  • the embodiment of the present invention further provides a user terminal, where the user terminal includes: a first sending unit, configured to send a first request message to an EPG device to obtain program form information;
  • a first processing unit configured to receive program form information returned by the EPG device, obtain a multicast address matching the current user terminal according to the program form information, and send a multicast request message according to the multicast address, where The multicast request message includes a multicast address selected by the user.
  • the embodiment of the present invention further provides a device, where the device is configured to send program form information to a user terminal, where the device includes:
  • a storage unit configured to acquire and save the program form information, where the program form information includes a correspondence between a multicast channel and a multicast address;
  • a third processing unit configured to: when receiving the first request message sent by the user terminal, send the program form information to the user terminal, so that the user terminal acquires the user terminal according to the program form information
  • the multicast request where the first request message is used to instruct the EPG device to send the program form information to the user terminal, where the matching refers to the IP version supported by the multicast address and the user terminal.
  • the supported IP versions are the same.
  • the embodiment of the present invention further provides a system for acquiring a multicast address, where the system includes a multicast source, the user terminal, and a device, where the multicast source is used to provide multicast to the device. The correspondence between the channel and the multicast address.
  • the method, the device, and the system for obtaining a multicast address provided by the embodiment of the present invention can ensure that the user terminal acquires a multicast address that matches the self in the mixed receiving scenario in which the IPv4 device and the IPv6 device exist simultaneously, and further according to the group.
  • the broadcast address sends a multicast request message.
  • the entire process does not require EPG equipment to interact with the ALG, which reduces the complexity of the equipment in the IPTV management system and facilitates the migration of the IPTV service management system from IPv4 to IPv6.
  • FIG. 1 is a technical solution for solving an IPv4 and IPv6 compatibility of an IPTV system in the prior art
  • FIG. 2 is a schematic flowchart of a method for providing a method according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flow chart of a method for providing a second embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for providing a third embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for providing a method according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic flowchart of a method for providing a method according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic flowchart of a method for providing a method according to Embodiment 6 of the present invention.
  • FIG. 8 to FIG. 11 are schematic structural diagrams of a user terminal according to Embodiment 7 of the present invention.
  • FIG. 12 is a schematic structural diagram of a device according to Embodiment 8 of the present invention.
  • An embodiment of the present invention provides a method for obtaining a multicast address. As shown in FIG. 2, the method includes:
  • the user terminal sends a first request message to the EPG device to obtain program form information.
  • the user terminal may be an STB or a computer in the IPTV system, or may be another device having similar functions, which is not limited herein;
  • the program form information includes a correspondence between a multicast channel and an IPv4 multicast address. And at least one of a correspondence between a multicast channel and an IPv6 multicast address.
  • the user terminal receives the program form information returned by the EPG device, obtains a multicast address that matches the current user terminal according to the program form information, and sends a multicast request message according to the multicast address, where The multicast request message includes the multicast address selected by the user.
  • the user terminal may receive the program form information and display it to the user for selection by the user; and select a multicast address to send a multicast request message to the multicast router according to the channel selected by the user and the protocol supported by the user terminal.
  • the multicast request message includes an IGMP (Internet Group Management Protocol) request message, or an MLD (Mul ti cas t L is tener Di scover) request message;
  • IGMP Internet Group Management Protocol
  • MLD Mul ti cas t L is tener Di scover
  • the multicast router is configured to process the received multicast control packet, and The multicast source obtains the multicast data stream for distribution.
  • the IGMP request message and the MLD request message are both used to obtain a multicast data stream from a multicast source; wherein the IGMP request message is applicable to a user equipment and network supporting IPv4, and the MLD request message is applicable to a user equipment supporting IPv6. And the network.
  • the multicast address may be a multicast group address, a multicast group address, and a multicast source address, which are not limited herein.
  • the method provided by the embodiment of the present invention can ensure that the user terminal obtains a multicast address that matches the multicast address in the hybrid receiving scenario in which the IPv4 device and the IPv6 device exist simultaneously, and then obtains the multicast data stream.
  • the entire process does not require EPG equipment to interact with the ALG, which can reduce the complexity of the equipment in the IPTV management system and facilitate the migration of the IPTV service management system from IPv4 to IPv6.
  • An embodiment of the present invention provides a method for acquiring a multicast address, where the method can be implemented by using a device that sends a program form information to a user terminal (for example, an EPG device). As shown in FIG. 3, the EPG device is used as the implementation.
  • Implemented device the method comprising:
  • the EPG device acquires and saves the program form information, where the program form information includes a correspondence between a multicast channel and a multicast address.
  • the EPG device is configured to acquire program form information from a multicast source or other management device (a device capable of publishing program form information) and transmit it to the user terminal.
  • a multicast source or other management device a device capable of publishing program form information
  • the EPG device in this embodiment may also be other devices having the same function.
  • the EPG device When the EPG device receives the first request message sent by the user terminal, sending, to the user terminal, program form information, so that the user terminal acquires a match with the user terminal according to the program form information.
  • a multicast address where the first request message is used to instruct the EPG device to send program form information to the user terminal, where the matching refers to an IP version supported by the multicast address and supported by the user terminal.
  • the IP version is the same.
  • the EPG device when an IPv4 device exists in the IPTV management system
  • the EPG device can deliver a matching multicast address to the user terminal.
  • the entire process does not require the EPG device to interact with the ALG, which can reduce the complexity of the IPTV management system device and facilitate the migration of the IPTV service management system from IPv4 to IPv6.
  • Example 3
  • An embodiment of the present invention provides a method for obtaining a multicast address. As shown in FIG. 4, the method includes:
  • the EPG device obtains two program forms from a multicast source or other management device (refer to a device capable of publishing program form information) and saves the local program form.
  • One program form is used to characterize the correspondence between the multicast channel and the IPv4 multicast address
  • another program form is used to characterize the correspondence between the multicast channel and the IPv6 multicast address.
  • the user terminal sends a first request message to the EPG device, where the first request message carries its own terminal identifier.
  • the first request message is used to instruct the EPG device to send, to the user terminal, program form information including a multicast address that matches the current user terminal, where the terminal identifier is used to represent the user terminal. Supported IP version.
  • the user terminal includes a user terminal that only supports IPv4, or a user terminal that only supports IPv6, or a dual-stack user terminal that supports both IPv4 and IPv6, which is not limited herein.
  • the EPG device receives the first request message, obtains the terminal identifier from the terminal, and determines program form information according to the terminal identifier, where the program form information includes a multicast address that matches the user terminal.
  • the matching means that the IP version supported by the multicast address is consistent with the IP version supported by the user terminal.
  • the EPG device sends the program form information to a user terminal, so that the user terminal acquires a multicast address that matches an IP protocol supported by the user.
  • the user terminal receives the program form information and displays, and sends a multicast request message to the multicast router according to the user indication, to obtain a multicast data flow, where the multicast request message includes The multicast address selected by the user.
  • the multicast router is configured to process the received multicast control packet, and obtain the multicast data stream from the multicast source for distribution.
  • the multicast request message sent to the multicast source is an IGMP request message; when the user terminal only supports the IPv6 protocol, the multicast request message sent to the multicast source is IGMP. Request message; When the user terminal supports both the IPv4 protocol and the IPv6 protocol, the multicast request message sent to the multicast source is an IGMP request message or an MLD request message.
  • the method for obtaining a multicast address provided by the embodiment of the present invention, by storing two pieces of program form information on an EPG device, so that the EPG device can simultaneously send program form information to a user terminal supporting IPv4 and a user terminal supporting IPv6, Enable the user terminal to obtain a multicast address that matches it.
  • the program form information can be sent to the user terminal to enable the user terminal to obtain a matching multicast address, and the entire process does not require an EPG.
  • the interaction between the device and the ALG can reduce the complexity of the device in the IPTV management system and facilitate the migration of the IPTV service management system from IPv4 to IPv6.
  • the embodiment of the invention provides a method for obtaining a multicast address. As shown in FIG. 5, the method includes:
  • the EPG device acquires and saves a program form from a multicast source or other management device (refer to a device capable of publishing program form information), where the program form includes a correspondence between a multicast channel and an IPv4 multicast address, and multicast. Correspondence between a channel and an IPv6 multicast address.
  • the user terminal sends a first request message to the EPG device to obtain the program form information, where the first request message is used to instruct the EPG device to send the program form information to the user terminal.
  • the EPG device receives the first request message, and sends the saved program form information to the user terminal, where the program form includes a multicast channel and an IPv4 multicast address. Correspondence relationship and correspondence between multicast channels and IPv6 multicast addresses.
  • the user terminal receives the program form information, and selects the program form information according to an IP version supported by the user terminal, and determines a multicast address that matches the self.
  • the IPv4 user terminal obtains the correspondence between the multicast channel and the IPv4 multicast address from the program form information
  • the user terminal of the IPv6 obtains the correspondence between the multicast channel and the IPv6 multicast address from the program form information.
  • the user terminal sends a multicast request message to the multicast router according to the user indication, to obtain a multicast data flow, where the multicast request message includes a multicast address selected by the user.
  • the IPv4-capable user terminal may send an IGMP request message to the multicast router to obtain the multicast data stream; the IPv6-capable user terminal may send the MLD request message to the multicast router to obtain the multicast data stream; and support both IPv4 and IPv6.
  • the user terminal may send an IGMP request message or an MLD request message to the multicast router to obtain the multicast data stream.
  • the multicast request message can be further determined by detecting the IP version supported by the current network.
  • the user terminal may send an IGMP request message to the multicast router to obtain a multicast data stream.
  • the user terminal may send an MLD request message to the multicast router to obtain a multicast data stream;
  • the user terminal may send an IGMP request message or an MLD request message to the multicast router according to the obtained version information of the multicast source to obtain a multicast data stream, where the user The terminal may obtain version information supported by the multicast source from the EPG device.
  • the multicast source is IPv4
  • the mobile terminal sends an IGMP request message to the multicast router
  • the multicast source is IPv6
  • the mobile terminal sends an MLD request message to the multicast router
  • IPv4 and IPv6 are supported, the mobile terminal sends an IGMP request message or an MLD request message to the multicast router.
  • the user terminal may detect the IP version supported by the network by using the following method:
  • the user terminal is based on the WAN (Wide Area Network) information of the home gateway.
  • Obtain the IP version supported by the network for example: DS-l i te (simple dual-stack network) scenario, the WAN port is an IPv6 address; in a traditional IPv4 network, the WAN port is an IPv4 address; the user terminal obtains the WAN port information of the home gateway.
  • the way can be obtained using existing protocols, such as the UPnP (Universal Plug and Play) protocol. or
  • the user terminal receives an indication message sent by a DHCP (Dynamic Hosting Protocol) server to determine an IP version supported by the network, for example: by a DHCP server, the user is notified by the DHCP server.
  • the network that is preferentially selected by the terminal may carry an indication message of preferentially transmitting an IPv6 or an IPv4 message in the ACK message sent by the DHCP server to the user terminal.
  • the user terminal when it cannot recognize the topology of the network, it can simultaneously send an IGMP request message or an MLD request message to the network.
  • the multicast router may select a request message for processing according to a preset rule; or the multicast source processes the received IGMP request message and the MLD request message, and the multicast data corresponding to the IGMP/MLD request message is processed.
  • the stream is sent to the user terminal, and the user terminal can select and receive according to the time sequence in which the multicast data stream is received. For example, the IPv6 multicast data stream or the IPv4 multicast data stream that arrives earlier can be selected.
  • the user terminal obtains the correspondence between the multicast channel and the IPv4 multicast address and the correspondence between the multicast channel and the IPv6 multicast address from the EPG device, and selects a match with the self. Multicast address to get the multicast data stream.
  • the user terminal can obtain the program form information that matches the IP version supported by the user terminal, and the entire process does not require the EPG device to interact with the ALG, thereby reducing the complexity of the device in the IPTV system, and
  • the type of the multicast request message is further determined according to the topology of the network, which facilitates the migration of the IPTV service management system from IPv4 to IPv6.
  • the embodiment of the invention provides a method for obtaining a multicast address. As shown in FIG. 6, the method includes:
  • the EPG device is from a multicast source or other management device (a device capable of publishing program form information)
  • the program form is obtained and saved, and the program form includes a correspondence between a multicast channel and an IPv4 multicast address, or a correspondence between a multicast channel and an IPv6 multicast address.
  • the user terminal sends a first request message to the EPG device to obtain the program form information, where the first request message is used to instruct the EPG device to send the program form information to the user terminal.
  • the user terminal detects whether the multicast address in the program form information matches with itself, and if yes, performs step 604; if not, step 605 is performed.
  • the matching means that the IP version supported by the multicast address is consistent with the IP version supported by the user terminal.
  • the multicast address that matches the user terminal is an IPv4 multicast address; when the user terminal supports IPv6, the multicast matches the user terminal.
  • the address is an IPv6 multicast address.
  • the user terminal sends a multicast request message to the multicast router according to the multicast address to obtain a multicast data stream.
  • the multicast router is configured to process the received multicast control packet, and obtain the multicast data stream from the multicast source for distribution.
  • the user terminal performs mapping processing on the program form information according to a local multicast stateless mapping relationship table to obtain a multicast address that matches the current user terminal.
  • the multicast stateless mapping relationship table is used to determine a mapping relationship between an IPv4 multicast address and an IPv6 multicast address.
  • the user terminal sends a multicast request message to the multicast router according to the acquired multicast address that matches the current user terminal to obtain a multicast data stream.
  • the multicast request message sent to the multicast source is an IGMP request message; when the user terminal only supports the IPv6 protocol, the multicast request message sent to the multicast source is IGMP. Request message; When the user terminal supports both the IPv4 protocol and the IPv6 protocol, the multicast request message sent to the multicast source is an IGMP request message or an MLD request message.
  • the method for obtaining a multicast address provided by the embodiment of the present invention can be based on a local group when the multicast address in the program form information acquired by the user terminal does not match the IP version supported by the user terminal.
  • the broadcast stateless mapping relationship table performs mapping processing on the program form information to obtain a multicast address that matches the user terminal.
  • the method provided by the embodiment of the present invention does not require the EPG device to interact with the ALG in the process of acquiring the multicast address matched by the user terminal, which reduces the complexity of the device in the IPTV management system compared with the prior art. Conducive to the migration of IPTV service management system from IPv4 to IPv6. Example 6
  • the embodiment of the invention provides a method for obtaining a multicast address. As shown in FIG. 7, the method includes:
  • the EPG device acquires and saves a program form from a multicast source or another management device (a device capable of publishing program form information), where the program form includes a correspondence between a multicast channel and an IPv4 multicast address, or a multicast channel. Correspondence with IPv6 multicast addresses.
  • the user terminal sends a first request message to the EPG device to obtain the program form information, where the first request message is used to instruct the EPG device to send the program form information to the user terminal.
  • the user terminal acquires program form information from the EPG device, and detects whether the multicast address in the program form information matches itself. If yes, step 704 is performed; if no, step 705 is performed.
  • the user terminal acquires a multicast address according to the program form information, and sends a multicast request message to the multicast router according to the multicast address selected by the user to obtain a multicast data stream.
  • the multicast router is configured to process the received multicast control packet, and obtain the multicast data stream from the multicast source for distribution.
  • the user terminal sends a mapping request message of the IPv4 multicast address and the IPv6 multicast address to the NAT (Net Addres s Transfer) device to obtain a multicast address that matches the current user terminal.
  • NAT Network Addres s Transfer
  • the function of the ALG device in the prior art of the NAT can generate IPv4 multicast according to its own mapping rule.
  • the user terminal acquires a multicast address that matches the current user terminal from the NAT device, and sends a multicast request message to the multicast router according to the multicast address to obtain a multicast data stream.
  • the multicast request message sent to the multicast router is an IGMP request message; when the user terminal only supports the IPv6 protocol, the multicast request message sent to the multicast router is IGMP. Request message; When the user terminal supports both the IPv4 protocol and the IPv6 protocol, the multicast request message sent to the multicast router is an IGMP request message or an MLD request message.
  • the method for obtaining a multicast address provided by the embodiment of the present invention when the program form obtained by the user terminal from the EPG device does not match the IP version supported by the user, can send a mapping request to the ALG to obtain a multicast address matching the self. .
  • the method provided by the embodiment of the present invention does not require the EPG device to interact with the ALG in the process of the user terminal acquiring the multicast address that matches the user. Compared with the prior art, the complexity of the device in the IPTV system can be reduced. Conducive to the migration of IPTV service management system from IPv4 to IPv6. Example 7
  • the embodiment of the present invention provides a user terminal, which can implement the method on the user terminal side in the foregoing method embodiment.
  • the user terminal includes:
  • a first sending unit 81 configured to send a first request message to the EPG device to obtain program form information
  • the first processing unit 82 is configured to receive the program form information returned by the EPG device, obtain a multicast address that matches the current user terminal according to the program form information, and send a multicast request message according to the multicast address,
  • the multicast request message includes a multicast address selected by the user.
  • the program form information received by the first processing unit 82 includes a correspondence between a multicast channel and an Internet Protocol version 4 IPv4 multicast address, and a correspondence between a multicast channel and an Internet Protocol version 6 IPV 6 multicast address.
  • the multicast address includes a multicast group The address, or the multicast address includes a multicast group address and a multicast source address.
  • the multicast request message sent by the first processing unit 82 to the multicast router may be an IGMP request message or an MLD request message.
  • the multicast request message sent to the multicast router is an IGMP request message; when the user terminal only supports the IPv6 protocol, the multicast request message sent to the multicast router is IGMP. Request message; When the user terminal supports both the IPv4 protocol and the IPv6 protocol, the multicast request message sent to the multicast router is an IGMP request message or an MLD request message.
  • the first processing unit 82 is further configured to: carry the terminal identifier of the current user terminal in the first request message, to instruct the EPG device to send a program form to the current user terminal, where the program form information The multicast address is matched with the current user terminal, where the terminal identifier is used to represent the IP version supported by the current user terminal.
  • the program form information received by the first processing unit 82 specifically includes a correspondence between a multicast channel and an IPv4 multicast address, and a correspondence between a multicast channel and an IPv6 multicast address.
  • the first processing unit 82 further includes a first processing sub-unit 821, configured to select, according to an IP version supported by the current user terminal, the program form information, and determine the current user terminal.
  • the supported IP version matches the multicast address, and the matching means that the IP version supported by the multicast address is consistent with the IP version supported by the user terminal.
  • the user terminal when the user terminal supports both the IPv4 protocol and the IPv6 protocol, as shown by the dotted line in FIG. 9, the user terminal further includes:
  • the detecting unit 83 is configured to detect an IP version supported by the current network
  • the first processing unit 82 is specifically configured to:
  • the detecting unit 83 determines that the network supports IPv4, sending an IGMP request message to the multicast router to obtain a multicast data stream;
  • the detecting unit 83 determines that the network supports IPv6, sends an MLD request message to the multicast router to obtain a multicast data stream;
  • the detecting unit 83 determines that the network supports both IPv4 and IPv6, the IGMP request message or the MLD request message is sent to the multicast router to acquire the multicast data stream.
  • the detecting unit 83 includes a first detecting subunit 831 or a second detecting subunit 832, wherein:
  • the first detecting sub-unit 831 is configured to determine, according to the home gateway WAN port information acquired by the user terminal, an IP version supported by the current network;
  • the second detecting sub-unit 832 is configured to receive an indication message sent by the DHCP server to determine an IP version supported by the network.
  • the program form information acquired by the first processing unit 82 includes a correspondence between a multicast channel and an IPv4 multicast address, or a correspondence between a multicast channel and an IPv6 multicast address.
  • the first processing unit 82 further includes a third detecting subunit 822, and the user terminal further includes a second processing unit 84, where:
  • the third detecting sub-unit 822 is configured to detect whether the multicast address in the program form information matches the current user terminal;
  • the first processing unit 82 is configured to: when the third detecting sub-unit 822 determines that the multicast address in the program form information matches the current user terminal, send a multicast request to the multicast router according to the program form information. Message to obtain a multicast data stream;
  • the second processing unit 84 is configured to: when the third detection sub-unit 822 determines that the program form information does not match the current user terminal, perform mapping processing on the program form information according to the multicast stateless mapping relationship table, to obtain The multicast address that matches the current user terminal.
  • the program form information received by the first processing unit 82 includes a correspondence between a multicast channel and an IPv4 multicast address, or a correspondence between a multicast channel and an IPv6 multicast address.
  • the first processing unit 82 includes a fourth detecting subunit 823, and the user terminal further includes a second sending unit 85, wherein: the fourth detecting subunit 823 is configured to detect Whether the multicast address in the program form information matches the current user terminal; Specifically, the first processing unit 82 is specifically configured to: when the fourth detection sub-unit 823 determines that the program form information matches the current user terminal, send a multicast request message to the multicast router according to the multicast address. To obtain a multicast data stream;
  • the second sending unit 85 is configured to: when the fourth detecting sub-unit 823 determines that the program form information does not match the current user terminal, send a mapping request message of an IPv4 multicast address and an IPv6 multicast address to the NAT device, to obtain a multicast address matching the current user terminal, wherein the NAT device has an IPv4 network and an IPv6 network interworking capability and an application layer function, and can generate a mapping table of an IPv4 multicast address and an IPv6 multicast address according to a mapping rule of the same. And sending the mapping table to the user terminal, so that the user terminal acquires a multicast address that matches itself.
  • the user terminal provided in the embodiment of the present invention may be an STB or a computer in the IPTV system, or may be another device having similar functions, which is not limited herein.
  • the user terminal provided by the embodiment of the present invention can automatically obtain the program list information matching the self to determine the multicast address, and then send a multicast request to the multicast source to obtain the multicast data stream.
  • the user terminal provided by the embodiment of the present invention can reduce the complexity of the network device in the IPTV system when acquiring the program form information, and is beneficial to the migration of the IPTV service management system from IPv4 to IPv6.
  • the embodiment of the present invention provides a device, which can implement the method on the EPG device side in the foregoing method embodiment. As shown in FIG. 12, the device includes:
  • the storage unit 121 is configured to acquire and save the program form information, where the program form information includes a correspondence between the multicast channel and the multicast address;
  • the third processing unit 122 is configured to: when receiving the first request message sent by the user terminal, send the program form information to the user terminal, so that the user terminal acquires the user terminal according to the program form information. a matching multicast address, where the first request message is used to indicate that the device sends the program form information to the user terminal, where the matching refers to the multicast
  • the IP version supported by the address is the same as the IP version supported by the user terminal.
  • the storage unit 121 is specifically configured to acquire and save two pieces of program form information, where the two pieces of program form information respectively include a multicast channel and
  • the first request message received by the third processing unit 122 includes a terminal identifier of the user terminal, where the terminal identifier is used to represent an IP version supported by the user terminal;
  • the third processing unit 122 is specifically configured to determine, according to the terminal identifier, program form information that matches the user terminal, and send the program form information that matches the user terminal to the user terminal, where
  • the program form information includes a multicast address that matches the user terminal.
  • the storage unit 121 is specifically configured to acquire program form information, and save the correspondence between the multicast channel and the IPv4 multicast address and the correspondence between the multicast channel and the IPv6 multicast address.
  • the third processing unit 122 is specifically configured to send a correspondence between the multicast channel and an IPv4 multicast address and a corresponding relationship between the multicast channel and the IPv6 multicast address to the user terminal, where the user terminal selects A multicast address that matches itself.
  • the device provided by the embodiment of the present invention can send program form information to the user terminal, so that the user terminal acquires a multicast address, and acquires a multicast data stream according to the multicast address.
  • the device provided by the embodiment of the present invention does not need to interact with other network devices in the IPTV system when sending the program form information to the user terminal, which simplifies the process of obtaining the multicast address and is beneficial to the IPTV service. Manage the migration of systems from IPv4 to IPv6.
  • the embodiment of the invention further provides a system for obtaining a multicast address, which can implement the foregoing method embodiments.
  • the system includes a multicast source, the user terminal shown in FIG. 8 to FIG. 11 and the device shown in FIG. 12, wherein the multicast source is used to provide a correspondence between a multicast channel and a multicast address to the device. .
  • the device in the system for obtaining a multicast address provided by the embodiment of the present invention has low complexity, and can determine a multicast message according to the topology of the network to optimize the transmission of the multicast data stream. Conducive to the migration of IPTV service management system from IPv4 to IPv6.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a multicast source, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种获取组播地址的方法、装置及系统,涉及通信领域,用于解决现有技术中EPG设备和ALG进行交互的过程中EPG设备对频道和组播地址的对应关系的处理较为复杂,不利于IPTV业务管理系统从IPv4到IPv6进行迁移问题。本发明提供的方法包括:向EPG设备发送第一请求消息以获取节目表单信息;接收所述EPG设备返回的节目表单信息,根据所述节目表单信息获取与当前用户终端相匹配的组播地址,并根据所述组播地址发送组播请求消息。本发明适用于通信领域,用于获取组播地址。

Description

获取组播地址的方法、 装置及系统 本申请要求于 2011 年 12 月 9 日提交中国专利局、 申请号为 201110409728. 6、 发明名称为 "获取组播地址的方法、 装置及系统" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及一种获取组播地址的方法、 装置及系 统。
背景技术
IPTV ( Internet Protocol Televi s ion , 交互式网络电视)是一种利 用宽带有线电视网, 集互联网、 多媒体、 通信等多种技术于一体, 通过 IP ( Internet Protocol , 互联网协议) 网络传送电视、 视频、 文本、 图像等 多媒体数据, 向家庭用户提供包括数字电视在内的多种交互式服务的崭新 技术。 用户可以通过计算机、或者网络机顶盒 +普通电视机的方式享受 IPTV 服务。
近年来, 随着网络用户数量的增长, IPv4 ( Internet Protocol vers ion
4 , 网际协议版本 4 )地址将逐渐耗尽, 采用 IPv4 网络的业务需要迁移到 IPv6网络才能保持业务的发展。 由于 IPTV技术通过 IP网络传输数据, 在 IPv4向 IPv6迁移的过程中, IPTV业务的管理系统需要适应 IPv4和 IPv6 网络和设备同时存在的场景。
目前, IPTV业务管理系统主要通过 ALG ( Appl ica t ion Layer Ga teway, 应用层网关) 以适应 IPv4和 IPv6网络和设备同时存在的场景。 如图 1所 示, 用户终端为组播接收者,例如 STB ( Set Top Box, 机顶盒)或计算机。 其中, ALG具有 IPv4 网络和 IPv6 网络互通能力和应用层功能, 当接收到 EPG ( Elect ronic Program Guides , 电子节目表单)设备发送的 IPv4到 IPv6 (或者是 IPv6到 IPv4 )的组播地址的映射请求时, 能够根据本身的映射法 则以及接收到的 IPv4 (或者 IPv6 )组播地址和频道对应表, 生成 IPv4 (或 者 IPv6 )组播地址到 IPv6 (或者 IPv4 )组播地址的映射表并将其发送至
EPG设备, 以使得 EPG设备根据所示映射表生成 IPv6 (或者 IPv4 )组播地 址和频道对应表。 或者 ALG截获到 EPG设备应答组播接收者电子节目表单 请求的应答报文, 并根据本身的映射法则, 截获的 IPv4 (或者 IPv6 )组播 地址和频道对应表, 以及获取的组播接收者的版本信息, 生成 IPv6 (或者
IPv4 )组播地址和频道对应表并将其发送至组播接收者。 值得说明的, 现 有技术中要求 EPG设备为双栈设备,或者是两个 EPG( IPv4 EPG和 IPv6 EPG ) 设备, 从而能够向仅支持 IPv4的用户终端发送 IPv4节目表单, 以及向仅 支持 IPv6的用户终端发送 IPv6节目表单。 而且要求网络设备具有应用层 的能力, 设备复杂且性能要求高。
在实现本发明的过程中, 发明人发现现有技术中至少存在如下问题: EPG设备需要和 ALG进行交互,导致 EPG设备对频道和组播地址的对应 关系的处理较为复杂, 不利于 IPTV业务管理系统从 IPv4到 IPv6的迁移; 同时 IPv4网络和 IPv6网络的网关设备需要具有 ALG的能力, 导致设备复 杂, 且对所述网关设备的性能要求较高。 发明内容 本发明的实施例提供一种获取组播地址的方法、 装置及系统, 能够在 IPv4和 IPv6同时存在的混合接收场景下,使得用户终端获取与自身所支持 的 IP版本相匹配的节目表单信息,整个过程无需 EPG设备与 ALG进行交互, 降低了 IPTV管理系统中设备的复杂性, 有利于 IPTV业务管理系统从 IPv4 到 IPv6的迁移。
为达到上述目的, 本发明的实施例采用如下技术方案:
一方面, 本发明实施例提供了一种获取组播地址的方法, 所述方法包 括:
向 EPG设备发送第一请求消息以获取节目表单信息; 接收所述 EPG设备返回的节目表单信息, 根据所述节目表单信息获取 与当前用户终端相匹配的组播地址, 并根据所述组播地址发送组播请求消 息, 所述组播请求消息中包括用户选择的组播地址。
另一方面, 本发明实施例还提供了一种获取组播地址的方法, 所述方 法包括:
获取节目表单信息并保存, 所述节目表单信息包括组播频道和组播地 址的对应关系;
当接收到用户终端发送的第一请求消息时, 向所述用户终端发送节目 表单信息, 以使得所述用户终端根据所述节目表单信息获取与所述用户终 端相匹配的组播地址, 其中, 所述第一请求消息用于指示所述 EPG设备向 用户终端下发节目表单信息, 所述匹配是指所述组播地址所支持的 IP版本 与所述用户终端所支持的 IP版本一致。
再一方面,本发明实施例还提供了一种用户终端,所述用户终端包括: 第一发送单元, 用于向 EPG设备发送第一请求消息以获取节目表单信 息;
第一处理单元, 用于接收所述 EPG设备返回的节目表单信息, 根据所 述节目表单信息获取与当前用户终端相匹配的组播地址, 并根据所述组播 地址发送组播请求消息, 所述组播请求消息中包括用户选择的组播地址。
又一方面, 本发明实施例还提供了一种设备, 所述设备用于向用户终 端发送节目表单信息, 所述设备包括:
存储单元, 用于获取节目表单信息并保存, 所述节目表单信息包括组 播频道和组播地址的对应关系;
第三处理单元, 用于当接收到用户终端发送的第一请求消息时, 向所 述用户终端发送节目表单信息, 以使得所述用户终端根据所述节目表单信 息获取与所述用户终端相匹配的组播地址, 其中, 所述第一请求消息用于 指示所述 EPG设备向用户终端下发节目表单信息, 所述匹配是指所述组播 地址所支持的 IP版本与所述用户终端所支持的 IP版本一致。 另一方面, 本发明实施例还提供了一种获取组播地址的系统, 所述系 统包括组播源、 上述用户终端以及设备, 其中, 所述组播源用于向所述设 备提供组播频道和组播地址的对应关系。
本发明实施例提供的获取组播地址的方法、 装置及系统, 能够在 IPv4 设备和 IPv6设备同时存在的混合接收场景下, 确保用户终端获取与自身相 匹配的组播地址, 进而根据所述组播地址发送组播请求消息。 整个过程无 需 EPG设备与 ALG进行交互, 降低了 IPTV管理系统中设备的复杂性, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。
附图说明
实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。
图 1为现有技术中 IPTV系统解决 IPv4和 IPv6兼容性的技术方案; 图 2为本发明实施例 1提供方法的流程示意图;
图 3为本发明实施例 2提供方法的流程示意图;
图 4为本发明实施例 3提供方法的流程示意图;
图 5为本发明实施例 4提供方法的流程示意图;
图 6为本发明实施例 5提供方法的流程示意图;
图 7为本发明实施例 6提供方法的流程示意图;
图 8-图 11为本发明实施例 7提供的用户终端的结构示意图;
图 12为本发明实施例 8提供的设备的结构示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述,显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
实施例 1
本发明实施例提供了一种获取组播地址的方法, 如图 2 所示, 所述方 法包括:
201、 用户终端向 EPG设备发送第一请求消息以获取节目表单信息。 具体的, 所述用户终端可以是 IPTV系统中的 STB或计算机, 也可以是 其他具备类似功能的设备, 此处不做限定; 所述节目表单信息包括组播频 道和 IPv4组播地址的对应关系, 以及组播频道和 IPv6组播地址的对应关 系中的至少一种。
202、 所述用户终端接收所述 EPG设备返回的节目表单信息, 根据所述 节目表单信息获取与当前用户终端相匹配的组播地址, 并根据所述组播地 址发送组播请求消息, 所述组播请求消息中包括用户选择的组播地址。
具体的, 所述用户终端可以接收所述节目表单信息并显示给用户, 以 供用户进行选择; 并根据用户选择的频道和用户终端支持的协议选择组播 地址向组播路由器发送组播请求消息以获取组播数据流。 所述组播请求消 息包括 IGMP ( Internet Group Management Protocol , 互联网组管理协议) 请求消息, 或者是 MLD ( Mul t i cas t L i s tener Di scover , 组播侦听发现协 议)请求消息; 其中, 当用户终端仅支持 IPv4协议时, 则向组播路由器发 送的组播请求消息为 IGMP请求消息; 当用户终端仅支持 IPv6协议时, 则 向组播路由器发送的组播请求消息为 IGMP请求消息; 当用户终端同时支持 IPv4协议和 IPv6协议时, 则向组播路由器发送的组播请求消息为 IGMP请 求消息或 MLD请求消息。
其中, 所述组播路由器用于对接收到的组播控制报文进行处理, 并从 组播源获取组播数据流以进行分发。
显而易见的, 所述 IGMP请求消息和 MLD请求消息都用于从组播源获取 组播数据流;其中, IGMP请求消息适用于支持 IPv4的用户设备及网络, MLD 请求消息适用于支持 IPv6的用户设备及网络。
值得说明的是, 所述组播地址可以是组播组地址, 也可以是组播组地 址和组播源地址, 此处不做限定。
采用本发明实施例提供的方法, 能够在 IPv4设备和 IPv6设备同时存 在的混合接收场景下, 确保用户终端获取与自身相匹配的组播地址, 进而 获取组播数据流。整个过程无需 EPG设备与 ALG进行交互,能够降低了 IPTV 管理系统中设备的复杂性, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁 移。 实施例 2
本发明实施例提供了一种获取组播地址的方法, 所述方法可以通过具 备向用户终端发送节目表单信息功能的设备实现(例如 EPG设备), 如图 3 所示, 以 EPG设备为实现本实施的设备, 所述方法包括:
301、 EPG设备获取节目表单信息并保存, 所述节目表单信息包括组播 频道和组播地址的对应关系。
具体的, EPG设备用于从组播源或其它管理设备 (能够发布节目表单信 息的设备)获取节目表单信息并将其发送至用户终端。 显而易见的, 本实 施例中的 EPG设备也可以是其他具备相同功能的设备。
302、 当所述 EPG设备接收到用户终端发送的第一请求消息时, 向所述 用户终端发送节目表单信息, 以使得所述用户终端根据所述节目表单信息 获取与所述用户终端相匹配的组播地址, 其中, 所述第一请求消息用于指 示所述 EPG设备向用户终端下发节目表单信息, 所述匹配是指所述组播地 址所支持的 IP版本与所述用户终端所支持的 IP版本一致。
采用本发明实施例提供的方法, 当 IPTV管理系统中同时存在 IPv4设 备和 IPv6设备时, EPG设备能够向用户终端下发与其相匹配的组播地址。 整个过程无需 EPG设备与 ALG进行交互, 能够降低 IPTV管理系统设备的复 杂性, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。 实施例 3
本发明实施例提供了一种获取组播地址的方法, 如图 4 所示, 所述方 法包括:
401、 EPG设备从组播源或其它管理设备(指能够发布节目表单信息的 设备 )获取两份节目表单并保存在本地。 其中,一份节目表单用于表征组播 频道和 IPv4 组播地址的对应关系, 另一份节目表单用于表征组播频道和 IPv6组播地址的对应关系。
402、 用户终端向所述 EPG设备发送第一请求消息, 所述第一请求消息 中携带有自身的终端标识。 其中, 所述第一请求消息用于指示所述 EPG设 备向所述用户终端下发包括与当前用户终端相匹配的组播地址的节目表单 信息, 所述终端标识用于表征所述用户终端所支持的 IP版本。
具体的,所述用户终端包括仅支持 IPv4的用户终端、或者是仅支持 IPv6 的用户终端、 或者是同时支持 IPv4和 IPv6的双协议栈用户终端, 此处不 做限定。
403、 所述 EPG设备接收所述第一请求消息, 从中获取所述终端标识, 根据所述终端标识确定节目表单信息, 所述节目表单信息中包括与所述用 户终端相匹配的组播地址。
其中, 所述匹配是指所述组播地址所支持的 IP版本与所述用户终端所 支持的 IP版本一致
404、 所述 EPG设备将所述节目表单信息发送至用户终端, 以使所述用 户终端获取与自身所支持的 IP协议相匹配的组播地址。
405、 所述用户终端接收所述节目表单信息并显示, 根据用户指示向组 播路由器发送组播请求消息以获取组播数据流, 所述组播请求消息中包括 用户选择的组播地址。
具体的, 所述组播路由器用于对接收到的组播控制报文进行处理, 并 从组播源获取组播数据流以进行分发。
具体的, 当用户终端仅支持 IPv4协议时, 则向组播源发送的组播请求 消息为 IGMP请求消息; 当用户终端仅支持 IPv6协议时, 则向组播源发送 的组播请求消息为 IGMP请求消息; 当用户终端同时支持 IPv4协议和 IPv6 协议时,则向组播源发送的组播请求消息为 IGMP请求消息或 MLD请求消息。
本发明实施例提供的获取组播地址的方法, 通过在 EPG设备保存两份 节目表单信息, 以使得所述 EPG设备能够同时向支持 IPv4的用户终端以及 支持 IPv6的用户终端发送节目表单信息, 以使用户终端获取与其相匹配的 组播地址。 采用本发明实施例提供的方法, 在 IPv4设备和 IPv6设备同时 存在的混合接收场景下, 能够向用户终端发送节目表单信息以使所述用户 终端获取与其相匹配的组播地址,整个过程无需 EPG设备与 ALG进行交互, 能够降低了 IPTV管理系统中设备的复杂性, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。 实施例 4
本发明实施例提供了一种获取组播地址的方法, 如图 5 所示, 所述方 法包括:
501、 EPG设备从组播源或其它管理设备(指能够发布节目表单信息的 设备)获取节目表单并保存, 其中,所述节目表单中包括组播频道和 IPv4 组播地址的对应关系以及组播频道和 IPv6组播地址的对应关系。
502、 用户终端向所述 EPG设备发送第一请求消息, 以获取节目表单信 息, 其中, 所述第一请求消息用于指示所述 EPG设备向用户终端下发节目 表单信息。
503、 所述 EPG设备接收所述第一请求消息, 将自身保存的节目表单信 息发送至所述用户终端, 所述节目表单中包括组播频道和 IPv4组播地址的 对应关系以及组播频道和 IPv6组播地址的对应关系。
504、 用户终端接收所述节目表单信息, 根据自身所支持的 IP版本, 对所述节目表单信息进行选择, 确定与自身相匹配的组播地址。
具体的, IPv4用户终端从所述节目表单信息中获取组播频道和 IPv4组 播地址的对应关系, IPv6 的用户终端从所述节目表单信息中获取组播频道 和 IPv6组播地址的对应关系。
505、 用户终端根据用户指示向组播路由器发送组播请求消息以获取组 播数据流, 所述组播请求消息中包括用户选择的组播地址。
具体的, 支持 IPv4的用户终端可以向组播路由器发送 IGMP请求消息 以获取组播数据流; 支持 IPv6的用户终端可以向组播路由器发送 MLD请求 消息以获取组播数据流; 同时支持 IPv4和 IPv6的用户终端可以向组播路 由器发送 IGMP请求消息或 MLD请求消息以获取组播数据流。
值得说明的是, 当所述用户终端同时支持 IPv4和 IPv6时, 还可以通 过检测当前网络所支持的 IP版本以进一步确定组播请求消息。
具体的, 当所述网络支持 IPv4时, 所述用户终端可以向组播路由器发 送 IGMP请求消息以获取组播数据流;
当所述网络支持 IPv6时, 所述用户终端可以向组播路由器发送 MLD请 求消息以获取组播数据流;
当所述网络同时支持 IPv4和 IPv6时, 所述用户终端可以根据获取的 组播源的版本信息, 向组播路由器发送 IGMP请求消息或 MLD请求消息以获 取组播数据流, 其中, 所述用户终端可以从 EPG设备获取所述组播源所支 持的版本信息。 具体的, 当组播源是 IPv4时, 所述移动终端向组播路由器 发送 IGMP请求消息; 当组播源是 IPv6时, 所述移动终端向组播路由器发 送 MLD请求消息; 当组播源同时支持 IPv4和 IPv6时, 所述移动终端向组 播路由器发送 IGMP请求消息或 MLD请求消息。
具体的, 用户终端可以采用如下方法检测网络所支持的 IP版本: 用户终端根据家庭网关的 WAN ( Wide Area Network, 广域网) 口信息 获取网络所支持的 IP版本, 例如: DS-l i te (简单的双栈网络)场景下 WAN 口为 IPv6地址; 传统的 IPv4网络中 WAN口为 IPv4地址; 用户终端获取家 庭网关的 WAN口信息的方式可以利用已有协议,如 UPnP( Universa l Plug and Play, 通用即插即用)协议获取。 或者
所述用户终端接收 DHCP ( Dynamic Hos t Conf igura t ion Protocol , 动 态主机设置协议)服务器发送的指示消息, 以确定所述网络所支持的 IP版 本, 例如: 通过扩展 DHCP协议,由 DHCP服务器通知用户终端优先选择的网 络, 可以在 DHCP服务器向用户终端发送的确定 ACK 消息中携带优先发送 IPv6还是 IPv4报文的指示消息。
值得说明的是, 当用户终端不能识别网络的拓朴结构, 可以同时向网 络发送 IGMP请求消息或 MLD请求消息。 组播路由器可以根据预先设定的规 则选择一个请求消息进行处理; 或者组播源对接收到的 IGMP请求消息以及 MLD请求消息均进行处理, 并将所述 IGMP/MLD请求消息对应的组播数据流 发送至用户终端, 用户终端可以按照接收到组播数据流的时间顺序选择接 收, 例如可以选择接收较早到达的 IPv6组播数据流或 IPv4组播数据流。
本发明实施例提供的获取组播地址的方法, 由用户终端从 EPG设备获 取组播频道和 IPv4组播地址的对应关系以及组播频道和 IPv6组播地址的 对应关系, 从中选择与自身相匹配的组播地址以获取组播数据流。 采用本 发明实施例提供的方法, 能够使得用户终端获取与自身所支持的 IP版本相 匹配的节目表单信息,整个过程无需 EPG设备与 ALG进行交互,降低了 IPTV 系统中设备的复杂性, 而且能够根据网络的拓朴结构进一步确定组播请求 消息的类型, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。 实施例 5
本发明实施例提供了一种获取组播地址的方法, 如图 6 所示, 所述方 法包括:
601、 EPG设备从组播源或其它管理设备(能够发布节目表单信息的设 备)获取节目表单并保存, 所述节目表单中包括组播频道和 IPv4组播地址 的对应关系、 或者是组播频道和 IPv6组播地址的对应关系。
602、 用户终端向所述 EPG设备发送第一请求消息, 以获取节目表单信 息, 其中, 所述第一请求消息用于指示所述 EPG设备向用户终端下发节目 表单信息。
603、 所述用户终端检测所述节目表单信息中的组播地址是否与自身是 否匹配, 若是, 则执行步骤 604; 若否, 则执行步骤 605。 其中, 所述匹配 是指所述组播地址所支持的 IP版本与所述用户终端所支持的 IP版本一致。
具体的, 当所述用户终端支持 IPv4时, 则与所述用户终端相匹配的组 播地址是 IPv4组播地址; 当所述用户终端支持 IPv6时, 则与所述用户终 端相匹配的组播地址为 IPv6组播地址。
604、 用户终端根据所述组播地址向组播路由器发送组播请求消息以获 取组播数据流。
其中 , 所述组播路由器用于对接收到的组播控制报文进行处理 , 并从 组播源获取组播数据流以进行分发。
605、 所述用户终端根据本地的组播无状态映射关系表对所述节目表单 信息进行映射处理, 以获取与当前用户终端相匹配的组播地址。 其中, 所 述组播无状态映射关系表用于确定 IPv4组播地址和 IPv6组播地址的映射 关系。
606、 所述用户终端才艮据所述与当前用户终端相匹配的获取组播地址向 组播路由器发送组播请求消息以获取组播数据流。
具体的, 当用户终端仅支持 IPv4协议时, 则向组播源发送的组播请求 消息为 IGMP请求消息; 当用户终端仅支持 IPv6协议时, 则向组播源发送 的组播请求消息为 IGMP请求消息; 当用户终端同时支持 IPv4协议和 IPv6 协议时,则向组播源发送的组播请求消息为 IGMP请求消息或 MLD请求消息。
本发明实施例提供的获取组播地址的方法, 当用户终端获取的节目表 单信息中的组播地址与自身所支持的 IP版本不匹配时, 能够根据本地的组 播无状态映射关系表对所述节目表单信息进行映射处理, 以获取与所述用 户终端相匹配的组播地址。 采用本发明实施例提供的方法, 在用户终端获 取与自身相匹配的组播地址的过程中无需 EPG设备与 ALG进行交互, 与现 有技术相比降低了 IPTV管理系统中设备的复杂性, 有利于 IPTV业务管理 系统从 IPv4到 IPv6的迁移。 实施例 6
本发明实施例提供了一种获取组播地址的方法, 如图 7 所示, 所述方 法包括:
701、 EPG设备从组播源或其它管理设备(能够发布节目表单信息的设 备)获取节目表单并保存, 所述节目表单中包括组播频道和 IPv4组播地址 的对应关系、 或者是组播频道和 IPv6组播地址的对应关系。
702、 用户终端向所述 EPG设备发送第一请求消息, 以获取节目表单信 息, 其中, 所述第一请求消息用于指示所述 EPG设备向用户终端下发节目 表单信息。
703、 所述用户终端从所述 EPG设备获取节目表单信息, 检测所述节目 表单信息中的组播地址与自身是否匹配, 若是, 则执行步骤 704; 若否, 则 执行步骤 705。
704、 用户终端根据所述节目表单信息获取组播地址, 根据用户选择的 组播地址向组播路由器发送组播请求消息以获取组播数据流。 其中, 所述 组播路由器用于对接收到的组播控制报文进行处理, 并从组播源获取组播 数据流以进行分发。
705、 用户终端向 NAT ( Net Addres s Transfer , 网络组播地址转换) 设备发送 IPv4组播地址与 IPv6组播地址的映射请求消息, 以获取与当前 用户终端相匹配的组播地址。
其中,所述 NAT现有技术中 ALG设备的功能(例如具备 IPv4网络和 IPv6 网络互通能力以及应用层功能), 能够根据本身的映射法则生成 IPv4组播 地址和 IPv6组播地址的映射表。
706、 所述用户终端从所述 NAT设备获取与当前用户终端相匹配的组播 地址, 根据所述组播地址向组播路由器发送组播请求消息以获取组播数据 流。
具体的, 当用户终端仅支持 IPv4协议时, 则向组播路由器发送的组播 请求消息为 IGMP请求消息; 当用户终端仅支持 IPv6协议时, 则向组播路 由器发送的组播请求消息为 IGMP请求消息; 当用户终端同时支持 IPv4协 议和 IPv6协议时, 则向组播路由器发送的组播请求消息为 IGMP请求消息 或 MLD请求消息。
本发明实施例提供的获取组播地址的方法, 当用户终端从 EPG设备获 取的节目表单与自身所支持的 IP版本不匹配时, 能够向 ALG发送映射请求 以获取与自身相匹配的组播地址。 采用本发明实施例提供的方法, 在用户 终端获取与自身相匹配的组播地址的过程中无需 EPG设备与 ALG进行交互, 与现有技术相比, 能够降低 IPTV系统中设备的复杂性, 有利于 IPTV业务 管理系统从 IPv4到 IPv6的迁移。 实施例 7
本发明实施例提供了一种用户终端, 能够实现上述方法实施例中用户 终端侧的方法, 如图 8所示, 所述用户终端包括:
第一发送单元 81 , 用于向 EPG设备发送第一请求消息以获取节目表单 信息;
第一处理单元 82 , 用于接收所述 EPG设备返回的节目表单信息, 根据 所述节目表单信息获取与当前用户终端相匹配的组播地址, 并根据所述组 播地址发送组播请求消息, 所述组播请求消息中包括用户选择的组播地址。
具体的, 所述第一处理单元 82接收的节目表单信息包括组播频道和互 联网协议第四版 IPv4组播地址的对应关系, 以及组播频道和互联网协议第 六版 I P V 6组播地址的对应关系中的至少一种, 所述组播地址中包括组播组 地址、 或者所述组播地址中包括组播组地址和组播源地址; 所述第一处理单元 82 向组播路由器发送的组播请求消息可以是 IGMP 请求消息, 也可以是 MLD请求消息。
具体的, 当用户终端仅支持 IPv4协议时, 则向组播路由器发送的组播 请求消息为 IGMP请求消息; 当用户终端仅支持 IPv6协议时, 则向组播路 由器发送的组播请求消息为 IGMP请求消息; 当用户终端同时支持 IPv4协 议和 IPv6协议时, 则向组播路由器发送的组播请求消息为 IGMP请求消息 或 MLD请求消息。
一方面, 所述第一处理单元 82具体还用于在所述第一请求消息中携带 当前用户终端的终端标识, 以指示所述 EPG设备向当前用户终端下发节目 表单,所述节目表单信息中包括与当前用户终端相匹配的组播地址,其中, 所述终端标识用于表征当前用户终端所支持的 IP版本。
另一方面, 所述第一处理单元 82接收的节目表单信息中具体包括组播 频道和 IPv4组播地址的对应关系, 以及组播频道和 IPv6组播地址的对应 关系;
则如图 9所示, 所述第一处理单元 82还包括第一处理子单元 821 , 用 于根据当前用户终端所支持的 IP版本, 对所述节目表单信息进行选择, 确 定与当前用户终端所支持的 IP版本相匹配的组播地址, 所述匹配是指所述 组播地址所支持的 IP版本与所述用户终端所支持的 IP版本一致。
优选的, 当所述用户终端同时支持 IPv4协议和 IPv6协议时, 如图 9 中的虚线部分所示, 所述用户终端还包括:
检测单元 83 , 用于检测当前网络所支持的 IP版本;
所述第一处理单元 82具体用于:
当所述检测单元 83确定所述网络支持 IPv4 时, 向组播路由器发送 IGMP请求消息以获取组播数据流;
当所述检测单元 83确定所述网络支持 IPv6时,向组播路由器发送 MLD 请求消息以获取组播数据流; 当所述检测单元 83确定所述网络同时支持 IPv4和 IPv6时, 向组播路 由器发送 IGMP请求消息或 MLD请求消息以获取组播数据流。
进一步的, 如图 9中虚线部分所示, 所述检测单元 83包括第一检测子 单元 831或第二检测子单元 832 , 其中:
第一检测子单元 831用于根据用户终端获取的的家庭网关 WAN口信息 确定当前网络所支持的 IP版本;
第二检测子单元 832用于接收 DHCP服务器发送的指示消息, 以确定所 述网络所支持的 IP版本。
再一方面, 根据图 8所示的用户终端, 当所述第一处理单元 82获取的 节目表单信息包括组播频道和 IPv4组播地址的对应关系, 或者组播频道和 IPv6组播地址的对应关系时, 进一步的, 如图 10所示, 所述第一处理单元 82还包括第三检测子单元 822 , 所述用户终端还包括第二处理单元 84 , 其 中:
第三检测子单元 822 用于检测所述节目表单信息中的组播地址与当前 用户终端是否匹配;
所述第一处理单元 82用于当所述第三检测子单元 822确定所述节目表 单信息中的组播地址与当前用户终端匹配时, 根据所述节目表单信息向组 播路由器发送组播请求消息以获取组播数据流;
第二处理单元 84用于当所述第三检测子单元 822确定所述节目表单信 息与当前用户终端不匹配时, 根据组播无状态映射关系表对所述节目表单 信息进行映射处理, 以获取与当前用户终端相匹配的组播地址。
又一方面, 根据图 8所示的用户终端, 当所述第一处理单元 82接收的 节目表单信息包括组播频道和 IPv4组播地址的对应关系, 或者组播频道和 IPv6组播地址的对应关系时, 进一步的, 如图 11所示, 所述第一处理单元 82包括第四检测子单元 823 ,所述用户终端还包括第二发送单元 85 ,其中: 第四检测子单元 823用于检测所述节目表单信息中的组播地址与当前 用户终端是否匹配; 具体的, 所述第一处理单元 82具体用于当所述第四检测子单元 823确 定所述节目表单信息与当前用户终端匹配时, 根据所述组播地址向组播路 由器发送组播请求消息以获取组播数据流;
第二发送单元 85用于当所述第四检测子单元 823确定所述节目表单信 息与当前用户终端不匹配时, 向 NAT设备发送 IPv4组播地址与 IPv6组播 地址的映射请求消息, 以获取与当前用户终端相匹配的组播地址, 其中, 所述 NAT设备具备 IPv4网络和 IPv6网络互通能力以及应用层功能, 能够 根据本身的映射法则生成 IPv4组播地址和 IPv6组播地址的映射表, 并将 所述映射表发送至用户终端, 以使得该用户终端获取与自身相匹配的组播 地址。
值得说明的是, 本发明实施例中提供的用户终端可以是 IPTV系统中的 STB或计算机, 也可以是其他具备类似功能的设备, 此处不做限定。
本发明实施例提供的用户终端, 能够自动获取与自身相匹配的节目表 单信息以确定组播地址, 进而向组播源发送组播请求以获取组播数据流。 与现有技术相比, 本发明实施例提供的用户终端在获取节目表单信息时, 能够降低 IPTV系统中网络设备的复杂性,有利于 IPTV业务管理系统从 IPv4 到 IPv6的迁移。 实施例 8
本发明实施例提供了一种设备, 能够实现上述方法实施例中 EPG设备 侧的方法, 如图 12所示, 所述设备包括:
存储单元 121 , 用于获取节目表单信息并保存, 所述节目表单信息包括 组播频道和组播地址的对应关系;
第三处理单元 122 , 用于当接收到用户终端发送的第一请求消息时, 向 所述用户终端发送节目表单信息, 以使得所述用户终端根据所述节目表单 信息获取与所述用户终端相匹配的组播地址, 其中, 所述第一请求消息用 于指示所述设备向用户终端下发节目表单信息, 所述匹配是指所述组播地 址所支持的 IP版本与所述用户终端所支持的 IP版本一致。
进一步的, 如图 12中虚线部分所示, 所述存储单元 121具体用于获取 两份节目表单信息并保存, 所述两份节目表单信息中分别包括组播频道与
IPv4组播地址的对应关系以及组播频道和 IPv6组播地址的对应关系;
所述第三处理单元 122接收的第一请求消息中包括用户终端的终端标 识, 所述终端标识用于表征所述用户终端所支持的 IP版本;
则所述第三处理单元 122 具体用于根据所述终端标识确定与所述用户 终端匹配的节目表单信息, 并将所述与所述用户终端匹配的节目表单信息 发送至所述用户终端, 其中, 所述节目表单信息中包括与所述用户终端相 匹配的组播地址。
根据图 12所示的设备, 进一步的, 所述存储单元 121具体用于获取节 目表单信息, 并保存组播频道与 IPv4组播地址的对应关系以及组播频道与 IPv6组播地址的对应关系;
所述第三处理单元 122具体用于将所述组播频道与 IPv4组播地址的对 应关系以及组播频道与 IPv6组播地址的对应关系发送至所述用户终端, 以 供所述用户终端选择与自身相匹配的组播地址。
本发明实施例提供的设备, 能够向用户终端发送节目表单信息, 以使 所述用户终端获取组播地址, 根据所述组播地址获取组播数据流。 与现有 技术相比, 本发明实施例提供的设备在向用户终端下发节目表单信息时, 无需与 IPTV系统中的其他网络设备进行交互,简化了组播地址的获取过程, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。
本发明实施例还提供了一种获取组播地址的系统, 能够实现上述方法 实施例。 所述系统包括组播源、 图 8-图 11所示的用户终端以及图 12所示 的设备, 其中, 所述组播源用于向所述设备提供组播频道和组播地址的对 应关系。 与现有技术相比, 本发明实施例提供的获取组播地址的系统中的 设备的复杂度较低, 且能够根据网络的拓朴结构确定组播消息以优化组播 数据流的传输, 有利于 IPTV业务管理系统从 IPv4到 IPv6的迁移。 通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方 案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出 来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬 盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者组播源等)执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。

Claims

权利要求
1、 一种获取组播地址的方法, 其特征在于, 包括:
向电子节目表单 EPG设备发送第一请求消息以获取节目表单信息; 接收所述 EPG设备返回的节目表单信息, 根据所述节目表单信息获取 与当前用户终端相匹配的组播地址, 并根据所述组播地址发送组播请求消 息, 所述组播请求消息中包括用户选择的组播地址。
2、 根据权利要求 1所述的方法, 其特征在于, 所述节目表单信息包括 组播频道和互联网协议第四版 IPv4组播地址的对应关系, 以及组播频道和 互联网协议第六版 IPv6组播地址的对应关系中的至少一种, 所述组播地址 中包括组播组地址、 或者所述组播地址中包括组播组地址和组播源地址; 所述匹配是指所述组播地址所支持的 IP版本与所述用户终端所支持的 IP版本一致;
所述组播请求消息包括互联网组管理协议 IGMP请求消息、 或组播侦听 发现协议 MLD请求消息。
3、 根据权利要求 2所述的方法, 其特征在于, 所述方法还包括: 在所述第一请求消息中携带当前用户终端的终端标识,以指示所述 EPG 设备向当前用户终端下发节目表单信息, 所述节目表单信息中包括与当前 用户终端相匹配的组播地址, 其中, 所述终端标识用于表征当前用户终端 所支持的 IP版本。
4、 根据权利要求 2所述的方法, 其特征在于, 所述节目表单信息包括 组播频道和 IPv4组播地址的对应关系, 以及组播频道和 IPv6组播地址的 对应关系;
则所述根据所述节目表单信息获取与当前用户终端相匹配的组播地址 包括:
根据当前用户终端所支持的 IP版本, 对所述节目表单信息进行选择, 确定与当前用户终端所支持的 IP版本相匹配的组播地址。
5、 根据权利要求 4所述的方法, 其特征在于, 当所述用户终端同时支 持 IPv4协议和 IPv6协议时, 在所述发送组播请求消息之前, 还包括: 检测当前网络所支持的 IP版本;
所述发送组播请求消息包括:
当所述网络支持 IPv4时, 发送 IGMP请求消息;
当所述网络支持 IPv6时, 发送 MLD请求消息;
当所述网络同时支持 IPv4和 IPv6时, 发送 IGMP请求消息或 MLD请求 消息。
6、 根据权利要求 5所述的方法, 其特征在于, 所述检测当前网络所支 持的 IP版本包括:
根据用户终端获取的广域网 WAN口信息确定当前网络所支持的 IP版本; 或者
接收动态主机设置协议 DHCP服务器发送的指示消息, 以确定所述网络 所支持的 IP版本。
7、 根据权利要求 2所述的方法, 其特征在于, 所述节目表单信息包括 组播频道和 IPv4组播地址的对应关系, 或者组播频道和 IPv6组播地址的 对应关系;
所述接收所述 EPG设备返回的节目表单信息之后, 还包括:
检测所述节目表单信息中的组播地址与当前用户终端是否匹配; 若是, 则从所述节目表单信息中获取与当前用户终端相匹配的组播地 址, 根据所述组播地址发送组播请求消息;
若否, 则所述方法还包括:
根据组播无状态映射规则或 IPv4与 Pv6的组播映射表对所述节目表单 信息进行映射处理, 以获取与当前用户终端相匹配的组播地址, 并根据所 述组播地址发送组播请求消息。
8、 根据权利要求 2所述的方法, 其特征在于, 所述节目表单信息包括 组播频道和 IPv4组播地址的对应关系, 或者组播频道和 IPv6组播地址的 对应关系; 所述接收所述 EPG设备返回的节目表单信息之后, 还包括:
检测所述节目表单信息中的组播地址与当前用户终端是否匹配; 若是, 则从所述节目表单信息中获取与当前用户终端相匹配的组播地 址, 根据所述组播地址发送组播请求消息;
若否, 则所述方法还包括:
向网络组播地址转换 NAT设备发送 IPv4组播地址与 IPv6组播地址的 映射请求消息, 以获取与当前用户终端相匹配的组播地址。
9、 根据权利要求 8所述的方法, 其特征在于, 所述 NAT具备 IPv4网 络和 IPv6 网络互通能力, 能够根据本身的映射法则生成 IPv4组播地址和 IPv6组播地址的映射表, 并将所述映射表发送至用户终端, 以使得该用户 终端获取与自身相匹配的组播地址。
10、 一种获取组播地址的方法, 其特征在于, 包括:
获取节目表单信息并保存, 所述节目表单信息包括组播频道和组播地 址的对应关系;
当接收到用户终端发送的第一请求消息时, 向所述用户终端发送节目 表单信息, 以使得所述用户终端根据所述节目表单信息获取与所述用户终 端相匹配的组播地址, 其中, 所述第一请求消息用于指示所述 EPG设备向 用户终端下发节目表单信息, 所述匹配是指所述组播地址所支持的 IP版本 与所述用户终端所支持的 IP版本一致。
11、 根据权利要求 10所述的方法, 其特征在于, 所述获取节目表单信 息并保存包括:
获取两份节目表单信息并保存, 所述两份节目表单信息中分别包括组 播频道与互联网协议第四版 IPv4组播地址的对应关系、 以及组播频道和互 联网协议第六版 IPv6组播地址的对应关系;
所述第一请求消息中包括用户终端的终端标识, 所述终端标识用于表 征所述用户终端所支持的 IP版本;
则所述向所述用户终端发送节目表单信息包括: 根据所述终端标识确定与所述用户终端匹配的节目表单信息, 所述节 目表单信息中包括与所述用户终端相匹配的组播地址;
将所述与所述用户终端匹配的节目表单信息发送至所述用户终端。
12、 根据权利要求 10所述的方法, 其特征在于, 所述获取节目表单信 息并保存包括:
获取节目表单信息, 并保存组播频道与 IPv4组播地址的对应关系以及 组播频道与 IPv6组播地址的对应关系;
所述向所述用户终端发送节目表单信息包括:
将所述组播频道与 IPv4组播地址的对应关系以及组播频道与 IPv6组 播地址的对应关系发送至所述用户终端, 以供所述用户终端选择与自身相 匹配的组播地址。
13、 一种用户终端, 其特征在于, 包括:
第一发送单元, 用于向电子节目表单 EPG设备发送第一请求消息以获 取节目表单信息;
第一处理单元, 用于接收所述 EPG设备返回的节目表单信息, 根据所 述节目表单信息获取与当前用户终端相匹配的组播地址, 并根据所述组播 地址发送组播请求消息, 所述组播请求消息中包括用户选择的组播地址。
14、 根据权利要求 13所述的用户终端, 其特征在于, 所述第一处理单 元接收的节目表单信息包括组播频道和互联网协议第四版 IPv4组播地址的 对应关系, 以及组播频道和互联网协议第六版 IPv6组播地址的对应关系中 的至少一种, 所述组播地址中包括组播组地址、 或者所述组播地址中包括 组播组地址和组播源地址;
所述第一处理单元发送的组播请求消息包括互联网组管理协议 IGMP请 求消息, 或者组播侦听发现协议 MLD请求消息。
15、 根据权利要求 14所述的用户终端, 其特征在于, 所述第一处理单 元还用于在所述第一请求消息中携带当前用户终端的终端标识, 以指示所 述 EPG设备向当前用户终端下发节目表单信息, 所述节目表单信息中包括 与当前用户终端相匹配的组播地址, 其中, 所述终端标识用于表征当前用 户终端所支持的 IP版本。
16、 根据权利要求 14所述的用户终端, 其特征在于, 所述第一处理单 元接收的节目表单信息包括组播频道和 IPv4组播地址的对应关系, 以及组 播频道和 IPv6组播地址的对应关系;
则所述第一处理单元还包括:
第一处理子单元, 用于根据当前用户终端所支持的 IP版本, 对所述节 目表单信息进行选择, 确定与当前用户终端所支持的 IP版本相匹配的组播 地址, 所述匹配是指所述组播地址所支持的 IP版本与所述用户终端所支持 的 IP版本一致。
17、 根据权利要求 16所述的用户终端, 其特征在于, 当所述用户终端 同时支持 IPv4协议和 IPv6协议时, 所述用户终端还包括:
检测单元, 用于检测当前网络所支持的 IP版本;
所述第一处理单元具体用于:
当所述网络支持 IPv4时, 发送 IGMP请求消息;
当所述网络支持 IPv6时, 发送 MLD请求消息;
当所述网络同时支持 IPv4和 IPv6时, 发送 IGMP请求消息或 MLD请求 消息。
18、 根据权利要求 17所述的用户终端, 其特征在于, 所述检测单元包 括:
第一检测子单元, 用于根据用户终端获取的广域网 糊 口信息确定当 前网络所支持的 IP版本; 或者
第二检测子单元, 用于接收动态主机设置协议 DHCP服务器发送的指示 消息, 以确定所述网络所支持的 IP版本。
19、 根据权利要求 14所述的用户终端, 其特征在于, 所述第一处理单 元获取的节目表单信息包括组播频道和 IPv4组播地址的对应关系, 或者组 播频道和 IPv6组播地址的对应关系; 所述第一处理单元还包括:
第三检测子单元, 用于检测所述节目表单信息中的组播地址与当前用 户终端是否匹配;
所述第一处理单元用于当所述第三检测子单元确定所述节目表单信息 中的组播地址与当前用户终端匹配时, 根据所述组播地址发送组播请求消 息;
所述用户终端还包括:
第二处理单元, 用于当所述第三检测子单元确定所述节目表单信息与 当前用户终端不匹配时, 根据组播无状态映射关系表对所述节目表单信息 进行映射处理, 以获取与当前用户终端相匹配的组播地址。
20、 根据权利要求 14所述的用户终端, 其特征在于, 所述第一处理单 元接收的节目表单信息包括组播频道和 IPv4组播地址的对应关系, 或者组 播频道和 IPv6组播地址的对应关系;
所述第一处理单元还包括:
第四检测子单元, 用于检测所述节目表单信息中的组播地址与当前用 户终端是否匹配;
所述第一处理单元用于当所述第四检测子单元确定所述节目表单信息 与当前用户终端匹配时, 根据所述组播地址发送组播请求消息;
所述用户终端还包括:
第二发送单元, 用于当所述第四检测子单元确定所述节目表单信息与 当前用户终端不匹配时, 向网络组播地址转换 NAT设备发送 IPv4组播地址 与 I Pv 6组播地址的映射请求消息, 以获取与当前用户终端相匹配的组播地 址, 其中, 所述 NAT具备 IPv4网络和 IPv6网络互通能力, 能够根据本身 的映射法则生成 IPv4组播地址和 IPv6组播地址的映射表, 并将所述映射 表发送至用户终端, 以使得该用户终端获取与自身相匹配的组播地址。
21、 一种设备, 所述设备用于向用户终端发送节目表单信息, 其特征 在于, 包括: 存储单元, 用于获取节目表单信息并保存, 所述节目表单信息包括组 播频道和组播地址的对应关系;
第三处理单元, 用于当接收到用户终端发送的第一请求消息时, 向所 述用户终端发送节目表单信息, 以使得所述用户终端根据所述节目表单信 息获取与所述用户终端相匹配的组播地址, 其中, 所述第一请求消息用于 指示所述设备向用户终端下发节目表单信息, 所述匹配是指所述组播地址 所支持的 IP版本与所述用户终端所支持的 IP版本一致。
22、 根据权利要求 21所述的设备, 其特征在于, 所述存储单元具体用 于获取两份节目表单信息并保存, 所述两份节目表单信息中分别包括组播 频道与互联网协议第四版 IPv4组播地址的对应关系以及组播频道和互联网 协议第六版 IPv6组播地址的对应关系;
所述第三处理单元接收的第一请求消息中包括用户终端的终端标识, 所述终端标识用于表征所述用户终端所支持的 IP版本;
则所述第三处理单元具体用于根据所述终端标识确定与所述用户终端 匹配的节目表单信息, 并将所述与所述用户终端匹配的节目表单信息发送 至所述用户终端, 其中, 所述节目表单信息中包括与所述用户终端相匹配 的组播地址。
23、 根据权利要求 21所述的设备, 其特征在于, 所述存储单元具体用 于获取节目表单信息, 并保存组播频道与 IPv4组播地址的对应关系以及组 播频道与 IPv6组播地址的对应关系;
所述第三处理单元具体用于将所述组播频道与 IPv4组播地址的对应关 系以及组播频道与 IPv6组播地址的对应关系发送至所述用户终端, 以供所 述用户终端选择与自身相匹配的组播地址。
24、 一种获取组播地址的系统, 其特征在于, 包括组播源、 权利要求
13-20中任一项所述的用户终端以及权利要求 21-23中任一项所述的设备, 其中, 所述组播源用于向所述设备提供组播频道和组播地址的对应关系。
PCT/CN2012/085994 2011-12-09 2012-12-06 获取组播地址的方法、装置及系统 WO2013083052A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP12854943.3A EP2770699A4 (en) 2011-12-09 2012-12-06 METHOD, DEVICE AND SYSTEM FOR DETECTING MULTICAST ADDRESSES
US14/298,486 US9516385B2 (en) 2011-12-09 2014-06-06 Technique for obtaining a multicast address that matches an IP version supported by a terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110409728.6A CN103167046B (zh) 2011-12-09 2011-12-09 获取组播地址的方法、装置及系统
CN201110409728.6 2011-12-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/298,486 Continuation US9516385B2 (en) 2011-12-09 2014-06-06 Technique for obtaining a multicast address that matches an IP version supported by a terminal

Publications (1)

Publication Number Publication Date
WO2013083052A1 true WO2013083052A1 (zh) 2013-06-13

Family

ID=48573556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085994 WO2013083052A1 (zh) 2011-12-09 2012-12-06 获取组播地址的方法、装置及系统

Country Status (4)

Country Link
US (1) US9516385B2 (zh)
EP (1) EP2770699A4 (zh)
CN (1) CN103167046B (zh)
WO (1) WO2013083052A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904444B2 (en) * 2012-11-15 2014-12-02 Motorola Mobility Llc Scalable data acquisition and accumulation in a resource constrained environment
US9756097B2 (en) * 2013-06-24 2017-09-05 Cisco Technology, Inc. Non-DSG mechanisms for aligning client devices with their multicast data flows in a DOCSIS network environment
CN104253876B (zh) * 2013-06-28 2017-12-01 比威网络技术有限公司 有状态的IPv6与IPv4通信的映射表项及管理方法
JPWO2016017451A1 (ja) * 2014-08-01 2017-05-18 ソニー株式会社 受信装置、受信方法、送信装置、及び、送信方法
CN110620829B (zh) * 2018-06-19 2022-08-19 中兴通讯股份有限公司 组播业务标识号的分配方法、装置及设备、存储介质
CN110166582B (zh) * 2019-05-05 2021-09-03 广西广播电视信息网络股份有限公司 一种基于sdn技术变更iptv播放地址池的方法
CN112218131A (zh) * 2019-07-09 2021-01-12 中国移动通信集团吉林有限公司 机顶盒工作方法及装置、电子设备和计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140213A1 (en) * 2004-12-23 2006-06-29 Sun-Young Hwang Tunneling method and apparatus for multicasting between IPv4 network and IPv6 network
CN101005390A (zh) * 2006-01-20 2007-07-25 日立通讯技术株式会社 通信系统
CN101090327A (zh) * 2006-12-13 2007-12-19 中兴通讯股份有限公司 用于广播/组播业务同时支持ipv4和ipv6地址的方法及系统
US20080080519A1 (en) * 2006-09-29 2008-04-03 Min Ho Park Protocol conversion apparatus and method between IPv4 terminal and IPv6 terminal or between application programs using mapping table, and method of generating mapping table of protocol conversion apparatus
CN101374069A (zh) * 2007-08-25 2009-02-25 华为技术有限公司 一种组播报文的转换方法、系统和设备
CN101442663A (zh) * 2007-11-22 2009-05-27 华为技术有限公司 一种网络电视业务的实现方法、装置和系统
CN102118653A (zh) * 2009-12-31 2011-07-06 华为技术有限公司 保障网络电视直播业务的业务服务质量的方法和设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313672A (ja) * 2000-04-28 2001-11-09 Toshiba Corp ネットワークシステム、パケット中継装置、無線端末及びパケット処理方法
US7644171B2 (en) * 2001-09-12 2010-01-05 Netmotion Wireless, Inc. Mobile networking system and method using IPv4 and IPv6
US7263560B2 (en) * 2002-08-30 2007-08-28 Sun Microsystems, Inc. Decentralized peer-to-peer advertisement
JP2008160196A (ja) * 2006-12-20 2008-07-10 Hitachi Ltd Ip放送受信方法及び受信端末
US8190706B2 (en) * 2009-05-04 2012-05-29 Comcast Cable Communications, Llc Network based digital media server
US10264029B2 (en) * 2009-10-30 2019-04-16 Time Warner Cable Enterprises Llc Methods and apparatus for packetized content delivery over a content delivery network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140213A1 (en) * 2004-12-23 2006-06-29 Sun-Young Hwang Tunneling method and apparatus for multicasting between IPv4 network and IPv6 network
CN101005390A (zh) * 2006-01-20 2007-07-25 日立通讯技术株式会社 通信系统
US20080080519A1 (en) * 2006-09-29 2008-04-03 Min Ho Park Protocol conversion apparatus and method between IPv4 terminal and IPv6 terminal or between application programs using mapping table, and method of generating mapping table of protocol conversion apparatus
CN101090327A (zh) * 2006-12-13 2007-12-19 中兴通讯股份有限公司 用于广播/组播业务同时支持ipv4和ipv6地址的方法及系统
CN101374069A (zh) * 2007-08-25 2009-02-25 华为技术有限公司 一种组播报文的转换方法、系统和设备
CN101442663A (zh) * 2007-11-22 2009-05-27 华为技术有限公司 一种网络电视业务的实现方法、装置和系统
CN102118653A (zh) * 2009-12-31 2011-07-06 华为技术有限公司 保障网络电视直播业务的业务服务质量的方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2770699A4 *

Also Published As

Publication number Publication date
US20140289770A1 (en) 2014-09-25
EP2770699A1 (en) 2014-08-27
CN103167046B (zh) 2017-04-12
US9516385B2 (en) 2016-12-06
EP2770699A4 (en) 2014-12-03
CN103167046A (zh) 2013-06-19

Similar Documents

Publication Publication Date Title
WO2013083052A1 (zh) 获取组播地址的方法、装置及系统
US10439862B2 (en) Communication terminal with multiple virtual network interfaces
EP2139158B1 (en) Method, device and system for realizing multicast service
US9191415B2 (en) Method and system for providing virtual gateway services
EP2219380A2 (en) Personal TV gateway STB / router
US8799485B2 (en) Methods and apparatus for establishing network connections using an inter-mediating device
EP2557817B1 (en) Method and system for transmitting wireless multicast data
US20150067110A1 (en) Media Playing Method, Apparatus, and System
WO2014019357A1 (zh) 实现多屏互动的方法和装置
US20080168507A1 (en) Content distribution arbitration apparatus and method for the same
US11196631B2 (en) Multi-unicast discovery of devices on a network
WO2009026852A1 (fr) Procédé, système et dispositif de commutation d'un message multidiffusion
CN109862437B (zh) 一种转发表项创建方法及bras
US20190140884A1 (en) Multicast Delay Diagnosis Method and Apparatus
WO2014015786A1 (zh) 一种hfc网络中的二层接入方法、设备及系统
TW201633045A (zh) 用於音訊-視訊中繼的無線對接系統
WO2012163181A1 (zh) 快速频道切换的实现方法和装置
US20100322420A1 (en) Duplicate Address Detection Proxy in Edge Devices
WO2014187421A1 (zh) 一种iptv的频道切换方法和装置、终端
US10757479B2 (en) Media interface device
US9374235B2 (en) Method for implementing communication between different networks and apparatus
EP3515048B1 (en) Cable media converter management method, apparatus and system
WO2012065416A1 (zh) 一种控制iptv节目的方法和家庭网关
WO2013127160A1 (zh) 自动发现dlna设备的方法及系统
CN107888991B (zh) 网络链路处理方法、装置及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12854943

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2012854943

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012854943

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE