CN103841024B - A kind of home gateway realizes the method and home gateway of data distribution - Google Patents

A kind of home gateway realizes the method and home gateway of data distribution Download PDF

Info

Publication number
CN103841024B
CN103841024B CN201210490593.5A CN201210490593A CN103841024B CN 103841024 B CN103841024 B CN 103841024B CN 201210490593 A CN201210490593 A CN 201210490593A CN 103841024 B CN103841024 B CN 103841024B
Authority
CN
China
Prior art keywords
ipv6
address
home gateway
service
iptv
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.)
Active
Application number
CN201210490593.5A
Other languages
Chinese (zh)
Other versions
CN103841024A (en
Inventor
李忠超
孙琼
杨建�
解冲锋
陈运清
郭泓伟
刘春林
高丽华
沈骏祥
赵新宁
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201210490593.5A priority Critical patent/CN103841024B/en
Publication of CN103841024A publication Critical patent/CN103841024A/en
Application granted granted Critical
Publication of CN103841024B publication Critical patent/CN103841024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the method and home gateway that a kind of home gateway realizes data distribution, address classes information AT of the home gateway in the IPV6 data packet heads received obtains the type of service of IPV6 packets;Wherein, AT is 1 or more than 1 bit being arranged in IPV6 addresses;IPV6 packets are sent to the network equipment corresponding to type of service according to type of service by home gateway.The home gateway of the present invention realizes the method and home gateway of data distribution, make a distinction to realize that IPTV set top box accesses the data distribution scheme of Internet service based on the address classes information AT fields in IPV6 addresses, the differentiation to different business can be conveniently realized, realize simple, the problem of avoiding based on single ip address to do during policybased routing that ACL table is huge, can not implement in home gateway, can be perfectly suitable in resource-constrained edge device, with low cost, can dispose the characteristics of.

Description

A kind of home gateway realizes the method and home gateway of data distribution
Technical field
Method and the family of data distribution are realized the present invention relates to Home Gateway Technology field, more particularly to a kind of home gateway Front yard gateway.
Background technology
At present, integrated service home gateway is generally configured with multiple services transmission demand.Home gateway can not only be user Broadband inserting service is provided, while being also equipped with the multiple business such as IPTV, VOIP provides ability.Because different business generally has not Same service quality guarantee demand, is usually that different business provide relatively independent network plane when carrier network is disposed To be ensured.For example, be transmitted for the usual use wideband switch-in business plane of wideband switch-in business, and for IPTV industry Business is then generally transmitted using special IPTV service plane.Two business network planes are separate, be independent of each other, with reality The service quality guarantee of existing different business application.
Currently, home gateway carries out service distributing and traffic differentiation is normally based on different physical ports to implement. Different business(Such as home broadband business, IPTV service, VOIP business)It is bundled on different physical ports, passes through PVC/ Two layers of VLAN identify to make a distinction.However, for open IPTV service application scenarios, same set top box can both be visited IPTV video traffics are asked, Internet service can also be accessed.At this moment, in order that different business still can be in default independence It is transmitted in business network, it is necessary to which video traffic and Internet service for IPTV in home gateway are shunted, Video traffic is incorporated into IPTV service plane, and Internet service is entered to traditional Internet service planar transmission. Therefore, the multiple services carrying demand of process of refinement how is realized, is still realized to a variety of industry under same IPTV physical ports The shunting transmission of business, preferably ensures high-priority service application quality, this is particularly important in IPTV open environment 's.
Substantially, it is more difficult that the different business flow under same port is recognized in traditional IP network.It is first First, because different service features is different, the information of operation layer is not embodied in IP layers of data message, therefore, identification Different business information based on DPI or need to enumerate the supplementary means such as all service server destination addresses and can realize.Secondly, Because home gateway is resource-constrained type equipment, generally only possesses more easy function, the route entry quantity that can be handled Also it is considerably less, similar DPI or enumerate IP address configuration strategy route etc. scheme be difficult in home gateway deployment realize.
The content of the invention
In view of this, the invention solves the problems that a technical problem be to provide the side that a kind of home gateway realizes data distribution Method, this method forwards IPV6 packets based on the address classes information AT in IPV6 addresses.
A kind of method that home gateway realizes data distribution, including:Home gateway is according to the IPV6 data packet heads received In address classes information AT obtain the types of service of the IPV6 packets;Wherein, the AT is to be arranged in IPV6 addresses 1 or more than 1 bit;The IPV6 packets are sent to by the home gateway according to the type of service to be corresponded to The network equipment of the type of service.
According to one embodiment of the method for the invention, further, the AT is that 8 are chosen in IPV6 address fields Continuous bit;The AT is arranged in the destination address in IPV6 data packet heads or source address.
According to one embodiment of the method for the invention, further, the type of service includes:IPTV, VOIP, movement With broadband internet access service.
According to one embodiment of the method for the invention, further, the physics that set top box is connected with the home gateway Port transmission IPTV video flowings and internet data stream;The home gateway parses the IPV6 data packet heads that the set top box is sent In the AT that includes of destination address;When the type of service that AT is identified is IPTV service, the home gateway is by this IPV6 data Bag is sent to IPTV network planes;When the type of service that AT is identified is broadband services business, the home gateway is by this IPV6 Packet is sent to Internet plane.
According to one embodiment of the method for the invention, further, the home gateway configuration local policy routing table; The local policy routing table includes:IPV6 address prefixs comprising AT and next-hop route.
According to one embodiment of the method for the invention, further, the home gateway configuration address mapping table;It is described Address mapping table includes:The IPV6 address prefixs comprising the AT for identifying IPTV service and include mark that STB terminal is obtained The mapping relations of the AT of wideband switch-in business IPV6 address prefixs.
According to one embodiment of the method for the invention, further, the home gateway is that set top box distribution includes mark Know the AT of IPTV service IPV6 address prefixs;Purpose in the IPV6 data packet heads that the home gateway parsing set top box is sent Address;If the AT in this destination address is designated IPTV service, the home gateway is looked into the local policy routing table Look for the next-hop corresponding with the destination address prefix in this IPV6 data packet head to route, send this IPV6 packet to IPTV nets Network;If the AT in this destination address is designated broadband services, the home gateway is searched and this in the address mapping table The corresponding AT comprising mark wideband switch-in business of source address prefix in IPV6 data packet heads IPV6 address prefixs, and replace The source address prefix changed in this IPV6 data packet head, also, the home gateway searched in the local policy routing table with The corresponding next-hop route of destination address prefix in this IPV6 data packet head, sends this IPV6 packet to internet net Network.
According to one embodiment of the method for the invention, further, the home gateway receives Internet hair The IPV6 packets sent, are searched corresponding with the destination address prefix in this IPV6 data packet head in the address mapping table The IPV6 address prefixs of AT comprising mark IPTV service;If so, the destination address prefix in this IPV6 data packet head is replaced, And this IPV6 packet is sent to set top box corresponding with this AT comprising mark IPTV service IPV6 address prefixs.
The invention solves the problems that a technical problem be to provide a kind of home gateway, based on the address classes in IPV6 addresses Information AT forwards IPV6 packets.
A kind of home gateway, including:Retransmission unit, for the address classes letter in the IPV6 data packet heads received Cease AT and obtain the type of service of the IPV6 packets, and IPV6 packets are sent to corresponding to institute according to the type of service State the network equipment of type of service;Wherein, the AT is 1 or more than 1 bit being arranged in IPV6 addresses.
According to one embodiment of the home gateway of the present invention, further, the AT is to be selected in IPV6 address fields Take 8 continuous bits;The AT is arranged in the destination address in the IPV6 data packet heads or source address.
According to one embodiment of the home gateway of the present invention, further, set top box is connected with the home gateway Physical port transmits IPTV video flowings and internet data stream;The retransmission unit parses the IPV6 data that the set top box is sent The AT that destination address in packet header is included;When the type of service that AT is identified is IPTV service, the retransmission unit is by this IPV6 Packet is sent to IPTV networks;When the type of service that AT is identified is broadband services or VOIP business, the retransmission unit will This IPV6 packet is sent to Internet.
According to one embodiment of the home gateway of the present invention, further, policybased routing table dispensing unit, for configuring Local policy routing table;The local policy routing table includes:The correspondence of IPV6 address prefixs comprising AT and next-hop route Relation.
According to one embodiment of the home gateway of the present invention, further, address mapping table dispensing unit, for configuring Address mapping table;The address mapping table includes:The IPV6 addresses for the AT comprising mark IPTV service that STB terminal is obtained Prefix and comprising mark wideband switch-in business AT IPV6 address prefixs corresponding relation.
According to one embodiment of the home gateway of the present invention, further, IPTV address configuration units, for initiating IPTV access authentication of user, and the IPTV station address distributed from network side is received, it is that set top box distribution includes mark The AT of IPTV service IPV6 address prefixs, and safeguard the IPV6 terminal address of IPTV set top box;Broadband access address configuration list Member, the access authentication of user for initiating broadband access receives the Internet broadband distributed from network side and accesses IP address, and Safeguard the vacant address pool of available broadband access;The retransmission unit obtains the purpose in the IPV6 data packet heads that set top box is sent Address, if the AT in this destination address is designated IPTV service, the retransmission unit is looked into the local policy routing table The next-hop matched with the destination address prefix in this IPV6 data packet head is looked for, this IPV6 packet is sent flat to IPTV networks Face;If the AT in this destination address is designated broadband services, prefix map unit is searched and this in the address mapping table The corresponding AT comprising mark wideband switch-in business of source address prefix in IPV6 data packet heads IPV6 address prefixs, and replace The source address prefix changed in this IPV6 data packet head;The retransmission unit is searched and this IPV6 in the local policy routing table The next-hop that destination address prefix in data packet head matches, sends this IPV6 packet to Internet plane.
According to one embodiment of the home gateway of the present invention, further, receive what is sent from Internet During IPV6 packets, the prefix map unit is searched and the destination in this IPV6 data packet head in the address mapping table The corresponding AT comprising mark IPTV service of location prefix IPV6 address prefixs;If so, the prefix map unit is replaced Destination address prefix in this IPV6 data packet head;This IPV6 packet is sent to and includes mark with this by the retransmission unit The AT of the IPTV service corresponding set top box of IPV6 address prefixs.
The home gateway of the present invention realizes the method and home gateway of data distribution, based on the address classes in IPV6 addresses Information AT fields make a distinction to realize that IPTV set top box accesses the data distribution scheme of Internet service.Pass through the address classes Information AT can conveniently realize the differentiation to different business, and carry out route guiding based on address classes information AT, realize letter It is single, it is to avoid done based on single ip address access control list ACL list item during policybased routing it is huge, can not be in home gateway The problem of implementation, it is perfectly suitable in resource-constrained edge device, with low cost, the feature that can be disposed.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the one embodiment for the method that data distribution is realized according to the home gateway of the present invention;
Fig. 2 introduces AT IPV6 in one embodiment to realize the method for data distribution according to the home gateway of the present invention Address format schematic diagram;
Fig. 3 is the schematic diagram of an application scenarios of the method that data distribution is realized according to the home gateway of the present invention;
Fig. 4 is the flow chart of another embodiment of the method that data distribution is realized according to the home gateway of the present invention;
Fig. 5 is the schematic diagram of one embodiment of the home gateway according to the present invention;
Fig. 6 is the schematic diagram of another embodiment of the home gateway according to the present invention.
Embodiment
The present invention is described more fully with reference to the accompanying drawings, wherein illustrating the exemplary embodiment of the present invention.Under The accompanying drawing that face will be combined in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, and shows So, described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the reality in the present invention Example is applied, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made all belongs to In the scope of protection of the invention.Many descriptions are carried out to technical scheme with reference to each figure and embodiment.
Fig. 1 is the flow chart of the one embodiment for the method that data distribution is realized according to the home gateway of the present invention.As schemed It is shown:
Step 102, address classes information AT of the home gateway in the IPV6 data packet heads received obtains IPV6 numbers According to the type of service of bag;Wherein, AT is 1 or more than 1 bit being arranged in IPV6 addresses;
Step 103, home gateway sets the network that IPV6 packets are sent to corresponding to type of service according to type of service It is standby.
In traditional IP network, family gateway equipment shunting multiple business is typically only capable to based on fixed physics when applying Port, then different physical ports is mutually bound with corresponding two layers mark.This mode can not be realized in IPTV single one physicals For video traffic and the identification and shunting of internet multiple business under port.New method " defined in the IPV6 addresses Location classification information " is marked, and can easily be recognized different types of business by the mark and be realized the differentiation and guiding of flow, So as to realize the shunting and guiding to IPTV set top box internet traffic in family's gateway side.
It must be configured under route pattern for the port for needing to carry out multi-service identification, it is desirable to which IPV6 addresses are according to " Location classification information " is classified, and defines the class of service attribute representated by each class address.
IPV6 address size is 128(bit), one or more bits can be chosen in IPV6 address prefixs to make For address classes information, its corresponding business is identified.Because Virtual network operator can distribute IPV6 address, it is possible to plan And distribute the IPV6 addresses for including address classes information.
Fig. 2 introduces AT IPV6 in one embodiment to realize the method for data distribution according to the home gateway of the present invention Address format schematic diagram.As shown in Fig. 2 IPV6 address size is 128(Do not draw complete in Fig. 2), IPV6 address 128 is compared 36-44 bit definitions in spy are address classes information AT.Network manager can be unified fixed in the whole network according to the demand of oneself The content of adopted service fields, the following is example:
AT=00001001:Own business/IPTV;AT=00001010:Own business/VOIP;AT=0010****:Commonly Level home broadband business;AT=0011****:High priority home broadband business;AT=0100****:Common mobile subscriber business; AT=0101****:High priority mobile subscriber business etc..
By such address format definition after, network manager just according to it is as defined above come for different classes of business with User distributes corresponding address, is laid a good foundation for the further differentiated service processing of simplified network.
According to one embodiment of the invention, AT can be arranged in other fields of IPV6 packets, for example extension header In.AT can also be arranged in the destination address in IPV6 data packet heads or source address chooses continuous in IPV6 address fields Bit.
Fig. 3 is the schematic diagram of an application scenarios of the method that data distribution is realized according to the home gateway of the present invention.Such as Shown in Fig. 3:IPTV set top box 32 can obtain AT for " own business/IPTV " address prefix is in IPTV load planes Corresponding address prefix establishes backhaul route.Equally, home gateway 31 can also be obtained before the address that AT is " home broadband " Sew, and be that corresponding address prefix sets up backhaul route in the Internet bearer plane.
Home gateway 31 is integrated service home gateway, can support the access to multiple business, such as broadband access network industry Business, IPTV service, VOIP business etc..Now, the physical port that IPTV set top box 32 is connected with home gateway 31 had both been included IPTV video flows, also comprising Internet internet traffics.The flow of different business attribute needs to give into different networks To ensure respectively.For example, IPTV video flows enter IPTV load planes, i.e. IPTV networks by business router SR, enter Row transmission, and the internet traffic of IPTV set top box 32 then still enters the Internet bearer plane, i.e. Internet, carries out Transmission.Accordingly, it would be desirable to carry out shunting transmission to both flows in home gateway 31.
The AT that destination address in the IPV6 data packet heads that the parsing set top box 32 of home gateway 31 is sent is included, when AT marks Type of service be IPTV service when, this IPV6 packet is sent to IPTV networks by home gateway;The service class identified as AT When type is broadband services or VOIP business, this IPV6 packet is sent to Internet by home gateway.
According to one embodiment of present invention, home gateway configuration local policy routing table;Wrapped in local policy routing table Include:IPV6 address prefixs comprising AT and next-hop route, be [ATaddress, next hop].For example,
[*****00001001****,2001:c68:300:102::2]
For the up IPV6 packets of each arrival home gateway, AT fields that can be in searching data bag, and with Policybased routing table is matched.If finding corresponding route entry, corresponding Service Gateway is routed to.For example, right It is transmitted in IPTV video flow by IPTV load planes, and passes through Internet service for the flow of broadband access network Plane is transmitted.
According to one embodiment of present invention, because the IPV6 prefixes that IPTV terminal is obtained are that AT is " IPTV service " IPV6 prefixes, and it is " home broadband " flag that the route set up in the Internet bearer plane by wideband switch-in business, which is AT, Prefix.Therefore, should be in family in order to be route in by the internet traffic of set top box according to the Internet bearer plane Prefix conversion is carried out in gateway.
It is each mapping for needing the STB terminal changed to set up in an address mapping table in home gateway Relation, the address of cache is the mapping based on address, i.e., only carry out at the address of cache of IP aspects, the conversion that port aspect is not done Reason.For example:
[IPTV address1,src_address1,lifetime]
[IPTV address2,src_address2,lifetime]
...
[IPTV addressN,src_addressN,lifetime]
Wherein, IPTV address refer to the IPV6 addresses that STB terminal is obtained(AT fields are IPTV identifier words Section), src_address is to refer to the set top box broadband services address pool address after conversion, the address prefix and home network The address prefix of acquisition is consistent(AT fields are wideband switch-in business field), lifetime is life cycle, is effective Time.
It is that the packet that IPTV identification services are identified is required to carry out to AT fields in source address for up packet Prefix maps.Concrete mode uses a not currently used broadband access to search currently available broadband access address pool Address is mapped as the address after conversion.Address of cache is only done in the mapping, does not do port mapping, therefore will not introduce volume Outer checksum such as recalculates, is segmented at the operation, it is not required that record session record.
For descending IPV6 packets, it is necessary first to search whether destination address is located in address mapping table.For mesh Address can then carry out prefix replacement by the packet of address completely in match address mapping table, the route for otherwise carrying out routine is looked into Look for.
According to one embodiment of present invention, judge for IPTV strategy of the IPTV upstreams based on AT, read AT fields Configuration implication, and based on the field for uplink traffic destination address carry out policybased routing control.It is for AT fields The flow of " IPTV service " carries out forwarding operation according to default route, for the flow that AT fields are " Internet service ", then sentences Whether the disconnected flow has established corresponding mapping item in prefix mapping table.If having established mapping item, execution is looked into Table handling, find matching list item and conversion after source address;If not yet setting up mapping item, lookup broadband is needed to connect Enter the currently available address in address pool, selection available address is set up before " IPTV service address " and " internet services address " Sew mapping item, and corresponding prefix mapping is carried out to packet and handle.
For the descending internet traffic of arrival, first have to search address mapping table, judged based on destination address. If finding complete matching in the mapping table, prefix conversion process is carried out;Otherwise common routing forwarding operation is carried out.
Fig. 4 is the flow chart of another embodiment of the method that data distribution is realized according to the home gateway of the present invention;Such as Shown in figure:
Step 401, home gateway 42 please to the Broadband Remote Access Server BRAS43 certifications for initiating wideband switch-in business Ask, request distribution AT is IPV6 address prefixs, the dns server address of " wideband switch-in business " etc..
Step 402, home gateway 42 initiates the certification request of IPTV service, request distribution AT to IPTV certificate servers 44 IPV6 address prefixs, dns server address for " IPTV service " etc..
Step 403, home gateway 42 is the IPV6 addresses that the distribution of set top box 41 AT is " IPTV service ".
Step 404, set top box 41 initiates data communications requests, and home gateway 42 acts on behalf of DNS Proxy as domain name system Domain name system DNS request is initiated, the server address of Correspondent Node is obtained.
Step 405, if server address is IPTV platform address, the IPTV video reports subsequently sent for set top box 41 Text carries out policybased routing based on AT fields,
Step 406, IPTV load planes are routed to be transmitted.
Step 407, backhaul traffic is also directly transmitted in IPTV passages.
Step 408, set top box 41 initiates data communications requests.
Step 409, if server address is the address of internet, it is based on for the interconnection network packet that set top box is subsequently sent AT fields carry out policybased routing, carry out sending into internet planar transmission after prefix mapping.Backhaul traffic need to first look for mapping table Whether judge destination address is set top box flow, and carry out corresponding routing forwarding.
According to one embodiment of present invention, home gateway is the IPV6 that set top box distributes the AT comprising mark IPTV service Address prefix;Destination address in the IPV6 data packet heads that home gateway parsing set top box is sent.
If the AT in this destination address is designated IPTV service, home gateway is searched and this in local policy routing table The corresponding next-hop route of destination address prefix in IPV6 data packet heads, sends this IPV6 packet flat to IPTV networks Face, i.e. IPTV networks.
If the AT in this destination address is designated broadband services, home gateway is searched and this IPV6 in address mapping table The corresponding AT comprising mark wideband switch-in business of source address prefix in data packet head IPV6 address prefixs, and replace this Source address prefix in IPV6 data packet heads, also, home gateway searched in local policy routing table with this IPV6 packet The corresponding next-hop route of destination address prefix in head, sends this IPV6 packet to interconnecting network plane.
Home gateway receives the IPV6 packets of Internet transmission, is searched and this IPV6 number in address mapping table According to the corresponding AT comprising mark IPTV service of the destination address prefix in packet header IPV6 address prefixs;If so, replacing Destination address prefix in this IPV6 data packet head, and this I PV6 packet is sent to includes mark IPTV service with this The AT corresponding set top box of IPV6 address prefixs.
Fig. 5 is the schematic diagram of one embodiment of the home gateway according to the present invention;As shown in Figure 5:Home gateway 51 is wrapped Retransmission unit 511 is included, address classes information AT of the retransmission unit 511 in the IPV6 data packet heads received obtains IPV6 numbers IPV6 packets are sent to the network equipment corresponding to type of service according to the type of service of bag, and according to type of service;Wherein, AT is 1 or more than 1 bit being arranged in IPV6 addresses.
Fig. 6 is the schematic diagram of one embodiment of the home gateway according to the present invention.As shown in Figure 6:In home gateway 61 The IPV6 data packet heads that send of the parsing set top box of retransmission unit 611 in the AT that includes of destination address;The business identified as AT When type is IPTV service, this IPV6 packet is sent to IPTV networks by retransmission unit 611;When the AT types of service identified are This IPV6 packet is sent to interconnection network plane by broadband services, retransmission unit 611.
According to one embodiment of present invention, the configuration of policybased routing table dispensing unit 612 local policy routing table;Local plan Slightly routing table includes:The corresponding relation of IPV6 address prefixs comprising AT and next-hop route.Address mapping table dispensing unit 613 Configuration address mapping table;Address mapping table includes:The IPV6 addresses for the AT comprising mark IPTV service that STB terminal is obtained Prefix and comprising mark wideband switch-in business AT IPV6 address prefixs corresponding relation.
According to one embodiment of present invention, IPTV address configuration units 614 initiate IPTV access authentication of user, IPV6 Application IP addresses request and dns server address application request etc., and receive from network side distribute IPTV addresses, be machine AT of the top box distribution comprising mark IPTV service IPV6 address prefixs, and safeguard the IPV6 terminal address of IPTV set top box.
Broadband access address configuration unit 615 initiates the access authentication of user of broadband access, receives from network side distribution The Internet broadband access address and dns server address etc., and safeguard the vacant address pool of available broadband access.
Retransmission unit 611 obtains the destination address in the IPV6 data packet heads that set top box is sent;If in this destination address AT is designated IPTV service, then retransmission unit 611 is searched and the purpose in this IPV6 data packet head in local policy routing table The next-hop that address prefix matches, sends this IPV6 packet to IPTV network planes.
If the AT in this destination address is designated broadband services, prefix map unit 616 searched in address mapping table with The corresponding AT comprising mark wideband switch-in business of source address prefix in this IPV6 data packet head IPV6 address prefixs, and Replace the source address prefix in this IPV6 data packet head;Retransmission unit 611 is searched and this IPV6 number in local policy routing table The next-hop matched according to the destination address prefix in packet header, sends this IPV6 packet to interconnecting network plane.
When receiving from the IPV6 packets that Internet is sent, prefix map unit 616 is in address mapping table Before the IPV6 addresses for searching the AT comprising mark IPTV service corresponding with the destination address prefix in this IPV6 data packet head Sew;If so, prefix map unit 616 replaces the destination address prefix in this IPV6 data packet head;Retransmission unit 611 by this IPV6 packets are sent to set top box corresponding with this AT comprising mark IPTV service IPV6 address prefixs.
The home gateway of the present invention realizes the method and home gateway of data distribution, can be connect as the integrated service of family Enter router, the shunting that can be achieved to IPTV in set top box and Internet data traffic is only transformed in home gateway and is passed It is defeated.The deployment of the present invention uses the IPV6 addresses programme based on address classes information AT, this address rule dependent on network The mode of drawing can substantially reduce the cost for realizing that multi-service is identified and distinguished between in network.Further, since broadband is connect in this programme Enter decoupling with IPTV access authentication procedure, therefore there is very strong applicability, support system, user to existing network to existing network Access system is that can be achieved without transformation demand.
The method and system of the present invention may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, firmware any combinations come realize the present invention method and system.The said sequence of the step of for method is only Order described in detail above is not limited in order to illustrate, the step of method of the invention, is especially said unless otherwise It is bright.In addition, in certain embodiments, the present invention can be also embodied as recording to program in the recording medium, these programs include Machine readable instructions for realizing the method according to the invention.Thus, the present invention also covering storage is used to perform according to this hair The recording medium of the program of bright method.
Description of the invention is provided for the sake of example and description, and is not exhaustively or by the present invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch State embodiment and be more preferably to illustrate the principle and practical application of the present invention, and one of ordinary skill in the art is managed The solution present invention is so as to design the various embodiments with various modifications suitable for special-purpose.

Claims (15)

1. a kind of method that home gateway realizes data distribution, it is characterised in that including:
Address classes information AT of the home gateway in the IPV6 data packet heads received obtains the industry of the IPV6 packets Service type;Wherein, the AT is 1 or more than 1 bit being arranged in IPV6 addresses, and the AT is arranged on IPV6 data In destination address or source address in packet header;
The IPV6 packets are sent to the net corresponding to the type of service according to the type of service by the home gateway Network equipment;Wherein, the type of service includes:IPTV、VOIP;When the type of service that AT is identified is IPTV service, the family This IPV6 packet is sent to IPTV network planes by front yard gateway;When the type of service that AT is identified is broadband services, the family This IPV6 packet is sent to interconnection network plane by front yard gateway.
2. the method as described in claim 1, it is characterised in that:
The AT is that n continuous bits are chosen in IPV6 address fields, wherein, n>=1.
3. method as claimed in claim 2, it is characterised in that:
The type of service also includes:Mobile and broadband internet business.
4. method as claimed in claim 3, it is characterised in that:
Physical port transmission IPTV video flowings and internet data stream that set top box is connected with the home gateway, the home network Close the AT that the destination address in the IPV6 data packet heads that the parsing set top box is sent is included.
5. method as claimed in claim 4, it is characterised in that:
The home gateway configures local policy routing table;The local policy routing table includes:IPV6 addresses comprising AT Prefix and next-hop route.
6. method as claimed in claim 4, it is characterised in that:
The home gateway configuration address mapping table;
The address mapping table includes:STB terminal obtain comprising mark IPTV service AT IPV6 address prefixs and The mapping relations of the IPV6 address prefixs of AT comprising mark wideband switch-in business.
7. method as claimed in claim 6, it is characterised in that:
The home gateway is the IPV6 address prefixs that set top box distributes the AT comprising mark IPTV service;
Destination address in the IPV6 data packet heads that the home gateway parsing set top box is sent;If the AT marks in this destination address Know for IPTV service, then the home gateway is searched and the destination address in this IPV6 data packet head in local policy routing table The corresponding next-hop route of prefix, sends this IPV6 packet to IPTV networks;
If the AT in this destination address is designated broadband services, the home gateway is searched and this in the address mapping table The corresponding AT comprising mark wideband switch-in business of source address prefix in IPV6 data packet heads IPV6 address prefixs, and replace The source address prefix changed in this IPV6 data packet head, also, the home gateway searched in the local policy routing table with The corresponding next-hop route of destination address prefix in this IPV6 data packet head, sends this IPV6 packet to internet net Network.
8. method as claimed in claim 7, it is characterised in that:
The home gateway receives the IPV6 packets of Internet transmission, is searched and this in the address mapping table The corresponding AT comprising mark IPTV service of destination address prefix in IPV6 data packet heads IPV6 address prefixs;
If so, replace the destination address prefix in this IPV6 data packet head, and this IPV6 packet is sent to included with this Identify the AT of the IPTV service corresponding set top box of IPV6 address prefixs.
9. a kind of home gateway, it is characterised in that including:
Retransmission unit, the IPV6 packets are obtained for the address classes information AT in the IPV6 data packet heads received Type of service, and IPV6 packets are sent to according to the type of service by the network equipment corresponding to the type of service;
Wherein, the AT is 1 or more than 1 bit being arranged in IPV6 addresses;The AT is arranged on the IPV6 numbers According in the destination address or source address in packet header;When AT identify type of service be IPTV service when, the retransmission unit by this IPV6 packets are sent to IPTV network planes;When the type of service that AT is identified is broadband services or VOIP business, described turn This IPV6 packet is sent to interconnection network plane by bill member.
10. home gateway as claimed in claim 9, it is characterised in that:
The AT is that n continuous bits are chosen in IPV6 address fields, wherein, n>=1.
11. home gateway as claimed in claim 10, it is characterised in that:
Physical port transmission IPTV video flowings and internet data stream that set top box is connected with the home gateway;
The retransmission unit parses the AT that the destination address in the IPV6 data packet heads that the set top box is sent is included.
12. home gateway as claimed in claim 11, it is characterised in that also include:
Policybased routing table dispensing unit, for configuring local policy routing table;
The local policy routing table includes:The corresponding relation of IPV6 address prefixs comprising AT and next-hop route.
13. home gateway as claimed in claim 12, it is characterised in that:
Address mapping table dispensing unit, for configuration address mapping table;
The address mapping table includes:STB terminal obtain comprising mark IPTV service AT IPV6 address prefixs and The corresponding relation of the IPV6 address prefixs of AT comprising mark wideband switch-in business.
14. home gateway as claimed in claim 13, it is characterised in that also include:
IPTV address configuration units, the access authentication of user for initiating IPTV, and with receiving the IPTV distributed from network side Location, is AT of the set top box distribution comprising mark IPTV service IPV6 address prefixs, with safeguarding the IPV6 terminals of IPTV set top box Location;
Broadband access address configuration unit, the access authentication of user for initiating broadband access receives what is distributed from network side The Internet broadband access address, and safeguard the vacant address pool of available broadband access;
The retransmission unit obtains the destination address in the IPV6 data packet heads that set top box is sent;If the AT marks in this destination address Know for IPTV service, then the retransmission unit is searched and the purpose in this IPV6 data packet head in the local policy routing table The next-hop that address prefix matches, sends this IPV6 packet to IPTV network planes;
If the AT in this destination address is designated broadband services or VOIP business, prefix map unit is in the address mapping table Search the AT comprising mark wideband switch-in business corresponding with the source address prefix in this IPV6 data packet head IPV6 addresses Prefix, and replace the source address prefix in this IPV6 data packet head;The retransmission unit is looked into the local policy routing table The next-hop matched with the destination address prefix in this IPV6 data packet head is looked for, this IPV6 packet is sent flat to internet Face.
15. home gateway as claimed in claim 14, it is characterised in that:
When receiving from the IPV6 packets that Internet is sent, the prefix map unit is in the address mapping table Before the IPV6 addresses for searching the AT comprising mark IPTV service corresponding with the destination address prefix in this IPV6 data packet head Sew;If so, the prefix map unit replaces the destination address prefix in this IPV6 data packet head;
This IPV6 packet is sent to the IPV6 address prefixs pair with this AT comprising mark IPTV service by the retransmission unit The set top box answered.
CN201210490593.5A 2012-11-27 2012-11-27 A kind of home gateway realizes the method and home gateway of data distribution Active CN103841024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210490593.5A CN103841024B (en) 2012-11-27 2012-11-27 A kind of home gateway realizes the method and home gateway of data distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210490593.5A CN103841024B (en) 2012-11-27 2012-11-27 A kind of home gateway realizes the method and home gateway of data distribution

Publications (2)

Publication Number Publication Date
CN103841024A CN103841024A (en) 2014-06-04
CN103841024B true CN103841024B (en) 2017-07-21

Family

ID=50804176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210490593.5A Active CN103841024B (en) 2012-11-27 2012-11-27 A kind of home gateway realizes the method and home gateway of data distribution

Country Status (1)

Country Link
CN (1) CN103841024B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113475B (en) * 2014-07-30 2018-09-11 深圳市共进电子股份有限公司 The network route implementation method and system of home gateway based on Linux
CN104735073B (en) * 2015-03-30 2018-07-06 广州杰赛科技股份有限公司 IPv4-IPv6 transition protocols dispatching method and device
CN105471915A (en) * 2016-01-13 2016-04-06 青岛海信宽带多媒体技术有限公司 Network access control method and network terminal
CN105791106A (en) * 2016-02-29 2016-07-20 重庆邮电大学 6LoWPAN home gateway in support of concurrent access service and realization method of the 6LoWPAN home gateway in support of concurrent access service
CN106385596A (en) * 2016-09-27 2017-02-08 广州珠江数码集团股份有限公司 Interactive television business and broadband bandwidth division method and system
WO2018214154A1 (en) * 2017-05-26 2018-11-29 Thomson Licensing Data forwarding method to support media access control over the top gateway
CN107333295B (en) * 2017-06-09 2021-04-06 京信通信系统(中国)有限公司 Data distribution method and gateway
CN107995085B (en) * 2017-12-08 2021-04-27 新华三技术有限公司 Message forwarding method and device
WO2020258302A1 (en) * 2019-06-28 2020-12-30 华为技术有限公司 Method, switch, and sites for data transmission
CN110808921B (en) * 2019-11-05 2023-01-03 赵宇飞 Application identification method, system and network equipment
CN112351344A (en) * 2020-10-29 2021-02-09 成都长虹网络科技有限责任公司 Method and system for providing Internet and IPTV access by home gateway in parallel
CN114338549B (en) * 2021-12-30 2024-02-09 南京中孚信息技术有限公司 Data stream identification processing method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155196A (en) * 2006-09-27 2008-04-02 中国电信股份有限公司 Service-oriented IPv6 address specification and distribution method, terminal and system for implementing the same
CN101867625A (en) * 2010-07-19 2010-10-20 中国电信股份有限公司 Method for allocating IPv6 address and home gateway
CN102088391A (en) * 2009-12-07 2011-06-08 华为技术有限公司 Processing method, equipment and system for Internet protocol version 6 (IPv6) message
CN102143036A (en) * 2010-06-07 2011-08-03 华为技术有限公司 Prefix sending method, prefix appointing method and corresponding devices
CN102447746A (en) * 2010-10-08 2012-05-09 华为技术有限公司 Information supply method, family gateway and family network system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8170581B2 (en) * 2008-04-08 2012-05-01 Sungkyunkwan University Foundation For Corporate Collaboration Systems for tracking kidnapped hostage tracking systems, transmitters used in the same, sensor network gateways used in the same, and methods of tracking kidnapped hostage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155196A (en) * 2006-09-27 2008-04-02 中国电信股份有限公司 Service-oriented IPv6 address specification and distribution method, terminal and system for implementing the same
CN102088391A (en) * 2009-12-07 2011-06-08 华为技术有限公司 Processing method, equipment and system for Internet protocol version 6 (IPv6) message
CN102143036A (en) * 2010-06-07 2011-08-03 华为技术有限公司 Prefix sending method, prefix appointing method and corresponding devices
CN101867625A (en) * 2010-07-19 2010-10-20 中国电信股份有限公司 Method for allocating IPv6 address and home gateway
CN102447746A (en) * 2010-10-08 2012-05-09 华为技术有限公司 Information supply method, family gateway and family network system

Also Published As

Publication number Publication date
CN103841024A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103841024B (en) A kind of home gateway realizes the method and home gateway of data distribution
CN104052666B (en) The method and apparatus for realizing host routing reachable
US8121126B1 (en) Layer two (L2) network access node having data plane MPLS
US7756998B2 (en) Managing L3 VPN virtual routing tables
CN101984713B (en) Method, terminal and system for realizing business data shunting
US9722923B2 (en) Method operating in a fixed access network and UEs
CN106453027B (en) Gre tunneling implementation method, access device and aggregation gateway
WO2016197344A1 (en) Method, device and system for realizing service link
EP1811728B2 (en) Method, system and device of traffic management in a multi-protocol label switching network
US20100027549A1 (en) Method and apparatus for providing virtual private network identifier
WO2015181677A1 (en) Residential service delivery based on unique residential apn
CN102137001B (en) Routing information exchange method, equipment and system
CN102025589A (en) Method and system for realizing virtual private network
CN101399742A (en) Data service network system and access method of data service
US8416691B1 (en) Associating hosts with subscriber and service based requirements
Iannone et al. Implementing the locator/id separation protocol: Design and experience
CN100518138C (en) Method for realizing virtual special network
WO2022121466A1 (en) Data processing method and device for ethernet virtual private network, and storage medium
CN107580079A (en) A kind of message transmitting method and device
CN103516760B (en) A kind of Virtual Networking System cut-in method, apparatus and system
CN100428681C (en) Method for identifying multicast by using unicast address in IP network
CN102480403B (en) Method for providing virtual private network service, device and system
KR101072461B1 (en) Data transmission system and method using switching information
CN104506665B (en) Distinguish method and system in a kind of IPv4/IPv6 addresses
CN113973045B (en) Message transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant