CN101753635A - Method and system of collocating IPV6 (internet protocol version 6) addresses - Google Patents
Method and system of collocating IPV6 (internet protocol version 6) addresses Download PDFInfo
- Publication number
- CN101753635A CN101753635A CN200810241624A CN200810241624A CN101753635A CN 101753635 A CN101753635 A CN 101753635A CN 200810241624 A CN200810241624 A CN 200810241624A CN 200810241624 A CN200810241624 A CN 200810241624A CN 101753635 A CN101753635 A CN 101753635A
- Authority
- CN
- China
- Prior art keywords
- subnet prefix
- type information
- traffic type
- terminal
- subnet
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5092—Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/668—Internet protocol [IP] address subnets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开了一种IPV6地址配置方法,其包括:获取由终端发出的路由请求,所述路由请求携带有所述终端的业务类型信息;按照业务类型信息与子网前缀之间的对应关系,为所述终端分配所述路由请求中携带的业务类型信息对应的子网前缀;将所分配到的子网前缀发送给所述终端,以使所述终端能根据所述子网前缀生成IPV6地址。利用本发明实施例的IPV6地址自动配置的方法便于进行业务的管理。本发明实施例还进一步公开了一种IPV6地址配置系统。
The embodiment of the present invention discloses an IPV6 address configuration method, which includes: obtaining a routing request sent by a terminal, the routing request carrying the service type information of the terminal; according to the correspondence between the service type information and the subnet prefix relationship, assigning the subnet prefix corresponding to the service type information carried in the routing request to the terminal; sending the assigned subnet prefix to the terminal, so that the terminal can generate a subnet prefix according to the subnet prefix IPv6 address. The method for automatically configuring the IPV6 address in the embodiment of the present invention facilitates business management. The embodiment of the invention further discloses an IPV6 address configuration system.
Description
技术领域technical field
本发明主要涉及通信技术领域,特别地,涉及一种IPV6地址配置方法和系统,以及一种用于IPV6地址配置系统的终端和路由器。The present invention mainly relates to the technical field of communication, and in particular, relates to an IPV6 address configuration method and system, and a terminal and router used in the IPV6 address configuration system.
背景技术Background technique
IPV6(Internet Protocol Version 6)是用于替代现行版本IP协议IPV4的下一代IP协议,用来解决IP地址资源短缺等问题。IPV6有三种地址类型,分别是单播地址、组播地址和任播地址。其中,IPV6单播地址分成两个部分:子网前缀(Subnet Prefix)和接口标识符(Interface ID)。IPV6 (Internet Protocol Version 6) is a next-generation IP protocol used to replace the current version of IP protocol IPV4, and is used to solve problems such as shortage of IP address resources. IPv6 has three address types, namely unicast address, multicast address and anycast address. Among them, the IPv6 unicast address is divided into two parts: subnet prefix (Subnet Prefix) and interface identifier (Interface ID).
通常来说,IPV6地址配置方式有两种,一是有状态地址配置方式DHCPv6(Dynamic Host Configuration Protocol Version 6),二是无状态地址配置方式,称为SLAAC(Stateless Address Auto Configuration)。Generally speaking, there are two IPV6 address configuration methods, one is the stateful address configuration method DHCPv6 (Dynamic Host Configuration Protocol Version 6), and the other is the stateless address configuration method, which is called SLAAC (Stateless Address Auto Configuration).
现有技术无状态地址配置方式的流程如下:终端通过链路向路由器发送路由请求(Router Solicitation);路由器根据其所接收的路由请求为该终端配置子网前缀(Subnet Prefix),并将该子网前缀发送到终端;终端进一步根据该子网前缀与本地的接口标识符信息,生成单播地址。The flow of the stateless address configuration method in the prior art is as follows: the terminal sends a routing request (Router Solicitation) to the router through the link; the router configures a subnet prefix (Subnet Prefix) for the terminal according to the routing request it receives, and assigns the subnet The subnet prefix is sent to the terminal; the terminal further generates a unicast address according to the subnet prefix and the local interface identifier information.
实际应用中,用户可能签约多个业务。每一业务通过不同的终端接入网络,且所述不同的终端通过公共链路连接到路由器。现有技术在进行地址配置的过程中,路由器通过公共链路随机地为所述不同的终端分配子网前缀。由于路由器在随机分配子网前缀时并未考虑业务管理的问题,因此,采用现有技术的IPV6无状态地址配置方法不利于进行业务的管理。In practical applications, users may sign up for multiple services. Each service accesses the network through a different terminal, and the different terminals are connected to the router through a public link. In the prior art, during address configuration, the router randomly assigns subnet prefixes to the different terminals through a public link. Since the router does not consider the problem of service management when randomly assigning subnet prefixes, the IPV6 stateless address configuration method in the prior art is not conducive to service management.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供一种IPV6地址配置方法和系统,并进一步提供一种用于IPV6地址配置系统的终端和路由器。In view of the above problems, an embodiment of the present invention provides an IPV6 address configuration method and system, and further provides a terminal and a router used in the IPV6 address configuration system.
本发明实施例提供的IPV6地址配置方法,包括:获取由终端发出的路由请求,所述路由请求携带有所述终端的业务类型信息;按照业务类型信息与子网前缀之间的对应关系,为所述终端分配所述路由请求中携带的业务类型信息对应的子网前缀;将所分配到的子网前缀发送给所述终端,以使所述终端能根据所述子网前缀生成IPV6地址。The IPV6 address configuration method provided by the embodiment of the present invention includes: obtaining a routing request sent by a terminal, the routing request carrying the service type information of the terminal; according to the correspondence between the service type information and the subnet prefix, as follows: The terminal allocates a subnet prefix corresponding to the service type information carried in the routing request; and sends the allocated subnet prefix to the terminal, so that the terminal can generate an IPV6 address according to the subnet prefix.
本发明实施例提供的IPV6地址配置系统,包括:终端,其用于将其业务类型信息附加至路由请求的扩展字段中,将所述携带有业务类型信息的路由请求发出,并根据由路由器分配的子网前缀生成IPV6地址;路由器,其用于接收所述路由请求,从所述路由请求中得到所述业务类型信息,并按照业务类型信息与子网前缀之间的对应关系,为所述终端分配所述业务类型信息对应的子网前缀。The IPV6 address configuration system provided by the embodiment of the present invention includes: a terminal, which is used to add its service type information to the extension field of the routing request, send the routing request carrying the service type information, and assign A subnet prefix generates an IPV6 address; a router is configured to receive the routing request, obtain the service type information from the routing request, and provide the service type information according to the correspondence between the service type information and the subnet prefix for the The terminal allocates the subnet prefix corresponding to the service type information.
本发明实施例提供的路由器,包括业务类型信息解析模块,其用于接收来自终端且携带有所述终端的业务类型信息的路由请求,并对所述路由请求进行解析获取所述业务类型信息;子网前缀分配模块,其用于按照业务类型信息与子网前缀的对应关系,为所述终端分配与所述业务类型信息解析模块所获取的业务类型信息相对应的子网前缀,以使所述终端能根据所分配到的子网前缀生成IPV6地址。The router provided in the embodiment of the present invention includes a service type information parsing module, which is configured to receive a routing request from a terminal carrying service type information of the terminal, and parse the routing request to obtain the service type information; A subnet prefix allocation module, configured to assign the terminal a subnet prefix corresponding to the service type information obtained by the service type information parsing module according to the correspondence between service type information and subnet prefixes, so that all The terminal can generate an IPV6 address according to the assigned subnet prefix.
本发明实施例提供的终端,包括:业务类型信息配置模块,其用于生成所述终端对应的业务类型信息;路由请求发送模块,其用于将所述业务类型信息附加到路由请求的扩展字段中,并将所述携带有业务类型信息的路由请求发出以请求路由器为所述终端分配子网前缀;路由通告接收模块,其用于接收来自路由器的路由通告,其中所述路由通告携带有所述路由器为所述终端分配的子网前缀,且所述子网前缀是所述路由器按照业务类型信息与子网前缀之间对应关系所分配的与所述终端的业务类型信息相对应的子网前缀。The terminal provided by the embodiment of the present invention includes: a service type information configuration module, which is used to generate the service type information corresponding to the terminal; a routing request sending module, which is used to attach the service type information to the extension field of the routing request , and send the routing request carrying the service type information to request the router to assign a subnet prefix to the terminal; the routing notification receiving module is used to receive the routing notification from the router, wherein the routing notification carries all The subnet prefix assigned by the router to the terminal, and the subnet prefix is the subnet corresponding to the service type information of the terminal allocated by the router according to the correspondence between the service type information and the subnet prefix prefix.
本发明实施例所述的IPV6地址配置方法和系统通过在路由请求的扩展字段携带终端的业务类型信息,并进一步根据所述业务类型信息与子网前缀的对应关系来为所述终端分配子网前缀,因而相同业务类型的终端所分配到的地址前缀相互之间符合某种预定关系,比如是相互聚合的,从而方便进行业务统计和数据定向等;并且,在进行路由更新或地址前缀更新时也容易实现针对同一业务类型的终端进行统一更新。因此,采用本发明的地址配置方法和系统便于进行业务的管理。The IPV6 address configuration method and system described in the embodiments of the present invention carry the service type information of the terminal in the extension field of the routing request, and further assign a subnet to the terminal according to the correspondence between the service type information and the subnet prefix Therefore, the address prefixes assigned to terminals of the same service type conform to a certain predetermined relationship with each other, such as being aggregated with each other, so as to facilitate service statistics and data orientation; and, when performing routing updates or address prefix updates It is also easy to implement unified update for terminals of the same service type. Therefore, adopting the address configuration method and system of the present invention is convenient for business management.
附图说明Description of drawings
图1为邻居发现协议所定义的路由请求报文的格式示意图。FIG. 1 is a schematic diagram of the format of a routing request message defined by the neighbor discovery protocol.
图2为本发明IPV6地址配置方法一种实施例的流程图。FIG. 2 is a flow chart of an embodiment of an IPV6 address configuration method of the present invention.
图3为本发明IPV6地址配置系统一种实施例的结构示意图。FIG. 3 is a schematic structural diagram of an embodiment of the IPV6 address configuration system of the present invention.
图4为本发明用于IPV6地址配置系统的终端一种可选方案的结构示意图。FIG. 4 is a schematic structural diagram of an alternative solution for a terminal used in an IPV6 address configuration system according to the present invention.
图5为本发明用于IPV6地址配置系统的路由器一种可选方案的结构示意图。FIG. 5 is a schematic structural diagram of an alternative solution for a router used in an IPV6 address configuration system according to the present invention.
具体实施方式Detailed ways
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
当终端接入IPV6网络时,需要进行地址配置。本发明的实施例考虑到便于进行IPV6业务的管理,在进行IPV6地址配置的过程中,路由器根据终端的业务类型为其分配子网前缀,使得相同业务类型的终端所分配到的子网前缀符合某种预定关系,比如所述子网前缀是相互聚合的,从而便于进行业务的管理。When a terminal accesses an IPv6 network, address configuration is required. In the embodiments of the present invention, considering the convenience of IPV6 service management, during the process of IPV6 address configuration, the router assigns subnet prefixes to terminals according to their service types, so that the subnet prefixes assigned to terminals of the same service type conform to A certain predetermined relationship, for example, the subnet prefixes are mutually aggregated, so as to facilitate service management.
本发明IPV6地址配置方法的实施例中,终端生成并发送携带有业务类型信息的路由请求,其中所述业务类型信息可通过扩展字段的方式附加至所述路由请求;路由器获取由所述终端发送的路由请求,按照业务类型信息与子网前缀之间的对应关系为所述终端分配所述路由请求中携带的业务类型信息对应的子网前缀,并且将所分配的子网前缀发送给所述终端;所述终端进而根据其所分配到的子网前缀,生成IPV6地址。In the embodiment of the IPV6 address configuration method of the present invention, the terminal generates and sends a routing request carrying service type information, wherein the service type information can be added to the routing request through an extension field; according to the correspondence between the service type information and the subnet prefix, assign the subnet prefix corresponding to the service type information carried in the routing request to the terminal, and send the assigned subnet prefix to the A terminal; the terminal further generates an IPV6 address according to the subnet prefix assigned to it.
进一步地,所述IPV6地址配置方法中,所述终端可以依据邻居发现(Neighbor Discover)协议生成路由请求。按照邻居发现协议,路由请求报文的格式如图1所示,其中,路由请求报文的类型值为133。在路由请求报文的选项域(Options)中,目前邻居发现协议中仅定义了用于携带终端的源链路层地址的源链路地址项。本发明的实施例可进一步对所述选项域字段进行扩展而生成新的选项(以下称为业务类型项),并采用所述业务类型项携带所述终端的业务类型信息。Further, in the IPV6 address configuration method, the terminal may generate a routing request according to a Neighbor Discovery protocol. According to the neighbor discovery protocol, the format of the route request message is shown in FIG. 1 , where the type value of the route request message is 133. In the options field (Options) of the routing request message, currently only the source link address item for carrying the source link layer address of the terminal is defined in the neighbor discovery protocol. Embodiments of the present invention may further expand the option field to generate a new option (hereinafter referred to as a service type item), and use the service type item to carry the service type information of the terminal.
请参阅图2,其为本发明的IPV6地址配置方法一种具体实施例的流程图。所述IPV6地址配置方法的实施例包括:Please refer to FIG. 2 , which is a flow chart of a specific embodiment of the IPV6 address configuration method of the present invention. The embodiment of described IPV6 address configuration method comprises:
步骤101,获取从终端发出的路由请求,所述路由请求携带有所述终端的业务类型信息;Step 101, acquiring a routing request sent from a terminal, the routing request carrying service type information of the terminal;
具体地,在步骤101中,路由器接收由终端发出的携带有业务类型信息的路由请求。所述由终端发出的路由请求可依序经家庭网关(ResidentialGateway,RG)和接入设备(Access Node,AN)传送至所述路由器。Specifically, in step 101, the router receives a routing request sent by a terminal and carrying service type information. The routing request sent by the terminal can be transmitted to the router through a residential gateway (Residential Gateway, RG) and an access device (Access Node, AN) in sequence.
进一步地,本发明IPV6地址配置方法实施例在步骤101之前,可以还包括生成所述携带有业务类型信息的路由请求的步骤,所述生成路由请求的步骤具体如下:Further, before step 101, the embodiment of the IPV6 address configuration method of the present invention may further include the step of generating the routing request carrying the service type information, and the step of generating the routing request is specifically as follows:
首先,所述终端根据其业务类型生成对应的业务类型信息。First, the terminal generates corresponding service type information according to its service type.
针对终端在网络中所执行的业务类型,在终端启动后可通过人工配置的方式生成业务类型信息,即根据操作者透过终端界面实时设置的业务类型生成对应业务类型信息。如,操作者可在终端界面提供的所述终端支持的多种业务类型选择其中之一并输入对应的指令信息,对应地,所述终端根据所述操作者选择的业务类型自动生成所述业务类型信息。For the type of service performed by the terminal in the network, the service type information can be generated by manual configuration after the terminal is started, that is, the corresponding service type information is generated according to the service type set by the operator through the terminal interface in real time. For example, the operator can select one of the multiple service types supported by the terminal provided on the terminal interface and input corresponding instruction information, and correspondingly, the terminal automatically generates the service type according to the service type selected by the operator. type information.
进一步地,所述生成业务类型信息也可以通过固定写入存储器的方式由终端生成。具体而言,所述终端在其内部的存储器中预先储存有所述终端的业务类型,在所述终端启动后,所述存储器根据器内部存储的业务类型自动生成业务类型信息。Further, the generated service type information may also be generated by the terminal in a manner of permanently writing into a memory. Specifically, the service type of the terminal is pre-stored in the internal memory of the terminal, and after the terminal is started, the memory automatically generates service type information according to the service type stored in the terminal.
不同业务类型的终端所对应的业务类型信息的值是不同的。举例来说,上网业务对应的业务类型信息的值可定义为1;IP承载语音(Voice over IP,VOIP)业务对应的业务类型信息的值可定义为2;IP电视(IPTV)业务对应的业务类型信息的值可定义为3。可见,通过分析业务类型信息的值可以确定对应终端的业务类型。The values of service type information corresponding to terminals of different service types are different. For example, the value of the service type information corresponding to the Internet service can be defined as 1; the value of the service type information corresponding to the IP bearer voice (Voice over IP, VOIP) service can be defined as 2; the service corresponding to the IP television (IPTV) service The value of type information can be defined as 3. It can be seen that the service type of the corresponding terminal can be determined by analyzing the value of the service type information.
其次,产生携带有所述业务类型信息的路由请求。具体而言,所述终端将其生成的业务类型信息附加至在路由请求的选项域字段中扩展的业务类型项,并将该携带有业务类型信息的路由请求发送至其对应的网络链路。Second, a routing request carrying the service type information is generated. Specifically, the terminal adds the generated service type information to the service type item expanded in the option field field of the routing request, and sends the routing request carrying the service type information to its corresponding network link.
步骤102,按照业务类型信息与子网前缀之间的对应关系,为所述终端分配所述路由请求中携带的业务类型信息对应的子网前缀;Step 102, according to the corresponding relationship between the service type information and the subnet prefix, allocate the subnet prefix corresponding to the service type information carried in the routing request to the terminal;
下面对步骤102进行具体说明:Step 102 is described in detail below:
首先,解析所述路由请求以获取其所携带的业务类型信息。具体而言,路由器从网络链路接收所述路由请求,并对其所接收的路由请求进行解析以从其选项域扩展的业务类型项中获取所述业务类型信息。进一步地,所述路由器对所述业务类型信息进行分析并得到所述业务类型信息的值。Firstly, the routing request is parsed to obtain the service type information it carries. Specifically, the router receives the routing request from the network link, and parses the received routing request to obtain the service type information from the service type item extended in its option field. Further, the router analyzes the service type information and obtains a value of the service type information.
其次,根据所述业务类型信息在预先配置的多个子网前缀池中进行选择,并从所选择的子网前缀池中获取对应的子网前缀。Secondly, according to the service type information, a selection is made among multiple pre-configured subnet prefix pools, and a corresponding subnet prefix is acquired from the selected subnet prefix pool.
一种可选的方案为:所述路由器内部预先配置有多个子网前缀池,所述子网前缀池与业务类型信息的值之间具有对应关系,即所述多个子网前缀池中的不同的子网前缀池分别对应不同的业务类型信息。进一步地,同一子网前缀池内部所储存的子网前缀之间符合某种预定关系,比如同一子网前缀池内部所储存的子网前缀是相互聚合的。具体而言,每一子网前缀可包括一标识部分和一特征部分,如,对于64位子网前缀,其前48位可作为标识部分而后16位可作为特征部分。在同一子网前缀池中的子网前缀的标识部分相同,而同一子网前缀池中的子网前缀的特征部分不同,并且不同子网前缀池中的子网前缀的标识部分不同。由此可见,在同一子网前缀池中的子网前缀具有相同的前48位,即其为相互聚合的;而不同的子网前缀池中的子网前缀的前48位不同,即不同的子网前缀池中的子网前缀可通过其前48位(即标识部分)进行相互区分。An optional solution is: multiple subnet prefix pools are pre-configured inside the router, and there is a corresponding relationship between the subnet prefix pool and the value of the service type information, that is, the different subnet prefix pools in the multiple subnet prefix pools The subnet prefix pools correspond to different service types. Further, the subnet prefixes stored in the same subnet prefix pool conform to a predetermined relationship, for example, the subnet prefixes stored in the same subnet prefix pool are mutually aggregated. Specifically, each subnet prefix may include an identification part and a characteristic part. For example, for a 64-bit subnet prefix, the first 48 bits may be used as the identification part and the last 16 bits may be used as the characteristic part. The identification parts of the subnet prefixes in the same subnet prefix pool are the same, but the characteristic parts of the subnet prefixes in the same subnet prefix pool are different, and the identification parts of the subnet prefixes in different subnet prefix pools are different. It can be seen that the subnet prefixes in the same subnet prefix pool have the same first 48 bits, that is, they are mutually aggregated; and the first 48 bits of subnet prefixes in different subnet prefix pools are different, that is, different The subnet prefixes in the subnet prefix pool can be distinguished from each other by their first 48 bits (that is, the identification part).
根据所述业务类型信息,所述路由器在所述预先配置的子网前缀池中选取与所述业务类型信息的值相对应的子网前缀池,并进一步在其选择子网前缀池中获取对应的子网前缀。举例来说,若所述业务类型信息的值为1,选取第一子网前缀池并从中获取子网前缀;若所述业务类型信息的值为2,选取第二子网前缀池并从中获取子网前缀;若所述业务类型信息的值为3,选取第三子网前缀池并从中获取子网前缀。According to the service type information, the router selects the subnet prefix pool corresponding to the value of the service type information from the pre-configured subnet prefix pool, and further obtains the corresponding subnet prefix pool from the selected subnet prefix pool. subnet prefix. For example, if the value of the service type information is 1, select the first subnet prefix pool and obtain the subnet prefix from it; if the value of the service type information is 2, select the second subnet prefix pool and obtain it from it Subnet prefix; if the value of the service type information is 3, select a third subnet prefix pool and obtain the subnet prefix from it.
步骤103,将所分配到的子网前缀发送给所述终端,以使所述终端能根据所述子网前缀生成IPV6地址。Step 103, sending the assigned subnet prefix to the terminal, so that the terminal can generate an IPV6 address according to the subnet prefix.
一种可选的方案为:所述路由器将其所获取的子网前缀附加到路由通告(Router Advertisement)报文对应的选项字段,并将所述路由通告发送至所述终端。进一步地,所述终端从路由通告解析出所述由路由器分配的子网前缀,并将所述子网前缀与本地的接口标识符信息相结合,从而IPV6生成地址。An optional solution is: the router appends the acquired subnet prefix to an option field corresponding to a Router Advertisement (Router Advertisement) message, and sends the Router Advertisement to the terminal. Further, the terminal parses out the subnet prefix allocated by the router from the routing advertisement, and combines the subnet prefix with local interface identifier information, so as to generate an IPV6 address.
基于上述IPV6地址配置方法,本发明实施例还提供了一种IPV6地址配置系统。请参阅图3,所述IPV6地址配置系统主要包括:Based on the above IPV6 address configuration method, an embodiment of the present invention also provides an IPV6 address configuration system. Referring to Figure 3, the IPV6 address configuration system mainly includes:
终端501,其用于将其业务类型信息附加至路由请求的扩展字段中,并将所述携带有业务类型信息的路由请求发出;
路由器502,其用于接收所述路由请求,从所述路由请求中得到所述终端501的业务类型信息,并按照业务类型信息与子网前缀之间的对应关系,为所述终端501分配所述业务类型信息对应的子网前缀A
其中,所述路由器501进一步根据所述路由器502分配的子网前缀,生成IPV6地址。Wherein, the
进一步地,所述IPV6地址配置系统还可包括家庭网关503和接入网络汇聚设备504。所述家庭网关503和接入网络汇聚设备504依序连接于所述终端501和路由器502之间的网络链路上。当用户签约多个业务时,每个业务通过不同的终端501接入到宽带网络,且同一用户的多个终端501分别通过家庭网关503连接成用户网络505。所述家庭网关503进一步通过接入网络汇聚设备504连接到所述路由器502。Further, the IPV6 address configuration system may further include a
请参阅图4,本发明IPV6地址配置系统实施例的终端501一种可选方案包括:Referring to Fig. 4, an optional solution of
业务类型信息配置模块512,其用于按照所述终端501的业务类型,生成对应的业务类型信息;A service type
路由请求发送模块511,其用于将所述业务类型信息附加到路由请求的扩展字段中,并将所述携带有业务类型信息的路由请求发出以请求路由器为所述终端501分配子网前缀;A routing
路由通告接收模块513,其用于接收来自路由器的路由通告,其中所述路由通告携带有所述路由器为所述终端分配的子网前缀,且所述子网前缀是由所述路由器按照业务类型信息与子网前缀之间对应关系所分配的与所述终端的业务类型信息相对应的子网前缀。A routing
地址生成模块514,其用于根据所述子网前缀及本地的地址标识符,生成IPV6地址。The
进一步地,所述业务类型信息配置模块512具体可在所述终端501启动后根据操作者实时配置的业务类型生成所述业务类型信息;或者,所述业务类型信息配置模块512也可预先存储有所述终端对应业务类型,且在所述终端启动后根据所述预先存储的业务类型生成所述业务类型信息。Further, the service type
请参阅图5,本发明IPV6地址配置系统实施例中路由器502一种可选方案包括:Referring to Fig. 5, an optional solution of
业务类型信息解析模块521,其用于接收来自终端且携带有所述终端的业务类型信息的路由请求,并对所述路由请求进行解析获取所述业务类型信息;A service type
子网前缀分配模块523,其用于按照业务类型信息与子网前缀的对应关系,为所述终端分配与所述业务类型信息解析模块所获取的业务类型信息相对应的子网前缀,以使所述终端能根据所分配到的子网前缀生成IPV6地址。The subnet
进一步地,所述路由器502还可包括:Further, the
子网前缀存储模块522,其包括多个储存有子网前缀的子网前缀池,且不同的子网前缀池分别对应不同的业务类型信息。其中,所述子网前缀池所存储的每一子网前缀包括标识部分和特征部分,同一子网前缀池中的子网前缀的标识部分相同,同一子网前缀池中的子网前缀的特征部分不同,且不同子网前缀池内部存储的子网前缀的标识部分不同。The subnet
所述路由器502还可进一步包括:The
路由通告发送模块524,其用于将由所述子网前缀分配模块523所获取的子网前缀附加至路由通告对应的选项字段,并将所述路由通告发出。A route
综上所述,本发明实施例所述的IPV6地址配置方法和系统通过在路由请求的扩展字段携带终端的业务类型信息,并进一步根据所述业务类型信息与子网前缀的对应关系来为所述终端分配子网前缀,因而相同业务类型的终端所分配到的地址前缀相互之间符合某种预定关系,比如是相互聚合的,从而方便进行业务统计和数据定向等;并且,在进行路由更新或地址前缀更新时也容易实现针对同一业务类型的终端进行统一更新。因此,采用本发明的地址配置方法和系统便于进行业务的管理。To sum up, the IPV6 address configuration method and system described in the embodiments of the present invention carry the service type information of the terminal in the extension field of the routing request, and further configure the IPV6 address configuration method and system according to the correspondence between the service type information and the subnet prefix. The subnet prefixes are assigned to the above-mentioned terminals, so the address prefixes assigned to terminals of the same service type conform to a certain predetermined relationship with each other, for example, they are aggregated with each other, so as to facilitate business statistics and data orientation; and, when performing routing updates It is also easy to implement unified update for terminals of the same service type when updating address prefixes. Therefore, adopting the address configuration method and system of the present invention is convenient for business management.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的硬件平台的方式来实现,当然也可以全部通过硬件来实施。基于这样的理解,本发明的技术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course can also be implemented entirely by hardware. Based on this understanding, all or part of the contribution made by the technical solution of the present invention to the background technology can be embodied in the form of software products, and the computer software products can be stored in storage media, such as ROM/RAM, magnetic disks, optical disks, etc. , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments of the present invention.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (14)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810241624A CN101753635A (en) | 2008-12-17 | 2008-12-17 | Method and system of collocating IPV6 (internet protocol version 6) addresses |
PCT/CN2009/073630 WO2010069181A1 (en) | 2008-12-17 | 2009-08-31 | Method and system for configuring ipv6 address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810241624A CN101753635A (en) | 2008-12-17 | 2008-12-17 | Method and system of collocating IPV6 (internet protocol version 6) addresses |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101753635A true CN101753635A (en) | 2010-06-23 |
Family
ID=42268290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810241624A Pending CN101753635A (en) | 2008-12-17 | 2008-12-17 | Method and system of collocating IPV6 (internet protocol version 6) addresses |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101753635A (en) |
WO (1) | WO2010069181A1 (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006336A (en) * | 2010-11-23 | 2011-04-06 | 中兴通讯股份有限公司 | Allocation method and device of Internet protocol version 6 (IPv6) address prefixes |
WO2011144152A1 (en) * | 2010-10-08 | 2011-11-24 | 华为技术有限公司 | Method for providing information, home gateway and home network system |
WO2012034428A1 (en) * | 2010-09-14 | 2012-03-22 | 中兴通讯股份有限公司 | Method and service node for ip address reassignment |
CN102420879A (en) * | 2011-12-13 | 2012-04-18 | 北京天融信科技有限公司 | Prefix readdressing method, system, dynamic host configuration protocol for Internet protocol version 6 (DHCPv6) server and relay equipment |
WO2011157141A3 (en) * | 2011-05-31 | 2012-05-03 | 华为技术有限公司 | Internet protocol version 6 address allocation method and apparatus |
WO2013174190A1 (en) * | 2012-05-23 | 2013-11-28 | 中兴通讯股份有限公司 | Routing selection method and functional network element |
WO2014015775A1 (en) * | 2012-07-25 | 2014-01-30 | 中兴通讯股份有限公司 | Ipv6 address stateless auto-configuration system, data card, and implementation method thereof |
CN103812954A (en) * | 2012-11-09 | 2014-05-21 | 中国电信股份有限公司 | IPv6 address management method and system |
WO2015010472A1 (en) * | 2013-07-23 | 2015-01-29 | 华为技术有限公司 | Packet processing method and apparatus |
CN104639439A (en) * | 2015-01-27 | 2015-05-20 | 杭州华三通信技术有限公司 | Service message processing method and service message processing device |
US9042406B2 (en) | 2010-02-12 | 2015-05-26 | Huawei Technologies Co., Ltd. | Method for obtaining IPV6 configuration information in IPV6 transition network, system and apparatus |
CN105227694A (en) * | 2015-10-12 | 2016-01-06 | 北京星网锐捷网络技术有限公司 | For realizing the device and method of IPv6 prefix assignment |
CN105306615A (en) * | 2014-06-10 | 2016-02-03 | 西门子公司 | Allocation of network addresses for network participants |
CN106027697A (en) * | 2016-08-01 | 2016-10-12 | 清华大学 | IPv6 address generation scheme management system |
CN110022383A (en) * | 2019-04-10 | 2019-07-16 | 广州热点软件科技股份有限公司 | Address management method and system |
CN111835884A (en) * | 2020-07-13 | 2020-10-27 | 北京好扑信息科技有限公司 | Virtual address generation method for block chain |
CN111866212A (en) * | 2020-07-17 | 2020-10-30 | 芯河半导体科技(无锡)有限公司 | Method for automatically distributing IPV6PD prefix for drop-in router by gateway |
CN113542905A (en) * | 2020-04-22 | 2021-10-22 | 中国移动通信集团有限公司 | Address allocation method, gateway, set-top box, device and storage medium |
CN113612870A (en) * | 2021-09-07 | 2021-11-05 | 上海市共进通信技术有限公司 | Method for distributing different IPv6 address prefixes based on LAN side multi-type terminal equipment |
WO2022143161A1 (en) * | 2020-12-31 | 2022-07-07 | 华为技术有限公司 | Method for configuring ipv6 addresses and routing device |
WO2023056845A1 (en) * | 2021-10-09 | 2023-04-13 | 华为技术有限公司 | Communication method and apparatus |
CN116016154A (en) * | 2022-12-02 | 2023-04-25 | 中国电信股份有限公司 | IPv6 address resource management method, device, equipment, medium and product |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291383A (en) * | 2020-10-15 | 2021-01-29 | 科大国创云网科技有限公司 | IP address allocation method and system |
CN114257400B (en) * | 2021-11-11 | 2025-01-03 | 中国南方电网有限责任公司 | Information acquisition method, device and computer equipment based on identification algorithm |
CN114500258B (en) * | 2021-12-14 | 2023-08-15 | 四川天邑康和通信股份有限公司 | Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway |
CN115499282B (en) * | 2022-11-21 | 2023-03-24 | 北京连星科技有限公司 | Method and system for constructing flexible networking linkage management based on native IPv6 |
Citations (1)
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 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10360531A1 (en) * | 2003-12-22 | 2005-07-21 | Siemens Ag | Method, network gateway node and terminal for packet-oriented data transmission |
CN1897589B (en) * | 2005-07-13 | 2010-12-15 | 上海贝尔阿尔卡特股份有限公司 | Access apparatus, routing equipment and method for supporting IPv6 stateless address configuration in telecommunication network |
US20070223397A1 (en) * | 2006-03-24 | 2007-09-27 | Sergey Gerasimov | Network configuration |
CN1929482B (en) * | 2006-09-20 | 2010-08-04 | 华为技术有限公司 | Method and device for network service authentication |
CN101179603B (en) * | 2006-11-09 | 2011-06-08 | 上海贝尔阿尔卡特股份有限公司 | Method and device for controlling user network access in IPv6 network |
-
2008
- 2008-12-17 CN CN200810241624A patent/CN101753635A/en active Pending
-
2009
- 2009-08-31 WO PCT/CN2009/073630 patent/WO2010069181A1/en active Application Filing
Patent Citations (1)
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 |
Non-Patent Citations (1)
Title |
---|
G. VAN DE VELDE等: "IPv6 Unicast Address Assignment Considerations", 《DRAFT-IETF-V6OPS-ADDCON-10》 * |
Cited By (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9042406B2 (en) | 2010-02-12 | 2015-05-26 | Huawei Technologies Co., Ltd. | Method for obtaining IPV6 configuration information in IPV6 transition network, system and apparatus |
WO2012034428A1 (en) * | 2010-09-14 | 2012-03-22 | 中兴通讯股份有限公司 | Method and service node for ip address reassignment |
CN102447746B (en) * | 2010-10-08 | 2015-04-08 | 华为技术有限公司 | Information supply method, family gateway and family network system |
WO2011144152A1 (en) * | 2010-10-08 | 2011-11-24 | 华为技术有限公司 | Method for providing information, home gateway and home network system |
US8606937B2 (en) | 2010-10-08 | 2013-12-10 | Huawei Technologies Co., Ltd. | Information providing method, home gateway, and home network system |
CN102447746A (en) * | 2010-10-08 | 2012-05-09 | 华为技术有限公司 | Information providing method, home gateway, and home network system |
WO2012068869A1 (en) * | 2010-11-23 | 2012-05-31 | 中兴通讯股份有限公司 | Method and device for allocating internet protocol version 6 address prefixes |
CN102006336A (en) * | 2010-11-23 | 2011-04-06 | 中兴通讯股份有限公司 | Allocation method and device of Internet protocol version 6 (IPv6) address prefixes |
CN102006336B (en) * | 2010-11-23 | 2014-04-30 | 中兴通讯股份有限公司 | Allocation method and device of Internet protocol version 6 (IPv6) address prefixes |
CN102918817A (en) * | 2011-05-31 | 2013-02-06 | 华为技术有限公司 | Internet protocol version 6 address allocation method and apparatus |
CN102918817B (en) * | 2011-05-31 | 2016-06-08 | 华为技术有限公司 | The method of IPv6 address assignment and equipment |
WO2011157141A3 (en) * | 2011-05-31 | 2012-05-03 | 华为技术有限公司 | Internet protocol version 6 address allocation method and apparatus |
CN102420879A (en) * | 2011-12-13 | 2012-04-18 | 北京天融信科技有限公司 | Prefix readdressing method, system, dynamic host configuration protocol for Internet protocol version 6 (DHCPv6) server and relay equipment |
WO2013174190A1 (en) * | 2012-05-23 | 2013-11-28 | 中兴通讯股份有限公司 | Routing selection method and functional network element |
US9729501B2 (en) | 2012-07-25 | 2017-08-08 | Zte Corporation | System and data card for stateless automatic configuration of IPv6 address and method for implementing the same |
WO2014015775A1 (en) * | 2012-07-25 | 2014-01-30 | 中兴通讯股份有限公司 | Ipv6 address stateless auto-configuration system, data card, and implementation method thereof |
CN103812954B (en) * | 2012-11-09 | 2018-01-16 | 中国电信股份有限公司 | IPv6 address management methods and system |
CN103812954A (en) * | 2012-11-09 | 2014-05-21 | 中国电信股份有限公司 | IPv6 address management method and system |
WO2015010472A1 (en) * | 2013-07-23 | 2015-01-29 | 华为技术有限公司 | Packet processing method and apparatus |
CN105306615A (en) * | 2014-06-10 | 2016-02-03 | 西门子公司 | Allocation of network addresses for network participants |
US10091162B2 (en) | 2014-06-10 | 2018-10-02 | Siemens Aktiengesellschaft | Allocation of network addresses for network subscribers |
CN104639439A (en) * | 2015-01-27 | 2015-05-20 | 杭州华三通信技术有限公司 | Service message processing method and service message processing device |
CN104639439B (en) * | 2015-01-27 | 2018-04-06 | 新华三技术有限公司 | The processing method and equipment of a kind of service message |
CN105227694A (en) * | 2015-10-12 | 2016-01-06 | 北京星网锐捷网络技术有限公司 | For realizing the device and method of IPv6 prefix assignment |
CN105227694B (en) * | 2015-10-12 | 2018-08-07 | 北京星网锐捷网络技术有限公司 | For realizing the device and method of IPv6 prefix assignments |
CN106027697A (en) * | 2016-08-01 | 2016-10-12 | 清华大学 | IPv6 address generation scheme management system |
CN110022383A (en) * | 2019-04-10 | 2019-07-16 | 广州热点软件科技股份有限公司 | Address management method and system |
CN110022383B (en) * | 2019-04-10 | 2022-03-25 | 广州热点软件科技股份有限公司 | Address management method and system |
CN113542905A (en) * | 2020-04-22 | 2021-10-22 | 中国移动通信集团有限公司 | Address allocation method, gateway, set-top box, device and storage medium |
CN113542905B (en) * | 2020-04-22 | 2024-05-03 | 中国移动通信集团有限公司 | Address allocation method, gateway, set top box, equipment and storage medium |
CN111835884B (en) * | 2020-07-13 | 2022-11-04 | 北京好扑信息科技有限公司 | Virtual address generation method for block chain |
CN111835884A (en) * | 2020-07-13 | 2020-10-27 | 北京好扑信息科技有限公司 | Virtual address generation method for block chain |
CN111866212A (en) * | 2020-07-17 | 2020-10-30 | 芯河半导体科技(无锡)有限公司 | Method for automatically distributing IPV6PD prefix for drop-in router by gateway |
CN111866212B (en) * | 2020-07-17 | 2023-08-15 | 芯河半导体科技(无锡)有限公司 | Method for automatically distributing IPV6PD prefix for down-hanging router by gateway |
WO2022143161A1 (en) * | 2020-12-31 | 2022-07-07 | 华为技术有限公司 | Method for configuring ipv6 addresses and routing device |
CN113612870A (en) * | 2021-09-07 | 2021-11-05 | 上海市共进通信技术有限公司 | Method for distributing different IPv6 address prefixes based on LAN side multi-type terminal equipment |
WO2023056845A1 (en) * | 2021-10-09 | 2023-04-13 | 华为技术有限公司 | Communication method and apparatus |
CN116016154A (en) * | 2022-12-02 | 2023-04-25 | 中国电信股份有限公司 | IPv6 address resource management method, device, equipment, medium and product |
Also Published As
Publication number | Publication date |
---|---|
WO2010069181A1 (en) | 2010-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101753635A (en) | Method and system of collocating IPV6 (internet protocol version 6) addresses | |
CN101547223B (en) | Method, device and system for address configuration | |
CN103916484B (en) | The method and apparatus for configuring IP address | |
US20120324063A1 (en) | Method, network device, and system for automatically configuring network device in ipv6 network | |
CN103731394B (en) | Method and equipment for configuring IPv6 transitional technologies on CPE | |
CN102447746B (en) | Information supply method, family gateway and family network system | |
CN101841573A (en) | Method and device for processing address information of Internet and Internet system | |
CN101753633B (en) | Method, system and equipment for allocating IPv6 (internet protocol version 6) prefixes | |
CN113660357B (en) | Method and device for automatically acquiring IP address by IPv6 dual stack system | |
US20140313933A1 (en) | Method, apparatus, and system for layer 2 interworking based on ipv6 | |
US8909787B2 (en) | Method, device, and system for allocating address in IP network | |
US20140032782A1 (en) | Method and apparatus for route selection of host in multihoming site | |
CN103561122B (en) | IPv6 address collocation method, IPv6 client and server | |
WO2017032145A1 (en) | Domain name forwarding method and apparatus | |
CN108833606A (en) | A second-layer device configuration method, upper-layer management device, lower-layer device and system | |
CN101110817B (en) | Method and system for address selection | |
CN102143036B (en) | Prefix sending method, prefix appointing method and corresponding devices | |
CN100499669C (en) | Network address reconstruction method in IPv6 switch-in network | |
CN109803028B (en) | A method and apparatus for configuring service flow | |
CN104468305B (en) | Realize Layer3 Virtual Private Network method and apparatus | |
US20060193330A1 (en) | Communication apparatus, router apparatus, communication method and computer program product | |
CN107172229A (en) | The collocation method and device of router | |
WO2005119997A2 (en) | Domain-influenced prefix assignment method and apparatus | |
WO2025119018A1 (en) | Service configuration method for ipv6 network, electronic device and readable storage medium | |
KR100644806B1 (en) | A method for automatically configuring routers' addresses in a multihop-based network environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100623 |