WO2016202080A1 - Method and device for acquiring address - Google Patents
Method and device for acquiring address Download PDFInfo
- Publication number
- WO2016202080A1 WO2016202080A1 PCT/CN2016/079482 CN2016079482W WO2016202080A1 WO 2016202080 A1 WO2016202080 A1 WO 2016202080A1 CN 2016079482 W CN2016079482 W CN 2016079482W WO 2016202080 A1 WO2016202080 A1 WO 2016202080A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- message
- repeater
- terminal
- home gateway
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- 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
-
- 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
-
- 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]
-
- 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/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/668—Internet protocol [IP] address subnets
Definitions
- DHCP Dynamic Host Configuration Protocol
- FIG. 1 is a schematic diagram of networking of a home gateway and a Repeater. As shown in FIG. 1, the home gateway and the Repeater are connected by wireless, the Repeater and the mobile terminal are connected by wireless, the Repeater and the notebook are connected by wireless, and between the Repeater and the personal computer (PC, Personal Computer). Connected by wire. In this networking structure, mobile terminals, notebooks, and PCs need to obtain an address assigned by the home gateway to implement communication.
- FIG. 2 is a flow chart of a related method of obtaining an address. As shown in Figure 2, the method generally includes:
- the terminal sends a DISCOVER packet to the Repeater.
- the Repeater forwards the source media access control (MAC, Media Access Control) address of the received DISCOVER packet to its own MAC address and forwards it to the home gateway.
- the home gateway of the Bootstrap Protocol sends an OFFER message to the Repeater.
- the OFFER message includes an Internet Protocol (IP) address assigned to the terminal, and the Repeater forwards the OFFER message to the terminal; the terminal sends the OFFER message to the Repeater.
- IP Internet Protocol
- the request (REQUEST) message the Repeater forwards the REQUEST message to the home gateway; the home gateway sends an acknowledgement character (ACK, Acknowledgement) to the Repeater, and the Repeater forwards the ACK to the terminal.
- ACK acknowledgement character
- the home gateway After receiving the DISCOVER packet, the home gateway that does not support BOOTP detects whether the source MAC address in the DISCOVER packet and the information related to the MAC address in the DISCOVER packet match. If the match is matched, the OFFER packet is sent to the Repeater. If there is no match, the OFFER message is not sent, so the terminal cannot obtain the IP address assigned by the home gateway. When the terminal does not receive the OFFER message within the preset time, it sends a DISCOVER message to the Repeater again.
- the embodiment of the invention provides a method and a device for obtaining an address, which can ensure the acquisition of an address, thereby improving the success rate of obtaining an address.
- the embodiment of the invention provides a method for obtaining an address, including:
- the wireless repeater Repeater obtains an internet protocol IP address and a subnet mask from the home gateway, calculates an IP address range segment according to the obtained IP address and subnet mask, and starts a dynamic host configuration protocol DHCP service;
- the Repeater When receiving the first discovery DISCOVER message from the terminal, the Repeater sends the first provided OFFER message to the terminal, where the first OFFER message includes the IP address allocated by the Repeater according to the calculated IP address range segment. .
- the Repeater obtains an IP address and a subnet mask from the home gateway, including:
- the Repeater sends a second DISCOVER message to the home gateway, where the source media access control MAC address of the second DISCOVER message and the information related to the MAC address in the second DISCOVER message match;
- the Repeater receives a second OFFER message from the home gateway; wherein the second OFFER message includes the IP address and the subnet mask.
- the first OFFER message further includes:
- the subnet mask in the second OFFER message the route in the second OFFER message, the domain name resolution system DNS in the second OFFER message, and the lease term.
- the method further includes:
- the Repeater sends a third DISCOVER message to the home gateway; where the source MAC address of the third DISCOVER message and the information related to the MAC address in the third DISCOVER message do not match;
- the Repeater does not receive the third OFFER report from the home gateway within a preset time Text.
- the method further includes: before the sending the first OFFER message to the terminal, the Repeater performs collision detection on the IP address allocated for the terminal.
- the method further includes:
- the Repeater receives a request REQUEST message from the terminal, and sends an acknowledgement character ACK to the terminal.
- Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
- An embodiment of the present invention further provides an apparatus for obtaining an address, including:
- the calculation module is configured to obtain an Internet Protocol IP address and a subnet mask from the home gateway, calculate an IP address range segment according to the obtained IP address and a subnet mask, and enable a dynamic host configuration protocol DHCP service;
- the sending module is configured to receive the first notification message, and send the first provided OFFER message to the terminal, where the first OFFER message includes an IP address allocated by the Repeater according to the calculated IP address range segment;
- the receiving module is configured to send a first notification message to the sending module when the Repeater receives the first discovery DISCOVER message from the terminal.
- the computing module is configured to:
- the sending module is further configured to:
- the receiving module is further configured to:
- the third OFFER message from the home gateway is not received within a preset time, and the second notification message is sent to the sending module.
- the sending module is configured to: receive the first notification message, and after performing conflict detection on the IP address allocated by the terminal, send the first OFFER message to the terminal.
- the receiving module is further configured to:
- the sending module is further configured to:
- Receiving the third notification message sending an acknowledgement character ACK to the terminal.
- the embodiment of the present invention includes: a Repeater acquires an IP address and a subnet mask from a home gateway, calculates an IP address range segment according to the obtained IP address and a subnet mask, and starts a dynamic host configuration protocol DHCP service; When receiving the first DISCOVER message from the terminal, the Repeater sends the first OFFER message to the terminal.
- the first OFFER message includes the IP address allocated by the Repeater according to the calculated IP address range segment.
- FIG. 1 is a schematic diagram of networking of a related home gateway and a Repeater
- FIG. 2 is a flow chart of a related method for obtaining an address
- FIG. 3 is a flowchart of a method for obtaining an address according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for obtaining an address according to a first embodiment of the present invention
- FIG. 5 is a flowchart of a method for obtaining an address according to a second embodiment of the present invention.
- FIG. 6 is a flowchart of a method for obtaining an address according to a third embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of an apparatus for obtaining an address according to an embodiment of the present invention.
- an embodiment of the present invention provides a method for obtaining an address, including:
- Step 300 The Receiver obtains an IP address and a subnet mask from the home gateway, calculates an IP address range segment according to the obtained IP address and a subnet mask, and starts a DHCP service.
- the Repeater obtains the IP address and subnet mask from the home gateway, including:
- the Repeater sends a second DISCOVER message to the home gateway, and the Repeater receives the second OFFER message from the home gateway.
- the second DISCOVER packet is used to obtain an IP address and a subnet mask from the home gateway.
- the Repeater can periodically send the second DISCOVER message to the home gateway.
- the source MAC address of the second DISCOVER packet and the information related to the MAC address in the second DISCOVER packet match.
- the information related to the MAC address in the second DISCOVER packet is a field in which the second DISCOVER packet includes an active MAC address, such as a user hardware address (Chaddr, Client Hardware Address) field, or a user identifier (ClientID, Client). Identification) field, etc.
- a user hardware address Chaddr, Client Hardware Address
- ClientID User identifier
- Identification Identification
- the source MAC address in the second DISCOVER packet may be the MAC address of the Repeater, and the MAC address included in the information related to the MAC address in the second DISCOVER packet may be the MAC address of the Repeater.
- the IP address range segment may be an IP address range segment centered on the IP address in the second OFFER message.
- the second OFFER message may also include a routing and domain name resolution system (DNS, Domain Name System), lease term, etc.
- DNS Domain Name System
- lease term etc.
- Step 301 When the Repeater receives the first DISCOVER message from the terminal, send the first OFFER message to the terminal.
- the first OFFER message includes the IP address assigned by the Repeater according to the calculated IP address range segment, and may also include a subnet mask, a route, a DNS, a lease, and the like.
- the subnet mask in the first OFFER message is the same as the subnet mask in the second OFFER message, and the route in the first OFFER message is the same as the route in the second OFFER message, the first OFFER report
- the DNS in the text is the same as the DNS in the second OFFER message.
- the lease term in the first OFFER message can be defined according to the specific situation.
- the lease term in the first OFFER message is preferably less than or equal to the second OFFER message. Lease period.
- the method before sending the first OFFER message to the terminal, the method further includes: the Repeater detects the conflict of the IP address allocated for the terminal.
- the Repeater obtains an IP address from the home gateway through the second DISCOVER message constructed by itself, and assigns an IP address to the terminal according to the obtained IP address, thereby avoiding the situation that the home gateway does not support BOOTP, and the terminal is improved. Get the success rate of the address.
- the method further includes:
- Step 302 The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
- the method also includes:
- the Repeater sends a third DISCOVER message to the home gateway.
- the source MAC address of the third DISCOVER packet and the information related to the MAC address in the third DISCOVER packet do not match; the Repeater does not receive the home gateway from the preset time.
- the third OFFER message is not transmitted to the home gateway.
- the third DISCOVER packet is used to detect whether the home gateway supports BOOTP. If the home gateway supports BOOTP, the home gateway sends a third OFFER message to the Repeater; If the home gateway does not support BOOTP, the home gateway will not send a third OFFER message to the Repeater.
- the Receiver obtains the address according to the related method.
- the source MAC address in the third DISCOVER packet may be the MAC address of the Repeater, and the MAC address included in the information related to the MAC address in the third DISCOVER packet may be arbitrarily set.
- the method includes:
- Step 400 After the Repeater and the home gateway are successfully connected in the wireless manner, the third DISCOVER packet is sent to the home gateway.
- Step 401 The Repeater does not receive the third OFFER message from the home gateway within a preset time, and sends a second DISCOVER message to the home gateway.
- Step 402 The Repeater receives the second OFFER message from the home gateway, calculates an IP address range segment according to the IP address and the subnet mask in the second OFFER message, and starts the DHCP service.
- Step 403 The Receiver receives the first DISCOVER message from the terminal, performs collision detection on the IP address allocated for the terminal, and sends the first OFFER message to the terminal.
- Step 404 The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
- the method includes:
- Step 500 After the Repeater and the home gateway successfully associate in a wireless manner, send a third DISCOVER packet to the home gateway.
- Step 501 The Repeater receives a third OFFER message from the home gateway.
- Step 502 The Receiver receives the first DISCOVER packet from the terminal, and forwards the source MAC address in the first DISCOVER packet to its own MAC address, and then forwards the packet to the home gateway.
- Step 503 The Repeater receives the first OFFER message from the home gateway, and forwards the first OFFER message to the terminal.
- Step 504 The Receiver receives the REQUEST packet from the terminal, and forwards the REQUEST packet to the home gateway.
- Step 505 The Repeater receives an ACK from the home gateway, and forwards the ACK to the terminal.
- the method includes:
- Step 600 The Repeater sends a second DISCOVER message to the home gateway.
- Step 601 The Repeater receives the second OFFER message from the home gateway, calculates an IP address range segment according to the IP address and the subnet mask in the second OFFER message, and starts the DHCP service.
- Step 602 The Receiver receives the first DISCOVER message from the terminal, performs collision detection on the IP address allocated for the terminal, and sends the first OFFER message to the terminal.
- Step 603 The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
- Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
- an embodiment of the present invention further provides an apparatus for obtaining an address, including:
- the calculation module is configured to obtain an Internet Protocol IP address and a subnet mask from the home gateway, calculate an IP address range segment according to the obtained IP address and a subnet mask, and enable a DHCP service;
- the sending module is configured to receive the first notification message, and send the first OFFER message to the terminal, where the first OFFER message includes an IP address allocated by the Repeater according to the calculated IP address range segment;
- the receiving module is configured to send a first notification message to the sending module when the Repeater receives the first DISCOVER message from the terminal.
- the calculation module is set to:
- the second OFFER message includes the IP address and a subnet mask; and the IP address range segment is calculated according to the obtained IP address and subnet mask.
- the sending module is further configured to:
- the receiving module is also set to:
- the third OFFER message from the home gateway is not received within the preset time, and the second notification message is sent to the sending module.
- the sending module is configured to:
- the first OFFER message After receiving the first notification message, after performing collision detection on the IP address allocated for the terminal, the first OFFER message is sent to the terminal.
- the receiving module is further configured to:
- the sending module is also set to:
- a third notification message is received, and an acknowledgement character ACK is sent to the terminal.
- 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, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
- the invention is not limited to any specific form of combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本文涉及但不限于动态主机配置协议(DHCP,Dynamic Host Configuration Protocol)技术,尤指一种获取地址的方法和装置。This document relates to, but is not limited to, Dynamic Host Configuration Protocol (DHCP) technology, and more particularly to a method and apparatus for obtaining an address.
为了防止家庭网关无线覆盖信号弱导致下挂的终端无法上网的情况,会通过在家庭网关和下挂的终端之间添加无线中继器(Repeater)来增强无线信号。图1为家庭网关与Repeater对接的组网示意图。如图1所示,家庭网关和Repeater之间通过无线方式相连,Repeater和移动终端之间通过无线方式相连,Repeater和笔记本之间通过无线方式相连,Repeater和个人电脑(PC,Personal Computer)之间通过有线方式相连。这种组网结构下,移动终端、笔记本和PC等需要获取家庭网关为其分配的地址,以实现通信。In order to prevent the downlink terminal from being unable to access the Internet due to the weak wireless coverage signal of the home gateway, the wireless signal is enhanced by adding a wireless repeater between the home gateway and the connected terminal. FIG. 1 is a schematic diagram of networking of a home gateway and a Repeater. As shown in FIG. 1, the home gateway and the Repeater are connected by wireless, the Repeater and the mobile terminal are connected by wireless, the Repeater and the notebook are connected by wireless, and between the Repeater and the personal computer (PC, Personal Computer). Connected by wire. In this networking structure, mobile terminals, notebooks, and PCs need to obtain an address assigned by the home gateway to implement communication.
图2为相关的获取地址的方法的流程图。如图2所示,该方法大致包括:2 is a flow chart of a related method of obtaining an address. As shown in Figure 2, the method generally includes:
终端向Repeater发送发现(DISCOVER)报文,Repeater将接收到的DISCOVER报文的源媒体访问控制(MAC,Media Access Control)地址改为自身的MAC地址后转发给家庭网关;支持引导程序协议(BOOTP,Bootstrap Protocol)的家庭网关向Repeater发送提供(OFFER)报文,OFFER报文中包含有分配给终端的互联网协议(IP,Internet Protocol)地址,Repeater将OFFER报文转发给终端;终端向Repeater发送请求(REQUEST)报文,Repeater向家庭网关转发REQUEST报文;家庭网关向Repeater发送确认字符(ACK,Acknowledgement),Repeater向终端转发ACK。The terminal sends a DISCOVER packet to the Repeater. The Repeater forwards the source media access control (MAC, Media Access Control) address of the received DISCOVER packet to its own MAC address and forwards it to the home gateway. Supports the bootstrap protocol (BOOTP). The home gateway of the Bootstrap Protocol sends an OFFER message to the Repeater. The OFFER message includes an Internet Protocol (IP) address assigned to the terminal, and the Repeater forwards the OFFER message to the terminal; the terminal sends the OFFER message to the Repeater. The request (REQUEST) message, the Repeater forwards the REQUEST message to the home gateway; the home gateway sends an acknowledgement character (ACK, Acknowledgement) to the Repeater, and the Repeater forwards the ACK to the terminal.
其中,不支持BOOTP的家庭网关接收到DISCOVER报文后,会检测DISCOVER报文中的源MAC地址和DISCOVER报文内部与MAC地址相关的信息是否相匹配,如果匹配,则向Repeater发送OFFER报文;如果不匹配,则不发送OFFER报文,从而终端无法获得家庭网关分配的IP地址。终端在预设时间内接收不到OFFER报文时,重新向Repeater发送DISCOVER报文。After receiving the DISCOVER packet, the home gateway that does not support BOOTP detects whether the source MAC address in the DISCOVER packet and the information related to the MAC address in the DISCOVER packet match. If the match is matched, the OFFER packet is sent to the Repeater. If there is no match, the OFFER message is not sent, so the terminal cannot obtain the IP address assigned by the home gateway. When the terminal does not receive the OFFER message within the preset time, it sends a DISCOVER message to the Repeater again.
相关的获取地址的方法中,由于终端和Repeater并不知道家庭网关是否 支持BOOTP,存在不能获取地址的问题,因此降低了获取地址的成功率。In the related method of obtaining an address, since the terminal and the Repeater do not know whether the home gateway is Support for BOOTP, there is a problem that the address cannot be obtained, thus reducing the success rate of obtaining the address.
发明内容Summary of the 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.
本发明实施例提出了一种获取地址的方法和装置,能够保证获取地址,从而提高获取地址的成功率。The embodiment of the invention provides a method and a device for obtaining an address, which can ensure the acquisition of an address, thereby improving the success rate of obtaining an address.
本发明实施例提出了一种获取地址的方法,包括:The embodiment of the invention provides a method for obtaining an address, including:
无线中继器Repeater获取来自家庭网关的互联网协议IP地址和子网掩码,根据获得的IP地址和子网掩码计算IP地址范围段,并开启动态主机配置协议DHCP服务;The wireless repeater Repeater obtains an internet protocol IP address and a subnet mask from the home gateway, calculates an IP address range segment according to the obtained IP address and subnet mask, and starts a dynamic host configuration protocol DHCP service;
当Repeater接收到来自终端的第一发现DISCOVER报文时,向终端发送第一提供OFFER报文;其中,第一OFFER报文中包含有Repeater根据计算得到的IP地址范围段为终端分配的IP地址。When receiving the first discovery DISCOVER message from the terminal, the Repeater sends the first provided OFFER message to the terminal, where the first OFFER message includes the IP address allocated by the Repeater according to the calculated IP address range segment. .
可选地,所述Repeater获取来自家庭网关的IP地址和子网掩码包括:Optionally, the Repeater obtains an IP address and a subnet mask from the home gateway, including:
所述Repeater向所述家庭网关发送第二DISCOVER报文;其中,所述第二DISCOVER报文的源媒体访问控制MAC地址和第二DISCOVER报文内部与MAC地址相关的信息相匹配;The Repeater sends a second DISCOVER message to the home gateway, where the source media access control MAC address of the second DISCOVER message and the information related to the MAC address in the second DISCOVER message match;
所述Repeater接收到来自所述家庭网关的第二OFFER报文;其中,所述第二OFFER报文包含有所述IP地址和所述子网掩码。The Repeater receives a second OFFER message from the home gateway; wherein the second OFFER message includes the IP address and the subnet mask.
可选地,所述第一OFFER报文中还包括:Optionally, the first OFFER message further includes:
所述第二OFFER报文中的子网掩码、所述第二OFFER报文中的路由、所述第二OFFER报文中的域名解析系统DNS、租期。The subnet mask in the second OFFER message, the route in the second OFFER message, the domain name resolution system DNS in the second OFFER message, and the lease term.
可选地,该方法之前还包括:Optionally, the method further includes:
所述Repeater向所述家庭网关发送第三DISCOVER报文;其中,所述第三DISCOVER报文的源MAC地址和第三DISCOVER报文内部与MAC地址相关的信息不匹配;The Repeater sends a third DISCOVER message to the home gateway; where the source MAC address of the third DISCOVER message and the information related to the MAC address in the third DISCOVER message do not match;
所述Repeater在预设时间内未接收到来自所述家庭网关的第三OFFER报 文。The Repeater does not receive the third OFFER report from the home gateway within a preset time Text.
可选地,还包括:所述向终端发送第一OFFER报文之前,所述Repeater对所述为终端分配的IP地址进行冲突检测。Optionally, the method further includes: before the sending the first OFFER message to the terminal, the Repeater performs collision detection on the IP address allocated for the terminal.
可选地,该方法还包括:Optionally, the method further includes:
所述Repeater接收到来自所述终端的请求REQUEST报文,向所述终端发送确认字符ACK。The Repeater receives a request REQUEST message from the terminal, and sends an acknowledgement character ACK to the terminal.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
本发明实施例还提出了一种获取地址的装置,包括:An embodiment of the present invention further provides an apparatus for obtaining an address, including:
计算模块,设置为获取来自家庭网关的互联网协议IP地址和子网掩码,根据获得的IP地址和子网掩码计算IP地址范围段,并开启动态主机配置协议DHCP服务;The calculation module is configured to obtain an Internet Protocol IP address and a subnet mask from the home gateway, calculate an IP address range segment according to the obtained IP address and a subnet mask, and enable a dynamic host configuration protocol DHCP service;
发送模块,设置为接收到第一通知消息,向终端发送第一提供OFFER报文;其中,第一OFFER报文中包含有Repeater根据计算得到的IP地址范围段为终端分配的IP地址;The sending module is configured to receive the first notification message, and send the first provided OFFER message to the terminal, where the first OFFER message includes an IP address allocated by the Repeater according to the calculated IP address range segment;
接收模块,设置为当Repeater接收到来自终端的第一发现DISCOVER报文时,向发送模块发送第一通知消息。The receiving module is configured to send a first notification message to the sending module when the Repeater receives the first discovery DISCOVER message from the terminal.
可选地,所述计算模块是设置为:Optionally, the computing module is configured to:
向所述家庭网关发送第二DISCOVER报文;其中,所述第二DISCOVER报文的源媒体访问控制MAC地址和第二DISCOVER报文内部与MAC地址相关的信息相匹配;接收到来自所述家庭网关的第二OFFER报文;其中,所述第二OFFER报文包含有所述IP地址和所述子网掩码;根据获得的IP地址和子网掩码计算IP地址范围段。Transmitting, by the home gateway, a second DISCOVER message, where the source media access control MAC address of the second DISCOVER message and the information related to the MAC address in the second DISCOVER message match; receiving the content from the home a second OFFER message of the gateway; wherein the second OFFER message includes the IP address and the subnet mask; and the IP address range segment is calculated according to the obtained IP address and subnet mask.
可选地,所述发送模块还设置为:Optionally, the sending module is further configured to:
向所述家庭网关发送第三DISCOVER报文;其中,所述第三DISCOVER报文的源MAC地址和第三DISCOVER报文内部与MAC地址相关的信息不匹配;接收到第二通知消息,向所述家庭网关发送所述第二DISCOVER报文; Transmitting a third DISCOVER message to the home gateway; where the source MAC address of the third DISCOVER message and the information related to the MAC address in the third DISCOVER message do not match; receiving the second notification message, The home gateway sends the second DISCOVER message;
所述接收模块还设置为:The receiving module is further configured to:
在预设时间内未接收到来自所述家庭网关的第三OFFER报文,向所述发送模块发送第二通知消息。The third OFFER message from the home gateway is not received within a preset time, and the second notification message is sent to the sending module.
可选地,所述发送模块是设置为:接收到第一通知消息,对所述为终端分配的IP地址进行冲突检测后,向所述终端发送所述第一OFFER报文。Optionally, the sending module is configured to: receive the first notification message, and after performing conflict detection on the IP address allocated by the terminal, send the first OFFER message to the terminal.
可选地,所述接收模块还设置为:Optionally, the receiving module is further configured to:
接收到来自所述终端的请求REQUEST报文,向所述发送模块发送第三通知消息;Receiving a request REQUEST message from the terminal, and sending a third notification message to the sending module;
所述发送模块还设置为:The sending module is further configured to:
接收到所述第三通知消息,向所述终端发送确认字符ACK。Receiving the third notification message, sending an acknowledgement character ACK to the terminal.
与相关技术相比,本发明实施例包括:Repeater获取来自家庭网关的IP地址和子网掩码,根据获得的IP地址和子网掩码计算IP地址范围段,并开启动态主机配置协议DHCP服务;当Repeater接收到来自终端的第一DISCOVER报文时,向终端发送第一OFFER报文;其中,第一OFFER报文中包含有Repeater根据计算得到的IP地址范围段为终端分配的IP地址。通过本发明实施例的方案,Repeater通过来自家庭网关的IP地址和子网掩码为终端分配IP地址,保证了获取地址,提高了终端获得地址的成功率。Compared with the related art, the embodiment of the present invention includes: a Repeater acquires an IP address and a subnet mask from a home gateway, calculates an IP address range segment according to the obtained IP address and a subnet mask, and starts a dynamic host configuration protocol DHCP service; When receiving the first DISCOVER message from the terminal, the Repeater sends the first OFFER message to the terminal. The first OFFER message includes the IP address allocated by the Repeater according to the calculated IP address range segment. Through the solution of the embodiment of the present invention, the Repeater allocates an IP address to the terminal by using an IP address and a subnet mask from the home gateway, thereby ensuring the acquisition of the address and improving the success rate of the terminal obtaining the address.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关的家庭网关与Repeater对接的组网示意图;FIG. 1 is a schematic diagram of networking of a related home gateway and a Repeater;
图2为相关的获取地址的方法的流程图;2 is a flow chart of a related method for obtaining an address;
图3为本发明实施例获取地址的方法的流程图;3 is a flowchart of a method for obtaining an address according to an embodiment of the present invention;
图4为本发明实施例第一实施例获取地址的方法的流程图;4 is a flowchart of a method for obtaining an address according to a first embodiment of the present invention;
图5为本发明实施例第二实施例获取地址的方法的流程图;FIG. 5 is a flowchart of a method for obtaining an address according to a second embodiment of the present invention;
图6为本发明实施例第三实施例获取地址的方法的流程图;FIG. 6 is a flowchart of a method for obtaining an address according to a third embodiment of the present invention;
图7为本发明实施例获取地址的装置的结构组成示意图。 FIG. 7 is a schematic structural diagram of an apparatus for obtaining an address according to an embodiment of the present invention.
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings, and is not intended to limit the scope of the present invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
参见图3,本发明实施例提出了一种获取地址的方法,包括:Referring to FIG. 3, an embodiment of the present invention provides a method for obtaining an address, including:
步骤300、Repeater获取来自家庭网关的IP地址和子网掩码,根据获得的IP地址和子网掩码计算IP地址范围段,并开启DHCP服务。Step 300: The Receiver obtains an IP address and a subnet mask from the home gateway, calculates an IP address range segment according to the obtained IP address and a subnet mask, and starts a DHCP service.
本步骤中,Repeater获取来自家庭网关的IP地址和子网掩码包括:In this step, the Repeater obtains the IP address and subnet mask from the home gateway, including:
Repeater向家庭网关发送第二DISCOVER报文,Repeater接收到来自家庭网关的第二OFFER报文。The Repeater sends a second DISCOVER message to the home gateway, and the Repeater receives the second OFFER message from the home gateway.
其中,第二DISCOVER报文用于获取来自家庭网关的IP地址和子网掩码。The second DISCOVER packet is used to obtain an IP address and a subnet mask from the home gateway.
其中,Repeater可以定期向家庭网关发送第二DISCOVER报文。The Repeater can periodically send the second DISCOVER message to the home gateway.
其中,第二DISCOVER报文的源MAC地址和第二DISCOVER报文内部与MAC地址相关的信息相匹配。The source MAC address of the second DISCOVER packet and the information related to the MAC address in the second DISCOVER packet match.
其中,第二DISCOVER报文内部与MAC地址相关的信息是指第二DISCOVER报文内部包含有源MAC地址的字段,如用户硬件地址(Chaddr,Client Hardware Address)字段、或用户标识(ClientID,Client Identification)字段等。这些字段可能本身就是源MAC地址,也可能部分包含了源MAC地址。The information related to the MAC address in the second DISCOVER packet is a field in which the second DISCOVER packet includes an active MAC address, such as a user hardware address (Chaddr, Client Hardware Address) field, or a user identifier (ClientID, Client). Identification) field, etc. These fields may themselves be source MAC addresses or partial source MAC addresses.
其中,第二DISCOVER报文中的源MAC地址可以是Repeater的MAC地址,第二DISCOVER报文内部与MAC地址相关的信息所包含的MAC地址可以是Repeater的MAC地址。The source MAC address in the second DISCOVER packet may be the MAC address of the Repeater, and the MAC address included in the information related to the MAC address in the second DISCOVER packet may be the MAC address of the Repeater.
其中,如何根据获得的IP地址和子网掩码计算IP地址范围段属于本领域技术人员的公知技术,并不用于限定本发明的保护范围,这里不再赘述。例如,IP地址范围段可以是以第二OFFER报文中的IP地址为中心的IP地址范围段。The method of calculating the IP address range according to the obtained IP address and the subnet mask is a well-known technique of those skilled in the art, and is not intended to limit the scope of the present invention, and details are not described herein again. For example, the IP address range segment may be an IP address range segment centered on the IP address in the second OFFER message.
其中,第二OFFER报文中还可以包含有路由、域名解析系统(DNS, Domain Name System)、租期等。The second OFFER message may also include a routing and domain name resolution system (DNS, Domain Name System), lease term, etc.
本步骤中,Repeater如何开启DHCP服务属于本领域技术人员的公知技术,并不用于限定本发明的保护范围,这里不再赘述。In this step, how the Repeater can enable the DHCP service is well-known in the art, and is not intended to limit the scope of the present invention, and details are not described herein.
步骤301、当Repeater接收到来自终端的第一DISCOVER报文时,向终端发送第一OFFER报文。Step 301: When the Repeater receives the first DISCOVER message from the terminal, send the first OFFER message to the terminal.
本步骤中,第一OFFER报文中包含有Repeater根据计算得到的IP地址范围段为终端分配的IP地址,还可以包含有子网掩码、路由、DNS、租期等。In this step, the first OFFER message includes the IP address assigned by the Repeater according to the calculated IP address range segment, and may also include a subnet mask, a route, a DNS, a lease, and the like.
其中,Repeater如何为终端分配IP地址属于本领域技术人员的公知技术,并不用于限定本发明的保护范围,这里不再赘述。The manner in which the Repeater assigns an IP address to the terminal is well known to those skilled in the art, and is not intended to limit the scope of the present invention, and details are not described herein again.
其中,第一OFFER报文中的子网掩码与第二OFFER报文中的子网掩码相同,第一OFFER报文中的路由与第二OFFER报文中的路由相同,第一OFFER报文中的DNS与第二OFFER报文中的DNS相同,第一OFFER报文中的租期可以根据具体情况定义,第一OFFER报文中的租期最好小于或等于第二OFFER报文中的租期。The subnet mask in the first OFFER message is the same as the subnet mask in the second OFFER message, and the route in the first OFFER message is the same as the route in the second OFFER message, the first OFFER report The DNS in the text is the same as the DNS in the second OFFER message. The lease term in the first OFFER message can be defined according to the specific situation. The lease term in the first OFFER message is preferably less than or equal to the second OFFER message. Lease period.
本步骤中,向终端发送第一OFFER报文之前还包括:Repeater对为终端分配的IP地址进行冲突检测。具体实现属于本领域技术人员的公知技术,并不用于限定本发明的保护范围,这里不再赘述。In this step, before sending the first OFFER message to the terminal, the method further includes: the Repeater detects the conflict of the IP address allocated for the terminal. The specific implementations are well known to those skilled in the art, and are not intended to limit the scope of the present invention, and are not described herein again.
通过本发明实施例的方案,Repeater通过自身构造的第二DISCOVER报文向家庭网关获取IP地址,并根据获得的IP地址为终端分配IP地址,避免了家庭网关不支持BOOTP的情况,提高了终端获得地址的成功率。With the solution of the embodiment of the present invention, the Repeater obtains an IP address from the home gateway through the second DISCOVER message constructed by itself, and assigns an IP address to the terminal according to the obtained IP address, thereby avoiding the situation that the home gateway does not support BOOTP, and the terminal is improved. Get the success rate of the address.
作为可选的步骤,该方法还包括:As an optional step, the method further includes:
步骤302、Repeater接收到来自终端的REQUEST报文,向终端发送ACK。Step 302: The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
作为可选的步骤,该方法之前还包括:As an optional step, the method also includes:
Repeater向家庭网关发送第三DISCOVER报文;其中,第三DISCOVER报文的源MAC地址和第三DISCOVER报文内部与MAC地址相关的信息不匹配;Repeater在预设时间内未接收到来自家庭网关的第三OFFER报文。The Repeater sends a third DISCOVER message to the home gateway. The source MAC address of the third DISCOVER packet and the information related to the MAC address in the third DISCOVER packet do not match; the Repeater does not receive the home gateway from the preset time. The third OFFER message.
其中,第三DISCOVER报文用于检测家庭网关是否支持BOOTP,如果家庭网关支持BOOTP,则家庭网关向Repeater发送第三OFFER报文;如果 家庭网关不支持BOOTP,则家庭网关不会向Repeater发送第三OFFER报文。The third DISCOVER packet is used to detect whether the home gateway supports BOOTP. If the home gateway supports BOOTP, the home gateway sends a third OFFER message to the Repeater; If the home gateway does not support BOOTP, the home gateway will not send a third OFFER message to the Repeater.
其中,当Repeater在预设时间内接收到来自家庭网关的第三OFFER报文时,则当Repeater接收到来自终端的第一DISCOVER报文时,按照相关的方法获取地址。When the Repeater receives the third OFFER message from the home gateway within the preset time, when the Repeater receives the first DISCOVER message from the terminal, the Receiver obtains the address according to the related method.
其中,第三DISCOVER报文中的源MAC地址可以是Repeater的MAC地址,第三DISCOVER报文内部与MAC地址相关的信息所包含的MAC地址可以随意设置。The source MAC address in the third DISCOVER packet may be the MAC address of the Repeater, and the MAC address included in the information related to the MAC address in the third DISCOVER packet may be arbitrarily set.
下面通过具体实施例详细说明本发明的方法。The method of the present invention will now be described in detail by way of specific examples.
第一实施例,参见图4,该方法包括:In a first embodiment, referring to FIG. 4, the method includes:
步骤400、Repeater和家庭网关通过无线方式关联成功后,向家庭网关发送第三DISCOVER报文。Step 400: After the Repeater and the home gateway are successfully connected in the wireless manner, the third DISCOVER packet is sent to the home gateway.
步骤401、Repeater在预设时间内未接收到来自家庭网关的第三OFFER报文,向家庭网关发送第二DISCOVER报文。Step 401: The Repeater does not receive the third OFFER message from the home gateway within a preset time, and sends a second DISCOVER message to the home gateway.
步骤402、Repeater接收到来自家庭网关的第二OFFER报文,根据第二OFFER报文中的IP地址和子网掩码计算IP地址范围段,并开启DHCP服务。Step 402: The Repeater receives the second OFFER message from the home gateway, calculates an IP address range segment according to the IP address and the subnet mask in the second OFFER message, and starts the DHCP service.
步骤403、Repeater接收到来自终端的第一DISCOVER报文,对为终端分配的IP地址进行冲突检测,向终端发送第一OFFER报文。Step 403: The Receiver receives the first DISCOVER message from the terminal, performs collision detection on the IP address allocated for the terminal, and sends the first OFFER message to the terminal.
步骤404、Repeater接收到来自终端的REQUEST报文,向终端发送ACK。Step 404: The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
第二实施例,参见图5,该方法包括:In a second embodiment, referring to FIG. 5, the method includes:
步骤500、Repeater和家庭网关通过无线方式关联成功后,向家庭网关发送第三DISCOVER报文。Step 500: After the Repeater and the home gateway successfully associate in a wireless manner, send a third DISCOVER packet to the home gateway.
步骤501、Repeater接收到来自家庭网关的第三OFFER报文。Step 501: The Repeater receives a third OFFER message from the home gateway.
步骤502、Repeater接收到来自终端的第一DISCOVER报文,将第一DISCOVER报文中的源MAC改为自身的MAC地址后转发给家庭网关。Step 502: The Receiver receives the first DISCOVER packet from the terminal, and forwards the source MAC address in the first DISCOVER packet to its own MAC address, and then forwards the packet to the home gateway.
步骤503、Repeater接收到来自家庭网关的第一OFFER报文,将第一OFFER报文转发给终端。 Step 503: The Repeater receives the first OFFER message from the home gateway, and forwards the first OFFER message to the terminal.
步骤504、Repeater接收到来自终端的REQUEST报文,将REQUEST报文转发给家庭网关。Step 504: The Receiver receives the REQUEST packet from the terminal, and forwards the REQUEST packet to the home gateway.
步骤505、Repeater接收到来自家庭网关的ACK,将ACK转发给终端。Step 505: The Repeater receives an ACK from the home gateway, and forwards the ACK to the terminal.
第三实施例,参见图6,该方法包括:Third Embodiment, referring to FIG. 6, the method includes:
步骤600、Repeater向家庭网关发送第二DISCOVER报文。Step 600: The Repeater sends a second DISCOVER message to the home gateway.
步骤601、Repeater接收到来自家庭网关的第二OFFER报文,根据第二OFFER报文中的IP地址和子网掩码计算IP地址范围段,并开启DHCP服务。Step 601: The Repeater receives the second OFFER message from the home gateway, calculates an IP address range segment according to the IP address and the subnet mask in the second OFFER message, and starts the DHCP service.
步骤602、Repeater接收到来自终端的第一DISCOVER报文,对为终端分配的IP地址进行冲突检测,向终端发送第一OFFER报文。Step 602: The Receiver receives the first DISCOVER message from the terminal, performs collision detection on the IP address allocated for the terminal, and sends the first OFFER message to the terminal.
步骤603、Repeater接收到来自终端的REQUEST报文,向终端发送ACK。Step 603: The Repeater receives the REQUEST packet from the terminal, and sends an ACK to the terminal.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
参见图7,本发明实施例还提出了一种获取地址的装置,包括:Referring to FIG. 7, an embodiment of the present invention further provides an apparatus for obtaining an address, including:
计算模块,设置为获取来自家庭网关的互联网协议IP地址和子网掩码,根据获得的IP地址和子网掩码计算IP地址范围段,并开启DHCP服务;The calculation module is configured to obtain an Internet Protocol IP address and a subnet mask from the home gateway, calculate an IP address range segment according to the obtained IP address and a subnet mask, and enable a DHCP service;
发送模块,设置为接收到第一通知消息,向终端发送第一OFFER报文;其中,第一OFFER报文中包含有Repeater根据计算得到的IP地址范围段为终端分配的IP地址;The sending module is configured to receive the first notification message, and send the first OFFER message to the terminal, where the first OFFER message includes an IP address allocated by the Repeater according to the calculated IP address range segment;
接收模块,设置为当Repeater接收到来自终端的第一DISCOVER报文时,向发送模块发送第一通知消息。The receiving module is configured to send a first notification message to the sending module when the Repeater receives the first DISCOVER message from the terminal.
本发明实施例的装置中,计算模块是设置为:In the apparatus of the embodiment of the present invention, the calculation module is set to:
向家庭网关发送第二DISCOVER报文;其中,第二DISCOVER报文的源媒体访问控制MAC地址和第二DISCOVER报文内部与MAC地址相关的信息相匹配;接收到来自家庭网关的第二OFFER报文;其中,第二OFFER报文包含有所述IP地址和子网掩码;根据获得的IP地址和子网掩码计算IP地址范围段。Sending a second DISCOVER message to the home gateway; wherein the source media access control MAC address of the second DISCOVER message and the information related to the MAC address in the second DISCOVER message match; receiving the second OFFER message from the home gateway The second OFFER message includes the IP address and a subnet mask; and the IP address range segment is calculated according to the obtained IP address and subnet mask.
本发明实施例的装置中,发送模块还设置为: In the apparatus of the embodiment of the present invention, the sending module is further configured to:
向家庭网关发送第三DISCOVER报文;其中,第三DISCOVER报文的源MAC地址和第三DISCOVER报文内部与MAC地址相关的信息不匹配;接收到第二通知消息,向家庭网关发送第二DISCOVER报文;Sending a third DISCOVER message to the home gateway; where the source MAC address of the third DISCOVER message and the information related to the MAC address in the third DISCOVER message do not match; the second notification message is received, and the second message is sent to the home gateway. DISCOVER message;
接收模块还设置为:The receiving module is also set to:
在预设时间内未接收到来自家庭网关的第三OFFER报文,向发送模块发送第二通知消息。The third OFFER message from the home gateway is not received within the preset time, and the second notification message is sent to the sending module.
本发明实施例的装置中,发送模块是设置为:In the apparatus of the embodiment of the present invention, the sending module is configured to:
接收到第一通知消息,对为终端分配的IP地址进行冲突检测后,向终端发送第一OFFER报文。After receiving the first notification message, after performing collision detection on the IP address allocated for the terminal, the first OFFER message is sent to the terminal.
本发明实施例的装置中,接收模块还设置为:In the apparatus of the embodiment of the present invention, the receiving module is further configured to:
接收到来自终端的请求REQUEST报文,向发送模块发送第三通知消息;Receiving a request REQUEST message from the terminal, and sending a third notification message to the sending module;
发送模块还设置为:The sending module is also set to:
接收到第三通知消息,向终端发送确认字符ACK。A third notification message is received, and an acknowledgement character ACK is sent to the terminal.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。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, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本发明的保护范围之内。 It should be noted that the above-mentioned embodiments are only for the purpose of facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and those skilled in the art will Any obvious substitutions and improvements made by the invention are within the scope of the invention.
上述技术方案提高了终端活动地址的成功率。 The above technical solution improves the success rate of the terminal active address.
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510330917.2 | 2015-06-15 | ||
| CN201510330917.2A CN106254567A (en) | 2015-06-15 | 2015-06-15 | A kind of method and apparatus obtaining address |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016202080A1 true WO2016202080A1 (en) | 2016-12-22 |
Family
ID=57544839
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/079482 Ceased WO2016202080A1 (en) | 2015-06-15 | 2016-04-15 | Method and device for acquiring address |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106254567A (en) |
| WO (1) | WO2016202080A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111683159A (en) * | 2019-03-11 | 2020-09-18 | 阿里巴巴集团控股有限公司 | IP address allocation method, device, system and storage medium |
| CN114036350B (en) * | 2021-11-08 | 2025-01-28 | 北京天融信网络安全技术有限公司 | A website query method, device, electronic device and storage medium |
| CN115767586B (en) * | 2022-10-31 | 2025-12-26 | 海尔优家智能科技(北京)有限公司 | Methods and apparatus for determining subnet numbers, storage media and electronic devices |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20010038481A (en) * | 1999-10-25 | 2001-05-15 | 서평원 | Method of Merging DHCP Server with Relay Agent in the Router |
| CN1859254A (en) * | 2006-04-04 | 2006-11-08 | 华为技术有限公司 | Quick cut-in method and system for abnormally cut-off of broad band users |
| WO2007074006A1 (en) * | 2005-12-29 | 2007-07-05 | France Telecom | Method of dynamically assigning sets of addresses by dhcp, corresponding management entity, relay and computer program |
| CN102413203A (en) * | 2011-12-01 | 2012-04-11 | 中兴通讯股份有限公司 | IP (Internet Protocol) address allocation method and device |
| CN102685264A (en) * | 2012-05-08 | 2012-09-19 | 北京星网锐捷网络技术有限公司 | Dynamic host configuration protocol address allocation method, relay equipment and server |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2477361B1 (en) * | 2009-09-11 | 2016-03-02 | Huawei Technologies Co., Ltd. | Ip address automatic assignment method, equipment and system |
-
2015
- 2015-06-15 CN CN201510330917.2A patent/CN106254567A/en active Pending
-
2016
- 2016-04-15 WO PCT/CN2016/079482 patent/WO2016202080A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20010038481A (en) * | 1999-10-25 | 2001-05-15 | 서평원 | Method of Merging DHCP Server with Relay Agent in the Router |
| WO2007074006A1 (en) * | 2005-12-29 | 2007-07-05 | France Telecom | Method of dynamically assigning sets of addresses by dhcp, corresponding management entity, relay and computer program |
| CN1859254A (en) * | 2006-04-04 | 2006-11-08 | 华为技术有限公司 | Quick cut-in method and system for abnormally cut-off of broad band users |
| CN102413203A (en) * | 2011-12-01 | 2012-04-11 | 中兴通讯股份有限公司 | IP (Internet Protocol) address allocation method and device |
| CN102685264A (en) * | 2012-05-08 | 2012-09-19 | 北京星网锐捷网络技术有限公司 | Dynamic host configuration protocol address allocation method, relay equipment and server |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106254567A (en) | 2016-12-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5711754B2 (en) | Smart client routing | |
| US20120324063A1 (en) | Method, network device, and system for automatically configuring network device in ipv6 network | |
| CN105228150A (en) | A kind of mobile device carries out the method and apparatus of relaying | |
| KR20140129229A (en) | Internet protocol access through service-oriented architecture bus | |
| CN107592209A (en) | A kind of multi-network card server automatically configures the method and system of IP address information | |
| CN105144652A (en) | Address resolution in software-defined networks | |
| JP2017517171A (en) | Method and apparatus for high speed IP address assignment | |
| US20120278888A1 (en) | Gateway and method for avoiding attacks | |
| US20130332586A1 (en) | Providing ipv6 connectivity through shared external interfaces on electronic devices | |
| CN106713522B (en) | Wireless fidelity Wi-Fi connection method and mobile terminal | |
| WO2017215492A1 (en) | Device detection method and apparatus | |
| CN100576852C (en) | Method and device for obtaining internet protocol address | |
| CN104104926A (en) | Universal plug and play (UPnP) monitoring terminal access method and access device | |
| CN104935564B (en) | Make the equipment based on mDNS agreements and service the method found mutually in a local network | |
| US8806043B1 (en) | Server selection during retransmit of a request | |
| WO2016202080A1 (en) | Method and device for acquiring address | |
| CN102970387A (en) | Domain name resolution method, device and system | |
| US9288740B2 (en) | Communication apparatus, control method for the same, communication system, and non-transitory computer-readable storage medium | |
| WO2020124954A1 (en) | Method and apparatus for implementing wireless roaming, gateway, and storage medium | |
| WO2016202059A1 (en) | Ipv6 network access method and gateway | |
| KR20150125379A (en) | A method, a terminal and a server for providing communication service | |
| US10303502B2 (en) | Creating a virtual machine for an IP device using information requested from a lookup service | |
| WO2013186969A1 (en) | Communication information detecting device and communication information detecting method | |
| WO2017166038A1 (en) | Communication method and terminal | |
| WO2016095751A1 (en) | Domain name analysis method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16810821 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16810821 Country of ref document: EP Kind code of ref document: A1 |