CN1859292A - Household gateway and method for ensuring household network service terminal QoS - Google Patents
Household gateway and method for ensuring household network service terminal QoS Download PDFInfo
- Publication number
- CN1859292A CN1859292A CN 200510120881 CN200510120881A CN1859292A CN 1859292 A CN1859292 A CN 1859292A CN 200510120881 CN200510120881 CN 200510120881 CN 200510120881 A CN200510120881 A CN 200510120881A CN 1859292 A CN1859292 A CN 1859292A
- Authority
- CN
- China
- Prior art keywords
- address
- service
- network
- message
- hgw
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及数字通信技术,特别涉及一种家庭网关及保障家庭内网络业务终端QoS的方法。一种家庭网关,所述家庭网关HGW包括用于识别报文所属业务类型的业务类型识别器、用于根据业务类型将报文源地址转换为相应公网IP地址的网络地址转换器NAT、以及至少两条连接到网络侧设备的、用于承载业务的连接通道,所述每个连接通道可以获取至少一个公网IP地址。本发明可有效防止未经授权的PC上网用户使用业务终端的上行通道接入网络,使得PC上网用户可以自由选择付费方式,同时节约了IP资源;各终端能够轻易实现互通;可有效保障语音、视频、数据业务都能得到很好的QoS保证。
The invention relates to digital communication technology, in particular to a home gateway and a method for guaranteeing the QoS of a home network service terminal. A home gateway, the home gateway HGW includes a service type identifier for identifying the service type of the message, a network address translator NAT for converting the source address of the message into a corresponding public network IP address according to the service type, and At least two connection channels connected to the network side equipment for carrying services, and each connection channel can obtain at least one public network IP address. The present invention can effectively prevent unauthorized PC Internet users from using the uplink channel of the service terminal to access the network, so that PC Internet users can freely choose payment methods, and at the same time save IP resources; each terminal can easily realize intercommunication; it can effectively guarantee voice, Both video and data services can get good QoS guarantee.
Description
[技术领域][technical field]
本发明涉及数字通信技术,特别涉及一种家庭网关及保障家庭内网络业务终端QoS的方法。The invention relates to digital communication technology, in particular to a home gateway and a method for guaranteeing the QoS of a home network service terminal.
[背景技术][Background technique]
目前通讯技术的发展,数字家庭开始深入现实生活,家庭内的网络设备越来越多,基于网络的业务种类也越来越多,如个人电脑(PC)上网的数据业务,数字电话(IP Phone)提供VoIP业务,数字机顶盒(IP STB)提供的BTV/VoD业务,视频电话(Video Phone)提供的视频电话业务。而家庭网关(HGW)处于家庭网络的核心位置,所有的业务都承载在IP网络上,经HGW由相同的上行通道发送到SP(Service Provider,服务提供商)网络。这些上行通道是基于IP的,可能是ADSL/ADSL2+、VDSL/VDSL2、EPON/GPON/GEPON、WiMAX等各种传输技术之With the current development of communication technology, the digital family has begun to penetrate into real life. There are more and more network devices in the family, and there are more and more types of network-based services, such as personal computer (PC) Internet data services, digital telephone (IP Phone) ) provides VoIP service, BTV/VoD service provided by digital set-top box (IP STB), and video phone service provided by Video Phone. The home gateway (HGW) is at the core of the home network, and all services are carried on the IP network, and are sent to the SP (Service Provider, service provider) network through the same uplink channel through the HGW. These upstream channels are based on IP, which may be one of various transmission technologies such as ADSL/ADSL2+, VDSL/VDSL2, EPON/GPON/GEPON, WiMAX, etc.
图1所示是现有家庭内组网及接入网组网图。为了使PC机以及各种业务终端都能为用户提供良好的业务,HGW必须考虑以下问题:FIG. 1 is a network diagram of an existing home network and an access network. In order to enable PCs and various service terminals to provide users with good services, HGW must consider the following issues:
1.一般情况下,家庭内部的传输带宽都可以达到10M,甚至100M,但是在上行接口处,带宽往往收敛成只有2M、或者4M,远远小于家庭内部的带宽。这样导致了一个问题:如何保障家庭内各种业务终端的QoS?在DSLAM处,大量的业务流汇聚又存在带宽瓶颈,如何保证此处的QoS?如果所有数据都采用PPPoE封装,因为DSLAM未终结PPPoE,无法识别PPPoE封装内的数据类型,自然无法进行QoS调度。1. Under normal circumstances, the transmission bandwidth inside the home can reach 10M or even 100M, but at the uplink interface, the bandwidth often converges to only 2M or 4M, which is much smaller than the bandwidth inside the home. This leads to a problem: how to guarantee the QoS of various service terminals in the home? At the DSLAM, a large number of service flows converge and there is a bandwidth bottleneck. How to ensure the QoS here? If all data is encapsulated by PPPoE, because the DSLAM has not terminated PPPoE, it cannot identify the data type in the PPPoE encapsulation, so QoS scheduling cannot be performed naturally.
2.家庭内存在PC机、IP Phone、IPSTB等各种终端,各终端之间必须实现直接互通。如IPSTB可以播放PC机上存储的节目源,而IP Phone可以获取PC上存储的电话号码本等。要实现设备的直接互通,则要求各种终端全部使用IP协议,且具有相同网段的IP地址。2. There are various terminals such as PC, IP Phone, and IPSTB in the home, and direct intercommunication must be realized between the terminals. For example, IPSTB can play the program source stored on the PC, and IP Phone can obtain the phone book stored on the PC, etc. To achieve direct intercommunication between devices, all terminals are required to use the IP protocol and have IP addresses on the same network segment.
3.家庭内的终端数量巨大,而目前的IPv4所能提供的地址空间有限,特别是在我国,IP地址资源严重缺乏。如果家庭内的每个终端都占用一个公网IP地址,则会造成严重的IP地址浪费。任何一个SP都无法接受这种状况。3. The number of terminals in the family is huge, but the address space that the current IPv4 can provide is limited, especially in my country, where IP address resources are seriously lacking. If each terminal in the home occupies a public network IP address, it will cause serious waste of IP addresses. This situation is unacceptable to any SP.
4.目前大部分PC上网用户都采用PPPoE方式上网,而电信等SP则提供了不同的计费策略,有固定费用包月、计时等。但是除PC以外的各种业务终端却需要一天24小时联线。如果提供给业务终端的网络是联通的,PC机就可以从此通道接入网络,逃避SP的计费。如何阻止未经授权的用户使用业务终端的上行通道接入网络也是HGW需要解决的一个问题。4. At present, most PC Internet users use PPPoE to access the Internet, while Telecom and other SPs provide different billing strategies, such as fixed-fee monthly subscription and timing. However, various business terminals other than PCs need to be connected 24 hours a day. If the network provided to the service terminal is China Unicom, the PC can access the network through this channel, avoiding the billing of the SP. How to prevent unauthorized users from using the uplink channel of the service terminal to access the network is also a problem that the HGW needs to solve.
现有技术的一种解决方法是:终端设备的接入使用最多的方式是PPPoE,PPPoE对于PC类的数据接入具有较大优势。如果存在多个终端,则由家庭网关(HGW)通过PPPoE方式接入SP的网络,同时在HGW上提供网络地址转换(NAT)和动态主机配置服务(DHCP server)功能,家庭内的各种设备通过DHCP从HGW获取IP地址。家庭内的PC和各种业务终端的数据都通过HGW进行地址转换后转发,如图2所示。这种方法的缺点是:①需要QoS保障的业务和需要QoS保障的数据上网业务的上行通道结合在一起,如果要提供按业务量计费的业务(如VoIP电话按呼叫时长计费、VoD按照点播节目数计费)就必须要求用户已经开通了数据接入业务,并且选择不限时的付费方式,这样严重限制了业务开展的目标用户群。②所有的上行数据报文都必须封装在PPPoE的报文中,在DSLAM处汇聚后,由于DSLAM没有终结PPPoE,无法识别PPPoE封装内的报文类型,自然无法提供有效的QoS保障。A solution in the prior art is: PPPoE is the most used method for terminal equipment access, and PPPoE has great advantages for PC-type data access. If there are multiple terminals, the home gateway (HGW) accesses the SP network through PPPoE, and at the same time provides network address translation (NAT) and dynamic host configuration service (DHCP server) functions on the HGW, and various devices in the home Obtain an IP address from the HGW through DHCP. The data of PCs in the home and various service terminals are forwarded after address translation through the HGW, as shown in Figure 2. The disadvantages of this method are: ① The service requiring QoS guarantee and the uplink channel of the data online service needing QoS guarantee are combined together. On-demand program counting) must require the user to have opened the data access service and choose an unlimited payment method, which severely limits the target user group for service development. ②All uplink data packets must be encapsulated in PPPoE packets. After aggregation at the DSLAM, since the DSLAM does not terminate PPPoE, it cannot identify the packet type in the PPPoE encapsulation, and naturally cannot provide effective QoS guarantee.
现有技术的另一种解决方法是在方案一的基础上进行了改造:HGW不再对报文进行NAT转换,所有的上下行报文都被直接转发出去。HGW下接的PC机直接进行PPPoE拨号,而业务终端通过DHCP直接从网络侧获取IP地址接入SP的网络,如图3所示。该方案将业务终端发出的业务流和数据终端发出的数据流完全进行了隔离,使DSLAM能对各种业务流进行不同策略的QoS调度,满足了业务终端的QoS要求。缺点是:①家庭内的设备从不同的途径获取了IP地址,处于不同的网段,甚至部分处于公网地址,部分为私网地址,各种设备无法直接互通,要互通的话必须到SP的路由器上进行互通,实现起来很复杂。②家庭内的每个设备都直接与互联网相连,暴露在公众面界,难以保证安全性。③每个业务终端都需要分配单独的公网IP地址,严重浪费了IP资源。④家庭内存在多个数据终端(如PC机)的时候,需要设备提供NAT功能,虽然这个NAT可由执行PPPoE拨号的PC提供,但是毕竟不便。Another solution in the prior art is a modification based on the first solution: the HGW does not perform NAT conversion on the packets, and all uplink and downlink packets are directly forwarded. The PC connected to the HGW directly performs PPPoE dial-up, and the service terminal directly obtains an IP address from the network side through DHCP to access the SP network, as shown in Figure 3. This solution completely isolates the service flow sent by the service terminal and the data flow sent by the data terminal, so that the DSLAM can implement different strategies for QoS scheduling of various service flows, meeting the QoS requirements of the service terminal. The disadvantages are: ① The devices in the home obtain IP addresses from different channels, and they are in different network segments. Some are even in public network addresses, and some are in private network addresses. Various devices cannot directly communicate with each other. If they want to communicate with each other, they must go to the SP It is very complicated to realize the intercommunication on the router. ②Every device in the home is directly connected to the Internet and exposed to the public, making it difficult to guarantee security. ③Each service terminal needs to be assigned a separate public network IP address, which seriously wastes IP resources. ④ When there are multiple data terminals (such as PCs) in the home, the device needs to provide NAT function. Although this NAT can be provided by the PC that executes PPPoE dial-up, it is inconvenient after all.
[发明内容][Content of the invention]
本发明的目的在于提供一种可解决现有技术中缺陷的家庭网关及保障家庭内网络业务终端QoS的方法。The purpose of the present invention is to provide a home gateway that can solve the defects in the prior art and a method for guaranteeing the QoS of the network service terminal in the home.
本发明解决其技术问题所采用的技术方案是:一种家庭网关,所述家庭网关HGW包括用于识别报文所属业务类型的业务类型识别器、用于根据业务类型将报文源地址转换为相应公网IP地址的网络地址转换器NAT、以及至少两条连接到网络侧设备的、用于承载业务的连接通道,所述每个连接通道可以获取至少一个公网IP地址。The technical solution adopted by the present invention to solve the technical problem is: a home gateway, the home gateway HGW includes a service type identifier for identifying the service type of the message, and is used to convert the source address of the message into The network address translator NAT corresponding to the public network IP address, and at least two connection channels connected to the network side equipment for carrying services, and each connection channel can obtain at least one public network IP address.
进一步的,所述其中一条连接通道用于传送需要QoS保障的业务的报文,其以DHCP方式从动态主机配址服务器DHCP server获取公网IP地址IP1或设置公网IP地址IP1;另一条连接通道用于承载其他不需要QoS保障的PPPoE报文,其以PPPoE方式从BAS获取公网IP地址IP2。Further, one of the connection channels is used to transmit the message of the business that needs QoS guarantee, and it obtains the public network IP address IP1 or sets the public network IP address IP1 from the dynamic host address server DHCP server in DHCP mode; the other connection channel The channel is used to carry other PPPoE packets that do not require QoS guarantee, and it obtains the public network IP address IP2 from the BAS through PPPoE.
进一步的,所述NAT用于将需要QoS保障的业务的报文的源地址转换为所述公网地址IP1后向上转发,将其他不需要QoS保障的业务的报文的源地址转换为所述公网地址IP2后,封装在PPPoE报文格式中向上转发。Further, the NAT is used to convert the source address of the message of the service requiring QoS guarantee to the public network address IP1 and forward it upwards, and convert the source address of the message of other service not requiring QoS guarantee to the After the public network address IP2, it is encapsulated in the PPPoE packet format and forwarded upwards.
作为本发明一种家庭网关的一个改进,还包括优先级标记器,用于对公网地址为IP1的报文根据其业务类型标记以不同的802.1P优先级后再向上转发。As an improvement of the home gateway of the present invention, it also includes a priority marker, which is used to mark the message with the public network address IP1 with a different 802.1P priority according to its service type and then forward it upwards.
本发明提供了一种基于上述家庭网关的保障家庭内网络业务终端QoS的方法,包括步骤:The present invention provides a method for guaranteeing the QoS of the network service terminal in the home based on the above-mentioned home gateway, comprising steps:
501,HGW与网络侧设备建立至少两条连接通道;501. The HGW establishes at least two connection channels with the network side device;
502,HGW接收终端发送的请求报文,为该终端分配一个私网IP地址;502. The HGW receives the request message sent by the terminal, and assigns a private network IP address to the terminal;
503,HGW识别出业务类型,并根据预先设置的QoS规则,将需要QoS保障的业务和不需要QoS保障的数据业务的报文的源地址转换为相应的公网IP地址,从相应连接通道发出。503. The HGW identifies the service type, and according to the preset QoS rules, converts the source addresses of the packets of the services requiring QoS guarantee and the data services not requiring QoS guarantee into the corresponding public network IP addresses, and sends them out from the corresponding connection channels. .
上述方法中,所述HGW通过检查报文的特定字段识别业务类型,或通过匹配终端的源MAC地址识别业务类型,或通过匹配终端的源/目的IP地址识别业务类型。In the above method, the HGW identifies the service type by checking a specific field of the message, or identifies the service type by matching the source MAC address of the terminal, or identifies the service type by matching the source/destination IP address of the terminal.
进一步的,步骤501中,HGW通过连接通道一以DHCP方式从DHCP server获取公网地址IP1或设置一固定IP地址IP1,通过连接通道二以PPPoE方式从宽带接入系统BAS获取公网地址IP2。Further, in step 501, the HGW obtains the public network address IP1 or sets a fixed IP address IP1 from the DHCP server through the connection channel 1 in DHCP mode, and obtains the public network address IP2 from the broadband access system BAS in the PPPoE mode through the connection channel 2.
作为本发明的一个改进,步骤503中,对于需要QoS保障的业务,HGW将报文的源地址转换为地址IP1后,用802.1Q的VLAN ID,或者802.1P的优先级,或者ToS的优先级,或者DSCP优先级加以标记以区别业务类型,然后从连接通道一发出。。As an improvement of the present invention, in step 503, for services that require QoS guarantee, after the HGW converts the source address of the message to address IP1, use the VLAN ID of 802.1Q, or the priority of 802.1P, or the priority of ToS , or the DSCP priority is marked to distinguish the service type, and then sent from the connection channel 1. .
进一步的,步骤503中,对于不需要QoS保障的业务,HGW将报文的源地址转换为地址IP2后,用PPPoE进行封装,然后从连接通道二发出。Further, in step 503, for services that do not require QoS guarantee, the HGW converts the source address of the message into address IP2, encapsulates it with PPPoE, and sends it out through connection channel 2.
作为一个改进,本发明方法进一步包括:所述DSLAM优先处理所述连接通道一发送的报文。As an improvement, the method of the present invention further includes: the DSLAM preferentially processes the message sent by the first connection channel.
作为本发明方法的另一个改进,所述DALAM对所述连接通道一承载的报文根据802.1Q的VLAN ID、或者802.1P优先级、或者ToS优先级、或者DSCP优先级进行调度。As another improvement of the method of the present invention, the DALAM schedules the message carried by the connection channel one according to the VLAN ID of 802.1Q, or 802.1P priority, or ToS priority, or DSCP priority.
本发明的有益效果是:①家庭网关(HGW)可识别终端类型/业务类型,并支持两条或者多条连接通道,为每条通道申请一个公网IP地址,PPPoE和IPoA分别承载于不同的连接通道,防止未经授权的PC上网用户使用业务终端的上行通道接入网络,使得PC上网用户可以自由选择付费方式,同时节约了IP资源。②HGW支持网络地址转换功能(NAT),可为各终端设备分配同一网段的私网IP,使得终端能够轻易实现互通。③数字用户接入服务器(DSLAM)优先处理IPoA报文,同时对IPoA报文根据802.1P的优先级标记P1,P2进行调度,从而保障了语音、视频、数据业务都能得到很好的QoS保证。The beneficial effects of the present invention are: ① The home gateway (HGW) can identify the terminal type/service type, and support two or more connection channels, apply for a public network IP address for each channel, and PPPoE and IPoA are respectively carried on different The connection channel prevents unauthorized PC Internet users from using the uplink channel of the service terminal to access the network, so that PC Internet users can freely choose the payment method, and at the same time save IP resources. ②HGW supports the network address translation function (NAT), which can allocate the private network IP of the same network segment to each terminal device, so that the terminals can easily realize intercommunication. ③The digital subscriber access server (DSLAM) processes IPoA packets first, and at the same time schedules the IPoA packets according to the 802.1P priority marks P1 and P2, thus ensuring that voice, video, and data services can all get good QoS guarantees .
[附图说明][Description of drawings]
图1是现有家庭内组网及接入网组网图。FIG. 1 is a network diagram of an existing home network and an access network.
图2是现有技术一的示意图。Fig. 2 is a schematic diagram of the first prior art.
图3是现有技术二的示意图。Fig. 3 is a schematic diagram of the second prior art.
图4是本发明系统和方法流程示意图。Fig. 4 is a schematic flow chart of the system and method of the present invention.
[具体实施方式][Detailed ways]
下面根据附图和具体实施例对本发明做进一步阐述。The present invention will be further elaborated below according to the drawings and specific embodiments.
本发明系统与现有技术中一样,包括:终端、家庭网关(HGW)、数字用户接入服务器(DSLAM)、宽带接入系统(BAS,Broad Access System)和动态主机配址服务器(DHCP server)。其中,终端主要包括机顶盒(STB)、数字电视(IPTV)、可视电话(Video Phone)、数字电话(IP Phone)和个人电脑(PC)。业务类型主要包括不需要QoS保障的数据业务(PC机)和需要QoS保障的业务(如VoIP业务、IPTV和Video Phone业务)。本较佳实施例中,主要以PC机的数据业务和VoIP业务为例对本发明进行说明。The system of the present invention is the same as in the prior art, comprising: a terminal, a home gateway (HGW), a digital subscriber access server (DSLAM), a broadband access system (BAS, Broad Access System) and a dynamic host address server (DHCP server) . Among them, the terminal mainly includes set-top box (STB), digital TV (IPTV), video phone (Video Phone), digital phone (IP Phone) and personal computer (PC). Business types mainly include data services (PC) that do not require QoS guarantees and services that require QoS guarantees (such as VoIP services, IPTV and Video Phone services). In this preferred embodiment, the present invention is mainly described by taking the data service and VoIP service of the PC as examples.
如图4所示,本发明系统中,HGW包括:用于识别报文所属业务类型的业务类型识别器、用于根据业务类型将报文源地址转换为相应公网IP地址的网络地址转换器NAT、以及至少两条连接到网络侧设备的、用于承载业务的连接通道。其具有以下特点:As shown in Figure 4, in the system of the present invention, the HGW includes: a service type identifier for identifying the service type to which the message belongs, and a network address translator for converting the source address of the message into a corresponding public network IP address according to the service type NAT, and at least two connection channels connected to the network side equipment for bearing services. It has the following characteristics:
(1)HGW支持动态主机配址服务功能(DHCP server),且可以识别业务类型。比如可以根据DHCP报文中的特定字段(如DHCP Option 60)识别终端类型,从而识别业务类型:如果发出的DHCP请求中不带Option 60选项,则认为该设备非运营商的业务终端,是数据终端,如果终端发出的报文带有Option60字段,则可根据该字段的数据识别终端类型。可以根据设备类型、MAC地址、IP地址、TCP/UDP端口号、应用层协议等信息对业务进行识别(比如,如果所传IP包的MAC地址、IP地址、TCP/UDP端口号、应用层协议等地址与指定的一致,则可识别业务类型,以启动预定的QoS规则)。(1) HGW supports dynamic host addressing service function (DHCP server), and can identify service types. For example, the terminal type can be identified according to a specific field in the DHCP message (such as DHCP Option 60), so as to identify the service type: if the DHCP request sent does not contain the
(2)支持至少两条连接通道(本发明以两条为例),所述连接通道可以是永久虚连接PVC或VLAM,连接通道一用于承载需要QoS保障的业务报文,其以DHCP方式从动态主机配址服务器DHCP server获取一个公网IP地址IP1,或设置公网IP地址IP1;连接通道二用于承载不需要QoS保障的数据业务,即PPPoE报文,其以PPPoE方式从BAS获取公网IP地址IP2。(2) support at least two connection channels (the present invention takes two as an example), and the connection channel can be a permanent virtual connection PVC or VLAM, and connection channel one is used to bear the weight of service messages requiring QoS guarantee, and it uses DHCP mode Obtain a public network IP address IP1 from the dynamic host address server DHCP server, or set the public network IP address IP1; connection channel 2 is used to carry data services that do not require QoS guarantee, that is, PPPoE packets, which are obtained from the BAS in PPPoE mode Public network IP address IP2.
(3)支持和网络地址转换功能(NAT),HGW将需要QoS保障的业务的报文的源地址转换为一公网地址、并根据业务流类型将报文标记以不同的802.1P优先级后向上转发,将其他不需要QoS保障的数据报文的源地址转换为另一公网地址、并进行PPPoE的封装后向上转发。(3) Support and network address translation function (NAT), HGW converts the source address of the message of the service that needs QoS guarantee into a public network address, and marks the message with different 802.1P priority according to the type of service flow Upward forwarding, converting the source address of other data packets that do not require QoS guarantee to another public network address, encapsulating PPPoE and forwarding upwards.
本发明系统中DSLAM具有以下特点:可根据PVC、802.1Q的VLAN ID、或者802.1P优先级、或者ToS优先级、或者DSCP优先级识别报文所承载终端类型/业务类型,并根据预定规则进行QoS保障,如优先处理VoIP业务,对语音、视频业务进行调度等。The DSLAM in the system of the present invention has the following characteristics: it can identify the terminal type/service type carried by the message according to the VLAN ID of PVC, 802.1Q, or 802.1P priority, or ToS priority, or DSCP priority, and perform QoS guarantee, such as prioritizing VoIP services, scheduling voice and video services, etc.
本发明方法主要包括步骤:501,HGW与网络侧设备建立至少两条连接通道;502,HGW接收终端发送的请求报文,为该终端分配一个属于同一网段的私网IP地址;503,HGW识别出业务类型,并根据预先设置的QoS规则,将需要QoS保障的业务和不需要QoS保障的数据业务的报文的源地址转换为相应的公网IP地址,从相应连接通道发出。The method of the present invention mainly includes steps: 501, the HGW establishes at least two connection channels with the network side equipment; 502, the HGW receives the request message sent by the terminal, and allocates a private network IP address belonging to the same network segment to the terminal; 503, the HGW Identify the type of business, and convert the source addresses of the packets that require QoS guarantees and data services that do not require QoS guarantees to the corresponding public network IP addresses according to the preset QoS rules, and send them out from the corresponding connection channels.
下面以HGW与网络侧设备DSLAM之间建立PVC通道为例,介绍本发明较佳实施例的具体实现流程,包括步骤:Taking the establishment of a PVC channel between the HGW and the network side equipment DSLAM as an example, the specific implementation process of the preferred embodiment of the present invention is introduced, including steps:
S1,HGW与DSLAM建立两条永久虚连接PVC1和PVC2,其中,PVC1用于承载需要QoS保障的报文,PVC2用于承载不需要QoS保障的PPPoE报文;S1, the HGW and the DSLAM establish two permanent virtual connections PVC1 and PVC2, among which PVC1 is used to carry packets that require QoS guarantee, and PVC2 is used to carry PPPoE packets that do not require QoS guarantee;
S2,HGW通过PVC1以DHCP方式从DHCP server获取公网地址IP1(或直接设置使用固定IP地址IP1),通过PVC2以PPPoE方式从BAS获取公网地址IP2。S2, the HGW obtains the public network address IP1 from the DHCP server by way of DHCP through PVC1 (or directly sets and uses a fixed IP address IP1), and obtains the public network address IP2 from the BAS by way of PPPoE through PVC2.
S31,STB发出DHCP请求报文,报文中DHCP Option 60字段包括可选数据A;S31, the STB sends a DHCP request message, and the
S32,IP Phone发出DHCP请求报文,报文中DHCP Option 60字段包括可选数据B;S32, the IP Phone sends a DHCP request message, and the
S33,PC发出DHCP请求报文,报文中DHCP Option 60字段不带有可选数据;S33, the PC sends a DHCP request message, and the
S4,HGW根据Option 60字段获取终端设备的类型,为STB分配地址IP-a、为IP Phone分配地址IP-b、为PC分配地址IP-c;由于IP-a,IP-b,IP-c都为同一网段的私网IP,这三个终端能够轻易实现互通;S4, HGW obtains the type of terminal equipment according to the
S5,HGW根据源地址IP-a判断出此IP包承载的业务流为VoIP业务,将此报文经NAT1将其源地址转换为IP1,并加上802.1P的优先级(还可以是802.1Q的VLAN ID、或者ToS优先级、或者DSCP优先级)标记P1;根据源地址IP-b判断出此IP包承载的业务流为VoIP业务,将此报文经NAT1将其源地址转换为IP1,并加上802.1P的优先级标记P2;根据源地址IP-c判断出此IP包承载的业务流为数据业务,将此报文经NAT2将源地址转换为IP2,并进行PPPoE封装;这样HGW将数据业务承载在PPPoE,其他业务承载在IPoA;S5, the HGW judges that the service flow carried by this IP packet is a VoIP service according to the source address IP-a, converts the source address of the message to IP1 through NAT1, and adds the priority of 802.1P (it can also be 802.1Q VLAN ID, or ToS priority, or DSCP priority) mark P1; According to the source address IP-b, it is judged that the service flow carried by this IP packet is a VoIP service, and the source address of this message is converted to IP1 through NAT1, And add the priority mark P2 of 802.1P; According to the source address IP-c, it is judged that the service flow carried by this IP packet is a data service, and the source address of this message is converted to IP2 through NAT2, and PPPoE encapsulation is performed; in this way, the HGW Carry data services on PPPoE, and other services on IPoA;
S6,HGW将NAT1处理后的报文从PVC1发出,将NAT2处理后的报文从PVC2发出;S6. The HGW sends the packet processed by NAT1 from PVC1, and sends the packet processed by NAT2 from PVC2;
S7,DSLAM接收到来自HGW的报文后,优先处理PVC1通道发送的报文,再处理PVC2通道发送的报文,同时对PVC1承载的IP报文根据802.1P的优先级标记P1,P2进行调度,从而保障了语音、视频、数据业务都能得到很好的QoS保证。S7, after the DSLAM receives the message from the HGW, it first processes the message sent by the PVC1 channel, and then processes the message sent by the PVC2 channel, and at the same time schedules the IP message carried by PVC1 according to the 802.1P priority marks P1 and P2 , so as to ensure that voice, video, and data services can all get good QoS guarantees.
以上报文在经HGW处理过程中都必须在HGW内进行Buffer缓存调度处理,以保障其QoS。When the above packets are processed by the HGW, they must be buffered and scheduled in the HGW to ensure their QoS.
如果有第三种业务流,则HGW可以与DSLAM建立PVC3连接,申请第三个公网IP地址,从此通道发送业务流。If there is a third service flow, the HGW can establish a PVC3 connection with the DSLAM, apply for a third public network IP address, and send the service flow through this channel.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510120881 CN100571199C (en) | 2005-12-16 | 2005-12-16 | A home gateway and a method for guaranteeing QoS of a home network service terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510120881 CN100571199C (en) | 2005-12-16 | 2005-12-16 | A home gateway and a method for guaranteeing QoS of a home network service terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1859292A true CN1859292A (en) | 2006-11-08 |
| CN100571199C CN100571199C (en) | 2009-12-16 |
Family
ID=37298156
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200510120881 Expired - Fee Related CN100571199C (en) | 2005-12-16 | 2005-12-16 | A home gateway and a method for guaranteeing QoS of a home network service terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100571199C (en) |
Cited By (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101795233A (en) * | 2010-03-10 | 2010-08-04 | 杭州华三通信技术有限公司 | Method and equipment for controlling quality of service (QoS) |
| CN101796806A (en) * | 2007-08-24 | 2010-08-04 | T-移动国际股份公司 | Dynamic Network Selection |
| CN101068227B (en) * | 2007-06-01 | 2010-08-11 | 广东中大讯通软件科技有限公司 | System for protecting QoS system based on family gateway and reservation band width technique and method thereof |
| CN101931607A (en) * | 2009-06-23 | 2010-12-29 | 中兴通讯股份有限公司 | Method and device for preventing user address spoofing in broadband access equipment |
| WO2011035678A1 (en) * | 2009-09-25 | 2011-03-31 | 华为技术有限公司 | Method and apparatus for data transmission |
| CN101605057B (en) * | 2009-07-02 | 2011-12-28 | 中兴通讯股份有限公司 | Method and system for realizing downlink Qos of family gateway |
| CN102447746A (en) * | 2010-10-08 | 2012-05-09 | 华为技术有限公司 | Information providing method, home gateway, and home network system |
| CN102594635A (en) * | 2012-02-15 | 2012-07-18 | 中国联合网络通信集团有限公司 | Home-gateway-based terminal access method and system, and home gateway |
| CN103067268A (en) * | 2012-12-31 | 2013-04-24 | 华为技术有限公司 | Method and server of virtual home gateway service delivery |
| CN103297283A (en) * | 2012-02-24 | 2013-09-11 | 上海欣诺通信技术有限公司 | ADSL network monitoring device and method |
| CN103701837A (en) * | 2012-09-27 | 2014-04-02 | 中兴通讯股份有限公司 | PPP (Point-to-point Protocol) on-demand dialing method and home gateway |
| CN103718508A (en) * | 2011-08-17 | 2014-04-09 | 瑞典爱立信有限公司 | Advanced determination, processing and control in communication networks |
| CN104144091A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Home gateway service carrying implementation method and home gateway |
| WO2015024168A1 (en) * | 2013-08-20 | 2015-02-26 | 华为技术有限公司 | Method for realizing residential gateway service function and server |
| CN104601379A (en) * | 2015-01-29 | 2015-05-06 | 太仓市同维电子有限公司 | Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit |
| CN104994028A (en) * | 2015-07-15 | 2015-10-21 | 上海地面通信息网络有限公司 | Bandwidth saving control device based on NAT address translator |
| WO2015192705A1 (en) * | 2014-06-16 | 2015-12-23 | 华为技术有限公司 | Access device and method implemented by access device for allowing user equipment to access network |
| US9510255B2 (en) | 2011-11-08 | 2016-11-29 | Huawei Technologies Co., Ltd. | Network handover method and apparatus |
| CN106716939A (en) * | 2014-07-29 | 2017-05-24 | 皇家Kpn公司 | Improved qos in data stream delivery |
| CN109495596A (en) * | 2017-09-13 | 2019-03-19 | 阿里巴巴集团控股有限公司 | A kind of method and device for realizing address conversion |
| CN109788579A (en) * | 2017-11-14 | 2019-05-21 | 电信科学技术研究院 | A kind of method for building up and equipment of PDU session |
| CN110365808A (en) * | 2019-06-28 | 2019-10-22 | 广东省广播电视网络股份有限公司 | A kind of method that Household intelligent gateway realizes more WAN mouthpieces load different business |
| CN113132218A (en) * | 2019-12-31 | 2021-07-16 | 中兴通讯股份有限公司 | Home gateway access method, device, system processor and storage medium |
| CN114844733A (en) * | 2021-01-30 | 2022-08-02 | 华为技术有限公司 | Interface management method for access user equipment and access user equipment |
| CN117156197A (en) * | 2023-08-23 | 2023-12-01 | 中国电信股份有限公司技术创新中心 | Channel switching method, system, device, communication equipment and storage medium |
-
2005
- 2005-12-16 CN CN 200510120881 patent/CN100571199C/en not_active Expired - Fee Related
Cited By (39)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101068227B (en) * | 2007-06-01 | 2010-08-11 | 广东中大讯通软件科技有限公司 | System for protecting QoS system based on family gateway and reservation band width technique and method thereof |
| CN101796806A (en) * | 2007-08-24 | 2010-08-04 | T-移动国际股份公司 | Dynamic Network Selection |
| CN101931607A (en) * | 2009-06-23 | 2010-12-29 | 中兴通讯股份有限公司 | Method and device for preventing user address spoofing in broadband access equipment |
| CN101605057B (en) * | 2009-07-02 | 2011-12-28 | 中兴通讯股份有限公司 | Method and system for realizing downlink Qos of family gateway |
| WO2011035678A1 (en) * | 2009-09-25 | 2011-03-31 | 华为技术有限公司 | Method and apparatus for data transmission |
| CN101795233A (en) * | 2010-03-10 | 2010-08-04 | 杭州华三通信技术有限公司 | Method and equipment for controlling quality of service (QoS) |
| CN102447746A (en) * | 2010-10-08 | 2012-05-09 | 华为技术有限公司 | Information providing method, home gateway, and home network system |
| CN102447746B (en) * | 2010-10-08 | 2015-04-08 | 华为技术有限公司 | Information supply method, family gateway and family network system |
| CN103718508A (en) * | 2011-08-17 | 2014-04-09 | 瑞典爱立信有限公司 | Advanced determination, processing and control in communication networks |
| CN103718508B (en) * | 2011-08-17 | 2017-04-05 | 瑞典爱立信有限公司 | Advanced determination, processing and control in communication networks |
| US9510255B2 (en) | 2011-11-08 | 2016-11-29 | Huawei Technologies Co., Ltd. | Network handover method and apparatus |
| CN102594635A (en) * | 2012-02-15 | 2012-07-18 | 中国联合网络通信集团有限公司 | Home-gateway-based terminal access method and system, and home gateway |
| CN102594635B (en) * | 2012-02-15 | 2015-10-21 | 中国联合网络通信集团有限公司 | Based on the terminal access method of home gateway and system and home gateway |
| CN103297283B (en) * | 2012-02-24 | 2018-01-23 | 上海欣诺通信技术股份有限公司 | A kind of device and method of ADSL network monitorings |
| CN103297283A (en) * | 2012-02-24 | 2013-09-11 | 上海欣诺通信技术有限公司 | ADSL network monitoring device and method |
| CN103701837A (en) * | 2012-09-27 | 2014-04-02 | 中兴通讯股份有限公司 | PPP (Point-to-point Protocol) on-demand dialing method and home gateway |
| WO2014048187A1 (en) * | 2012-09-27 | 2014-04-03 | 中兴通讯股份有限公司 | Point-to-point protocol dialing method and home gateway |
| CN103067268A (en) * | 2012-12-31 | 2013-04-24 | 华为技术有限公司 | Method and server of virtual home gateway service delivery |
| CN103067268B (en) * | 2012-12-31 | 2017-02-08 | 华为技术有限公司 | Method and server of virtual home gateway service delivery |
| CN104144091A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Home gateway service carrying implementation method and home gateway |
| US10574484B2 (en) | 2013-08-20 | 2020-02-25 | Huawei Technologies Co., Ltd. | Method for implementing residential gateway service function, and server |
| US11128493B2 (en) | 2013-08-20 | 2021-09-21 | Huawei Technologies Co., Ltd. | Method for implementing residential gateway service function, and server |
| WO2015024168A1 (en) * | 2013-08-20 | 2015-02-26 | 华为技术有限公司 | Method for realizing residential gateway service function and server |
| WO2015192705A1 (en) * | 2014-06-16 | 2015-12-23 | 华为技术有限公司 | Access device and method implemented by access device for allowing user equipment to access network |
| CN105207858A (en) * | 2014-06-16 | 2015-12-30 | 华为技术有限公司 | Access device and method for connecting user equipment to network executed by access device |
| US10454712B2 (en) | 2014-06-16 | 2019-10-22 | Huawei Technologies Co., Ltd. | Access apparatus and access apparatus-performed method for connecting user device to network |
| CN106716939A (en) * | 2014-07-29 | 2017-05-24 | 皇家Kpn公司 | Improved qos in data stream delivery |
| CN104601379A (en) * | 2015-01-29 | 2015-05-06 | 太仓市同维电子有限公司 | Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit |
| CN104994028A (en) * | 2015-07-15 | 2015-10-21 | 上海地面通信息网络有限公司 | Bandwidth saving control device based on NAT address translator |
| CN104994028B (en) * | 2015-07-15 | 2019-04-26 | 上海地面通信息网络股份有限公司 | Bandwidth conservation control device based on NAT address translator |
| CN109495596A (en) * | 2017-09-13 | 2019-03-19 | 阿里巴巴集团控股有限公司 | A kind of method and device for realizing address conversion |
| CN109495596B (en) * | 2017-09-13 | 2022-04-05 | 阿里巴巴集团控股有限公司 | A method and device for implementing address translation |
| CN109788579A (en) * | 2017-11-14 | 2019-05-21 | 电信科学技术研究院 | A kind of method for building up and equipment of PDU session |
| CN110365808A (en) * | 2019-06-28 | 2019-10-22 | 广东省广播电视网络股份有限公司 | A kind of method that Household intelligent gateway realizes more WAN mouthpieces load different business |
| CN113132218A (en) * | 2019-12-31 | 2021-07-16 | 中兴通讯股份有限公司 | Home gateway access method, device, system processor and storage medium |
| CN113132218B (en) * | 2019-12-31 | 2023-10-20 | 中兴通讯股份有限公司 | A home gateway access method, device, system processor and storage medium |
| CN114844733A (en) * | 2021-01-30 | 2022-08-02 | 华为技术有限公司 | Interface management method for access user equipment and access user equipment |
| WO2022160876A1 (en) * | 2021-01-30 | 2022-08-04 | 华为技术有限公司 | Interface management method for accessed user equipment, and accessed user equipment |
| CN117156197A (en) * | 2023-08-23 | 2023-12-01 | 中国电信股份有限公司技术创新中心 | Channel switching method, system, device, communication equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100571199C (en) | 2009-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1859292A (en) | Household gateway and method for ensuring household network service terminal QoS | |
| CN101288318B (en) | Intelligent Switching for Secure and Reliable Voice over IP Private Branch Exchange Services | |
| CN101409685B (en) | Forwarding method and access device based on virtual local area network mapping | |
| CN1170393C (en) | Method and system for realizing IP voice service in private network | |
| CN101188614B (en) | A method, system and device for secure control of the user access | |
| CN101075962A (en) | Method and apparatus for realizing DHCP repeater in two-layer network exchanger | |
| CN101060449A (en) | Ethernet technology switching and forwarding method, system and equipment | |
| CN101686180A (en) | Data transmission method, network node and data transmission system | |
| CN101035008A (en) | Service scheduling method and its network convergence device | |
| CN1277373C (en) | Method for transmitting user position information in network communication system | |
| CN1516409A (en) | A Method for Traversing Media Streams Through Network Address Translators | |
| WO2007124679A1 (en) | Method and system of network communication | |
| Janevski | Internet Technologies for Fixed and Mobile Networks | |
| CN1406026A (en) | Combined address resolving scheme and combined address route device thereof | |
| CN1897589A (en) | Access apparatus, routing equipment and method for supporting IPv6 stateless address configuration in telecommunication network | |
| CN101931584A (en) | Method and system supporting data forwarding between multiple protocol stacks in the same system | |
| CN101184038A (en) | User terminal and its information receiving method and sending method | |
| CN100413291C (en) | Realization method of business differentiation and business service quality control on broadband network | |
| CN100473037C (en) | A Realization Method of Distributed DHCP Relay | |
| CN100450080C (en) | Method and device for converging layer 2 MAC address | |
| CN110636029B (en) | Communication method and communication device | |
| CN1306770C (en) | A method for bearing IP message protocol on ATM network supported by broadband access equipment | |
| CN101742008B (en) | Media stream proxy method, voice exchanger and communication system | |
| CN1835513A (en) | Method for exchanging packets of user data | |
| CN101068211A (en) | Point-to-point flow optimizing method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091216 |