US20170104606A1 - Home gateway ds-lite multicast method and device - Google Patents
Home gateway ds-lite multicast method and device Download PDFInfo
- Publication number
- US20170104606A1 US20170104606A1 US15/316,102 US201415316102A US2017104606A1 US 20170104606 A1 US20170104606 A1 US 20170104606A1 US 201415316102 A US201415316102 A US 201415316102A US 2017104606 A1 US2017104606 A1 US 2017104606A1
- Authority
- US
- United States
- Prior art keywords
- multicast
- message
- ipv4
- ipv6
- data message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/251—Translation of Internet protocol [IP] addresses between different IP versions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Definitions
- the present disclosure relates to the field of communication technologies, and in particular, to a home gateway Dual Stack Lite (DS-Lite) multicast method and device.
- DS-Lite Dual Stack Lite
- IPv 6 Internet Protocol Version 6 6 is considered as a core of a next generation Internet, and is valued and promoted by governments and various major operators, and IPv4 is a fourth edition of Internet Protocol (IP).
- IPv6 Internet Protocol Version 6 6
- IPv4 is a fourth edition of Internet Protocol (IP).
- the related art merely describes a multicast network architecture in the DS-Lite; however, users connected to the home gateway cannot realize multicast services in the DS-Lite network architecture.
- the technical problem that the present disclosure requires to solve is to provide a home gateway DS-Lite multicast method and device, to solve the problem that the connected user in the home gateway cannot realize multicast services in the DS-Lite network architecture.
- the technical scheme adopted by embodiments of the present invention is to provide a home gateway DS-Lite multicast method, including:
- the method may further include:
- the converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message may include:
- the converting the IPv6 multicast data message into an IPv4 multicast data message may include:
- the method may further include: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
- Embodiments of the present invention further provide a home gateway, including:
- the above home gateway may further include:
- the multicast agent module may further be configured to receive an IPv4 multicast protocol exit message sent by the user; parse the IPv4 multicast protocol exit message to obtain an IPv4 multicast address; and obtain an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix.
- the IPv6 multicast protocol module may further be configured to receive the IPv6 multicast address sent by the multicast agent module.
- the DS-Lite tunnel module may further be configured to send the IPv4 multicast data message to the IPv4 multicast routing module.
- FIG. 1 is a flow chart illustrating a home gateway DS-Lite multicast method provided by a first embodiment of the present invention
- FIG. 2 is a schematic diagram illustrating converting an IPv4 multicast address to an IPv6 multicast address in a first embodiment of the present invention
- FIG. 3 is a schematic diagram illustrating constitution of a home gateway in a second embodiment of the present invention.
- FIG. 4 is a schematic diagram illustrating a DS-Lite tunnel module 30 processing message in a second embodiment of the present invention
- FIG. 5 is a processing flow chart illustrating adding a message to the DS-Lite multicast protocol in a second embodiment of the present invention
- FIG. 6 is a processing flow chart illustrating exiting a message by the DS-Lite multicast protocol in a second embodiment of the present invention
- FIG. 7 is a flow chart illustrating processing and forwarding a DS-Lite multicast data message in a second embodiment of the present invention.
- FIG. 8 is a schematic diagram illustrating an application embodiment of the present invention.
- the first embodiment of the present invention is a home gateway DS-Lite multicast method.
- FIG. 1 is a flow chart illustrating a home gateway DS-Lite multicast method provided by the first embodiment of the present invention.
- procedures executed by the home gateway include following specific steps.
- step S 101 when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message is added into a home gateway; the IPv4 multicast protocol request message is converted into an IPv6 multicast protocol message and the IPv6 multicast protocol message is sent to a router.
- the user when the user needs to receive multicast data, the user sends a multicast IPv4 Internet Group Management Protocol (IGMP) to add the message to the home gateway.
- IGMP Internet Group Management Protocol
- the home gateway receives the IPv4 multicast protocol message sent by the user, and the IPv4 multicast protocol message is added to the home gateway.
- the user refers to a terminal device used by the user.
- the home gateway parses the received IPv4 multicast protocol message so as to obtain an IPv4 multicast address.
- An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix.
- FIG. 2 is a schematic diagram illustrating converting the IPv4 multicast address to the IPv6 multicast address, where a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address.
- the prefix of the DS-Lite IPv6 is: ffxx:abc::, and the IPv4 multicast address is: 230.1.1.1, then the composed IPv6 multicast address is: ffxx:abc::230.1.1.1.
- the multicast address of the IPv6 is set in the home gateway, and the IPv6 multicast protocol message is obtained according to the IPv6 multicast address.
- the IPv6 multicast protocol message is sent to the router through a WAN side of the home gateway.
- step S 102 when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message is converted into an IPv4 multicast data message; and the IPv4 multicast data message is forwarded to the user.
- the IPv6 multicast data message which is sent from the router, received by a WAN port of the home gateway is specifically an IPIP multicast data message.
- the home gateway processes the IPv6 multicast data message, such as regrouping fragmented messages, converting the IPv6 multicast data message into an IP message and setting a device.
- the fragments are regrouped, and an IPv6 message header is removed from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded.
- the home gateway DS-Lite multicast method provided by the present disclosure further includes:
- the second embodiment of the present invention is a home gateway.
- FIG. 3 is a schematic diagram illustrating constitution of a home gateway in a second embodiment of the present invention.
- the home gateway provided by the present disclosure includes: a multicast agent module 10 , an IPv6 multicast protocol module 20 , a DS-Lite tunnel module 30 , an IPv4 multicast routing module 40 and a bridge module 50 .
- the multicast agent module 10 is configured to receive an IPv4 multicast protocol request message sent from a user, and add the IPv4 multicast protocol request message to the home gateway.
- the IPv6 multicast protocol module 20 is configured to convert the IPv4 multicast protocol request message into an IPv6 multicast protocol message, and send the IPv6 multicast protocol message to a router.
- the DS-Lite tunnel module 30 is configured to convert, after receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message.
- the IPv4 multicast routing module 40 is configured to add or delete a multicast routing item by setting, and forward the IPv4 multicast data message by routing.
- the bridge module 50 is configured to receive the multicast data message forwarded by the IPv4 multicast routing module, and forward the IPv4 multicast data message to the user.
- the user when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway.
- the home gateway receives the IPv4 multicast protocol message sent by the user, and the IPv4 multicast protocol message is added to the multicast agent module 10 of the home gateway.
- the multicast agent module 10 of the home gateway After receiving the IPv4 add message, the multicast agent module 10 of the home gateway performs parsing and obtains an IPv4 multicast address.
- An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix. The specific calculation method refers to FIG. 2 .
- FIG. 2 The specific calculation method refers to FIG. 2 .
- the IPv6 multicast address can be obtained by adding a DS-Lite multicast prefix before the IPv4 multicast address, where, a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address.
- the prefix of the DS-Lite IPv6 is: ffxx:abc::
- the IPv4 multicast address is: 230.1.1.1
- the composed IPv6 multicast address is: ffxx:abc::230.1.1.1.
- the IPv6 multicast address obtained by calculation is set on the IPv6 multicast protocol module 20 , and the multicast protocol module 20 sends an IPv6 add message to the router.
- the multicast agent module 10 sets a routing item for adding multicast to the IPv4 multicast routing module 40 .
- the router During forwarding the multicast data message, the router sends the IPIP multicast data message to the DS-Lite tunnel module 30 of the home gateway.
- the DS-Lite tunnel module 30 of the home gateway processes the IPIP message, so as to obtain the IPv4 multicast data message.
- a specific processing includes: regrouping fragmented messages, converting the IPIP message to an IP message and setting the device, etc., referring to FIG. 4 .
- the DS-Lite tunnel module 30 performs fragment regrouping to the received IPIP multicast data message, and removes the IPv6 message header from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded.
- the obtained IPv4 multicast data message is sent to the IPv4 multicast routing module 40 for forwarding by routing, the IPv4 multicast data message is forwarded to the bridge module 50 , and the IPv4 multicast data message is forwarded to the user according to study situation of the bridge module 50 .
- FIG. 5 ⁇ FIG. 7 respectively illustrate processing procedures of adding a message to the DS-Lite multicast protocol, and exiting a message from the DS-Lite multicast protocol, as well as processing and forwarding procedures of the DS-Lite multicast data message.
- the user when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway.
- the home gateway receives the IPv4 multicast protocol request message sent by the user, and the IPv4 multicast protocol message is added to the multicast agent module of the home gateway.
- the multicast agent module of the home gateway After receiving the IPv4 multicast protocol request message, the multicast agent module of the home gateway performs parsing and obtains an IPv4 multicast address.
- An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix. The specific calculation method refers to FIG. 2 .
- FIG. 2 The specific calculation method refers to FIG. 2 .
- the IPv6 multicast address can be obtained by adding a DS-Lite multicast prefix before the IPv4 multicast address, where a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address.
- the IPv6 multicast address which obtained by calculation is set in the IPv6 multicast protocol module, and the multicast protocol module sends the IPv6 add message to the router.
- the multicast agent module sets a routing item for adding multicast to the IPv4 multicast routing module.
- the user when the user needs to exit the multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway.
- the home gateway receives the IPv4 multicast protocol exit message, or referred as an IPv4 multicast protocol leave message, sent by the user.
- the IPv4 multicast protocol exit message is added into the multicast agent module of the home gateway.
- the multicast agent module of the home gateway After receiving the IPv4 multicast protocol exit message, the multicast agent module of the home gateway perform parsing, so as to obtain the IPv4 multicast address, and obtain the IPv6 multicast address according to the IPv4 multicast address and the DS-Lite multicast prefix; and, the IPv6 multicast address is set in the home gateway, and the home gateway sends the IPv6 exit message to the router, and deletes the routing item of the multicast group, where the multicast group is achieved through corresponding routing item in practical application.
- the router sends the IPIP multicast data message to the DS-Lite tunnel module of the home gateway.
- the DS-Lite tunnel module of the home gateway processes the IPIP message, so as to obtain the IPv4 multicast data message.
- a specific processing includes: regrouping fragmented messages, converting the IPIP message to an IP message and setting the device, etc., referring to FIG. 4 .
- the DS-Lite tunnel module performs fragment regrouping to the received IPIP multicast data message, and removes the IPv6 message header from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded.
- the obtained IPv4 multicast data message is sent to the IPv4 multicast routing module for forwarding by routing, the IPv4 multicast data message is forwarded to the bridge module, and the IPv4 multicast data message is forwarded to the user according to study situation of the bridge module.
- FIG. 8 is a schematic diagram illustrating an application embodiment of the present invention.
- the user when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway.
- the home gateway receives the IPv4 multicast protocol message sent by the user, converts the IPv4 multicast protocol message into the IPv6 multicast protocol message, and sends the IPv6 multicast protocol message to an address family converting router through the WAN port of the home gateway.
- the address family converting router is connected to a multicast server through an IPv4 domain, the home gateway is connected to the address family converting router through two protocols simultaneously run in IPv4 and IPv6 domains, and the user is connected to the home gateway through the IPv4 domain.
- the IPv6 multicast data message After the WAN port of the home gateway receives an IPv6 multicast data message sent from the router, the IPv6 multicast data message is converted into an IPv4 multicast data message. And the IPv4 multicast data message is forwarded to the user through the LAN port of the home gateway.
- the home gateway enables connected users to effectively realize multicast services in a DS-Lite network architecture.
- the home gateway enables connected users to effectively realize multicast services in a DS-Lite network architecture.
Abstract
The present disclosure provides a home gateway DS-Lite multicast method and device, where the method includes: adding, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message to a home gateway; converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message and sending the IPv6 multicast protocol message to a router; converting, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message; and forwarding the IPv4 multicast data message to the user.
Description
- The present disclosure relates to the field of communication technologies, and in particular, to a home gateway Dual Stack Lite (DS-Lite) multicast method and device.
- Internet Protocol Version (IPv) 6 is considered as a core of a next generation Internet, and is valued and promoted by governments and various major operators, and IPv4 is a fourth edition of Internet Protocol (IP). In an evolution process of transiting to the IPv6, there are a variety of transition schemes including dual stack, translation and tunnel technologies. The dual stack technology is to run two protocol stacks, including the IPv4 and the IPv6, in a same system at a same time, where the DS-Lite is a very effective dual stack transition technology. It is an important and unavoidable issue in the transition technology on how to enable a user achieve a variety of services in the DS-Lite transition technology like in the pure IPv4 network environment.
- At present, the related art merely describes a multicast network architecture in the DS-Lite; however, users connected to the home gateway cannot realize multicast services in the DS-Lite network architecture.
- The technical problem that the present disclosure requires to solve is to provide a home gateway DS-Lite multicast method and device, to solve the problem that the connected user in the home gateway cannot realize multicast services in the DS-Lite network architecture.
- The technical scheme adopted by embodiments of the present invention is to provide a home gateway DS-Lite multicast method, including:
-
- adding, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message to a home gateway; converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message and sending the IPv6 multicast protocol message to a router;
- converting, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message; and forwarding the IPv4 multicast data message to the user.
- The method may further include:
-
- receiving an IPv4 multicast protocol exit message sent by the user;
- parsing the IPv4 multicast protocol exit message to obtain an IPv4 multicast address;
- obtaining an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix; and
- deleting a multicast group corresponding to an IPv4 multicast address that the user needs to exit, and informing the router of a multicast group corresponding to an IPv6 multicast address that the user exits.
- The converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message may include:
-
- parsing the IPv4 multicast protocol request message to obtain an IPv4 multicast address;
- obtaining an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix; and
- obtaining an IPv6 multicast protocol message according to the IPv6 multicast address.
- The converting the IPv6 multicast data message into an IPv4 multicast data message may include:
-
- removing an IPv6 message header of the IPv6 multicast data message, to obtain the IPv4 multicast data message.
- Before converting the IPv6 multicast data message into an IPv4 multicast data message, the method may further include: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
- Embodiments of the present invention further provide a home gateway, including:
-
- a multicast agent module, configured to add, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message to the home gateway;
- an IPv6 multicast protocol module, configured to convert the IPv4 multicast protocol request message into an IPv6 multicast protocol message, and send the IPv6 multicast protocol message to a router; and
- a dual stack lite (DS-Lite) tunnel module, configured to convert, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message.
- The above home gateway may further include:
-
- an IPv4 multicast routing module, configured to add or delete a multicast routing item, and forward the IPv4 multicast data message by routing; and
- a bridge module, configured to receive the multicast data message forwarded by the IPv4 multicast routing module, and forward the IPv4 multicast data message to the user.
- The multicast agent module may further be configured to receive an IPv4 multicast protocol exit message sent by the user; parse the IPv4 multicast protocol exit message to obtain an IPv4 multicast address; and obtain an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix.
- The IPv6 multicast protocol module may further be configured to receive the IPv6 multicast address sent by the multicast agent module.
- The DS-Lite tunnel module may further be configured to send the IPv4 multicast data message to the IPv4 multicast routing module.
-
FIG. 1 is a flow chart illustrating a home gateway DS-Lite multicast method provided by a first embodiment of the present invention; -
FIG. 2 is a schematic diagram illustrating converting an IPv4 multicast address to an IPv6 multicast address in a first embodiment of the present invention; -
FIG. 3 is a schematic diagram illustrating constitution of a home gateway in a second embodiment of the present invention; -
FIG. 4 is a schematic diagram illustrating a DS-Litetunnel module 30 processing message in a second embodiment of the present invention; -
FIG. 5 is a processing flow chart illustrating adding a message to the DS-Lite multicast protocol in a second embodiment of the present invention; -
FIG. 6 is a processing flow chart illustrating exiting a message by the DS-Lite multicast protocol in a second embodiment of the present invention; -
FIG. 7 is a flow chart illustrating processing and forwarding a DS-Lite multicast data message in a second embodiment of the present invention; -
FIG. 8 is a schematic diagram illustrating an application embodiment of the present invention. - In order to further illustrate the technical means adopted by the present disclosure to achieve the intended purpose and the efficacy, the present disclosure is further explained in details by combining with the accompanying drawings and embodiments as follows.
- The first embodiment of the present invention is a home gateway DS-Lite multicast method.
-
FIG. 1 is a flow chart illustrating a home gateway DS-Lite multicast method provided by the first embodiment of the present invention. - As shown in
FIG. 1 , in the home gateway DS-Lite multicast method provided by the present disclosure, procedures executed by the home gateway include following specific steps. - In step S101, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message is added into a home gateway; the IPv4 multicast protocol request message is converted into an IPv6 multicast protocol message and the IPv6 multicast protocol message is sent to a router.
- Specifically, in the DS-Lite network architecture, when the user needs to receive multicast data, the user sends a multicast IPv4 Internet Group Management Protocol (IGMP) to add the message to the home gateway. The home gateway receives the IPv4 multicast protocol message sent by the user, and the IPv4 multicast protocol message is added to the home gateway. The user refers to a terminal device used by the user.
- The home gateway parses the received IPv4 multicast protocol message so as to obtain an IPv4 multicast address. An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix.
FIG. 2 is a schematic diagram illustrating converting the IPv4 multicast address to the IPv6 multicast address, where a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address. For example, the prefix of the DS-Lite IPv6 is: ffxx:abc::, and the IPv4 multicast address is: 230.1.1.1, then the composed IPv6 multicast address is: ffxx:abc::230.1.1.1. - The multicast address of the IPv6 is set in the home gateway, and the IPv6 multicast protocol message is obtained according to the IPv6 multicast address. The IPv6 multicast protocol message is sent to the router through a WAN side of the home gateway.
- In step S102, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message is converted into an IPv4 multicast data message; and the IPv4 multicast data message is forwarded to the user.
- Specifically, the IPv6 multicast data message, which is sent from the router, received by a WAN port of the home gateway is specifically an IPIP multicast data message. The home gateway processes the IPv6 multicast data message, such as regrouping fragmented messages, converting the IPv6 multicast data message into an IP message and setting a device.
- In addition, if the IPIP multicast data message is a fragmented message, then the fragments are regrouped, and an IPv6 message header is removed from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded.
- In addition, the home gateway DS-Lite multicast method provided by the present disclosure further includes:
-
- receiving, when the IPv4 multicast protocol message exits the home gateway, an IPv4 multicast protocol message sent by the user, parsing the IPv4 multicast protocol message as a IPv4 multicast address, and obtaining an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix, setting the IPv6 multicast address in the home gateway; and, sending an IPv6 exit message to the router and deleting a routing item of a multicast group by the home gateway, where the multicast group is achieved through a corresponding routing item in practical application.
- The second embodiment of the present invention is a home gateway.
-
FIG. 3 is a schematic diagram illustrating constitution of a home gateway in a second embodiment of the present invention. - As shown in
FIG. 3 , the home gateway provided by the present disclosure includes: amulticast agent module 10, an IPv6multicast protocol module 20, a DS-Lite tunnel module 30, an IPv4multicast routing module 40 and abridge module 50. - The
multicast agent module 10 is configured to receive an IPv4 multicast protocol request message sent from a user, and add the IPv4 multicast protocol request message to the home gateway. - The IPv6
multicast protocol module 20 is configured to convert the IPv4 multicast protocol request message into an IPv6 multicast protocol message, and send the IPv6 multicast protocol message to a router. - The DS-
Lite tunnel module 30 is configured to convert, after receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message. - The IPv4
multicast routing module 40 is configured to add or delete a multicast routing item by setting, and forward the IPv4 multicast data message by routing. - The
bridge module 50 is configured to receive the multicast data message forwarded by the IPv4 multicast routing module, and forward the IPv4 multicast data message to the user. - Specifically, in the DS-Lite network architecture, when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway. The home gateway receives the IPv4 multicast protocol message sent by the user, and the IPv4 multicast protocol message is added to the
multicast agent module 10 of the home gateway. After receiving the IPv4 add message, themulticast agent module 10 of the home gateway performs parsing and obtains an IPv4 multicast address. An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix. The specific calculation method refers toFIG. 2 .FIG. 2 is a schematic diagram illustrating converting the IPv4 multicast address to the IPv6 multicast address. The IPv6 multicast address can be obtained by adding a DS-Lite multicast prefix before the IPv4 multicast address, where, a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address. For example, the prefix of the DS-Lite IPv6 is: ffxx:abc::, and the IPv4 multicast address is: 230.1.1.1, then the composed IPv6 multicast address is: ffxx:abc::230.1.1.1. - The IPv6 multicast address obtained by calculation is set on the IPv6
multicast protocol module 20, and themulticast protocol module 20 sends an IPv6 add message to the router. - The
multicast agent module 10 sets a routing item for adding multicast to the IPv4multicast routing module 40. - During forwarding the multicast data message, the router sends the IPIP multicast data message to the DS-
Lite tunnel module 30 of the home gateway. The DS-Lite tunnel module 30 of the home gateway processes the IPIP message, so as to obtain the IPv4 multicast data message. A specific processing includes: regrouping fragmented messages, converting the IPIP message to an IP message and setting the device, etc., referring toFIG. 4 . - In addition, if the IPIP multicast data message is a fragmented message, then the DS-
Lite tunnel module 30 performs fragment regrouping to the received IPIP multicast data message, and removes the IPv6 message header from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded. - The obtained IPv4 multicast data message is sent to the IPv4
multicast routing module 40 for forwarding by routing, the IPv4 multicast data message is forwarded to thebridge module 50, and the IPv4 multicast data message is forwarded to the user according to study situation of thebridge module 50. - Further,
FIG. 5 ˜FIG. 7 respectively illustrate processing procedures of adding a message to the DS-Lite multicast protocol, and exiting a message from the DS-Lite multicast protocol, as well as processing and forwarding procedures of the DS-Lite multicast data message. - As shown in
FIG. 5 , in the DS-Lite network architecture, when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway. The home gateway receives the IPv4 multicast protocol request message sent by the user, and the IPv4 multicast protocol message is added to the multicast agent module of the home gateway. After receiving the IPv4 multicast protocol request message, the multicast agent module of the home gateway performs parsing and obtains an IPv4 multicast address. An IPv6 multicast address is obtained by calculation according to the obtained IPv4 multicast address and a DS-Lite multicast prefix. The specific calculation method refers toFIG. 2 .FIG. 2 is a schematic diagram illustrating converting the IPv4 multicast address to the IPv6 multicast address. The IPv6 multicast address can be obtained by adding a DS-Lite multicast prefix before the IPv4 multicast address, where a prefix of the DS-Lite IPv6 serves as a prefix of the IPv6, and the IPv4 multicast address serves as a latter part of the address, so as to obtain the IPv6 multicast address. The IPv6 multicast address which obtained by calculation is set in the IPv6 multicast protocol module, and the multicast protocol module sends the IPv6 add message to the router. The multicast agent module sets a routing item for adding multicast to the IPv4 multicast routing module. - As shown in
FIG. 6 , when the user needs to exit the multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway. The home gateway receives the IPv4 multicast protocol exit message, or referred as an IPv4 multicast protocol leave message, sent by the user. The IPv4 multicast protocol exit message is added into the multicast agent module of the home gateway. After receiving the IPv4 multicast protocol exit message, the multicast agent module of the home gateway perform parsing, so as to obtain the IPv4 multicast address, and obtain the IPv6 multicast address according to the IPv4 multicast address and the DS-Lite multicast prefix; and, the IPv6 multicast address is set in the home gateway, and the home gateway sends the IPv6 exit message to the router, and deletes the routing item of the multicast group, where the multicast group is achieved through corresponding routing item in practical application. - As shown in
FIG. 7 , During forwarding the multicast data message, the router sends the IPIP multicast data message to the DS-Lite tunnel module of the home gateway. The DS-Lite tunnel module of the home gateway processes the IPIP message, so as to obtain the IPv4 multicast data message. A specific processing includes: regrouping fragmented messages, converting the IPIP message to an IP message and setting the device, etc., referring toFIG. 4 . - In addition, if the IPIP multicast data message is a fragmented message, then the DS-Lite tunnel module performs fragment regrouping to the received IPIP multicast data message, and removes the IPv6 message header from the IPIP multicast data message. If the IPIP multicast data message is not a fragmented message, there is no need to regroup directly; however, the IPv6 header of the IPIP multicast data message is directly removed and the IPIP multicast data message is converted to an IPv4 message, device information in the message is modified as DS-Lite device, and then the message is forwarded. The obtained IPv4 multicast data message is sent to the IPv4 multicast routing module for forwarding by routing, the IPv4 multicast data message is forwarded to the bridge module, and the IPv4 multicast data message is forwarded to the user according to study situation of the bridge module.
-
FIG. 8 is a schematic diagram illustrating an application embodiment of the present invention. - As shown in
FIG. 8 , in a DS-Lite multicast application scene, when the user needs to receive multicast data, the user sends a multicast IPv4 protocol message IGMP to add the message to the home gateway. The home gateway receives the IPv4 multicast protocol message sent by the user, converts the IPv4 multicast protocol message into the IPv6 multicast protocol message, and sends the IPv6 multicast protocol message to an address family converting router through the WAN port of the home gateway. The address family converting router is connected to a multicast server through an IPv4 domain, the home gateway is connected to the address family converting router through two protocols simultaneously run in IPv4 and IPv6 domains, and the user is connected to the home gateway through the IPv4 domain. - After the WAN port of the home gateway receives an IPv6 multicast data message sent from the router, the IPv6 multicast data message is converted into an IPv4 multicast data message. And the IPv4 multicast data message is forwarded to the user through the LAN port of the home gateway.
- It should be noted that a user using a dual stack is taken as an example for the user in all embodiments of the present invention, to while the present disclosure is not limited.
- By adopting the home gateway DS-Lite multicast method and device of the present disclosure, the home gateway enables connected users to effectively realize multicast services in a DS-Lite network architecture.
- Through the illustration of the specific embodiments, it should be able to deeply and specifically understand the technical means, adopted by the present disclosure to achieve the intended purpose, and the effects, however, the accompanying figures are only used for providing reference and illustration rather than limiting the present disclosure.
- Above schemes provided by the present disclosure can be applied in a home gateway DS-Lite multicast process, the home gateway enables connected users to effectively realize multicast services in a DS-Lite network architecture.
Claims (13)
1. A home gateway dual stack lite DS-Lite multicast method, comprising:
adding, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message to a home gateway; converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message and sending the IPv6 multicast protocol message to a router;
converting, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message; and forwarding the IPv4 multicast data message to the user.
2. The method according to claim 1 , further comprising:
receiving an IPv4 multicast protocol exit message sent by the user;
parsing the IPv4 multicast protocol exit message to obtain an IPv4 multicast address;
obtaining an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix; and
deleting a multicast group corresponding to an IPv4 multicast address that the user needs to exit, and informing the router of a multicast group corresponding to an IPv6 multicast address that the user exits.
3. The method according to claim 1 , wherein, the converting the IPv4 multicast protocol request message into an IPv6 multicast protocol message comprises:
parsing the IPv4 multicast protocol request message to obtain an IPv4 multicast address;
obtaining an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix; and
obtaining an IPv6 multicast protocol message according to the IPv6 multicast address.
4. The method according to claim 1 , wherein, the converting the IPv6 multicast data message into an IPv4 multicast data message comprises:
removing an IPv6 message header of the IPv6 multicast data message, to obtain the IPv4 multicast data message.
5. The method according to claim 1 , before converting the IPv6 multicast data message into the IPv4 multicast data message, further comprising: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
6. A home gateway, comprising:
a multicast agent module, configured to add, when receiving an IPv4 multicast protocol request message sent from a user, the IPv4 multicast protocol request message to the home gateway;
an IPv6 multicast protocol module, configured to convert the IPv4 multicast protocol request message into an IPv6 multicast protocol message, and send the IPv6 multicast protocol message to a router; and
a dual stack lite (DS-Lite) tunnel module, configured to convert, when receiving an IPv6 multicast data message sent from the router, the IPv6 multicast data message into an IPv4 multicast data message.
7. The home gateway according to claim 6 , further comprising:
an IPv4 multicast routing module, configured to add or delete a multicast routing item, and forward the IPv4 multicast data message by routing; and
a bridge module, configured to receive the multicast data message forwarded by the IPv4 multicast routing module, and forward the IPv4 multicast data message to the user.
8. The home gateway according to claim 6 , wherein, the multicast agent module is further configured to receive an IPv4 multicast protocol exit message sent by the user; parse the IPv4 multicast protocol exit message to obtain an IPv4 multicast address; and
obtain an IPv6 multicast address according to the IPv4 multicast address and a DS-Lite multicast prefix.
9. The home gateway according to claim 6 , wherein, the IPv6 multicast protocol module is further configured to receive the IPv6 multicast address sent by the multicast agent module.
10. The home gateway according to claim 6 , wherein, the DS-Lite tunnel module is further configured to send the IPv4 multicast data message to the IPv4 multicast routing module.
11. The method according to claim 2 , before converting the IPv6 multicast data message into the IPv4 multicast data message, further comprising: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
12. The method according to claim 3 , before converting the IPv6 multicast data message into the IPv4 multicast data message, further comprising: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
13. The method according to claim 4 , before converting the IPv6 multicast data message into the IPv4 multicast data message, further comprising: performing, when the IPv6 multicast data message is a fragmented message, fragment regrouping to the IPv6 multicast data message.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410268384.5 | 2014-06-16 | ||
CN201410268384.5A CN105306227A (en) | 2014-06-16 | 2014-06-16 | Home gateway DS-Lite multicast method and equipment |
PCT/CN2014/084670 WO2015192457A1 (en) | 2014-06-16 | 2014-08-18 | Home gateway ds-lite multicast method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20170104606A1 true US20170104606A1 (en) | 2017-04-13 |
Family
ID=54934751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/316,102 Abandoned US20170104606A1 (en) | 2014-06-16 | 2014-08-18 | Home gateway ds-lite multicast method and device |
Country Status (4)
Country | Link |
---|---|
US (1) | US20170104606A1 (en) |
EP (1) | EP3133770B1 (en) |
CN (1) | CN105306227A (en) |
WO (1) | WO2015192457A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070171930A1 (en) * | 2006-01-20 | 2007-07-26 | Masanori Kamata | Communication system |
US20120218998A1 (en) * | 2011-02-28 | 2012-08-30 | Futurewei Technologies, Inc. | Multicast Support for Dual Stack-Lite and Internet Protocol Version Six Rapid Deployment on Internet Protocol Version Four Infrastructures |
US20130279518A1 (en) * | 2012-04-19 | 2013-10-24 | Futurewei Technologies, Inc. | System and Apparatus for Router Advertisement Options for Configuring Networks to Support IPv6 to IPv4 Multicast Translation |
US20150244840A1 (en) * | 2014-02-21 | 2015-08-27 | Telefonaktiebolaget L M Ericsson (Publ) | Active antenna element (aae) implementation for facilitating 6lowpan data access |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4501230B2 (en) * | 2000-05-30 | 2010-07-14 | 株式会社日立製作所 | IPv4-IPv6 multicast communication method and apparatus |
CN101068226B (en) * | 2007-02-01 | 2010-05-19 | 西安交通大学 | Multimedia interactive gateway realizing method under IPv4/IPv6 mixed environment |
CN102387221B (en) * | 2010-09-06 | 2014-02-26 | 华为数字技术(成都)有限公司 | Data forwarding method and system |
CN102546382B (en) * | 2010-12-08 | 2014-08-13 | 中国电信股份有限公司 | Method and system for realizing multicast in Internet protocol version 4 over Internet protocol version 6 (IPv4overIPv6) tunnel |
CN102780567A (en) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | Multicast service bearing method and system for DS-lite network architecture as well as network node |
-
2014
- 2014-06-16 CN CN201410268384.5A patent/CN105306227A/en active Pending
- 2014-08-18 US US15/316,102 patent/US20170104606A1/en not_active Abandoned
- 2014-08-18 EP EP14895443.1A patent/EP3133770B1/en active Active
- 2014-08-18 WO PCT/CN2014/084670 patent/WO2015192457A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070171930A1 (en) * | 2006-01-20 | 2007-07-26 | Masanori Kamata | Communication system |
US20120218998A1 (en) * | 2011-02-28 | 2012-08-30 | Futurewei Technologies, Inc. | Multicast Support for Dual Stack-Lite and Internet Protocol Version Six Rapid Deployment on Internet Protocol Version Four Infrastructures |
US20130279518A1 (en) * | 2012-04-19 | 2013-10-24 | Futurewei Technologies, Inc. | System and Apparatus for Router Advertisement Options for Configuring Networks to Support IPv6 to IPv4 Multicast Translation |
US20150244840A1 (en) * | 2014-02-21 | 2015-08-27 | Telefonaktiebolaget L M Ericsson (Publ) | Active antenna element (aae) implementation for facilitating 6lowpan data access |
Also Published As
Publication number | Publication date |
---|---|
EP3133770A1 (en) | 2017-02-22 |
EP3133770B1 (en) | 2018-11-14 |
EP3133770A4 (en) | 2017-09-20 |
WO2015192457A1 (en) | 2015-12-23 |
CN105306227A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200412578A1 (en) | NSH Encapsulation for Traffic Steering | |
CN102970227B (en) | The method and apparatus of VXLAN message repeating is realized in ASIC | |
US6907037B2 (en) | Multicast routing method and an apparatus for routing a multicast packet | |
US9363094B2 (en) | Relay system and switching device | |
US10027496B2 (en) | Method for distributing identifiers of multicast sources | |
WO2017114153A1 (en) | Service function chaining (sfc) communication method and device | |
WO2019127134A1 (en) | Data transmission method and virtual switch | |
US11153207B2 (en) | Data link layer-based communication method, device, and system | |
EP3657742A1 (en) | Method and apparatus for processing modified packet | |
WO2014067486A1 (en) | Packet forwarding method and relevant device | |
JP2006074132A (en) | Multicast communication method and gateway device | |
JP2017503407A (en) | Packet processing method and apparatus | |
US9419891B2 (en) | Virtual private network communication system, routing device and method thereof | |
CN102868642B (en) | The method and apparatus of NVGRE message repeating is realized in ASIC | |
CN104168302B (en) | Equipment manipulation implementation method, system and proxy gateway | |
JP6048129B2 (en) | Communication system, apparatus, method, and program | |
WO2016061931A1 (en) | Method and system for tracing multicast path by user equipment | |
CN105429878A (en) | Method for creating PIM-SM SPT | |
US20170104606A1 (en) | Home gateway ds-lite multicast method and device | |
JP6128132B2 (en) | COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, PACKET PROCESSING METHOD, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
WO2016197832A1 (en) | Packet processing method, device and system | |
US9577930B2 (en) | Method for determining multicast path, method for receiving data packet, and router | |
WO2016070725A1 (en) | Method and device for realizing vlan n:1 conversion on dhcp broadcast interaction packet | |
JP2011066607A (en) | Repeater | |
JP2007110654A (en) | Bridge device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: ZTE CORPORATION, CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHEN, HUI;REEL/FRAME:040515/0935 Effective date: 20161124 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |