[go: up one dir, main page]

WO2017206575A1 - Communication protocol access method, apparatus and system - Google Patents

Communication protocol access method, apparatus and system Download PDF

Info

Publication number
WO2017206575A1
WO2017206575A1 PCT/CN2017/077764 CN2017077764W WO2017206575A1 WO 2017206575 A1 WO2017206575 A1 WO 2017206575A1 CN 2017077764 W CN2017077764 W CN 2017077764W WO 2017206575 A1 WO2017206575 A1 WO 2017206575A1
Authority
WO
WIPO (PCT)
Prior art keywords
ipv6 prefix
request message
pcp
release
ipv6
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.)
Ceased
Application number
PCT/CN2017/077764
Other languages
French (fr)
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2017206575A1 publication Critical patent/WO2017206575A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • HG broadband access provides users with high-speed Internet access, wireless connectivity, Internet Protocol Television (IPTV), voice telephony and other services.
  • IPTV Internet Protocol Television
  • the BRAS device acts as an access server for the HG and provides an address allocation function for the HG.
  • the embodiment of the invention provides a method, a device and a system for accessing a communication protocol.
  • the address allocation protocol is the neighbor discovery protocol ND
  • the IPv6 prefix can be allocated.
  • the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.
  • receiving the response message returned by the broadband access server includes: receiving a PCP PD request response message returned by the broadband access server; parsing the PCP PD request response message to obtain an IPv6 prefix; and returning the IPv6 prefix to the IPv6 address pool.
  • the response result is encapsulated, and the response message is obtained by: encapsulating the IPv6 prefix, and obtaining a PCP PD request response message.
  • the receiving, by the PCP, the encapsulated IPv6 prefix request message includes: receiving, in the case of the IPv6 prefix request message, the PCP PD release request message sent by the gateway by using the PCP.
  • the response result is encapsulated, and the response message is obtained: the package release result is obtained, and the PCP is obtained.
  • the PD releases the response message.
  • returning the response message to the gateway includes: returning a PCP PD release response message to the gateway.
  • the encapsulating module includes: a first receiving unit, configured to receive an IPv6 prefix request request message of the IPv6 address pool, where the IPv6 prefix request message includes an IPv6 prefix request request message; the first encapsulating module is configured to encapsulate the IPv6 The prefix request request message is obtained by the PCP PD request request message.
  • the sending module includes: a first sending unit configured to send a PCP PD request request message to the broadband access server.
  • the encapsulating module includes: a third receiving unit, configured to receive an IPv6 prefix release request message of the IPv6 address pool and an IPv6 prefix to be released, where the IPv6 prefix request message includes an IPv6 prefix release request message;
  • the unit is configured to encapsulate an IPv6 prefix release request message and an IPv6 prefix to be released, to obtain a PCP PD release request message.
  • the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.
  • the receiving module includes: a first receiving unit, configured to receive, by using the PCP, a PCP PD request request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix request request message.
  • the obtaining module includes: a first sending unit configured to request an IPv6 prefix from the prefix pool according to the PCP PD request request message; and a second receiving unit configured to receive the IPv6 prefix returned by the prefix pool.
  • the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.
  • Step 1 parsing the PCP PD release request message, and obtaining an IPv6 prefix to be released;
  • the response result is encapsulated in S306, and the response message is:
  • Step1 Return a PCP PD release response message to the gateway.
  • FIG. 4 is a schematic structural diagram of a unit composition of an HG entity and a BRAS entity in the embodiment of the present invention
  • the PCP server unit function of the BRAS entity includes: receiving HG.
  • the Prefix Pool unit function of the BRAS entity includes: receiving an IPv6 prefix request request of the PCP server unit; assigning an IPv6 prefix, and returning to the PCP server unit.
  • the function of the Prefix Pool unit of the BRAS entity further includes: receiving an IPv6 prefix release request of the PCP server unit; releasing the IPv6 prefix according to the incoming IPv6 prefix, and returning the release result to the PCP server unit.
  • the PCP server When extended by Opcode, the PCP server encapsulates the assigned IPv6 prefix or the result of releasing the IPv6 prefix into the protocol protocol payload and sends it to the PCP client.
  • the PCP client parses the IPv6 prefix from the protocol payload of the PCP PD response message or The result of releasing the IPv6 prefix.
  • the PCP option When the PCP option is extended, the PD option is added.
  • the PCP server encapsulates the assigned IPv6 prefix or the result of releasing the IPv6 prefix into the PD option and sends it to the PCP client.
  • the PCP client parses the IPv6 from the PD option of the PCP message. Prefix or release the result of the IPv6 prefix.
  • FIG. 5 is a schematic diagram of an application procedure of an IPv6 prefix of an HG entity in the embodiment of the present invention.
  • FIG. 5 illustrates an application procedure of an IPv6 prefix of an HG entity:
  • Step 502 The PCP client unit of the HG entity acquires the IPv6 Pool unit IPv6 of the HG entity.
  • the prefix request encapsulates the PCP PD Request message and sends it to the BRAS entity.
  • Step 503 The PCP server unit of the BRAS entity receives the PCP PD request request message, and applies for an IPv6 prefix to the Prefix Pool unit of the BRAS entity.
  • Step 505 The PCP client unit of the HG entity receives the PCP PD request response message, parses the IPv6 prefix from the response message, and sends the IPv6 prefix to the IPv6 Pool unit of the HG entity.
  • Step 506 The IPv6 pool unit of the HG entity sets the IPv6 prefix obtained from the PCP client unit of the HG entity as an address pool.
  • the address pool serves as an address resource to receive the address request of the home terminal to request an IPv6 address.
  • FIG. 6 is a schematic diagram of a release procedure of an IPv6 prefix of an HG entity in the embodiment of the present invention.
  • FIG. 6 illustrates a release process of an IPv6 prefix of an HG entity:
  • Step 605 The PCP client unit of the HG entity receives the PCP PD release response message, parses the release result from the response message, and sends the release result to the IPv6 Pool unit of the HG entity.
  • Step 606 The PCP client unit sends the release result. If the result is successful, the IPv6 pool unit of the HG entity releases the IPv6 prefix and is no longer used as the address pool of the home terminal; if it fails, the subsequent processing is performed, and the subsequent processing includes However, it is not limited to: giving a prompt to the user, initiating a release process, and the like.
  • Step 802 The home gateway initiates an IPv6 prefix application, and sends a PCP PD request request message to the BRAS.
  • Step 804 The home terminal requests the home gateway to apply for an IPv6 address of 2011::1.
  • the usage protocol can be either the ND protocol or the DHCPv6. This process belongs to the process specified by the standard protocol and will not be described here.
  • a device for accessing a communication protocol is provided, and the device is used to implement the foregoing embodiments and optional implementations, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • Encapsulating module 92 configured to encapsulate an IPv6 prefix request message by using a port control protocol
  • the IPv6 prefix request message is encapsulated by the port control protocol; the encapsulated IPv6 prefix request message is sent to the broadband access server; and the response message returned by the broadband access server is received.
  • the address allocation protocol is the neighbor discovery protocol ND
  • the receiving module 96 includes: a second receiving unit 961, a first parsing unit 962, and a second sending unit 963, where
  • the second sending unit 963 is configured to return the IPv6 prefix to the IPv6 address pool.
  • the IPv6 prefix includes: an IPv6 prefix address and an IPv6 prefix length.
  • the second encapsulating unit 924 is configured to encapsulate the IPv6 prefix release request message and the IPv6 prefix to be released, to obtain a PCP PD release request message.
  • the third sending unit 942 is configured to send a PCP PD release request message to the broadband access server.
  • the receiving module 96 includes: a fourth receiving unit 964, a second parsing unit 965, and a fourth sending unit 966, wherein
  • FIG. 12 is a structural block diagram of a device for accessing a communication protocol according to Embodiment 4 of the present invention. As shown in FIG. 12, on the side of the broadband access server, the device includes: a receiving module 1202, an obtaining module 1204, a packaging module 1206, and a sending module 1208, where
  • the receiving module 1202 is configured to receive, by using a port control protocol, a gateway encapsulated IPv6 prefix request message.
  • the obtaining module 1204 is configured to obtain a response result corresponding to the IPv6 prefix request message.
  • the encapsulating module 1206 is configured to encapsulate the response result and obtain a response message.
  • the sending module 1208 is configured to return a response message to the gateway.
  • the first receiving unit 12021 is configured to receive, by using a port control protocol, a PCP PD request request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix request request message.
  • the first sending unit 12041 is configured to request an IPv6 prefix from the prefix pool Prefix Pool according to the PCP PD request request message.
  • the second receiving unit 12042 is configured to receive an IPv6 prefix returned by the prefix pool Prefix Pool.
  • the first encapsulating unit 12061 is configured to encapsulate an IPv6 prefix to obtain a PCP PD request response message.
  • the sending module 1208 includes: a second sending unit 12081, where
  • the third receiving unit 12022 is configured to receive, by using a port control protocol, a PCP PD release request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix release request message.
  • the obtaining module 1204 includes: a parsing unit 12043, a third sending unit 12044, and a fourth receiving unit 12045, where
  • the third sending unit 12044 is configured to request, according to the PCP PD release request message, to release the IPv6 prefix to be released to the prefix pool Prefix Pool;
  • the fourth receiving unit 12045 is configured to receive the release result returned by the prefix pool Prefix Pool, and the release result includes: the release succeeds or the release fails.
  • the encapsulating module 1206 includes: a second encapsulating unit 12062, where
  • the second encapsulating unit 12062 is configured to encapsulate the release result to obtain a PCP PD release response message.
  • the fourth sending unit 12082 is configured to return a PCP PD release response message to the gateway.
  • the gateway device 1501 is the device for accessing the communication protocol shown in any of the foregoing FIG. 9 to FIG. 11;
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium may also be arranged to store program code for performing the following steps:
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, read only.
  • a medium that can store program code such as a memory (ROM, Read-Only Memory), a random access memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
  • the processor sends a PCP PD release request message to the broadband access server according to the stored program code in the storage medium.
  • the processor performs a PCP PD release response message returned by the broadband access server according to the stored program code in the storage medium; and parses the PCP PD release response message to obtain a release result, where the release result includes: The release succeeds or the release fails; the release result is returned to the IPv6 address pool.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a communication protocol access method, apparatus and system. The method comprises: encapsulating (IPv6) a prefix request message through a port control protocol (PCP); sending the encapsulated (IPv6) prefix request message to a broadband access server; and receiving a response message returned by the broadband access server. The embodiments of the present invention realize the distribution of a IPv6 prefix where an address allocation protocol is a neighbour discovery protocol, and expands the effect of accessing IPv6 of a domestic gateway.

Description

通信协议接入的方法、装置及系统Method, device and system for accessing communication protocol 技术领域Technical field

本文涉及但不限于通信领域,尤其涉及一种通信协议接入的方法、装置及系统。This document relates to, but is not limited to, the field of communications, and in particular, to a method, device and system for accessing a communication protocol.

背景技术Background technique

随着因特网协议第四版(Internet Protocol version 4,简称IPv4)地址资源枯竭等问题,因特网协议第六版IPv6(Internet Protocol Version 6,简称IPv6)将逐步取代IPv4。IPv6具有即插即用的特性,无需任何人工干涉,节点加入网络中即可获取IPv6地址、域名系统(Domain Name System,简称DNS)地址等网络参数。With the exhaustion of Internet Protocol version 4 (IPv4) address resources, Internet Protocol Version 6, IPv6, will gradually replace IPv4. IPv6 has a plug-and-play feature. Without any manual intervention, a node can join the network to obtain network parameters such as an IPv6 address and a Domain Name System (DNS) address.

宽带接入服务器(Broadband Remote Access Server,简称BRAS)是一种面向宽带网络应用的接入网关,是宽带接入网和骨干网之间的桥梁,提供基本的接入手段和宽带接入网的管理功能。它位于网络的边缘,提供宽带接入服务、实现多种业务的汇聚与转发,能满足不同用户对传输容量和带宽利用率的要求,因此是宽带用户接入的核心设备。BRAS对于接入的用户首先进行认证,认证通过允许用户访问宽带网络,认证失败拒绝用户访问宽带网络。The Broadband Remote Access Server (BRAS) is an access gateway for broadband network applications. It is a bridge between the broadband access network and the backbone network, providing basic access means and broadband access network. Management function. It is located at the edge of the network, provides broadband access services, and achieves convergence and forwarding of multiple services. It can meet the requirements of different users for transmission capacity and bandwidth utilization. Therefore, it is the core device for broadband users to access. The BRAS first authenticates the accessed user. The authentication allows the user to access the broadband network, and the authentication fails to deny the user access to the broadband network.

随着IPv6网络和业务的部署,IPv6的宽带接入服务越来越普遍。家庭网关(Home Gateway,简称HG)宽带接入作为一种常见的接入类型,为用户提供高速上网,无线连接,因特网协议电视(Internet Protocol Television,简称IPTV),语音电话等业务。BRAS设备作为HG的接入服务器,为HG提供地址分配功能。With the deployment of IPv6 networks and services, IPv6 broadband access services are becoming more and more popular. As a common access type, Home Gateway (HG) broadband access provides users with high-speed Internet access, wireless connectivity, Internet Protocol Television (IPTV), voice telephony and other services. The BRAS device acts as an access server for the HG and provides an address allocation function for the HG.

对于IPv6的HG宽带接入,BRAS为HG分配HG的IPv6地址,同时,BRAS为HG分配IPv6前缀。HG把分配的IPv6前缀作为IPv6地址池为家庭终端分配地址,家庭终端包括:网络电话(Voice over IP,简称VoIP)终端、个人电脑,IPTV机顶盒等。把BRAS向HG分配IPv6前缀的功能叫做前缀指派(Prefix Delegation,简称PD)。IPv6的动态主机配置协议(Dynamic  Host Configuration Protocol for IPv6,简称DHCPv6)协议提供了PD功能用来为HG分配IPv6前缀,当HG通过DHCPv6进行地址配置时,可以分配到IPv6前缀。但是邻居发现(Neighbor Discovery,简称ND)协议不支持PD功能,如果HG通过ND协议进行无状态自动配置时,不能分配到IPv6地址前缀。For IPv6 HG broadband access, the BRAS allocates an HG IPv6 address for the HG, and the BRAS allocates an IPv6 prefix for the HG. The HG allocates the IPv6 prefix as an IPv6 address pool to the home terminal, and the home terminal includes a Voice over IP (VoIP) terminal, a personal computer, and an IPTV set-top box. The function of assigning an IPv6 prefix to a BRAS is called Prefix Delegation (PD). IPv6 Dynamic Host Configuration Protocol (Dynamic The Host Configuration Protocol for IPv6 (DHCPv6) protocol provides the PD function to allocate an IPv6 prefix to the HG. When the HG is configured with the DHCPv6 address, the H6 can be assigned an IPv6 prefix. However, the Neighbor Discovery (ND) protocol does not support the PD function. If the HG performs stateless autoconfiguration through the ND protocol, it cannot be assigned an IPv6 address prefix.

发明概述Summary of invention

以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.

本发明实施例提供了一种通信协议接入的方法、装置及系统,在地址分配协议为邻居发现协议ND的情况下,能够分配IPv6前缀。The embodiment of the invention provides a method, a device and a system for accessing a communication protocol. When the address allocation protocol is the neighbor discovery protocol ND, the IPv6 prefix can be allocated.

根据本发明的一个实施例,提供了一种通信协议接入的方法,包括:通过端口控制协议封装IPv6前缀请求消息;将封装后的IPv6前缀请求消息发送至宽带接入服务器;接收宽带接入服务器返回的响应消息。According to an embodiment of the present invention, a method for accessing a communication protocol is provided, including: encapsulating an IPv6 prefix request message by using a port control protocol; transmitting the encapsulated IPv6 prefix request message to a broadband access server; receiving broadband access The response message returned by the server.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

可选的,通过端口控制协议PCP封装IPv6前缀请求消息,包括:在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;封装IPv6前缀申请请求消息,得到PCP PD申请请求消息。Optionally, the IPv6 prefix request message is encapsulated by the port control protocol (PCP), including: receiving an IPv6 prefix request request message of the IPv6 address pool, and encapsulating the IPv6 prefix request request message, where the IPv6 prefix request message includes the IPv6 prefix request request message, A PCP PD request request message is obtained.

可选的,将封装后的IPv6前缀请求消息发送至宽带接入服务器,包括:将PCP PD申请请求消息发送至宽带接入服务器。Optionally, sending the encapsulated IPv6 prefix request message to the broadband access server includes: sending a PCP PD request request message to the broadband access server.

可选的,接收宽带接入服务器返回的响应消息,包括:接收宽带接入服务器返回的PCP PD请求响应消息;解析PCP PD请求响应消息,得到IPv6前缀;将IPv6前缀返回IPv6地址池。Optionally, receiving the response message returned by the broadband access server includes: receiving a PCP PD request response message returned by the broadband access server; parsing the PCP PD request response message to obtain an IPv6 prefix; and returning the IPv6 prefix to the IPv6 address pool.

可选的,IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。Optionally, the IPv6 prefix includes: an IPv6 prefix address and an IPv6 prefix length.

可选的,通过PCP封装IPv6前缀请求消息,包括:在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;封装IPv6前缀释放请求消息和待释放的 IPv6前缀,得到PCP PD释放请求消息。Optionally, the IPv6 prefix request message is encapsulated by the PCP, including: receiving the IPv6 prefix release request message of the IPv6 address pool and the IPv6 prefix to be released in the case that the IPv6 prefix request message includes the IPv6 prefix release request message; and encapsulating the IPv6 prefix release Request message and pending release The IPv6 prefix is obtained as a PCP PD release request message.

可选的,将封装后的IPv6前缀请求消息发送至宽带接入服务器,包括:将PCP PD释放请求消息发送至宽带接入服务器。Optionally, sending the encapsulated IPv6 prefix request message to the broadband access server includes: sending a PCP PD release request message to the broadband access server.

可选的,接收宽带接入服务器返回的响应消息,包括:接收宽带接入服务器返回的PCP PD释放响应消息;解析PCP PD释放响应消息,得到释放结果,释放结果包括:释放成功或释放失败;将释放结果返回IPv6地址池。Optionally, receiving the response message returned by the broadband access server includes: receiving a PCP PD release response message returned by the broadband access server; parsing the PCP PD release response message, and obtaining a release result, where the release result includes: the release succeeds or the release fails; The result of the release is returned to the IPv6 address pool.

根据本发明的一个实施例,提供了另一种通信协议接入的方法,包括:通过端口控制协议PCP接收网关封装后的IPv6前缀请求消息;获取IPv6前缀请求消息对应的响应结果;封装响应结果,得到响应消息;向网关返回响应消息。According to an embodiment of the present invention, a method for accessing another communication protocol is provided, including: receiving, by a port control protocol, a PCP, an encapsulated IPv6 prefix request message; obtaining a response result corresponding to an IPv6 prefix request message; and packaging a response result. , get a response message; return a response message to the gateway.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

可选的,通过PCP接收网关封装后的IPv6前缀请求消息包括:在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过PCP接收网关发送的PCP PD申请请求消息。Optionally, the receiving, by the PCP, the encapsulated IPv6 prefix request message includes: receiving, by using the PCP, a PCP PD request request message sent by the gateway, where the IPv6 prefix request message includes the IPv6 prefix request request message.

可选的,获取IPv6前缀请求消息对应的响应结果包括:依据PCP PD申请请求消息向前缀池请求申请IPv6前缀;接收前缀池返回的IPv6前缀。Optionally, the response result corresponding to the obtaining the IPv6 prefix request message includes: requesting the IPv6 prefix from the prefix pool according to the PCP PD request request message; and receiving the IPv6 prefix returned by the prefix pool.

可选的,封装响应结果,得到响应消息包括:封装IPv6前缀,得到PCP PD请求响应消息。Optionally, the response result is encapsulated, and the response message is obtained by: encapsulating the IPv6 prefix, and obtaining a PCP PD request response message.

可选的,向网关返回响应消息包括:向网关返回PCP PD请求响应消息。Optionally, returning the response message to the gateway includes: returning a PCP PD request response message to the gateway.

可选的,通过PCP接收网关封装后的IPv6前缀请求消息包括:在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过PCP接收网关发送的PCP PD释放请求消息。Optionally, the receiving, by the PCP, the encapsulated IPv6 prefix request message includes: receiving, in the case of the IPv6 prefix request message, the PCP PD release request message sent by the gateway by using the PCP.

可选的,获取IPv6前缀请求消息对应的响应结果包括:解析PCP PD释放请求消息,得到待释放的IPv6前缀;依据PCP PD释放请求消息向前缀池请求释放待释放的IPv6前缀;接收前缀池返回的释放结果,释放结果包括:释放成功或释放失败。Optionally, the response result of the obtaining the IPv6 prefix request message includes: parsing the PCP PD release request message, and obtaining the IPv6 prefix to be released; requesting to release the IPv6 prefix to be released from the prefix pool according to the PCP PD release request message; The release result, the release result includes: release success or release failure.

可选的,封装响应结果,得到响应消息包括:封装释放结果,得到PCP  PD释放响应消息。Optionally, the response result is encapsulated, and the response message is obtained: the package release result is obtained, and the PCP is obtained. The PD releases the response message.

可选的,向网关返回响应消息包括:向网关返回PCP PD释放响应消息。Optionally, returning the response message to the gateway includes: returning a PCP PD release response message to the gateway.

根据本发明的另一个实施例,提供了一种通信协议接入的装置,包括:封装模块,用于通过端口控制协议PCP封装IPv6前缀请求消息;发送模块,用于将封装后的IPv6前缀请求消息发送至宽带接入服务器;接收模块,用于接收宽带接入服务器返回的响应消息。According to another embodiment of the present invention, an apparatus for accessing a communication protocol is provided, including: a packaging module, configured to encapsulate an IPv6 prefix request message by using a port control protocol (PCP), and a sending module, configured to: encapsulate the encapsulated IPv6 prefix request The message is sent to the broadband access server, and the receiving module is configured to receive a response message returned by the broadband access server.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

可选的,封装模块包括:第一接收单元,配置为在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;第一封装模块,用于封装IPv6前缀申请请求消息,得到PCP PD申请请求消息。Optionally, the encapsulating module includes: a first receiving unit, configured to receive an IPv6 prefix request request message of the IPv6 address pool, where the IPv6 prefix request message includes an IPv6 prefix request request message; the first encapsulating module is configured to encapsulate the IPv6 The prefix request request message is obtained by the PCP PD request request message.

可选的,发送模块包括:第一发送单元,配置为将PCP PD申请请求消息发送至宽带接入服务器。Optionally, the sending module includes: a first sending unit configured to send a PCP PD request request message to the broadband access server.

可选的,接收模块包括:第二接收单元,配置为接收宽带接入服务器返回的PCP PD请求响应消息;第一解析单元,配置为解析PCP PD请求响应消息,得到IPv6前缀;第二发送单元,配置为将IPv6前缀返回IPv6地址池。Optionally, the receiving module includes: a second receiving unit configured to receive a PCP PD request response message returned by the broadband access server; a first parsing unit configured to parse the PCP PD request response message to obtain an IPv6 prefix; and the second sending unit , configured to return the IPv6 prefix to the IPv6 address pool.

可选的,IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。Optionally, the IPv6 prefix includes: an IPv6 prefix address and an IPv6 prefix length.

可选的,封装模块包括:第三接收单元,配置为在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;第二封装单元,配置为封装IPv6前缀释放请求消息和待释放的IPv6前缀,得到PCP PD释放请求消息。Optionally, the encapsulating module includes: a third receiving unit, configured to receive an IPv6 prefix release request message of the IPv6 address pool and an IPv6 prefix to be released, where the IPv6 prefix request message includes an IPv6 prefix release request message; The unit is configured to encapsulate an IPv6 prefix release request message and an IPv6 prefix to be released, to obtain a PCP PD release request message.

可选的,发送模块包括:第三发送单元,配置为将PCP PD释放请求消息发送至宽带接入服务器。Optionally, the sending module includes: a third sending unit configured to send a PCP PD release request message to the broadband access server.

可选的,接收模块包括:第四接收单元,配置为接收宽带接入服务器返回的PCP PD释放响应消息;第二解析单元,配置为解析PCP PD释放响应消息,得到释放结果,释放结果包括:释放成功或释放失败;第四发送单元,配置为将释放结果返回IPv6地址池。 Optionally, the receiving module includes: a fourth receiving unit configured to receive a PCP PD release response message returned by the broadband access server; and a second parsing unit configured to parse the PCP PD release response message to obtain a release result, where the release result includes: The release succeeds or the release fails; the fourth sending unit is configured to return the release result to the IPv6 address pool.

根据本发明的另一个实施例,提供了另一种通信协议接入的装置,包括:接收模块,配置为通过端口控制协议PCP接收网关封装后的IPv6前缀请求消息;获取模块,配置为获取IPv6前缀请求消息对应的响应结果;封装模块,配置为封装响应结果,得到响应消息;发送模块,配置为向网关返回响应消息。According to another embodiment of the present invention, an apparatus for accessing another communication protocol is provided, including: a receiving module configured to receive a gateway encapsulated IPv6 prefix request message through a port control protocol PCP; and an obtaining module configured to acquire IPv6 The response result corresponding to the prefix request message; the encapsulating module is configured to encapsulate the response result, and obtain a response message; and the sending module is configured to return a response message to the gateway.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

可选的,接收模块包括:第一接收单元,配置为在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过PCP接收网关发送的PCP PD申请请求消息。Optionally, the receiving module includes: a first receiving unit, configured to receive, by using the PCP, a PCP PD request request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix request request message.

可选的,获取模块包括:第一发送单元,配置为依据PCP PD申请请求消息向前缀池请求申请IPv6前缀;第二接收单元,配置为接收前缀池返回的IPv6前缀。Optionally, the obtaining module includes: a first sending unit configured to request an IPv6 prefix from the prefix pool according to the PCP PD request request message; and a second receiving unit configured to receive the IPv6 prefix returned by the prefix pool.

可选的,封装模块包括:第一封装单元,配置为封装IPv6前缀,得到PCP PD请求响应消息。Optionally, the encapsulating module includes: a first encapsulating unit configured to encapsulate an IPv6 prefix, and obtain a PCP PD request response message.

可选的,发送模块包括:第二发送单元,配置为向网关返回PCP PD请求响应消息。Optionally, the sending module includes: a second sending unit configured to return a PCP PD request response message to the gateway.

可选的,接收模块包括:第三接收单元,配置为在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过PCP接收网关发送的PCP PD释放请求消息。Optionally, the receiving module includes: a third receiving unit, configured to receive, by using the PCP, a PCP PD release request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix release request message.

可选的,获取模块包括:解析单元,配置为解析PCP PD释放请求消息,得到待释放的IPv6前缀;第三发送单元,配置为依据PCP PD释放请求消息向前缀池请求释放待释放的IPv6前缀;第四接收单元,配置为接收前缀池返回的释放结果,释放结果包括:释放成功或释放失败。Optionally, the obtaining module includes: a parsing unit, configured to parse the PCP PD release request message, and obtain an IPv6 prefix to be released; and the third sending unit is configured to request, according to the PCP PD release request message, the IPv6 prefix to be released from the prefix pool. The fourth receiving unit is configured to receive the release result returned by the prefix pool, and the release result includes: the release succeeds or the release fails.

可选的,封装模块包括:第二封装单元,配置为封装释放结果,得到PCP PD释放响应消息。Optionally, the encapsulating module includes: a second encapsulating unit configured to encapsulate a release result, and obtain a PCP PD release response message.

可选的,发送模块包括:第四发送单元,配置为向网关返回PCP PD释放响应消息。 Optionally, the sending module includes: a fourth sending unit, configured to return a PCP PD release response message to the gateway.

根据本发明的又一个实施例,提供了一种通信协议接入的系统,包括:网关设备和宽带接入服务器,网关设备和宽带接入服务器通信连接,其中,网关设备为上述一种通信协议接入的装置;宽带接入服务器为上述另一种通信协议接入的装置。According to still another embodiment of the present invention, a system for accessing a communication protocol is provided, including: a gateway device and a broadband access server, a gateway device and a broadband access server, wherein the gateway device is a communication protocol Access device; the broadband access server is a device for accessing another communication protocol.

与相关技术相比,本发明实施例提供的技术方案,包括:通过端口控制协议(PCP)封装(IPv6)前缀请求消息;将封装后的IPv6前缀请求消息发送至宽带接入服务器;接收宽带接入服务器返回的响应消息;本发明实施例实现了在地址分配协议为邻居发现协议ND的情况下IPv6前缀的分配,扩展了家庭网关的IPv6接入的效果。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: using a Port Control Protocol (PCP) encapsulation (IPv6) prefix request message; sending the encapsulated IPv6 prefix request message to the broadband access server; receiving the broadband connection The response message is returned to the server. The embodiment of the present invention implements the allocation of the IPv6 prefix in the case that the address allocation protocol is the neighbor discovery protocol ND, and extends the effect of the IPv6 access of the home gateway.

在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.

附图概述BRIEF abstract

图1是本发明实施例的一种通信协议接入的方法的网关设备的硬件结构框图;1 is a block diagram showing the hardware structure of a gateway device of a method for accessing a communication protocol according to an embodiment of the present invention;

图2是本发明实施例一的通信协议接入的方法的流程图;2 is a flowchart of a method for accessing a communication protocol according to Embodiment 1 of the present invention;

图3是本发明实施例二的通信协议接入的方法的流程图;3 is a flowchart of a method for accessing a communication protocol according to Embodiment 2 of the present invention;

图4是本发明实施例中HG实体和BRAS实体的单元组成的结构示意图;4 is a schematic structural diagram of unit components of an HG entity and a BRAS entity in an embodiment of the present invention;

图5是本发明实施例中HG实体的IPv6前缀的申请流程示意图;5 is a schematic diagram of an application flow of an IPv6 prefix of an HG entity in an embodiment of the present invention;

图6是本发明实施例中HG实体的IPv6前缀的释放流程示意图;6 is a schematic diagram of a release procedure of an IPv6 prefix of an HG entity in an embodiment of the present invention;

图7是本发明实施例中使用家庭网关接入部署组网的结构示意图;7 is a schematic structural diagram of a home gateway access deployment network in the embodiment of the present invention;

图8是本发明实施例中IPv6地址和IPv6前缀分配过程的流程示意图;8 is a schematic flowchart of an IPv6 address and IPv6 prefix allocation process in an embodiment of the present invention;

图9是本发明实施例三的通信协议接入的装置的结构框图;9 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 3 of the present invention;

图10是本发明实施例三的一种通信协议接入的装置的结构框图;FIG. 10 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 3 of the present invention; FIG.

图11是本发明实施例三的另一种通信协议接入的装置的结构框图;11 is a structural block diagram of another apparatus for accessing a communication protocol according to Embodiment 3 of the present invention;

图12是本发明实施例四的通信协议接入的装置的结构框图;FIG. 12 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 4 of the present invention; FIG.

图13是本发明实施例四的一种通信协议接入的装置的结构框图; FIG. 13 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 4 of the present invention; FIG.

图14是本发明实施例四的另一种通信协议接入的装置的结构框图;14 is a structural block diagram of another apparatus for accessing a communication protocol according to Embodiment 4 of the present invention;

图15是本发明实施例五的通信协议接入的系统的结构框图。15 is a structural block diagram of a system for accessing a communication protocol according to Embodiment 5 of the present invention.

详述Detailed

下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.

本发明实施例涉及的技术名词:Technical terms related to embodiments of the present invention:

端口控制协议(Port Control Protocol,简称PCP)是解决NAT内部网络数据流接收的一种协议。当网络地址转换(Net Address Translation,简称NAT)内部网络的节点接收外部网络的流量时,如果内部节点没有和该流量的源端进行过连接,那么该流量在NAT设备上被丢弃。当流量经过NAT网络之前,使用PCP技术在NAT网络上建立关于该流量的映射,当流量到来时,能够穿过NAT网络而到达到其内部接收节点。PCP分为PCP客户端和PCP服务器端,PCP客户端通过PCP请求消息向PCP服务器端申请或者释放映射。同时,PCP协议也可以应用到IPv6网络中,实现IPv6防火墙的打洞,使外部流量穿越IPv6防火墙。Port Control Protocol (PCP) is a protocol for resolving the reception of NAT internal network data streams. When a node of the internal network of the Net Address Translation (NAT) receives the traffic of the external network, if the internal node does not connect to the source of the traffic, the traffic is discarded on the NAT device. Before the traffic passes through the NAT network, PCP technology is used to establish a mapping on the NAT network. When the traffic arrives, it can pass through the NAT network to reach its internal receiving node. The PCP is divided into a PCP client and a PCP server. The PCP client requests or releases the mapping to the PCP server through the PCP request message. At the same time, the PCP protocol can also be applied to the IPv6 network to implement hole punching of the IPv6 firewall, so that external traffic traverses the IPv6 firewall.

PCP有良好的可扩展性。通过扩展PCP报文的操作码(Opcode)字段和增加新的PCP选项可以扩展新的功能。PCP has good scalability. New features can be extended by extending the Opcode field of the PCP message and adding new PCP options.

邻居发现协议:Neighbor Discovery,简称ND;Neighbor Discovery Protocol: Neighbor Discovery, referred to as ND;

前缀指派:Prefix Delegation,简称PD;Prefix assignment: Prefix Delegation, referred to as PD;

家庭网关:Home Gateway,简称HG;Home Gateway: Home Gateway, referred to as HG;

宽带接入服务器:Broadband Remote Access Server,简称BRAS。Broadband Access Server: Broadband Remote Access Server, or BRAS for short.

实施例1Example 1

本申请实施例1所提供的方法实施例可以在移动终端、计算机终端、网关设备或者类似的运算装置中执行。以运行在网关设备上为例,图1是本发 明实施例的一种通信协议接入的方法的网关设备的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、配置为存储数据的存储器104、以及配置为通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,网关设备10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided by Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal, a gateway device, or the like. Take the example of running on a gateway device, Figure 1 is the hair A hardware block diagram of a gateway device of a method for accessing a communication protocol according to an embodiment of the present invention. As shown in FIG. 1, the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA). A memory 104 configured to store data and a transmission device 106 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, gateway device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than that shown in FIG.

存储器104可配置为存储应用软件的软件程序以及模块,如本发明实施例中的通信协议接入的方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至网关设备10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the method of accessing the communication protocol in the embodiment of the present invention, and the processor 102 runs the software program and module stored in the memory 104. Thereby performing various functional applications and data processing, that is, implementing the above method. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to gateway device 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

传输装置106配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括网关设备10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其配置为通过无线方式与互联网进行通讯。Transmission device 106 is configured to receive or transmit data via a network. The above-described network specific example may include a wireless network provided by a communication provider of the gateway device 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.

在本实施例中提供了一种运行于上述网关设备的方法,图2是本发明实施例的通信协议接入的方法的流程图,如图2所示,在网络设备侧,包括:In this embodiment, a method for operating the gateway device is provided. FIG. 2 is a flowchart of a method for accessing a communication protocol according to an embodiment of the present invention. As shown in FIG. 2, on the network device side, the method includes:

步骤(S)202,通过端口控制协议封装因特网协议第六版(IPv6)前缀请求消息;Step (S) 202, encapsulating an Internet Protocol version 6 (IPv6) prefix request message by using a port control protocol;

S204,将封装后的IPv6前缀请求消息发送至宽带接入服务器;S204. Send the encapsulated IPv6 prefix request message to the broadband access server.

S206,接收宽带接入服务器返回的响应消息。S206. Receive a response message returned by the broadband access server.

结合S202至S204,本申请实施例提供的通信协议接入的方法可以适用 于在ND协议下,通过PCP协议,使得在ND协议下支持PD功能。在网关设备侧,本申请实施例中提到的网关设备可以为HG。在本申请实施例中HG可以包括:PCP客户端单元和IPv6 Pool(IPv6地址池)单元。The method for accessing the communication protocol provided by the embodiment of the present application can be applied in combination with S202 to S204. Under the ND protocol, the PC function is supported by the PCP protocol under the ND protocol. On the gateway device side, the gateway device mentioned in this embodiment may be an HG. In the embodiment of the present application, the HG may include: a PCP client unit and an IPv6 Pool (IPv6 address pool) unit.

其中,PCP客户端单元接收IPv6 Pool发送的IPv6前缀请求消息,并封装该IPv6前缀请求消息,进而将封装后的IPv6前缀请求消息发送至宽带接入服务器(BRAS);接收该BRAS返回的响应消息。The PCP client unit receives the IPv6 prefix request message sent by the IPv6 Pool, and encapsulates the IPv6 prefix request message, and then sends the encapsulated IPv6 prefix request message to the broadband access server (BRAS); and receives the response message returned by the BRAS. .

在本申请实施例中IPv6前缀请求消息可以包括两种类型:类型一,IPv6前缀申请请求(即,本申请实施例中的IPv6前缀申请请求消息);类型二,IPv6前缀申请请求(即,本申请实施例中的IPv6前缀释放请求消息)。In the embodiment of the present application, the IPv6 prefix request message may include two types: type one, an IPv6 prefix request request (that is, an IPv6 prefix request request message in the embodiment of the present application); type two, an IPv6 prefix request request (ie, the present Apply the IPv6 prefix release request message in the embodiment.

本申请实施例提供的通信协议接入的方法中,通过端口控制协议封装IPv6前缀请求消息;将封装后的IPv6前缀请求消息发送至宽带接入服务器;接收宽带接入服务器返回的响应消息,实现了在地址分配协议为邻居发现协议ND的情况下IPv6前缀的分配,扩展了家庭网关的IPv6接入的效果。In the method for accessing the communication protocol provided by the embodiment of the present application, the IPv6 prefix request message is encapsulated by the port control protocol; the encapsulated IPv6 prefix request message is sent to the broadband access server; and the response message returned by the broadband access server is received. The allocation of the IPv6 prefix in the case where the address allocation protocol is the neighbor discovery protocol ND extends the effect of the IPv6 access of the home gateway.

结合上述S202至S206,在本申请实施例中依据IPv6前缀请求消息的类型,分别包括以下两种实现方式:In combination with the foregoing S202 to S206, in the embodiment of the present application, according to the type of the IPv6 prefix request message, the following two implementation manners are respectively included:

方式一:HG侧对IPv6前缀申请请求的发起过程。Manner 1: The initiation process of the IPv6 prefix request request on the HG side.

可选的,S202中通过端口控制协议(PCP)封装IPv6前缀请求消息,包括:Optionally, the S202 encapsulates an IPv6 prefix request message by using a Port Control Protocol (PCP), including:

Step1,在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;Step 1: Receive an IPv6 prefix request request message of an IPv6 address pool if the IPv6 prefix request message includes an IPv6 prefix request request message;

Step2,封装IPv6前缀申请请求消息,得到PCP PD申请请求消息。Step 2: Encapsulating an IPv6 prefix request request message, and obtaining a PCP PD request request message.

结合步骤Step1和Step2,在本申请实施例中,依据HG的内部结构,PCP客户端单元接收IPv6 Pool(IPv6地址池)单元(即,本申请实施例中的IPv6地址池)的IPv6前缀申请请求消息,PCP客户端单元依据PCP协议封装IPv6前缀申请请求消息(即,IPv6前缀申请请求),得到PCP PD申请请求消息,即,PCP PD申请请求消息。In combination with the steps Step1 and Step2, in the embodiment of the present application, the PCP client unit receives the IPv6 prefix request request of the IPv6 Pool (IPv6 address pool) unit (ie, the IPv6 address pool in the embodiment of the present application) according to the internal structure of the HG. The message, the PCP client unit encapsulates the IPv6 prefix request request message (ie, the IPv6 prefix request request) according to the PCP protocol, and obtains a PCP PD request request message, that is, a PCP PD request request message.

可选的,S204中将封装后的IPv6前缀请求消息发送至宽带接入服务器,包括: Optionally, the encapsulated IPv6 prefix request message is sent to the broadband access server in S204, including:

Step1,将PCP PD申请请求消息发送至宽带接入服务器。Step1: Send a PCP PD request request message to the broadband access server.

可选的,基于S202中的Step1和Step2得到的封装好的PCP PD申请请求消息,PCP客户端单元将该PCP PD申请请求消息发送至BRAS。Optionally, based on the encapsulated PCP PD request request message obtained by Step 1 and Step 2 in S202, the PCP client unit sends the PCP PD request request message to the BRAS.

可选的,S206中接收宽带接入服务器返回的响应消息,包括:Optionally, the receiving the response message returned by the broadband access server in S206, including:

Step1,接收宽带接入服务器返回的PCP PD请求响应消息;Step1: Receive a PCP PD request response message returned by the broadband access server.

Step2,解析PCP PD请求响应消息,得到IPv6前缀;Step 2, parsing the PCP PD request response message, and obtaining an IPv6 prefix;

Step3,将IPv6前缀返回IPv6地址池。Step 3: Return the IPv6 prefix to the IPv6 address pool.

可选的,结合S206中的Step1至Step3,PCP客户端单元接收BRAS返回的控制协议前缀指派PCP PD请求响应消息,并通过解析该PCP PD请求响应消息,得到IPv6前缀,进而将该IPv6前缀返回IPv6地址池,即,本申请实施例中的IPv6 Pool(IPv6地址池)单元。Optionally, in combination with Step 1 to Step 3 in S206, the PCP client unit receives the control protocol prefix returned by the BRAS to assign a PCP PD request response message, and obtains an IPv6 prefix by parsing the PCP PD request response message, thereby returning the IPv6 prefix. An IPv6 address pool, that is, an IPv6 pool (IPv6 address pool) unit in this embodiment of the present application.

可选的,IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。Optionally, the IPv6 prefix includes: an IPv6 prefix address and an IPv6 prefix length.

方式二:HG侧对IPv6前缀释放请求的发起过程。Manner 2: The process of initiating an IPv6 prefix release request on the HG side.

可选的,S202中通过PCP封装IPv6前缀请求消息,包括:Optionally, the STP encapsulates the IPv6 prefix request message by using the PCP, including:

Step1,在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;Step 1: In the case that the IPv6 prefix request message includes an IPv6 prefix release request message, receive an IPv6 prefix release request message of the IPv6 address pool and an IPv6 prefix to be released;

Step2,封装IPv6前缀释放请求消息和待释放的IPv6前缀,得到PCP PD释放请求消息。Step 2: Encapsulating an IPv6 prefix release request message and an IPv6 prefix to be released, and obtaining a PCP PD release request message.

可选的,结合方式二S202中的Step1和Step2,区别于方式一中的S202,在方式二中,HG的PCP客户端单元接收IPv6 Pool单元的IPv6前缀释放请求和需要释放的IPv6前缀,进而封装该IPv6前缀释放请求和需要释放的IPv6前缀得到PCP PD释放请求消息。Optionally, Step 1 and Step 2 in the second mode S202 are different from S202 in the first mode. In the second mode, the PCP client unit of the HG receives the IPv6 prefix release request of the IPv6 Pool unit and the IPv6 prefix to be released, and further The IPv6 prefix release request and the IPv6 prefix to be released are encapsulated to obtain a PCP PD release request message.

可选的,S204中将封装后的IPv6前缀请求消息发送至宽带接入服务器,包括:Optionally, the encapsulated IPv6 prefix request message is sent to the broadband access server in S204, including:

Step1,将PCP PD释放请求消息发送至宽带接入服务器。Step1: Send a PCP PD release request message to the broadband access server.

可选的,基于方式二中S202中的Step1和Step2,PCP客户端单元将PCP PD释放请求消息发送至BRAS。 Optionally, based on Step 1 and Step 2 in S202 of the second mode, the PCP client unit sends a PCP PD release request message to the BRAS.

可选的,S206中接收宽带接入服务器返回的响应消息,包括:Optionally, the receiving the response message returned by the broadband access server in S206, including:

Step1,接收宽带接入服务器返回的PCP PD释放响应消息;Step 1: Receive a PCP PD release response message returned by the broadband access server.

Step2,解析PCP PD释放响应消息,得到释放结果,释放结果包括:释放成功或释放失败;Step 2, parsing the PCP PD release response message, and obtaining a release result, where the release result includes: release success or release failure;

Step3,将释放结果返回IPv6地址池。Step 3, the release result is returned to the IPv6 address pool.

可选的,S206中的结合Step1至Step3,PCP客户端单元接收BRAS返回的PCP PD释放响应消息,通过解析该PCP PD释放响应消息,可以得到该PCP PD释放响应消息中的释放结果。Optionally, in combination with Step 1 to Step 3 in S206, the PCP client unit receives the PCP PD release response message returned by the BRAS, and parses the PCP PD release response message to obtain a release result in the PCP PD release response message.

这里在HG侧可以依据释放结果执行相应的处理流程,例如,当释放结果为失败的情况下,HG将把释放失败这一结果告知接入的用户设备,和/或发起第二次释放流程,即,方式二情况下的S202至S206。Here, the HG side can perform a corresponding processing flow according to the release result. For example, when the release result is a failure, the HG will notify the accessed user equipment of the result of the release failure, and/or initiate a second release process. That is, in the case of the second mode, S202 to S206.

综上,HG实体的PCP客户端单元功能包括:接收IPv6 Pool单元的IPv6前缀申请请求;向BRAS实体的PCP服务器单元发送PCP PD申请请求消息;接收BRAS实体的PCP服务器单元返回的PCP PD请求响应消息;从PCP PD消息解析出IPv6前缀,并返回给IPv6 Pool单元。In summary, the PCP client unit function of the HG entity includes: receiving an IPv6 prefix request request of the IPv6 Pool unit; sending a PCP PD request request message to the PCP server unit of the BRAS entity; and receiving the PCP PD request response returned by the PCP server unit of the BRAS entity. Message; parsing the IPv6 prefix from the PCP PD message and returning it to the IPv6 Pool unit.

HG实体的PCP客户端单元功能还包括:接收IPv6 Pool单元的IPv6前缀释放请求和需要释放的IPv6前缀;向BRAS实体的PCP服务器单元发送PCP PD释放请求消息,把释放的IPv6前缀封装到PCP PD释放请求消息中;接收BRAS实体的PCP服务器单元返回的PCP PD释放响应消息,响应消息中包含释放结果,释放结果包括:失败或者成功;把释放结果返回给HG实体的IPv6 Pool单元。The function of the PCP client unit of the HG entity further includes: receiving an IPv6 prefix release request of the IPv6 Pool unit and an IPv6 prefix to be released; sending a PCP PD release request message to the PCP server unit of the BRAS entity, and encapsulating the released IPv6 prefix to the PCP PD The release request message is received; the PCP PD release response message returned by the PCP server unit of the BRAS entity is received, and the response message includes a release result, and the release result includes: failure or success; and the release result is returned to the IPv6 Pool unit of the HG entity.

HG实体的IPv6 Pool单元功能包括:向PCP客户端单元申请IPv6前缀;接收PCP客户端单元返回的IPv6前缀。The IPv6 Pool unit function of the HG entity includes: requesting an IPv6 prefix from the PCP client unit; and receiving an IPv6 prefix returned by the PCP client unit.

HG实体的IPv6 Pool单元功能还包括:向PCP客户端单元请求释放IPv6前缀,并传入需要释放的IPv6前缀;接收PCP客户端单元返回的释放结果。The IPv6 Pool unit function of the HG entity further includes: requesting the release of the IPv6 prefix from the PCP client unit, and passing in the IPv6 prefix to be released; receiving the release result returned by the PCP client unit.

本发明实施例还提供一种通信协议接入装置,包括:存储器和处理器;其中,The embodiment of the invention further provides a communication protocol access device, comprising: a memory and a processor; wherein

处理器被配置为执行所述存储器中的程序指令; A processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions perform the following operations on the processor read:

通过端口控制协议(PCP)封装因特网协议第六版(IPv6)前缀请求消息;Encapsulating an Internet Protocol version 6 (IPv6) prefix request message through a Port Control Protocol (PCP);

将封装后的所述IPv6前缀请求消息发送至宽带接入服务器;Transmitting the encapsulated IPv6 prefix request message to the broadband access server;

接收所述宽带接入服务器返回的响应消息。Receiving a response message returned by the broadband access server.

实施例2Example 2

本申请实施例提供了另一种通信协议接入的方法,图3是本发明实施例的通信协议接入的方法的流程图,如图3所示,在宽带接入服务器侧,包括:The embodiment of the present application provides another method for accessing a communication protocol. FIG. 3 is a flowchart of a method for accessing a communication protocol according to an embodiment of the present invention. As shown in FIG. 3, the broadband access server includes:

S302,通过端口控制协议(PCP)接收网关封装后的IPv6前缀请求消息;S302. Receive a gateway encapsulated IPv6 prefix request message by using a port control protocol (PCP).

S304,获取IPv6前缀请求消息对应的响应结果;S304. Acquire a response result corresponding to the IPv6 prefix request message.

S306,封装响应结果,得到响应消息;S306, encapsulating the response result, and obtaining a response message;

S308,向网关返回响应消息。S308. Return a response message to the gateway.

结合S302~S308,对应实施例1的网关设备侧,即,S302至S308中的网关侧,本申请实施例中的BRAS,BRAS通过PCP服务端接收网关封装后的IPv6前缀请求消息,即,BRAS实体的PCP服务器单元接收HG单元的PCP PD申请请求消息;向前缀池(Prefix Pool)单元请求申请IPv6前缀,并获取该Prefix Pool单元返回的IPv6前缀,将该IPv6前缀进行封装得到响应消息,并将该响应消息返回HG。In conjunction with S302-S308, corresponding to the gateway device side of Embodiment 1, that is, the gateway side in S302 to S308, the BRAS in the embodiment of the present application receives the IPv6 prefix request message encapsulated by the gateway through the PCP server, that is, the BRAS. The PCP server unit of the entity receives the PCP PD request request message of the HG unit, requests the prefix pool (Prefix Pool) unit to apply for the IPv6 prefix, obtains the IPv6 prefix returned by the Prefix Pool unit, and encapsulates the IPv6 prefix to obtain a response message, and Return the response message to HG.

本申请实施例提供的通信协议接入的方法中,通过端口控制协议接收网关封装后的IPv6前缀请求消息;获取IPv6前缀请求消息对应的响应结果;封装响应结果,得到响应消息;向网关返回响应消息,解决了相关技术中在地址分配协议为邻居发现协议ND的情况下,不能分配IPv6前缀的问题,进而达到了扩展家庭网关的IPv6接入的效果。In the method for accessing the communication protocol provided by the embodiment of the present application, the port control protocol receives the IPv6 prefix request message encapsulated by the gateway; obtains the response result corresponding to the IPv6 prefix request message; encapsulates the response result, and obtains a response message; returns a response to the gateway. The message solves the problem that the IPv6 prefix cannot be allocated when the address allocation protocol is the neighbor discovery protocol ND in the related art, thereby achieving the effect of extending the IPv6 access of the home gateway.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。 Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

结合上述S302至S308,在本申请实施例中依据IPv6前缀请求消息的类型,分别包括以下两种实现方式:In combination with the foregoing S302 to S308, in the embodiment of the present application, according to the type of the IPv6 prefix request message, the following two implementation manners are respectively included:

方式一:BRAS侧对IPv6前缀申请请求的处理过程。Manner 1: The BRAS side processes the IPv6 prefix request request.

可选的,S302中通过端口控制协议接收网关封装后的IPv6前缀请求消息包括:Optionally, the receiving, by the port control protocol, the IPv6 prefix request message encapsulated by the gateway in S302 includes:

Step1,在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过PCP接收网关发送的PCP PD申请请求消息。Step 1: In the case that the IPv6 prefix request message includes an IPv6 prefix request request message, the PCP PD request request message sent by the gateway is received by the PCP.

可选的,S304中获取IPv6前缀请求消息对应的响应结果包括:Optionally, the response result corresponding to the obtaining the IPv6 prefix request message in S304 is:

Step1,依据PCP PD申请请求消息向前缀池(Prefix Pool)请求申请IPv6前缀;Step 1, requesting an IPv6 prefix from the prefix pool (Prefix Pool) according to the PCP PD request request message;

Step2,接收前缀池返回的IPv6前缀。Step 2: Receive the IPv6 prefix returned by the prefix pool.

可选的,S306中封装响应结果,得到响应消息包括:Optionally, the response result is encapsulated in S306, and the response message is:

Step1,封装IPv6前缀,得到PCP PD请求响应消息。Step1: Encapsulate the IPv6 prefix to obtain a PCP PD request response message.

可选的,S308中向网关返回响应消息包括:Optionally, the returning the response message to the gateway in S308 includes:

Step1,向网关返回PCP PD请求响应消息。Step1: Return a PCP PD request response message to the gateway.

方式二:BRAS侧对IPv6前缀释放请求的发起过程。Manner 2: The initiation process of the IPv6 prefix release request by the BRAS side.

可选的,S302中通过PCP接收网关封装后的IPv6前缀请求消息包括:Optionally, the receiving, by the PCP, the IPv6 prefix request message encapsulated by the gateway in the S302 includes:

Step1,在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过PCP接收网关发送的PCP PD释放请求消息。Step 1: In the case that the IPv6 prefix request message includes an IPv6 prefix release request message, the PCP PD release request message sent by the gateway is received by the PCP.

可选的,S304中获取IPv6前缀请求消息对应的响应结果包括:Optionally, the response result corresponding to the obtaining the IPv6 prefix request message in S304 is:

Step1,解析PCP PD释放请求消息,得到待释放的IPv6前缀;Step 1: parsing the PCP PD release request message, and obtaining an IPv6 prefix to be released;

Step2,依据PCP PD释放请求消息向前缀池请求释放待释放的IPv6前缀;Step 2, requesting to release the IPv6 prefix to be released from the prefix pool according to the PCP PD release request message;

Step3,接收前缀池返回的释放结果,释放结果包括:释放成功或释放失败。Step 3: Receive the release result returned by the prefix pool, and the release result includes: the release succeeds or the release fails.

可选的,S306中封装响应结果,得到响应消息包括: Optionally, the response result is encapsulated in S306, and the response message is:

Step1,封装释放结果,得到PCP PD释放响应消息。Step1, the package release result, and obtain a PCP PD release response message.

可选的,S308中向网关返回响应消息包括:Optionally, the returning the response message to the gateway in S308 includes:

Step1,向网关返回PCP PD释放响应消息。Step1: Return a PCP PD release response message to the gateway.

结合实施例1中的网关设备(例如HG),图4是本发明实施例中HG实体和BRAS实体的单元组成的结构示意图;如图4所示,BRAS实体的PCP服务器单元功能包括:接收HG单元的PCP PD申请请求消息;向Prefix Pool单元请求申请IPv6前缀;接收Prefix Pool单元返回的IPv6前缀;把IPv6前缀封装到PCP PD请求响应消息中,并把PCP PD请求响应消息发送给HG单元的PCP客户端单元。With reference to the gateway device (for example, HG) in Embodiment 1, FIG. 4 is a schematic structural diagram of a unit composition of an HG entity and a BRAS entity in the embodiment of the present invention; as shown in FIG. 4, the PCP server unit function of the BRAS entity includes: receiving HG. The PCP PD request request message of the unit; requesting the IPv6 prefix from the Prefix Pool unit; receiving the IPv6 prefix returned by the Prefix Pool unit; encapsulating the IPv6 prefix into the PCP PD request response message, and transmitting the PCP PD request response message to the HG unit PCP client unit.

BRAS实体的PCP服务器单元功能还包括:接收HG单元的PCP PD释放请求消息,从消息中解析出需要释放的IPv6前缀;向Prefix Pool单元请求释放IPv6前缀,传入需要释放的IPv6前缀;接收Prefix Pool单元返回的释放结果;把释放结果封装到PCP PD释放响应消息中,并把PCP PD响应消息发送给HG单元的PCP客户端单元。The PCP server unit function of the BRAS entity further includes: receiving a PCP PD release request message of the HG unit, parsing the IPv6 prefix to be released from the message, requesting the release of the IPv6 prefix from the Prefix Pool unit, and transmitting the IPv6 prefix to be released; receiving the Prefix The release result returned by the Pool unit; the release result is encapsulated into the PCP PD release response message, and the PCP PD response message is sent to the PCP client unit of the HG unit.

BRAS实体的Prefix Pool单元功能包括:接收PCP服务器单元的IPv6前缀申请请求;分配IPv6前缀,并返回给PCP服务器单元。The Prefix Pool unit function of the BRAS entity includes: receiving an IPv6 prefix request request of the PCP server unit; assigning an IPv6 prefix, and returning to the PCP server unit.

BRAS实体的Prefix Pool单元功能还包括:接收PCP服务器单元的IPv6前缀释放请求;根据传入的IPv6前缀,释放IPv6前缀,并把释放结果返回给PCP服务器单元。The function of the Prefix Pool unit of the BRAS entity further includes: receiving an IPv6 prefix release request of the PCP server unit; releasing the IPv6 prefix according to the incoming IPv6 prefix, and returning the release result to the PCP server unit.

IPv6前缀为IPv6前缀地址和前缀长度。The IPv6 prefix is the IPv6 prefix address and prefix length.

结合实施例1和实施例2,在本申请实施例中PCP PD请求消息为PCP协议扩展的消息类型:当PCP客户端需要获取IPv6前缀时,封装PCP PD申请请求消息,发送给PCP服务器;当PCP客户端需要释放IPv6前缀时,封装PCP PD释放请求消息并把释放的IPv6前缀封装到消息中,发送给PCP服务器。的扩展PCP协议可以通过新增Opcode进行扩展,也可通过新增PCP选项进行扩展。当通过Opcode进行扩展时,PCP服务器解析出的Opcode为PD类型,PCP服务器为PCP客户端分配或者释放IPv6前缀。当通过PCP选项扩展时,新增PD请求选项,PCP服务器解析出PD请求选项,PCP 服务器为PCP客户端分配或者释放IPv6前缀。In conjunction with the embodiment 1 and the embodiment 2, in the embodiment of the present application, the PCP PD request message is a message type extended by the PCP protocol: when the PCP client needs to obtain an IPv6 prefix, the PCP PD request request message is encapsulated and sent to the PCP server; When the PCP client needs to release the IPv6 prefix, the PCP PD release request message is encapsulated and the released IPv6 prefix is encapsulated into a message and sent to the PCP server. The extended PCP protocol can be extended by adding Opcode or by adding new PCP options. When extended by Opcode, the Opcode parsed by the PCP server is of the PD type, and the PCP server allocates or releases the IPv6 prefix for the PCP client. When the PCP option is extended, the PD request option is added, and the PCP server parses the PD request option, PCP. The server allocates or releases an IPv6 prefix for the PCP client.

PCP PD响应消息为PCP协议扩展的消息类型:当PCP服务器收到PCP PD申请请求消息,分配IPv6前缀,把IPv6前缀封装到PCP PD申请响应消息返回给PCP客户端;当PCP服务器收到PCP PD释放请求消息,需要释放的IPv6前缀封装到消息中,释放IPv6前缀后把释放结果封装到PCP PD释放响应消息返回给PCP客户端。的扩展PCP协议可以通过新增新的Opcode进行扩展,也可通过新增PCP选项进行扩展。当通过Opcode进行扩展时,PCP服务器把分配的IPv6前缀或者释放IPv6前缀的结果封装到协议协议载荷中,发送给PCP客户端,PCP客户端从PCP PD响应消息的协议载荷中解析出IPv6前缀或者释放IPv6前缀的结果。当通过PCP选项扩展时,新增PD选项,PCP服务器把分配的IPv6前缀或者释放IPv6前缀的结果封装到PD选项中,发送给PCP客户端,PCP客户端从PCP消息的PD选项中解析出IPv6前缀或者释放IPv6前缀的结果。The PCP PD response message is a message type extended by the PCP protocol: when the PCP server receives the PCP PD request request message, allocates an IPv6 prefix, encapsulates the IPv6 prefix into the PCP PD request response message and returns it to the PCP client; when the PCP server receives the PCP PD The request message is released, and the IPv6 prefix to be released is encapsulated into the message. After the IPv6 prefix is released, the release result is encapsulated into a PCP PD release response message and returned to the PCP client. The extended PCP protocol can be extended by adding a new Opcode or by adding a new PCP option. When extended by Opcode, the PCP server encapsulates the assigned IPv6 prefix or the result of releasing the IPv6 prefix into the protocol protocol payload and sends it to the PCP client. The PCP client parses the IPv6 prefix from the protocol payload of the PCP PD response message or The result of releasing the IPv6 prefix. When the PCP option is extended, the PD option is added. The PCP server encapsulates the assigned IPv6 prefix or the result of releasing the IPv6 prefix into the PD option and sends it to the PCP client. The PCP client parses the IPv6 from the PD option of the PCP message. Prefix or release the result of the IPv6 prefix.

本发明实施例还提供一种通信协议接入装置,包括:存储器和处理器;其中,The embodiment of the invention further provides a communication protocol access device, comprising: a memory and a processor; wherein

处理器被配置为执行所述存储器中的程序指令;A processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions perform the following operations on the processor read:

通过端口控制协议(PCP)接收网关封装后的IPv6前缀请求消息;Receiving the encapsulated IPv6 prefix request message by the port control protocol (PCP);

获取IPv6前缀请求消息对应的响应结果;Obtaining a response result corresponding to the IPv6 prefix request message;

封装所述响应结果,得到响应消息;Encapsulating the response result to obtain a response message;

向所述网关返回响应消息。A response message is returned to the gateway.

图5是本发明实施例中HG实体的IPv6前缀的申请流程示意图;附图5说明了HG实体的IPv6前缀的申请过程:5 is a schematic diagram of an application procedure of an IPv6 prefix of an HG entity in the embodiment of the present invention; FIG. 5 illustrates an application procedure of an IPv6 prefix of an HG entity:

步骤501:HG实体的IPv6 Pool单元向PCP客户端单元申请IPv6前缀。Step 501: The IPv6 Pool unit of the HG entity applies for an IPv6 prefix to the PCP client unit.

步骤502:HG实体的PCP客户端单元获取HG实体的IPv6 Pool单元IPv6 前缀请求,封装PCP PD申请请求消息,发送到BRAS实体。Step 502: The PCP client unit of the HG entity acquires the IPv6 Pool unit IPv6 of the HG entity. The prefix request encapsulates the PCP PD Request message and sends it to the BRAS entity.

步骤503:BRAS实体的PCP服务器单元接收到PCP PD申请请求消息,向BRAS实体的Prefix Pool单元申请IPv6前缀。Step 503: The PCP server unit of the BRAS entity receives the PCP PD request request message, and applies for an IPv6 prefix to the Prefix Pool unit of the BRAS entity.

步骤504:BRAS的Prefix Pool单元接收到BRAS实体的PCP服务器单元的IPv6前缀申请请求,分配IPv6前缀并返回给BRAS实体的PCP服务器单元。BRAS实体的PCP服务器单元把IPv6前缀封装到PCP PD申请响应消息中,发送给HG实体。Step 504: The Prefix Pool unit of the BRAS receives the IPv6 prefix application request of the PCP server unit of the BRAS entity, allocates an IPv6 prefix, and returns the PCP server unit to the BRAS entity. The PCP server unit of the BRAS entity encapsulates the IPv6 prefix into the PCP PD request response message and sends it to the HG entity.

步骤505:HG实体的PCP客户端单元接收到PCP PD申请响应消息,从响应消息中解析出IPv6前缀,把IPv6前缀传入HG实体的IPv6 Pool单元。Step 505: The PCP client unit of the HG entity receives the PCP PD request response message, parses the IPv6 prefix from the response message, and sends the IPv6 prefix to the IPv6 Pool unit of the HG entity.

步骤506:HG实体的IPv6 Pool单元把从HG实体的PCP客户端单元获取的IPv6前缀设置为地址池。地址池作为地址资源接收家庭终端的地址申请请求分配IPv6地址。Step 506: The IPv6 pool unit of the HG entity sets the IPv6 prefix obtained from the PCP client unit of the HG entity as an address pool. The address pool serves as an address resource to receive the address request of the home terminal to request an IPv6 address.

图6是本发明实施例中HG实体的IPv6前缀的释放流程示意图;附图6说明了HG实体的IPv6前缀的释放过程:6 is a schematic diagram of a release procedure of an IPv6 prefix of an HG entity in the embodiment of the present invention; FIG. 6 illustrates a release process of an IPv6 prefix of an HG entity:

步骤601:HG实体的IPv6 Pool单元向PCP客户端单元释放IPv6前缀,并向IPv6 Pool单元传入需要释放的IPv6前缀。Step 601: The IPv6 Pool unit of the HG entity releases the IPv6 prefix to the PCP client unit, and transmits the IPv6 prefix to be released to the IPv6 Pool unit.

步骤602:HG实体的PCP客户端单元获取HG实体的IPv6 Pool单元IPv6前缀释放请求,封装PCP PD释放请求消息,并把需要释放的IPv6前缀封装到消息中,发送到BRAS实体。Step 602: The PCP client unit of the HG entity obtains an IPv6 Pool Unit IPv6 prefix release request of the HG entity, encapsulates the PCP PD release request message, and encapsulates the IPv6 prefix to be released into the message, and sends the message to the BRAS entity.

步骤603:BRAS实体的PCP服务器单元接收到PCP PD释放请求消息,解析出需要释放的IPv6前缀,向BRAS实体的Prefix Pool单元请求释放IPv6前缀,并传入需要释放的IPv6前缀。Step 603: The PCP server unit of the BRAS entity receives the PCP PD release request message, parses the IPv6 prefix to be released, requests the release of the IPv6 prefix from the Prefix Pool unit of the BRAS entity, and transmits the IPv6 prefix to be released.

步骤604:BRAS的Prefix Pool单元接收到BRAS实体的PCP服务器单元的IPv6前缀释放请求,根据传入的需要释放的IPv6前缀释放IPv6前缀,并返回给BRAS实体的PCP服务器单元释放结果。BRAS实体的PCP服务器单元把释放结果封装到PCP PD释放响应消息中,发送给HG实体。Step 604: The Prefix Pool unit of the BRAS receives the IPv6 prefix release request of the PCP server unit of the BRAS entity, releases the IPv6 prefix according to the IPv6 prefix that needs to be released, and returns the result to the PCP server unit of the BRAS entity. The PCP server unit of the BRAS entity encapsulates the release result into a PCP PD release response message and sends it to the HG entity.

步骤605:HG实体的PCP客户端单元接收到PCP PD释放响应消息,从响应消息中解析出释放结果,把释放结果传入HG实体的IPv6 Pool单元。 Step 605: The PCP client unit of the HG entity receives the PCP PD release response message, parses the release result from the response message, and sends the release result to the IPv6 Pool unit of the HG entity.

步骤606:PCP客户端单元传入释放结果,如果结果为成功,HG实体的IPv6 Pool单元把IPv6前缀释放,不再作为家庭终端的地址池使用;如果失败,则进行后续处理,的后续处理包括但不限于:向用户给出提示、再一次发起释放流程等。Step 606: The PCP client unit sends the release result. If the result is successful, the IPv6 pool unit of the HG entity releases the IPv6 prefix and is no longer used as the address pool of the home terminal; if it fails, the subsequent processing is performed, and the subsequent processing includes However, it is not limited to: giving a prompt to the user, initiating a release process, and the like.

图7是本发明实施例中使用家庭网关接入部署组网的结构示意图,如图7所示,家庭终端上联家庭网关,家庭终端的IPv6地址由家庭网关分配;家庭网关通过接入网上联到BRAS,家庭网关的IPv6地址和为家庭终端分配IPv6地址的地址池所用的IPv6前缀由BRAS分配。7 is a schematic structural diagram of a home gateway access deployment network in the embodiment of the present invention. As shown in FIG. 7, the home terminal is connected to the home gateway, and the IPv6 address of the home terminal is allocated by the home gateway; the home gateway is connected through the network. To the BRAS, the IPv6 address of the home gateway and the IPv6 prefix used to allocate the IPv6 address pool for the home terminal are allocated by the BRAS.

图8是本发明实施例中IPv6地址和IPv6前缀分配过程的流程示意图,如图8所示,IPv6地址和IPv6前缀分配过程具体如下:FIG. 8 is a schematic flowchart of an IPv6 address and IPv6 prefix allocation process according to an embodiment of the present invention. As shown in FIG. 8, the IPv6 address and IPv6 prefix allocation process is as follows:

步骤801:家庭网关向BRAS申请到IPv6地址为2001::1。使用协议可以为ND协议也可以为DHCPv6,本流程属于标准协议规定的流程,不再赘述。Step 801: The home gateway applies to the BRAS to obtain an IPv6 address of 2001::1. The usage protocol can be either the ND protocol or the DHCPv6. This process belongs to the process specified by the standard protocol and will not be described here.

步骤802:家庭网关发起IPv6前缀申请,向BRAS发送PCP PD申请请求消息。Step 802: The home gateway initiates an IPv6 prefix application, and sends a PCP PD request request message to the BRAS.

步骤803:BRAS为家庭网关分配的IPv6前缀为2011::/64,封装到PCP PD申请响应消息中,发送给家庭网关。家庭网关从PCP PD申请响应消息中解析出IPv6前缀2011::/64,并把该前缀作为IPv6地址池为家庭终端分配IPv6地址。Step 803: The IPv6 prefix allocated by the BRAS to the home gateway is 2011::/64, encapsulated into a PCP PD application response message, and sent to the home gateway. The home gateway parses the IPv6 prefix 2011::/64 from the PCP PD request response message, and uses the prefix as an IPv6 address pool to allocate an IPv6 address to the home terminal.

步骤804:家庭终端向家庭网关申请IPv6地址为2011::1。使用协议可以为ND协议也可以为DHCPv6,本流程属于标准协议规定的流程,不再赘述。Step 804: The home terminal requests the home gateway to apply for an IPv6 address of 2011::1. The usage protocol can be either the ND protocol or the DHCPv6. This process belongs to the process specified by the standard protocol and will not be described here.

综上所述,采用本发明,家庭网关申请IPv6前缀独立于具体的地址配置协议,特别是地址配置协议是ND的情况下,解决了不能分配IPv6前缀的问题,大大扩展了家庭网关的IPv6接入的应用部署。In summary, according to the present invention, the home gateway applies for the IPv6 prefix independently of the specific address configuration protocol. In particular, when the address configuration protocol is ND, the problem that the IPv6 prefix cannot be allocated is solved, and the IPv6 connection of the home gateway is greatly expanded. Into the application deployment.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本 发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on this understanding, this The technical solution of the invention may be embodied in the form of a software product, which is stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including several The instructions are for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

实施例3Example 3

在本实施例中还提供了一种通信协议接入的装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a device for accessing a communication protocol is provided, and the device is used to implement the foregoing embodiments and optional implementations, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.

图9是本发明实施例三的通信协议接入的装置的结构框图,如图9所示,在网关设备侧,该装置包括:封装模块92、发送模块94和接收模块96,其中,FIG. 9 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 3 of the present invention. As shown in FIG. 9, on the gateway device side, the apparatus includes: a packaging module 92, a sending module 94, and a receiving module 96, where

封装模块92,配置为通过端口控制协议封装IPv6前缀请求消息;Encapsulating module 92, configured to encapsulate an IPv6 prefix request message by using a port control protocol;

发送模块94,配置为将封装后的IPv6前缀请求消息发送至宽带接入服务器;The sending module 94 is configured to send the encapsulated IPv6 prefix request message to the broadband access server.

接收模块96,配置为接收宽带接入服务器返回的响应消息。The receiving module 96 is configured to receive a response message returned by the broadband access server.

本申请实施例提供的通信协议接入的装置中,通过端口控制协议封装IPv6前缀请求消息;将封装后的IPv6前缀请求消息发送至宽带接入服务器;接收宽带接入服务器返回的响应消息,解决了相关技术中在地址分配协议为邻居发现协议ND的情况下,不能分配IPv6前缀的问题,进而达到了扩展家庭网关的IPv6接入的效果。In the device for accessing the communication protocol provided by the embodiment of the present application, the IPv6 prefix request message is encapsulated by the port control protocol; the encapsulated IPv6 prefix request message is sent to the broadband access server; and the response message returned by the broadband access server is received. In the related art, when the address allocation protocol is the neighbor discovery protocol ND, the problem that the IPv6 prefix cannot be allocated, thereby achieving the effect of extending the IPv6 access of the home gateway.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

图10是本发明实施例三的一种通信协议接入的装置的结构框图,如图10所示,本申请实施例提供的通信协议接入的装置具体如下:FIG. 10 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 3 of the present invention. As shown in FIG. 10, the apparatus for accessing a communication protocol provided by the embodiment of the present application is specifically as follows:

可选的,封装模块92包括:第一接收单元921和第一封装模块922,其中, Optionally, the encapsulating module 92 includes: a first receiving unit 921 and a first encapsulating module 922, where

第一接收单元921,配置为在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;The first receiving unit 921 is configured to receive an IPv6 prefix request request message of the IPv6 address pool if the IPv6 prefix request message includes an IPv6 prefix request request message;

第一封装模块922,配置为封装IPv6前缀申请请求消息,得到PCP PD申请请求消息。The first encapsulating module 922 is configured to encapsulate an IPv6 prefix request request message, and obtain a PCP PD request request message.

可选的,发送模块94包括:第一发送单元941,其中,Optionally, the sending module 94 includes: a first sending unit 941, where

第一发送单元941,配置为将PCP PD申请请求消息发送至宽带接入服务器。The first sending unit 941 is configured to send a PCP PD request request message to the broadband access server.

可选的,接收模块96包括:第二接收单元961、第一解析单元962和第二发送单元963,其中,Optionally, the receiving module 96 includes: a second receiving unit 961, a first parsing unit 962, and a second sending unit 963, where

第二接收单元961,配置为接收宽带接入服务器返回的PCP PD请求响应消息;The second receiving unit 961 is configured to receive a PCP PD request response message returned by the broadband access server;

第一解析单元962,配置为解析PCP PD请求响应消息,得到IPv6前缀;The first parsing unit 962 is configured to parse the PCP PD request response message to obtain an IPv6 prefix.

第二发送单元963,配置为将IPv6前缀返回IPv6地址池。The second sending unit 963 is configured to return the IPv6 prefix to the IPv6 address pool.

可选的,IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。Optionally, the IPv6 prefix includes: an IPv6 prefix address and an IPv6 prefix length.

图11是本发明实施例三的另一种通信协议接入的装置的结构框图,如图11所示,本申请实施例提供的通信协议接入的装置具体如下:11 is a structural block diagram of another apparatus for accessing a communication protocol according to Embodiment 3 of the present invention. As shown in FIG. 11, the apparatus for accessing a communication protocol provided by the embodiment of the present application is specifically as follows:

可选的,封装模块92包括:第三接收单元923和第二封装单元924,其中,Optionally, the encapsulating module 92 includes: a third receiving unit 923 and a second encapsulating unit 924, where

第三接收单元923,配置为在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;The third receiving unit 923 is configured to receive an IPv6 prefix release request message of the IPv6 address pool and an IPv6 prefix to be released if the IPv6 prefix request message includes an IPv6 prefix release request message;

第二封装单元924,配置为封装IPv6前缀释放请求消息和待释放的IPv6前缀,得到PCP PD释放请求消息。The second encapsulating unit 924 is configured to encapsulate the IPv6 prefix release request message and the IPv6 prefix to be released, to obtain a PCP PD release request message.

可选的,发送模块94包括:第三发送单元942,其中,Optionally, the sending module 94 includes: a third sending unit 942, where

第三发送单元942,配置为将PCP PD释放请求消息发送至宽带接入服务器。The third sending unit 942 is configured to send a PCP PD release request message to the broadband access server.

可选的,接收模块96包括:第四接收单元964、第二解析单元965和 第四发送单元966,其中,Optionally, the receiving module 96 includes: a fourth receiving unit 964, a second parsing unit 965, and a fourth sending unit 966, wherein

第四接收单元964,配置为接收宽带接入服务器返回的PCP PD释放响应消息;The fourth receiving unit 964 is configured to receive a PCP PD release response message returned by the broadband access server.

第二解析单元965,配置为解析PCP PD释放响应消息,得到释放结果,释放结果包括:释放成功或释放失败;The second parsing unit 965 is configured to parse the PCP PD release response message, and obtain a release result, where the release result includes: the release succeeds or the release fails;

第四发送单元966,配置为将释放结果返回IPv6地址池。The fourth sending unit 966 is configured to return the release result to the IPv6 address pool.

实施例4Example 4

在本实施例中还提供了另一种通信协议接入的装置,图12是本发明实施例四的通信协议接入的装置的结构框图,如图12所示,在宽带接入服务器侧,该装置包括:接收模块1202、获取模块1204、封装模块1206和发送模块1208,其中,In the embodiment, another device for accessing a communication protocol is provided. FIG. 12 is a structural block diagram of a device for accessing a communication protocol according to Embodiment 4 of the present invention. As shown in FIG. 12, on the side of the broadband access server, The device includes: a receiving module 1202, an obtaining module 1204, a packaging module 1206, and a sending module 1208, where

接收模块1202,配置为通过端口控制协议接收网关封装后的IPv6前缀请求消息;The receiving module 1202 is configured to receive, by using a port control protocol, a gateway encapsulated IPv6 prefix request message.

获取模块1204,配置为获取IPv6前缀请求消息对应的响应结果;The obtaining module 1204 is configured to obtain a response result corresponding to the IPv6 prefix request message.

封装模块1206,配置为封装响应结果,得到响应消息;The encapsulating module 1206 is configured to encapsulate the response result and obtain a response message.

发送模块1208,配置为向网关返回响应消息。The sending module 1208 is configured to return a response message to the gateway.

本申请实施例提供的通信协议接入的装置中,通过端口控制协议接收网关封装后的IPv6前缀请求消息;获取IPv6前缀请求消息对应的响应结果;封装响应结果,得到响应消息;向网关返回响应消息,解决了相关技术中在地址分配协议为邻居发现协议ND的情况下,不能分配IPv6前缀的问题,进而达到了扩展家庭网关的IPv6接入的效果。The device accessing the communication protocol provided by the embodiment of the present application receives the IPv6 prefix request message encapsulated by the gateway through the port control protocol, obtains the response result corresponding to the IPv6 prefix request message, encapsulates the response result, and obtains a response message; returns a response to the gateway. The message solves the problem that the IPv6 prefix cannot be allocated when the address allocation protocol is the neighbor discovery protocol ND in the related art, thereby achieving the effect of extending the IPv6 access of the home gateway.

可选的,IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。Optionally, the IPv6 prefix request message includes: an IPv6 prefix request request message or an IPv6 prefix release request message.

图13是本发明实施例四的一种通信协议接入的装置的结构框图,如图13所示,本申请实施例提供的通信协议接入的装置具体如下:FIG. 13 is a structural block diagram of an apparatus for accessing a communication protocol according to Embodiment 4 of the present invention. As shown in FIG. 13, the apparatus for accessing a communication protocol provided by the embodiment of the present application is specifically as follows:

可选的,接收模块1202包括:第一接收单元12021,其中, Optionally, the receiving module 1202 includes: a first receiving unit 12021, where

第一接收单元12021,配置为在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过端口控制协议接收网关发送的PCP PD申请请求消息。The first receiving unit 12021 is configured to receive, by using a port control protocol, a PCP PD request request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix request request message.

可选的,获取模块1204包括:第一发送单元12041和第二接收单元12042,其中,Optionally, the obtaining module 1204 includes: a first sending unit 12041 and a second receiving unit 12042, where

第一发送单元12041,配置为依据PCP PD申请请求消息向前缀池Prefix Pool请求申请IPv6前缀;The first sending unit 12041 is configured to request an IPv6 prefix from the prefix pool Prefix Pool according to the PCP PD request request message.

第二接收单元12042,配置为接收前缀池Prefix Pool返回的IPv6前缀。The second receiving unit 12042 is configured to receive an IPv6 prefix returned by the prefix pool Prefix Pool.

可选的,封装模块1206包括:第一封装单元12061,其中,Optionally, the encapsulating module 1206 includes: a first encapsulating unit 12061, where

第一封装单元12061,配置为封装IPv6前缀,得到PCP PD请求响应消息。The first encapsulating unit 12061 is configured to encapsulate an IPv6 prefix to obtain a PCP PD request response message.

可选的,发送模块1208包括:第二发送单元12081,其中,Optionally, the sending module 1208 includes: a second sending unit 12081, where

第二发送单元12081,配置为向网关返回PCP PD请求响应消息。The second sending unit 12081 is configured to return a PCP PD request response message to the gateway.

图14是本发明实施例四的另一种通信协议接入的装置的结构框图,如图14所示,本申请实施例提供的通信协议接入的装置具体如下:FIG. 14 is a structural block diagram of another apparatus for accessing a communication protocol according to Embodiment 4 of the present invention. As shown in FIG. 14, the apparatus for accessing a communication protocol provided by the embodiment of the present application is specifically as follows:

可选的,接收模块1202包括:第三接收单元12022,其中,Optionally, the receiving module 1202 includes: a third receiving unit 12022, where

第三接收单元12022,配置为在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过端口控制协议接收网关发送的PCP PD释放请求消息。The third receiving unit 12022 is configured to receive, by using a port control protocol, a PCP PD release request message sent by the gateway, if the IPv6 prefix request message includes an IPv6 prefix release request message.

可选的,获取模块1204包括:解析单元12043、第三发送单元12044和第四接收单元12045,其中,Optionally, the obtaining module 1204 includes: a parsing unit 12043, a third sending unit 12044, and a fourth receiving unit 12045, where

解析单元12043,配置为解析PCP PD释放请求消息,得到待释放的IPv6前缀;The parsing unit 12043 is configured to parse the PCP PD release request message, and obtain an IPv6 prefix to be released.

第三发送单元12044,配置为依据PCP PD释放请求消息向前缀池Prefix Pool请求释放待释放的IPv6前缀;The third sending unit 12044 is configured to request, according to the PCP PD release request message, to release the IPv6 prefix to be released to the prefix pool Prefix Pool;

第四接收单元12045,配置为接收前缀池Prefix Pool返回的释放结果,释放结果包括:释放成功或释放失败。 The fourth receiving unit 12045 is configured to receive the release result returned by the prefix pool Prefix Pool, and the release result includes: the release succeeds or the release fails.

可选的,封装模块1206包括:第二封装单元12062,其中,Optionally, the encapsulating module 1206 includes: a second encapsulating unit 12062, where

第二封装单元12062,配置为封装释放结果,得到PCP PD释放响应消息。The second encapsulating unit 12062 is configured to encapsulate the release result to obtain a PCP PD release response message.

可选的,发送模块1208包括:第四发送单元12082,其中,Optionally, the sending module 1208 includes: a fourth sending unit 12082, where

第四发送单元12082,配置为向网关返回PCP PD释放响应消息。The fourth sending unit 12082 is configured to return a PCP PD release response message to the gateway.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.

实施例5Example 5

在本实施例中还提供了一种通信协议接入的系统,图15是本发明实施例五的通信协议接入的系统的结构框图,如图15所示,该系统,包括:网关设备1501和宽带接入服务器1502,网关设备和宽带接入服务器通信连接,其中,In the embodiment, a system for accessing a communication protocol is provided. FIG. 15 is a structural block diagram of a system for accessing a communication protocol according to Embodiment 5 of the present invention. As shown in FIG. 15, the system includes: a gateway device 1501. And a broadband access server 1502, a gateway device and a broadband access server are in communication connection, wherein

网关设备1501为上述图9至图11任一所示的通信协议接入的装置;The gateway device 1501 is the device for accessing the communication protocol shown in any of the foregoing FIG. 9 to FIG. 11;

宽带接入服务器1502为上述图12至图14任一所示的通信协议接入的装置。The broadband access server 1502 is a device for accessing the communication protocol shown in any of the above-described FIGS. 12 to 14.

实施例6Example 6

本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:

S1,通过端口控制协议封装IPv6前缀请求消息;S1, encapsulating an IPv6 prefix request message by using a port control protocol;

S2,将封装后的IPv6前缀请求消息发送至宽带接入服务器;S2. Send the encapsulated IPv6 prefix request message to the broadband access server.

S3,接收宽带接入服务器返回的响应消息。S3. Receive a response message returned by the broadband access server.

可选地,存储介质还可以被设置为存储用于执行以下步骤的程序代码:Alternatively, the storage medium may also be arranged to store program code for performing the following steps:

S1,在IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;S1. Receive an IPv6 prefix request request message of an IPv6 address pool if the IPv6 prefix request message includes an IPv6 prefix request request message.

S2,封装IPv6前缀申请请求消息,得到PCP PD申请请求消息。S2: Encapsulating an IPv6 prefix request request message, and obtaining a PCP PD request request message.

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读 存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: a USB flash drive, read only. A medium that can store program code, such as a memory (ROM, Read-Only Memory), a random access memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.

可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行将PCP PD申请请求消息发送至宽带接入服务器。Optionally, in this embodiment, the processor sends a PCP PD request request message to the broadband access server according to the stored program code in the storage medium.

可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收宽带接入服务器返回的PCP PD请求响应消息;解析PCP PD请求响应消息,得到IPv6前缀;将IPv6前缀返回IPv6地址池。Optionally, in this embodiment, the processor performs a PCP PD request response message returned by the broadband access server according to the stored program code in the storage medium; parses the PCP PD request response message to obtain an IPv6 prefix; and returns the IPv6 prefix. IPv6 address pool.

可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;封装IPv6前缀释放请求消息和待释放的IPv6前缀,得到PCP PD释放请求消息。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, the IPv6 prefix release request message of the IPv6 address pool and the to be released, if the IPv6 prefix request message includes the IPv6 prefix release request message. IPv6 prefix; encapsulates the IPv6 prefix release request message and the IPv6 prefix to be released, and obtains a PCP PD release request message.

可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行将PCP PD释放请求消息发送至宽带接入服务器。Optionally, in this embodiment, the processor sends a PCP PD release request message to the broadband access server according to the stored program code in the storage medium.

可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行接收宽带接入服务器返回的PCP PD释放响应消息;解析PCP PD释放响应消息,得到释放结果,释放结果包括:释放成功或释放失败;将释放结果返回IPv6地址池。Optionally, in this embodiment, the processor performs a PCP PD release response message returned by the broadband access server according to the stored program code in the storage medium; and parses the PCP PD release response message to obtain a release result, where the release result includes: The release succeeds or the release fails; the release result is returned to the IPv6 address pool.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本 领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Various modifications and variations of the present invention are possible in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software.

虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.

工业实用性Industrial applicability

本发明实施例实现了在地址分配协议为邻居发现协议ND的情况下IPv6前缀的分配,扩展了家庭网关的IPv6接入的效果。 The embodiment of the invention implements the allocation of the IPv6 prefix in the case that the address allocation protocol is the neighbor discovery protocol ND, and expands the effect of the IPv6 access of the home gateway.

Claims (39)

一种通信协议接入的方法,包括:A method for accessing a communication protocol, comprising: 通过端口控制协议PCP封装因特网协议第六版IPv6前缀请求消息;Encapsulating the Internet Protocol version 6 IPv6 prefix request message through the port control protocol PCP; 将封装后的所述IPv6前缀请求消息发送至宽带接入服务器;Transmitting the encapsulated IPv6 prefix request message to the broadband access server; 接收所述宽带接入服务器返回的响应消息。Receiving a response message returned by the broadband access server. 根据权利要求1所述的方法,其中,所述IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。The method of claim 1, wherein the IPv6 prefix request message comprises an IPv6 prefix request request message or an IPv6 prefix release request message. 根据权利要求2所述的方法,其中,所述通过PCP封装IPv6前缀请求消息,包括:The method of claim 2, wherein the encapsulating the IPv6 prefix request message by the PCP comprises: 在所述IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池发送的所述IPv6前缀申请请求消息;And receiving, in the case that the IPv6 prefix request message includes an IPv6 prefix request request message, the IPv6 prefix request request message sent by the IPv6 address pool; 封装所述IPv6前缀申请请求消息,得到PCP前缀指派PD申请请求消息。Encapsulating the IPv6 prefix request request message, and obtaining a PCP prefix assignment PD application request message. 根据权利要求3所述的方法,其中,所述将封装后的所述IPv6前缀请求消息发送至宽带接入服务器,包括:The method of claim 3, wherein the transmitting the encapsulated IPv6 prefix request message to the broadband access server comprises: 将所述PCP PD申请请求消息发送至所述宽带接入服务器。Sending the PCP PD Request Request message to the broadband access server. 根据权利要求4所述的方法,其中,所述接收所述宽带接入服务器返回的响应消息,包括:The method of claim 4, wherein the receiving the response message returned by the broadband access server comprises: 接收所述宽带接入服务器返回的PCP PD请求响应消息;Receiving a PCP PD request response message returned by the broadband access server; 解析所述PCP PD请求响应消息,得到IPv6前缀;Parsing the PCP PD request response message to obtain an IPv6 prefix; 将所述IPv6前缀返回所述IPv6地址池。Returning the IPv6 prefix to the IPv6 address pool. 根据权利要求5所述的方法,其中,所述IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。The method of claim 5, wherein the IPv6 prefix comprises: an IPv6 prefix address and an IPv6 prefix length. 根据权利要求2所述的方法,其中,所述通过PCP封装IPv6前缀请求消息,包括:The method of claim 2, wherein the encapsulating the IPv6 prefix request message by the PCP comprises: 在所述IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀; And receiving, in the case that the IPv6 prefix request message includes an IPv6 prefix release request message, an IPv6 prefix release request message of an IPv6 address pool and an IPv6 prefix to be released; 封装所述IPv6前缀释放请求消息和所述待释放的IPv6前缀,得到PCP PD释放请求消息。The IPv6 prefix release request message and the IPv6 prefix to be released are encapsulated to obtain a PCP PD release request message. 根据权利要求7所述的方法,其中,所述将封装后的所述IPv6前缀请求消息发送至宽带接入服务器,包括:The method of claim 7, wherein the transmitting the encapsulated IPv6 prefix request message to the broadband access server comprises: 将所述PCP PD释放请求消息发送至所述宽带接入服务器。Sending the PCP PD Release Request message to the broadband access server. 根据权利要求8所述的方法,其中,所述接收所述宽带接入服务器返回的响应消息,包括:The method of claim 8, wherein the receiving the response message returned by the broadband access server comprises: 接收所述宽带接入服务器返回的PCP PD释放响应消息;Receiving a PCP PD release response message returned by the broadband access server; 解析所述PCP PD释放响应消息,得到释放结果,所述释放结果包括:释放成功或释放失败;Parsing the PCP PD release response message to obtain a release result, where the release result includes: a release success or a release failure; 将所述释放结果返回所述IPv6地址池。Returning the release result to the IPv6 address pool. 一种通信协议接入的方法,包括:A method for accessing a communication protocol, comprising: 通过端口控制协议PCP接收网关封装后的IPv6前缀请求消息;Receiving the encapsulated IPv6 prefix request message by the port control protocol PCP; 获取所述IPv6前缀请求消息对应的响应结果;Obtaining a response result corresponding to the IPv6 prefix request message; 封装所述响应结果,得到响应消息;Encapsulating the response result to obtain a response message; 向所述网关返回所述响应消息。Returning the response message to the gateway. 根据权利要求10所述的方法,其中,所述IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。The method of claim 10, wherein the IPv6 prefix request message comprises an IPv6 prefix request request message or an IPv6 prefix release request message. 根据权利要求11所述的方法,其中,所述通过PCP接收网关封装后的IPv6前缀请求消息包括:The method of claim 11, wherein the receiving, by the PCP, the encapsulated IPv6 prefix request message comprises: 在所述IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过所述PCP接收网关发送的PCP前缀指派PD申请请求消息。In the case that the IPv6 prefix request message includes an IPv6 prefix request request message, the PCP prefix transmission PD application request message is sent by the PCP receiving gateway. 根据权利要求12所述的方法,其中,所述获取所述IPv6前缀请求消息对应的响应结果包括:The method according to claim 12, wherein the obtaining a response result corresponding to the IPv6 prefix request message comprises: 依据所述PCP PD申请请求消息向前缀池请求申请IPv6前缀;Requesting an IPv6 prefix from the prefix pool according to the PCP PD request request message; 接收所述前缀池返回的所述IPv6前缀。Receiving the IPv6 prefix returned by the prefix pool. 根据权利要求13所述的方法,其中,所述封装所述响应结果,得到 响应消息包括:The method of claim 13 wherein said encapsulating said response result is obtained The response message includes: 封装所述IPv6前缀,得到PCP PD请求响应消息。Encapsulating the IPv6 prefix to obtain a PCP PD request response message. 根据权利要求14所述的方法,其中,所述向所述网关返回所述响应消息包括:The method of claim 14, wherein said returning said response message to said gateway comprises: 向所述网关返回所述PCP PD请求响应消息。Returning the PCP PD request response message to the gateway. 根据权利要求11所述的方法,其中,所述通过PCP接收网关封装后的IPv6前缀请求消息包括:The method of claim 11, wherein the receiving, by the PCP, the encapsulated IPv6 prefix request message comprises: 在所述IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过所述PCP接收网关发送的PCP PD释放请求消息。In the case that the IPv6 prefix request message includes an IPv6 prefix release request message, the PCP PD release request message sent by the gateway is received by the PCP. 根据权利要求16所述的方法,其中,所述获取所述IPv6前缀请求消息对应的响应结果包括:The method according to claim 16, wherein the obtaining the response result corresponding to the IPv6 prefix request message comprises: 解析所述PCP PD释放请求消息,得到待释放的IPv6前缀;Parsing the PCP PD release request message to obtain an IPv6 prefix to be released; 依据所述PCP PD释放请求消息向前缀池请求释放所述待释放的IPv6前缀;And requesting to release the IPv6 prefix to be released to the prefix pool according to the PCP PD release request message; 接收所述前缀池返回的释放结果,所述释放结果包括:释放成功或释放失败。Receiving a release result returned by the prefix pool, the release result includes: a release success or a release failure. 根据权利要求17所述的方法,其中,所述封装所述响应结果,得到响应消息包括:The method according to claim 17, wherein said encapsulating said response result and obtaining a response message comprises: 封装所述释放结果,得到PCP PD释放响应消息。The release result is encapsulated to obtain a PCP PD release response message. 根据权利要求18所述的方法,其中,所述向所述网关返回所述响应消息包括:The method of claim 18 wherein said returning said response message to said gateway comprises: 向所述网关返回所述PCP PD释放响应消息。Returning the PCP PD release response message to the gateway. 一种通信协议接入的装置,其中,包括:A device for accessing a communication protocol, comprising: 封装模块,配置为通过端口控制协议PCP封装因特网协议第六版IPv6前缀请求消息;Encapsulating module configured to encapsulate an Internet Protocol version 6 IPv6 prefix request message through a port control protocol PCP; 发送模块,配置为将封装后的所述IPv6前缀请求消息发送至宽带接入服务器; a sending module, configured to send the encapsulated IPv6 prefix request message to the broadband access server; 接收模块,配置为接收所述宽带接入服务器返回的响应消息。The receiving module is configured to receive a response message returned by the broadband access server. 根据权利要求20所述的装置,其中,所述IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。The apparatus according to claim 20, wherein the IPv6 prefix request message comprises an IPv6 prefix request request message or an IPv6 prefix release request message. 根据权利要求21所述的装置,其中,所述封装模块包括:The device of claim 21, wherein the package module comprises: 第一接收单元,配置为在所述IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,接收IPv6地址池的IPv6前缀申请请求消息;The first receiving unit is configured to receive an IPv6 prefix request request message of the IPv6 address pool if the IPv6 prefix request message includes an IPv6 prefix request request message; 第一封装模块,配置为封装所述IPv6前缀申请请求消息,得到PCP前缀指派PD申请请求消息。The first encapsulating module is configured to encapsulate the IPv6 prefix request request message, and obtain a PCP prefix assignment PD request request message. 根据权利要求22所述的装置,其中,所述发送模块包括:The apparatus of claim 22, wherein the transmitting module comprises: 第一发送单元,配置为将所述PCP PD申请请求消息发送至所述宽带接入服务器。The first sending unit is configured to send the PCP PD request request message to the broadband access server. 根据权利要求23所述的装置,其中,所述接收模块包括:The apparatus of claim 23, wherein the receiving module comprises: 第二接收单元,配置为接收所述宽带接入服务器返回的PCP PD请求响应消息;a second receiving unit, configured to receive a PCP PD request response message returned by the broadband access server; 第一解析单元,配置为解析所述PCP PD请求响应消息,得到IPv6前缀;a first parsing unit configured to parse the PCP PD request response message to obtain an IPv6 prefix; 第二发送单元,配置为将所述IPv6前缀返回所述IPv6地址池。The second sending unit is configured to return the IPv6 prefix to the IPv6 address pool. 根据权利要求24所述的装置,其中,所述IPv6前缀包括:IPv6前缀地址和IPv6前缀长度。The apparatus of claim 24, wherein the IPv6 prefix comprises: an IPv6 prefix address and an IPv6 prefix length. 根据权利要求21所述的装置,其中,所述封装模块包括:The device of claim 21, wherein the package module comprises: 第三接收单元,配置为在所述IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,接收IPv6地址池的IPv6前缀释放请求消息和待释放的IPv6前缀;a third receiving unit, configured to receive an IPv6 prefix release request message of an IPv6 address pool and an IPv6 prefix to be released, if the IPv6 prefix request message includes an IPv6 prefix release request message; 第二封装单元,配置为封装所述IPv6前缀释放请求消息和所述待释放的IPv6前缀,得到PCP PD释放请求消息。And a second encapsulating unit, configured to encapsulate the IPv6 prefix release request message and the IPv6 prefix to be released, to obtain a PCP PD release request message. 根据权利要求26所述的装置,其中,所述发送模块包括:The apparatus of claim 26, wherein the transmitting module comprises: 第三发送单元,配置为将所述PCP PD释放请求消息发送至所述宽带接入服务器。 And a third sending unit, configured to send the PCP PD release request message to the broadband access server. 根据权利要求27所述的装置,其中,所述接收模块包括:The apparatus of claim 27, wherein the receiving module comprises: 第四接收单元,配置为接收所述宽带接入服务器返回的PCP PD释放响应消息;a fourth receiving unit, configured to receive a PCP PD release response message returned by the broadband access server; 第二解析单元,配置为解析所述PCP PD释放响应消息,得到释放结果,所述释放结果包括:释放成功或释放失败;a second parsing unit, configured to parse the PCP PD release response message, to obtain a release result, where the release result includes: a release success or a release failure; 第四发送单元,配置为将所述释放结果返回所述IPv6地址池。And a fourth sending unit, configured to return the release result to the IPv6 address pool. 一种通信协议接入的装置,包括:A device for accessing a communication protocol, comprising: 接收模块,配置为通过端口控制协议PCP接收网关封装后的因特网协议第六版IPv6前缀请求消息;The receiving module is configured to receive, by the port control protocol PCP, a gateway encapsulated Internet Protocol version 6 IPv6 prefix request message; 获取模块,配置为获取所述IPv6前缀请求消息对应的响应结果;Obtaining a module, configured to obtain a response result corresponding to the IPv6 prefix request message; 封装模块,用于封装所述响应结果,得到响应消息;a packaging module, configured to encapsulate the response result, and obtain a response message; 发送模块,用于向所述网关返回所述响应消息。And a sending module, configured to return the response message to the gateway. 根据权利要求29所述的装置,其中,所述IPv6前缀请求消息包括:IPv6前缀申请请求消息或IPv6前缀释放请求消息。The apparatus according to claim 29, wherein the IPv6 prefix request message comprises an IPv6 prefix request request message or an IPv6 prefix release request message. 根据权利要求30所述的装置,其中,所述接收模块包括:The apparatus of claim 30, wherein the receiving module comprises: 第一接收单元,配置为在所述IPv6前缀请求消息包括IPv6前缀申请请求消息的情况下,通过所述PCP接收网关发送的PCP PD申请请求消息。The first receiving unit is configured to receive, by using the PCP, a PCP PD request request message sent by the gateway, in a case that the IPv6 prefix request message includes an IPv6 prefix request request message. 根据权利要求31所述的装置,其中,所述获取模块包括:The apparatus of claim 31, wherein the obtaining module comprises: 第一发送单元,配置为依据所述PCP PD申请请求消息向前缀池请求申请IPv6前缀;The first sending unit is configured to request an IPv6 prefix from the prefix pool according to the PCP PD request request message; 第二接收单元,配置为接收所述前缀池返回的所述IPv6前缀。And a second receiving unit, configured to receive the IPv6 prefix returned by the prefix pool. 根据权利要求32所述的装置,其中,所述封装模块包括:The device of claim 32, wherein the encapsulation module comprises: 第一封装单元,用于封装所述IPv6前缀,得到PCP PD请求响应消息。The first encapsulating unit is configured to encapsulate the IPv6 prefix to obtain a PCP PD request response message. 根据权利要求33所述的装置,其中,所述发送模块包括:The apparatus of claim 33, wherein the transmitting module comprises: 第二发送单元,配置为向所述网关返回所述PCP PD请求响应消息。The second sending unit is configured to return the PCP PD request response message to the gateway. 根据权利要求30所述的装置,其中,所述接收模块包括: The apparatus of claim 30, wherein the receiving module comprises: 第三接收单元,配置为在所述IPv6前缀请求消息包括IPv6前缀释放请求消息的情况下,通过所述端口控制协议接收网关发送的PCP PD释放请求消息。And a third receiving unit, configured to: when the IPv6 prefix request message includes an IPv6 prefix release request message, receive, by using the port control protocol, a PCP PD release request message sent by the gateway. 根据权利要求35所述的装置,其中,所述获取模块包括:The apparatus of claim 35, wherein the obtaining module comprises: 解析单元,配置为解析所述PCP PD释放请求消息,得到待释放的IPv6前缀;a parsing unit configured to parse the PCP PD release request message to obtain an IPv6 prefix to be released; 第三发送单元,配置为依据所述PCP PD释放请求消息向前缀池请求释放所述待释放的IPv6前缀;a third sending unit, configured to request, according to the PCP PD release request message, to release the IPv6 prefix to be released from the prefix pool; 第四接收单元,配置为接收所述前缀池返回的释放结果,所述释放结果包括:释放成功或释放失败。And a fourth receiving unit, configured to receive a release result returned by the prefix pool, where the release result includes: a release success or a release failure. 根据权利要求36所述的装置,其中,所述封装模块包括:The device of claim 36, wherein the package module comprises: 第二封装单元,配置为封装所述释放结果,得到PCP PD释放响应消息。And a second encapsulating unit configured to encapsulate the release result to obtain a PCP PD release response message. 根据权利要求37所述的装置,其中,所述发送模块包括:The apparatus of claim 37, wherein the transmitting module comprises: 第四发送单元,配置为向所述网关返回所述PCP PD释放响应消息。And a fourth sending unit, configured to return the PCP PD release response message to the gateway. 一种通信协议接入的系统,包括:网关设备和宽带接入服务器,所述网关设备和所述宽带接入服务器通信连接,其中,A system for accessing a communication protocol, comprising: a gateway device and a broadband access server, wherein the gateway device and the broadband access server are in communication connection, wherein 所述网关设备包括如权利要求20至28中任一项所述的通信协议接入的装置;The gateway device includes the device for accessing a communication protocol according to any one of claims 20 to 28; 所述宽带接入服务器包括如权利要求29至38中任一项所述的通信协议接入的装置。 The broadband access server comprises the apparatus for accessing a communication protocol according to any one of claims 29 to 38.
PCT/CN2017/077764 2016-05-31 2017-03-22 Communication protocol access method, apparatus and system Ceased WO2017206575A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610379198.8 2016-05-31
CN201610379198.8A CN107454199A (en) 2016-05-31 2016-05-31 The method, apparatus and system of communication protocol access

Publications (1)

Publication Number Publication Date
WO2017206575A1 true WO2017206575A1 (en) 2017-12-07

Family

ID=60478472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077764 Ceased WO2017206575A1 (en) 2016-05-31 2017-03-22 Communication protocol access method, apparatus and system

Country Status (2)

Country Link
CN (1) CN107454199A (en)
WO (1) WO2017206575A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11399007B2 (en) * 2018-03-20 2022-07-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for operating and managing a constrained device within a network

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038594B (en) * 2021-04-14 2023-04-07 深圳市共进电子股份有限公司 Network management registration method and device for MESH extended equipment
CN114785755B (en) * 2022-04-19 2024-03-29 深圳市和为顺网络技术有限公司 IPV6 Internet surfing IAPD self-adaption method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102957758A (en) * 2011-08-25 2013-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
CN103002064A (en) * 2012-11-20 2013-03-27 中兴通讯股份有限公司 Method, user node and remote access server for releasing address
CN104883408A (en) * 2014-02-28 2015-09-02 中兴通讯股份有限公司 Method of processing NAT64 prefix, network equipment and DHCPv server
WO2016018579A1 (en) * 2014-07-31 2016-02-04 Qualcomm Incorporated Delegation of prefixes to wi-fi clients connected to mobile access point routers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102957758A (en) * 2011-08-25 2013-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
CN103002064A (en) * 2012-11-20 2013-03-27 中兴通讯股份有限公司 Method, user node and remote access server for releasing address
CN104883408A (en) * 2014-02-28 2015-09-02 中兴通讯股份有限公司 Method of processing NAT64 prefix, network equipment and DHCPv server
WO2016018579A1 (en) * 2014-07-31 2016-02-04 Qualcomm Incorporated Delegation of prefixes to wi-fi clients connected to mobile access point routers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BOUCADAIR: "Learning NAT64 PREFIX64s using Port Control Protocol (PCP) draft-ietf-pcp-nat64-prefix64-06", PCP WORKING GROUP INTERNET-DRAFT, 21 February 2014 (2014-02-21), pages 1 - 17, XP015096415 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11399007B2 (en) * 2018-03-20 2022-07-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for operating and managing a constrained device within a network

Also Published As

Publication number Publication date
CN107454199A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN109391940B (en) Method, equipment and system for accessing network
CN108737585B (en) IP address allocation method and device
US8189567B2 (en) Method and nodes for registering a terminal
US10516647B2 (en) Method for establishing data connection on mobile network, mobile network, and policy control entity
KR102157185B1 (en) Apparatus and method for providing a service connection through access layer in wireless communication system
CN103731394B (en) Method and equipment for configuring IPv6 transitional technologies on CPE
CN102761440B (en) Method for establishing channel for managing IPv4 terminal and network gateway
CN102594635B (en) Based on the terminal access method of home gateway and system and home gateway
CN112653605B (en) Method and communication device for accessing service network
CN104468625B (en) Dialing tunnel agent device, the method for utilizing the tunnel pass through NAT that dials
WO2016179950A1 (en) Internet protocol ip address allocation method and device
EP3562099A1 (en) Scheduling method, system, controller and computer storage medium
CN112398959B (en) RLC channel determination method and device
WO2014183701A1 (en) Method and device for acquiring port range resources and allocating port range resources
CN110620716A (en) Data transmission method, related device and system
CN103368847B (en) Broadband convergence communication method and router
WO2017206575A1 (en) Communication protocol access method, apparatus and system
CN114430332B (en) Customer Premises Equipment
CN114385314A (en) Internet of things equipment data migration system, method and device and storage medium
CN103442450B (en) Wireless communications method and Wireless Telecom Equipment
US20200274948A1 (en) Service flow configuration method and apparatus
WO2023001015A1 (en) Data transmission method and apparatus
WO2015123947A1 (en) Method and apparatus for delivering local area network information
WO2017000674A1 (en) 4in6 tunnel mode selection method and apparatus
WO2022160982A1 (en) Ipv6 address configuration method and routing device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17805520

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17805520

Country of ref document: EP

Kind code of ref document: A1