WO2013026299A1 - Address resolution method and device, and information transmission method - Google Patents

Address resolution method and device, and information transmission method Download PDF

Info

Publication number
WO2013026299A1
WO2013026299A1 PCT/CN2012/076254 CN2012076254W WO2013026299A1 WO 2013026299 A1 WO2013026299 A1 WO 2013026299A1 CN 2012076254 W CN2012076254 W CN 2012076254W WO 2013026299 A1 WO2013026299 A1 WO 2013026299A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
packet
server
location identifier
source
Prior art date
Application number
PCT/CN2012/076254
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 WO2013026299A1 publication Critical patent/WO2013026299A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Definitions

  • the present invention relates to the field of mobile communications and the Internet, and in particular, to an address resolution method, apparatus, and information transmission method.
  • IP Internet is the future development direction of the Internet, but mobility management is a big problem facing the mobile Internet.
  • a terminal wants to access the IP Internet, it must apply for a valid IP address from the network.
  • the IP address has a dual attribute that represents both the identity of the user and the location of the network topology in which the user is located. When the user gets a location in a topology (such as under an access gateway)
  • the IP address can only be used in the topology (for example, it can only be used within the jurisdiction of an access router). This is of course no problem for a fixed terminal, but for a mobile terminal, the above IP address becomes an invalid address after the terminal moves from the range governed by one access router to the range governed by another access router. At this point, the terminal must re-acquire a new IP address from the new topology. In this way, the continuity of the IP-based upper layer service cannot be guaranteed. For example, if the end user is making an IP call, the call will be broken.
  • the system consists of Access Service Router (ASR), User Equipment (UE), and Identity Location Register (Identification). And the location register (ILR) and the authentication center (AC), wherein the access server ASR is used to access the user equipment, and the location identifier is assigned to the user equipment; the ILR is used to save the current location information of the user, and The function of querying the current location information according to the user's identity information is provided to the outside world; the AC assumes the user access authentication function; the DHCP assumes the assignment function of the unique identifier (Access Identification, AID), and the assigned AID must belong to the same subnet.
  • the user equipment (or host) has a unique identity (AID).
  • the AID of the user equipment remains unchanged regardless of the ASR in the network.
  • a location identifier (RID) is assigned to indicate the topology location (characterized routing information) that the terminal is currently located, and is generally assigned by the ASR currently connected by the user equipment.
  • the source sends the IP packet to the ASR1 connected to the source;
  • ASR1 obtains the current RID of the destination end according to the AID of the destination end, and tunnels the data packet sent by the source end (for example, IP in IP tunnel), and sends the encapsulated packet to the destination end.
  • ASR2 where the source/destination address of the tunnel is the RID of the source end and the RID of the destination end, respectively;
  • ASR2 disassembles the tunnel and takes out the packet sent by the source end and sends it to the destination.
  • ARP Address Resolution Protocol
  • IP address to MAC address mapping and conversion are technologies for address mapping and conversion from the network layer to the data link layer. That is, IP address to MAC address mapping and conversion.
  • ARP packets can only be transmitted in one broadcast domain. Routers do not forward ARP packets. Text.
  • AID1 of UE1 and AID2 of UE2 belong to the same subnet, but UE1 and UE2 are not in the same broadcast domain. Therefore, when UE1 performs data communication with UE2, UE1 cannot find UE2.
  • the process of data communication between UE1 and UE2 is as follows:
  • UE1 checks whether UE2 and itself are in the same subnet. If yes, UE1 directly sends an ARP broadcast request packet to query the MAC address of UE2. Since the router does not forward the ARP broadcast request packet, and UE2 and UE1 are not in the same broadcast domain, Therefore UE1 cannot find UE2 and communication fails.
  • the technical problem to be solved by the present invention is to provide an address resolution method, device and information transmission side
  • the method can obtain the MAC addresses of UEs that are not in the same broadcast domain in the identity and location separation network.
  • an address resolution method of the present invention includes:
  • the source access server (ASR) to which the source user equipment (UE) belongs After receiving the address resolution protocol (ARP) broadcast request message of the source UE, the source access server (ASR) to which the source user equipment (UE) belongs performs the second ARP broadcast request message by using the location identifier of the target UE. Sub-encapsulation, and the secondary encapsulated ARP broadcast request message is sent to the target ASR to which the target UE belongs;
  • ARP address resolution protocol
  • the target ASR decapsulates the received secondary encapsulated ARP broadcast request message, and sends the obtained ARP broadcast request message to the target UE to obtain the media access control (MAC) of the target UE. Addressing, and transmitting, by the source ASR, the MAC address of the target UE to the source UE.
  • MAC media access control
  • the method further comprises:
  • the source ASR After receiving the ARP broadcast request message, the source ASR parses the ARP broadcast request message to obtain the identity identifier of the target UE, and queries the home location register for the target UE according to the identity identifier of the target UE.
  • the method further includes: after the target ASR sends the decapsulated ARP broadcast request message to the target UE, and receives an ARP response packet returned by the target UE, where the ARP response packet carries The MAC address of the target UE.
  • the method further includes: after receiving the ARP response packet returned by the target UE, the target ASR queries the home location register for the location identifier of the source UE according to the identity identifier of the source UE, according to the source a location identifier of the UE, where the MAC address of the target UE is sent to the source UE by using the source ASR.
  • the method further comprises:
  • the target ASR After receiving the ARP response packet returned by the target UE, the target ASR passes the source identifier of the source UE obtained by decapsulating the secondary encapsulated ARP broadcast request packet, and passes the source The ASR sends the MAC address of the target UE to the source UE.
  • the target ASR sends the MAC address of the target UE to the source UE by using the source ASR according to the location identifier of the source UE, including:
  • the target ASR performs a second encapsulation on the ARP response according to the location identifier of the source UE, and sends the second encapsulated ARP response packet to the source ASR.
  • the source ASR decapsulates the received ARP response packet, and obtains an ARP response packet, and sends the ARP response packet to the source UE.
  • the method further includes: after querying the location identifier of the target UE, the source ASR checks whether the location identifier of the target UE is the same as its own address, and if the same, the source UE and the target UE belong to the same broadcast. Domain, discarding the location identifier of the target UE.
  • An information transmission method includes: after receiving, by the first server to which the first user equipment (UE) belongs, the first UE to query a request message of a media access control (MAC) address of the second UE, The second identifier of the second UE is used to perform the second encapsulation of the request packet, and the second encapsulated request packet is sent to the second server to which the second UE belongs, and the received second packet is decapsulated.
  • the packet returned by the server obtains a response packet, and sends the response packet to the first UE.
  • the identifier of the second UE is carried in the request packet
  • the first server After receiving the request message, the first server parses the request message to obtain the identity of the second UE, and queries the third server according to the identity of the second UE to query the second UE.
  • the location identifier is configured to perform secondary encapsulation on the request packet by using the location identifier of the second UE, and send the second encapsulated request packet to the second server.
  • the first server queries the location identifier of the second UE, it is checked whether the location identifier of the second UE is the same as the address of the second UE. If they are the same, the first UE and the second UE are the same. Broadcast domain, discarding the location identifier of the second UE.
  • An information transmission method includes: receiving, by a second server to which the second UE belongs, a request packet that is sent by the first server to which the first UE belongs, and is secondarily encapsulated by the location identifier of the second UE, where The sub-encapsulated request packet is decapsulated to obtain a request message for querying a media access control (MAC) address of the second UE, and the request packet is sent to the second UE to obtain the a MAC address of the second UE, and sending, by the first server, a MAC address of the second UE to the first UE.
  • MAC media access control
  • the second server sends the request message to the second UE, it receives a response message returned by the second UE, where the response message carries the MAC address of the target UE.
  • the second server After receiving the response message returned by the second UE, the second server queries the third server for the location identifier of the first UE according to the identity identifier of the first UE, according to the And a location identifier of the UE, where the MAC address of the second UE is sent by the first server to the first UE.
  • the second server After receiving the response message returned by the second UE, the second server passes the location identifier of the first UE obtained by decapsulating the request packet after the secondary encapsulation.
  • the first server sends a MAC address of the second UE to the first UE.
  • the sending, by the second server, the MAC address of the second UE to the first UE by using the first server includes:
  • the second server performs secondary encapsulation on the response packet according to the location identifier of the first UE, and sends the second encapsulated response packet to the first server.
  • an address resolution apparatus includes: a message receiving unit, a message encapsulating unit, a message sending unit, and a decapsulation unit, where:
  • the packet receiving unit is configured to: receive a request message sent by the first user equipment (UE) for querying a media access control (MAC) address of the second UE;
  • UE user equipment
  • MAC media access control
  • the packet encapsulating unit is configured to: after the packet receiving unit receives the request message, use the location identifier of the second UE to perform secondary encapsulation on the request packet, and pass the report
  • the message sending unit sends the second encapsulated request message to the second server to which the second UE belongs; the decapsulation unit is configured to: decapsulate the second server return received by the message receiving unit And sending a response message to the first UE by using the message sending unit.
  • the query unit is further configured to: after the receiving unit receives the request message, parsing the request message to obtain the identity of the second UE, according to the The identifier of the second UE is queried to the third server for the location identifier of the second UE, and the location identifier of the second UE is sent to the packet encapsulation unit.
  • the identifier checking unit is further configured to: after the query unit queries the location identifier of the second UE, check whether the location identifier of the second UE is the same as its own address, If the same, the first UE and the second UE belong to the same broadcast domain, and the query unit is notified to discard the location identifier of the second UE.
  • the message receiving unit is further configured to: receive a request message that is sent by the third server to which the third UE belongs, and is encapsulated by the location identifier of the first UE;
  • the decapsulating unit is further configured to: decapsulate the request packet after the secondary encapsulation by using the location identifier of the first UE, to obtain a request for querying a media access control (MAC) address of the first UE Transmitting, by the message sending unit, the request message to the first UE, to obtain a MAC address of the first UE;
  • MAC media access control
  • the packet encapsulating unit is further configured to: send, by the third server, a MAC address of the first UE to the third UE.
  • the message receiving unit is further configured to: receive a response message returned by the first UE, where the response message carries a MAC address of the target UE.
  • the query unit is further configured to: receive the first in the message receiving unit
  • the location identifier of the third UE is queried to the third server according to the identity identifier of the third UE;
  • the packet encapsulating unit is configured to: send, according to the location identifier of the third UE, the MAC address of the first UE to the third UE by using the third server.
  • the packet encapsulating unit is configured to: obtain the third according to the decapsulation unit when decapsulating the request packet after the secondary encapsulation by using the location of the first UE a location identifier of the UE, where the MAC address of the first UE is sent to the third UE by using the third server.
  • the message encapsulating unit is configured to: perform secondary encapsulation on the response according to the location identifier of the third UE, and respond to the secondary encapsulation by using the message sending unit; The text is sent to the third server.
  • the ARP broadcast request packet is forwarded to the broadcast domain where the destination terminal is located, so that the MAC address of the destination terminal is obtained, so that the acquisition is not performed efficiently and quickly.
  • the MAC address of the UE in the unified broadcast domain is not performed efficiently and quickly.
  • Figure 1 is an architectural diagram of an identity and location separation network
  • FIG. 2 is a flowchart of an address resolution method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram of an address analysis apparatus according to the embodiment. Preferred embodiment of the invention
  • the user equipment Considering that in the identity and location separation network, the user equipment (source user equipment) cannot obtain the media access control (MAC) of another user equipment (target user equipment) that is not in the same broadcast domain through ARP address resolution. Address, and thus data communication is not possible.
  • the ASR of the source user equipment performs the secondary encapsulation of the ARP broadcast request packet, and forwards the ARP broadcast request packet to the broadcast domain where the target user equipment is located, so as to obtain the MAC address of the target user equipment.
  • the MAC address of the target user equipment that is not in the same broadcast domain in the identity and location separation network needs to be unique based on the identity of the user equipment (AID). This is a prerequisite for ARP address resolution.
  • the source user equipment UE1 and the target user equipment UE2 access the network through ASR1 and ASR2, respectively, and need to pass the authentication center (AC) for access authentication.
  • the ASR reports the location information of the user equipment to the user equipment.
  • the identity location register (ILR) so the location identifier of the user equipment queried on the ILR is the location identifier of the broadcast domain to which the user equipment belongs.
  • This embodiment queries the location identifier of the target user equipment from the ILR, and uses the queried target user equipment.
  • the location identifier is used to perform secondary encapsulation on the ARP broadcast request packet of the source user equipment, and is sent to the broadcast domain of the target user equipment. After the target user equipment responds, the result is returned to the broadcast domain of the source user equipment, and then sent. Give the source user device the source user device to obtain the MAC address of the target user device.
  • the address resolution method in the identity identification and location separation network in this embodiment includes:
  • Step 201 The UE1 sends an ARP broadcast request message to the ASR1, requesting the MAC address of the UE2, and carrying the identity identifier of the UE2 in the ARP broadcast request message;
  • Step 202 After detecting the ARP broadcast request message of the UE1, the ASR1 parses the ARP broadcast request message, and obtains the identity of the UE2.
  • Step 203 The ASR1 sends a query request to the ILR, and carries the identity identifier of the UE2 in the query request, and requests to query the location identifier of the UE2.
  • Step 204 After receiving the query request of the ASR1, the ILR queries the location identifier of the UE2 according to the identity of the UE2, and returns the location identifier of the UE2 to the ASR1.
  • the ASR1 After obtaining the location identifier of the UE2, the ASR1 checks whether the location identifier of the UE2 is the same as the address of the ASR1. If they are the same, the UE1 and the UE2 belong to the same broadcast domain, and the ASR1 discards the location identifier.
  • ASR1 queries the location identifier of UE2 from the ILR, if the location identifier of UE2 is empty, it indicates
  • ASR1 discards the invalid location identifier.
  • Step 205 ASR1 uses the location identifier of the UE2 to perform a second encapsulation on the ARP broadcast request, and sends the second encapsulated ARP broadcast request message to the ASR2.
  • ASR1 can perform secondary encapsulation on ARP broadcast requests in a tunnel or the like.
  • Step 206 The ASR2 decapsulates the ARP broadcast request sent by the ASR1, and obtains an ARP broadcast request message, and sends an ARP broadcast request message in a broadcast manner.
  • ASR2 sends an ARP broadcast request message to UE2 in broadcast mode to obtain the MAC address of UE2.
  • Step 207 After receiving the ARP broadcast request message, the UE2 returns an ARP response message to the ASR2, and carries the MAC address of the UE2.
  • Step 208 ASR2 obtains the AID of the UE1 from the ARP broadcast request message, queries the ILR for the location identifier of the UE1, and uses the location identifier of the UE1 to perform the secondary encapsulation of the ARP response packet, and the ARP response packet after the secondary encapsulation. Sent to ASR1; The ASR2 can also obtain the location identifier of the UE1 when the ARP broadcast request packet sent by the ASR1 is decapsulated, so that the location identifier of the UE1 does not need to be queried to the ILR.
  • Step 209 The ASR1 decapsulates the ARP response packet sent by the ASR2 to obtain the ARP response packet, and sends the ARP response packet to the UE1.
  • UE1 obtains the MAC address of UE2, and can perform data communication with UE2.
  • the embodiment further provides an address resolution apparatus, including: a message receiving unit, a message encapsulating unit, a message sending unit, and a decapsulating unit, where:
  • a message receiving unit configured to receive a request message sent by the first UE for querying a MAC address of the second UE
  • the message encapsulating unit is configured to: after the message receiving unit receives the request message, use the location identifier of the second UE to perform secondary encapsulation on the request packet, and the second packet is encapsulated by the packet sending unit. Sending to the second server to which the second UE belongs;
  • the decapsulating unit is configured to decapsulate the packet returned by the second server received by the packet receiving unit, and obtain a response packet, and send the response packet to the first UE by using the packet sending unit.
  • the device further includes a query unit, configured to: after the message receiving unit receives the request message, parse the request message to obtain the identity of the second UE, and query the third server for the second UE according to the identity of the second UE.
  • the location identifier is sent to the packet encapsulating unit of the second UE.
  • the device further includes an identifier checking unit, configured to check whether the location identifier of the second UE is the same as the address of the second UE after the query unit queries the location identifier of the second UE, and if the same, the first UE and the second UE The UE belongs to the same broadcast domain, and the notification query unit discards the location identifier of the second UE.
  • an identifier checking unit configured to check whether the location identifier of the second UE is the same as the address of the second UE after the query unit queries the location identifier of the second UE, and if the same, the first UE and the second UE The UE belongs to the same broadcast domain, and the notification query unit discards the location identifier of the second UE.
  • the message receiving unit is further configured to receive, after receiving, the second encapsulated request message by using the location identifier of the first UE that is sent by the third server to which the third UE belongs;
  • the decapsulating unit is further configured to decapsulate the request packet after the secondary encapsulation by using the location identifier of the first UE, to obtain a request packet for querying a media access control (MAC) address of the first UE, by using a packet sending unit Sending the request message to the first UE, to obtain the MAC address of the first UE;
  • MAC media access control
  • the packet encapsulating unit is further configured to send the MAC address of the first UE to the third UE by using the third server.
  • the message receiving unit is further configured to receive a response message returned by the first UE, where the response message carries the MAC address of the target UE.
  • the Querying Unit is further configured to: after the message receiving unit receives the response message returned by the first UE, query the third server for the location identifier of the third UE according to the identity identifier of the third UE;
  • the packet encapsulating unit is configured to perform secondary encapsulation on the response packet according to the location identifier of the third UE, and send the response packet after the secondary encapsulation to the third server by using the packet sending unit. Or the packet encapsulating unit performs secondary encapsulation on the response packet according to the location identifier of the third UE obtained by decapsulating the request packet after the decapsulation of the first UE by using the location of the first UE.
  • the text sending unit sends the secondary encapsulated response message to the third server.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed 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 are fabricated as a single integrated circuit module.
  • the invention is not limited to any particular combination of hardware and software.
  • the ARP broadcast request packet is forwarded to the broadcast domain where the destination terminal is located, so that the MAC address of the destination terminal is obtained, so that the MAC address of the UE that is not in the unified broadcast domain is efficiently and quickly obtained.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An address resolution method and device, and an information transmission method. The address resolution method includes: after a source access server (ASR) to which source user equipment (UE) belongs has received an address resolution protocol (ARP) broadcasting request message from the source UE, applying the location identifier of target UE to secondarily encapsulate the ARP broadcasting request message, and sending the secondarily encapsulated APR broadcasting request message to a target ASR to which the target UE belongs; and the target ASR decapsulating the received secondarily encapsulated ARP broadcasting request message, sending the obtained ARP broadcasting request message to the target UE to acquire the media access control (MAC) address of the target UE, and sending to the source UE the MAC address of the target UE via the source ASR. The present application can highly efficiently and rapidly acquire the MAC address of the UE which is not in a unified broadcasting domain.

Description

一种地址解析方法、 装置及信息传输方法  Address analysis method, device and information transmission method
技术领域 Technical field
本发明涉及移动通信领域和互联网领域, 尤其涉及一种地址解析方法、 装置及信息传输方法。  The present invention relates to the field of mobile communications and the Internet, and in particular, to an address resolution method, apparatus, and information transmission method.
背景技术 Background technique
移动互联网是未来互联网的发展方向, 但移动性管理是移动互联网面对 的一大难题。 众所周知, 终端要访问 IP互联网, 就必须从网络申请一个有效 的 IP地址。 该 IP地址具有双重属性, 既表示用户的身份又表示用户所处的 网络拓朴位置。 当用户在某拓朴位置 (比如在某接入网关下)获得到了一个 Mobile Internet is the future development direction of the Internet, but mobility management is a big problem facing the mobile Internet. As we all know, if a terminal wants to access the IP Internet, it must apply for a valid IP address from the network. The IP address has a dual attribute that represents both the identity of the user and the location of the network topology in which the user is located. When the user gets a location in a topology (such as under an access gateway)
IP地址后, 该 IP地址只能在该拓朴位置使用 (如, 只能在一个接入路由器的 管辖范围内使用) 。 这对于固定终端固然没有问题, 但是对于移动终端, 当 终端从一个接入路由器管辖的范围移动到另一个接入路由器管辖的范围以 后, 上述的 IP地址会变成一个无效的地址。 此时, 终端必须重新从新的拓朴 位置获取一个新的 IP地址。 这样就无法保证基于 IP的上层业务的连续性, 例如, 终端用户正在打 IP电话, 则该通话会断掉。 After an IP address, the IP address can only be used in the topology (for example, it can only be used within the jurisdiction of an access router). This is of course no problem for a fixed terminal, but for a mobile terminal, the above IP address becomes an invalid address after the terminal moves from the range governed by one access router to the range governed by another access router. At this point, the terminal must re-acquire a new IP address from the new topology. In this way, the continuity of the IP-based upper layer service cannot be guaranteed. For example, if the end user is making an IP call, the call will be broken.
为了解决该问题, 业界开始研究基于身份位置分离的技术, 该技术试图 解决终端在跨接入路由器后必须重新分配 IP地址的问题,基本原理是为终端 赋予一个身份标识, 同时又赋予一个位置标识。  In order to solve this problem, the industry began to study the technology based on identity location separation. This technology attempts to solve the problem that the terminal must reassign the IP address after crossing the access router. The basic principle is to assign an identity to the terminal and assign a location identifier. .
如图 1所示, 是一种身份信息和位置信息分离网络的架构, 该系统由接 入月良务器 ( Access Service Router, ASR )、 用户设备 ( User Equipment, UE )、 身份位置寄存器 (Identification & Location Register , ILR ) 和认证中心 ( Authentication Center, AC )等组成, 其中, 接入服务器 ASR用以接入用户 设备, 并为用户设备分配位置标识; ILR用以保存用户当前的位置信息, 并 向外界提供根据用户的身份信息查询当前位置信息的功能; AC则承担用户接 入认证功; DHCP承担唯一身份标识符 (Access Identification, AID)的分配功能, 并且分配的 AID必须属于同一个子网。 用户设备(或者主机)拥有一个唯一的身份标识 (AID ) , 无论在网络 中如何移动, 连接到哪一个 ASR下, 用户设备的 AID始终保持不变; 用户设 备接入到网络后, 还会被分配一个位置标识 (RID ) , 用以表示终端当前所 处的拓朴位置 (表征路由信息) , 一般由用户设备当前连接的 ASR分配。 As shown in Figure 1, it is an architecture of identity information and location information separation network. The system consists of Access Service Router (ASR), User Equipment (UE), and Identity Location Register (Identification). And the location register (ILR) and the authentication center (AC), wherein the access server ASR is used to access the user equipment, and the location identifier is assigned to the user equipment; the ILR is used to save the current location information of the user, and The function of querying the current location information according to the user's identity information is provided to the outside world; the AC assumes the user access authentication function; the DHCP assumes the assignment function of the unique identifier (Access Identification, AID), and the assigned AID must belong to the same subnet. The user equipment (or host) has a unique identity (AID). The AID of the user equipment remains unchanged regardless of the ASR in the network. When the user equipment accesses the network, it will be A location identifier (RID) is assigned to indicate the topology location (characterized routing information) that the terminal is currently located, and is generally assigned by the ASR currently connected by the user equipment.
在身份位置分离的网络中,当两用户终端需要通信时,双方以各自的 AID 作为通信的源 /目的地址, 以图 1 为例, 4艮设 UE1 为源端 (发送端) , UE2 为目的端 (接收端) , UE1与 UE2进行通信的步骤包括:  In the network where the identity locations are separated, when the two user terminals need to communicate, the two parties use their respective AIDs as the source/destination addresses of the communication. Take Figure 1 as an example. 4 Set UE1 as the source (transmitting end) and UE2 as the destination. The terminal (receiving end), the step of UE1 communicating with UE2 includes:
(一) , 源端将 IP报文发送到源端连接的 ASR1 ;  (1) The source sends the IP packet to the ASR1 connected to the source;
(二) , ASR1根据目的端的 AID查询得到目的端当前的 RID, 并将源 端发送的数据包进行隧道封装(如, IP in IP隧道) , 并将封装好的报文发送 至目的端连接的 ASR2, 其中, 隧道的源 /目的地址分别为源端的 RID和目的 端的 RID;  (2) ASR1 obtains the current RID of the destination end according to the AID of the destination end, and tunnels the data packet sent by the source end (for example, IP in IP tunnel), and sends the encapsulated packet to the destination end. ASR2, where the source/destination address of the tunnel is the RID of the source end and the RID of the destination end, respectively;
(三) ASR2拆解隧道,取出其中携带的由源端发出的报文, 并发送给目 的端。  (3) ASR2 disassembles the tunnel and takes out the packet sent by the source end and sends it to the destination.
ARP (地址解析协议)是网络层到数据链路层进行地址映射和转换的技 术, 也即 IP地址到 MAC地址映射和转换, ARP数据包只能在一个广播域中 传播, 路由器不转发 ARP报文。  ARP (Address Resolution Protocol) is a technology for address mapping and conversion from the network layer to the data link layer. That is, IP address to MAC address mapping and conversion. ARP packets can only be transmitted in one broadcast domain. Routers do not forward ARP packets. Text.
如图 1所示, UE1的 AID1与 UE2的 AID2属于同一子网, 但是 UE1与 UE2不在同一广播域中, 因此当 UE1与 UE2进行数据通信时, UE1无法找 到 UE2。  As shown in Figure 1, AID1 of UE1 and AID2 of UE2 belong to the same subnet, but UE1 and UE2 are not in the same broadcast domain. Therefore, when UE1 performs data communication with UE2, UE1 cannot find UE2.
UE1与 UE2进行数据通信的过程如下:  The process of data communication between UE1 and UE2 is as follows:
UE1检查 UE2和自己是否在同一个子网内, 如果是, 则 UE1直接发送 ARP广播请求包,询问 UE2的 MAC地址, 由于路由器不转发 ARP广播请求 包, 并且 UE2与 UE1不在同一个广播域中, 因此 UE1无法找到 UE2, 通信 失败。  UE1 checks whether UE2 and itself are in the same subnet. If yes, UE1 directly sends an ARP broadcast request packet to query the MAC address of UE2. Since the router does not forward the ARP broadcast request packet, and UE2 and UE1 are not in the same broadcast domain, Therefore UE1 cannot find UE2 and communication fails.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种地址解析方法、 装置及信息传输方 法, 能够在身份标识和位置分离网络中实现获取不在同一广播域中的 UE的 MAC地址。 The technical problem to be solved by the present invention is to provide an address resolution method, device and information transmission side The method can obtain the MAC addresses of UEs that are not in the same broadcast domain in the identity and location separation network.
为解决上述技术问题, 本发明的一种地址解析方法, 包括:  To solve the above technical problem, an address resolution method of the present invention includes:
源用户设备 (UE)所属的源接入服务器 (ASR)在接收到源 UE的地址解析协 议 (ARP)广播请求报文后, 釆用目标 UE的位置标识对所述 ARP广播请求报 文进行二次封装, 并将二次封装后的 ARP广播请求报文发送给目标 UE所属 的目标 ASR;  After receiving the address resolution protocol (ARP) broadcast request message of the source UE, the source access server (ASR) to which the source user equipment (UE) belongs performs the second ARP broadcast request message by using the location identifier of the target UE. Sub-encapsulation, and the secondary encapsulated ARP broadcast request message is sent to the target ASR to which the target UE belongs;
所述目标 ASR解封装接收到的所述二次封装后的 ARP广播请求报文, 将得到的 ARP广播请求报文发送给所述目标 UE, 以获取该目标 UE的媒体 接入控制 (MAC)地址, 并通过所述源 ASR将所述目标 UE的 MAC地址发送 给所述源 UE。  The target ASR decapsulates the received secondary encapsulated ARP broadcast request message, and sends the obtained ARP broadcast request message to the target UE to obtain the media access control (MAC) of the target UE. Addressing, and transmitting, by the source ASR, the MAC address of the target UE to the source UE.
优选地, 还包括:  Preferably, the method further comprises:
在所述 ARP广播请求报文中携带有所述目标 UE的身份标识;  Carrying the identity identifier of the target UE in the ARP broadcast request message;
所述源 ASR在接收到所述 ARP广播请求报文后, 解析所述 ARP广播请 求报文获取所述目标 UE的身份标识,根据所述目标 UE的身份标识向归属位 置寄存器查询所述目标 UE的位置标识,并执行所述釆用目标 UE的位置标识 对所述 ARP广播请求>¾文进行二次封装。  After receiving the ARP broadcast request message, the source ASR parses the ARP broadcast request message to obtain the identity identifier of the target UE, and queries the home location register for the target UE according to the identity identifier of the target UE. The location identifier, and performing the location identifier of the target UE to perform secondary encapsulation on the ARP broadcast request>3⁄4.
优选地, 还包括: 所述目标 ASR将解封装得到的 ARP广播请求报文发 送给所述目标 UE后, 接收所述目标 UE返回的 ARP响应报文, 所述 ARP响 应报文中携带有所述目标 UE的 MAC地址。  Preferably, the method further includes: after the target ASR sends the decapsulated ARP broadcast request message to the target UE, and receives an ARP response packet returned by the target UE, where the ARP response packet carries The MAC address of the target UE.
优选地,还包括: 所述目标 ASR在接收到所述目标 UE返回的 ARP响应 报文后,根据所述源 UE的身份标识向归属位置寄存器查询所述源 UE的位置 标识,根据所述源 UE的位置标识, 通过所述源 ASR将所述目标 UE的 MAC 地址发送给所述源 UE。  Preferably, the method further includes: after receiving the ARP response packet returned by the target UE, the target ASR queries the home location register for the location identifier of the source UE according to the identity identifier of the source UE, according to the source a location identifier of the UE, where the MAC address of the target UE is sent to the source UE by using the source ASR.
优选地, 还包括:  Preferably, the method further comprises:
所述目标 ASR在接收到所述目标 UE返回的 ARP响应报文后,根据在解 封装所述二次封装后的 ARP广播请求报文时得到的所述源 UE的位置标识, 通过所述源 ASR将所述目标 UE的 MAC地址发送给所述源 UE。 优选地, 所述目标 ASR才艮据所述源 UE的位置标识, 通过所述源 ASR 将所述目标 UE的 MAC地址发送给所述源 UE包括: After receiving the ARP response packet returned by the target UE, the target ASR passes the source identifier of the source UE obtained by decapsulating the secondary encapsulated ARP broadcast request packet, and passes the source The ASR sends the MAC address of the target UE to the source UE. Preferably, the target ASR sends the MAC address of the target UE to the source UE by using the source ASR according to the location identifier of the source UE, including:
所述目标 ASR根据所述源 UE的位置标识对所述 ARP响应 ^艮文进行二次 封装, 将二次封装后的 ARP响应报文发送给所述源 ASR;  The target ASR performs a second encapsulation on the ARP response according to the location identifier of the source UE, and sends the second encapsulated ARP response packet to the source ASR.
所述源 ASR解封装接收到的所述二次封装后的 ARP响应报文,得到 ARP 响应报文, 将所述 ARP响应报文发送给所述源 UE。  The source ASR decapsulates the received ARP response packet, and obtains an ARP response packet, and sends the ARP response packet to the source UE.
优选地, 还包括: 所述源 ASR在查询到所述目标 UE的位置标识后, 检 查所述目标 UE的位置标识与自身的地址是否相同,如果相同, 则源 UE与目 标 UE属于相同的广播域, 丟弃所述目标 UE的位置标识。  Preferably, the method further includes: after querying the location identifier of the target UE, the source ASR checks whether the location identifier of the target UE is the same as its own address, and if the same, the source UE and the target UE belong to the same broadcast. Domain, discarding the location identifier of the target UE.
一种信息传输方法, 包括: 第一用户设备 (UE)所属的第一服务器在接收 到所述第一 UE查询第二 UE的媒体接入控制 (MAC)地址的请求报文后,釆用 所述第二 UE的位置标识对所述请求报文进行二次封装, 将二次封装后的请 求报文发送给所述第二 UE所属的第二服务器, 并解封装接收到的所述第二 服务器返回的报文, 得到响应报文, 将所述响应报文发送给所述第一 UE。  An information transmission method includes: after receiving, by the first server to which the first user equipment (UE) belongs, the first UE to query a request message of a media access control (MAC) address of the second UE, The second identifier of the second UE is used to perform the second encapsulation of the request packet, and the second encapsulated request packet is sent to the second server to which the second UE belongs, and the received second packet is decapsulated. The packet returned by the server obtains a response packet, and sends the response packet to the first UE.
优选地, 在所述请求报文中携带有所述第二 UE的身份标识;  Preferably, the identifier of the second UE is carried in the request packet;
所述第一服务器在接收到所述请求报文后, 解析所述请求报文获取所述 第二 UE的身份标识,根据所述第二 UE的身份标识向第三服务器查询所述第 二 UE的位置标识,执行所述釆用所述第二 UE的位置标识对所述请求报文进 行二次封装, 将二次封装后的请求报文发送给所述第第二服务器。  After receiving the request message, the first server parses the request message to obtain the identity of the second UE, and queries the third server according to the identity of the second UE to query the second UE. The location identifier is configured to perform secondary encapsulation on the request packet by using the location identifier of the second UE, and send the second encapsulated request packet to the second server.
优选地, 所述第一服务器在查询到所述第二 UE的位置标识后, 检查所 述第二 UE的位置标识与自身的地址是否相同,如果相同, 则第一 UE与第二 UE属于相同的广播域, 丟弃所述第二 UE的位置标识。  Preferably, after the first server queries the location identifier of the second UE, it is checked whether the location identifier of the second UE is the same as the address of the second UE. If they are the same, the first UE and the second UE are the same. Broadcast domain, discarding the location identifier of the second UE.
一种信息传输方法, 包括: 第二 UE所属的第二服务器接收第一 UE所属 的第一服务器发送的釆用所述第二 UE的位置标识二次封装后的请求报文, 对所述二次封装后的请求报文进行解封装, 得到查询所述第二 UE的媒体接 入控制 (MAC)地址的请求报文, 将所述请求报文发送给所述第二 UE, 以获取 所述第二 UE的 MAC地址, 并通过所述第一服务器将所述第二 UE的 MAC 地址发送给所述第一 UE。 优选地, 所述第二服务器将所述请求报文发送给所述第二 UE后, 接收 所述第二 UE返回的响应报文, 所述响应报文中携带有所述目标 UE的 MAC 地址。 An information transmission method includes: receiving, by a second server to which the second UE belongs, a request packet that is sent by the first server to which the first UE belongs, and is secondarily encapsulated by the location identifier of the second UE, where The sub-encapsulated request packet is decapsulated to obtain a request message for querying a media access control (MAC) address of the second UE, and the request packet is sent to the second UE to obtain the a MAC address of the second UE, and sending, by the first server, a MAC address of the second UE to the first UE. Preferably, after the second server sends the request message to the second UE, it receives a response message returned by the second UE, where the response message carries the MAC address of the target UE. .
优选地, 所述第二服务器在接收到所述第二 UE返回的响应报文后, 根 据所述第一 UE的身份标识向第三服务器查询所述第一 UE的位置标识,根据 所述第一 UE的位置标识,通过所述第一服务器将所述第二 UE的 MAC地址 发送给所述第一 UE。  Preferably, after receiving the response message returned by the second UE, the second server queries the third server for the location identifier of the first UE according to the identity identifier of the first UE, according to the And a location identifier of the UE, where the MAC address of the second UE is sent by the first server to the first UE.
优选地, 所述第二服务器在接收到所述第二 UE返回的响应报文后, 根 据在解封装所述二次封装后的请求报文时得到的所述第一 UE的位置标识, 通过所述第一服务器将所述第二 UE的 MAC地址发送给所述第一 UE。  Preferably, after receiving the response message returned by the second UE, the second server passes the location identifier of the first UE obtained by decapsulating the request packet after the secondary encapsulation. The first server sends a MAC address of the second UE to the first UE.
优选地,所述第二服务器通过所述第一服务器将所述第二 UE的 MAC地 址发送给所述第一 UE包括:  Preferably, the sending, by the second server, the MAC address of the second UE to the first UE by using the first server includes:
所述第二服务器根据所述第一 UE的位置标识对所述响应报文进行二次 封装, 将二次封装后的响应报文发送给所述第一服务器。  The second server performs secondary encapsulation on the response packet according to the location identifier of the first UE, and sends the second encapsulated response packet to the first server.
优选地, 一种地址解析装置, 包括: 报文接收单元、 报文封装单元、 报 文发送单元和解封装单元, 其中:  Preferably, an address resolution apparatus includes: a message receiving unit, a message encapsulating unit, a message sending unit, and a decapsulation unit, where:
所述报文接收单元设置为: 接收第一用户设备 (UE)发送的查询第二 UE 的媒体接入控制 (MAC)地址的请求报文;  The packet receiving unit is configured to: receive a request message sent by the first user equipment (UE) for querying a media access control (MAC) address of the second UE;
所述报文封装单元设置为:在所述报文接收单元接收到所述请求报文后, 釆用所述第二 UE的位置标识对所述请求报文进行二次封装, 通过所述报文 发送单元将二次封装后的请求报文发送给所述第二 UE所属的第二服务器; 所述解封装单元设置为: 解封装所述报文接收单元接收到的所述第二服 务器返回的报文, 得到响应报文, 通过所述报文发送单元将所述响应报文发 送给所述第一 UE。  The packet encapsulating unit is configured to: after the packet receiving unit receives the request message, use the location identifier of the second UE to perform secondary encapsulation on the request packet, and pass the report The message sending unit sends the second encapsulated request message to the second server to which the second UE belongs; the decapsulation unit is configured to: decapsulate the second server return received by the message receiving unit And sending a response message to the first UE by using the message sending unit.
优选地, 还包括查询单元; 所述查询单元设置为: 在所述 ^艮文接收单元 接收到所述请求报文后, 解析所述请求报文获取所述第二 UE的身份标识, 根据所述第二 UE的身份标识向第三服务器查询所述第二 UE的位置标识,将 所述第二 UE的位置标识发送给所述报文封装单元。 优选地, 还包括标识检查单元; 所述标识检查单元设置为: 在所述查询 单元查询到所述第二 UE的位置标识后,检查所述第二 UE的位置标识与自身 的地址是否相同, 如果相同, 则第一 UE与第二 UE属于相同的广播域, 通知 所述查询单元丟弃所述第二 UE的位置标识。 Preferably, the query unit is further configured to: after the receiving unit receives the request message, parsing the request message to obtain the identity of the second UE, according to the The identifier of the second UE is queried to the third server for the location identifier of the second UE, and the location identifier of the second UE is sent to the packet encapsulation unit. Preferably, the identifier checking unit is further configured to: after the query unit queries the location identifier of the second UE, check whether the location identifier of the second UE is the same as its own address, If the same, the first UE and the second UE belong to the same broadcast domain, and the query unit is notified to discard the location identifier of the second UE.
优选地, 所述报文接收单元还设置为: 接收第三 UE所属的第三服务器 发送的釆用所述第一 UE的位置标识二次封装后的请求报文;  Preferably, the message receiving unit is further configured to: receive a request message that is sent by the third server to which the third UE belongs, and is encapsulated by the location identifier of the first UE;
所述解封装单元还设置为: 解封装所述釆用所述第一 UE的位置标识二 次封装后的请求报文, 得到查询所述第一 UE 的媒体接入控制 (MAC)地址的 请求报文,通过所述报文发送单元将所述请求报文发送给所述第一 UE, 以获 取所述第一 UE的 MAC地址;  The decapsulating unit is further configured to: decapsulate the request packet after the secondary encapsulation by using the location identifier of the first UE, to obtain a request for querying a media access control (MAC) address of the first UE Transmitting, by the message sending unit, the request message to the first UE, to obtain a MAC address of the first UE;
所述报文封装单元还设置为: 通过所述第三服务器将所述第一 UE 的 MAC地址发送给所述第三 UE。  The packet encapsulating unit is further configured to: send, by the third server, a MAC address of the first UE to the third UE.
优选地, 所述报文接收单元还设置为: 接收所述第一 UE返回的响应报 文, 所述响应报文中携带有所述目标 UE的 MAC地址。  Preferably, the message receiving unit is further configured to: receive a response message returned by the first UE, where the response message carries a MAC address of the target UE.
优选地, 所述查询单元还设置为: 在所述报文接收单元接收到所述第一 Preferably, the query unit is further configured to: receive the first in the message receiving unit
UE返回的响应报文后,根据所述第三 UE的身份标识向第三服务器查询所述 第三 UE的位置标识; After the response message returned by the UE, the location identifier of the third UE is queried to the third server according to the identity identifier of the third UE;
所述报文封装单元是设置为: 根据所述第三 UE的位置标识, 通过所述 第三服务器将所述第一 UE的 MAC地址发送给所述第三 UE。  The packet encapsulating unit is configured to: send, according to the location identifier of the third UE, the MAC address of the first UE to the third UE by using the third server.
优选地, 所述 >¾文封装单元是设置为: 根据所述解封装单元在解封装所 述釆用所述第一 UE的位置标识二次封装后的请求报文时得到的所述第三 UE 的位置标识,通过所述第三服务器将所述第一 UE的 MAC地址发送给所述第 三 UE。  Preferably, the packet encapsulating unit is configured to: obtain the third according to the decapsulation unit when decapsulating the request packet after the secondary encapsulation by using the location of the first UE a location identifier of the UE, where the MAC address of the first UE is sent to the third UE by using the third server.
优选地, 所述报文封装单元是设置为: 根据所述第三 UE的位置标识对 所述响应^艮文进行二次封装, 通过所述 >¾文发送单元将二次封装后的响应才艮 文发送给所述第三服务器。  Preferably, the message encapsulating unit is configured to: perform secondary encapsulation on the response according to the location identifier of the third UE, and respond to the secondary encapsulation by using the message sending unit; The text is sent to the third server.
综上所述,本发明实施例通过将 ARP广播请求报文转发到目的终端所在 的广播域, 实现获取目的终端的 MAC地址, 从而高效、 快速地实现获取不 在统一广播域中的 UE的 MAC地址。 附图概述 In summary, in the embodiment of the present invention, the ARP broadcast request packet is forwarded to the broadcast domain where the destination terminal is located, so that the MAC address of the destination terminal is obtained, so that the acquisition is not performed efficiently and quickly. The MAC address of the UE in the unified broadcast domain. BRIEF abstract
图 1为身份标识与位置分离网络的架构图;  Figure 1 is an architectural diagram of an identity and location separation network;
图 2为本实施方式的地址解析方法的流程图;  2 is a flowchart of an address resolution method according to an embodiment of the present invention;
图 3为本实施方式的地址解析装置的架构图。 本发明的较佳实施方式  3 is a block diagram of an address analysis apparatus according to the embodiment. Preferred embodiment of the invention
考虑到目前在身份标识和位置分离网络中, 用户设备(源用户设备)无 法通过 ARP地址解析获取到不在同一个广播域中的另一用户设备(目标用户 设备) 的媒体接入控制 (MAC )地址, 因而无法进行数据通信。 本实施方式 中源用户设备所在的 ASR通过对 ARP广播请求报文进行二次封装, 将 ARP 广播请求报文转发到目标用户设备所在的广播域, 实现获取目标用户设备的 MAC地址。  Considering that in the identity and location separation network, the user equipment (source user equipment) cannot obtain the media access control (MAC) of another user equipment (target user equipment) that is not in the same broadcast domain through ARP address resolution. Address, and thus data communication is not possible. In this embodiment, the ASR of the source user equipment performs the secondary encapsulation of the ARP broadcast request packet, and forwards the ARP broadcast request packet to the broadcast domain where the target user equipment is located, so as to obtain the MAC address of the target user equipment.
本实施方式实现在身份标识和位置分离网络中获取不在同一个广播域中 的目标用户设备的 MAC地址需要基于用户设备的身份标识(AID )全网唯一, 这是 ARP地址解析的前提条件。  In this embodiment, the MAC address of the target user equipment that is not in the same broadcast domain in the identity and location separation network needs to be unique based on the identity of the user equipment (AID). This is a prerequisite for ARP address resolution.
请参考图 1 , 源用户设备 UE1和目标用户设备 UE2分别通过 ASR1和 ASR2接入网络, 并需要经过认证中心(AC )进行接入认证; 认证成功之后, ASR会将用户设备的位置信息上报到身份位置寄存器(ILR ) , 因此在 ILR 上查询到的用户设备的位置标识就是用户设备所属广播域的位置标识, 本实 施方式从 ILR查询目标用户设备的位置标识, 釆用查询到的目标用户设备的 位置标识对源用户设备的 ARP广播请求报文进行二次封装,发送到目标用户 设备的广播域中, 在目标用户设备响应后, 再将结果返回到源用户设备的广 播域中, 进而发送给源用户设备, 使源用户设备获取到目标用户设备的 MAC 地址。  Referring to FIG. 1, the source user equipment UE1 and the target user equipment UE2 access the network through ASR1 and ASR2, respectively, and need to pass the authentication center (AC) for access authentication. After the authentication succeeds, the ASR reports the location information of the user equipment to the user equipment. The identity location register (ILR), so the location identifier of the user equipment queried on the ILR is the location identifier of the broadcast domain to which the user equipment belongs. This embodiment queries the location identifier of the target user equipment from the ILR, and uses the queried target user equipment. The location identifier is used to perform secondary encapsulation on the ARP broadcast request packet of the source user equipment, and is sent to the broadcast domain of the target user equipment. After the target user equipment responds, the result is returned to the broadcast domain of the source user equipment, and then sent. Give the source user device the source user device to obtain the MAC address of the target user device.
下面根据附图介绍实施例。 需要说明的是, 本实施方式的内容可以用以 下实施例解释, 但不限于以下的实施例。 下面以源用户设备 UE1发起与目标用户设备 UE2的数据通信为例进行说 明, 其中, UE1不知道 UE2的 MAC地址。 请参考图 1和图 2, 本实施方式 在身份标识与位置分离网络中的地址解析方法, 包括: The embodiments are described below based on the drawings. It should be noted that the content of the embodiment may be explained by the following embodiments, but is not limited to the following embodiments. The following takes the source user equipment UE1 to initiate data communication with the target user equipment UE2 as an example. The UE1 does not know the MAC address of the UE2. Referring to FIG. 1 and FIG. 2, the address resolution method in the identity identification and location separation network in this embodiment includes:
步骤 201: UE1向 ASR1发送 ARP广播请求报文, 请求 UE2的 MAC地 址, 在 ARP广播请求报文中携带 UE2的身份标识;  Step 201: The UE1 sends an ARP broadcast request message to the ASR1, requesting the MAC address of the UE2, and carrying the identity identifier of the UE2 in the ARP broadcast request message;
步骤 202: ASR1侦听到 UE1的 ARP广播请求报文后,解析该 ARP广播 请求报文, 获取 UE2的身份标识;  Step 202: After detecting the ARP broadcast request message of the UE1, the ASR1 parses the ARP broadcast request message, and obtains the identity of the UE2.
步骤 203: ASR1向 ILR发送查询请求, 在查询请求中携带 UE2的身份 标识 , 请求查询 UE2的位置标识;  Step 203: The ASR1 sends a query request to the ILR, and carries the identity identifier of the UE2 in the query request, and requests to query the location identifier of the UE2.
步骤 204: ILR在接收到 ASR1的查询请求后, 根据 UE2的身份标识查 询 UE2的位置标识, 并向 ASR1返回 UE2的位置标识;  Step 204: After receiving the query request of the ASR1, the ILR queries the location identifier of the UE2 according to the identity of the UE2, and returns the location identifier of the UE2 to the ASR1.
ASR1在获取到 UE2的位置标识后, 检查 UE2的位置标识与 ASR1 自身 的地址是否相同, 如果相同, 则表示 UE1与 UE2属于相同的广播域, ASR1 丟弃该位置标 i只。  After obtaining the location identifier of the UE2, the ASR1 checks whether the location identifier of the UE2 is the same as the address of the ASR1. If they are the same, the UE1 and the UE2 belong to the same broadcast domain, and the ASR1 discards the location identifier.
ASR1从 ILR查询 UE2的位置标识时, 若 UE2的位置标识为空, 则表示 When ASR1 queries the location identifier of UE2 from the ILR, if the location identifier of UE2 is empty, it indicates
UE2未接入该网络, ASR1丟弃该无效位置标识。 UE2 does not access the network, and ASR1 discards the invalid location identifier.
步骤 205: ASR1釆用 UE2的位置标识对 ARP广播请求^艮文进行二次封 装, 将二次封装后的 ARP广播请求报文发送给 ASR2;  Step 205: ASR1 uses the location identifier of the UE2 to perform a second encapsulation on the ARP broadcast request, and sends the second encapsulated ARP broadcast request message to the ASR2.
例如, ASR1可以以隧道等方式对 ARP广播请求 ^艮文进行二次封装。 步骤 206: ASR2解封装 ASR1发送的二次封装后的 ARP广播请求 4艮文 , 得到 ARP广播请求报文, 以广播的方式发送 ARP广播请求报文;  For example, ASR1 can perform secondary encapsulation on ARP broadcast requests in a tunnel or the like. Step 206: The ASR2 decapsulates the ARP broadcast request sent by the ASR1, and obtains an ARP broadcast request message, and sends an ARP broadcast request message in a broadcast manner.
ASR2 以广播的方式将 ARP广播请求报文发送给 UE2 以获取 UE2 的 MAC地址。  ASR2 sends an ARP broadcast request message to UE2 in broadcast mode to obtain the MAC address of UE2.
步骤 207: UE2接收到 ARP广播请求报文后, 向 ASR2返回 ARP响应报 文, 携带 UE2的 MAC地址;  Step 207: After receiving the ARP broadcast request message, the UE2 returns an ARP response message to the ASR2, and carries the MAC address of the UE2.
步骤 208: ASR2从 ARP广播请求报文中获取 UE1的 AID, 向 ILR查询 UE1的位置标识, 釆用 UE1的位置标识对 ARP响应报文进行二次封装, 将 二次封装后的 ARP响应报文发送给 ASR1 ; ASR2也可以在解封装 ASR1发送的二次封装后的 ARP广播请求报文时, 获得 UE1的位置标识, 从而无需再向 ILR查询 UE1的位置标识。 Step 208: ASR2 obtains the AID of the UE1 from the ARP broadcast request message, queries the ILR for the location identifier of the UE1, and uses the location identifier of the UE1 to perform the secondary encapsulation of the ARP response packet, and the ARP response packet after the secondary encapsulation. Sent to ASR1; The ASR2 can also obtain the location identifier of the UE1 when the ARP broadcast request packet sent by the ASR1 is decapsulated, so that the location identifier of the UE1 does not need to be queried to the ILR.
步骤 209: ASR1解封装 ASR2发送的二次封装的 ARP响应报文, 得到 ARP响应报文, 将 ARP响应报文发送给 UE1。  Step 209: The ASR1 decapsulates the ARP response packet sent by the ASR2 to obtain the ARP response packet, and sends the ARP response packet to the UE1.
至此 UE1获得了 UE2的 MAC地址, 即可与 UE2进行数据通信。  At this point, UE1 obtains the MAC address of UE2, and can perform data communication with UE2.
如图 3所示, 本实施方式还提供了一种地址解析装置, 包括: 报文接收 单元、 报文封装单元、 报文发送单元和解封装单元, 其中:  As shown in FIG. 3, the embodiment further provides an address resolution apparatus, including: a message receiving unit, a message encapsulating unit, a message sending unit, and a decapsulating unit, where:
报文接收单元,用于接收第一 UE发送的查询第二 UE的 MAC地址的请 求报文;  a message receiving unit, configured to receive a request message sent by the first UE for querying a MAC address of the second UE;
报文封装单元, 用于在报文接收单元接收到请求报文后, 釆用第二 UE 的位置标识对请求报文进行二次封装, 通过报文发送单元将二次封装后的请 求报文发送给第二 UE所属的第二服务器;  The message encapsulating unit is configured to: after the message receiving unit receives the request message, use the location identifier of the second UE to perform secondary encapsulation on the request packet, and the second packet is encapsulated by the packet sending unit. Sending to the second server to which the second UE belongs;
解封装单元,用于解封装报文接收单元接收到的第二服务器返回的报文, 得到响应报文, 通过报文发送单元将响应报文发送给第一 UE。  The decapsulating unit is configured to decapsulate the packet returned by the second server received by the packet receiving unit, and obtain a response packet, and send the response packet to the first UE by using the packet sending unit.
该装置还包括查询单元, 查询单元用于在报文接收单元接收到请求报文 后,解析请求报文获取第二 UE的身份标识,根据第二 UE的身份标识向第三 服务器查询第二 UE的位置标识,将第二 UE的位置标识发送给报文封装单元。  The device further includes a query unit, configured to: after the message receiving unit receives the request message, parse the request message to obtain the identity of the second UE, and query the third server for the second UE according to the identity of the second UE. The location identifier is sent to the packet encapsulating unit of the second UE.
该装置还包括标识检查单元, 标识检查单元用于在查询单元查询到第二 UE的位置标识后, 检查第二 UE的位置标识与自身的地址是否相同, 如果相 同, 则第一 UE与第二 UE属于相同的广播域, 通知查询单元丟弃第二 UE的 位置标识。  The device further includes an identifier checking unit, configured to check whether the location identifier of the second UE is the same as the address of the second UE after the query unit queries the location identifier of the second UE, and if the same, the first UE and the second UE The UE belongs to the same broadcast domain, and the notification query unit discards the location identifier of the second UE.
报文接收单元, 还用于接收第三 UE所属的第三服务器发送的釆用第一 UE的位置标识二次封装后的请求报文;  The message receiving unit is further configured to receive, after receiving, the second encapsulated request message by using the location identifier of the first UE that is sent by the third server to which the third UE belongs;
解封装单元, 还用于解封装釆用第一 UE的位置标识二次封装后的请求 报文, 得到查询第一 UE 的媒体接入控制 (MAC)地址的请求报文, 通过报文 发送单元将请求报文发送给第一 UE, 以获取第一 UE的 MAC地址;  The decapsulating unit is further configured to decapsulate the request packet after the secondary encapsulation by using the location identifier of the first UE, to obtain a request packet for querying a media access control (MAC) address of the first UE, by using a packet sending unit Sending the request message to the first UE, to obtain the MAC address of the first UE;
报文封装单元,还用于通过第三服务器将第一 UE的 MAC地址发送给第 三 UE。 报文接收单元, 还用于接收第一 UE返回的响应报文, 响应报文中携带 有目标 UE的 MAC地址。 The packet encapsulating unit is further configured to send the MAC address of the first UE to the third UE by using the third server. The message receiving unit is further configured to receive a response message returned by the first UE, where the response message carries the MAC address of the target UE.
查询单元, 还用于在报文接收单元接收到第一 UE返回的响应报文后, 根据第三 UE的身份标识向第三服务器查询第三 UE的位置标识;  The Querying Unit is further configured to: after the message receiving unit receives the response message returned by the first UE, query the third server for the location identifier of the third UE according to the identity identifier of the third UE;
报文封装单元是根据第三 UE的位置标识, 对响应报文进行二次封装, 通过报文发送单元将二次封装后的响应报文发送给第三服务器。 或者, 报文 封装单元根据解封装单元在解封装釆用第一 UE的位置标识二次封装后的请 求报文时得到的第三 UE的位置标识, 对响应报文进行二次封装, 通过报文 发送单元将二次封装后的响应报文发送给第三服务器。  The packet encapsulating unit is configured to perform secondary encapsulation on the response packet according to the location identifier of the third UE, and send the response packet after the secondary encapsulation to the third server by using the packet sending unit. Or the packet encapsulating unit performs secondary encapsulation on the response packet according to the location identifier of the third UE obtained by decapsulating the request packet after the decapsulation of the first UE by using the location of the first UE. The text sending unit sends the secondary encapsulated response message to the third server.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。  Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed 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 are fabricated as a single integrated circuit module. Thus, the invention is not limited to any particular 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.
工业实用性 本发明实施例通过将 ARP广播请求报文转发到目的终端所在的广播域, 实现获取目的终端的 MAC地址, 从而高效、 快速地实现获取不在统一广播 域中的 UE的 MAC地址。 Industrial Applicability In the embodiment of the present invention, the ARP broadcast request packet is forwarded to the broadcast domain where the destination terminal is located, so that the MAC address of the destination terminal is obtained, so that the MAC address of the UE that is not in the unified broadcast domain is efficiently and quickly obtained.

Claims

权 利 要 求 书 Claim
1、 一种地址解析方法, 包括: 1. An address resolution method, including:
源用户设备 (UE)所属的源接入服务器 (ASR)在接收到源 UE的地址解析协 议 (ARP)广播请求报文后, 釆用目标 UE的位置标识对所述 ARP广播请求报 文进行二次封装, 并将二次封装后的 ARP广播请求报文发送给目标 UE所属 的目标 ASR;  After receiving the address resolution protocol (ARP) broadcast request message of the source UE, the source access server (ASR) to which the source user equipment (UE) belongs performs the second ARP broadcast request message by using the location identifier of the target UE. Sub-encapsulation, and the secondary encapsulated ARP broadcast request message is sent to the target ASR to which the target UE belongs;
所述目标 ASR解封装接收到的所述二次封装后的 ARP广播请求报文, 将得到的 ARP广播请求报文发送给所述目标 UE, 以获取该目标 UE的媒体 接入控制 (MAC)地址, 并通过所述源 ASR将所述目标 UE的 MAC地址发送 给所述源 UE。  The target ASR decapsulates the received secondary encapsulated ARP broadcast request message, and sends the obtained ARP broadcast request message to the target UE to obtain the media access control (MAC) of the target UE. Addressing, and transmitting, by the source ASR, the MAC address of the target UE to the source UE.
2、 如权利要求 1所述的方法, 其中, 还包括: 2. The method according to claim 1, further comprising:
在所述 ARP广播请求报文中携带有所述目标 UE的身份标识;  Carrying the identity identifier of the target UE in the ARP broadcast request message;
所述源 ASR在接收到所述 ARP广播请求报文后, 解析所述 ARP广播请 求报文获取所述目标 UE的身份标识,根据所述目标 UE的身份标识向归属位 置寄存器查询所述目标 UE的位置标识,并执行所述釆用目标 UE的位置标识 对所述 ARP广播请求>¾文进行二次封装。  After receiving the ARP broadcast request message, the source ASR parses the ARP broadcast request message to obtain the identity identifier of the target UE, and queries the home location register for the target UE according to the identity identifier of the target UE. The location identifier, and performing the location identifier of the target UE to perform secondary encapsulation on the ARP broadcast request>3⁄4.
3、 如权利要求 1所述的方法, 其中, 还包括: 3. The method according to claim 1, further comprising:
所述目标 ASR将解封装得到的 ARP广播请求报文发送给所述目标 UE 后,接收所述目标 UE返回的 ARP响应报文,所述 ARP响应报文中携带有所 述目标 UE的 MAC地址。  After the target ASR sends the decapsulated ARP broadcast request message to the target UE, it receives an ARP response packet returned by the target UE, where the ARP response packet carries the MAC address of the target UE. .
4、 如权利要求 3所述的方法, 其中, 还包括: 4. The method of claim 3, further comprising:
所述目标 ASR在接收到所述目标 UE返回的 ARP响应报文后,根据所述 源 UE的身份标识向归属位置寄存器查询所述源 UE的位置标识,根据所述源 UE的位置标识,通过所述源 ASR将所述目标 UE的 MAC地址发送给所述源 UE。  After receiving the ARP response packet returned by the target UE, the target ASR queries the home location register for the location identifier of the source UE according to the identity identifier of the source UE, and passes the location identifier of the source UE. The source ASR sends the MAC address of the target UE to the source UE.
5、 如权利要求 3所述的方法, 其中, 还包括: 所述目标 ASR在接收到所述目标 UE返回的 ARP响应报文后,根据在解 封装所述二次封装后的 ARP广播请求报文时得到的所述源 UE的位置标识, 通过所述源 ASR将所述目标 UE的 MAC地址发送给所述源 UE。 5. The method of claim 3, further comprising: After receiving the ARP response packet returned by the target UE, the target ASR passes the source identifier of the source UE obtained by decapsulating the secondary encapsulated ARP broadcast request packet, and passes the source The ASR sends the MAC address of the target UE to the source UE.
6、 如权利要求 4或 5所述的方法, 其中, 所述目标 ASR根据所述源 UE 的位置标识 ,通过所述源 ASR将所述目标 UE的 MAC地址发送给所述源 UE 包括: The method according to claim 4 or 5, wherein the target ASR sends the MAC address of the target UE to the source UE by using the source ASR according to the location identifier of the source UE, including:
所述目标 ASR根据所述源 UE的位置标识对所述 ARP响应 ^艮文进行二次 封装, 将二次封装后的 ARP响应报文发送给所述源 ASR;  The target ASR performs a second encapsulation on the ARP response according to the location identifier of the source UE, and sends the second encapsulated ARP response packet to the source ASR.
所述源 ASR解封装接收到的所述二次封装后的 ARP响应报文 ,得到 ARP 响应报文, 将所述 ARP响应报文发送给所述源 UE。  The source ASR decapsulates the received ARP response packet, and obtains an ARP response packet, and sends the ARP response packet to the source UE.
7、 如权利要求 2所述的方法, 其中, 还包括: 7. The method of claim 2, further comprising:
所述源 ASR在查询到所述目标 UE的位置标识后, 检查所述目标 UE的 位置标识与自身的地址是否相同,如果相同, 则源 UE与目标 UE属于相同的 广播域, 丟弃所述目标 UE的位置标识。  After the source ASR queries the location identifier of the target UE, it checks whether the location identifier of the target UE is the same as the address of the target UE. If they are the same, the source UE and the target UE belong to the same broadcast domain, and discard the The location identifier of the target UE.
8、 一种信息传输方法, 包括: 8. An information transmission method, comprising:
第一用户设备 (UE)所属的第一服务器在接收到所述第一 UE查询第二 UE 的媒体接入控制 (MAC)地址的请求报文后, 釆用所述第二 UE 的位置标识对 所述请求报文进行二次封装, 将二次封装后的请求报文发送给所述第二 UE 所属的第二服务器, 并解封装接收到的所述第二服务器返回的报文, 得到响 应报文, 将所述响应报文发送给所述第一 UE。  After receiving the request message that the first UE queries the media access control (MAC) address of the second UE, the first server to which the first user equipment (UE) belongs, uses the location identifier of the second UE Transmitting the request packet to the second server to which the second UE belongs, and decapsulating the received packet returned by the second server, and obtaining a response. Sending, by the message, the response message to the first UE.
9、 如权利要求 8所述的方法, 其中, 9. The method of claim 8 wherein
在所述请求报文中携带有所述第二 UE的身份标识;  Carrying the identity identifier of the second UE in the request packet;
所述第一服务器在接收到所述请求报文后, 解析所述请求报文获取所述 第二 UE的身份标识,根据所述第二 UE的身份标识向第三服务器查询所述第 二 UE的位置标识,执行所述釆用所述第二 UE的位置标识对所述请求报文进 行二次封装, 将二次封装后的请求报文发送给所述第第二服务器。 After receiving the request message, the first server parses the request message to obtain the identity of the second UE, and queries the third server according to the identity of the second UE to query the second UE. The location identifier is configured to perform secondary encapsulation on the request packet by using the location identifier of the second UE, and send the second encapsulated request packet to the second server.
10、 如权利要求 9所述的方法, 其中, 10. The method of claim 9, wherein
所述第一服务器在查询到所述第二 UE的位置标识后,检查所述第二 UE 的位置标识与自身的地址是否相同,如果相同, 则第一 UE与第二 UE属于相 同的广播域, 丟弃所述第二 UE的位置标识。  After the first server queries the location identifier of the second UE, it is checked whether the location identifier of the second UE is the same as the address of the second UE. If they are the same, the first UE and the second UE belong to the same broadcast domain. And discarding the location identifier of the second UE.
11、 一种信息传输方法, 包括: 11. A method of information transmission, comprising:
第二用户设备(UE )所属的第二服务器接收第一 UE所属的第一服务器 发送的釆用所述第二 UE的位置标识二次封装后的请求报文, 对所述二次封 装后的请求报文进行解封装, 得到查询所述第二 UE 的媒体接入控制 (MAC) 地址的请求报文, 将所述请求报文发送给所述第二 UE, 以获取所述第二 UE 的 MAC地址, 并通过所述第一服务器将所述第二 UE的 MAC地址发送给所 述第一 UE。  The second server to which the second user equipment (UE) belongs receives the request packet sent by the first server to which the first UE belongs, and is encapsulated by the location identifier of the second UE, after the secondary encapsulation And requesting the packet to be decapsulated, and obtaining a request message for querying a media access control (MAC) address of the second UE, and sending the request packet to the second UE, to obtain the second UE. a MAC address, and sending, by the first server, a MAC address of the second UE to the first UE.
12、 如权利要求 11所述的方法, 其中, 12. The method of claim 11 wherein
所述第二服务器将所述请求报文发送给所述第二 UE后, 接收所述第二 UE返回的响应报文, 所述响应报文中携带有所述目标 UE的 MAC地址。  After the second server sends the request packet to the second UE, it receives a response packet returned by the second UE, where the response packet carries a MAC address of the target UE.
13、 如权利要求 12所述的方法, 其中, 13. The method of claim 12, wherein
所述第二服务器在接收到所述第二 UE返回的响应报文后, 根据所述第 一 UE的身份标识向第三服务器查询所述第一 UE的位置标识,根据所述第一 UE的位置标识, 通过所述第一服务器将所述第二 UE的 MAC地址发送给所 述第一 UE。  After receiving the response message returned by the second UE, the second server queries the third server for the location identifier of the first UE according to the identity identifier of the first UE, according to the first UE a location identifier, where the MAC address of the second UE is sent by the first server to the first UE.
14、 如权利要求 12所述的方法, 其中, 14. The method of claim 12, wherein
所述第二服务器在接收到所述第二 UE返回的响应报文后, 根据在解封 装所述二次封装后的请求报文时得到的所述第一 UE的位置标识, 通过所述 第一服务器将所述第二 UE的 MAC地址发送给所述第一 UE。  After receiving the response message returned by the second UE, the second server, according to the location identifier of the first UE obtained when decapsulating the request packet after the secondary encapsulation, passes the A server sends the MAC address of the second UE to the first UE.
15、 如权利要求 13或 14所述的方法, 其中, 所述第二服务器通过所述 第一服务器将所述第二 UE的 MAC地址发送给所述第一 UE包括: The method according to claim 13 or 14, wherein the sending, by the second server, the MAC address of the second UE to the first UE by using the first server includes:
所述第二服务器根据所述第一 UE的位置标识对所述响应报文进行二次 封装, 将二次封装后的响应报文发送给所述第一服务器。 The second server performs the response packet twice according to the location identifier of the first UE. Encapsulating, the secondary encapsulated response message is sent to the first server.
16、 一种地址解析装置, 包括: 报文接收单元、 报文封装单元、 报文发 送单元和解封装单元, 其中: An address resolution apparatus, comprising: a message receiving unit, a message encapsulating unit, a message sending unit, and a decapsulating unit, wherein:
所述报文接收单元设置为: 接收第一用户设备 (UE)发送的查询第二 UE 的媒体接入控制 (MAC)地址的请求报文;  The packet receiving unit is configured to: receive a request message sent by the first user equipment (UE) for querying a media access control (MAC) address of the second UE;
所述报文封装单元设置为:在所述报文接收单元接收到所述请求报文后, 釆用所述第二 UE的位置标识对所述请求报文进行二次封装, 通过所述报文 发送单元将二次封装后的请求报文发送给所述第二 UE所属的第二服务器; 所述解封装单元设置为: 解封装所述报文接收单元接收到的所述第二服 务器返回的报文, 得到响应报文, 通过所述报文发送单元将所述响应报文发 送给所述第一 UE。  The packet encapsulating unit is configured to: after the packet receiving unit receives the request message, use the location identifier of the second UE to perform secondary encapsulation on the request packet, and pass the report The message sending unit sends the second encapsulated request message to the second server to which the second UE belongs; the decapsulation unit is configured to: decapsulate the second server return received by the message receiving unit And sending a response message to the first UE by using the message sending unit.
17、 如权利要求 16所述的装置, 其中, 还包括查询单元; 17. The apparatus of claim 16, further comprising a query unit;
所述查询单元设置为: 在所述报文接收单元接收到所述请求报文后, 解 析所述请求报文获取所述第二 UE的身份标识,根据所述第二 UE的身份标识 向第三服务器查询所述第二 UE的位置标识,将所述第二 UE的位置标识发送 给所述报文封装单元。  The querying unit is configured to: after the packet receiving unit receives the request message, parse the request message to obtain an identity of the second UE, according to the identity of the second UE The third server queries the location identifier of the second UE, and sends the location identifier of the second UE to the packet encapsulation unit.
18、 如权利要求 17所述的装置, 其中, 还包括标识检查单元; 所述标识检查单元设置为: 在所述查询单元查询到所述第二 UE的位置 标识后, 检查所述第二 UE的位置标识与自身的地址是否相同, 如果相同, 则第一 UE与第二 UE属于相同的广播域, 通知所述查询单元丟弃所述第二 UE的位置标识。 The device according to claim 17, further comprising an identifier checking unit, wherein the identifier checking unit is configured to: after the query unit queries the location identifier of the second UE, check the second UE The location identifier is the same as the address of the second UE. If the same, the first UE and the second UE belong to the same broadcast domain, and the query unit is notified to discard the location identifier of the second UE.
19、 如权利要求 16所述的装置, 其中, 19. The apparatus according to claim 16, wherein
所述报文接收单元还设置为: 接收第三 UE所属的第三服务器发送的釆 用所述第一 UE的位置标识二次封装后的请求报文;  The packet receiving unit is further configured to: receive a request packet that is sent by the third server to which the third UE belongs, and is secondarily encapsulated by using the location identifier of the first UE;
所述解封装单元还设置为: 解封装所述釆用所述第一 UE的位置标识二 次封装后的请求报文, 得到查询所述第一 UE 的媒体接入控制 (MAC)地址的 请求报文,通过所述报文发送单元将所述请求报文发送给所述第一 UE, 以获 取所述第一 UE的 MAC地址; The decapsulating unit is further configured to: decapsulate the request packet after the secondary encapsulation by using the location identifier of the first UE, to obtain a medium access control (MAC) address of the first UE. And requesting the message, the message sending unit sends the request message to the first UE, to obtain the MAC address of the first UE;
所述报文封装单元还设置为: 通过所述第三服务器将所述第一 UE 的 MAC地址发送给所述第三 UE。  The packet encapsulating unit is further configured to: send, by the third server, a MAC address of the first UE to the third UE.
20、 如权利要求 19所述的装置, 其中, 20. The apparatus according to claim 19, wherein
所述报文接收单元还设置为: 接收所述第一 UE返回的响应报文, 所述 响应报文中携带有所述目标 UE的 MAC地址。  The packet receiving unit is further configured to: receive a response packet returned by the first UE, where the response packet carries a MAC address of the target UE.
21、 如权利要求 20所述的装置, 其中, 21. The apparatus according to claim 20, wherein
所述查询单元还设置为: 在所述报文接收单元接收到所述第一 UE返回 的响应报文后,根据所述第三 UE的身份标识向第三服务器查询所述第三 UE 的位置标识;  The querying unit is further configured to: after the message receiving unit receives the response message returned by the first UE, query the third server for the location of the third UE according to the identity identifier of the third UE Identification
所述报文封装单元是设置为: 根据所述第三 UE的位置标识, 通过所述 第三服务器将所述第一 UE的 MAC地址发送给所述第三 UE。  The packet encapsulating unit is configured to: send, according to the location identifier of the third UE, the MAC address of the first UE to the third UE by using the third server.
22、 如权利要求 20所述的装置, 其中, 22. The apparatus according to claim 20, wherein
所述 >¾文封装单元是设置为: 根据所述解封装单元在解封装所述釆用所 述第一 UE的位置标识二次封装后的请求报文时得到的所述第三 UE的位置标 识, 通过所述第三服务器将所述第一 UE的 MAC地址发送给所述第三 UE。  The packet encapsulating unit is configured to: locate, according to the decapsulating unit, the third UE obtained by decapsulating the request packet after the secondary encapsulation by using the location of the first UE And sending, by the third server, the MAC address of the first UE to the third UE.
23、 如权利要求 21或 22所述的装置, 其中, 23. The apparatus according to claim 21 or 22, wherein
所述报文封装单元是设置为: 根据所述第三 UE的位置标识对所述响应 报文进行二次封装, 通过所述报文发送单元将二次封装后的响应报文发送给 所述第三服务器。  The packet encapsulating unit is configured to: perform secondary encapsulation on the response packet according to the location identifier of the third UE, and send, by using the packet sending unit, the secondary encapsulated response packet to the Third server.
PCT/CN2012/076254 2011-08-22 2012-05-30 Address resolution method and device, and information transmission method WO2013026299A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110241640.8 2011-08-22
CN201110241640.8A CN102957755B (en) 2011-08-22 2011-08-22 A kind of address resolution method, device and information transferring method

Publications (1)

Publication Number Publication Date
WO2013026299A1 true WO2013026299A1 (en) 2013-02-28

Family

ID=47745890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/076254 WO2013026299A1 (en) 2011-08-22 2012-05-30 Address resolution method and device, and information transmission method

Country Status (2)

Country Link
CN (1) CN102957755B (en)
WO (1) WO2013026299A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841028A (en) * 2014-03-24 2014-06-04 杭州华三通信技术有限公司 Method and device for forwarding messages

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9225681B2 (en) * 2013-09-17 2015-12-29 Cisco Technology, Inc. Enabling mobile applications to acquire a MAC address for obtaining location information
CN103647856B (en) * 2013-12-23 2017-09-08 成都西加云杉科技有限公司 APP obtains the method and system of the MAC Address of local terminal
CN104219240B (en) * 2014-09-03 2018-01-09 新华三技术有限公司 A kind of main frame learning method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531262A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Network communication method for carrying out load division
CN101098292A (en) * 2006-06-29 2008-01-02 中兴通讯股份有限公司 Method for reducing user address analysis protocol broadcast on access equipment
CN102098349A (en) * 2009-12-09 2011-06-15 中兴通讯股份有限公司 Address mapping method and access service node
CN102123182A (en) * 2011-04-09 2011-07-13 山东师范大学 Method for separating host identifier (HID) mark from locator based on IPV6 (Internet Protocol Version 6) address

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1177439C (en) * 2002-03-08 2004-11-24 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application
CN101119252B (en) * 2006-08-01 2010-05-19 华为技术有限公司 Access network system, access device, ARP proxy and IP bridging connection forwarding method
CN100550857C (en) * 2007-04-20 2009-10-14 华为技术有限公司 Realize method, system and the access device of intercommunication of two layers of local specific service
CN102045693B (en) * 2009-10-16 2015-05-20 中兴通讯股份有限公司 Information reporting/notifying, switching and data forwarding method, AN and ILR

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531262A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Network communication method for carrying out load division
CN101098292A (en) * 2006-06-29 2008-01-02 中兴通讯股份有限公司 Method for reducing user address analysis protocol broadcast on access equipment
CN102098349A (en) * 2009-12-09 2011-06-15 中兴通讯股份有限公司 Address mapping method and access service node
CN102123182A (en) * 2011-04-09 2011-07-13 山东师范大学 Method for separating host identifier (HID) mark from locator based on IPV6 (Internet Protocol Version 6) address

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841028A (en) * 2014-03-24 2014-06-04 杭州华三通信技术有限公司 Method and device for forwarding messages
CN103841028B (en) * 2014-03-24 2017-02-08 杭州华三通信技术有限公司 Method and device for forwarding messages

Also Published As

Publication number Publication date
CN102957755A (en) 2013-03-06
CN102957755B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US8830897B2 (en) Network handover method, communications system, and relevant devices
JP6085891B2 (en) Access control method and system, and access point
US10798779B2 (en) Enhanced CoAP group communications with selective responses
WO2015003566A1 (en) Method, device and system for transmitting packet in multicast domain name system
WO2011137792A1 (en) Method and apparatus for cooperation between push devices
JP2002335583A5 (en)
KR101589239B1 (en) Method and apparatus for packet call setup
WO2011069399A1 (en) Address mapping method and access service node
WO2011035710A1 (en) User-oriented communication method, route registration method and device and communication system
WO2008080326A1 (en) A method, system and device for transmitting media independent handover information
WO2011032462A1 (en) Method for data transmission and receiving, system and router thereof
US10110554B2 (en) Method and apparatus for supporting mobility of user equipment
WO2011131097A1 (en) Data message processing method, system and access service node
WO2011032449A1 (en) Method and system for implementing network intercommunication
WO2012130128A1 (en) Method, device, and system for implementing network identifier conversion
WO2013026299A1 (en) Address resolution method and device, and information transmission method
US8705471B2 (en) Method and system for implementing ID/locator mapping
WO2014110737A1 (en) Method, device, and system for configuring device in network
WO2011032487A1 (en) Method for updating local mapping table of access router and access router thereof
WO2011032417A1 (en) Method and system for initiating forwarding of communicaiton, information and data message and for routing configuration
WO2011032478A1 (en) Method, device and terminal for obtaining terminal identifier
WO2011120365A1 (en) Method and system for establishing connection between multi-homed terminals
WO2009124444A1 (en) Method and apparatus for processing the arp request message
CN107547691B (en) Address resolution protocol message proxy method and device
WO2016074354A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway

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

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

Country of ref document: EP

Kind code of ref document: A1