CN104348927A - Address field assignment method and apparatus - Google Patents
Address field assignment method and apparatus Download PDFInfo
- Publication number
- CN104348927A CN104348927A CN201310329475.0A CN201310329475A CN104348927A CN 104348927 A CN104348927 A CN 104348927A CN 201310329475 A CN201310329475 A CN 201310329475A CN 104348927 A CN104348927 A CN 104348927A
- Authority
- CN
- China
- Prior art keywords
- bras
- address
- sub
- address segment
- segment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供一种地址段分配方法及设备,该方法包括:第一BRAS从本机的可用地址段中确定需要申请的第一子地址段;所述第一BRAS向第二BRAS发送第一地址请求消息,所述第一地址请求消息携带所述第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;所述第一BRAS接收所述第二BRAS返回的地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段;在确定所述第二BRAS允许所述第一BRAS申请所述第一子地址段后,所述第一BRAS从所述第一子地址段中为用户设备分配地址。本发明实施例提供的地址段分配方法及设备可以提高地址段的使用效率。
Embodiments of the present invention provide a method and device for allocating address segments, the method comprising: the first BRAS determines the first sub-address segment to be applied for from the available address segments of the machine; the first BRAS sends the second sub-address segment to the second BRAS An address request message, the first address request message carries the first sub-address segment, and the address segment of the first BRAS overlaps with the address segment of the second BRAS; the first BRAS receives the first sub-address segment The address request response returned by the second BRAS, the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment; when it is determined that the second BRAS allows the first BRAS to apply After the first sub-address segment, the first BRAS allocates an address for the user equipment from the first sub-address segment. The method and device for allocating address segments provided by the embodiments of the present invention can improve the utilization efficiency of address segments.
Description
技术领域technical field
本发明实施例涉及通信技术,尤其涉及一种地址段分配方法及设备。Embodiments of the present invention relate to communication technologies, and in particular to a method and device for allocating address segments.
背景技术Background technique
宽带城域网业务控制层,是业务接入网络连接核心交换网络的一个特有层面,其中起重要作用的设备为宽带接入服务器(Broadband RemoteAccess Server,简称BRAS)。BRAS提供基本的接入手段并对宽带接入网进行管理。The broadband MAN service control layer is a unique layer where the service access network connects to the core switching network, and the equipment that plays an important role is the Broadband Remote Access Server (BRAS for short). BRAS provides basic access means and manages the broadband access network.
现有技术中,在全网集中部署动态主机设置协议(Dynamic HostConfiguration Protocol,简称DHCP)服务器。当用户设备通过以太网点对点协议(Point-to-Point Protocol over Ethernet,简称PPPOE)接入到BRAS时,BRAS通过DHCP代理或DHCP中继向DHCP服务器申请IP地址,将IP地址分配给用户设备。In the prior art, a Dynamic Host Configuration Protocol (DHCP for short) server is deployed centrally on the entire network. When the user equipment is connected to the BRAS through the Point-to-Point Protocol over Ethernet (PPPOE), the BRAS applies for an IP address from the DHCP server through the DHCP agent or DHCP relay, and assigns the IP address to the user equipment.
当BRAS的本机用户未使用完该BRAS上配置的地址段时,将产生剩余地址段。然而,其它BRAS无法使用该剩余地址段,将导致地址段使用效率低。When the local users of the BRAS have not used up the address segments configured on the BRAS, the remaining address segments will be generated. However, other BRASs cannot use the remaining address segment, which will lead to low utilization efficiency of the address segment.
发明内容Contents of the invention
本发明实施例提供一种地址段分配方法及设备,用以提高地址段的使用效率。Embodiments of the present invention provide a method and device for allocating address segments to improve the use efficiency of address segments.
第一方面,本发明实施例提供一种地址段分配方法,包括:In a first aspect, an embodiment of the present invention provides a method for allocating address segments, including:
第一宽带接入服务器BRAS从本机的可用地址段中确定需要申请的第一子地址段;The first broadband access server BRAS determines the first sub-address segment that needs to be applied for from the available address segment of the machine;
所述第一BRAS向第二BRAS发送第一地址请求消息,所述第一地址请求消息携带所述第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;The first BRAS sends a first address request message to the second BRAS, the first address request message carries the first sub-address segment, and the address segment of the first BRAS and the address segment of the second BRAS exist intersection;
所述第一BRAS接收所述第二BRAS返回的地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段;The first BRAS receives an address request response returned by the second BRAS, where the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment;
在确定所述第二BRAS允许所述第一BRAS申请所述第一子地址段后,所述第一BRAS从所述第一子地址段中为用户设备分配地址。After determining that the second BRAS allows the first BRAS to apply for the first sub-address segment, the first BRAS allocates an address for the user equipment from the first sub-address segment.
结合第一方面,在第一方面的第一种可能的实现方式中,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
所述第一BRAS接收所述第二BRAS发送的第二地址请求消息,所述第二地址请求消息携带需要申请的第二子地址段;The first BRAS receives a second address request message sent by the second BRAS, where the second address request message carries a second sub-address segment to be applied for;
在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段一致时,则所述第一BRAS比较所述第一BRAS的优先级和所述第二BRAS的优先级;After the first BRAS determines that it is necessary to apply for the first sub-address segment, when the first sub-address segment is consistent with the second sub-address segment, the first BRAS compares the priority and the priority of said second BRAS;
当所述第一BRAS的优先级大于所述第二BRAS的优先级时,所述第一BRAS拒绝所述第二BRAS申请所述第二子地址段。When the priority of the first BRAS is higher than the priority of the second BRAS, the first BRAS refuses the second BRAS to apply for the second sub-address segment.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述方法还包括:With reference to the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the method further includes:
当所述第一BRAS的优先级等于所述第二BRAS的优先级时,比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;When the priority of the first BRAS is equal to the priority of the second BRAS, comparing the IP address of the first BRAS with the IP address of the second BRAS;
当所述比较的结果不满足允许所述第二BRAS申请所述第二子地址段的条件时,所述第一BRAS拒绝所述第二BRAS申请所述第二子地址段。When the comparison result does not satisfy the condition for allowing the second BRAS to apply for the second sub-address segment, the first BRAS refuses the second BRAS to apply for the second sub-address segment.
结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述方法还包括:With reference to the first possible implementation of the first aspect, in a third possible implementation of the first aspect, the method further includes:
在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段没有交集且所述第二子地址段属于所述第一BRAS的可用地址段时,所述第一BRAS允许所述第二BRAS申请所述第二子地址段,并从所述第一BRAS的可用地址段中去除所述第二子地址段。After the first BRAS determines that it is necessary to apply for the first sub-address segment, when the first sub-address segment does not overlap with the second sub-address segment and the second sub-address segment belongs to the first BRAS When there is an available address segment, the first BRAS allows the second BRAS to apply for the second sub-address segment, and removes the second sub-address segment from the available address segment of the first BRAS.
第二方面,本发明实施例提供一种地址段分配方法,包括:In a second aspect, an embodiment of the present invention provides a method for allocating address segments, including:
第二宽带接入服务器BRAS接收第一BRAS发送的第一地址请求消息,所述第一地址请求消息携带所述第一BRAS需要申请的第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;The second broadband access server BRAS receives the first address request message sent by the first BRAS, the first address request message carries the first sub-address segment that the first BRAS needs to apply for, the address segment of the first BRAS and There is an intersection between the address segments of the second BRAS;
所述第二BRAS确定所述第一子地址段是否是所述第二BRAS的地址段中的可用地址段;The second BRAS determines whether the first sub-address segment is an available address segment in the address segment of the second BRAS;
在确定所述第一子地址段是所述第二BRAS的地址段中的可用子地址段后,向所述第一BRAS返回地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段。After determining that the first sub-address segment is an available sub-address segment in the address segment of the second BRAS, return an address request response to the first BRAS, where the address request response is used to indicate the second BRAS Allowing the first BRAS to apply for the first sub-address segment.
结合第二方面,在第二方面的第一种可能的实现方式中,在确定所述第一子地址段是所述第二BRAS的地址段中的可用子地址段后,向所述第一BRAS返回地址请求响应具体包括:With reference to the second aspect, in the first possible implementation manner of the second aspect, after determining that the first sub-address segment is an available sub-address segment in the address segment of the second BRAS, send the The BRAS return address request response specifically includes:
所述第二BRAS确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;The second BRAS determines whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若否,则所述第二BRAS向所述第一BRAS返回地址请求响应。If not, the second BRAS returns an address request response to the first BRAS.
结合第二方面,在第二方面的第二种可能的实现方式中,在确定所述第一子地址段是所述第二BRAS的地址段中的可用子地址段后,向所述第一BRAS返回地址请求响应具体包括:With reference to the second aspect, in a second possible implementation manner of the second aspect, after determining that the first sub-address segment is an available sub-address segment in the address segment of the second BRAS, send the The BRAS return address request response specifically includes:
所述第二BRAS确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;The second BRAS determines whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若是,所述第二BRAS比较所述第一BRAS的优先级和所述第二BRAS的优先级;If so, the second BRAS compares the priority of the first BRAS with the priority of the second BRAS;
当所述第一BRAS的优先级高于所述第二BRAS的优先级时,所述第二BRAS向所述第一BRAS返回地址请求响应。When the priority of the first BRAS is higher than the priority of the second BRAS, the second BRAS returns an address request response to the first BRAS.
结合第二方面的第二种可能的实现方式中,在第二方面的第三种可能的实现方式中,所述方法还包括:With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the method further includes:
当比较结果为所述第一BRAS的优先级和第二BRAS的优先级相同时,所述第二BRAS比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;When the comparison result is that the priority of the first BRAS is the same as that of the second BRAS, the second BRAS compares the IP address of the first BRAS with the IP address of the second BRAS;
当所述比较的结果满足允许第一BRAS申请第一子地址段的条件时,所述第二BRAS向所述第一BRAS返回地址请求响应。When the comparison result satisfies the condition of allowing the first BRAS to apply for the first sub-address segment, the second BRAS returns an address request response to the first BRAS.
结合第二方面、第二方面的第一种至第三种任一种可能的实现方式,在第二方面的第四种可能的实现方式中,所述方法还包括:In combination with the second aspect and any one of the first to third possible implementations of the second aspect, in a fourth possible implementation of the second aspect, the method further includes:
当所述第二BRAS允许所述第一BRAS申请所述第一子地址段时,所述第二BRAS从第二BRAS的可用地址段中去除所述第一子地址段。When the second BRAS allows the first BRAS to apply for the first sub-address segment, the second BRAS removes the first sub-address segment from available address segments of the second BRAS.
第三方面,本发明实施例提供一种第一宽带接入服务器BRAS,包括:In a third aspect, an embodiment of the present invention provides a first broadband access server BRAS, including:
申请模块,用于从本机的可用地址段中确定需要申请的第一子地址段;An application module, configured to determine the first sub-address segment to be applied for from the available address segments of the machine;
发送模块,用于向第二BRAS发送第一地址请求消息,所述第一地址请求消息携带所述第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;A sending module, configured to send a first address request message to a second BRAS, where the first address request message carries the first sub-address segment, and the address segment of the first BRAS and the address segment of the second BRAS exist intersection;
第一接收模块,用于接收所述第二BRAS返回的地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段;A first receiving module, configured to receive an address request response returned by the second BRAS, where the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment;
分配模块,用于在确定所述第二BRAS允许所述第一BRAS申请所述第一子地址段后,从所述第一子地址段中为用户设备分配地址。An allocating module, configured to allocate an address for the user equipment from the first sub-address segment after determining that the second BRAS allows the first BRAS to apply for the first sub-address segment.
结合第三方面,在第三方面的第一种可能的实现方式中,还包括:In combination with the third aspect, the first possible implementation of the third aspect further includes:
第二接收模块,用于接收所述第二BRAS发送的第二地址请求消息,所述第二地址请求消息携带需要申请的第二子地址段;A second receiving module, configured to receive a second address request message sent by the second BRAS, where the second address request message carries a second sub-address segment to be applied for;
第一比较模块,用于在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段一致时,比较所述第一BRAS的优先级和所述第二BRAS的优先级;The first comparison module is configured to compare the first BRAS when the first sub-address segment is consistent with the second sub-address segment after the first BRAS determines that it needs to apply for the first sub-address segment and the priority of the second BRAS;
第一响应模块,用于当所述第一BRAS的优先级大于所述第二BRAS的优先级时,拒绝所述第二BRAS申请所述第二子地址段。The first responding module is configured to reject the second BRAS to apply for the second sub-address segment when the priority of the first BRAS is higher than the priority of the second BRAS.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,还包括:In combination with the first possible implementation of the third aspect, the second possible implementation of the third aspect further includes:
第二比较模块,用于当所述第一BRAS的优先级等于所述第二BRAS的优先级时,比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;A second comparison module, configured to compare the IP address of the first BRAS with the IP address of the second BRAS when the priority of the first BRAS is equal to the priority of the second BRAS;
第二响应模块,用于当所述比较的结果不满足允许所述第二BRAS申请所述第二子地址段的条件时,拒绝所述第二BRAS申请所述第二子地址段。The second response module is configured to reject the second BRAS from applying for the second sub-address segment when the comparison result does not satisfy the condition for allowing the second BRAS to apply for the second sub-address segment.
结合第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,还包括:In combination with the first possible implementation of the third aspect, the third possible implementation of the third aspect also includes:
去除模块,用于在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段没有交集且所述第二子地址段属于所述第一BRAS的可用地址段时,允许所述第二BRAS申请所述第二子地址段,并从所述第一BRAS的可用地址段中去除所述第二子地址段。A removal module, configured to, after the first BRAS determines that it is necessary to apply for the first sub-address segment, when the first sub-address segment does not overlap with the second sub-address segment and the second sub-address segment belongs to When the available address segment of the first BRAS is available, the second BRAS is allowed to apply for the second sub-address segment, and the second sub-address segment is removed from the available address segment of the first BRAS.
第四方面,本发明实施例提供一种第二宽带接入服务器BRAS,包括:In a fourth aspect, the embodiment of the present invention provides a second broadband access server BRAS, including:
接收模块,用于接收第一BRAS发送的第一地址请求消息,所述第一地址请求消息携带所述第一BRAS需要申请的第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;A receiving module, configured to receive a first address request message sent by a first BRAS, where the first address request message carries a first sub-address segment that the first BRAS needs to apply for, the address segment of the first BRAS and the There is an intersection between the address segments of the second BRAS;
确定模块,用于确定所述第一子地址段是否是所述第二BRAS的地址段中的可用地址段;A determining module, configured to determine whether the first sub-address segment is an available address segment in the address segment of the second BRAS;
响应模块,用于在确定所述第一子地址段是所述第二BRAS的地址段中的可用子地址段后,向所述第一BRAS返回地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段。A response module, configured to return an address request response to the first BRAS after determining that the first sub-address segment is an available sub-address segment in the address segment of the second BRAS, where the address request response is used to indicate The second BRAS allows the first BRAS to apply for the first sub-address segment.
结合第四方面,在第四方面的第一种可能的实现方式中,所述响应模块具体用于:With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the response module is specifically configured to:
确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;Determine whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若否,则向所述第一BRAS返回地址请求响应。If not, return an address request response to the first BRAS.
结合第四方面,在第四方面的第二种可能的实现方式中,所述响应模块具体用于:With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the response module is specifically configured to:
确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;Determine whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若是,比较所述第一BRAS的优先级和所述第二BRAS的优先级;If so, comparing the priority of the first BRAS with the priority of the second BRAS;
当所述第一BRAS的优先级高于所述第二BRAS的优先级时,向所述第一BRAS返回地址请求响应。When the priority of the first BRAS is higher than the priority of the second BRAS, return an address request response to the first BRAS.
结合第四方面的第二种可能的实现方式中,在第四方面的第三种可能的实现方式中,所述响应模块还具体用于:In conjunction with the second possible implementation of the fourth aspect, in the third possible implementation of the fourth aspect, the response module is further specifically configured to:
当比较结果为所述第一BRAS的优先级和第二BRAS的优先级相同时,比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;When the comparison result is that the priority of the first BRAS is the same as the priority of the second BRAS, comparing the IP address of the first BRAS with the IP address of the second BRAS;
当所述比较的结果满足允许第一BRAS申请第一子地址段的条件时,向所述第一BRAS返回地址请求响应。When the comparison result satisfies the condition of allowing the first BRAS to apply for the first sub-address segment, return an address request response to the first BRAS.
结合第四方面、第四方面的第一种至第三种任一种可能的实现方式,在第四方面的第四种可能的实现方式中,还包括:In combination with the fourth aspect and any of the first to third possible implementations of the fourth aspect, the fourth possible implementation of the fourth aspect further includes:
去除模块,用于当所述第二BRAS允许所述第一BRAS申请所述第一子地址段时,从第二BRAS的可用地址段中去除所述第一子地址段。A removing module, configured to remove the first sub-address segment from available address segments of the second BRAS when the second BRAS allows the first BRAS to apply for the first sub-address segment.
本发明实施例提供的地址段分配方法及设备,第一BRAS从本机的可用地址段中确定需要申请的第一子地址段;所述第一BRAS向第二BRAS发送第一地址请求消息,所述第一地址请求消息携带所述第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;所述第一BRAS接收所述第二BRAS返回的地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段;在确定所述第二BRAS允许所述第一BRAS申请所述第一子地址段后,所述第一BRAS从所述第一子地址段中为用户设备分配地址。各BRAS通过协商的方式实现了各BRAS的地址段共享,提高了地址段的利用率,并且无需通过统一网元来分配地址段,解决了分配瓶颈的问题。In the address segment allocation method and device provided in the embodiments of the present invention, the first BRAS determines the first sub-address segment to be applied for from the available address segments of the local machine; the first BRAS sends a first address request message to the second BRAS, The first address request message carries the first sub-address segment, and the address segment of the first BRAS overlaps with the address segment of the second BRAS; the first BRAS receives the address returned by the second BRAS A request response, the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment; after determining that the second BRAS allows the first BRAS to apply for the first sub-address segment After the address segment, the first BRAS allocates an address for the user equipment from the first sub-address segment. Each BRAS realizes the sharing of the address segment of each BRAS through negotiation, which improves the utilization rate of the address segment, and does not need to allocate the address segment through a unified network element, which solves the problem of allocation bottleneck.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本发明地址段分配方法实施例一的流程图;Fig. 1 is the flow chart of Embodiment 1 of the method for allocating address segments of the present invention;
图2为本发明地址段分配方法实施例二的流程图;Fig. 2 is the flow chart of Embodiment 2 of the address segment allocation method of the present invention;
图3为本发明地址段分配方法实施例三的信令图;FIG. 3 is a signaling diagram of Embodiment 3 of the address segment allocation method of the present invention;
图4为本发明地址段分配方法实施例四的信令图;FIG. 4 is a signaling diagram of Embodiment 4 of the address segment allocation method of the present invention;
图5为本发明第一BRAS实施例一的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 1 of the first BRAS of the present invention;
图6为本发明第一BRAS实施例二的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 2 of the first BRAS of the present invention;
图7为本发明第二BRAS实施例一的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 1 of the second BRAS of the present invention;
图8为本发明第二BRAS实施例二的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 2 of the second BRAS of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1为本发明地址段分配方法实施例一的流程图。本实施例提供了一种地址段分配方法,该方法可以由地址段分配设备来执行,该设备可以通过软件和/或硬件实现。该设备具体可以为宽带接入服务器(Broadband RemoteAccess Server,简称BRAS)中,其中BRAS一般有多个,位于骨干网的边缘,可以为用户分配接入地址,使用户可以实现带宽的网络之间互连的协议(Internet Protocol,简称IP)网的数据接入。各BRAS之间相互通信,以实现各BRAS地址段共享,提高地址段利用率。本领域技术人员可以理解,在具体实现过程中,每个BRAS既可能是第一BRAS,又可以为第二BRAS。即每个BRAS包括第一BRAS的功能和第二BRAS的功能。本实施例在此先以第一BRAS作为执行主体,对地址段分配方法做详细说明。如图1所示,本实施例的方法可以包括:FIG. 1 is a flow chart of Embodiment 1 of the method for allocating address segments in the present invention. This embodiment provides a method for allocating address segments, which can be executed by an address segment allocating device, and the device can be implemented by software and/or hardware. Specifically, the device can be a broadband access server (Broadband Remote Access Server, referred to as BRAS), in which there are generally multiple BRASs, which are located on the edge of the backbone network, and can allocate access addresses for users, so that users can realize the interconnection between networks with high bandwidth. Data access to the Internet Protocol (IP) network. The BRASs communicate with each other to realize the sharing of the address segments of the BRASs and improve the utilization rate of the address segments. Those skilled in the art can understand that, in a specific implementation process, each BRAS may be either the first BRAS or the second BRAS. That is, each BRAS includes the functions of the first BRAS and the functions of the second BRAS. In this embodiment, firstly, the first BRAS is used as an execution subject, and the method for allocating address segments is described in detail. As shown in Figure 1, the method of this embodiment may include:
步骤101:第一BRAS从本机的可用地址段中确定需要申请的第一子地址段。Step 101: the first BRAS determines the first sub-address segment to be applied for from the available address segments of the local computer.
在具体实现过程中,首先可在各BRAS配置地址段,其中,各BRAS上配置的地址段必须与其它BRAS上配置的地址段存在交集,每个BRAS上最多可以配置32段地址段,取值范围为0-31。特别地,地址段存在交集的各BRAS组成了地址共享组。In the specific implementation process, firstly, address segments can be configured in each BRAS. Among them, the address segments configured on each BRAS must overlap with the address segments configured on other BRASs. A maximum of 32 address segments can be configured on each BRAS. The range is 0-31. In particular, the BRASs whose address segments overlap form an address sharing group.
当用户设备通过PPPOE或DHCP方式接入其中一个BRAS时,为了便于描述,本实施例在此称为第一BRAS,即用户设备接入第一BRAS时,第一BRAS从本机可用地址段中确定需要申请的第一子地址段。其中,本机的可用地址段为还未分配给用户的地址段。当地址段中的子地址段分配给第一BRAS的用户,或该子地址段被其它BRAS分配给用户时,该被分配的子地址段为已用子地址段,需将该子地址段从本机可用地址段中去除,得到新的本机可用地址段。在具体实现过程中,第一BRAS可对该已用子地址段进行记录,得到记录表,当再次申请子地址段时,排除该记录表中记录的子地址段,从本机可用地址段中申请子地址段。When the user equipment accesses one of the BRASs through PPPOE or DHCP, for the convenience of description, this embodiment is referred to as the first BRAS here, that is, when the user equipment accesses the first BRAS, the first BRAS selects the first BRAS from the local available address range Determine the first sub-address segment that needs to be applied for. Among them, the available address segment of the machine is the address segment not allocated to the user. When the sub-address segment in the address segment is assigned to the user of the first BRAS, or the sub-address segment is allocated to the user by other BRAS, the assigned sub-address segment is a used sub-address segment, and the sub-address segment needs to be removed from Remove from the available address segment of the local machine to obtain a new available address segment of the local machine. In the specific implementation process, the first BRAS can record the used sub-address section to obtain a record table, and when applying for a sub-address section again, exclude the sub-address section recorded in the record table, and use the available address section from the local machine. Apply for a sub-address segment.
步骤102:第一BRAS向第二BRAS发送第一地址请求消息,第一地址请求消息携带第一子地址段,第一BRAS的地址段和第二BRAS的地址段存在交集。Step 102: the first BRAS sends a first address request message to the second BRAS, the first address request message carries a first sub-address segment, and the address segment of the first BRAS overlaps with the address segment of the second BRAS.
由于第一BRAS的地址段与第二BRAS的地址段存在交集,因此,当第一BRAS从本机的可用地址段中确定需要申请的第一子地址段后,第一BRAS需要向第二BRAS(即其它BRAS)发送第一地址请求消息,其中,第一地址请求消息中携带该第一子地址段,以使所有的第二BRAS确定该第一BRAS是否可以使用该第一子地址段。特别地,地址共享组中最多可以包括65535个BRAS,每个BRAS都具有各自的标识,第一BRAS可以根据各第二BRAS的标识,向各第二BRAS发送地址请求消息。Because there is an intersection between the address segment of the first BRAS and the address segment of the second BRAS, after the first BRAS determines the first sub-address segment that needs to be applied for from the available address segment of this machine, the first BRAS needs to report to the second BRAS (that is, other BRASs) send a first address request message, wherein the first address request message carries the first sub-address segment, so that all second BRASs determine whether the first BRAS can use the first sub-address segment. In particular, the address sharing group may include a maximum of 65535 BRASs, and each BRAS has its own identifier, and the first BRAS may send an address request message to each second BRAS according to the identifiers of each second BRAS.
步骤103:第一BRAS接收第二BRAS返回的地址请求响应,地址请求响应用于指示第二BRAS允许第一BRAS申请第一子地址段。Step 103: the first BRAS receives the address request response returned by the second BRAS, where the address request response is used to instruct the second BRAS to allow the first BRAS to apply for the first sub-address segment.
当第二BRAS允许第一BRAS申请该第一子地址段时,向第一BRAS返回地址请求响应,用于指示第二BRAS允许第一BRAS申请第一子地址段。第一BRAS接收第二BRAS返回的地址请求响应。When the second BRAS allows the first BRAS to apply for the first sub-address segment, it returns an address request response to the first BRAS, which is used to instruct the second BRAS to allow the first BRAS to apply for the first sub-address segment. The first BRAS receives the address request response returned by the second BRAS.
步骤104:在确定第二BRAS允许第一BRAS申请第一子地址段后,第一BRAS从第一子地址段中为用户设备分配地址。Step 104: After determining that the second BRAS allows the first BRAS to apply for the first sub-address segment, the first BRAS allocates an address for the user equipment from the first sub-address segment.
当第一BRAS接收第二BRAS返回的地址请求响应后,确定第二BRAS允许第一BRAS申请第一子地址段,第一BRAS从第一子地址段中为用户设备分配地址。同时,第一BRAS从剩余可用地址段中去除该第一子地址段,形成新的可用地址段,当第一BRAS再次申请子地址时,在该新的可用地址段中确定需要申请的第一子地址段。After receiving the address request response returned by the second BRAS, the first BRAS determines that the second BRAS allows the first BRAS to apply for the first sub-address segment, and the first BRAS allocates an address for the user equipment from the first sub-address segment. At the same time, the first BRAS removes the first sub-address segment from the remaining available address segment to form a new available address segment, and when the first BRAS applies for a sub-address again, it determines the first sub-address that needs to be applied for in the new available address segment. Sub address segment.
本发明实施例提供的地址段分配方法,第一BRAS从本机的可用地址段中确定需要申请的第一子地址段;第一BRAS向第二BRAS发送第一地址请求消息,第一地址请求消息携带第一子地址段,第一BRAS的地址段和第二BRAS的地址段存在交集;第一BRAS接收第二BRAS返回的地址请求响应,地址请求响应用于指示第二BRAS允许第一BRAS申请第一子地址段;在确定第二BRAS允许第一BRAS申请第一子地址段后,第一BRAS从第一子地址段中为用户设备分配地址,各BRAS通过协商的方式实现了各BRAS的地址段共享,提高了地址段的利用率,并且无需通过统一网元来分配地址段,解决了分配瓶颈的问题。In the address segment allocation method provided by the embodiment of the present invention, the first BRAS determines the first sub-address segment to be applied for from the available address segments of the local machine; the first BRAS sends a first address request message to the second BRAS, and the first address request The message carries the first sub-address segment, and the address segment of the first BRAS overlaps with the address segment of the second BRAS; the first BRAS receives the address request response returned by the second BRAS, and the address request response is used to instruct the second BRAS to allow the first BRAS Apply for the first sub-address segment; after confirming that the second BRAS allows the first BRAS to apply for the first sub-address segment, the first BRAS allocates an address for the user equipment from the first sub-address segment, and each BRAS realizes that each BRAS The address segment sharing improves the utilization rate of the address segment, and it is not necessary to allocate the address segment through a unified network element, which solves the problem of allocation bottleneck.
在图1实施例的基础上,本发明实施例提供的地址段分配方法还包括:第一BRAS接收第二BRAS发送的第二地址请求消息,第二地址请求消息携带需要申请的第二子地址段;第一BRAS根据第一子地址段和第二子地址段是否一致,确定第二BRAS是否可以申请第二子地址段On the basis of the embodiment in Fig. 1, the address segment allocation method provided by the embodiment of the present invention further includes: the first BRAS receives the second address request message sent by the second BRAS, and the second address request message carries the second sub-address to be applied for segment; the first BRAS determines whether the second BRAS can apply for the second sub-address segment according to whether the first sub-address segment is consistent with the second sub-address segment
在具体实现过程中,第一BRAS根据第一子地址段和第二子地址段是否一致,确定第二BRAS是否可以申请第二子地址段。具体可分为以下可能的实现方式:In a specific implementation process, the first BRAS determines whether the second BRAS can apply for the second sub-address segment according to whether the first sub-address segment is consistent with the second sub-address segment. Specifically, it can be divided into the following possible implementation methods:
一种可能的实现方式为,在第一BRAS确定需要申请第一子地址段后,当第一子地址段与第二子地址段一致时,则第一BRAS比较第一BRAS的优先级和第二BRAS的优先级。A possible implementation is that after the first BRAS determines that it is necessary to apply for the first sub-address segment, when the first sub-address segment is consistent with the second sub-address segment, the first BRAS compares the priority of the first BRAS with the priority of the first BRAS. Two BRAS priorities.
在具体实现过程中,地址共享组中的每个BRAS都有各自的优先级,优先级的取值范围为0-65535,优先级取值越小,优先级越高。同时,第二BRAS发送的第二地址请求消息中,还可以包括第二BRAS的优先级。在当第一子地址段与第二子地址段一致时,优先级高的BRAS获取对应的子地址段,优先级低的BRAS重新申请子地址段。在本领域技术人员可以理解,在具体实现过程中,可能出现第一BRAS和第二BRAS配置的优先级相同。In the specific implementation process, each BRAS in the address sharing group has its own priority, and the value range of the priority is 0-65535, and the smaller the value of the priority, the higher the priority. Meanwhile, the second address request message sent by the second BRAS may further include the priority of the second BRAS. When the first sub-address segment is consistent with the second sub-address segment, the BRAS with a higher priority obtains the corresponding sub-address segment, and the BRAS with a lower priority applies for a sub-address segment again. Those skilled in the art can understand that, in a specific implementation process, it may happen that the priorities configured by the first BRAS and the second BRAS are the same.
第一BRAS比较第一BRAS和第二BRAS的优先级,并根据优先级比较结果确定是否允许第二BRAS申请第二子地址段,具体可以有三种可能的情况:The first BRAS compares the priority of the first BRAS and the second BRAS, and determines whether to allow the second BRAS to apply for the second sub-address segment according to the priority comparison result, specifically there may be three possible situations:
一种可能的情况,当第一BRAS的优先级大于第二BRAS的优先级时,第一BRAS拒绝第二BRAS申请第二子地址段。在具体实现过程中,第一BRAS可以向第二BRAS发送地址拒绝响应,以拒绝第二BRAS申请,第一BRAS还可以不做出任何响应。In a possible situation, when the priority of the first BRAS is higher than that of the second BRAS, the first BRAS refuses the second BRAS to apply for the second sub-address segment. In a specific implementation process, the first BRAS may send an address rejection response to the second BRAS to reject the application of the second BRAS, and the first BRAS may not make any response.
另一种可能的情况,当第一BRAS的优先级低于第二BRAS的优先级时,则第一BRAS允许第二BRAS申请第二子地址段。在具体实现过程中,第一BRAS向第二BRAS发送地址请求响应,以允许第二BRAS申请第二子地址段。In another possible situation, when the priority of the first BRAS is lower than that of the second BRAS, the first BRAS allows the second BRAS to apply for the second sub-address segment. In a specific implementation process, the first BRAS sends an address request response to the second BRAS to allow the second BRAS to apply for the second sub-address segment.
再一种可能的情况,当第一BRAS的优先级等于第二BRAS的优先级时,比较第一BRAS的IP地址和第二BRAS的IP地址;当比较的结果不满足允许第二BRAS申请第二子地址段的条件时,第一BRAS拒绝第二BRAS申请第二子地址段。在具体实现过程中,若第一BRAS的IP地址值小于第二BRAS的IP地址值,则第一BRAS确定不允许第二BRAS申请第二子地址段,若第一BRAS的IP地址值大于第二BRAS的IP地址值,则第一BRAS确定允许第二BRAS申请第二子地址段。In another possible situation, when the priority of the first BRAS is equal to the priority of the second BRAS, compare the IP address of the first BRAS and the IP address of the second BRAS; When the condition of the second sub-address segment is met, the first BRAS rejects the application of the second sub-address segment by the second BRAS. In the specific implementation process, if the IP address value of the first BRAS is less than the IP address value of the second BRAS, then the first BRAS determines that the second BRAS is not allowed to apply for the second sub-address segment, if the IP address value of the first BRAS is greater than the second sub-address segment The IP address value of the second BRAS, then the first BRAS determines to allow the second BRAS to apply for the second sub-address segment.
另一种可能的实现方式为,在第一BRAS确定需要申请第一子地址段后,当第一子地址段与第二子地址段没有交集且第二子地址段属于第一BRAS的可用地址段时,第一BRAS允许第二BRAS申请第二子地址段,并从第一BRAS的可用地址段中去除第二子地址段。Another possible implementation is that after the first BRAS determines that it needs to apply for the first sub-address segment, when there is no intersection between the first sub-address segment and the second sub-address segment and the second sub-address segment belongs to the available address of the first BRAS When the segment is available, the first BRAS allows the second BRAS to apply for the second sub-address segment, and removes the second sub-address segment from the available address segments of the first BRAS.
在具体实现过程中,第一BRAS向第二BRAS发送地址请求响应,以允许第二BRAS申请第二子地址段,并从剩余可用地址段中去除第二子地址段,形成新的可用地址段,当第一BRAS再次申请第一子地址段时,在该新的可用地址段中确定需要申请的第一子地址段。In the specific implementation process, the first BRAS sends an address request response to the second BRAS to allow the second BRAS to apply for the second sub-address segment, and remove the second sub-address segment from the remaining available address segments to form a new available address segment , when the first BRAS applies for the first sub-address segment again, it determines the first sub-address segment to be applied for in the new available address segment.
本发明实施例提供的地址段分配方法,通过第一BRAS接收第二BRAS发送的第二地址请求消息,第一BRAS确定第一BRAS需要申请的第一子地址段与第二BRAS需要申请的第二子地址段是否一致,当第一BRAS确定出需要申请的第一子地址段与第二BRAS需要申请的第二子地址段一致时,则第一BRAS根据优先级确定是否允许第二BRAS申请第二子地址段,不仅实现了各BRAS的地址段的共享,还保证了在同一时刻同一地址段仅被一个BRAS使用,使该BRAS从子地址段中为用户设备分配地址能够有序进行。In the address segment allocation method provided in the embodiment of the present invention, the first BRAS receives the second address request message sent by the second BRAS, and the first BRAS determines the first sub-address segment that the first BRAS needs to apply for and the second address segment that the second BRAS needs to apply for. Whether the two sub-address segments are consistent, when the first BRAS determines that the first sub-address segment that needs to be applied for is consistent with the second sub-address segment that the second BRAS needs to apply for, then the first BRAS determines whether to allow the second BRAS application according to the priority The second sub-address section not only realizes the sharing of the address sections of the BRASs, but also ensures that the same address section is only used by one BRAS at the same time, so that the BRAS can allocate addresses to the user equipment from the sub-address section in an orderly manner.
图2为本发明地址段分配方法实施例二的流程图。本实施例提供了一种地址段分配方法,该方法可以由地址段分配设备来执行,该设备可以通过软件和/或硬件实现。该设备具体可以为宽带接入服务器(Broadband RemoteAccess Server,简称BRAS)中,其中BRAS一般有多个,位于骨干网的边缘,可以为用户分配接入地址,使用户可以实现带宽的网络之间互连的协议(Internet Protocol,简称IP)网的数据接入。各BRAS之间相互通信,以实现各BRAS地址段共享,提高地址段利用率。本领域技术人员可以理解,在具体实现过程中,每个BRAS既可能是第一BRAS,又可以为第二BRAS。本实施例在此以第二BRAS作为执行主体,对地址段分配方法做详细说明。如图2所示,本实施例的方法可以包括:FIG. 2 is a flow chart of Embodiment 2 of the address segment allocation method of the present invention. This embodiment provides a method for allocating address segments, which can be executed by an address segment allocating device, and the device can be implemented by software and/or hardware. Specifically, the device can be a broadband access server (Broadband Remote Access Server, referred to as BRAS), in which there are generally multiple BRASs, which are located on the edge of the backbone network, and can allocate access addresses for users, so that users can realize the interconnection between networks with high bandwidth. Data access to the Internet Protocol (IP) network. The BRASs communicate with each other to realize the sharing of the address segments of the BRASs and improve the utilization rate of the address segments. Those skilled in the art can understand that, in a specific implementation process, each BRAS may be either the first BRAS or the second BRAS. In this embodiment, the second BRAS is used as the execution subject, and the method for allocating address segments is described in detail. As shown in Figure 2, the method of this embodiment may include:
步骤201、第二BRAS接收第一BRAS发送的第一地址请求消息,第一地址请求消息携带第一BRAS需要申请的第一子地址段,第一BRAS的地址段和第二BRAS的地址段存在交集;Step 201, the second BRAS receives the first address request message sent by the first BRAS, the first address request message carries the first sub-address segment that the first BRAS needs to apply for, the address segment of the first BRAS and the address segment of the second BRAS exist intersection;
本领域技术人员可以理解,在具体实现过程中,第二BRAS接收一个或多个第一BRAS发送的第一地址请求消息,其中,第一地址请求消息携带第一BRAS申请的第一子地址段,第一BRAS的地址段和第二BRAS的地址段存在交集。同时,第一子地址段可以不连续,当第一子地址段为多段时,第一地址请求消息中还标明第一子地址段的段数目。Those skilled in the art can understand that, in the specific implementation process, the second BRAS receives the first address request message sent by one or more first BRASs, wherein the first address request message carries the first sub-address segment applied by the first BRAS , an intersection exists between the address segment of the first BRAS and the address segment of the second BRAS. At the same time, the first sub-address segments may be discontinuous. When the first sub-address segments are multi-segments, the number of the first sub-address segments is also indicated in the first address request message.
步骤202、第二BRAS确定第一子地址段是否是第二BRAS的地址段中的可用地址段;Step 202, the second BRAS determines whether the first sub-address segment is an available address segment in the address segment of the second BRAS;
由于第一BRAS的地址段和第二BRAS的地址段存在交集,因此,第二BRAS需要确定第一地址段是否是第二BRAS的地址段中的可用地址段。当第二BRAS确定第一子地址段不是第二BRAS的地址段中的可用地址段时,则第二BRAS允许第一BRAS申请该第一子地址段。当第二BRAS确定第一子地址段是第二BRAS的地址段中的可用地址段时,则进行步骤203。Since there is an intersection between the address segment of the first BRAS and the address segment of the second BRAS, the second BRAS needs to determine whether the first address segment is an available address segment in the address segment of the second BRAS. When the second BRAS determines that the first sub-address segment is not an available address segment in the address segment of the second BRAS, the second BRAS allows the first BRAS to apply for the first sub-address segment. When the second BRAS determines that the first sub-address segment is an available address segment in the address segments of the second BRAS, go to step 203 .
步骤203、在确定第一子地址段是第二BRAS的地址段中的可用地址段后,向第一BRAS返回地址请求响应,地址请求响应用于指示第二BRAS允许第一BRAS申请第一子地址段。Step 203, after determining that the first sub-address segment is an available address segment in the address segment of the second BRAS, return an address request response to the first BRAS, and the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment. address segment.
具体地,当确定第一子地址段是第二BRAS的地址段中的可用地址段后,第二BRAS向第一BRAS返回地址响应,具体包括以下过程:Specifically, after determining that the first sub-address segment is an available address segment in the address segment of the second BRAS, the second BRAS returns an address response to the first BRAS, specifically including the following process:
第二BRAS确定第一子地址段与第二BRAS需要申请的第二子地址段是否一致;The second BRAS determines whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若否,则第二BRAS向第一BRAS返回地址请求响应,具体地,当第一子地址段与第二子地址段不一致时,说明第二BRAS当前没有使用该第一子地址段,并且当前也没有申请使用该第一子地址段,则第二BRAS向第一BRAS返回地址请求响应。If not, the second BRAS returns an address request response to the first BRAS, specifically, when the first sub-address segment is inconsistent with the second sub-address segment, it means that the second BRAS does not currently use the first sub-address segment, and the current If there is no application for using the first sub-address segment, the second BRAS returns an address request response to the first BRAS.
若是,第二BRAS比较第一BRAS的优先级和第二BRAS的优先级,每个BRAS都有各自的优先级,优先级的取值范围为0-65535,优先级取值越小,优先级越高。If so, the second BRAS compares the priority of the first BRAS with the priority of the second BRAS. Each BRAS has its own priority. The value range of the priority is 0-65535. The smaller the value of the priority, the higher the priority. higher.
当第一BRAS的优先级高于第二BRAS的优先级时,第二BRAS向第一BRAS返回地址请求响应。When the priority of the first BRAS is higher than that of the second BRAS, the second BRAS returns an address request response to the first BRAS.
当第一BRAS的优先级低于第二BRAS的优先级时,第二BRAS忽略第一BRAS发送的第一地址请求消息,即不作任何回复,或者向第一BRAS返回地址拒绝响应。When the priority of the first BRAS is lower than that of the second BRAS, the second BRAS ignores the first address request message sent by the first BRAS, that is, does not make any reply, or returns an address rejection response to the first BRAS.
当比较结果为第一BRAS的优先级和第二BRAS的优先级相同时,第二BRAS比较第一BRAS的IP地址和第二BRAS的IP地址;当比较的结果满足允许第一BRAS申请第一子地址段的条件时,第二BRAS向第一BRAS返回地址请求响应。具体地,IP地址为BRAS发送地址请求消息的IP地址。若第一BRAS的IP地址值小于第二BRAS的IP地址值,则第二BRAS允许第一BRAS申请,若第一BRAS的IP地址值大于第二BRAS的IP地址值,则第二BRAS确定不允许第一BRAS申请。When the comparison result is that the priority of the first BRAS is the same as that of the second BRAS, the second BRAS compares the IP address of the first BRAS with the IP address of the second BRAS; when the result of the comparison is satisfied, the first BRAS is allowed to apply for the first When the conditions of the sub-address segment are met, the second BRAS returns an address request response to the first BRAS. Specifically, the IP address is the IP address for the BRAS to send the address request message. If the IP address value of the first BRAS is less than the IP address value of the second BRAS, then the second BRAS allows the first BRAS to apply, if the IP address value of the first BRAS is greater than the IP address value of the second BRAS, then the second BRAS determines not to First BRAS applications are permitted.
可选地,当第二BRAS允许第一BRAS申请第一子地址段时,第二BRAS从第二BRAS的可用地址段中去除第一子地址段。通过该方式,保证了第二BRAS对可用地址段的管理,不会引起第一BRAS和第二BRAS的地址冲突,以及第二BRAS再次申请第二子地址段时,不会申请第一BRAS正在使用的的地址段。Optionally, when the second BRAS allows the first BRAS to apply for the first sub-address segment, the second BRAS removes the first sub-address segment from the available address segments of the second BRAS. In this way, it is guaranteed that the management of the second BRAS to the available address segment will not cause the address conflict between the first BRAS and the second BRAS, and when the second BRAS applies for the second sub-address segment again, it will not apply for the first BRAS being The address segment to use.
本发明实施例提供的地址段分配方法,通过第二BRAS接收第一BRAS发送的第一地址请求消息,第一地址请求消息携带第一BRAS需要申请的第一子地址段,第一BRAS的地址段和第二BRAS的地址段存在交集;第二BRAS确定第一子地址段是否是第二BRAS的地址段中的可用地址段;在确定第一子地址段是第二BRAS的地址段中的可用子地址段后,向第一BRAS返回地址请求响应,地址请求响应用于指示第二BRAS允许第一BRAS申请第一子地址段,不仅实现了各BRAS的地址段的共享,还保证了在同一时刻同一地址段仅被一个BRAS使用,使该BRAS从子地址段中为用户设备分配地址能够有序进行。In the method for allocating address segments provided by the embodiments of the present invention, the second BRAS receives the first address request message sent by the first BRAS, the first address request message carries the first sub-address segment that the first BRAS needs to apply for, and the address of the first BRAS segment and the address segment of the second BRAS have an intersection; the second BRAS determines whether the first sub-address segment is an available address segment in the address segment of the second BRAS; After the sub-address section is available, an address request response is returned to the first BRAS, and the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address section, which not only realizes the sharing of the address sections of each BRAS, but also ensures The same address segment is only used by one BRAS at the same time, so that the BRAS can allocate addresses to the user equipment from the sub-address segment in an orderly manner.
图3为本发明地址段分配方法实施例三的信令图,以下结合图3,对本发明实施例提供的地址段分配方法进行详细说明。在图3中,BRAS-A可以理解为第一BRAS,BRAS-B与BRAS-C可以理解为第二BRAS。以下先对BRAS-A、BRAS-B以及BRAS-C进行简单说明。FIG. 3 is a signaling diagram of Embodiment 3 of the address segment allocation method of the present invention. The address segment allocation method provided by the embodiment of the present invention will be described in detail below with reference to FIG. 3 . In FIG. 3 , BRAS-A can be understood as a first BRAS, and BRAS-B and BRAS-C can be understood as a second BRAS. The BRAS-A, BRAS-B, and BRAS-C are briefly described below.
BRAS-A,优先级取值100,已配置地址段10.0.1-10.0.255.255,第一子地址段长度255;BRAS-B,优先级取值200,已配置地址段10.0.1-10.0.255.255,第二子地址段长度255;BRAS-C,优先级取值250,已配置地址段10.0.1-10.0.255.255,第二子地址段长度255;BRAS-A, the priority value is 100, the configured address segment is 10.0.1-10.0.255.255, and the length of the first sub-address segment is 255; BRAS-B, the priority value is 200, and the configured address segment is 10.0.1-10.0. 255.255, the length of the second sub-address segment is 255; BRAS-C, the priority value is 250, the configured address segment is 10.0.1-10.0.255.255, the length of the second sub-address segment is 255;
在具体实现过程中,BRAS-A可以根据BRAS-B、BRAS-C的标识,向BRAS-B、BRAS-C发送地址请求消息。具体过程如下所示:In a specific implementation process, BRAS-A may send address request messages to BRAS-B and BRAS-C according to the identities of BRAS-B and BRAS-C. The specific process is as follows:
步骤301、BRAS-A向BRAS-B发送第一地址请求消息,第一地址请求消息携带第一子地址段10.0.0.1-10.0.0.255;Step 301, BRAS-A sends a first address request message to BRAS-B, and the first address request message carries the first sub-address segment 10.0.0.1-10.0.0.255;
步骤302、BRAS-A向BRAS-C发送第一地址请求消息,第一地址请求消息携带第一子地址段10.0.0.1-10.0.0.255;Step 302, BRAS-A sends a first address request message to BRAS-C, and the first address request message carries the first sub-address segment 10.0.0.1-10.0.0.255;
本领域技术人员可以理解,步骤301和步骤302没有严格的时序关系,在具体实现过程中,BRAS-A可以同时向BRAS-B和BRAS-C发送第一地址请求消息。Those skilled in the art can understand that there is no strict timing relationship between step 301 and step 302. In a specific implementation process, BRAS-A may send the first address request message to BRAS-B and BRAS-C at the same time.
步骤303、BRAS-B确定BRAS-A需要申请的第一子地址段与BRAS-B需要申请的第二子地址段不一致;Step 303, BRAS-B determines that the first sub-address segment that BRAS-A needs to apply for is inconsistent with the second sub-address segment that BRAS-B needs to apply for;
步骤304、BRAS-C确定BRAS-A需要申请的第一子地址段与BRAS-B需要申请的第二子地址段不一致;Step 304, BRAS-C determines that the first sub-address segment that BRAS-A needs to apply for is inconsistent with the second sub-address segment that BRAS-B needs to apply for;
在实际应用过程中,BRAS-B和BRAS-C在接收BRAS-A发送的第一地址请求消息后,会检测BRAS-A的第一子地址段与本机需要申请的第二子地址段是否一致。其中,BRAS-A需要申请的第一子地址段与BRAS-B和BRAS-C需要申请的第二子地址段不一致具体可以包括两种情况,一种为BRAS-A与BRAS-B和BRAS-C需要申请的第二子地址段不一致,另一种为BRAS-B和BRAS-C此时没有进行子地址的申请。In the actual application process, after receiving the first address request message sent by BRAS-A, BRAS-B and BRAS-C will check whether the first sub-address segment of BRAS-A and the second sub-address segment that the machine needs to apply for are unanimous. Among them, the first sub-address segment that BRAS-A needs to apply for is inconsistent with the second sub-address segment that BRAS-B and BRAS-C need to apply for. Specifically, it can include two situations, one is that BRAS-A and BRAS-B and BRAS-C The second sub-address segments that C needs to apply for are inconsistent, and the other is that BRAS-B and BRAS-C have not applied for sub-addresses at this time.
步骤305、BRAS-B向BRAS-A发送允许BRAS-A申请第一子地址段的地址请求响应;Step 305, BRAS-B sends to BRAS-A the address request response that allows BRAS-A to apply for the first sub-address segment;
步骤306、BRAS-C向BRAS-A发送允许BRAS-A申请第一子地址段的地址请求响应;Step 306, BRAS-C sends to BRAS-A the address request response that allows BRAS-A to apply for the first sub-address segment;
本领域技术人员可以理解,步骤305和步骤306没有严格的时序关系,在具体实现过程中,BRAS-B可以和BRAS-C同时向BRAS-A发送允许BRAS-A申请的地址请求响应,也可以有先后顺序。Those skilled in the art can understand that step 305 and step 306 do not have a strict timing relationship. In the specific implementation process, BRAS-B and BRAS-C can simultaneously send to BRAS-A an address request response allowing BRAS-A to apply, or There is a sequence.
步骤307、BRAS-C从剩余可用地址段中去除第一子地址段;Step 307, BRAS-C removes the first sub-address segment from the remaining available address segments;
步骤308、BRAS-B从剩余可用地址段中去除第一子地址段;Step 308, BRAS-B removes the first sub-address segment from the remaining available address segments;
步骤309、BRAS-A从剩余可用地址段中去除第一子地址段。Step 309, BRAS-A removes the first sub-address segment from the remaining available address segments.
本领域技术人员可以理解,在具体实现过程中,步骤307至步骤309没有严格的时序关系,只要该第一子地址段被任一BRAS申请成功,则所有BRAS将从剩余可用地址段中去除该第一子地址段。Those skilled in the art can understand that in the specific implementation process, there is no strict timing relationship between step 307 and step 309. As long as the first sub-address segment is successfully applied by any BRAS, all BRASs will remove this sub-address segment from the remaining available address segments. The first sub-address segment.
由图3可知,在具体实现过程中,只有BRAS-B和BRAS-C均向BRAS-A发送允许BRAS-A申请第一子地址段的地址请求响应时,BRAS-A才可以使用该第一子地址段。As can be seen from Fig. 3, in the specific implementation process, only when BRAS-B and BRAS-C all send to BRAS-A the address request response that allows BRAS-A to apply for the first subaddress section, BRAS-A just can use this first subaddress section. Sub address segment.
图4为本发明地址段分配方法实施例四的信令图,以下结合图4,对本发明实施例提供的地址段分配方法进行详细说明。其中,第一BRAS的优先级取值为100,第二BRAS的优先级取值为200。FIG. 4 is a signaling diagram of Embodiment 4 of the address segment allocation method of the present invention. The address segment allocation method provided by the embodiment of the present invention will be described in detail below with reference to FIG. 4 . Wherein, the priority value of the first BRAS is 100, and the priority value of the second BRAS is 200.
步骤401、第一BRAS向第二BRAS发送第一地址请求消息,第一地址请求消息携带第一子地址段10.0.0.1-10.0.0.255;Step 401, the first BRAS sends a first address request message to the second BRAS, and the first address request message carries the first sub-address segment 10.0.0.1-10.0.0.255;
步骤402、第二BRAS向第一BRAS发送第二地址请求消息,第二地址请求消息携带第二子地址段10.0.0.1-10.0.0.255;Step 402, the second BRAS sends a second address request message to the first BRAS, and the second address request message carries the second sub-address segment 10.0.0.1-10.0.0.255;
本领域技术人员可以理解,步骤401和步骤402没有严格的时序关系,第一BRAS与第二BRAS可以同时向彼此发送地址请求消息。Those skilled in the art can understand that there is no strict timing relationship between step 401 and step 402, and the first BRAS and the second BRAS can send address request messages to each other at the same time.
步骤403、第一BRAS确定第一BRAS的优先级高于第二BRAS的优先级;Step 403, the first BRAS determines that the priority of the first BRAS is higher than the priority of the second BRAS;
当第一BRAS确定出第一子地址段与第二BRAS需要申请的第二子地址段一致时,第一BRAS确定第一BRAS的优先级高于第二BRAS的优先级。第一BRAS可以不做任何处理。When the first BRAS determines that the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for, the first BRAS determines that the priority of the first BRAS is higher than that of the second BRAS. The first BRAS may not perform any processing.
步骤404、第二BRAS确定第二BRAS的优先级低于第一BRAS的优先级;Step 404, the second BRAS determines that the priority of the second BRAS is lower than the priority of the first BRAS;
当第二BRAS确定第二子地址段与第一BRAS需要申请的第一子地址段一致时,第二BRAS确定第二BRAS的优先级低于第一BRAS的优先级。When the second BRAS determines that the second sub-address segment is consistent with the first sub-address segment that the first BRAS needs to apply for, the second BRAS determines that the priority of the second BRAS is lower than that of the first BRAS.
步骤405、第二BRAS向第一BRAS发送允许第一BRAS申请第一子地址段的地址请求响应;Step 405, the second BRAS sends an address request response allowing the first BRAS to apply for the first sub-address segment to the first BRAS;
当第二BRAS确定第二BRAS的优先级低于第一BRAS的优先级时,第二BRAS确定本机无法申请第二子地址段,向第一BRAS发送允许第一BRAS申请第一子地址段的地址请求响应。When the second BRAS determined that the priority of the second BRAS was lower than the priority of the first BRAS, the second BRAS determined that this machine could not apply for the second sub-address segment, and sent to the first BRAS to allow the first BRAS to apply for the first sub-address segment The address request response.
步骤406、第一BRAS从剩余可用地址段中去除第一子地址段;Step 406, the first BRAS removes the first sub-address segment from the remaining available address segments;
步骤407、第二BRAS从剩余可用地址段中去除第一子地址段;Step 407, the second BRAS removes the first sub-address segment from the remaining available address segments;
本领域技术人员可以理解,步骤406与步骤407没有严格的时序关系。Those skilled in the art can understand that step 406 and step 407 do not have a strict time sequence relationship.
步骤408、第二BRAS向第一BRAS发送第二地址请求消息,第二地址请求消息携带子地址段10.0.1.1-10.0.1.255。Step 408, the second BRAS sends a second address request message to the first BRAS, and the second address request message carries the sub-address segment 10.0.1.1-10.0.1.255.
当第二BRAS无法获得该子地址段时,第二BRAS向第一BRAS重新发送地址请求消息,步骤408之后可能的实现方式可以参照图3和图4。When the second BRAS cannot obtain the sub-address segment, the second BRAS resends the address request message to the first BRAS. For possible implementations after step 408, refer to FIG. 3 and FIG. 4 .
图5为本发明第一BRAS实施例一的结构示意图。如图5所示,本发明提供的第一BRAS50包括申请模块501,发送模块502,第一接收模块503和分配模块504。FIG. 5 is a schematic structural diagram of Embodiment 1 of the first BRAS of the present invention. As shown in FIG. 5 , the first BRAS 50 provided by the present invention includes an application module 501 , a sending module 502 , a first receiving module 503 and an allocation module 504 .
申请模块501,用于从本机的可用地址段中确定需要申请的第一子地址段;An application module 501, configured to determine the first sub-address segment that needs to be applied for from the available address segments of the machine;
发送模块502,用于向第二BRAS发送第一地址请求消息,所述第一地址请求消息携带所述第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;A sending module 502, configured to send a first address request message to a second BRAS, where the first address request message carries the first sub-address segment, the address segment of the first BRAS and the address segment of the second BRAS There is an intersection;
第一接收模块503,用于接收所述第二BRAS返回的地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段;The first receiving module 503 is configured to receive an address request response returned by the second BRAS, where the address request response is used to indicate that the second BRAS allows the first BRAS to apply for the first sub-address segment;
分配模块504,用于在确定所述第二BRAS允许所述第一BRAS申请所述第一子地址段后,从所述第一子地址段中为用户设备分配地址。The allocating module 504 is configured to allocate an address for the user equipment from the first sub-address segment after determining that the second BRAS allows the first BRAS to apply for the first sub-address segment.
本实施例的第一BRAS,可以用于执行图1实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The first BRAS in this embodiment can be used to implement the technical solution in the embodiment in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.
图6为本发明第一BRAS实施例二的结构示意图。如图6所示,本实施例在图5所示实施例的基础上,还包括:FIG. 6 is a schematic structural diagram of Embodiment 2 of the first BRAS of the present invention. As shown in Figure 6, on the basis of the embodiment shown in Figure 5, this embodiment also includes:
第二接收模块505,用于接收所述第二BRAS发送的第二地址请求消息,所述第二地址请求消息携带需要申请的第二子地址段;The second receiving module 505 is configured to receive a second address request message sent by the second BRAS, where the second address request message carries a second sub-address segment to be applied for;
第一比较模块506,用于在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段一致时,比较所述第一BRAS的优先级和所述第二BRAS的优先级;The first comparison module 506 is configured to compare the first sub-address segment when the first sub-address segment is consistent with the second sub-address segment after the first BRAS determines that the first sub-address segment needs to be applied for. the priority of the BRAS and the priority of the second BRAS;
第一响应模块507,用于当所述第一BRAS的优先级大于所述第二BRAS的优先级时,拒绝所述第二BRAS申请所述第二子地址段。The first responding module 507 is configured to refuse the second BRAS to apply for the second sub-address segment when the priority of the first BRAS is higher than the priority of the second BRAS.
可选地,还包括:Optionally, also include:
第二比较模块508,用于当所述第一BRAS的优先级等于所述第二BRAS的优先级时,比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;A second comparison module 508, configured to compare the IP address of the first BRAS with the IP address of the second BRAS when the priority of the first BRAS is equal to the priority of the second BRAS;
第二响应模块509,用于当所述比较的结果不满足允许所述第二BRAS申请所述第二子地址段的条件时,拒绝所述第二BRAS申请所述第二子地址段。The second response module 509 is configured to deny the second BRAS to apply for the second sub-address segment when the comparison result does not satisfy the condition for allowing the second BRAS to apply for the second sub-address segment.
可选地,还包括:Optionally, also include:
去除模块510,用于在所述第一BRAS确定需要申请所述第一子地址段后,当所述第一子地址段与所述第二子地址段没有交集且所述第二子地址段属于所述第一BRAS的可用地址段时,允许所述第二BRAS申请所述第二子地址段,并从所述第一BRAS的可用地址段中去除所述第二子地址段。The removal module 510 is configured to, after the first BRAS determines that it is necessary to apply for the first sub-address segment, when the first sub-address segment does not overlap with the second sub-address segment and the second sub-address segment When it belongs to the available address segment of the first BRAS, the second BRAS is allowed to apply for the second sub-address segment, and the second sub-address segment is removed from the available address segment of the first BRAS.
本实施例的第一BRAS,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The first BRAS in this embodiment may be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and details are not repeated here.
图7为本发明第二BRAS实施例一的结构示意图。如图7所示,本发明实施例提供的第二BRAS70包括:接收模块701、确定模块702和响应模块703。FIG. 7 is a schematic structural diagram of Embodiment 1 of the second BRAS of the present invention. As shown in FIG. 7 , the second BRAS 70 provided by the embodiment of the present invention includes: a receiving module 701 , a determining module 702 and a responding module 703 .
其中,接收模块701,用于接收第一BRAS发送的第一地址请求消息,所述第一地址请求消息携带所述第一BRAS需要申请的第一子地址段,所述第一BRAS的地址段和所述第二BRAS的地址段存在交集;Wherein, the receiving module 701 is configured to receive the first address request message sent by the first BRAS, the first address request message carries the first sub-address segment that the first BRAS needs to apply for, and the address segment of the first BRAS There is an intersection with the address segment of the second BRAS;
确定模块702,用于确定所述第一子地址段是否是所述第二BRAS的地址段中的可用地址段;A determination module 702, configured to determine whether the first sub-address segment is an available address segment in the address segment of the second BRAS;
响应模块703,用于在确定所述第一子地址段是所述第二BRAS的地址段中的可用子地址段后,向所述第一BRAS返回地址请求响应,所述地址请求响应用于指示所述第二BRAS允许所述第一BRAS申请所述第一子地址段。The response module 703 is configured to return an address request response to the first BRAS after determining that the first sub-address segment is an available sub-address segment in the address segment of the second BRAS, and the address request response is used for Instructing the second BRAS to allow the first BRAS to apply for the first sub-address segment.
本实施例的第二BRAS,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The second BRAS in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 2 , and its implementation principle and technical effect are similar, and details are not repeated here.
图8为本发明第二BRAS实施例二的结构示意图。如图8所示,本实施例在图7所示实施例的基础上,所述响应模块703具体用于:FIG. 8 is a schematic structural diagram of Embodiment 2 of the second BRAS of the present invention. As shown in FIG. 8, this embodiment is based on the embodiment shown in FIG. 7, and the response module 703 is specifically used for:
确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;Determine whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若否,则向所述第一BRAS返回地址请求响应。If not, return an address request response to the first BRAS.
可选地,所述响应模块703具体用于:Optionally, the response module 703 is specifically configured to:
确定所述第一子地址段与所述第二BRAS需要申请的第二子地址段是否一致;Determine whether the first sub-address segment is consistent with the second sub-address segment that the second BRAS needs to apply for;
若是,比较所述第一BRAS的优先级和所述第二BRAS的优先级;If so, comparing the priority of the first BRAS with the priority of the second BRAS;
当所述第一BRAS的优先级高于所述第二BRAS的优先级时,向所述第一BRAS返回地址请求响应。When the priority of the first BRAS is higher than the priority of the second BRAS, return an address request response to the first BRAS.
可选地,所述响应模块703还具体用于:Optionally, the response module 703 is further specifically configured to:
当比较结果为所述第一BRAS的优先级和第二BRAS的优先级相同时,比较所述第一BRAS的IP地址和所述第二BRAS的IP地址;When the comparison result is that the priority of the first BRAS is the same as the priority of the second BRAS, comparing the IP address of the first BRAS with the IP address of the second BRAS;
当所述比较的结果满足允许第一BRAS申请第一子地址段的条件时,向所述第一BRAS返回地址请求响应。When the comparison result satisfies the condition of allowing the first BRAS to apply for the first sub-address segment, return an address request response to the first BRAS.
可选地,还包括:Optionally, also include:
去除模块704,用于当所述第二BRAS允许所述第一BRAS申请所述第一子地址段时,从第二BRAS的可用地址段中去除所述第一子地址段。The removal module 704 is configured to remove the first sub-address segment from available address segments of the second BRAS when the second BRAS allows the first BRAS to apply for the first sub-address segment.
本实施例的第二BRAS,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The second BRAS in this embodiment may be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and details are not repeated here.
本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units or modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or modules can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may also be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310329475.0A CN104348927A (en) | 2013-07-31 | 2013-07-31 | Address field assignment method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310329475.0A CN104348927A (en) | 2013-07-31 | 2013-07-31 | Address field assignment method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104348927A true CN104348927A (en) | 2015-02-11 |
Family
ID=52503708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310329475.0A Pending CN104348927A (en) | 2013-07-31 | 2013-07-31 | Address field assignment method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104348927A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786680A (en) * | 2016-08-31 | 2018-03-09 | 中国电信股份有限公司 | Method and apparatus for being managed to IP address resources |
CN115701065A (en) * | 2021-07-30 | 2023-02-07 | 中国移动通信集团内蒙古有限公司 | Method and device for checking address |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1444354A (en) * | 2002-03-07 | 2003-09-24 | 兄弟工业株式会社 | Electornic equipment and system capable of distributing proper address |
CN102387222A (en) * | 2011-10-19 | 2012-03-21 | 中国联合网络通信集团有限公司 | Address distribution method, apparatus and system thereof |
WO2012079474A1 (en) * | 2010-12-15 | 2012-06-21 | 华为技术有限公司 | Address allocation processing method, apparatus, and system |
CN102647486A (en) * | 2012-04-28 | 2012-08-22 | 华为技术有限公司 | Address allocation method, device and system |
-
2013
- 2013-07-31 CN CN201310329475.0A patent/CN104348927A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1444354A (en) * | 2002-03-07 | 2003-09-24 | 兄弟工业株式会社 | Electornic equipment and system capable of distributing proper address |
WO2012079474A1 (en) * | 2010-12-15 | 2012-06-21 | 华为技术有限公司 | Address allocation processing method, apparatus, and system |
CN102387222A (en) * | 2011-10-19 | 2012-03-21 | 中国联合网络通信集团有限公司 | Address distribution method, apparatus and system thereof |
CN102647486A (en) * | 2012-04-28 | 2012-08-22 | 华为技术有限公司 | Address allocation method, device and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786680A (en) * | 2016-08-31 | 2018-03-09 | 中国电信股份有限公司 | Method and apparatus for being managed to IP address resources |
CN107786680B (en) * | 2016-08-31 | 2020-11-13 | 中国电信股份有限公司 | Method and device for managing IP address resources |
CN115701065A (en) * | 2021-07-30 | 2023-02-07 | 中国移动通信集团内蒙古有限公司 | Method and device for checking address |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924268B (en) | A container cloud service system and pod creation method and device | |
CN102594933B (en) | Method, device and system for address allocation of public networks | |
CN103312605B (en) | A kind of gateway device identity setting method and management gateway equipment | |
CN110049504B (en) | Session management method and device | |
CN104468574B (en) | A kind of method, system and device of virtual machine dynamic access IP address | |
CN103281203B (en) | A kind of dhcp address allocation management method based on ecos systems | |
US10361970B2 (en) | Automated instantiation of wireless virtual private networks | |
CN103581324B (en) | A kind of cloud computing resources cell system and implementation method thereof | |
CN107800743B (en) | Cloud desktop system, cloud management system and related equipment | |
CN105099950B (en) | A kind of resource allocation methods, message communication method and device | |
CN106878480B (en) | DHCP service process sharing method and device | |
CN104579887A (en) | Cloud gateway, cloud gateway creation and configuration system and method | |
CN102439949A (en) | Method for solving internet protocol address assignment conflict and related device and system | |
CN104378455A (en) | IP address distribution method and device | |
CN104604193A (en) | Auto management of a virtual device context enabled network infrastructure | |
CN103561124A (en) | Base station data configuring method and device | |
WO2012109849A1 (en) | Method and apparatus for mac address allocation | |
CN106059888A (en) | IP (Internet Protocol) address assignment method and device based on open network operating system | |
CN116996908A (en) | Fusion management method, device, equipment and medium of master-slave gateway and wireless AP | |
WO2016202016A1 (en) | Device management method, apparatus and system | |
CN109819064B (en) | Method for communication between modules, operating system module and conference panel | |
WO2015154458A1 (en) | Node logic id allocation device, method and communication system | |
WO2016086544A1 (en) | Network interface configuration method and apparatus for network device and storage medium | |
CN104104749A (en) | Method and device for allocating tunnel IP addresses | |
CN104348927A (en) | Address field assignment method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150211 |
|
RJ01 | Rejection of invention patent application after publication |