WO2016177185A1 - Method and apparatus for processing media access control (mac) address - Google Patents

Method and apparatus for processing media access control (mac) address Download PDF

Info

Publication number
WO2016177185A1
WO2016177185A1 PCT/CN2016/077574 CN2016077574W WO2016177185A1 WO 2016177185 A1 WO2016177185 A1 WO 2016177185A1 CN 2016077574 W CN2016077574 W CN 2016077574W WO 2016177185 A1 WO2016177185 A1 WO 2016177185A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac address
mapping relationship
information
specified
request message
Prior art date
Application number
PCT/CN2016/077574
Other languages
French (fr)
Chinese (zh)
Inventor
苏清
张玉磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016177185A1 publication Critical patent/WO2016177185A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for processing a media access control MAC address.
  • DHCP Dynamic Host Configuration Protocol
  • BOOTP The Dynamic Host Configuration Protocol
  • DHCP packets are broadcasted and cannot pass through multiple subnets.
  • DHCP servers are often not in the same subnet as DHCP users. Therefore, when DHCP packets are to traverse multiple subnets, DHCP is required.
  • the DHCP relay deployed on the same subnet as the DHCP user passes the user request to the real DHCP server, and transmits the reply of the server to the user, so as to allocate dynamic configuration information for the user.
  • the management of the user on the DHCP device is mainly through the user's hardware address. If it is Ethernet, it is the media access control (MAC) address that is often referred to as the MAC address of the same DHCP device.
  • the MAC is used to centrally manage users accessing from the same or different paths. However, as the service expands, more and more user MAC addresses are duplicated, which causes the DHCP device to distinguish between these users.
  • the embodiment of the invention provides a method and a device for processing a media access control MAC address, so as to at least solve the problem that the DHCP device cannot be distinguished because the MAC address is repeated in the related art.
  • a method for processing a media access control MAC address including: receiving a request message sent by a user equipment UE, where the request message carries a connection by the UE Combining information of the incoming information and the MAC address; obtaining a specified MAC address that has a mapping relationship with the combined information according to a preset rule; replacing the combined information in the request packet by the specified MAC address, and carrying The request message with the specified MAC address is sent to the server.
  • the specified MAC address that has a mapping relationship with the combination information according to the preset rule includes: matching the combination information with the MAC address information in the mapping table according to a preset mapping table; And searching for the first specified MAC address corresponding to the combination information according to the mapping relationship in the mapping table; when the matching is inconsistent, calculating, by using a first preset algorithm, obtaining a second design that has a mapping relationship with the combined information MAC address.
  • the method further includes: receiving a response message of the server in response to the request message, where the response message carries the specified MAC address; and searching for a combination corresponding to the specified MAC address according to the mapping relationship And replacing the specified MAC address by the combination information, and sending the response message to the UE according to the combination information.
  • the searching for the combination information corresponding to the specified MAC address according to the mapping relationship includes: when the mapping relationship does not exist in the mapping table, calculating, according to the mapping relationship, by using a second preset algorithm Combining information corresponding to the specified MAC address; or, when the mapping relationship exists in the mapping table, searching for combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
  • the method before receiving the request packet sent by the user equipment UE, the method further includes: configuring the mapping table locally.
  • a device for processing a media access control MAC address including: a first receiving module, configured to receive a request message sent by a user equipment UE, where the request message is Carrying combined information consisting of the access information and the MAC address information of the UE; the first processing module is configured to obtain a specified MAC address that has a mapping relationship with the combined information according to a preset rule; and a second processing module, setting And replacing the combination information in the request message with the specified MAC address, and sending the request message carrying the specified MAC address to a server.
  • the first processing module includes: a matching unit, configured to match the combined information with the MAC address information in the mapping table according to a preset mapping table; and the first searching unit is configured to be consistent when the matching is consistent And searching, according to the mapping relationship in the mapping table, a first specified MAC address corresponding to the combination information; and the calculating unit is configured to calculate, by using a first preset algorithm, a mapping relationship with the combination information when the matching is inconsistent The second specified MAC address.
  • the device further includes: a second receiving module, configured to receive a response of the server in response to the request message a packet, wherein the response packet carries the specified MAC address; the search module is configured to search for combined information corresponding to the specified MAC address according to the mapping relationship; and the third processing module is configured as a The combined information replaces the specified MAC address, and sends the response message to the UE according to the combined information.
  • a second receiving module configured to receive a response of the server in response to the request message a packet, wherein the response packet carries the specified MAC address
  • the search module is configured to search for combined information corresponding to the specified MAC address according to the mapping relationship
  • the third processing module is configured as a The combined information replaces the specified MAC address, and sends the response message to the UE according to the combined information.
  • the searching module includes: a calculating unit, configured to: when the mapping relationship does not exist in the mapping table, calculate, according to the mapping relationship, a second MAC address corresponding to the specified MAC address And the second search unit is configured to: when the mapping relationship exists in the mapping table, find the combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
  • a calculating unit configured to: when the mapping relationship does not exist in the mapping table, calculate, according to the mapping relationship, a second MAC address corresponding to the specified MAC address
  • the second search unit is configured to: when the mapping relationship exists in the mapping table, find the combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
  • the apparatus before receiving the request message sent by the user equipment UE, the apparatus further includes: a configuration module, configured to preset the mapping table locally.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a processing method of the media access control MAC address in the foregoing embodiment.
  • a new MAC address is mapped by a combination of access information and a MAC address of the user equipment. That is, the specified MAC address, that is, even if the MAC address of the request message sent by the user equipment is the same, as long as the access information is different, it can be mapped to a different new MAC address, thereby solving the related art because of the MAC address.
  • the repetition causes the DHCP device to be indistinguishable, enabling the server to manage the user equipment of the same MAC address accessed from different access paths.
  • FIG. 1 is a flowchart of a method for processing a media access control MAC address according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a device for processing a medium access control MAC address according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention
  • FIG. 6 is a block diagram 4 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a direct connection DHCP relay networking according to an alternative embodiment of the present invention.
  • FIG. 8 is a timing diagram of a relay protocol interaction in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
  • Step S102 The DHCP relay receives the request message sent by the user equipment UE, where the request message carries the combination information composed of the access information and the MAC address of the UE.
  • Step S104 The DHCP relay obtains a specified MAC address that has a mapping relationship with the combination information according to a preset rule.
  • Step S106 The DHCP relay replaces the combined information in the request packet by the specified MAC address, and sends the request packet carrying the specified MAC address to the server.
  • the combination of the access information and the MAC address of the user equipment is adopted. Mapping a new MAC address, that is, the specified MAC address, that is, even if the MAC address of the request message sent by the user equipment is the same, as long as the access information is different, it can be mapped to a different new MAC address, thereby solving the problem.
  • the problem that the DHCP device cannot be distinguished due to the repetition of the MAC address enables the server to implement management of the user equipment of the same MAC address accessed from different access paths.
  • the method can be implemented as follows:
  • Step S11 The DHCP relay matches the combined information with the MAC address information in the mapping table according to the preset mapping table.
  • Step S12 When the DHCP relays match, the DHCP relay searches for the first specified MAC address corresponding to the combination information according to the mapping relationship in the mapping table.
  • Step S13 When the matching is inconsistent, the DHCP relay calculates a second specified MAC address that has a mapping relationship with the combined information by using the first preset algorithm.
  • the DHCP relay matches the combined information to determine whether the local is Pre-storing the MAC address corresponding to the combined information; if yes, obtaining the specified MAC address of the combined information according to the pre-configured mapping table, if not, indicating that the specified MAC address corresponding to the combined information is not configured beforehand,
  • the specified MAC address corresponding to the combined information is calculated according to a preset algorithm.
  • the “designation” in the specified MAC address in this embodiment does not specifically refer to a certain MAC address, but generally refers to a MAC address that has a mapping relationship with the combined information.
  • the method in this embodiment may further include:
  • Step S21 The DHCP relay receiving server responds to the response message of the request message, where the response message carries the specified MAC address;
  • Step S22 The DHCP relay searches for combination information corresponding to the specified MAC address according to the mapping relationship.
  • Step S23 The DHCP relay replaces the specified MAC address by the combined information, and sends the response message to the UE according to the combined information.
  • the server sends a response message to the DHCP relay, and the response message carries the specified MAC address corresponding to the combined information. Therefore, after receiving the response message, the DHCP searches for the specified MAC address. The combined information corresponding to the address, thereby obtaining the access information and the MAC address in the combined information, thereby based on the access information The message and MAC address will send a response message to the user equipment.
  • the manner of searching for the combination information corresponding to the specified MAC address according to the mapping relationship in the step S22 can be implemented as follows. :
  • the local configuration preset mapping table is further configured, where the combination information of the user equipment and the locally set MAC address are stored in the mapping table. Mapping relationship.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a device for processing a media access control MAC address is also provided.
  • the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: a first receiving module 22, configured to receive a request message sent by a user equipment UE, where The request packet carries the combination information composed of the access information and the MAC address information of the UE.
  • the first processing module 24 is coupled to the receiving module 22, and is configured to obtain a mapping relationship with the combined information according to the preset rule.
  • the second processing module 26 is coupled to the first processing module 24 and configured to replace the combined information in the request message with the specified MAC address, and send the request message carrying the specified MAC address to the server.
  • FIG. 3 is a block diagram of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention.
  • the first processing module 24 includes: a matching unit 32, configured to be configured according to a preset mapping table. The combination information is matched with the MAC address information in the mapping table.
  • the first searching unit 34 is coupled to the matching unit 32, and is configured to search for the first designation corresponding to the combination information according to the mapping relationship in the mapping table when the matching is consistent.
  • the computing unit 36 is coupled to the first searching unit 34, and is configured to calculate, by the first preset algorithm, a second designated MAC address that has a mapping relationship with the combined information when the matching is inconsistent.
  • the apparatus in this embodiment may further include: a second receiving module 42 and a second processing module 26 configured to receive the server in response to the request report.
  • the response message of the message, wherein the response message carries the specified MAC address;
  • the search module 44 is coupled to the second receiving module 42 and configured to search for the combined information corresponding to the specified MAC address according to the mapping relationship;
  • the third processing module 46 coupled to the lookup module 44, configured to replace the designated MAC address with the combined information, and send the response message to the UE according to the combined information.
  • the search module 44 includes: a calculating unit 52, configured to not exist in a mapping table in a mapping relationship. If the mapping relationship is used, the combination information corresponding to the specified MAC address is calculated according to the mapping relationship; or the second searching unit 54 is configured to use the mapping relationship in the mapping table when the mapping relationship exists in the mapping table. Find the combined information corresponding to the specified MAC address.
  • FIG. 6 is a block diagram of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention.
  • the device further includes: a configuration module 62, before receiving a request message sent by the user equipment UE. And being coupled to the first receiving module 22, and configured to preset the configuration mapping table locally.
  • the present invention provides a solution to the same MAC conflict, which can implement management and control of IPOE users in the same MAC scenario accessed from different access paths.
  • FIG. 7 is a schematic diagram of a direct connection DHCP relay networking according to an alternative embodiment of the present invention.
  • the optional embodiment is applied to a DHCP relay device directly connected to a user.
  • the technical solution of the optional embodiment is: mapping a new MAC by using the user access information and the user MAC, and replacing the hardware address of the user in the forwarded request message with a new MAC, and forwarding the replaced packet to the DHCP.
  • the server even if the hardware address field of the request message sent by the user is the same, as long as the access information is different, it can be mapped to a different new hardware address, and the request message processed by the DHCP relay is sent to the DHCP server.
  • the MAC address is also different.
  • Step A The DHCP relay receives the DHCP request message, extracts the access side access information, and the chaddr field in the DHCP message, and uses the access side access information +chaddr field to index whether the corresponding mapped hardware address information exists. If yes, the obtained hardware address is obtained. If it does not exist, a new hardware address is mapped according to a preset algorithm, and the mapping relationship is recorded;
  • Step B The new hardware address is replaced with the chaddr field of the request packet sent by the user, and forwarded to the DHCP server.
  • Step C When the DHCP server responds, the chaddr field in the request message is carried in the chaddr field of the response packet;
  • Step D The DHCP relay receives the response packet, and obtains the hardware address information from the chaddr field.
  • the mapping relationship can be found in the mapping relationship and the original chaddr information of the user.
  • the DHCP relay responds to the packet.
  • the chaddr field is replaced with the original chaddr of the user, and the response message is sent to the user;
  • Step E The processing of the request packet on the subsequent DHCP relay will repeat steps A and B;
  • step F the processing of the response message on the subsequent DHCP relay will repeat step D.
  • FIG. 8 is a timing diagram of a relay protocol interaction according to an alternative embodiment of the present invention. As shown in FIG. 8, the steps of the interaction include:
  • Step S801 the DHCP client sends a DHCPDISCOVER request message to the DHCP relay.
  • Step S802 the DHCP relay receives the DHCPDISCOVER request message, obtains a new hardware address according to the access information and the user MAC information in the request message, and sends a DHCP discover message;
  • the method of obtaining the new hardware address according to the access information and the user MAC information in the request packet is: obtaining the access information of the user access side and the user MAC information, and accessing the information + MAC lookup mapping table to check whether there is any Corresponding new hardware address, if any, obtain new hardware address; if not, obtain a new hardware address according to an algorithm, the algorithm must ensure different access information + MAC combination, the generated new hardware address is different, and record The mapping between the information + MAC and the new hardware address.
  • the DHCP relay replaces the chaddr in the DHCPDISCOVER packet with the new hardware address and forwards it to the next-level DHCP relay or DHCP server.
  • Step S803 after receiving the DHCPDISCOVER, the DHCP server manages the user according to the new hardware address, and allocates dynamic configuration information to the user, and returns DHCPOFFER to the DHCP relay.
  • Step S804 the DHCP relay receives the DHCPOFFER, obtains the hardware address information from the chadger of the DHCPOFFER, searches the mapping table, obtains the user access information and the original hardware address of the user according to the mapping table record, and the DHCP relay saves the information allocated by the DHCP server, and The DHCPdiver's chaddr is replaced with the original hardware address of the user, and the DHCPOFFER message is sent to the DHCP client.
  • Step S805 the DHCP client sends a DHCPREQUEST request message to the DHCP relay.
  • Step S806 The DHCP relay receives the DHCPREQUEST request packet, obtains the user access side access information and the user MAC information, accesses the information + MAC lookup mapping table, obtains a new hardware address, and replaces the chaddr in the DHCPREQUEST message with the new hardware. Address and forward it to the next level DHCP relay or DHCP server.
  • Step S807 after receiving the DHCPREQUEST, the DHCP server returns a DHCPACK to the DHCP relay.
  • Step S808 the DHCP relay receives the DHCPACK, obtains the hardware address information from the chaddr of the DHCPACK, searches the mapping table, obtains the user access information and the original hardware address of the user according to the mapping table record, and the DHCP relay saves the information allocated by the DHCP server, and The CHADDR of the DHCPACK is replaced with the original hardware address of the user, and the DHCPACK packet is sent to the DHCP client. The process ends.
  • the optional embodiment adopts a method of mapping a new hardware address through the access side access information + hardware address on the DHCP relay, and replacing the user request message chaddr, so that the DHCP request message is processed after the direct connection relay processing.
  • the hardware address in the device becomes the unique hardware address, which facilitates subsequent cascading DHCP relay or DHCP server to retain the original MAC address.
  • the problem of duplicate hardware address of DHCP request packets is solved in a simple manner, which provides greater convenience for service deployment.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 The DHCP relay receives the request message sent by the user equipment UE, where the request message carries the combination information composed of the access information and the MAC address of the UE;
  • Step S2 The DHCP relay obtains a specified MAC address that has a mapping relationship with the combination information according to a preset rule.
  • Step S3 The DHCP relay replaces the combined information in the request packet by the specified MAC address, and sends the request packet carrying the specified MAC address to the server.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the new MAC address that is, the specified MAC address
  • the new MAC address is mapped by the combination of the access information and the MAC address of the user equipment, that is, even if the MAC address of the request packet sent by the user equipment is the same,
  • the access information is different, it can be mapped to different new MAC addresses, thereby solving the problem that the DHCP device cannot be distinguished because the MAC address is duplicated in the related art, so that the server can implement the same MAC accessing from different access paths.
  • Management of the address of the user device is mapped by the combination of the access information and the MAC address of the user equipment, that is, even if the MAC address of the request packet sent by the user equipment is the same.

Abstract

Provided are a method and apparatus for processing a media access control (MAC) address. The method comprises: receiving a request packet sent by a user equipment (UE), wherein the request packet carries combination information composed of access information about the UE and an MAC address; obtaining a designated MAC address having a mapping relationship with the combination information according to a preset rule; and replacing the combination information in the request packet with the designated MAC address, and sending the request packet carrying the designated MAC address to a server. By means of the present invention, the problem in the related art that DHCP devices cannot be distinguished due to the repeated MAC address is solved.

Description

媒体访问控制MAC地址的处理方法及装置Method and device for processing media access control MAC address 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种媒体访问控制MAC地址的处理方法及装置。The present invention relates to the field of communications, and in particular, to a method and apparatus for processing a media access control MAC address.
背景技术Background technique
动态主机配置协议(Dynamic Host Configuration Protocol,简称为DHCP)是在BOOTP协议基础上进行了优化和扩展而产生的一种网络配置协议。DHCP报文采用广播方式,无法穿越多个子网,但是在实际网络部署中,DHCP服务器跟DHCP用户往往不在同一个子网,所以,当要想DHCP报文穿越多个子网时,就要有DHCP中继的存在,通过跟DHCP用户部署在同一个子网的DHCP中继,将用户请求传递给真正的DHCP服务器,并将服务器的回复传给用户,达到为用户分配动态配置信息的目的。The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that is optimized and extended based on the BOOTP protocol. DHCP packets are broadcasted and cannot pass through multiple subnets. However, in actual network deployment, DHCP servers are often not in the same subnet as DHCP users. Therefore, when DHCP packets are to traverse multiple subnets, DHCP is required. Following the existence, the DHCP relay deployed on the same subnet as the DHCP user passes the user request to the real DHCP server, and transmits the reply of the server to the user, so as to allocate dynamic configuration information for the user.
目前在DHCP设备上管理用户主要通过用户硬件地址,如果是以太网就是我们常说的媒体访问控制(Media Access Control,简称为MAC)地址,同一台DHCP设备上,通过DHCP协议报文中携带的MAC来集中管理从相同或者不同路径接入的用户。但是随着业务的扩展,出现用户MAC地址重复的情况越来越多,这样就造成DHCP设备无法区分这些用户。At present, the management of the user on the DHCP device is mainly through the user's hardware address. If it is Ethernet, it is the media access control (MAC) address that is often referred to as the MAC address of the same DHCP device. The MAC is used to centrally manage users accessing from the same or different paths. However, as the service expands, more and more user MAC addresses are duplicated, which causes the DHCP device to distinguish between these users.
针对相关技术中因为MAC地址的重复导致DHCP设备无法区分的问题;目前尚未有有效的任何解决方法。The problem of the DHCP device being indistinguishable due to the repetition of the MAC address in the related art; there is currently no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种媒体访问控制MAC地址的处理方法及装置,以至少解决相关技术中因为MAC地址的重复导致DHCP设备无法区分的问题。The embodiment of the invention provides a method and a device for processing a media access control MAC address, so as to at least solve the problem that the DHCP device cannot be distinguished because the MAC address is repeated in the related art.
根据本发明实施例的一个方面,提供了一种媒体访问控制MAC地址的处理方法,包括:接收用户设备UE发送的请求报文,其中,所述请求报文中携带有由所述UE的接入信息和MAC地址组成的组合信息;根据预设规则得到与所述组合信息具有映射关系的指定MAC地址;由所述指定MAC地址替换所述请求报文中的所述组合信息,并将携带有所述指定MAC地址的所述请求报文发送到服务器。According to an aspect of the present invention, a method for processing a media access control MAC address is provided, including: receiving a request message sent by a user equipment UE, where the request message carries a connection by the UE Combining information of the incoming information and the MAC address; obtaining a specified MAC address that has a mapping relationship with the combined information according to a preset rule; replacing the combined information in the request packet by the specified MAC address, and carrying The request message with the specified MAC address is sent to the server.
可选地,根据预设规则得到与所述组合信息具有映射关系的指定MAC地址包括:根据预设的映射表对所述组合信息与所述映射表中的MAC地址信息进行匹配;在匹配一致时,根据所述映射表中的映射关系查找与所述组合信息对应的第一指定MAC地址;在匹配不一致时,通过第一预设算法计算得到与所述组合信息具有映射关系的第二指定MAC地址。Optionally, the specified MAC address that has a mapping relationship with the combination information according to the preset rule includes: matching the combination information with the MAC address information in the mapping table according to a preset mapping table; And searching for the first specified MAC address corresponding to the combination information according to the mapping relationship in the mapping table; when the matching is inconsistent, calculating, by using a first preset algorithm, obtaining a second design that has a mapping relationship with the combined information MAC address.
可选地,在将携带有所述指定MAC地址的所述请求报文发送到服务器之后,所述方法 还包括:接收所述服务器响应于所述请求报文的响应报文,其中,所述响应报文中携带有所述指定MAC地址;依据所述映射关系查找与所述指定MAC地址对应的组合信息;由所述组合信息替换所述指定MAC地址,并依据所述组合信息将所述响应报文发送到所述UE。Optionally, after the request message carrying the specified MAC address is sent to the server, the method The method further includes: receiving a response message of the server in response to the request message, where the response message carries the specified MAC address; and searching for a combination corresponding to the specified MAC address according to the mapping relationship And replacing the specified MAC address by the combination information, and sending the response message to the UE according to the combination information.
可选地,依据所述映射关系查找与所述指定MAC地址对应的组合信息包括:在所述映射关系不存在于所述映射表中时,依据所述映射关系通过第二预设算法计算得到与所述指定MAC地址对应的组合信息;或,在所述映射关系存在于所述映射表中时,依据所述映射表中的映射关系查找到与所述指定MAC地址对应的组合信息。Optionally, the searching for the combination information corresponding to the specified MAC address according to the mapping relationship includes: when the mapping relationship does not exist in the mapping table, calculating, according to the mapping relationship, by using a second preset algorithm Combining information corresponding to the specified MAC address; or, when the mapping relationship exists in the mapping table, searching for combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
可选地,在接收用户设备UE发送的请求报文之前,所述方法还包括:在本地预设配置所述映射表。Optionally, before receiving the request packet sent by the user equipment UE, the method further includes: configuring the mapping table locally.
根据本发明实施例的另一个方面,提供了一种媒体访问控制MAC地址的处理装置,包括:第一接收模块,设置为接收用户设备UE发送的请求报文,其中,所述请求报文中携带有由所述UE的接入信息和MAC地址信息组成的组合信息;第一处理模块,设置为根据预设规则得到与所述组合信息具有映射关系的指定MAC地址;第二处理模块,设置为由所述指定MAC地址替换所述请求报文中的所述组合信息,并将携带有所述指定MAC地址的所述请求报文发送到服务器。According to another aspect of the present invention, a device for processing a media access control MAC address is provided, including: a first receiving module, configured to receive a request message sent by a user equipment UE, where the request message is Carrying combined information consisting of the access information and the MAC address information of the UE; the first processing module is configured to obtain a specified MAC address that has a mapping relationship with the combined information according to a preset rule; and a second processing module, setting And replacing the combination information in the request message with the specified MAC address, and sending the request message carrying the specified MAC address to a server.
可选地,第一处理模块包括:匹配单元,设置为根据预设的映射表对所述组合信息与所述映射表中的MAC地址信息进行匹配;第一查找单元,设置为在匹配一致时,根据所述映射表中的映射关系查找与所述组合信息对应的第一指定MAC地址;计算单元,设置为在匹配不一致时,通过第一预设算法计算得到与所述组合信息具有映射关系的第二指定MAC地址。Optionally, the first processing module includes: a matching unit, configured to match the combined information with the MAC address information in the mapping table according to a preset mapping table; and the first searching unit is configured to be consistent when the matching is consistent And searching, according to the mapping relationship in the mapping table, a first specified MAC address corresponding to the combination information; and the calculating unit is configured to calculate, by using a first preset algorithm, a mapping relationship with the combination information when the matching is inconsistent The second specified MAC address.
可选地,在将携带有所述指定MAC地址的所述请求报文发送到服务器之后,所述装置还包括:第二接收模块,设置为接收所述服务器响应于所述请求报文的响应报文,其中,所述响应报文中携带有所述指定MAC地址;查找模块,设置为依据所述映射关系查找与所述指定MAC地址对应的组合信息;第三处理模块,设置为由所述组合信息替换所述指定MAC地址,并依据所述组合信息将所述响应报文发送到所述UE。Optionally, after the request message carrying the specified MAC address is sent to the server, the device further includes: a second receiving module, configured to receive a response of the server in response to the request message a packet, wherein the response packet carries the specified MAC address; the search module is configured to search for combined information corresponding to the specified MAC address according to the mapping relationship; and the third processing module is configured as a The combined information replaces the specified MAC address, and sends the response message to the UE according to the combined information.
可选地,所述查找模块包括:计算单元,设置为在所述映射关系不存在于所述映射表中时,依据所述映射关系通过第二预设算法计算得到与所述指定MAC地址对应的组合信息;或,第二查找单元,设置为在所述映射关系存在于所述映射表中时,依据所述映射表中的映射关系查找到与所述指定MAC地址对应的组合信息。Optionally, the searching module includes: a calculating unit, configured to: when the mapping relationship does not exist in the mapping table, calculate, according to the mapping relationship, a second MAC address corresponding to the specified MAC address And the second search unit is configured to: when the mapping relationship exists in the mapping table, find the combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
可选地,在接收用户设备UE发送的请求报文之前,所述装置还包括:配置模块,设置为在本地预设配置所述映射表。Optionally, before receiving the request message sent by the user equipment UE, the apparatus further includes: a configuration module, configured to preset the mapping table locally.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的媒体访问控制MAC地址的处理方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a processing method of the media access control MAC address in the foregoing embodiment.
在本发明实施例中,通过用户设备的接入信息和MAC地址的组合映射新的MAC地址, 也就是该指定MAC地址,也就是说即使用户设备发出的请求报文的MAC地址是相同的,只要接入信息不同,就能映射到不同的新MAC地址,进而解决了相关技术中因为MAC地址的重复导致DHCP设备无法区分的问题,使得服务器能实现对从不同接入路径接入的相同MAC地址的用户设备的管理。In the embodiment of the present invention, a new MAC address is mapped by a combination of access information and a MAC address of the user equipment. That is, the specified MAC address, that is, even if the MAC address of the request message sent by the user equipment is the same, as long as the access information is different, it can be mapped to a different new MAC address, thereby solving the related art because of the MAC address. The repetition causes the DHCP device to be indistinguishable, enabling the server to manage the user equipment of the same MAC address accessed from different access paths.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的媒体访问控制MAC地址的处理方法的流程图;1 is a flowchart of a method for processing a media access control MAC address according to an embodiment of the present invention;
图2是根据本发明实施例的媒体访问控制MAC地址的处理装置的结构框图;2 is a structural block diagram of a device for processing a medium access control MAC address according to an embodiment of the present invention;
图3是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图一;3 is a block diagram 1 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention;
图4是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图二;4 is a block diagram 2 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention;
图5是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图三;5 is a block diagram 3 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention;
图6是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图四;6 is a block diagram 4 of an optional structure of a device for processing a medium access control MAC address according to an embodiment of the present invention;
图7是根据本发明可选实施例的直连DHCP relay组网示意图;FIG. 7 is a schematic diagram of a direct connection DHCP relay networking according to an alternative embodiment of the present invention; FIG.
图8是根据本发明可选实施例的relay协议交互时序图。8 is a timing diagram of a relay protocol interaction in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种媒体访问控制MAC地址的处理方法,图1是根据本发明实施例的媒体访问控制MAC地址的处理方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for processing a media access control MAC address is provided. FIG. 1 is a flowchart of a method for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
步骤S102:DHCP中继接收用户设备UE发送的请求报文,其中,请求报文中携带有由UE的接入信息和MAC地址组成的组合信息;Step S102: The DHCP relay receives the request message sent by the user equipment UE, where the request message carries the combination information composed of the access information and the MAC address of the UE.
步骤S104:DHCP中继根据预设规则得到与组合信息具有映射关系的指定MAC地址;Step S104: The DHCP relay obtains a specified MAC address that has a mapping relationship with the combination information according to a preset rule.
步骤S106:DHCP中继由指定MAC地址替换请求报文中的组合信息,并将携带有指定MAC地址的请求报文发送到服务器。Step S106: The DHCP relay replaces the combined information in the request packet by the specified MAC address, and sends the request packet carrying the specified MAC address to the server.
通过本实施例中的步骤S102至步骤S106,通过用户设备的接入信息和MAC地址的组合 映射新的MAC地址,也就是该指定MAC地址,也就是说即使用户设备发出的请求报文的MAC地址是相同的,只要接入信息不同,就能映射到不同的新MAC地址,进而解决了相关技术中因为MAC地址的重复导致DHCP设备无法区分的问题,使得服务器能实现对从不同接入路径接入的相同MAC地址的用户设备的管理。Through the steps S102 to S106 in this embodiment, the combination of the access information and the MAC address of the user equipment is adopted. Mapping a new MAC address, that is, the specified MAC address, that is, even if the MAC address of the request message sent by the user equipment is the same, as long as the access information is different, it can be mapped to a different new MAC address, thereby solving the problem. In the related art, the problem that the DHCP device cannot be distinguished due to the repetition of the MAC address enables the server to implement management of the user equipment of the same MAC address accessed from different access paths.
需要说明的是,上述步骤S102至步骤S106中是优选的通过DHCP中继来完成所有的操作,因此,下述涉及到的本实施例的技术方案都以DHCP中继为例进行说明,但在本发明的其他应用场景中也可以是其他设备来完成相应的操作,而本实施例中涉及到的服务器可以是DHCP服务器。It should be noted that, in the foregoing steps S102 to S106, all operations are preferably performed by using a DHCP relay. Therefore, the following technical solutions of the present embodiment are described by taking a DHCP relay as an example, but In other application scenarios of the present invention, other devices may be used to complete the corresponding operations, and the server involved in this embodiment may be a DHCP server.
对于本实施例步骤S104中涉及到的根据预设规则得到与组合信息具有映射关系的指定MAC地址的方式,在本实施例的可选实施方式中,可以通过如下方式来实现:For the manner of obtaining the specified MAC address that has the mapping relationship with the combination information according to the preset rule in the step S104 of the embodiment, in the optional implementation manner of the embodiment, the method can be implemented as follows:
步骤S11:DHCP中继根据预设的映射表对组合信息与映射表中的MAC地址信息进行匹配;Step S11: The DHCP relay matches the combined information with the MAC address information in the mapping table according to the preset mapping table.
步骤S12:DHCP中继在匹配一致时,DHCP中继根据映射表中的映射关系查找与组合信息对应的第一指定MAC地址;Step S12: When the DHCP relays match, the DHCP relay searches for the first specified MAC address corresponding to the combination information according to the mapping relationship in the mapping table.
步骤S13:在匹配不一致时,DHCP中继通过第一预设算法计算得到与组合信息具有映射关系的第二指定MAC地址。Step S13: When the matching is inconsistent, the DHCP relay calculates a second specified MAC address that has a mapping relationship with the combined information by using the first preset algorithm.
由步骤S11至步骤S13可知,在本实施例的可选实施方式中得到与组合信息具有映射关系的指定MAC地址的方式有两种,首先是DHCP中继对该组合信息进行匹配,判断本地是否预先存储与该组合信息相对应的MAC地址;如有,则根据预先配置的映射表得到该组合信息的指定MAC地址,如没有,说明事先没有配置与该组合信息对应的指定MAC地址,则需要根据预设算法计算得到与组合信息对应的指定MAC地址。需要说明的是,本实施例中涉及到的指定MAC地址中的“指定”并不是特指某一个MAC地址,而是泛指与组合信息具有映射关系的MAC地址。It can be seen from the step S11 to the step S13 that there are two ways to obtain a specified MAC address in a mapping relationship with the combination information in the optional embodiment of the present embodiment. First, the DHCP relay matches the combined information to determine whether the local is Pre-storing the MAC address corresponding to the combined information; if yes, obtaining the specified MAC address of the combined information according to the pre-configured mapping table, if not, indicating that the specified MAC address corresponding to the combined information is not configured beforehand, The specified MAC address corresponding to the combined information is calculated according to a preset algorithm. It should be noted that the “designation” in the specified MAC address in this embodiment does not specifically refer to a certain MAC address, but generally refers to a MAC address that has a mapping relationship with the combined information.
而在本实施例的另一个可选实施方式,在将携带有指定MAC地址的请求报文发送到服务器之后,本实施例的方法还可以包括:In another optional implementation manner of this embodiment, after the request packet carrying the specified MAC address is sent to the server, the method in this embodiment may further include:
步骤S21:DHCP中继接收服务器响应于请求报文的响应报文,其中,响应报文中携带有指定MAC地址;Step S21: The DHCP relay receiving server responds to the response message of the request message, where the response message carries the specified MAC address;
步骤S22:DHCP中继依据映射关系查找与指定MAC地址对应的组合信息;Step S22: The DHCP relay searches for combination information corresponding to the specified MAC address according to the mapping relationship.
步骤S23:DHCP中继由组合信息替换指定MAC地址,并依据组合信息将响应报文发送到UE。Step S23: The DHCP relay replaces the specified MAC address by the combined information, and sends the response message to the UE according to the combined information.
由该步骤S21至步骤S23可知,服务器向DHCP中继发送响应报文,该响应报文中携带有与组合信息对应的指定MAC地址,因此DHCP在收到响应报文之后,查找与该指定MAC地址对应的组合信息,进而得到该组合信息中的接入信息与MAC地址,从而依据该接入信 息与MAC地址将响应报文发送用户设备。It is known from the step S21 to the step S23 that the server sends a response message to the DHCP relay, and the response message carries the specified MAC address corresponding to the combined information. Therefore, after receiving the response message, the DHCP searches for the specified MAC address. The combined information corresponding to the address, thereby obtaining the access information and the MAC address in the combined information, thereby based on the access information The message and MAC address will send a response message to the user equipment.
根据本实施例中上述涉及到两种得到与组合信息具有映射关系的指定MAC地址的方式对于该步骤S22中的依据映射关系查找与指定MAC地址对应的组合信息的方式,可以通过如下方式来实现:According to the manner that the foregoing two types of obtaining the specified MAC address that are in the mapping relationship with the combination information, the manner of searching for the combination information corresponding to the specified MAC address according to the mapping relationship in the step S22 can be implemented as follows. :
方式一:在映射关系不存在于映射表中时,依据映射关系通过第二预设算法计算得到与指定MAC地址对应的组合信息;Manner 1: When the mapping relationship does not exist in the mapping table, the combination information corresponding to the specified MAC address is calculated by using the second preset algorithm according to the mapping relationship;
方式二:在映射关系存在于映射表中时,依据映射表中的映射关系查找到与指定MAC地址对应的组合信息。Manner 2: When the mapping relationship exists in the mapping table, the combination information corresponding to the specified MAC address is found according to the mapping relationship in the mapping table.
此外,需要说明的是在接收用户设备UE发送的请求报文之前,在本实施例中还需要:在本地预设配置映射表,该映射表中存储用户设备的组合信息与本地设置的MAC地址的映射关系。In addition, it should be noted that, before receiving the request message sent by the user equipment UE, in this embodiment, the local configuration preset mapping table is further configured, where the combination information of the user equipment and the locally set MAC address are stored in the mapping table. Mapping relationship.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种媒体访问控制MAC地址的处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for processing a media access control MAC address is also provided. The device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的媒体访问控制MAC地址的处理装置的结构框图,如图2所示,该装置包括:第一接收模块22,设置为接收用户设备UE发送的请求报文,其中,请求报文中携带有由UE的接入信息和MAC地址信息组成的组合信息;第一处理模块24,与接收模块22耦合连接,设置为根据预设规则得到与组合信息具有映射关系的指定MAC地址;第二处理模块26,与第一处理模块24耦合连接,设置为由指定MAC地址替换请求报文中的组合信息,并将携带有指定MAC地址的请求报文发送到服务器。2 is a structural block diagram of a device for processing a medium access control MAC address according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a first receiving module 22, configured to receive a request message sent by a user equipment UE, where The request packet carries the combination information composed of the access information and the MAC address information of the UE. The first processing module 24 is coupled to the receiving module 22, and is configured to obtain a mapping relationship with the combined information according to the preset rule. The second processing module 26 is coupled to the first processing module 24 and configured to replace the combined information in the request message with the specified MAC address, and send the request message carrying the specified MAC address to the server.
图3是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图一,如图3所示,该第一处理模块24包括:匹配单元32,设置为根据预设的映射表对组合信息与映射表中的MAC地址信息进行匹配;第一查找单元34,与匹配单元32耦合连接,设置为在匹配一致时,根据映射表中的映射关系查找与组合信息对应的第一指定MAC地址;计算单元36,与第一查找单元34耦合连接,设置为在匹配不一致时,通过第一预设算法计算得到与组合信息具有映射关系的第二指定MAC地址。FIG. 3 is a block diagram of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 3, the first processing module 24 includes: a matching unit 32, configured to be configured according to a preset mapping table. The combination information is matched with the MAC address information in the mapping table. The first searching unit 34 is coupled to the matching unit 32, and is configured to search for the first designation corresponding to the combination information according to the mapping relationship in the mapping table when the matching is consistent. The computing unit 36 is coupled to the first searching unit 34, and is configured to calculate, by the first preset algorithm, a second designated MAC address that has a mapping relationship with the combined information when the matching is inconsistent.
图4是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图二,如图 4所示,在将携带有指定MAC地址的请求报文发送到服务器之后,本实施例的装置还可以包括:第二接收模块42,与第二处理模块26,设置为接收服务器响应于请求报文的响应报文,其中,响应报文中携带有指定MAC地址;查找模块44,与第二接收模块42耦合连接,设置为依据映射关系查找与指定MAC地址对应的组合信息;第三处理模块46,与查找模块44耦合连接,设置为由组合信息替换指定MAC地址,并依据组合信息将响应报文发送到UE。4 is a block diagram 2 of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 4, after the request message carrying the specified MAC address is sent to the server, the apparatus in this embodiment may further include: a second receiving module 42 and a second processing module 26 configured to receive the server in response to the request report. The response message of the message, wherein the response message carries the specified MAC address; the search module 44 is coupled to the second receiving module 42 and configured to search for the combined information corresponding to the specified MAC address according to the mapping relationship; the third processing module 46, coupled to the lookup module 44, configured to replace the designated MAC address with the combined information, and send the response message to the UE according to the combined information.
图5是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图三,如图5所示,该查找模块44包括:计算单元52,设置为在映射关系不存在于映射表中时,依据映射关系通过第二预设算法计算得到与指定MAC地址对应的组合信息;或,第二查找单元54,设置为在映射关系存在于映射表中时,依据映射表中的映射关系查找到与指定MAC地址对应的组合信息。5 is a block diagram 3 of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 5, the search module 44 includes: a calculating unit 52, configured to not exist in a mapping table in a mapping relationship. If the mapping relationship is used, the combination information corresponding to the specified MAC address is calculated according to the mapping relationship; or the second searching unit 54 is configured to use the mapping relationship in the mapping table when the mapping relationship exists in the mapping table. Find the combined information corresponding to the specified MAC address.
图6是根据本发明实施例的媒体访问控制MAC地址的处理装置的可选结构框图四,如图6所示,在接收用户设备UE发送的请求报文之前,该装置还包括:配置模块62,与第一接收模块22耦合连接,设置为在本地预设配置映射表。FIG. 6 is a block diagram of an optional structure of a device for processing a media access control MAC address according to an embodiment of the present invention. As shown in FIG. 6, the device further includes: a configuration module 62, before receiving a request message sent by the user equipment UE. And being coupled to the first receiving module 22, and configured to preset the configuration mapping table locally.
下面通过本发明的可选实施例对本发明进行举例说明;The invention is exemplified below by an alternative embodiment of the invention;
本可选实施例提供了一种相同MAC冲突的解决方法,该方法可以实现从不同接入路径接入的相同MAC场景下,IPOE用户的管理和控制。The present invention provides a solution to the same MAC conflict, which can implement management and control of IPOE users in the same MAC scenario accessed from different access paths.
图7是根据本发明可选实施例的直连DHCP relay组网示意图,如图7所示,本可选实施例应用在与用户直连的DHCP中继设备上。本可选实施例的技术方案为:通过用户接入信息和用户MAC,映射出新MAC,并将转发的请求报文中用户的硬件地址替换为新MAC,将替换过的报文转发给DHCP服务器,那么即使用户发出的请求报文的硬件地址字段是相同的,只要接入信息不同,就能映射到不同的新硬件地址,经过DHCP中继处理的请求报文,发送到DHCP server上,MAC地址也是不同的。FIG. 7 is a schematic diagram of a direct connection DHCP relay networking according to an alternative embodiment of the present invention. As shown in FIG. 7, the optional embodiment is applied to a DHCP relay device directly connected to a user. The technical solution of the optional embodiment is: mapping a new MAC by using the user access information and the user MAC, and replacing the hardware address of the user in the forwarded request message with a new MAC, and forwarding the replaced packet to the DHCP. The server, even if the hardware address field of the request message sent by the user is the same, as long as the access information is different, it can be mapped to a different new hardware address, and the request message processed by the DHCP relay is sent to the DHCP server. The MAC address is also different.
本可选实施例中来实现相同MAC场景下IPOE中继用户接入控制的步骤包括:The steps of implementing the IPOE relay user access control in the same MAC scenario in the optional embodiment include:
步骤A,DHCP relay收到DHCP请求报文,提取接入侧接入信息以及DHCP报文中的chaddr字段,以接入侧接入信息+chaddr字段来索引是否已存在对应的映射硬件地址信息,存在则获取映射到的硬件地址,不存在则根据预设算法映射出一个新硬件地址,并且记录该映射关系;Step A: The DHCP relay receives the DHCP request message, extracts the access side access information, and the chaddr field in the DHCP message, and uses the access side access information +chaddr field to index whether the corresponding mapped hardware address information exists. If yes, the obtained hardware address is obtained. If it does not exist, a new hardware address is mapped according to a preset algorithm, and the mapping relationship is recorded;
步骤B,将新硬件地址,替换用户发出的请求报文的chaddr字段,转发给DHCP server;Step B: The new hardware address is replaced with the chaddr field of the request packet sent by the user, and forwarded to the DHCP server.
步骤C,DHCP server在应答时,在响应报文的chaddr字段携带请求报文中的chaddr字段;Step C: When the DHCP server responds, the chaddr field in the request message is carried in the chaddr field of the response packet;
步骤D,DHCP relay收到响应报文,从chaddr字段获取硬件地址信息,从映射关系中可以查找到其对应的接入侧接入信息以及用户原有chaddr信息,DHCP relay将响应报文中的chaddr字段替换回用户原有chaddr,将响应报文发送给用户; Step D: The DHCP relay receives the response packet, and obtains the hardware address information from the chaddr field. The mapping relationship can be found in the mapping relationship and the original chaddr information of the user. The DHCP relay responds to the packet. The chaddr field is replaced with the original chaddr of the user, and the response message is sent to the user;
步骤E,后续DHCP relay上请求报文的处理将重复步骤A、B;Step E: The processing of the request packet on the subsequent DHCP relay will repeat steps A and B;
步骤F,后续DHCP relay上应答报文的处理将重复步骤D。In step F, the processing of the response message on the subsequent DHCP relay will repeat step D.
下面结合附图和具体实施例对本发明可选实施例进行详细的说明;The optional embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments;
图8是根据本发明可选实施例的relay协议交互时序图,如图8所示,该交互的步骤包括:FIG. 8 is a timing diagram of a relay protocol interaction according to an alternative embodiment of the present invention. As shown in FIG. 8, the steps of the interaction include:
步骤S801,DHCP client向DHCP relay发送DHCPDISCOVER请求报文;Step S801, the DHCP client sends a DHCPDISCOVER request message to the DHCP relay.
步骤S802,DHCP relay接收DHCPDISCOVER请求报文,根据请求报文中的接入信息和用户MAC信息得到新的硬件地址,并发送DHCP discover报文;Step S802, the DHCP relay receives the DHCPDISCOVER request message, obtains a new hardware address according to the access information and the user MAC information in the request message, and sends a DHCP discover message;
其中,根据请求报文中的接入信息和用户MAC信息得到新的硬件地址的方式为:获取用户接入侧接入信息和用户MAC信息,以接入信息+MAC查找映射表,查看是否有对应的新硬件地址,如果有,获取新硬件地址;如果没有,根据某种算法获取一个新硬件地址,该算法必须保证不同的接入信息+MAC组合,产生的新硬件地址不同,并记录接入信息+MAC和新硬件地址的映射关系。DHCP relay将用户DHCPDISCOVER报文中的chaddr替换为新硬件地址,并转发给下一级DHCP relay或DHCP server。The method of obtaining the new hardware address according to the access information and the user MAC information in the request packet is: obtaining the access information of the user access side and the user MAC information, and accessing the information + MAC lookup mapping table to check whether there is any Corresponding new hardware address, if any, obtain new hardware address; if not, obtain a new hardware address according to an algorithm, the algorithm must ensure different access information + MAC combination, the generated new hardware address is different, and record The mapping between the information + MAC and the new hardware address. The DHCP relay replaces the chaddr in the DHCPDISCOVER packet with the new hardware address and forwards it to the next-level DHCP relay or DHCP server.
步骤S803,DHCP server收到DHCPDISCOVER后,根据新硬件地址来管理用户,并且为用户分配动态配置信息,返回DHCPOFFER给DHCP relay。Step S803, after receiving the DHCPDISCOVER, the DHCP server manages the user according to the new hardware address, and allocates dynamic configuration information to the user, and returns DHCPOFFER to the DHCP relay.
步骤S804,DHCP relay收到DHCPOFFER,从DHCPOFFER的chaddr获取硬件地址信息,查找映射表,根据映射表记录,获取到用户接入信息以及用户原硬件地址,DHCP relay保存DHCP server分配的信息,并且将DHCPOFFER的chaddr替换回用户原有硬件地址,将DHCPOFFER报文发送给DHCP client;Step S804, the DHCP relay receives the DHCPOFFER, obtains the hardware address information from the chadger of the DHCPOFFER, searches the mapping table, obtains the user access information and the original hardware address of the user according to the mapping table record, and the DHCP relay saves the information allocated by the DHCP server, and The DHCPdiver's chaddr is replaced with the original hardware address of the user, and the DHCPOFFER message is sent to the DHCP client.
步骤S805,DHCP client向DHCP relay发送DHCPREQUEST请求报文;Step S805, the DHCP client sends a DHCPREQUEST request message to the DHCP relay.
步骤S806,DHCP relay接收DHCPREQUEST请求报文,获取用户接入侧接入信息和用户MAC信息,以接入信息+MAC查找映射表,获取新硬件地址,将DHCPREQUEST报文中的chaddr替换为新硬件地址,并转发给下一级DHCP relay或DHCP server。Step S806: The DHCP relay receives the DHCPREQUEST request packet, obtains the user access side access information and the user MAC information, accesses the information + MAC lookup mapping table, obtains a new hardware address, and replaces the chaddr in the DHCPREQUEST message with the new hardware. Address and forward it to the next level DHCP relay or DHCP server.
步骤S807,DHCP server收到DHCPREQUEST后返回DHCPACK给DHCP relay。Step S807, after receiving the DHCPREQUEST, the DHCP server returns a DHCPACK to the DHCP relay.
步骤S808,DHCP relay收到DHCPACK,从DHCPACK的chaddr获取硬件地址信息,查找映射表,根据映射表记录,获取到用户接入信息以及用户原硬件地址,DHCP relay保存DHCP server分配的信息,并且将DHCPACK的chaddr替换回用户原有硬件地址,将DHCPACK报文发送给DHCP client,流程结束。Step S808, the DHCP relay receives the DHCPACK, obtains the hardware address information from the chaddr of the DHCPACK, searches the mapping table, obtains the user access information and the original hardware address of the user according to the mapping table record, and the DHCP relay saves the information allocated by the DHCP server, and The CHADDR of the DHCPACK is replaced with the original hardware address of the user, and the DHCPACK packet is sent to the DHCP client. The process ends.
本可选实施例采用在DHCP中继上,通过接入侧接入信息+硬件地址映射出新硬件地址,并且替换用户请求报文chaddr的方式,使得经过直连relay处理后,DHCP请求报文中的硬件地址成为唯一硬件地址,便于后续级联DHCP relay或DHCP server保留原有的通过MAC 来管理用户,以简单的方式,解决了DHCP请求报文硬件地址重复的问题,为业务部署提供了更大的方便。The optional embodiment adopts a method of mapping a new hardware address through the access side access information + hardware address on the DHCP relay, and replacing the user request message chaddr, so that the DHCP request message is processed after the direct connection relay processing. The hardware address in the device becomes the unique hardware address, which facilitates subsequent cascading DHCP relay or DHCP server to retain the original MAC address. To manage users, the problem of duplicate hardware address of DHCP request packets is solved in a simple manner, which provides greater convenience for service deployment.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S1:DHCP中继接收用户设备UE发送的请求报文,其中,请求报文中携带有由UE的接入信息和MAC地址组成的组合信息;Step S1: The DHCP relay receives the request message sent by the user equipment UE, where the request message carries the combination information composed of the access information and the MAC address of the UE;
步骤S2:DHCP中继根据预设规则得到与组合信息具有映射关系的指定MAC地址;Step S2: The DHCP relay obtains a specified MAC address that has a mapping relationship with the combination information according to a preset rule.
步骤S3:DHCP中继由指定MAC地址替换请求报文中的组合信息,并将携带有指定MAC地址的请求报文发送到服务器。Step S3: The DHCP relay replaces the combined information in the request packet by the specified MAC address, and sends the request packet carrying the specified MAC address to the server.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,通过用户设备的接入信息和MAC地址的组合映射新的MAC地址,也就是该指定MAC地址,也就是说即使用户设备发出的请求报文的MAC地址是相同的,只要接入信息不同,就能映射到不同的新MAC地址,进而解决了相关技术中因为MAC地址的重复导致DHCP设备无法区分的问题,使得服务器能实现对从不同接入路径接入的相同MAC地址的用户设备的管理。 In the embodiment of the present invention, the new MAC address, that is, the specified MAC address, is mapped by the combination of the access information and the MAC address of the user equipment, that is, even if the MAC address of the request packet sent by the user equipment is the same, As long as the access information is different, it can be mapped to different new MAC addresses, thereby solving the problem that the DHCP device cannot be distinguished because the MAC address is duplicated in the related art, so that the server can implement the same MAC accessing from different access paths. Management of the address of the user device.

Claims (10)

  1. 一种媒体访问控制MAC地址的处理方法,包括:A method for processing a media access control MAC address, including:
    接收用户设备UE发送的请求报文,其中,所述请求报文中携带有由所述UE的接入信息和MAC地址组成的组合信息;Receiving a request message sent by the user equipment UE, where the request message carries combined information consisting of the access information and the MAC address of the UE;
    根据预设规则得到与所述组合信息具有映射关系的指定MAC地址;Obtaining a specified MAC address that has a mapping relationship with the combined information according to a preset rule;
    由所述指定MAC地址替换所述请求报文中的所述组合信息,并将携带有所述指定MAC地址的所述请求报文发送到服务器。And replacing, by the specified MAC address, the combination information in the request packet, and sending the request packet carrying the specified MAC address to a server.
  2. 根据权利要求1所述的方法,其中,根据预设规则得到与所述组合信息具有映射关系的指定MAC地址包括:The method according to claim 1, wherein the specifying the MAC address that has a mapping relationship with the combined information according to the preset rule comprises:
    根据预设的映射表对所述组合信息与所述映射表中的MAC地址信息进行匹配;Matching the combined information with the MAC address information in the mapping table according to a preset mapping table;
    在匹配一致时,根据所述映射表中的映射关系查找与所述组合信息对应的第一指定MAC地址;When the matching is consistent, searching for a first specified MAC address corresponding to the combined information according to the mapping relationship in the mapping table;
    在匹配不一致时,通过第一预设算法计算得到与所述组合信息具有映射关系的第二指定MAC地址。When the matching is inconsistent, the second specified MAC address that has a mapping relationship with the combined information is calculated by using the first preset algorithm.
  3. 根据权利要求2所述的方法,其中,在将携带有所述指定MAC地址的所述请求报文发送到服务器之后,所述方法还包括:The method of claim 2, wherein after the request message carrying the specified MAC address is sent to the server, the method further comprises:
    接收所述服务器响应于所述请求报文的响应报文,其中,所述响应报文中携带有所述指定MAC地址;Receiving, by the server, a response message in response to the request message, where the response message carries the specified MAC address;
    依据所述映射关系查找与所述指定MAC地址对应的组合信息;Finding, according to the mapping relationship, combination information corresponding to the specified MAC address;
    由所述组合信息替换所述指定MAC地址,并依据所述组合信息将所述响应报文发送到所述UE。And replacing the specified MAC address by the combination information, and sending the response message to the UE according to the combination information.
  4. 根据权利要求3所述的方法,其中,依据所述映射关系查找与所述指定MAC地址对应的组合信息包括:The method according to claim 3, wherein the searching for the combination information corresponding to the specified MAC address according to the mapping relationship comprises:
    在所述映射关系不存在于所述映射表中时,依据所述映射关系通过第二预设算法计算得到与所述指定MAC地址对应的组合信息;或,When the mapping relationship does not exist in the mapping table, the combination information corresponding to the specified MAC address is calculated by using a second preset algorithm according to the mapping relationship; or
    在所述映射关系存在于所述映射表中时,依据所述映射表中的映射关系查找到与所述指定MAC地址对应的组合信息。When the mapping relationship exists in the mapping table, the combination information corresponding to the specified MAC address is found according to the mapping relationship in the mapping table.
  5. 根据权利要求2或4所述的方法,其中,在接收用户设备UE发送的请求报文之前,所述方法还包括:The method according to claim 2 or 4, wherein before the receiving the request message sent by the user equipment UE, the method further comprises:
    在本地预设配置所述映射表。The mapping table is configured locally.
  6. 一种媒体访问控制MAC地址的处理装置,包括: A device for processing a media access control MAC address, comprising:
    第一接收模块,设置为接收用户设备UE发送的请求报文,其中,所述请求报文中携带有由所述UE的接入信息和MAC地址信息组成的组合信息;The first receiving module is configured to receive the request message sent by the user equipment UE, where the request message carries the combination information that is composed of the access information and the MAC address information of the UE;
    第一处理模块,设置为根据预设规则得到与所述组合信息具有映射关系的指定MAC地址;a first processing module, configured to obtain a specified MAC address that has a mapping relationship with the combined information according to a preset rule;
    第二处理模块,设置为由所述指定MAC地址替换所述请求报文中的所述组合信息,并将携带有所述指定MAC地址的所述请求报文发送到服务器。The second processing module is configured to replace the combination information in the request message by the specified MAC address, and send the request message carrying the specified MAC address to the server.
  7. 根据权利要求6所述的装置,其中,第一处理模块包括:The apparatus of claim 6 wherein the first processing module comprises:
    匹配单元,设置为根据预设的映射表对所述组合信息与所述映射表中的MAC地址信息进行匹配;a matching unit, configured to match the combined information with the MAC address information in the mapping table according to a preset mapping table;
    第一查找单元,设置为在匹配一致时,根据所述映射表中的映射关系查找与所述组合信息对应的第一指定MAC地址;a first searching unit, configured to: when the matching is consistent, search for a first specified MAC address corresponding to the combined information according to a mapping relationship in the mapping table;
    计算单元,设置为在匹配不一致时,通过第一预设算法计算得到与所述组合信息具有映射关系的第二指定MAC地址。The calculating unit is configured to calculate, by the first preset algorithm, a second designated MAC address that has a mapping relationship with the combined information when the matching is inconsistent.
  8. 根据权利要求7所述的装置,其中,在将携带有所述指定MAC地址的所述请求报文发送到服务器之后,所述装置还包括:The apparatus of claim 7, wherein after the request message carrying the specified MAC address is sent to the server, the apparatus further comprises:
    第二接收模块,设置为接收所述服务器响应于所述请求报文的响应报文,其中,所述响应报文中携带有所述指定MAC地址;a second receiving module, configured to receive a response message of the server in response to the request message, where the response message carries the specified MAC address;
    查找模块,设置为依据所述映射关系查找与所述指定MAC地址对应的组合信息;a searching module, configured to search for combined information corresponding to the specified MAC address according to the mapping relationship;
    第三处理模块,设置为由所述组合信息替换所述指定MAC地址,并依据所述组合信息将所述响应报文发送到所述UE。And a third processing module, configured to replace the specified MAC address by the combination information, and send the response message to the UE according to the combination information.
  9. 根据权利要求8所述的装置,其中,所述查找模块包括:The apparatus of claim 8 wherein said means for finding comprises:
    计算单元,设置为在所述映射关系不存在于所述映射表中时,依据所述映射关系通过第二预设算法计算得到与所述指定MAC地址对应的组合信息;或,a calculating unit, configured to: when the mapping relationship does not exist in the mapping table, calculate, according to the mapping relationship, the combination information corresponding to the specified MAC address by using a second preset algorithm; or
    第二查找单元,设置为在所述映射关系存在于所述映射表中时,依据所述映射表中的映射关系查找到与所述指定MAC地址对应的组合信息。The second searching unit is configured to: when the mapping relationship exists in the mapping table, find the combination information corresponding to the specified MAC address according to the mapping relationship in the mapping table.
  10. 根据权利要求7或9所述的装置,其中,在接收用户设备UE发送的请求报文之前,所述装置还包括:The device according to claim 7 or 9, wherein, before receiving the request message sent by the user equipment UE, the apparatus further includes:
    配置模块,设置为在本地预设配置所述映射表。 The configuration module is configured to configure the mapping table locally.
PCT/CN2016/077574 2015-07-20 2016-03-28 Method and apparatus for processing media access control (mac) address WO2016177185A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510428662.3A CN106375489B (en) 2015-07-20 2015-07-20 Method and device for processing Media Access Control (MAC) address
CN201510428662.3 2015-07-20

Publications (1)

Publication Number Publication Date
WO2016177185A1 true WO2016177185A1 (en) 2016-11-10

Family

ID=57218008

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077574 WO2016177185A1 (en) 2015-07-20 2016-03-28 Method and apparatus for processing media access control (mac) address

Country Status (2)

Country Link
CN (1) CN106375489B (en)
WO (1) WO2016177185A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835875A (en) * 2019-04-22 2020-10-27 普天信息技术有限公司 Communication method and device for private network terminal and industry terminal
CN115514734A (en) * 2022-10-03 2022-12-23 陈军 Method and system for sending message

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953938A (en) * 2017-03-29 2017-07-14 武汉米风通信技术有限公司 A kind of broadcasting and TV frequency spectrum ultra-narrow the band recognition methods of internet-of-things terminal Information Repeater and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233576A1 (en) * 2002-06-13 2003-12-18 Nvidia Corp. Detection of support for security protocol and address translation integration
CN101515950A (en) * 2009-04-09 2009-08-26 杭州华三通信技术有限公司 Realization method and device for WLAN subnet terminal and wireless access client
CN102957752A (en) * 2011-08-19 2013-03-06 中兴通讯股份有限公司 System and method for identification and gateway address distribution

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340445B (en) * 2008-08-22 2011-05-11 中兴通讯股份有限公司 Method and apparatus for providing service to MAC address duplicate customer
US8224946B2 (en) * 2009-04-24 2012-07-17 Rockstar Bidco, LP Method and apparatus for accommodating duplicate MAC addresses
CN101888388A (en) * 2010-07-15 2010-11-17 中兴通讯股份有限公司 Method and device for realizing virtual media access control address

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233576A1 (en) * 2002-06-13 2003-12-18 Nvidia Corp. Detection of support for security protocol and address translation integration
CN101515950A (en) * 2009-04-09 2009-08-26 杭州华三通信技术有限公司 Realization method and device for WLAN subnet terminal and wireless access client
CN102957752A (en) * 2011-08-19 2013-03-06 中兴通讯股份有限公司 System and method for identification and gateway address distribution

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835875A (en) * 2019-04-22 2020-10-27 普天信息技术有限公司 Communication method and device for private network terminal and industry terminal
CN115514734A (en) * 2022-10-03 2022-12-23 陈军 Method and system for sending message
CN115514734B (en) * 2022-10-03 2023-08-01 陈军 Message sending method and system

Also Published As

Publication number Publication date
CN106375489B (en) 2020-07-07
CN106375489A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106412142B (en) Resource equipment address obtaining method and device
US8886775B2 (en) Dynamic learning by a server in a network environment
US9882866B2 (en) Address allocating method, apparatus, and system
WO2017054526A1 (en) Arp entry generation method and device
US20120324063A1 (en) Method, network device, and system for automatically configuring network device in ipv6 network
US9319377B2 (en) Auto-split DNS
US9825861B2 (en) Packet forwarding method, apparatus, and system
CN106559292A (en) A kind of broad band access method and device
WO2016179950A1 (en) Internet protocol ip address allocation method and device
CN107094110B (en) DHCP message forwarding method and device
AU2015264883A1 (en) Access control method and system, and access point
JP6715425B2 (en) Device and method for assigning internetwork addresses
WO2017000565A1 (en) User access control method and apparatus, relay device and server
EP2765743A1 (en) Layer 2 inter-connecting method, apparatus and system based on ipv6
WO2017161965A1 (en) Method, device, and system for dynamic domain name system (dns) redirection
CN105245629A (en) DHCP-based host communication method and device
JP2012529802A (en) Method for obtaining the IP address of a dynamic host configuration protocol version 6 server, dynamic host configuration protocol version 6 server, and dynamic host configuration protocol version 6 communication system
CN110995886A (en) Network address management method, device, electronic equipment and medium
WO2020042899A1 (en) Duplicate address detection method and device, and computer readable storage medium
WO2016202059A1 (en) Ipv6 network access method and gateway
WO2016177185A1 (en) Method and apparatus for processing media access control (mac) address
WO2014142258A1 (en) Communication system, control device, address allocation method, and program
CN108023971B (en) DHCP message forwarding method and device
WO2015117455A1 (en) Network access method, system and terminal device, and computer storage medium
CN103795581A (en) Address processing method and address processing device

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: 16789179

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: 16789179

Country of ref document: EP

Kind code of ref document: A1