Movatterモバイル変換


[0]ホーム

URL:


CN101674288A - Method, device and system for managing address prefix distribution - Google Patents

Method, device and system for managing address prefix distribution
Download PDF

Info

Publication number
CN101674288A
CN101674288ACN200810119852ACN200810119852ACN101674288ACN 101674288 ACN101674288 ACN 101674288ACN 200810119852 ACN200810119852 ACN 200810119852ACN 200810119852 ACN200810119852 ACN 200810119852ACN 101674288 ACN101674288 ACN 101674288A
Authority
CN
China
Prior art keywords
prefix
address
address prefix
expansion
management
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
Application number
CN200810119852A
Other languages
Chinese (zh)
Other versions
CN101674288B (en
Inventor
阳振庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN2008101198527ApriorityCriticalpatent/CN101674288B/en
Publication of CN101674288ApublicationCriticalpatent/CN101674288A/en
Application grantedgrantedCritical
Publication of CN101674288BpublicationCriticalpatent/CN101674288B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种地址前缀分发的管理方法、装置和系统。该方法主要包括:通过策略控制协议从策略管理器上获得前缀扩展管理策略,所述前缀扩展管理策略中包括策略标识和地址前缀扩展参数之间的对应关系;获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展,利用扩展后的地址前缀分配地址或再次指定前缀。利用本发明,可以有效地解决了前缀扩展分发设备在给下级网络设备分配地址时的无序的问题,可以使前缀扩展分发设备根据预定的前缀扩展管理策略给下级网络设备分配IP地址,使得前缀扩展分发设备的前缀次级委派变得可控和有序。

Figure 200810119852

Embodiments of the present invention provide a management method, device and system for address prefix distribution. The method mainly includes: obtaining a prefix extension management policy from a policy manager through a policy control protocol, wherein the prefix extension management policy includes a corresponding relationship between a policy identifier and an address prefix extension parameter; obtaining the policy identifier, and querying the policy identifier according to the policy identifier. The prefix extension management policy obtains corresponding address prefix extension parameters, extends the address prefix according to the address prefix extension parameters, and uses the extended address prefix to allocate addresses or specify prefixes again. Utilizing the present invention can effectively solve the disorder problem when the prefix extension distribution device assigns addresses to lower-level network devices, and can make the prefix extension distribution device assign IP addresses to lower-level network devices according to a predetermined prefix extension management strategy, so that the prefix Prefix sub-delegation to extended distribution devices becomes controllable and orderly.

Figure 200810119852

Description

Translated fromChinese
地址前缀分发的管理方法、装置和系统Management method, device and system for address prefix distribution

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种地址前缀分发的管理方法、装置和系统。The present invention relates to the technical field of communications, in particular to a management method, device and system for address prefix distribution.

背景技术Background technique

IPv6(Internet Protocol Version 6,互联网协议版本6)是从IPv4(互联网协议版本4)协议发展出来的一种新的IP协议。IPv6地址长度由IPv4的32Bit(比特)扩充到128比特。一个IPV6地址包括:前缀和接口标识,一种典型IPv6单播地址的格式如下述表1所示:IPv6 (Internet Protocol Version 6, Internet Protocol Version 6) is a new IP protocol developed from the IPv4 (Internet Protocol Version 4) protocol. The IPv6 address length is extended from 32Bit (bit) of IPv4 to 128 bits. An IPv6 address includes: a prefix and an interface identifier, and the format of a typical IPv6 unicast address is shown in Table 1 below:

表1:IPv6地址格式Table 1: IPv6 address format

  前缀(Prefix)Prefix  接口标志(Interface ID)Interface ID  n比特(Bit)n bits (Bit)  128-n比特128-n bits

上述表1中的前缀是分配给站点(一组子网或链路)的一个典型层次结构值。接口标志由网路节点根据接口信息生成,如根据节点接口的以太网MAC(Medium Access Control,媒体接入控制)地址生成。The prefixes in Table 1 above are a typical hierarchical value assigned to a site (a group of subnets or links). The interface identifier is generated by the network node according to the interface information, for example, according to the Ethernet MAC (Medium Access Control, Media Access Control) address of the node interface.

IPv6地址配置可以分为静态地址配置和动态地址配置两种方式。动态地址配置方式还包括:无状态地址自动配置和有状态地址自动配置两种方式。其中有状态地址自动配置与IPv4中的地址自动配置类似,是通过DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)协议来进行配置的。IPv6 address configuration can be divided into static address configuration and dynamic address configuration. Dynamic address configuration methods also include: stateless address auto-configuration and stateful address auto-configuration. The stateful address automatic configuration is similar to the address automatic configuration in IPv4, and is configured through the DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) protocol.

一种请求路由器(本示例中为驻地网关(RG,Residemial Gateway))给下级网络设备分配IP地址或指定前缀的示意图如图1所示,一般RG集成了DHCP服务器或无状态地址自动配置路由器功能单元,RG通过DHCP前缀委派从委派路由器(本示例中为DHCP服务器)申请地址前缀,本示例中上述申请的地址前缀为56位的地址前缀(2002:db8:200:100::/56),RG为不同的网络主机等下级网络设备分配IP地址或再次指定地址前缀,例如:RG将56位的前缀(2002:db8:200:100::/56)扩展成64位的地址前缀1(2002:db8:200:108::/64)和地址前缀2(2002:db8:200:110::/64)以及地址前缀3(2002:db8:200:118::/64)等,RG通过DHCP地址自动配置给主机1配置根据上述的64位地址前缀1生成128位的IP地址或通过SLAA(如:RA携带上述的64位地址前缀1)给主机1指定上述的64位地址前缀1,或通过DHCPPD给主机1指定上述的64位地址前缀1;RG根据上述的64位地址前缀2给主机2分配IP地址或指定地址前缀等。A schematic diagram of requesting a router (in this example, a resident gateway (RG, Residential Gateway)) to assign an IP address or specify a prefix to a lower-level network device is shown in Figure 1. Generally, an RG integrates a DHCP server or a stateless address auto-configuration router function Unit, RG applies for an address prefix from the delegation router (DHCP server in this example) through DHCP prefix delegation. In this example, the address prefix applied for above is a 56-bit address prefix (2002:db8:200:100::/56), RG allocates IP addresses for different network hosts and other lower-level network devices or specifies address prefixes again, for example: RG expands the 56-bit prefix (2002:db8:200:100::/56) into a 64-bit address prefix 1 (2002 :db8:200:108::/64) and address prefix 2 (2002:db8:200:110::/64) and address prefix 3 (2002:db8:200:118::/64), etc., RG through DHCP The address is automatically configured to configure thehost 1 to generate a 128-bit IP address according to the above-mentioned 64-bit address prefix 1, or specify the above-mentioned 64-bit address prefix 1 tohost 1 through SLAA (for example: RA carries the above-mentioned 64-bit address prefix 1), or The above-mentioned 64-bit address prefix 1 is assigned tohost 1 through DHCPPD; the RG assigns an IP address or specifies an address prefix to host 2 according to the above-mentioned 64-bit address prefix 2.

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:目前没有办法对请求路由器的地址扩展进行控制和管理,通过随意的地址前缀给下级网络设备分配IP地址或再次指定地址前缀时,也具有很大的无序性,容易引起各种下级网络设备的地址混乱,同时不利于上级网络控制和管理。In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: at present, there is no way to control and manage the address extension of the requesting router, and assign IP addresses to lower-level network devices through arbitrary address prefixes or specify address prefixes again At the same time, it also has a great disorder, which is easy to cause the address confusion of various lower-level network devices, and is not conducive to the control and management of the upper-level network.

发明内容Contents of the invention

本发明的实施例提供了一种地址前缀分发的管理方法、装置和系统,以解决现有技术给下级网络设备分配地址时的无序性问题。Embodiments of the present invention provide a management method, device and system for distributing address prefixes to solve the disorder problem in the prior art when distributing addresses to lower-level network devices.

本发明实施例的目的是通过以下技术方案实现的:The purpose of the embodiments of the present invention is achieved through the following technical solutions:

一种地址前缀分发的管理方法,包括:A management method for address prefix distribution, comprising:

获取策略标识以及地址前缀,根据策略标识查询预先获得的前缀扩展管理策略获取对应的地址前缀扩展参数,所述前缀扩展管理策略中包括策略标识和地址前缀扩展参数之间的对应关系;Obtaining a policy identifier and an address prefix, and querying a pre-acquired prefix extension management strategy according to the strategy identifier to obtain corresponding address prefix extension parameters, wherein the prefix extension management strategy includes a correspondence between the policy identifier and the address prefix extension parameters;

根据所述地址前缀扩展参数对所述地址前缀进行扩展;Extending the address prefix according to the address prefix extension parameter;

利用扩展后的地址前缀分配地址或再次指定前缀。Use the extended address prefix to assign addresses or specify the prefix again.

一种地址前缀扩展分发的管理装置,包括:A management device for address prefix extension distribution, comprising:

信息获取模块,用于获取地址前缀和前缀扩展管理策略,所述前缀扩展管理策略中包括策略标识和地址前缀扩展参数之间的对应关系;An information acquisition module, configured to acquire address prefixes and prefix extension management policies, where the prefix extension management policies include correspondence between policy identifiers and address prefix extension parameters;

地址管理模块,用于获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展,利用扩展后的地址前缀分配地址或再次指定地址前缀。An address management module, configured to obtain a policy identifier, query the prefix extension management strategy according to the policy identifier to obtain corresponding address prefix extension parameters, extend the address prefix according to the address prefix extension parameters, and use the extended address prefix allocation address or specify the address prefix again.

一种地址前缀分发的管理系统,包括:A management system for address prefix distribution, including:

策略管理器:用于向地址前缀扩展分发装置下发前缀扩展管理策略,所述前缀扩展管理策略中包括策略标识和地址前缀扩展参数之间的对应关系;A policy manager: configured to deliver a prefix extension management policy to the address prefix extension distribution device, where the prefix extension management policy includes a correspondence between policy identifiers and address prefix extension parameters;

地址管理器:用于向地址前缀扩展分发装置委派地址前缀;Address manager: for delegating address prefixes to the address prefix extension distribution device;

地址前缀扩展分发装置,用于获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展,利用扩展后的地址前缀分配地址或再次指定前缀。The address prefix extension distribution device is used to obtain a policy identifier, query the prefix extension management strategy according to the policy identifier to obtain corresponding address prefix extension parameters, extend the address prefix according to the address prefix extension parameters, and use the extended address prefix to assign the address or specify the prefix again.

由上述本发明的实施例提供的技术方案可以看出,本发明实施例有效地解决了前缀扩展分发设备在给下级网络设备分配地址时的无序的问题,可以使前缀扩展分发设备根据预定的PEMP给下级网络设备分配IP地址,使得前缀扩展分发设备的前缀次级委派变得可控和有序。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiments of the present invention effectively solve the problem of disorder when the prefix extension distribution device allocates addresses to lower-level network devices, and can make the prefix extension distribution device according to the predetermined PEMP assigns IP addresses to lower-level network devices, making the prefix sub-assignment of prefix extension distribution devices controllable and orderly.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1为现有技术中的一种请求路由器给下级网络设备分配IP地址或再次指定前缀的示意图;Fig. 1 is a schematic diagram of requesting a router to assign an IP address or specify a prefix again to a lower-level network device in the prior art;

图2为本发明实施例一提供的一种地址前缀分发的管理系统的结构示意图;FIG. 2 is a schematic structural diagram of a management system for address prefix distribution provided byEmbodiment 1 of the present invention;

图3为本发明实施例一提供的按照业务标识设置的PEMP分配的地址结构示意图;FIG. 3 is a schematic diagram of the address structure allocated by PEMP set according to the service identifier provided byEmbodiment 1 of the present invention;

图4为本发明实施例二提供的一种前缀扩展分发设备的结构示意图;FIG. 4 is a schematic structural diagram of a prefix extension distribution device provided in Embodiment 2 of the present invention;

图5为本发明实施例三提供的通过DHCP服务器和AAA服务器实现PEMP管理处理流程图;5 is a flow chart of implementing PEMP management through a DHCP server and an AAA server provided byEmbodiment 3 of the present invention;

图6为本发明实施例四提供的通过SLAA实现PEMP管理的处理流程图;FIG. 6 is a processing flowchart for implementing PEMP management through SLAA provided by Embodiment 4 of the present invention;

图7为本发明实施例五提供的通过CWMP实现PEMP管理的处理流程。FIG. 7 is a processing flow of implementing PEMP management through CWMP provided by Embodiment 5 of the present invention.

具体实施方式Detailed ways

在本发明实施例中,上级网络设备分发地址前缀以及前缀扩展管理策略(PEMP,Prefix Extend Management Policy),所述前缀扩展管理策略中包括策略标识和地址前缀扩展参数之间的对应关系。前缀扩展分发设备收取所述的地址前缀和前缀扩展管理策略,并且获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数。然后,利用扩展后的地址前缀给所述下级网络设备分配地址或再次指定地址前缀。In the embodiment of the present invention, the upper-level network device distributes the address prefix and the Prefix Extend Management Policy (PEMP, Prefix Extend Management Policy), and the prefix extension management policy includes the correspondence between the policy identifier and the address prefix extension parameters. The prefix extension distribution device receives the address prefix and prefix extension management policy, and obtains a policy identifier, and queries the prefix extension management policy according to the policy identifier to obtain corresponding address prefix extension parameters. Then, use the extended address prefix to assign an address to the lower-level network device or specify an address prefix again.

进一步地,上级网络设备之策略管理器通过策略控制协议分发前缀扩展管理策略。Further, the policy manager of the upper-level network device distributes the prefix extension management policy through the policy control protocol.

进一步地,所述PEMP包括:策略标识以及所述策略标识对应的地址前缀扩展参数,策略标识包括业务标识或接口标识等。Further, the PEMP includes: a policy identifier and address prefix extension parameters corresponding to the policy identifier, and the policy identifier includes a service identifier or an interface identifier, and the like.

进一步地,所述的PEMP还包括根据策略标识对应的地址前缀扩展参数对所述地址前缀进行扩展,例如:在地址前缀的后面添加设定长度的连续的二进制数值。Further, the PEMP also includes extending the address prefix according to the address prefix extension parameter corresponding to the policy identifier, for example: adding a continuous binary value of a set length after the address prefix.

进一步地,前缀扩展分发设备从不同的上级网络设备中分别获取地址前缀和PEMP;或者,从同一个上级网络设备中获取地址前缀和PEMP。Further, the prefix extension distribution device obtains the address prefix and PEMP respectively from different upper-level network devices; or, obtains the address prefix and PEMP from the same upper-level network device.

进一步地,前缀扩展分发设备还可以利用扩展后的地址前缀给本地接口配置地址。Further, the prefix extension distribution device may also use the extended address prefix to configure an address for the local interface.

本发明实施例可以使前缀扩展分发设备给下级网络设备分配地址或的指定的前缀变得可控和有序,极大地提高了网络管理能力。The embodiments of the present invention can make the prefix extension distribution device assign addresses or specified prefixes to lower-level network devices controllable and orderly, and greatly improve network management capabilities.

为便于对本发明实施例的理解,下面将结合附图以几个具体实施例为例做进一步的解释说明,且各个实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, several specific embodiments will be taken as examples for further explanation below in conjunction with the accompanying drawings, and each embodiment does not constitute a limitation to the embodiments of the present invention.

实施例一Embodiment one

该实施例提供的一种地址前缀分发的管理系统,如图2所示,该系统包括:前缀扩展分发设备和上级网络设备,进一步可以包括下级网络设备。This embodiment provides a management system for address prefix distribution. As shown in FIG. 2 , the system includes: a prefix extension distribution device and an upper-level network device, and may further include a lower-level network device.

前缀扩展分发设备位于上级网络设备和下级网络设备的边界,前缀扩展分发设备通过链路连接下级网络设备和上级网络设备。前缀扩展分发设备包括:RG、用户驻地设备(CPE,Customer Premise Equipment)、无线访问点(AP,Access Point,)、无线基站(BS,Base station)等,下级网络设备包括PC主机、机顶盒(STB,Set Top Box)、综合接入设备(IAD,Integrated Access Device)、移动终端等,上级网络设备包括策略管理器、地址管理器等,该策略管理器包括:自动配置服务器(ACS,AutomaticConfiguration Server)或网络接入服务器(NAS,Network Access Server)或宽带网络网关(BNG,Broadband Network Gateway)或DHCP服务器或IP边缘路由器等,该地址管理器包括DHCP server、IP边缘路由器等。The prefix extension distribution device is located at the boundary between the upper-level network device and the lower-level network device, and the prefix extension distribution device connects the lower-level network device and the upper-level network device through a link. Prefix extension distribution equipment includes: RG, customer premise equipment (CPE, Customer Premise Equipment), wireless access point (AP, Access Point,), wireless base station (BS, Base station), etc., and lower-level network equipment includes PC host, set-top box (STB , Set Top Box), integrated access device (IAD, Integrated Access Device), mobile terminal, etc., the upper-level network equipment includes policy manager, address manager, etc., the policy manager includes: automatic configuration server (ACS, Automatic Configuration Server) Or network access server (NAS, Network Access Server) or broadband network gateway (BNG, Broadband Network Gateway) or DHCP server or IP edge router, etc., the address manager includes DHCP server, IP edge router, etc.

前缀扩展分发设备作为前缀请求路由器,从作为前缀委派路由器的地址管理器获取地址前缀,从策略管理器获取PEMP,该PEMP用于指导或控制前缀扩展分发设备进行前缀扩展。上述策略管理器与地址管理器可以位于同一个设备中,则前缀扩展分发设备从同一个上级网络设备中获取PEMP和地址前缀。The prefix extension distribution device acts as a prefix requesting router, obtains an address prefix from an address manager serving as a prefix delegation router, and obtains a PEMP from a policy manager, and the PEMP is used to guide or control the prefix extension distribution device to perform prefix extension. The aforementioned policy manager and address manager may be located in the same device, and the prefix extension distribution device obtains the PEMP and the address prefix from the same upper-level network device.

然后,前缀扩展分发设备进一步根据获取的PEMP对获取的地址前缀进行扩展,利用扩展后的地址前缀为下级网络设备分配地址或再次指定地址前缀。例如:RG从策略管理器中获取PEMP,从地址管理器获取n比特地址前缀(Prefix/n),RG根据PEMP扩展n比特地址前缀为k比特地址前缀(Prefix/k)或64比特地址前缀(Prefix/64),然后RG根据k比特地址前缀(Prefix/k)为下级网络设备分配IP地址或指定地址前缀,RG进一步还可以根据k比特地址前缀(Prefix/k)或64比特地址前缀(Prefix/64)为RG本地接口配置IP地址。Then, the prefix extension distribution device further expands the obtained address prefix according to the obtained PEMP, and uses the extended address prefix to allocate addresses for lower-level network devices or specify address prefixes again. For example: RG obtains PEMP from policy manager, obtains n-bit address prefix (Prefix/n) from address manager, and RG expands n-bit address prefix to k-bit address prefix (Prefix/k) or 64-bit address prefix ( Prefix/64), and then RG allocates IP addresses or specify address prefixes for lower-level network devices according to the k-bit address prefix (Prefix/k), and RG can further use the k-bit address prefix (Prefix/k) or 64-bit address prefix (Prefix /64) Configure an IP address for the RG local interface.

策略管理器使用策略控制协议管理分发给前缀扩展分发设备的PEMP,具体包括:策略管理器从本地或策略服务器或AAA服务器等获取PEMP,然后将所述的PEMP作为策略控制协议消息参数添加到策略控制协议消息中,发送策略控制协议消息到前缀扩展分发设备。该策略控制协议包括DHCP协议或邻居发现协议(ND:Neighbor Discovery)或终端管理协议TR-069(CWMP,CPE WAN Management Protocol)协议或CAPWAP(Configuration andProvisioning for Wireless Access Points,无线访问点配置部署协议)或OMCI(ONT Management and Control Intefface,光网络终端控制管理接口协议)或简单网络管理协议(SNMP,Simple Network ManagementProtocol)或接入节点控制协议(ANCP,Access Node Control Protocol)或点到点协议(PPP,Point-to-Point Protocol)或PANA(Protocol forCarrying Authentication for Network Access,网络接入认证承载协议)等。在具体实现上,可以在DHCP协议的DHCP消息(Solicit、Advertise,Reply)中增加Option(选项),或在ND协议的路由请求/广播(RouterSolicitation/Advertisement)消息中增加Option,或在PPP协议的IP控制协议(IPCP,IP Control Protocol)消息中增加option,所述的Option用于PEMP管理。The policy manager uses the policy control protocol to manage the PEMP distributed to the prefix extension distribution device, which specifically includes: the policy manager obtains the PEMP from the local or policy server or AAA server, and then adds the PEMP as a policy control protocol message parameter to the policy In the control protocol message, send the policy control protocol message to the prefix extension distribution device. The policy control protocol includes DHCP protocol or neighbor discovery protocol (ND: Neighbor Discovery) or terminal management protocol TR-069 (CWMP, CPE WAN Management Protocol) protocol or CAPWAP (Configuration and Provisioning for Wireless Access Points, wireless access point configuration deployment protocol) Or OMCI (ONT Management and Control Intefface, Optical Network Terminal Control Management Interface Protocol) or Simple Network Management Protocol (SNMP, Simple Network Management Protocol) or Access Node Control Protocol (ANCP, Access Node Control Protocol) or Point-to-Point Protocol (PPP , Point-to-Point Protocol) or PANA (Protocol for Carrying Authentication for Network Access, Network Access Authentication Bearer Protocol), etc. In specific implementation, the Option (option) can be added in the DHCP message (Solicit, Advertise, Reply) of the DHCP protocol, or the Option can be added in the routing request/broadcast (RouterSolicitation/Advertisement) message of the ND protocol, or the Option can be added in the PPP protocol Option is added in the IP Control Protocol (IPCP, IP Control Protocol) message, and the Option is used for PEMP management.

上述PEMP可以由策略管理器灵活定制,并保存在策略服务器或AAA服务器等上级网络设备中。例如:PEMP可以作为订户的模板(Profile)子项保存在AAA服务器上,当用户附着到网络时,策略管理器从AAA服务器的订阅用户的模板中获取PEMP,然后下发给用户。The aforementioned PEMP can be flexibly customized by the policy manager, and stored in a higher-level network device such as a policy server or an AAA server. For example: PEMP can be saved on the AAA server as a sub-item of the subscriber's profile (Profile). When the user is attached to the network, the policy manager obtains the PEMP from the subscriber's profile of the AAA server, and then delivers it to the user.

上述PEMP的格式一般包括策略标识和扩展参数等,策略标识一般包括业务标识或接口标识等,具体格式视具体实现而定。The format of the above PEMP generally includes policy identifiers and extended parameters, etc., and the policy identifiers generally include service identifiers or interface identifiers, etc., and the specific format depends on the specific implementation.

例如,一种按照业务标识设置的PEMP的格式如下述表2所示,For example, the format of a PEMP set according to the service identifier is shown in Table 2 below,

表2:按照业务标识设置的PEMPTable 2: PEMP set according to business identification

  业务标识Business logo  扩展参数(扩展值/扩展长度或二进制值)Extended parameters (extended value/extended length or binary value)  高速上网(HSI)High Speed Internet Access (HSI)  x/m或b1(如:1/5或00001)x/m or b1 (eg: 1/5 or 00001)  互联网电视(IPTV)Internet TV (IPTV)  y/m或b2(如:2/5或00010)y/m or b2 (eg: 2/5 or 00010)  IP电话(VoIP)Voice over IP (VoIP)  z/m或b3(如:3/5或00011)z/m or b3 (eg: 3/5 or 00011)

上述表2中的x、y和Z表示不同业务标识所对应的扩展值,m表示扩展的长度,b1、b2和b3表示不同业务标识所对应的连续的二进制序列值。例如:主机通过DHCP消息的Option60或User Class Option(用户类型选项)发送业务标识给RG,RG然后根据业务标识等策略标识获取相应的PEMP扩展参数(如:x/m或b1),根据PEMP扩展参数扩展地址前缀(如:RG申请的前缀为2002:db8:200:100::/56,x/m为1/5或b1为00001,则将前缀2002:db8:200:100::/56转化为二进制00100000000000100000110110111000 0000001000000000 00000001,扩展后的前缀为0010000000000010 0000110110111000 00000010000000000000000100001,即2002:db8:200:108::/61),利用扩展后的地址前缀给主机分配地址或再次指定前缀。The x, y and Z in the above Table 2 represent the extended values corresponding to different service identities, m represents the extended length, and b1, b2 and b3 represent the continuous binary sequence values corresponding to different service identities. For example: the host sends the service identifier to the RG through Option60 or User Class Option (user type option) of the DHCP message, and the RG then obtains the corresponding PEMP extension parameters (such as: x/m or b1) according to the service identifier and other policy identifiers, according to the PEMP extension Parameter extension address prefix (for example: the prefix applied by RG is 2002:db8:200:100::/56, x/m is 1/5 or b1 is 00001, then the prefix 2002:db8:200:100::/56 Converted to binary 001000000000100000110110111000 000000000000000 00000001, the extended prefix is 00100000000000101101110111000010000000000000000100001, which is 2002: db8: 108: 108 ::/61).

一种根据上述按照业务标识设置的PEMP分配的地址结构示意图如图3所示。RG获取n(如:56)比特的前缀地址后,对该前缀地址进行扩展,在该前缀地址的后面右对齐添加m比特数据。然后,根据n+m比特的前缀地址为下级网络设备分配128比特的IPV6地址或再次指定地址前缀,128比特的IPV6地址中除了上述n+m比特的前缀地址后的比特位用于表示下级网络设备的接口标志,该接口标志由下级网络设备根据接口信息生成,如根据下级网络设备接口的以太网MAC(Medium Access Control,媒体接入控制)地址生成。上述扩展的m比特可以标识业务标识,上级网络设备中的业务呈现点(POP,Point Of Presence)路由器可以根据IP地址中的m比特业务域识别和控制业务。A schematic diagram of an address structure allocated according to the above PEMP set according to the service identifier is shown in FIG. 3 . After the RG obtains a prefix address of n (eg: 56) bits, it expands the prefix address, and right-aligns and adds m-bit data behind the prefix address. Then, assign a 128-bit IPV6 address to the lower-level network device according to the n+m-bit prefix address or specify the address prefix again, and the bits after the 128-bit IPV6 address except the above-mentioned n+m-bit prefix address are used to indicate the lower-level network The interface mark of the device, the interface mark is generated by the lower-level network device according to the interface information, such as according to the Ethernet MAC (Medium Access Control, Media Access Control) address of the lower-level network device interface. The above-mentioned extended m bits can identify the service identifier, and the service presence point (POP, Point Of Presence) router in the upper-level network device can identify and control the service according to the m-bit service field in the IP address.

一种按照接口标识设置的PEMP的格式如下述表3所示。A format of PEMP set according to the interface identifier is shown in Table 3 below.

表3:按照前缀扩展分发设备的接口标识设置的PEMPTable 3: PEMP for Distributing the Device's Interface Identification Settings by Prefix Extension

  接口标识Interface ID  扩展参数(扩展值/扩展长度或二进制值)Extended parameters (extended value/extended length or binary value)  LAN0LAN0  a/m或b1(如:00001000)a/m or b1 (eg: 00001000)  LAN1LAN1  b/m或b2(如:00010000)b/m or b2 (eg: 00010000)  LAN2LAN2  c/m或b3(如:00011000)c/m or b3 (eg: 00011000)  WANWAN  d/m或b4(例如:2002:db8:200:100::/64表示为WAN接口分配一个前缀2002:db8:200:100的全局IPV6地址)d/m or b4 (for example: 2002:db8:200:100::/64 indicates that a global IPV6 address with a prefix of 2002:db8:200:100 is assigned to the WAN interface)

上述表3中的a、b和c表示不同接口标识所对应的扩展值,m表示扩展的长度,b1、b2和b3表示不同接口标识所对应的二进制序列值。例如:RG根据接口标识等策略标识获取相应的PEMP扩展参数(如:a/m或b1),根据PEMP扩展参数扩展地址前缀(如:RG申请的前缀为2002:db8:200:100::/56,a/m为1/8或b1为00001,则将前缀2002:db8:200:100::/56转化为二进制00100000000000100000110110111000 0000001000000000 00000001,扩展后的前缀为0010000000000010 0000110110111000 00000010000000000000000100001000,即2002:db8:200:108::/64),RG可以将扩展的地址前缀保存在地址池中。然后RG收到主机发送的DHCP消息或SLAA的RS消息,RG根据收到DHCP消息或RS消息的接口标识,根据接口标识获取对应的扩展后的地址前缀,然后根据对应的扩展后的地址前缀给主机分配地址或再次指定前缀。RG还可以获取本地接口标识,根据接口标识对应的PEMP扩展参数对地址前缀进行扩展,利用扩展后的地址前缀给本地接口(WAN或LAN)配置IPV6地址A, b and c in the above Table 3 represent the extension values corresponding to different interface identifiers, m represents the length of the extension, and b1, b2 and b3 represent the binary sequence values corresponding to different interface identifiers. For example: RG obtains the corresponding PEMP extension parameters (such as: a/m or b1) according to the policy identifier such as the interface identifier, and expands the address prefix according to the PEMP extension parameters (such as: the prefix applied by RG is 2002:db8:200:100::/ 56,a/m为1/8或b1为00001,则将前缀2002:db8:200:100::/56转化为二进制00100000000000100000110110111000 0000001000000000 00000001,扩展后的前缀为0010000000000010 0000110110111000 00000010000000000000000100001000,即2002:db8:200 :108::/64), the RG can save the extended address prefix in the address pool. Then the RG receives the DHCP message sent by the host or the RS message of SLAA, and the RG obtains the corresponding extended address prefix according to the interface identifier of the received DHCP message or RS message, and then sends the corresponding extended address prefix to the The host assigns an address or specifies a prefix again. The RG can also obtain the local interface ID, extend the address prefix according to the PEMP extension parameters corresponding to the interface ID, and use the extended address prefix to configure an IPV6 address for the local interface (WAN or LAN)

通过上述的PEMP扩展地址前缀后,前缀扩展分发设备可以按照业务或接口等给下级网络分配地址或再次指定地址前缀,上级网络设备可以通过地址前缀对业务或不同接口下面的下级网络分配进行区分或识别,不同业务对应不同的地址前缀,同一种业务具有相同的业务域。上级网络设备可以根据地址前缀对下级网络设备的流量进行统一的控制和管理,例如部署QoS(服务质量)策略或设置数据流门控等。After the address prefix is extended through the above PEMP, the prefix extension distribution device can assign addresses to the lower-level network according to services or interfaces or specify the address prefix again. Identification, different services correspond to different address prefixes, and the same service has the same service domain. The upper-level network device can uniformly control and manage the traffic of the lower-level network device according to the address prefix, such as deploying QoS (Quality of Service) policies or setting data flow gate control.

该实施例提供的一种作为地址前缀分发的管理装置的前缀扩展分发设备,如图4所示,包括如下模块:A prefix extension distribution device provided in this embodiment as a management device for address prefix distribution, as shown in FIG. 4 , includes the following modules:

信息获取模块41,用于获取地址前缀和PEMP,所述PEMP中包括策略标识和地址前缀扩展参数之间的对应关系;;An information acquisition module 41, configured to acquire an address prefix and a PEMP, where the PEMP includes a correspondence between a policy identifier and an address prefix extension parameter;

地址管理模块42,用于获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展,利用扩展后的地址前缀给所述下级网络设备分配地址或再次指定地址前缀。所述下级网络设备包括:PC主机、STB或IAD等。The address management module 42 is configured to obtain a policy identifier, query the prefix extension management strategy according to the policy identifier to obtain corresponding address prefix extension parameters, extend the address prefix according to the address prefix extension parameters, and use the extended address prefix An address is assigned to the lower-level network device or an address prefix is assigned again. The lower-level network devices include: PC host, STB or IAD, etc.

该装置还可以包括:The device can also include:

信息存储模块43,用于存储所述信息获取模块所获取的地址前缀和PEMP。An information storage module 43, configured to store the address prefix and PEMP acquired by the information acquisition module.

所述信息获取模块41具体包括:The information acquisition module 41 specifically includes:

地址前缀获取模块411,用于从作为地址管理器的上级网络设备中获取地址前缀,所述作为地址管理器的上级网络设备包括:DHCP服务器、IP边缘路由器等;The address prefix obtaining module 411 is configured to obtain an address prefix from an upper-level network device as an address manager, and the upper-level network device as an address manager includes: a DHCP server, an IP edge router, etc.;

前缀扩展管理策略获取模块412,用于从作为策略管理器的上级网络设备中获取PEMP,所述作为策略管理器的上级网络设备包括:ACS、NAS、BNG、DHCP服务器或IP边缘路由器等。The prefix extension management policy acquiring module 412 is configured to acquire PEMP from an upper-level network device as a policy manager, and the upper-level network device as a policy manager includes: ACS, NAS, BNG, DHCP server or IP edge router, etc.

所述地址管理模块具体43包括:Described address management module concrete 43 comprises:

地址前缀扩展模块431,用于根据下级网络设备的请求获取策略标识,所述策略标识包括下级网络设备的业务标识或连接下级网络设备的接口标识;或者,根据本地设备的接口标识获取策略标识,根据策略标识查询所述前缀扩展管理策略获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述获取的地址前缀进行扩展;The address prefix extension module 431 is configured to obtain a policy identifier according to a request from a lower-level network device, where the policy identifier includes a service identifier of the lower-level network device or an interface identifier connected to the lower-level network device; or, acquire a policy identifier according to an interface identifier of a local device, Querying the prefix extension management policy according to the policy identifier to obtain corresponding address prefix extension parameters, and extending the obtained address prefix according to the address prefix extension parameters;

分配管理模块432,用于利用扩展后的地址前缀给所述下级网络设备或本地设备的接口分配地址或再次指定地址前缀。The assignment management module 432 is configured to use the extended address prefix to assign an address to the interface of the lower-level network device or the local device or assign an address prefix again.

所述装置包括:RG、CPE、AP或无线基站BS等。The device includes: RG, CPE, AP or wireless base station BS and so on.

实施例二Embodiment two

该实施例提供的通过DHCP服务器和AAA服务器实现PEMP管理的处理流程,如图5所示,其中Host为主机,RG为前缀扩展分发设备;NAS为策略管理器;DHCP服务器为地址管理器;AAA服务器可以负责提供PEMP,所述PEMP可以是AAA服务器从其他设备获得的,也可以是在AAA服务器上生成的;主机(Host)为前缀扩展分发设备的下级网络设备,具体处理过程包括如下处理步骤:The processing flow that this embodiment provides realizes PEMP management by DHCP server and AAA server, as shown in Figure 5, wherein Host is a host computer, and RG is a prefix extension distribution device; NAS is a policy manager; DHCP server is an address manager; AAA The server can be responsible for providing PEMP, and the PEMP can be obtained by the AAA server from other devices, or can be generated on the AAA server; the host (Host) is the lower-level network device of the prefix extension distribution device, and the specific processing process includes the following processing steps :

步骤51、集成了DHCP客户端的RG发送DHCP Solicit消息给NAS,DHCP Solicit消息中可以携带PEMP管理指示参数(例如:RG的接口标识列表或RG业务标识列表)和/或前缀分配指示选项(IA-PD Option)等指示信息,该指示信息可以通过扩展DHCP Solicit消息中的DHCP option来携带。上述前缀分配指示选项用于请求地址前缀,PEMP管理指示参数用于请求PEMP。Step 51. The RG integrated with the DHCP client sends a DHCP Solicit message to the NAS. The DHCP Solicit message can carry PEMP management indication parameters (for example: RG interface identification list or RG service identification list) and/or prefix allocation indication options (IA- PD Option), the indication information can be carried by extending the DHCP option in the DHCP Solicit message. The above-mentioned prefix allocation indication option is used to request an address prefix, and the PEMP management indication parameter is used to request PEMP.

步骤52、集成了DHCP relay的NAS收到RG发送的DHCP Solicit消息后,缓存该DHCP Solicit消息,根据DHCP Solicit消息对RG的接入进行认证,如:NAS向AAA服务器发送Access Request消息,请求AAA服务器对该RG的接入进行认证。NAS可以将从DHCP Solicit消息提取的PEMP管理指示参数和/或前缀分配指示选项添加到Access Request消息中,PEMP管理指示参数和/或前缀分配指示选项可以映射到扩展的Access Request消息的TLV(TypeLength Value,类型长度值)。Step 52. After receiving the DHCP Solicit message sent by the RG, the NAS integrated with the DHCP relay caches the DHCP Solicit message, and authenticates the access of the RG according to the DHCP Solicit message. For example, the NAS sends an Access Request message to the AAA server to request AAA The server authenticates the access of the RG. The NAS can add the PEMP management indication parameters and/or prefix allocation indication options extracted from the DHCP Solicit message to the Access Request message, and the PEMP management indication parameters and/or prefix allocation indication options can be mapped to the TLV(TypeLength Value, type length value).

步骤53、AAA服务器收到NAS发送的Access Request消息后,对RG认证通过后,根据上述指示信息从订阅用户的模板中获取RG的PEMP。然后,将PEMP携带到Access Accept消息中,向NAS发送该Access Accept消息。PEMP可以映射到扩展的Access Accept消息的TLV中。Step 53: After receiving the Access Request message sent by the NAS, the AAA server obtains the PEMP of the RG from the template of the subscriber according to the above instruction information after passing the RG authentication. Then, carry the PEMP into the Access Accept message, and send the Access Accept message to the NAS. PEMP can be mapped to the TLV of the extended Access Accept message.

步骤54、NAS收到上述Access Accept消息,获取并缓存该AccessAccept消息中携带的PEMP,然后向DHCP服务器转发缓存的上述DHCPSolicit消息。Step 54: The NAS receives the Access Accept message, acquires and caches the PEMP carried in the AccessAccept message, and then forwards the cached DHCPSolicit message to the DHCP server.

步骤55、DHCP服务器收到DHCP Solicit消息后,向NAS发送作为响应的DHCP Advertise消息。Step 55: After receiving the DHCP Solicit message, the DHCP server sends a DHCP Advertise message as a response to the NAS.

步骤56、NAS收到上述DHCP Advertise消息,向RG转发该DHCPAdvertise消息。Step 56: The NAS receives the DHCP Advertise message and forwards the DHCP Advertise message to the RG.

步骤57、RG收到上述DHCP Advertise消息后,向NAS发送DHCPrequest消息。Step 57: After receiving the above-mentioned DHCP Advertise message, the RG sends a DHCPRequest message to the NAS.

步骤58、NAS收到DHCP request消息后,向DHCP服务器转发该DHCPrequest消息。Step 58: After receiving the DHCP request message, the NAS forwards the DHCPrequest message to the DHCP server.

步骤59、DHCP服务器收到DHCP request消息后,给RG分配地址前缀,然后将地址前缀携带在DHCP Reply消息中,向NAS发送该DHCP Reply消息。Step 59: After receiving the DHCP request message, the DHCP server assigns an address prefix to the RG, then carries the address prefix in the DHCP Reply message, and sends the DHCP Reply message to the NAS.

步骤510、NAS收到上述携带了地址前缀的DHCP Reply消息后,再将缓存的PEMP作为option添加到DHCP Reply消息中,向RG转发DHCP Reply消息。Step 510: After receiving the DHCP Reply message carrying the address prefix, the NAS adds the cached PEMP as an option to the DHCP Reply message, and forwards the DHCP Reply message to the RG.

NAS也可以将PEMP作为option添加到上述DHCP Advertise消息中,从而先将单独PEMP发送给RG。The NAS can also add PEMP as an option to the above-mentioned DHCP Advertise message, so as to first send a separate PEMP to the RG.

步骤511、RG收到上述DHCP Reply消息后,获取并存储该DHCP Reply消息中携带的PEMP和地址前缀。Step 511: After receiving the above-mentioned DHCP Reply message, the RG obtains and stores the PEMP and address prefix carried in the DHCP Reply message.

RG根据下级网络设备的请求获取策略标识,所述策略标识包括下级网络设备的业务标识或连接下级网络设备的接口标识。然后,RG根据策略标识查询上述PEMP获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展。The RG acquires a policy identifier according to a request from a lower-level network device, and the policy identifier includes a service identifier of the lower-level network device or an interface identifier connected to the lower-level network device. Then, the RG queries the PEMP according to the policy identifier to obtain corresponding address prefix extension parameters, and extends the address prefix according to the address prefix extension parameters.

RG还可以获取本地接口标识,根据本地接口标识获取策略标识。根据策略标识查询上述PEMP获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展。利用扩展后的地址前缀给本地接口(WAN或LAN)配置IPV6地址。The RG can also obtain the local interface identifier, and obtain the policy identifier according to the local interface identifier. The PEMP is queried according to the policy identifier to obtain corresponding address prefix extension parameters, and the address prefix is extended according to the address prefix extension parameters. Configure an IPv6 address for the local interface (WAN or LAN) with the extended address prefix.

步骤512、RG利用扩展后的地址前缀通过DHCP或SLAA给主机分配地址或再次指定地址前缀。例如:主机通过DHCP消息的Option60或User ClassOption(用户类型选项)发送业务标识给RG,RG然后根据业务标识等策略标识获取相应的PEMP扩展参数,根据PEMP扩展参数扩展地址前缀,利用扩展后的地址前缀给主机分配地址。RG还可以通过收到主机的DHCP消息或SLAA的RS消息的接口作为策略标识获取相应的PEMP扩展参数。Step 512 , the RG uses the extended address prefix to assign an address to the host through DHCP or SLAA or assign an address prefix again. For example: the host sends the service identifier to the RG through Option60 or User ClassOption (user type option) of the DHCP message, and the RG then obtains the corresponding PEMP extension parameters according to the service identifier and other policy identifiers, expands the address prefix according to the PEMP extension parameters, and uses the extended address The prefix assigns addresses to hosts. The RG can also obtain the corresponding PEMP extended parameters through the interface receiving the DHCP message from the host or the RS message from the SLAA as a policy identifier.

实施例三Embodiment Three

该实施例提供的通过SLAA实现PEMP管理的处理流程,如图6所示,包括如下处理步骤:The processing flow for implementing PEMP management through SLAA provided by this embodiment, as shown in FIG. 6 , includes the following processing steps:

步骤61、RG发送SLAA的Router Solicit消息给接入节点(AN),该消息可以携带PEMP管理指示参数,该PEMP管理指示参数可以通过扩展RouterSolicit消息的option来携带。Step 61. The RG sends a Router Solicit message of SLAA to the access node (AN). The message may carry a PEMP management indication parameter, and the PEMP management indication parameter may be carried by extending the option of the RouterSolicit message.

步骤62、AN收到RG发送的上述Router Solicit消息后,向NAS转发该Router Solicit消息。Step 62: After receiving the aforementioned Router Solicit message sent by the RG, the AN forwards the Router Solicit message to the NAS.

步骤63、NAS收到Router Solicit消息后,从本地或AAA服务器或策略服务器获取PEMP,NAS还可以根据PEMP管理指示参数的业务标识或接口标识等策略标识生成PEMP。NAS还给所述RG分配地址前缀。Step 63: After receiving the Router Solicit message, the NAS obtains the PEMP from the local or AAA server or the policy server, and the NAS can also generate the PEMP according to the policy identifier such as the business identifier or the interface identifier of the PEMP management instruction parameter. The NAS also assigns an address prefix to the RG.

然后,NAS将上述PEMP和地址前缀作为option添加到RA消息中,然后向RG发送该RA消息。Then, the NAS adds the PEMP and the address prefix as an option to the RA message, and then sends the RA message to the RG.

步骤64、RG收到上述RA消息后,获取并存储该RA消息中的PEMP和地址前缀。Step 64: After receiving the RA message, the RG acquires and stores the PEMP and address prefix in the RA message.

RG根据下级网络设备的请求获取策略标识,所述策略标识包括下级网络设备的业务标识或连接下级网络设备的接口标识。然后,RG根据策略标识查询上述PEMP获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展。The RG acquires a policy identifier according to a request from a lower-level network device, and the policy identifier includes a service identifier of the lower-level network device or an interface identifier connected to the lower-level network device. Then, the RG queries the PEMP according to the policy identifier to obtain corresponding address prefix extension parameters, and extends the address prefix according to the address prefix extension parameters.

RG还可以获取本地接口标识,根据本地接口标识获取策略标识。根据策略标识查询上述PEMP获取对应的地址前缀扩展参数,根据所述地址前缀扩展参数对所述地址前缀进行扩展。利用扩展后的地址前缀给本地接口(WAN或LAN)配置IPV6地址。The RG can also obtain the local interface identifier, and obtain the policy identifier according to the local interface identifier. The PEMP is queried according to the policy identifier to obtain corresponding address prefix extension parameters, and the address prefix is extended according to the address prefix extension parameters. Configure an IPv6 address for the local interface (WAN or LAN) with the extended address prefix.

步骤65、RG利用扩展后的地址前缀给主机分配地址或再次指定地址前缀。RG可以通过DHCP或SLAA给主机分配地址或再次指定地址前缀。Step 65, the RG uses the extended address prefix to assign an address to the host or specify the address prefix again. RG can assign addresses to hosts or specify address prefixes again through DHCP or SLAA.

实施例四Embodiment Four

该实施例提供的通过CWMP实现PEMP管理的处理流程,如图7所示,包括如下处理步骤:The processing flow for implementing PEMP management through CWMP provided in this embodiment, as shown in FIG. 7 , includes the following processing steps:

步骤71、RG通过DHCP PD从作为地址配置服务器的DHCP服务器获取地址前缀,RG获取的地址前缀一般为56位或48位(如:2002:db8:200:100::/56)。Step 71. The RG obtains the address prefix from the DHCP server serving as the address configuration server through the DHCP PD. The address prefix obtained by the RG is generally 56 or 48 bits (such as: 2002:db8:200:100::/56).

步骤72、RG通过CWMP(TR-069)从ACS获取PEMP,该PEMP可以存储在ACS中,也可以存储在其他策略服务器中。在本实施例中,如果PEMP存储在AAA服务器里,则ACS从AAA获取PEMP。例如:ACS负责将PEMP映射到CWMP协议消息的XML(Extensible Markup Language,扩展标记语言)参数。Step 72. The RG obtains the PEMP from the ACS through CWMP (TR-069). The PEMP can be stored in the ACS or in other policy servers. In this embodiment, if the PEMP is stored in the AAA server, the ACS obtains the PEMP from the AAA. For example: the ACS is responsible for mapping the PEMP to the XML (Extensible Markup Language, Extensible Markup Language) parameters of the CWMP protocol message.

上述步骤71和步骤72的执行顺序没有必然的先后联系,还可以同时执行。The order of execution of the above step 71 and step 72 is not necessarily linked, and they can also be executed at the same time.

步骤73、RG存储获取的PEMP或地址前缀,然后,RG还可以获取本地接口标识,根据接口标识对应的PEMP扩展参数对地址前缀进行扩展,利用扩展后的地址前缀给本地接口(WAN或LAN)配置IPV6地址;Step 73, RG stores the obtained PEMP or address prefix, and then, RG can also obtain the local interface identifier, extend the address prefix according to the PEMP extension parameter corresponding to the interface identifier, and use the extended address prefix to the local interface (WAN or LAN) Configure an IPV6 address;

步骤74、RG利用扩展后的地址前缀给主机分配地址或再次指定地址前缀。In step 74, the RG uses the extended address prefix to assign an address to the host or specify the address prefix again.

上述本发明各个实施例适用于IPv6、IPv9以及其他更高版本的IP地址的分配过程。The various embodiments of the present invention described above are applicable to the IP address allocation process of IPv6, IPv9 and other higher versions.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

综上所述,本发明实施例有效地解决了前缀扩展分发设备在给下级网络设备分配地址时的无序的问题,可以使前缀扩展分发设备根据预定的PEMP给下级网络设备分配IP地址或再次指定地址前缀,使得前缀扩展分发设备的变得可控和有序,极大地提高了网络管理能力。To sum up, the embodiment of the present invention effectively solves the disorder problem when the prefix extension distribution device assigns addresses to the lower-level network devices, and enables the prefix extension distribution device to assign IP addresses to the lower-level network devices according to the predetermined PEMP or to Specifying the address prefix makes the prefix extension distribution equipment controllable and orderly, which greatly improves the network management capability.

本发明实施例可以使运营商根据业务标识、接口标识等灵活定制PEMP,为家庭网络等网络中的下级网络设备的地址分配、业务控制等提供了很大的管理便利。The embodiments of the present invention enable operators to flexibly customize PEMP according to service identifiers, interface identifiers, etc., and provide great management convenience for address allocation and service control of lower-level network devices in networks such as home networks.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。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 (10)

CN2008101198527A2008-09-122008-09-12Method, device and system for managing address prefix distributionExpired - Fee RelatedCN101674288B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008101198527ACN101674288B (en)2008-09-122008-09-12Method, device and system for managing address prefix distribution

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008101198527ACN101674288B (en)2008-09-122008-09-12Method, device and system for managing address prefix distribution

Publications (2)

Publication NumberPublication Date
CN101674288Atrue CN101674288A (en)2010-03-17
CN101674288B CN101674288B (en)2013-02-13

Family

ID=42021278

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008101198527AExpired - Fee RelatedCN101674288B (en)2008-09-122008-09-12Method, device and system for managing address prefix distribution

Country Status (1)

CountryLink
CN (1)CN101674288B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102238075A (en)*2010-05-052011-11-09杭州华三通信技术有限公司IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102340452A (en)*2011-10-142012-02-01中兴通讯股份有限公司 A method and wireless device for implementing routing transmission based on a single IPv6 address prefix
CN102377830A (en)*2010-08-132012-03-14Tcl集团股份有限公司IP (Internet Protocol) address configuration method
WO2012100685A1 (en)*2011-01-282012-08-02华为技术有限公司Ip address configuration method, device and system
CN102694752A (en)*2011-03-212012-09-26国基电子(上海)有限公司Gateway equipment
CN102957758A (en)*2011-08-252013-03-06中国电信股份有限公司Address distribution method, address distribution system, address distribution DHCPv6 (dynamical host configuration protocol version 6) server and address distribution RG (routing gateway) equipment
WO2015123947A1 (en)*2014-02-212015-08-27中兴通讯股份有限公司Method and apparatus for delivering local area network information
US9325663B2 (en)2014-09-152016-04-26Sprint Communications Company L.P.Discovery of network address allocations and translations in wireless communication systems
CN102957758B (en)*2011-08-252016-12-14中国电信股份有限公司Address distribution method, system, DHCPv6 server and RG equipment
CN106454500A (en)*2016-10-312017-02-22北京小米移动软件有限公司Address allocating method and device for television host
US9609489B2 (en)2014-10-242017-03-28Sprint Communications Company L.P.Distribution of media content identifiers to wireless communication devices
CN106576119A (en)*2014-07-312017-04-19高通股份有限公司Delegation of prefixes to Wi-Fi clients connected to mobile access point routers
US9967734B1 (en)2014-11-242018-05-08Sprint Communications Company, L.P.Content delivery network request handling in wireless communication systems
US10015235B2 (en)2014-10-232018-07-03Sprint Communications Company L.P.Distribution of media content to wireless communication devices
CN109005252A (en)*2018-08-242018-12-14赛尔网络有限公司A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
US10200856B2 (en)2014-10-022019-02-05Sprint Communications Company L.P.Content-delivery footprint and capabilities data transfer from wireless communication devices
CN111586197A (en)*2020-04-232020-08-25中国信息通信研究院 A method and device for redistributing address prefixes
CN113542905A (en)*2020-04-222021-10-22中国移动通信集团有限公司Address allocation method, gateway, set-top box, device and storage medium
CN113691643A (en)*2020-12-112021-11-23浙江十进制网络有限公司Data packet transmission conversion method, internet and data packet processing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101127727B (en)*2007-09-282012-07-04电信科学技术研究院IP address configuration and mobile detection method for mobile IP

Cited By (28)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102238075A (en)*2010-05-052011-11-09杭州华三通信技术有限公司IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102377830A (en)*2010-08-132012-03-14Tcl集团股份有限公司IP (Internet Protocol) address configuration method
WO2012100685A1 (en)*2011-01-282012-08-02华为技术有限公司Ip address configuration method, device and system
CN102694752A (en)*2011-03-212012-09-26国基电子(上海)有限公司Gateway equipment
CN102694752B (en)*2011-03-212015-03-11国基电子(上海)有限公司Gateway equipment
CN102957758B (en)*2011-08-252016-12-14中国电信股份有限公司Address distribution method, system, DHCPv6 server and RG equipment
CN102957758A (en)*2011-08-252013-03-06中国电信股份有限公司Address distribution method, address distribution system, address distribution DHCPv6 (dynamical host configuration protocol version 6) server and address distribution RG (routing gateway) equipment
CN102340452A (en)*2011-10-142012-02-01中兴通讯股份有限公司 A method and wireless device for implementing routing transmission based on a single IPv6 address prefix
CN102340452B (en)*2011-10-142018-03-02中兴通讯股份有限公司A kind of method and wireless device that route transmission is realized based on single IPv6 address prefixs
WO2015123947A1 (en)*2014-02-212015-08-27中兴通讯股份有限公司Method and apparatus for delivering local area network information
CN106576119B (en)*2014-07-312020-04-21高通股份有限公司Method and apparatus for delegating prefixes to Wi-Fi clients
CN106576119A (en)*2014-07-312017-04-19高通股份有限公司Delegation of prefixes to Wi-Fi clients connected to mobile access point routers
US9325663B2 (en)2014-09-152016-04-26Sprint Communications Company L.P.Discovery of network address allocations and translations in wireless communication systems
US9705794B2 (en)2014-09-152017-07-11Sprint Communications Company L.P.Discovery of network address allocations and translations in wireless communication systems
US10200856B2 (en)2014-10-022019-02-05Sprint Communications Company L.P.Content-delivery footprint and capabilities data transfer from wireless communication devices
US11240658B2 (en)2014-10-022022-02-01Sprint Communications Company L.P.Content-delivery footprint and capabilities data transfer from wireless communication devices
US10015235B2 (en)2014-10-232018-07-03Sprint Communications Company L.P.Distribution of media content to wireless communication devices
US9609489B2 (en)2014-10-242017-03-28Sprint Communications Company L.P.Distribution of media content identifiers to wireless communication devices
US10567950B2 (en)2014-11-242020-02-18Sprint Communications Company L.P.Content delivery network request handling in wireless communication systems
US9967734B1 (en)2014-11-242018-05-08Sprint Communications Company, L.P.Content delivery network request handling in wireless communication systems
CN106454500A (en)*2016-10-312017-02-22北京小米移动软件有限公司Address allocating method and device for television host
CN106454500B (en)*2016-10-312019-09-10北京小米移动软件有限公司The address distribution method and device of TV host
CN109005252A (en)*2018-08-242018-12-14赛尔网络有限公司A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
CN113542905A (en)*2020-04-222021-10-22中国移动通信集团有限公司Address allocation method, gateway, set-top box, device and storage medium
CN113542905B (en)*2020-04-222024-05-03中国移动通信集团有限公司Address allocation method, gateway, set top box, equipment and storage medium
CN111586197A (en)*2020-04-232020-08-25中国信息通信研究院 A method and device for redistributing address prefixes
CN111586197B (en)*2020-04-232022-04-15中国信息通信研究院Method and device for redistributing address prefixes
CN113691643A (en)*2020-12-112021-11-23浙江十进制网络有限公司Data packet transmission conversion method, internet and data packet processing equipment

Also Published As

Publication numberPublication date
CN101674288B (en)2013-02-13

Similar Documents

PublicationPublication DateTitle
CN101674288B (en)Method, device and system for managing address prefix distribution
US7941512B2 (en)Use of IPv6 in access networks
US9485147B2 (en)Method and device thereof for automatically finding and configuring virtual network
US10103982B2 (en)System and method for automatic routing of dynamic host configuration protocol (DHCP) traffic
CN100502413C (en) Method for DHCP Relay to Request IP Address for DHCP Client
CN101232395B (en) A method for realizing automatic configuration and installation of network equipment
CN102158563B (en)Method, system and device for acquiring IPv6 (Internet Protocol Version 6) configuration information from IPv6 transition network
US20120324063A1 (en)Method, network device, and system for automatically configuring network device in ipv6 network
WO2010069181A1 (en)Method and system for configuring ipv6 address
CN103731394B (en)Method and equipment for configuring IPv6 transitional technologies on CPE
EP3108643B1 (en)Ipoe dual-stack subscriber for routed residential gateway configuration
CN101572692A (en)Method, system and equipment for IP address assignment
US10038646B2 (en)Method and apparatus for acquiring port range resource, and method and apparatus for allocating port range resource
CN101478576A (en)Method, apparatus and system for selecting service network
CN103916484B (en)The method and apparatus for configuring IP address
US9438507B2 (en)Routing aggregation and prefix delegation
CN101753633B (en)Method, system and equipment for allocating IPv6 (internet protocol version 6) prefixes
CN110855809B (en)Message processing method and device
CN102447746B (en)Information supply method, family gateway and family network system
US9100206B1 (en)Seamless architecture for cable access networks
JP5241957B2 (en) Method and apparatus for connecting a subscriber unit to an aggregation network supporting IPv6
CN108206783A (en)Address configuration method and its device in a kind of software defined network system
CN1744597A (en) Method for host user to obtain IP address parameters in IPv6 network
EP3108642B1 (en)Ipoe dual-stack subscriber for bridged residential gateway configuration
CN102340548B (en)A kind of control method of IPv6 user's access and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20130213


[8]ページ先頭

©2009-2025 Movatter.jp