TW201404102A - System and method for dispensing IPv6 prefixes based on home network device and implementing QoS control and traffic division - Google Patents

System and method for dispensing IPv6 prefixes based on home network device and implementing QoS control and traffic division Download PDF

Info

Publication number
TW201404102A
TW201404102A TW101123692A TW101123692A TW201404102A TW 201404102 A TW201404102 A TW 201404102A TW 101123692 A TW101123692 A TW 101123692A TW 101123692 A TW101123692 A TW 101123692A TW 201404102 A TW201404102 A TW 201404102A
Authority
TW
Taiwan
Prior art keywords
ipv6
home network
bits
code
traffic
Prior art date
Application number
TW101123692A
Other languages
Chinese (zh)
Other versions
TWI458317B (en
Inventor
Fang-Yu Ling
Chih-Cheng Tsao
Original Assignee
Chunghwa Telecom Co 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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW101123692A priority Critical patent/TWI458317B/en
Publication of TW201404102A publication Critical patent/TW201404102A/en
Application granted granted Critical
Publication of TWI458317B publication Critical patent/TWI458317B/en

Links

Abstract

The present invention provides a system and method for dispensing the prefixes of IPv6 (Internet Protocol version 6) based on different home network devices and implementing the QoS (Quality of Service) control and the traffic division, which employs the IPv6 Router Solicitation (RS) and the Router Advertisement (RA) to dispense the prefixes of IPv6 in a stateless manner. Because the RS/RA has a mechanism of expanded option, the present invention adds an option of device type, so that different homework devices can transmit the RS with the device type option to the home gateway based on the belonged device category, which will dispense different IPv6 prefixes to different types of home network devices based on the received RS in a RA manner, and attach with different traffic types on the header according to different IPv6 prefixes. After receiving packets, the router at ISP (Internet Service Provider) control center can implement the automatic QoS control and the traffic division based on different traffic types.

Description

根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法 System and method for distributing IPv6 first code according to home network equipment and doing QoS control and traffic offloading

本發明係關於一種QoS控管及訊務分流的系統與方法,尤其是關於一種根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法 The present invention relates to a system and method for QoS control and traffic offloading, and more particularly to a system and method for distributing IPv6 first code according to a home network device and performing QoS control and traffic offloading.

隨著網路逐漸普及,能夠連上網路的家用設備日益增多,IPv4(Internet Protocol version 4,網際網路通訊協定第4版)位址已不敷使用。在家用閘道器後端的家用網路設備,目前皆使用私有的網路位址(Private IP Address),這會造成使用者想要從其它地方,如辦公室,連入家用網路設備時,必需經由軟體的特殊設計,才可順利連接。IPv6具有足夠的位址空間(Address space),可以讓所有網路設備擁有唯一的公開位址(Public Address)。 With the increasing popularity of the Internet, the number of home devices that can be connected to the Internet is increasing, and the IPv4 (Internet Protocol version 4, Internet Protocol version 4) address is no longer available. Home network devices at the back end of home gateways currently use a private IP address, which causes users to connect to other homes, such as offices, when connecting to home network devices. The special design of the software can be connected smoothly. IPv6 has enough address space to allow all network devices to have a unique Public Address.

家用網路設備亦趨多樣化,以提供語音服務的家用網路設備為例,其語音訊務在語音方面,對於延遲(delay)非常的敏感。目前家用閘道器配發IPv6位址給後端的家用網路設備,無法區分不同的家用網路設備,因此並無特定的配發規則。ISP路由器在收到家用閘道器轉送過來的封包時,無法判斷發送該封包的設備種類,自然也無法將訊務分類並提供QoS控管。 Home network devices are also becoming more diverse. For example, home network devices that provide voice services, voice traffic is very sensitive to delay in terms of voice. At present, the home gateway distributes the IPv6 address to the home network device at the back end, and cannot distinguish between different home network devices, so there is no specific distribution rule. When the ISP router receives the packet forwarded by the home gateway, it cannot determine the type of device that sent the packet, and naturally cannot classify the traffic and provide QoS control.

由此可見,上述習用方式仍有諸多缺失,實非一良善之設計,而亟待加以改良。 It can be seen that there are still many shortcomings in the above-mentioned methods of use, which is not a good design, but needs to be improved.

本案發明人鑑於上述習用方式所衍生的各項缺點,乃亟思加以改良創新,並經多年苦心孤詣潛心研究後,終於成功研發完成本件一種根據家用 網路設備分發IPv6首碼並做QoS控管及訊務分流的方法。 In view of the shortcomings derived from the above-mentioned conventional methods, the inventor of the present invention has improved and innovated, and after years of painstaking research, he finally succeeded in researching and developing this piece according to the household. The network device distributes the IPv6 first code and performs QoS control and traffic offloading.

本發明的目的即在於針對現有的IPv6無狀態式(Stateless)配發IPv6首碼(Prefix)的方式,新增一Option-Device Type Option。利用這一新的首碼,來區分不同的家用網路設備,進而可根據不同的訊務類別做自動的QoS控管及訊務分流。 The purpose of the present invention is to add an Option-Device Type Option to the existing IPv6 stateless allocating IPv6 prefix (Prefix). This new first code is used to distinguish different home network devices, so that automatic QoS control and traffic offloading can be performed according to different traffic categories.

達成上述發明目的之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法,係利用IPv6 RS/RA具有擴充Option的機制,新增一Option-Device Type Option,配與不同的家用網路設備不同的编號。不同的家用網路設備,依據所屬的設備分類,發送帶有Device Type Option的RS給家用閘道器,家用閘道器再根據所收到的RS,以RA的方式,分發不同的IPv6首碼給不同種類的家用網路設備。家用閘道器再根據不同的IPv6首碼,在IPv6表頭貼上不同的訊務類別。ISP控制中心的路由器,收到封包後,根據不同的訊務類別做自動的QoS控管及訊務分流。 The system and method for distributing the IPv6 first code and performing QoS control and traffic offloading according to the home network device, which uses the IPv6 RS/RA to extend the Option mechanism, and add an Option-Device Type Option. A different number than a different home network device. Different home network devices send an RS with a Device Type Option to the home gateway according to the device classification, and the home gateway distributes different IPv6 first codes according to the received RS. Give different kinds of home network equipment. The home gateway then attaches different traffic categories to the IPv6 header according to different IPv6 first codes. After receiving the packet, the router of the ISP control center performs automatic QoS control and traffic offload according to different traffic categories.

綜上所述,本發明歸納如下:一種根據家用網路設備分發網際網路通訊協定第6版(Internet Protocol version 6,IPv6)首碼(Prefix)並做頻寬管理器(Quality of Service,QoS)控管及訊務分流的系統,包括:複數個家用網路設備,係發送帶有裝置類型選項(Device Type Option)的路由器請求(Router Solicitation,RS)訊息;一家用閘道器,係透過區域網路(Local Area Network,LAN)網路與該複數個家用網路設備相連,以接收該複數個家用網路設備所發送帶有Device Type Option之RS訊息,並回覆相對應且帶有Device Type Option及首碼訊息選項(Prefix Information Option)之路由器 宣告消息(Router Advertisement,RA)訊息,並透過LAN網路傳送長度為64位元之IPv6首碼至該複數個家用網路設備,該複數個家用網路設備接收該IPv6首碼後,利用該IPv6首碼以及該複數個家用網路設備本身所具有之網路卡ID組成公開之IPv6位址,並在轉送該複數個家用網路設備封包時,根據該封包之該IPv6位址來判斷該複數個家用網路設備之種類,在IPv6表頭加上一訊務類別後再轉送至一ISP路由器;以及該ISP路由器,係透過廣域網路(Wide Area Network,WAN)與該家用閘道器(Home Gateway)相連,並提供QoS控管及訊務分流。 In summary, the present invention is summarized as follows: a network protocol (Internet Protocol version 6, IPv6) first code (Prefix) is distributed according to a home network device and a quality of service (QoS) is performed. A system for controlling traffic and traffic diversion, including: a plurality of home network devices, which send a Router Solicitation (RS) message with a Device Type Option; a gateway device that transmits A local area network (LAN) network is connected to the plurality of home network devices to receive the RS message with the Device Type Option sent by the plurality of home network devices, and the corresponding response has a Device Type Option and Prefix Information Option router Declaring a message (Router Advertisement, RA) message, and transmitting a 64-bit IPv6 first code to the plurality of home network devices through the LAN network, and the plurality of home network devices receive the IPv6 first code and then use the The IPv6 first code and the network card ID of the plurality of home network devices themselves constitute a public IPv6 address, and when forwarding the plurality of home network device packets, determining the IPv6 address according to the packet A plurality of types of home network devices are forwarded to an ISP router after adding a traffic category to the IPv6 header; and the ISP router communicates with the home gateway through a Wide Area Network (WAN) ( Home Gateway is connected and provides QoS control and traffic offloading.

在本發明中,其中之Device Type Option為IPv6 RA/RS擴充選項(Option),總長度為64個位元,包括:Type(類型)欄位,長度為8個位元,數值為10;Length(長度)欄位,長度為8個位元,數值為8;以及Device ID(裝置編號)欄位,長度為48個位元,其數值係為0至15,且僅使用最右邊第1個到第4個位元,其餘第5個到第48個位元皆設為0。 In the present invention, the Device Type Option is an IPv6 RA/RS extension option (Option), and the total length is 64 bits, including: Type field, the length is 8 bits, and the value is 10; Length (length) field, length is 8 bits, the value is 8; and Device ID field, the length is 48 bits, the value is 0 to 15, and only the rightmost 1st To the 4th bit, the remaining 5th to 48th bits are set to 0.

在本發明中,其中該Device ID之數值表示該複數個家用網路設備之分類,故不同之該複數個家用網路設備係分別使用不同之該Device ID。 In the present invention, wherein the value of the Device ID indicates the classification of the plurality of home network devices, the plurality of home network devices are differently different from the Device ID.

一種根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流之方法,包括以下步驟:一家用閘道器透過動態主機組態協定(Dynamic Host Configuration Protocol,DHCP)協定向網際網路服務提供者(Internet Service Provider,ISP)之DHCP伺服器取得60位元之IPv6首碼;複數個家用網路設備發送帶有Device Type Option的RS訊息至該家用閘道器;該家用閘道器收到該RS訊息後,回覆相對應且帶有Device Type Option及Prefix Information Option的RA訊息,藉此配發64位元之該IPv6首碼至該複數個 家用網路設備;該複數個家用網路設備將所接收到之64位元之該IPv6首碼搭配該複數個家用網路設備本身所具有之64位元之網路卡ID,以組成128位元之公開IPv6位址,並以該IPv6位址來發送封包;該家用閘道器在轉送該封包時,根據該封包之IPv6位址的第61位元至第64位元來判斷該負複數個家用網路設備之類型,並在IPv6表頭加上訊務類別之數值;以及一ISP路由器接收到由該家用閘道器轉送之該封包時,根據該封包之該IPv6表頭之訊務類別欄位之數值自動進行QoS控管及訊務分流。 A method for distributing IPv6 first code and performing QoS control and traffic offloading according to a home network device, including the following steps: a gateway uses a Dynamic Host Configuration Protocol (DHCP) protocol to connect to the Internet The DHCP server of the Internet Service Provider (ISP) obtains a 60-bit IPv6 first code; a plurality of home network devices send an RS message with a Device Type Option to the home gateway; the home gateway After receiving the RS message, replying to the corresponding RA message with the Device Type Option and the Prefix Information Option, thereby allocating the 64-bit IPv6 first code to the plurality of a home network device; the plurality of home network devices match the 64-bit IPv6 first code received by the 64-bit network card ID of the plurality of home network devices to form a 128-bit network The public IPv6 address is transmitted, and the packet is sent by the IPv6 address; when the home gateway forwards the packet, the negative complex number is determined according to the 61st to 64th bits of the IPv6 address of the packet. The type of home network device, and the value of the traffic class in the IPv6 header; and when the ISP router receives the packet forwarded by the home gateway, the IPv6 header according to the packet The value of the category field automatically performs QoS control and traffic offloading.

在本發明中,其中之Device Type Option為IPv6 RA/RS擴充Option,總長度為64個位元,包括:Type之欄位,長度為8個位元,數值為10;Length之欄位,長度為8個位元,數值為8;以及Device ID之欄位,長度為48個位元,其數值係為0至15,且僅使用最右邊第1個到第4個位元,其餘第5個到第48個位元皆設為0。 In the present invention, the Device Type Option is an IPv6 RA/RS extended Option, and the total length is 64 bits, including: a Type field, a length of 8 bits, a value of 10; a Length field, a length It is 8 bits, the value is 8; and the field of Device ID, the length is 48 bits, the value is 0 to 15, and only the rightmost 1st to 4th bits are used, and the remaining 5th The 48th bit is set to 0.

在本發明中,其中該家用閘道器配置長度為64位元之該IPv6首碼的方法為該ISP端取得之該IPv6首碼(60個位元)加上該Device ID(4個位元)。 In the present invention, the method in which the home gateway is configured with a length of 64 bits of the IPv6 first code is the IPv6 first code (60 bits) obtained by the ISP terminal plus the Device ID (4 bits) ).

在本發明中,其中該IPv6表頭訊務類別之數值等於該Device ID之數值。 In the present invention, the value of the IPv6 header traffic class is equal to the value of the Device ID.

在本發明中,其中該ISP路由器之路由表格新增一訊務類別欄位,以判斷路由之條件。 In the present invention, the routing table of the ISP router adds a traffic category field to determine the routing condition.

本發明所提出的一種根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法,與其他習用技術相互比較時,更具備下列優點: The system and method for distributing IPv6 first code according to the home network device and performing QoS control and traffic offloading according to the present invention have the following advantages when compared with other conventional technologies:

1.本發明利用IPv6 RS/RA配發IPv6首碼(Prefix)的方法,新增 加一Device Type Option。以此Option可將家用網路設備做類別的區分。RS/RA封包的發送範圍僅限於家用閘道器的後端網路(即LAN端),在不會增加整體網際網路的流量的前提條件下,用IPv6首碼將家用網路設備做分類。 1. The method for allocating IPv6 first code (Prefix) by using IPv6 RS/RA, newly added Add a Device Type Option. This option can be used to distinguish between home network devices. The transmission range of the RS/RA packet is limited to the back-end network (ie, the LAN side) of the home gateway, and the home network equipment is classified by the IPv6 first code without increasing the traffic of the entire Internet. .

2.本發明利用訊務類別欄位,將發送至WAN(Wide Area Network,廣域網路)端的封包,貼上分類的標籤。ISP路由器根據該標籤,做訊務的分流及QoS控管。 2. The present invention uses the traffic category field to paste the packets sent to the WAN (Wide Area Network) end with the classified tags. According to the label, the ISP router performs traffic shunting and QoS control.

上列詳細說明乃針對本發明之一可行實施例進行具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The detailed description of the present invention is intended to be illustrative of a preferred embodiment of the invention, and is not intended to limit the scope of the invention. The patent scope of this case.

綜上所述,本案不僅於技術思想上確屬創新,並具備習用之傳統方法所不及之上述多項功效,已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。 To sum up, this case is not only innovative in terms of technical thinking, but also has many of the above-mentioned functions that are not in the traditional methods of the past. It has fully complied with the statutory invention patent requirements of novelty and progressiveness, and applied for it according to law. Approved this invention patent application, in order to invent invention, to the sense of virtue.

為了使本發明的目的、技術方案及優點更加清楚明白,下面結合附圖及實施例,對本發明進行進一步詳細說明。應當理解,此處所描述的具體實施例僅用以解釋本發明,但並不用於限定本發明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

以下,結合附圖對本發明進一步說明:請參閱圖1,係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之系統架構圖。家用網路設備101連接到家用閘道器103的LAN網路102。家用閘道器103經由WAN網路104與ISP 路由器105相連並透過DHCP(Dynamic Host Configuration Protocol,動態主機組態協定)協定向DHCP伺服器取得IPv6首碼,首碼長度範圍為48位元(bit)至60位元。首碼的長度可由使用者向ISP申請或由ISP決定。家用閘道器103會依後端有幾個LAN(Local Area Network,區域網路)網路102,自動產生中段首碼。家用網路設備101發送RS給家用閘道器103。RS必需帶有Device Type Option。Device Type Option總長度為64位元,其中Type欄位值為10,長度為8個位元,Length欄位值為8,長度為8個位元,Device ID的编號請參閱圖2所示,其值為0至15,Device ID長度為48位元,只使用最右邊第1個到第4個位元,其餘第5個到第48個位元皆需設為0。RS的訊息格式請參閱附件之附表1所示。以網路攝影機為例,送出的RS需帶有Device Type Option,且Device ID需為2。家用閘道器103收到RS後,根據Device ID回覆相對應且帶有Device Type Option及Prefix Information Option的RA。RA的訊息格式請參閱附件之附表2所示。根據RFC 6204的定義,家用閘道器103必需配發首碼長度為64位元的首碼給後端的家用網路設備101,因此家用閘道器103使用第61位元到第64位元來區分不同家用網路設備101的首碼,示意圖如圖3所示。首碼的編碼方式,公式為:從ISP端取得的首碼(60個位元)+Device ID(4個位元) The present invention will be further described with reference to the accompanying drawings. Referring to FIG. 1, it is a system architecture diagram of a system and method for distributing IPv6 first code and performing QoS control and traffic offload according to the home network device of the present invention. The home network device 101 is connected to the LAN network 102 of the home gateway 103. The home gateway 103 is connected to the ISP router 105 via the WAN network 104 and obtains the IPv6 first code from the DHCP server through the DHCP (Dynamic Host Configuration Protocol) protocol. The first code length ranges from 48 bits (bit). ) to 60 bits. The length of the first code can be requested by the user to the ISP or determined by the ISP. The home gateway 103 will automatically generate a mid-range first code according to several LAN (Local Area Network) networks 102 at the back end. The home network device 101 transmits an RS to the home gateway 103. The RS must have a Device Type Option. The total length of the Device Type Option is 64 bits, where the Type field value is 10, the length is 8 bits, the Length field value is 8, and the length is 8 bits. For the device ID number, see Figure 2. The value is 0 to 15, the Device ID is 48 bits long, only the rightmost 1st to 4th bits are used, and the remaining 5th to 48th bits are all set to 0. The message format of RS is shown in the attached table 1 of the attached file. Take the network camera as an example. The RS sent must have a Device Type Option and the Device ID must be 2. After receiving the RS, the home gateway 103 responds to the corresponding RA with the Device Type Option and the Prefix Information Option according to the Device ID. Please refer to Appendix 2 of the attached message format for the RA. According to the definition of RFC 6204, the home gateway 103 must allocate a first code having a first code length of 64 bits to the home network device 101 at the back end, so the home gateway 103 uses the 61st to 64th bits. The first code of the different home network devices 101 is distinguished, as shown in FIG. The encoding method of the first code, the formula is: the first code (60 bits) obtained from the ISP end + Device ID (4 bits)

其中從ISP端取得的首碼長度為60個位元,Device ID為4個位元。家用閘道器103根據上列公式自動產生長度為64位元的首碼,以RA的方式配發給相對應的家用網路設備101,家用網路設備101再搭配自己的64位元網路卡ID組成128位元的公開IPv6位址,如圖3所示。以網路攝影機 為例,當家用閘道器103從ISP路由器105取得的首碼為3ffe:501:ffff:1110::/60,家用閘道器103配發給網路攝影機的首碼為3ffe:501:ffff:1112::/64。 The first code obtained from the ISP side is 60 bits long, and the Device ID is 4 bits. The home gateway 103 automatically generates a first code of length 64 bits according to the above formula, and distributes it to the corresponding home network device 101 in RA mode, and the home network device 101 is matched with its own 64-bit network. The card ID constitutes a 128-bit public IPv6 address, as shown in FIG. Webcam For example, when the first code obtained by the home gateway 103 from the ISP router 105 is 3ffe:501:ffff:1110::/60, the first code assigned by the home gateway 103 to the network camera is 3ffe:501:ffff. :1112::/64.

家用網路設備101的封包,藉由家用閘道器103轉送至ISP路由器105,因家用網路設備101皆擁有公開且唯一IPv6的網路位址,經過家用閘道器103時,不需再經過NAT的轉換。家用閘道器103在轉送封包的同時,根據封包的來源位址(source address)的第61bit至第64bit來判斷該封包是由哪種家用網路設備所發送的,並IPv6表頭加上訊務類別之數值。訊務類別值需等於Device ID的值,請參閱圖2。 The packet of the home network device 101 is forwarded to the ISP router 105 by the home gateway 103. Since the home network device 101 has a public and unique IPv6 network address, it does not need to pass through the home gateway 103. After NAT conversion. The home gateway 103 determines the type of home network device that the packet is sent according to the 61st to 64th bits of the source address of the packet, and adds the IPv6 header to the message. The value of the category. The traffic class value needs to be equal to the value of Device ID, see Figure 2.

ISP的網路管理人,依據本身網路管理及設計的需求,在路由器端建置一路由表格。路由表格需包含訊務類別、路由器介面ID及優先權。訊務類別值為1時,有最高的優先權。當ISP路由器105收到由家用閘道器103轉送的封包時,先檢視該封包的訊務類別欄位。以網路電話為例,當ISP路由器105檢視訊務類別值為1時,即判斷該封包為網路電話所發送,網路電話傳送的封包為語音封包,對延遲具有高敏感度。因此,此類的封包具有高優先權,需被優先傳送。以網路電視為例,當ISP路由器105檢視訊務類別值為3時,即判斷該封包為網路電視所發送,需被傳送至專屬網路107。ISP路由器105藉由訊務類別欄位做QoS控管及訊務分流。 The ISP's network administrator builds a routing table on the router side based on its own network management and design requirements. The routing table must contain the traffic class, router interface ID, and priority. When the traffic class value is 1, it has the highest priority. When the ISP router 105 receives the packet forwarded by the home gateway 103, it first checks the traffic category field of the packet. Taking the Internet phone as an example, when the ISP router 105 checks that the traffic class value is 1, it determines that the packet is sent by the network phone, and the packet transmitted by the network phone is a voice packet, which has high sensitivity to delay. Therefore, such packets have a high priority and need to be transmitted preferentially. Taking the Internet TV as an example, when the ISP router 105 checks that the traffic class value is 3, it is determined that the packet is sent by the network television and needs to be transmitted to the dedicated network 107. The ISP router 105 performs QoS control and traffic offloading through the traffic category field.

請參閱圖4,係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之路由表格的範例。如圖所示,以ISP路由器105有三個網路介面為例,介面ID 2連接至WAN端104,介面ID 0連接至Internet 106,介面ID 1連接到IP TV專屬網路107。優先權最高,數 字愈高,優先權愈低,數字愈低。訊務類別值為1,優先權值為10。訊務類別值為3,該封包會被轉送至專屬網路107。 Please refer to FIG. 4, which is an example of a routing table of a system and method for distributing IPv6 first code and performing QoS control and traffic offloading according to the home network device of the present invention. As shown in the figure, the ISP router 105 has three network interfaces as an example. The interface ID 2 is connected to the WAN terminal 104, the interface ID 0 is connected to the Internet 106, and the interface ID 1 is connected to the IP TV dedicated network 107. Highest priority, number The higher the word, the lower the priority and the lower the number. The traffic class value is 1 and the priority value is 10. The traffic class value is 3 and the packet is forwarded to the dedicated network 107.

以上該僅為本發明之較佳實施例,並非用來限定本發明之實施範圍;如果不脫離本發明之精神和範圍,對本發明進行修改或者等同替換,均應涵蓋在本發明申請專利範圍的保護範圍當中。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; the modifications and equivalents of the present invention are intended to be included in the scope of the present invention without departing from the spirit and scope of the invention. Within the scope of protection.

101‧‧‧家用網路設備 101‧‧‧Home network equipment

102‧‧‧LAN網路 102‧‧‧LAN network

103‧‧‧家用閘道器 103‧‧‧Home Gateway

104‧‧‧WAN網路 104‧‧‧WAN network

105‧‧‧ISP路由器 105‧‧‧ISP router

106‧‧‧網際網路 106‧‧‧Internet

107‧‧‧專屬網路 107‧‧‧Exclusive network

圖1係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之系統架構圖;圖2係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之Device ID的编號;圖3係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之家用網路設備的IPv6位址組成方式,其中使用第61至第64位元用來區分不同家用網路設備;以及圖4係為本發明之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統與方法之路由表格之範例。 1 is a system architecture diagram of a system and method for distributing IPv6 first code according to the present invention and performing QoS control and traffic offloading according to the present invention; FIG. 2 is a distribution of IPv6 first code according to the present invention according to the present invention. And the number of the Device ID of the system and method for QoS control and traffic offloading; FIG. 3 is a system and method for distributing IPv6 first code according to the home network device and doing QoS control and traffic offloading according to the present invention. The IPv6 address composition method of the home network device, wherein the 61st to 64th bits are used to distinguish different home network devices; and FIG. 4 is the distribution of the IPv6 first code and QoS control according to the home network device of the present invention. An example of a routing table for systems and methods for pipe and traffic diversion.

101‧‧‧家用網路設備 101‧‧‧Home network equipment

102‧‧‧LAN網路 102‧‧‧LAN network

103‧‧‧家用閘道器 103‧‧‧Home Gateway

104‧‧‧WAN網路 104‧‧‧WAN network

105‧‧‧ISP路由器 105‧‧‧ISP router

106‧‧‧網際網路 106‧‧‧Internet

107‧‧‧專屬網路 107‧‧‧Exclusive network

Claims (8)

一種根據家用網路設備分發網際網路通訊協定第6版(Internet Protocol version 6,IPv6)首碼(Prefix)並做頻寬管理器(Quality of Service,QoS)控管及訊務分流的系統,包括:複數個家用網路設備,係發送帶有裝置類型選項(Device Type Option)的路由器請求(Router Solicitation,RS)訊息;一家用閘道器,係透過區域網路(Local Area Network,LAN)網路與該複數個家用網路設備相連,以接收該複數個家用網路設備所發送帶有Device Type Option之RS訊息,並回覆相對應且帶有Device Type Option及首碼訊息選項(Prefix Information Option)之路由器宣告消息(Router Advertisement,RA)訊息,並透過LAN網路傳送長度為64位元之IPv6首碼至該複數個家用網路設備,該複數個家用網路設備接收該IPv6首碼後,利用該IPv6首碼以及該複數個家用網路設備本身所具有之網路卡ID組成公開之IPv6位址,並在轉送該複數個家用網路設備封包時,根據該封包之該IPv6位址來判斷該複數個家用網路設備之種類,在IPv6表頭加上一訊務類別後再轉送至一ISP路由器;以及該ISP路由器,係透過廣域網路(Wide Area Network,WAN)與該家用閘道器(Home Gateway)相連,並提供QoS控管及訊務分流。 A system for distributing Internet Protocol version 6, IPv6 first code (Prefix) according to a home network device, and performing bandwidth of service (QoS) control and traffic offloading, Including: a plurality of home network devices, which send Router Solicitation (RS) messages with Device Type Option; a gateway device that uses a Local Area Network (LAN) The network is connected to the plurality of home network devices to receive the RS message with the Device Type Option sent by the plurality of home network devices, and replies with a corresponding Device Type Option and a first code message option (Prefix Information) Option) Router Advertisement (RA) message, and transmitting a 64-bit IPv6 first code to the plurality of home network devices through the LAN network, the plurality of home network devices receiving the IPv6 first code And using the IPv6 first code and the network card ID of the plurality of home network devices to form a public IPv6 address, and when forwarding the plurality of home network device packets, Determining the type of the plurality of home network devices according to the IPv6 address of the packet, adding a traffic class to the IPv6 header, and then forwarding the packet to an ISP router; and the ISP router is through the wide area network (Wide Area) The Network, WAN) is connected to the Home Gateway and provides QoS control and traffic offloading. 如申請專利範圍第1項所述之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統,其中之Device Type Option為IPv6 RA/RS擴充選項(Option),總長度為64個位元,包括: a. Type(類型)欄位,長度為8個位元,數值為10;b. Length(長度)欄位,長度為8個位元,數值為8;以及c. Device ID(裝置編號)欄位,長度為48個位元,其數值係為0至15,且僅使用最右邊第1個到第4個位元,其餘第5個到第48個位元皆設為0。 For example, in the system of claim 1, the system for distributing IPv6 first code according to the home network device and performing QoS control and traffic offloading, wherein the Device Type Option is an IPv6 RA/RS extension option (Option), the total length is 64 bits, including: a. Type field, length 8 bits, value 10; b. Length field, length 8 bits, value 8; and c. Device ID column The bit has a length of 48 bits and its value is 0 to 15, and only the rightmost 1st to 4th bits are used, and the remaining 5th to 48th bits are set to 0. 如申請專利範圍第2項所述之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流的系統,其中該Device ID之數值表示該複數個家用網路設備之分類,故不同之該複數個家用網路設備係分別使用不同之該Device ID。 For example, in the system of claim 2, the system distributes the IPv6 first code according to the home network device and performs QoS control and traffic offloading, wherein the value of the Device ID indicates the classification of the plurality of home network devices, so different The plurality of home network devices respectively use different Device IDs. 一種根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流之方法,包括以下步驟:a.一家用閘道器透過動態主機組態協定(Dynamic Host Configuration Protocol,DHCP)協定向網際網路服務提供者(Internet Service Provider,ISP)之DHCP伺服器取得60位元之IPv6首碼;b.複數個家用網路設備發送帶有Device Type Option的RS訊息至該家用閘道器;c.該家用閘道器收到該RS訊息後,回覆相對應且帶有Device Type Option及Prefix Information Option的RA訊息,藉此配發64位元之該IPv6首碼至該複數個家用網路設備;d.該複數個家用網路設備將所接收到之64位元之該IPv6首碼搭配該複數個家用網路設備本身所具有之64位元之網路卡ID,以組成128位元之公開IPv6位址,並以該IPv6位址來發送封包; e.該家用閘道器在轉送該封包時,根據該封包之IPv6位址的第61位元至第64位元來判斷該負複數個家用網路設備之類型,並在IPv6表頭加上訊務類別之數值;以及f.一ISP路由器接收到由該家用閘道器轉送之該封包時,根據該封包之該IPv6表頭之訊務類別欄位之數值自動進行QoS控管及訊務分流。 A method for distributing IPv6 first code according to a home network device and performing QoS control and traffic offloading includes the following steps: a. Using a gateway to communicate with the Internet through a Dynamic Host Configuration Protocol (DHCP) protocol The DHCP server of the Internet Service Provider (ISP) obtains the IPv6 first code of 60 bits; b. the plurality of home network devices send the RS message with the Device Type Option to the home gateway; c After receiving the RS message, the home gateway replies with an RA message corresponding to the Device Type Option and the Prefix Information Option, thereby allocating the 64-bit IPv6 first code to the plurality of home network devices. ; d. The plurality of home network devices match the received IPv6 first code of 64 bits with the 64-bit network card ID of the plurality of home network devices to form a 128-bit network Exposing an IPv6 address and transmitting the packet with the IPv6 address; e. When the home gateway forwards the packet, the type of the negative plurality of home network devices is determined according to the 61st to 64th bits of the IPv6 address of the packet, and is added to the IPv6 header. The value of the traffic class; and f. When the ISP router receives the packet forwarded by the home gateway, the QoS control and the traffic are automatically performed according to the value of the traffic class field of the IPv6 header of the packet. Diversion. 如申請專利範圍第4項所述之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流之方法,其中之Device Type Option為IPv6 RA/RS擴充Option,總長度為64個位元,包括:a. Type之欄位,長度為8個位元,數值為10;b. Length之欄位,長度為8個位元,數值為8;以及c. Device ID之欄位,長度為48個位元,其數值係為0至15,且僅使用最右邊第1個到第4個位元,其餘第5個到第48個位元皆設為0。 For example, in the method of claim 4, the method for distributing IPv6 first code according to the home network device and performing QoS control and traffic offloading, wherein the Device Type Option is an IPv6 RA/RS extended Option, and the total length is 64 bits. Yuan, including: a. Type field, length is 8 bits, the value is 10; b. Length field, length is 8 bits, the value is 8; and c. Device ID field, length It is 48 bits, its value is 0 to 15, and only the rightmost 1st to 4th bits are used, and the remaining 5th to 48th bits are set to 0. 如申請專利範圍第5項所述之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流之方法,其中該家用閘道器配置長度為64位元之該IPv6首碼的方法為該ISP端取得之該IPv6首碼(60個位元)加上該Device ID(4個位元)。 The method for distributing an IPv6 first code according to a household network device according to claim 5, and performing QoS control and traffic offloading, wherein the home gateway is configured with a 64-bit length of the IPv6 first code method. Add the Device ID (4 bits) to the IPv6 first code (60 bits) obtained by the ISP. 如申請專利範圍第4項所述之根據家用網路設備分發IPv6首碼並做QoS控管及訊務分流之方法,其中該IPv6表頭訊務類別之數值等於該Device ID之數值。 For example, in the method of claim 4, the method for distributing the IPv6 first code according to the home network device and performing QoS control and traffic offloading, wherein the value of the IPv6 header traffic category is equal to the value of the Device ID. 如申請專利範圍第4項所述之根據家用網路設備分發IPv6首碼並做QoS 控管及訊務分流之方法,其中該ISP路由器之路由表格新增一訊務類別欄位,以判斷路由之條件。 Distribute IPv6 first code and QoS according to home network equipment as described in item 4 of the patent application scope. A method of controlling traffic and traffic shunting, wherein a routing class of the ISP router adds a traffic category field to determine the routing condition.
TW101123692A 2012-07-02 2012-07-02 According to the home network equipment distribution IPv6 first code and do QoS control and traffic shunt system and methods TWI458317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101123692A TWI458317B (en) 2012-07-02 2012-07-02 According to the home network equipment distribution IPv6 first code and do QoS control and traffic shunt system and methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101123692A TWI458317B (en) 2012-07-02 2012-07-02 According to the home network equipment distribution IPv6 first code and do QoS control and traffic shunt system and methods

Publications (2)

Publication Number Publication Date
TW201404102A true TW201404102A (en) 2014-01-16
TWI458317B TWI458317B (en) 2014-10-21

Family

ID=50345720

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101123692A TWI458317B (en) 2012-07-02 2012-07-02 According to the home network equipment distribution IPv6 first code and do QoS control and traffic shunt system and methods

Country Status (1)

Country Link
TW (1) TWI458317B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015192572A1 (en) * 2014-06-20 2015-12-23 中兴通讯股份有限公司 Method, apparatus and system for configuring quality of service (qos) parameters
CN112449752A (en) * 2018-12-26 2021-03-05 华为技术有限公司 IPv6 address configuration method and routing equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR0117075A (en) * 2001-07-10 2004-08-17 Siemens Ag Process for performing an qos-oriented handoff between a first and a second ip-based mobile communication path, mainly ipv6-based, between a mobile node (mn) and a corresponding node (cn)
US7907559B2 (en) * 2003-12-22 2011-03-15 Telefonaktiebolaget Lm Ericsson (Publ) System and method for multi-access
KR100819055B1 (en) * 2006-12-08 2008-04-02 한국전자통신연구원 Method for l3 handover path setting to provide flow-based qos in mobile ipv6 network
EP3041195A1 (en) * 2007-01-12 2016-07-06 University-Industry Cooperation Group Of Kyung Hee University Packet format of network abstraction layer unit, and algorithm and apparatus for video encoding and decoding using the format
TW201038009A (en) * 2009-04-14 2010-10-16 Chunghwa Telecom Co Ltd Real-time traffic measurement system of IP network centralized network management and distributed nodes

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015192572A1 (en) * 2014-06-20 2015-12-23 中兴通讯股份有限公司 Method, apparatus and system for configuring quality of service (qos) parameters
CN112449752A (en) * 2018-12-26 2021-03-05 华为技术有限公司 IPv6 address configuration method and routing equipment

Also Published As

Publication number Publication date
TWI458317B (en) 2014-10-21

Similar Documents

Publication Publication Date Title
EP2154821B1 (en) Method and apparatus for sending and receiving multicast packets
EP2364543B1 (en) Broadband network access
JP5368459B2 (en) Support for triple operation services in user equipment
US20090285215A1 (en) Internet Protocol Version Six (IPv6) Addressing and Packet Filtering in Broadband Networks
JP5987122B2 (en) Network address translated device identification for device specific traffic flow steering
WO2012171169A1 (en) Communications method and load balancer
US20180192433A1 (en) Data transmission method, related device, and system
US8724630B2 (en) Method and system for implementing network intercommunication
CN101984636A (en) Prefix distribution method, device and system
US20070255793A1 (en) Method for providing service between heterogeneous networks
WO2011144152A1 (en) Method for providing information, home gateway and home network system
WO2013086966A1 (en) Layer 2 inter-connecting method, apparatus and system based on ipv6
KR100872776B1 (en) Method for Controlling Downstream Traffic Flow in Cable Network Headend
EP2621131B1 (en) Methods and apparatuses for implementing route aggregation
CN102340548B (en) A kind of control method of IPv6 user's access and device
TWI532353B (en) Method for establishing connection of community virtual network and network communication system thereof
TWI458317B (en) According to the home network equipment distribution IPv6 first code and do QoS control and traffic shunt system and methods
US20060193320A1 (en) Data transmission method having improved network address translation method in home gateway and a system thereof
CN104753779B (en) A kind of implementation method of cloud group virtual flow-line system
WO2014110737A1 (en) Method, device, and system for configuring device in network
US10021589B2 (en) Wireless data system that associates internet protocol ports with quality-of-service for user applications
US8526315B2 (en) Flow state attributes for producing media flow statistics at a network node
KR100929083B1 (en) How to provide heteromanganese services
CN103179043A (en) Method and equipment for forwarding multicast messages
JP5550023B2 (en) Communication amount management method and communication amount management system

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees