WO2012110004A1 - Message forwarding method and device based on lte-lan - Google Patents

Message forwarding method and device based on lte-lan Download PDF

Info

Publication number
WO2012110004A1
WO2012110004A1 PCT/CN2012/071270 CN2012071270W WO2012110004A1 WO 2012110004 A1 WO2012110004 A1 WO 2012110004A1 CN 2012071270 W CN2012071270 W CN 2012071270W WO 2012110004 A1 WO2012110004 A1 WO 2012110004A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
mac address
data packet
network element
address
Prior art date
Application number
PCT/CN2012/071270
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 WO2012110004A1 publication Critical patent/WO2012110004A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • LTE-LAN-based message forwarding method and device The application is filed on February 18, 2012, and the application number is 201110040584.1.
  • the priority of the Chinese patent application based on the LTE-LAN-based packet forwarding method and apparatus is hereby incorporated by reference in its entirety.
  • the present invention relates to the field of communications, and in particular, to a packet forwarding method and apparatus based on LTE-LAN.
  • BACKGROUND With the development of communication technologies, the requirements for communication network service shields are increasing.
  • LTE Long Term Evolution-LAN, Long Term Evolution Local Network.
  • an LTE-LAN-AP (a wireless access point in an LTE-LAN system) provides a wireless data link for a terminal by using an existing LTE underlay transmission and access technology, thereby The terminal provides communication services with QoS guarantee.
  • Both the LTE-LAN-AP and the terminal implement their respective functions based on the underlying communication technology of the LTE mobile communication system, that is, by adding new management and transmission scheduling functions to realize interconnection and interworking between the local wireless network and the terminals in the local network, and through transformation
  • the network architecture and the high-layer protocol of the existing LTE system realize the IP access of the terminal to the external network without being processed by the carrier core network, that is, the LTE-LAN-AP of the local wireless network can pass through the corresponding interface without going through the core network.
  • Direct access to the external network such a flat network structure helps the terminal data to be processed and forwarded quickly, reducing the cost of network communication and improving efficiency.
  • the air interface between the terminal and the LTE-LAN-AP (ie, the Uu interface) is trunked based on the air interface in the LTE system, and the LTE-LAN-AP is a Layer 2 device without forwarding IP.
  • the capability of data messages therefore, in order to achieve communication between the terminal and the external network, between the terminal and the terminal, a two-layer addressing addressing mechanism suitable for the LTE-LAN system is needed.
  • the addressing addressing mechanism used by the Layer 2 at the air interface is to use RNTI (Radio Network Temporary Identifier) to identify and distinguish different terminals in a cell.
  • RNTI Radio Network Temporary Identifier
  • a C-RNTI Cell Radio Network Temporary Identity
  • the base station needs to perform radio resource scheduling based on the C-RNTI of the terminal and related information, such as radio interface configuration parameters, terminal capabilities, and the like, for resources used for data transmission.
  • the allocation enables the terminal and the base station to transmit and receive data using the agreed radio resources. Since the communication between the terminals in the service area of a base station is both the station and the terminal, it is not required in the MAC packet transmitted by the actual air interface. The identity of the terminal is explicitly given.
  • the communication data between the terminal and the PDN GW is based on the GTP-U (General Packet Radio Service Tunneling Protocol-User Plane) protocol.
  • the tunnel is implemented.
  • the IP data packet communicated between the terminal and the network, and the mapping between the LTE-air interface format and the GTP-U data format is completed at the base station; between the base station and the PDN GW, the GTP-U tunnel is used; in the PDN GW
  • the PDN GW in the uplink direction of the Packet Data Network Gateway completes the decapsulation of the GTP-U data format to the IP data packet, and encapsulates the IP data packet into the GTP-U format in the downlink direction.
  • the address addressing mechanism used is a Layer 2 addressing technology, that is, the MAC address is uniquely identified in the Layer 2 network. entity.
  • the MAC address of the sender and the receiver must be clearly specified, that is, the source MAC address of the sender of the message and the destination MAC address of the receiver of the message.
  • the address addressing mechanism used is a three-layer addressing technology, that is, the interworking of devices based on IP addresses. At the head of the IP 4 message, the sender's IP address and the recipient's IP address need to be given.
  • the address addressing mechanism used is based on the air interface and uplink interface, and the 802.3 network is used. Addressing addressing mechanism.
  • the MAC address on the air interface also needs to clearly specify the MAC address of the sender and the receiver, that is, the source MAC address of the sender of the message and the destination MAC address of the receiver of the message.
  • the WLAN has the same address format as the MAC address format of the air interface and the MAC address used in the 802.3 network.
  • LTE-LAN-AP the second layer of the uplink interface (ie, Iu-r interface) of LTE-LAN-AP is based on the 802.3 protocol.
  • LTE-LAN-AP is a Layer 2 device and does not have IP-based data forwarding capability. That is, LTE-LAN-AP positioning uses layer 2 to implement data packet forwarding without the function of a router. Therefore, LTE-LAN-AP is not applicable to Layer 3 addressing technology, and LTE-LAN-AP and LTE-LAN-GW (gateways in LTE-LANT systems) cannot use GTP-U tunnels. Mapping mechanism.
  • the air interface of the LTE-LAN cannot directly use the layer 2 addressing technology in the WLAN; and the air interface in the LTE-LAN is
  • the existing dedicated bearer mechanism is designed and implemented in a large amount of cylinders. For example, only one DRB (Data Radio Bearer) can be designed for one terminal.
  • DRB Data Radio Bearer
  • LTE-LAN communication is mainly between the terminal and the LTE-LAN-AP, it is not suitable to introduce a Layer 2 addressing technology based on or similar to the 802.3 network.
  • LTE-LAN-UE and LTE-LAN-GW can support the transmission and reception of three layers of data, but
  • LTE-LAN-AP only supports the forwarding of Layer 2 data packets. Therefore, it is necessary to redesign an adaptive Layer 2 addressing mechanism for LTE-LAN systems to implement LTE-LAN-AP and terminals (ie, LTE-LAN-UE). ), and interworking between LTE-LAN-GWs.
  • LTE-LAN-AP only supports the forwarding of Layer 2 data packets. Therefore, it is necessary to redesign an adaptive Layer 2 addressing mechanism for LTE-LAN systems to implement LTE-LAN-AP and terminals (ie, LTE-LAN-UE). ), and interworking between LTE-LAN-GWs.
  • LTE-LAN-AP only supports the forwarding of Layer 2 data packets. Therefore, it is necessary to redesign an adaptive Layer 2 addressing mechanism for LTE-LAN systems to implement LTE-LAN-AP and terminals (ie, LTE-LAN-UE). ), and interworking between LTE-LAN-GWs.
  • LTE-LAN-GWs SUMMARY OF THE INVENTION
  • the embodiments of the present invention provide
  • a method for processing data based on a long-term evolution local network LTE-LAN including:
  • the AP accesses the first data packet sent by the first network element.
  • the AP obtains the identifier information of the user terminal UE, and obtains the second layer identifier information for sending the second data packet according to the identifier information of the UE.
  • the AP generates a corresponding second data packet based on the first data packet.
  • the AP sends the second data to the second network element according to the layer 2 identification information.
  • a device for processing data based on a long-term evolution local network LTE-LAN comprising:
  • a receiving unit configured to receive first data sent by the first network element
  • An obtaining unit configured to obtain identification information of the UE of the user terminal, and acquire, according to the identifier information of the UE, Layer 2 identifier information for sending the second data.
  • a generating unit configured to generate a corresponding second data based on the first data
  • a sending unit configured to send the second data to the second network element according to the second layer identification information.
  • the identifier information of the UE is obtained according to the first data packet received by the first network element, and the second layer identifier information corresponding to the identifier information of the UE is obtained, and then based on the second layer identifier information and the second
  • the first data element and the second network element may be the UE and the GW, respectively, and the second data element may be sent to the second network element, where the data may be sent to the second network element, where the first network element and the second network element may be the UE and the GW, respectively.
  • GW and UE, respectively, can also be GW.
  • FIG. 1 is a schematic structural diagram of an LTE-LAN system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a function of an LTE-LAN-AP according to an embodiment of the present invention
  • FIG. 3 is a flowchart of processing data of LTE-LAN-AP in the embodiment of the present invention.
  • AP LTE-LAN-AP
  • UE terminal in LTE-LAN system
  • GW LTE-LAN-GW
  • the AP receives the first data sent by the first network element, determines the UE that sends the data, and the corresponding identifier, and according to the identifier of the UE.
  • the second data packet is sent to the second network element.
  • the first network element may be a UE or a GW
  • the second network element may be a GW or a UE.
  • a mapping relationship between the UE and the 802.3 protocol-based MAC address allocated to the UE is preset in the AP, and the mapping relationship may be specifically determined by the identifier of the UE and allocated to the UE.
  • the mapping relationship can be set to the form of Table 1:
  • the mapping relationship between the C-RNTI value of the UE and the 802.3 protocol-based MAC address allocated by the AP to the UE is described. Further, the mapping between the IP address of the UE and the foregoing is also set.
  • the MAC address of the 802.3 protocol allocated by the UE has a total of 6 bytes. Generally, the first 3 bytes of the MAC address are used to identify the vendor, and the last 3 bytes are allocated by the UE manufacturer. Preferably, in the present invention, the address of the actual Ethernet interface of the AP can be used as the first 3 bytes, and the last 3 bytes are allocated by the AP. For example, the UE can perform the C-RNTI value on the air interface.
  • the C-RNTI can be placed in two bytes of the last three bytes, and the remaining one byte can be freely allocated. Preferably, it can be set to the ID of the DRB of the UE, or, Is the specified field in the identity of the AP, and so on.
  • the UE can report the existing MAC address based on the 802.3 protocol to the AP in the signaling message.
  • the mapping between the UE and the UE based on the 802.3 protocol-based MAC address is saved in the form of Table 1.
  • the IP address of the UE may also be recorded in Table 1 to clarify the mapping relationship between the MAC address of the UE and the UE based on the 802.3 protocol and the IP address of the UE, so as to facilitate the subsequent communication process. This The points will be described in the subsequent embodiments.
  • an LTE-LAN system includes an LTE-LAN-UE (a cylinder is called a UE), an LTE-LAN-AP (a cylinder is called an AP), and an LTE-LAN-GW (a nickname).
  • GW a nickname
  • the Uu interface is used for communication between the UE and the AP, and the AP and the GW communicate according to the 802.3 protocol.
  • the interface is referred to as an Iu-r interface.
  • the AP includes a receiving unit 20, an obtaining unit 21, a generating unit 22, and a sending unit 23, where
  • a receiving unit configured to receive first data sent by the first network element
  • An obtaining unit configured to obtain the identifier information of the UE, and obtain, according to the identifier information of the UE, the layer 2 identifier information used to generate the second data.
  • a generating unit configured to generate a corresponding second data based on the first data
  • a sending unit configured to send the second data to the second network element according to the second layer identification information.
  • the method further includes a setting unit 24, configured to set a MAC address of the UE for the UE, and set a C-RNTI of the UE and a MAC address of the UE, and between the IP addresses of the UE. Mapping relationship.
  • the obtaining unit may obtain the identifier information of the UE according to the first data packet, or may obtain the data in the other sending and receiving process.
  • Step 300 The first data packet sent by the first network element is received.
  • the transmission of the data is divided into two directions:
  • the UE sends an uplink message to the ,, and after receiving, forwards the uplink message to the GW, and the GW performs three layers of processing.
  • Downstream direction The GW sends a downlink packet to the ,, and then forwards the downlink packet to the UE after receiving.
  • the received first data packet may be either an uplink packet or a downlink packet
  • the first network element that sends the first data packet may be a UE or a GW.
  • Step 310 The AP obtains the identifier information of the UE, and obtains the second layer identifier information used to send the second data packet according to the identifier information of the UE.
  • the first data packet sent by the UE or the first data packet sent by the GW may include the identifier information of the UE, where the identifier information may be the C-RNTI of the UE, or may be the UE.
  • the MAC address may also be the IP address of the UE.
  • the AP may obtain the identifier information of the UE according to the received first data packet, and the AP may obtain the identifier information of the UE by using other methods, such as the sending and receiving process, and then the AP according to Table 1
  • the mapping relationship is set to obtain the layer 2 identifier information.
  • the layer 2 identifier information may be the MAC address of the UE or the C-RNTI of the UE.
  • the second layer of the second layer identification information is lower than the network layer.
  • Step 320 The AP generates a corresponding second data packet based on the received first data packet.
  • the AP generates the second data packet based on the first data packet, so that the first data is encapsulated into the second layer data according to the second layer identifier information, so that the AP can be used to avoid Three-layer data processing is performed on the first data.
  • Step 330 The AP sends the generated second data packet to the second network element according to the layer 2 identification information.
  • the second data packet generated by the AP may be an uplink packet or a downlink packet
  • the second network element may be a GW or a UE.
  • the first network element is the UE
  • the second network element is the GW
  • the first data is the uplink data
  • the second data is the uplink data.
  • Step 3001 The AP receives the uplink message a sent by the UE.
  • the MAC frame format used by the AP to receive the uplink information sent by the UE to the AP based on the LTE-LAN air interface is as shown in Table 2:
  • the MAC header is a MAC header implementation based on the LTE air interface, and needs to be defined in the LTE-LAN system. However, the present invention proposes that address information or identification information of the transmitting and receiving parties is not included therein;
  • An SDU Service Data Unit for recording IP data sent by the UE
  • PADDING Populate the field.
  • Step 3011 The AP determines, according to the uplink packet a sent by the UE, the identifier information of the UE, that is, the C-RNTI of the UE, and obtains the MAC address of the UE according to the C-RNTI, where the MAC address is used to generate and forward the GW to the GW.
  • the second layer identification information of the uplink 4 text b The second layer identification information of the uplink 4 text b.
  • the C-RNTI of the UE may be obtained by the AP implicitly when the uplink packet a is sent, that is, before the UE sends the uplink message a, the system performs resource scheduling for the UE.
  • the radio bearer resource for carrying the uplink packet a is allocated. Therefore, the AP can know which UE the sender is based on the radio bearer resource used when the UE sends the uplink packet a, that is, the C-RNTI of the transmitting UE can be known.
  • the AP can obtain the MAC address of the UE corresponding to the C-RNTI preset based on the mapping relationship set in Table 1.
  • Step 3021 The AP generates an uplink packet b sent to the GW according to the obtained MAC address of the UE and the uplink packet a sent by the UE.
  • the format of the MAC frame used by the AP for the uplink packet is as shown in Table 3.
  • the MAC frame is The format is based on the 802.3 protocol:
  • the SRC MAC ADDR (Source MAC address), which is usually set to 6 bytes, is used to record the MAC address of the UE, that is, the 802.3 protocol-based MAC address set by the C-RNTI of the corresponding UE determined in step 3011;
  • DEST MAC ADDR destination MAC address
  • destination MAC address usually set to 6 bytes, used to record the MAC address of the GW, which is also compliant with the 802.3 protocol;
  • the AP is usually connected to a GW, so the MAC address of the GW can be obtained through pre-configuration or protocol interaction.
  • the AP needs to encapsulate the IP data packet recorded in the SDU field of the uplink packet a DATA field without modification.
  • the packet can be encapsulated by the LLC (Logical Link Control) protocol.
  • LLC Logical Link Control
  • the field length is variable;
  • Preamble (preamble field), usually set to 7 bytes, indicating the beginning of a MAC frame
  • TYPE (type), usually set to 2 bytes, fill in 0x8000, indicating that the DATA field records IP data packets;
  • FCS Framework Check Sequence
  • CRC Cyclic Redundancy Check
  • Step 3031 The AP sends the uplink packet b to the GW.
  • the AP completes the forwarding of the Layer 2 data packet from the UE to the GW, so that the GW can extract the IP data packet and perform the three-layer data processing on the received Layer 2 data packet.
  • step 300 is performed.
  • step 330 The execution of step 330 is as follows:
  • Step 3002 The AP receives the downlink packet a sent by the GW.
  • the MAC frame format of the downlink message a sent by the GW, which is received by the AP based on the uplink interface is as shown in Table 3, where
  • SRC MAC ADDR source MAC address
  • DEST MAC ADDR destination MAC address
  • DATA used to record the IP data of the GW reply.
  • step 3021 For the setting of the remaining fields, refer to step 3021, and details are not described herein.
  • Step 3012 The AP determines, according to the downlink message a sent by the GW, the identifier information of the UE, that is, the MAC address of the UE, and obtains the C-RNTI of the UE according to the MAC address, where the C-RNTI is used to generate and forward to the UE.
  • Downstream • The second layer of identification information of the b.
  • the AP may obtain the C-RNTI of the UE corresponding to the MAC address preset based on the mapping relationship set in Table 1.
  • Step 3022 The AP generates a downlink packet b sent to the UE according to the obtained C-RNTI of the UE and the downlink packet a sent by the GW.
  • the AP may determine the C-RNTI of the UE that receives the downlink B in advance, and may determine to send the downlink packet b according to the C-RNTI of the UE and other related information.
  • the radio bearer resources are used, and the radio bearer resources are scheduled to ensure that the UE can receive the downlink packet b.
  • the format of the MAC frame used by the AP to generate the downlink packet is as shown in Table 2, where
  • the SDU is used to record the IP data sent by the GW, that is, the content recorded in the DATA field in the downlink message a of the GW;
  • step 3000 For the setting of the remaining fields, refer to step 3000, and details are not described here.
  • the IP data packet included in the uplink packet of the UE can only be forwarded to the GW for processing at the AP, and the UE only needs to process the IP data packet returned by the GW.
  • it is not necessary to The 802.3 protocol-based MAC address and the GW's MAC address assigned to the UE are placed as the destination address and the source address in the MAC header field in the downlink packet b as the addressing information.
  • Step 3032 The AP sends the downlink packet b to the UE.
  • the AP completes the forwarding of the Layer 2 data packet from the GW to the UE, so that the UE can extract the IP data packet and perform the three-layer data processing on the received Layer 2 data packet.
  • the first data is an ARP (Address Resolution Protocol) request message
  • the second data is an ARP response message
  • the step 300_step 330 is performed as follows:
  • Step 3003 The AP receives the downlink message C sent by the GW, that is, the ARP request message.
  • an ARP request message usually carries an IP address of a certain network element, and the purpose is to obtain the use of the IP address.
  • the MAC address of the network element of the IP address is used to encapsulate and send the corresponding data packet.
  • the ARP request message sent by the GW carries the IP address of the UE.
  • the AP may obtain the IP address of the UE during the initial access of the UE to the LTE-LAN system. I will not repeat them here.
  • Step 3013 The AP determines the identity information of the UE, that is, the IP address of the UE, based on the ARP request message sent by the GW, and obtains the MAC address of the UE according to the IP address, where the MAC address is used to generate an ARP response message that is returned to the GW.
  • the second layer of identification information The second layer of identification information.
  • the AP may obtain the MAC address of the UE corresponding to the IP address preset according to the mapping relationship set in Table 1.
  • Step 3032 The AP generates an uplink message C, that is, an ARP response message, sent to the GW according to the obtained MAC address of the UE and the ARP request message sent by the UE.
  • the AP encapsulates the obtained MAC address of the UE in the specified field of the uplink packet c, and returns it to the GW as an ARP response message.
  • the AP Unlike the existing PROXY (proxy) AP protocol, in the ARP response message, the AP returns
  • the MAC address of the UE can be directly used as the destination MAC address, according to the MAC frame format as shown in Table 3.
  • the downlink packet is encapsulated, and the downlink packet is transparently transmitted to the UE through the AP, so that the AP does not need to perform Layer 3 data processing on the transparently transmitted downlink packet, so that the AP can communicate with the UE and the GW.
  • the AP receives the first data packet received by the first network element, obtains the identifier information of the UE, and obtains the identifier information of the corresponding UE to obtain the second layer identifier for forwarding the packet. And generating the second data according to the second layer identification information and the first data, and sending the second data to the second network element, where the first network element and the second network element It can be the UE and the GW, or the GW and the UE respectively, or both of them can be the GW. In this way, the problem of forwarding the Layer 2 data in the LTE-L AN system is solved, and the LTE-L AN system is realized.
  • the data communication that is, the interworking between the UE, the AP, and the GW, saves the overhead of the air interface.
  • the AP does not need to have The router function effectively increases the device cost of the AP, and also reduces the cost of network deployment and operation and maintenance of the LTE-LAN system.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer-usable storage interfaces including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The present invention relates to the field of telecommunications, and discloses a message forwarding method and device based on LTE-LAN that enable a layer-two-based addressing technique to realize communication between an AP and other network elements in an LTE-LAN system. The method comprises: an AP receives a first data message from a first network element, acquires the identifying information of a UE and the layer-two identifying information configured corresponding to the identifying information of the UE, generates a second data message on the basis of the first data message, and transmits the second data message to a second network element according to the layer-two identifying information, the first network element and the second network element being a UE and a GW respectively, a GW and a UE respectively, or both GWs. The method thus solves the layer-two data message forwarding problem in LTE-LAN systems, enables communication between UEs, APs, and GWs, and reduces air interface expenditure. Also, an AP has no need for IP-layer forwarding functions, thereby effectively lowering AP manufacturing costs, and reducing the cost of LTE-LAN system network deployment, operation, and maintenance.

Description

基于 LTE-LAN的报文转发方法及装置 本申请要求在 2012年 02月 18日提交中国专利局、 申请号为 201110040584.1、 发明名称为 LTE-LAN-based message forwarding method and device The application is filed on February 18, 2012, and the application number is 201110040584.1.
"基于 LTE-LAN的报文转发方法及装置"的中国专利申请的优先权,其全部内容通过引用结合在 本申请中。 技术领域 本发明涉及通信领域, 特别涉及一种基于 LTE-LAN的报文转发方法及装置。 背景技术 随着通信技术的发展, 对通信网络服务盾量的要求日益提高, 为了在现有网络基础上 进一步提高数据处理效率,降低数据处理成本,设计了一种全新的网络架构,称为 LTE-LAN ( Long Term Evolution-LAN, 长期演进本地网)。 参阅图 1所示, 在 LTE-LAN系统中, LTE-LAN- AP ( LTE-LAN系统中的无线接入点)利用现有 LTE底层传输及接入技术为终端 提供无线数据链路, 从而为终端提供具有 QoS保障的通信服务。 LTE-LAN- AP和终端均基 于 LTE移动通信系统底层通信技术实现其各自的功能, 即通过增加新的管理及传输调度功 能实现本地无线网络的组网与本地网络内终端的互联互通,通过改造现有 LTE系统的网络 架构及高层协议在不经过运营商核心网处理的情况下实现终端对外部网络的 IP接入,即本 地无线网络的 LTE-LAN-AP通过相应接口可以不经过核心网而直接访问外部网络,这样一 种扁平化的网络结构有助于终端数据的快速处理和转发, 降低了网络通信的成本, 提高了 效率。 然而为了降低系统成本, 终端和 LTE-LAN- AP之间的空中接口 (即 Uu接口)基于 LTE系统中的空中接口进行了筒化, 并且 LTE-LAN- AP是二层设备 , 不具有转发 IP数据 报文的能力, 因此, 为了实现终端和外部网络之间、 终端和终端之间的通信, 需要一种适 用于 LTE-LAN系统的二层的编址寻址机制。 The priority of the Chinese patent application based on the LTE-LAN-based packet forwarding method and apparatus is hereby incorporated by reference in its entirety. The present invention relates to the field of communications, and in particular, to a packet forwarding method and apparatus based on LTE-LAN. BACKGROUND With the development of communication technologies, the requirements for communication network service shields are increasing. In order to further improve data processing efficiency and reduce data processing costs on the basis of existing networks, a new network architecture, called LTE, is designed. -LAN (Long Term Evolution-LAN, Long Term Evolution Local Network). Referring to FIG. 1 , in an LTE-LAN system, an LTE-LAN-AP (a wireless access point in an LTE-LAN system) provides a wireless data link for a terminal by using an existing LTE underlay transmission and access technology, thereby The terminal provides communication services with QoS guarantee. Both the LTE-LAN-AP and the terminal implement their respective functions based on the underlying communication technology of the LTE mobile communication system, that is, by adding new management and transmission scheduling functions to realize interconnection and interworking between the local wireless network and the terminals in the local network, and through transformation The network architecture and the high-layer protocol of the existing LTE system realize the IP access of the terminal to the external network without being processed by the carrier core network, that is, the LTE-LAN-AP of the local wireless network can pass through the corresponding interface without going through the core network. Direct access to the external network, such a flat network structure helps the terminal data to be processed and forwarded quickly, reducing the cost of network communication and improving efficiency. However, in order to reduce the system cost, the air interface between the terminal and the LTE-LAN-AP (ie, the Uu interface) is trunked based on the air interface in the LTE system, and the LTE-LAN-AP is a Layer 2 device without forwarding IP. The capability of data messages, therefore, in order to achieve communication between the terminal and the external network, between the terminal and the terminal, a two-layer addressing addressing mechanism suitable for the LTE-LAN system is needed.
现有技术下, 已有的编址寻址机制存在多种, 例如:  In the prior art, there are various addressing addressing mechanisms, such as:
对于 LTE系统而言, 其在空中接口处二层所釆用的编址寻址机制是釆用 RNTI ( Radio Network Temporary Identifier, 无线网络临时标识) 来标识和区分不同终端, 在一个小区 ( cell ) 中, 一个 C-RNTI (小区无线网络临时标识)用于唯一标识一个终端。 当终端需要 发送数据给基站或者基站需要发送数据给终端时, 基站需要基于终端的 C-RNTI和相关信 息如无线接口配置参数、 终端能力等对数据的发送所使用的资源进行无线资源的调度和分 配, 从而实现了终端和基站使用约定的无线资源进行数据的收发。 由于一个基站服务范围 内的终端之间通信双方^ &站和终端, 因此在实际空中接口传输的 MAC报文中, 并不需 要显式地给出终端的标识。 For the LTE system, the addressing addressing mechanism used by the Layer 2 at the air interface is to use RNTI (Radio Network Temporary Identifier) to identify and distinguish different terminals in a cell. In the middle, a C-RNTI (Cell Radio Network Temporary Identity) is used to uniquely identify a terminal. When the terminal needs to send data to the base station or the base station needs to send data to the terminal, the base station needs to perform radio resource scheduling based on the C-RNTI of the terminal and related information, such as radio interface configuration parameters, terminal capabilities, and the like, for resources used for data transmission. The allocation enables the terminal and the base station to transmit and receive data using the agreed radio resources. Since the communication between the terminals in the service area of a base station is both the station and the terminal, it is not required in the MAC packet transmitted by the actual air interface. The identity of the terminal is explicitly given.
在终端和 PDN GW ( Packet Data Network Gateway, 分组数据网络网关 )之间的通信 数据, 釆用基于 GTP-U ( General Packet Radio Service Tunnelling Protocol-User Plane, 通用 分组无线服务隧道协议-用户面)协议的隧道来实现。 终端和网络之间通信的 IP数据报文, 在基站完成 LTE-空中接口格式到 GTP-U数据格式之间的映射; 在基站和 PDN GW之间, 釆用 GTP-U隧道承载; 在 PDN GW ( Packet Data Network Gateway )处上行方向 PDN GW 完成 GTP-U数据格式到 IP数据报文的去封装、 下行方向将 IP数据报文封装为 GTP-U格 式。  The communication data between the terminal and the PDN GW (Packet Data Network Gateway) is based on the GTP-U (General Packet Radio Service Tunneling Protocol-User Plane) protocol. The tunnel is implemented. The IP data packet communicated between the terminal and the network, and the mapping between the LTE-air interface format and the GTP-U data format is completed at the base station; between the base station and the PDN GW, the GTP-U tunnel is used; in the PDN GW The PDN GW in the uplink direction of the Packet Data Network Gateway completes the decapsulation of the GTP-U data format to the IP data packet, and encapsulates the IP data packet into the GTP-U format in the downlink direction.
对于釆用 IEEE 802.3协议的网络(筒称 802.3网络) 而言, 其釆用的编址寻址机制是 二层寻址技术, 即釆用 MAC地址在二层网络范围内唯一标识某一网元实体。在这种 MAC •ί艮文中, 需要明确给出收发双方的 MAC地址, 即 4艮文发送方的源 MAC地址和 ·ί艮文接收 方的目的 MAC地址。  For the network using the IEEE 802.3 protocol (the 802.3 network), the address addressing mechanism used is a Layer 2 addressing technology, that is, the MAC address is uniquely identified in the Layer 2 network. entity. In this MAC address, the MAC address of the sender and the receiver must be clearly specified, that is, the source MAC address of the sender of the message and the destination MAC address of the receiver of the message.
对于网络层通讯机制而言,其釆用的编址寻址机制是三层寻址技术, 即基于 IP地址实 现设备的互通。 在 IP 4艮文的头部, 需要给出发送方的 IP地址和接收方的 IP地址。  For the network layer communication mechanism, the address addressing mechanism used is a three-layer addressing technology, that is, the interworking of devices based on IP addresses. At the head of the IP 4 message, the sender's IP address and the recipient's IP address need to be given.
对于基于 IEEE 802.11系列协议的 WLAN ( Wireless Local Area Networks, 无线局域网 络) 而言, 其釆用的编址寻址机制是基于空中接口和上联接口的二层寻址技术, 沿用了基 于 802.3 网络的编址寻址机制。 其空中接口上的 MAC报文, 也需要明确给出收发双方的 MAC地址, 即报文发送方的源 MAC地址和报文接收方的目的 MAC地址。 且 WLAN其 空中接口的 MAC地址格式和 802.3网络中使用的 MAC地址, 釆用相同的地址格式。  For WLAN (Wireless Local Area Networks) based on the IEEE 802.11 series protocol, the address addressing mechanism used is based on the air interface and uplink interface, and the 802.3 network is used. Addressing addressing mechanism. The MAC address on the air interface also needs to clearly specify the MAC address of the sender and the receiver, that is, the source MAC address of the sender of the message and the destination MAC address of the receiver of the message. And the WLAN has the same address format as the MAC address format of the air interface and the MAC address used in the 802.3 network.
然而, 对于 LTE-LAN来说, 由于 LTE-LAN-AP的上联接口 (即 Iu-r接口)其二层是 基于 802.3协议的。 基于成本的考虑, LTE-LAN-AP是二层设备, 不具备基于 IP的数据转 发能力, 即 LTE-LAN-AP 定位釆用层二的方法实现数据报文的转发而不具备路由器的功 能。 因此, LTE-LAN-AP 不适用于三层寻址技术, 且 LTE-LAN-AP 和 LTE-LAN-GW ( LTE-LANT系统中的网关)之间不能够釆用类似于 GTP-U隧道的映射机制。  However, for LTE-LAN, the second layer of the uplink interface (ie, Iu-r interface) of LTE-LAN-AP is based on the 802.3 protocol. Based on cost considerations, LTE-LAN-AP is a Layer 2 device and does not have IP-based data forwarding capability. That is, LTE-LAN-AP positioning uses layer 2 to implement data packet forwarding without the function of a router. Therefore, LTE-LAN-AP is not applicable to Layer 3 addressing technology, and LTE-LAN-AP and LTE-LAN-GW (gateways in LTE-LANT systems) cannot use GTP-U tunnels. Mapping mechanism.
进一步地, 由于 LTE-LAN与 WLAN分别釆用完全不同的物理层技术, 因此 LTE-LAN 的空中接口也不可能直接使用 WLAN中的二层寻址技术; 以及 LTE-LAN中的空中接口是 对现有的专用承载机制进行了大量的筒化而设计得到的, 如对于一个终端可以只设计了一 个 DRB ( Data Radio Bearer, 数据无线承载)。 考虑到 LTE-LAN 的通信主要在终端和 LTE-LAN-AP之间进行, 因此也不适合引入基于或类似 802.3网络的二层寻址技术。  Further, since the LTE-LAN and the WLAN respectively use completely different physical layer technologies, the air interface of the LTE-LAN cannot directly use the layer 2 addressing technology in the WLAN; and the air interface in the LTE-LAN is The existing dedicated bearer mechanism is designed and implemented in a large amount of cylinders. For example, only one DRB (Data Radio Bearer) can be designed for one terminal. Considering that LTE-LAN communication is mainly between the terminal and the LTE-LAN-AP, it is not suitable to introduce a Layer 2 addressing technology based on or similar to the 802.3 network.
由此可见, LTE-LAN-UE 和 LTE-LAN-GW 可以支持三层数据 4艮文的收发, 但 It can be seen that LTE-LAN-UE and LTE-LAN-GW can support the transmission and reception of three layers of data, but
LTE-LAN-AP仅支持二层数据报文的转发, 因此, 需要针对 LTE-LAN系统重新设计相适 应的二层寻址机制, 以实现 LTE-LAN-AP与终端(即 LTE-LAN-UE ), 以及 LTE-LAN-GW 之间的互通。 发明内容 本发明实施例提供一种基于 LTE-LAN的报文转发方法及装置, 用以基于二层寻址技 术实现 LTE-LAN-AP与其他网元之间的互通。 LTE-LAN-AP only supports the forwarding of Layer 2 data packets. Therefore, it is necessary to redesign an adaptive Layer 2 addressing mechanism for LTE-LAN systems to implement LTE-LAN-AP and terminals (ie, LTE-LAN-UE). ), and interworking between LTE-LAN-GWs. SUMMARY OF THE INVENTION The embodiments of the present invention provide a LTE-LAN-based packet forwarding method and apparatus, which are used to implement interworking between an LTE-LAN-AP and other network elements based on a Layer 2 addressing technology.
本发明实施例提供的具体技术方案包括:  Specific technical solutions provided by the embodiments of the present invention include:
一种基于长期演进本地网 LTE-LAN处理数据 4艮文的方法, 包括:  A method for processing data based on a long-term evolution local network LTE-LAN, including:
无线接入点 AP接收第一网元发送的第一数据报文;  The AP accesses the first data packet sent by the first network element.
AP获得用户终端 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二数据报 文的二层标识信息;  The AP obtains the identifier information of the user terminal UE, and obtains the second layer identifier information for sending the second data packet according to the identifier information of the UE.
AP基于所述第一数据报文生成相应的第二数据报文;  The AP generates a corresponding second data packet based on the first data packet.
AP根据所述二层标识信息将所述第二数据 4艮文发送至第二网元。  The AP sends the second data to the second network element according to the layer 2 identification information.
一种基于长期演进本地网 LTE-LAN处理数据 4艮文的装置, 包括:  A device for processing data based on a long-term evolution local network LTE-LAN, comprising:
接收单元, 用于接收第一网元发送的第一数据 ·ί艮文;  a receiving unit, configured to receive first data sent by the first network element,
获取单元, 用于获得用户终端 UE的标识信息, 并根据该 UE的标识信息获取用于发 送第二数据 ·ί艮文的二层标识信息;  An obtaining unit, configured to obtain identification information of the UE of the user terminal, and acquire, according to the identifier information of the UE, Layer 2 identifier information for sending the second data.
生成单元, 用于基于所述第一数据 4艮文生成相应的第二数据 4艮文;  a generating unit, configured to generate a corresponding second data based on the first data;
发送单元, 用于 #>据所述二层标识信息将所述第二数据 ·ί艮文发送至第二网元。  And a sending unit, configured to send the second data to the second network element according to the second layer identification information.
本发明实施例中, ΑΡ根据由第一网元接收的第一数据报文获得 UE的标识信息, 以及 获取对应该 UE的标识信息设置的二层标识信息, 再基于该二层标识信息和第一数据 4艮文 生成第二数据 ·ί艮文, 并将第二数据 ·ί艮文发往第二网元, 其中, 第一网元和第二网元可以分 别为 UE和 GW, 也可以分别为 GW和 UE, 还可以均为 GW, 这样, 便解决了 LTE-LAN 系统中的二层数据报文的转发问题, 实现了 LTE-LAN系统中的数据通信, 即 UE、 AP和 GW之间的互通, 节省了空中接口的开销, 另一方面, 由于釆用了上述技术, 因此无需在 AP中引入 IP层转发功能, AP也不需要具有路由器功能, 从而有效地 AP的设备成本, 同 时也降低了 LTE-LAN系统的网络部署和运行维护的成本。 附图说明 图 1为本发明实施例中 LTE-LAN系统体系架构图;  In the embodiment of the present invention, the identifier information of the UE is obtained according to the first data packet received by the first network element, and the second layer identifier information corresponding to the identifier information of the UE is obtained, and then based on the second layer identifier information and the second The first data element and the second network element may be the UE and the GW, respectively, and the second data element may be sent to the second network element, where the data may be sent to the second network element, where the first network element and the second network element may be the UE and the GW, respectively. GW and UE, respectively, can also be GW. In this way, the problem of forwarding Layer 2 data packets in the LTE-LAN system is solved, and data communication in the LTE-LAN system is realized, that is, UE, AP, and GW. Inter-communication saves the overhead of the air interface. On the other hand, because the above technology is used, there is no need to introduce an IP layer forwarding function in the AP, and the AP does not need to have a router function, thereby effectively reducing the device cost of the AP. It also reduces the cost of network deployment and operation and maintenance of the LTE-LAN system. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic structural diagram of an LTE-LAN system according to an embodiment of the present invention;
图 2为本发明实施例中 LTE-LAN-AP功能结构示意图;  2 is a schematic structural diagram of a function of an LTE-LAN-AP according to an embodiment of the present invention;
图 3为本发明实施例中 LTE-LAN-AP处理数据 4艮文流程图。 具体实施方式 为了实现 LTE-LAN- AP (以下筒称为 AP )和 LTE-LAN-UE ( LTE-LAN系统中的终端, 以下筒称为 UE ) 以及 LTE-LAN-GW (以下筒称为 GW )之间的二层数据报文的互通, 本 发明实施例中, AP接收第一网元发送的第一数据 4艮文,确定发送该数据 4艮文的 UE及对应 的标识, 并根据该 UE的标识信息获取用于发送第二数据报文的所需的二层标识信息, 以 及基于获取的二层标识信息和接收的第一数据 4艮文生成相应的第二数据 4艮文, 并将所述第 二数据报文发送至第二网元。 FIG. 3 is a flowchart of processing data of LTE-LAN-AP in the embodiment of the present invention. detailed description In order to realize LTE-LAN-AP (hereinafter referred to as AP) and LTE-LAN-UE (terminal in LTE-LAN system, the following is called UE) and LTE-LAN-GW (hereinafter referred to as GW) In the embodiment of the present invention, the AP receives the first data sent by the first network element, determines the UE that sends the data, and the corresponding identifier, and according to the identifier of the UE. Obtaining the required second layer identification information for sending the second data packet, and generating corresponding second data according to the acquired second layer identification information and the received first data, and The second data packet is sent to the second network element.
其中, 第一网元可以为 UE, 也可以为 GW, 第二网元可以为 GW, 也可以为 UE。 本实施例中, 为了实现上述技术方案, 在 AP中预先设置了 UE与分配给 UE的基于 802.3协议的 MAC地址之间的映射关系, 该映射关系可以具体为 UE的标识与分配给 UE 的基于 802.3协议的 MAC地址之间的映射关系, 例如, 该映射关系可以设置为表 1的形 式:  The first network element may be a UE or a GW, and the second network element may be a GW or a UE. In this embodiment, in order to implement the foregoing technical solution, a mapping relationship between the UE and the 802.3 protocol-based MAC address allocated to the UE is preset in the AP, and the mapping relationship may be specifically determined by the identifier of the UE and allocated to the UE. The mapping between the MAC addresses of the 802.3 protocol. For example, the mapping relationship can be set to the form of Table 1:
表 1  Table 1
Figure imgf000006_0001
在表 1中, 记载了 UE的 C-RNTI值和 AP分配给 UE的基于 802.3协议的 MAC地址 之间的映射关系, 进一步地, 还设置了 UE的 IP地址与上述两者之间的映射关系, 其中, UE分配到的基于 802.3协议的 MAC地址共有 6个字节, 通常, 该 MAC地址前 3个字节 用于标识厂商, 后 3个字节由该 UE厂商自行分配。 较佳的, 本发明中可以釆用 AP的实 际以太网接口的地址作为前 3个字节, 后 3个字节由该 AP自行分配, 例如, UE在空中接 口上可以通过 C-RNTI值进行唯一标识, 因此, C-RNTI可以放置上述后 3个字节中的两个 字节内, 剩余的一个字节, 可以自由分配,较佳的, 可以设置为 UE的 DRB的标识, 或者, 设置为 AP的标识中的指定字段, 等等。
Figure imgf000006_0001
In Table 1, the mapping relationship between the C-RNTI value of the UE and the 802.3 protocol-based MAC address allocated by the AP to the UE is described. Further, the mapping between the IP address of the UE and the foregoing is also set. The MAC address of the 802.3 protocol allocated by the UE has a total of 6 bytes. Generally, the first 3 bytes of the MAC address are used to identify the vendor, and the last 3 bytes are allocated by the UE manufacturer. Preferably, in the present invention, the address of the actual Ethernet interface of the AP can be used as the first 3 bytes, and the last 3 bytes are allocated by the AP. For example, the UE can perform the C-RNTI value on the air interface. The unique identifier, therefore, the C-RNTI can be placed in two bytes of the last three bytes, and the remaining one byte can be freely allocated. Preferably, it can be set to the ID of the DRB of the UE, or, Is the specified field in the identity of the AP, and so on.
此外, 如果 UE已经具有基于 802.3协议的 MAC地址, 且该 UE具有 WLAN接口、 或者具有以太网接口,则 UE可以将已有的基于 802.3协议的 MAC地址在信令消息中上报 给 AP, 由 AP保存按照表 1的形式保存 UE和 UE的基于 802.3协议的 MAC地址之间的 映射关系。  In addition, if the UE already has a MAC address based on the 802.3 protocol, and the UE has a WLAN interface, or has an Ethernet interface, the UE can report the existing MAC address based on the 802.3 protocol to the AP in the signaling message. The mapping between the UE and the UE based on the 802.3 protocol-based MAC address is saved in the form of Table 1.
进一步地, 如表 1所示, 还可以在表 1中记录 UE的 IP地址, 以明确 UE、 UE的基于 802.3协议的 MAC地址和 UE的 IP地址之间的映射关系, 以便于后续的通信流程, 这一 点将在后续实施例中进行介绍。 Further, as shown in Table 1, the IP address of the UE may also be recorded in Table 1 to clarify the mapping relationship between the MAC address of the UE and the UE based on the 802.3 protocol and the IP address of the UE, so as to facilitate the subsequent communication process. This The points will be described in the subsequent embodiments.
下面结合附图对本发明优选的实施方式进行详细说明。  Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
参阅图 1所示, 本发明实施例中, LTE-LAN系统中包括 LTE-LAN-UE (筒称为 UE )、 LTE-LAN-AP (筒称为 AP )和 LTE-LAN-GW (筒称为 GW ), 其中, UE和 AP之间釆用 Uu接口进行通信, AP和 GW之间基于 802.3协议进行通信 , 目前称这个接口为 Iu-r接口。  Referring to FIG. 1 , in the embodiment of the present invention, an LTE-LAN system includes an LTE-LAN-UE (a cylinder is called a UE), an LTE-LAN-AP (a cylinder is called an AP), and an LTE-LAN-GW (a nickname). GW ), wherein the Uu interface is used for communication between the UE and the AP, and the AP and the GW communicate according to the 802.3 protocol. Currently, the interface is referred to as an Iu-r interface.
参阅图 2所示, 本发明实施例中, AP包括接收单元 20、 获取单元 21、 生成单元 22 和发送单元 23 , 其中,  As shown in FIG. 2, in the embodiment of the present invention, the AP includes a receiving unit 20, an obtaining unit 21, a generating unit 22, and a sending unit 23, where
接收单元, 用于接收第一网元发送的第一数据 ·ί艮文;  a receiving unit, configured to receive first data sent by the first network element,
获取单元, 用于获得 UE的标识信息, 并根据该 UE的标识信息获取用于生成第二数 据 4艮文的二层标识信息;  An obtaining unit, configured to obtain the identifier information of the UE, and obtain, according to the identifier information of the UE, the layer 2 identifier information used to generate the second data.
生成单元, 用于基于所述第一数据 4艮文生成相应的第二数据 4艮文;  a generating unit, configured to generate a corresponding second data based on the first data;
发送单元, 用于 #>据所述二层标识信息将所述第二数据 ·ί艮文发送至第二网元。  And a sending unit, configured to send the second data to the second network element according to the second layer identification information.
如图 2所示, 本发明实施例中, ΑΡ中进一步包括设置单元 24, 用于针对 UE设置 UE 的 MAC地址, 以及设置 UE的 C-RNTI和 UE的 MAC地址, 以及 UE的 IP地址之间的映 射关系。  As shown in FIG. 2, in the embodiment of the present invention, the method further includes a setting unit 24, configured to set a MAC address of the UE for the UE, and set a C-RNTI of the UE and a MAC address of the UE, and between the IP addresses of the UE. Mapping relationship.
其中, 获取单元在获得 UE的标识信息时, 可以根据第一数据报文获得, 也可以在其 它收发流程中获得。  The obtaining unit may obtain the identifier information of the UE according to the first data packet, or may obtain the data in the other sending and receiving process.
参阅图 3所示, 本发明实施例中, AP处理数据 ·ί艮文的详细流程如下:  Referring to FIG. 3, in the embodiment of the present invention, the detailed process of processing data by the AP is as follows:
步骤 300: ΑΡ接收第一网元发送的第一数据报文。  Step 300: The first data packet sent by the first network element is received.
本实施例中, 数据 4艮文的发送分为两个方向:  In this embodiment, the transmission of the data is divided into two directions:
上行方向, 由 UE向 ΑΡ发送上行 4艮文, ΑΡ接收后将上行报文转发至 GW, 由 GW进 行三层处理。  In the uplink direction, the UE sends an uplink message to the ,, and after receiving, forwards the uplink message to the GW, and the GW performs three layers of processing.
下行方向: 由 GW向 ΑΡ发送下行报文, ΑΡ接收后将下行报文转发至 UE.  Downstream direction: The GW sends a downlink packet to the ,, and then forwards the downlink packet to the UE after receiving.
因此, ΑΡ接收到的第一数据报文既可以是上行报文, 也可以是下行报文, 而发送第 一数据报文的第一网元, 即可以是 UE, 也可以是 GW。  Therefore, the received first data packet may be either an uplink packet or a downlink packet, and the first network element that sends the first data packet may be a UE or a GW.
步骤 310: AP获得 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二数据 报文的二层标识信息。  Step 310: The AP obtains the identifier information of the UE, and obtains the second layer identifier information used to send the second data packet according to the identifier information of the UE.
本实施例中, 无论是 UE发送的第一数据报文, 还是 GW发送的第一数据报文, 均可 以包含 UE的标识信息, 该标识信息可以是 UE的 C-RNTI , 也可以是 UE的 MAC地址, 还可以是 UE的 IP地址, AP可以根据接收的第一数据报文获得 UE的标识信息, AP也可 以通过收发过程等其它方式获得 UE的标识信息,然后, AP再根据表 1中设置的映射关系, 获得上述二层标识信息, 本实施例中, 所谓的二层标识信息, 可以是 UE的 MAC地址, 也可以是 UE的 C-RNTI。 其中, 二层标识信息中的二层低于网络层。 步骤 320: AP基于接收的第一数据报文生成相应的第二数据报文。 In this embodiment, the first data packet sent by the UE or the first data packet sent by the GW may include the identifier information of the UE, where the identifier information may be the C-RNTI of the UE, or may be the UE. The MAC address may also be the IP address of the UE. The AP may obtain the identifier information of the UE according to the received first data packet, and the AP may obtain the identifier information of the UE by using other methods, such as the sending and receiving process, and then the AP according to Table 1 The mapping relationship is set to obtain the layer 2 identifier information. In this embodiment, the layer 2 identifier information may be the MAC address of the UE or the C-RNTI of the UE. The second layer of the second layer identification information is lower than the network layer. Step 320: The AP generates a corresponding second data packet based on the received first data packet.
而本实施例中, AP基于第一数据报文生成第二数据报文, 是为了基于二层标识信息 将第一数据 4艮文封装为二层数据 4艮文进行转发, 这样, 便可以避免对第一数据 4艮文进行三 层数据处理。  In this embodiment, the AP generates the second data packet based on the first data packet, so that the first data is encapsulated into the second layer data according to the second layer identifier information, so that the AP can be used to avoid Three-layer data processing is performed on the first data.
步骤 330: AP根据二层标识信息将生成的第二数据报文发送至第二网元。  Step 330: The AP sends the generated second data packet to the second network element according to the layer 2 identification information.
与步骤 300 同理, AP生成的第二数据报文可以是上行报文, 也可以是下行报文, 第 二网元可以是 GW, 也可以是 UE。  In the same manner as step 300, the second data packet generated by the AP may be an uplink packet or a downlink packet, and the second network element may be a GW or a UE.
基于上述实施例, 下面分别以三个具体的实施方案对其进行详细介绍。  Based on the above embodiments, the following is described in detail in three specific embodiments.
在第一种情况下,假设第一网元为 UE,第二网元为 GW,第一数据 4艮文为上行 4艮文 a, 第二数据 ^艮文为上行 ^艮文 b, 则步骤 300 -步骤 330的执行方式如下:  In the first case, the first network element is the UE, the second network element is the GW, the first data is the uplink data, and the second data is the uplink data. 300 - Step 330 is performed as follows:
步骤 3001: AP接收 UE发送的上行 4艮文 a。  Step 3001: The AP receives the uplink message a sent by the UE.
本发明实施例中, AP基于 LTE-LAN的空中接口 (即 Uu接口)接收的, 由 UE发送 到 AP的上行 4艮文 a釆用的 MAC帧格式具体如表 2所示:  In the embodiment of the present invention, the MAC frame format used by the AP to receive the uplink information sent by the UE to the AP based on the LTE-LAN air interface (ie, the Uu interface) is as shown in Table 2:
表 2  Table 2
MAC Header SDU PADDING 其巾, MAC Header SDU PADDING its towel,
MAC Header, 是基于 LTE空中接口的 MAC头实现, 在 LTE-LAN系统中需要定义, 但是, 本发明中提出其中不包含收发双方的地址信息或标识信息;  The MAC header is a MAC header implementation based on the LTE air interface, and needs to be defined in the LTE-LAN system. However, the present invention proposes that address information or identification information of the transmitting and receiving parties is not included therein;
SDU ( Service Data Unit, 服务数据单元), 用于记录 UE发送的 IP数据艮文;  An SDU (Service Data Unit) for recording IP data sent by the UE;
PADDING: 填充字段。  PADDING: Populate the field.
步骤 3011 : AP基于 UE发送的上行报文 a, 确定 UE的标识信息, 即 UE的 C-RNTI, 并根据该 C-RNTI获得 UE的 MAC地址,该 MAC地址即是用于生成转发给 GW的上行 4艮 文 b的二层标识信息。  Step 3011: The AP determines, according to the uplink packet a sent by the UE, the identifier information of the UE, that is, the C-RNTI of the UE, and obtains the MAC address of the UE according to the C-RNTI, where the MAC address is used to generate and forward the GW to the GW. The second layer identification information of the uplink 4 text b.
本发明实施例中, UE的 C-RNTI可以是在上行报文 a的发送时,隐式的由 AP获得的, 即, 在 UE发送上行 4艮文 a之前, 系统会进行资源调度, 为 UE分配用于承载上行报文 a 的无线承载资源, 因此, AP根据 UE发送上行报文 a时使用的无线承载资源即可以知道发 送方是哪一个 UE, 即可以获知该发送 UE的 C-RNTI。  In the embodiment of the present invention, the C-RNTI of the UE may be obtained by the AP implicitly when the uplink packet a is sent, that is, before the UE sends the uplink message a, the system performs resource scheduling for the UE. The radio bearer resource for carrying the uplink packet a is allocated. Therefore, the AP can know which UE the sender is based on the radio bearer resource used when the UE sends the uplink packet a, that is, the C-RNTI of the transmitting UE can be known.
AP获得 UE的 C-RNTI后, 可以基于表 1中设置的映射关系, 获得对应该 C-RNTI预 设的 UE的 MAC地址。  After obtaining the C-RNTI of the UE, the AP can obtain the MAC address of the UE corresponding to the C-RNTI preset based on the mapping relationship set in Table 1.
步骤 3021 : AP根据获得的 UE的 MAC地址和 UE发送的上行报文 a,生成发送给 GW 的上行报文 b。  Step 3021: The AP generates an uplink packet b sent to the GW according to the obtained MAC address of the UE and the uplink packet a sent by the UE.
本实施例中, AP生成的上行 4艮文 b釆用的 MAC帧格式具体如表 3所示, 该 MAC帧 格式是基于 802.3协议的: In this embodiment, the format of the MAC frame used by the AP for the uplink packet is as shown in Table 3. The MAC frame is The format is based on the 802.3 protocol:
表 3  table 3
Figure imgf000009_0001
Figure imgf000009_0001
其巾,  Its towel,
SRC MAC ADDR (源 MAC地址),通常设置为 6个字节,用于记载 UE的 MAC地址, 即在步骤 3011中确定的对应 UE的 C-RNTI设置的基于 802.3协议的 MAC地址;  The SRC MAC ADDR (Source MAC address), which is usually set to 6 bytes, is used to record the MAC address of the UE, that is, the 802.3 protocol-based MAC address set by the C-RNTI of the corresponding UE determined in step 3011;
DEST MAC ADDR (目的 MAC地址), 通常设置为 6个字节, 用于记载 GW的 MAC 地址, 该 MAC地址也是符合 802.3协议的;  DEST MAC ADDR (destination MAC address), usually set to 6 bytes, used to record the MAC address of the GW, which is also compliant with the 802.3 protocol;
实际应用中, AP通常连接到一个 GW, 因此可以通过预先配置或者协议交互等方法得 到该 GW的 MAC地址。  In practical applications, the AP is usually connected to a GW, so the MAC address of the GW can be obtained through pre-configuration or protocol interaction.
DATA (数据), 用于记载 IP数据 4艮文;  DATA (data), used to record IP data.
AP需要将上行报文 a的 SDU字段中记载的 IP数据报文, 不加修改地封装在 DATA 字段,较佳的,可以釆用 LLC ( Logical Link Control,逻辑链路控制)协议进行封装, DATA 字段长度可变;  The AP needs to encapsulate the IP data packet recorded in the SDU field of the uplink packet a DATA field without modification. Preferably, the packet can be encapsulated by the LLC (Logical Link Control) protocol. The field length is variable;
此外, 还设置有以下字段:  In addition, the following fields are also set:
Preamble (前导域), 通常设置为 7个字节, 表示一个 MAC帧的开始;  Preamble (preamble field), usually set to 7 bytes, indicating the beginning of a MAC frame;
TYPE (类型), 通常设置为 2个字节, 填写 0x8000, 表明 DATA字段中记载的是 IP 数据报文;  TYPE (type), usually set to 2 bytes, fill in 0x8000, indicating that the DATA field records IP data packets;
FCS ( 帧校验序列), 是一个 32位的 CRC ( Cyclic Redundancy Check, 循环冗余校 验码)。  FCS (Frame Check Sequence) is a 32-bit CRC (Cyclic Redundancy Check).
步骤 3031: AP将上行报文 b发送给 GW。  Step 3031: The AP sends the uplink packet b to the GW.
这样, AP便完成了由 UE向 GW的二层数据报文的转发, 令 GW可以对接收到的二 层数据报文提取出 IP数据报文并进行三层数据处理。  In this way, the AP completes the forwarding of the Layer 2 data packet from the UE to the GW, so that the GW can extract the IP data packet and perform the three-layer data processing on the received Layer 2 data packet.
在第二种情况下, 假设第一网元为 GW, 第二网元 UE, 第一数据报文为下行报文 a, 第二数据 ·ί艮文为下行 ·ί艮文 b, 则步骤 300 -步骤 330的执行方式如下:  In the second case, it is assumed that the first network element is the GW, and the second network element UE, the first data packet is the downlink packet a, and the second data packet is the downlink packet, then the step 300 is performed. - The execution of step 330 is as follows:
步骤 3002: AP接收 GW发送的下行报文 a。  Step 3002: The AP receives the downlink packet a sent by the GW.
本发明实施例中, AP基于上联接口 (即 Iu-r接口)接收的由 GW发送的下行报文 a 的 MAC帧格式如表 3所示, 其中,  In the embodiment of the present invention, the MAC frame format of the downlink message a sent by the GW, which is received by the AP based on the uplink interface (ie, the Iu-r interface), is as shown in Table 3, where
SRC MAC ADDR (源 MAC地址), 通常设置为 6个字节, 用于记载 GW的 MAC地 址, 该 MAC地址也是符合 802.3协议的; DEST MAC ADDR (目的 MAC地址), 通常设置为 6个字节, 用于记载 UE的 MAC 地址, 即在上行报文 a中发送给 GW的 UE的 MAC地址; SRC MAC ADDR (source MAC address), usually set to 6 bytes, used to record the MAC address of the GW, which is also in compliance with the 802.3 protocol; The DEST MAC ADDR (destination MAC address), which is usually set to 6 bytes, is used to record the MAC address of the UE, that is, the MAC address of the UE that is sent to the GW in the uplink packet a;
DATA, 用于记载 GW回复的 IP数据 4艮文;  DATA, used to record the IP data of the GW reply.
其余字段的设置方式参照步骤 3021 , 在此不再赘述。  For the setting of the remaining fields, refer to step 3021, and details are not described herein.
步骤 3012: AP基于 GW发送的下行报文 a, 确定 UE的标识信息, 即 UE的 MAC地 址, 并根据该 MAC地址获得 UE的 C-RNTI, 该 C-RNTI即是用于生成并向 UE转发下行 •ί艮文 b的二层标识信息。  Step 3012: The AP determines, according to the downlink message a sent by the GW, the identifier information of the UE, that is, the MAC address of the UE, and obtains the C-RNTI of the UE according to the MAC address, where the C-RNTI is used to generate and forward to the UE. Downstream • The second layer of identification information of the b.
本发明实施例中, AP获得 UE的 MAC地址后, 可以基于表 1中设置的映射关系, 获 得对应该 MAC地址预设的 UE的 C-RNTI。  In the embodiment of the present invention, after obtaining the MAC address of the UE, the AP may obtain the C-RNTI of the UE corresponding to the MAC address preset based on the mapping relationship set in Table 1.
步骤 3022: AP根据获得的 UE的 C-RNTI和 GW发送的下行报文 a, 生成发送给 UE 的下行报文 b。  Step 3022: The AP generates a downlink packet b sent to the UE according to the obtained C-RNTI of the UE and the downlink packet a sent by the GW.
具体的, AP在生成下行报文 b时,由于 AP已预先获知接收下行 ·ί艮文 b的 UE的 C-RNTI, 则可以根据 UE的 C-RNTI及其他相关信息来确定发送下行报文 b所使用的无线承载资源, 并进行无线承载资源的调度, 以保证 UE可以收到下行报文 b。  Specifically, when the AP generates the downlink packet b, the AP may determine the C-RNTI of the UE that receives the downlink B in advance, and may determine to send the downlink packet b according to the C-RNTI of the UE and other related information. The radio bearer resources are used, and the radio bearer resources are scheduled to ensure that the UE can receive the downlink packet b.
本实施例中, AP生成下行 4艮文 b釆用的 MAC帧格式具体如表 2所示, 其中, In this embodiment, the format of the MAC frame used by the AP to generate the downlink packet is as shown in Table 2, where
SDU, 用于记录 GW发送的 IP数据 4艮文, 即 GW分送的下行报文 a中的 DATA字段 记载的内容; The SDU is used to record the IP data sent by the GW, that is, the content recorded in the DATA field in the downlink message a of the GW;
其余字段的设置方式参照步骤 3000, 在此不再赘述。  For the setting of the remaining fields, refer to step 3000, and details are not described here.
实际应用中, 由于 UE的上行报文中包含的 IP数据报文, 在 AP处只能转交给 GW处 理, 同时 UE也只需要处理 GW返回的 IP数据报文, 在步骤 3022中, 没有必要将分配给 UE的基于 802.3协议的 MAC地址和 GW的 MAC地址, 作为目的地址和源地址放置在下 行 ·ί艮文 b中的 MAC头字段内, 作为寻址信息。  In the actual application, the IP data packet included in the uplink packet of the UE can only be forwarded to the GW for processing at the AP, and the UE only needs to process the IP data packet returned by the GW. In step 3022, it is not necessary to The 802.3 protocol-based MAC address and the GW's MAC address assigned to the UE are placed as the destination address and the source address in the MAC header field in the downlink packet b as the addressing information.
步骤 3032: AP将下行报文 b发送给 UE。  Step 3032: The AP sends the downlink packet b to the UE.
这样, AP便完成了由 GW向 UE的二层数据报文的转发,令 UE可以对接收到的二层 数据报文提取出 IP数据报文并进行三层数据处理。  In this way, the AP completes the forwarding of the Layer 2 data packet from the GW to the UE, so that the UE can extract the IP data packet and perform the three-layer data processing on the received Layer 2 data packet.
区别于上述两种情况, 还存在一种特殊情况, 即第一网元和第二网元均  Different from the above two cases, there is a special case where the first network element and the second network element are both
为 GW, 第一数据 4艮文为 ARP ( Address Resolution Protocol, 地址解析协议)请求消 息, 第二数据 ^艮文为 ARP响应消息, 则步骤 300 _步骤 330的执行方式如下:  For the GW, the first data is an ARP (Address Resolution Protocol) request message, and the second data is an ARP response message, and the step 300_step 330 is performed as follows:
步骤 3003: AP接收 GW发送的下行 4艮文 c, 即 ARP请求消息。  Step 3003: The AP receives the downlink message C sent by the GW, that is, the ARP request message.
实际应用中, ARP请求消息中通常携带有某一网元的 IP地址, 其目的是获得使用该 In an actual application, an ARP request message usually carries an IP address of a certain network element, and the purpose is to obtain the use of the IP address.
IP地址的网元的 MAC地址, 以便后续封装并发送相应的数据报文,本发明实施例中, GW 发送的 ARP请求消息中携带的是 UE的 IP地址。 The MAC address of the network element of the IP address is used to encapsulate and send the corresponding data packet. In the embodiment of the present invention, the ARP request message sent by the GW carries the IP address of the UE.
另一方面, AP可以在 UE的初始接入到 LTE-LAN系统的过程中获得 UE的 IP地址, 在此不再赘述。 On the other hand, the AP may obtain the IP address of the UE during the initial access of the UE to the LTE-LAN system. I will not repeat them here.
步骤 3013 : AP基于 GW发送的 ARP请求消息, 确定 UE的标识信息, 即 UE的 IP 地址, 并根据该 IP地址获得 UE的 MAC地址, 该 MAC地址即是用于生成返回给 GW的 ARP响应消息的二层标识信息。  Step 3013: The AP determines the identity information of the UE, that is, the IP address of the UE, based on the ARP request message sent by the GW, and obtains the MAC address of the UE according to the IP address, where the MAC address is used to generate an ARP response message that is returned to the GW. The second layer of identification information.
本发明实施例中, AP获得 UE的 IP地址后, 可以基于表 1中设置的映射关系, 获得 对应该 IP地址预设的 UE的 MAC地址。  In the embodiment of the present invention, after obtaining the IP address of the UE, the AP may obtain the MAC address of the UE corresponding to the IP address preset according to the mapping relationship set in Table 1.
步骤 3032: AP才 据获得的 UE的 MAC地址和 UE发送的 ARP请求消息, 生成发送 给 GW的上行 4艮文 c , 即 ARP响应消息。  Step 3032: The AP generates an uplink message C, that is, an ARP response message, sent to the GW according to the obtained MAC address of the UE and the ARP request message sent by the UE.
本实施例中, AP将获得的 UE的 MAC地址封装在上行报文 c的指定字段, 作为 ARP 响应消息返回给 GW。  In this embodiment, the AP encapsulates the obtained MAC address of the UE in the specified field of the uplink packet c, and returns it to the GW as an ARP response message.
与现有的 PROXY (代理) AP协议不同, 在 ARP响应消息中, AP返回的  Unlike the existing PROXY (proxy) AP protocol, in the ARP response message, the AP returns
是 UE的基于 802.3协议的 MAC地址, 而不是 AP的 MAC地址, 因此, 后续 GW发 送下行 4艮文时,可以直接将 UE的 MAC地址作为目的 MAC地址,按照如表 3所示的 MAC 帧格式来封装下行报文, 并将下行报文通过 AP透传至 UE, 令 AP无需对透传的下行报文 作三层数据处理, 即可实现 AP和 UE、 GW之间的互通。  It is the 802.3-based MAC address of the UE, not the MAC address of the AP. Therefore, when the subsequent GW sends the downlink message, the MAC address of the UE can be directly used as the destination MAC address, according to the MAC frame format as shown in Table 3. The downlink packet is encapsulated, and the downlink packet is transparently transmitted to the UE through the AP, so that the AP does not need to perform Layer 3 data processing on the transparently transmitted downlink packet, so that the AP can communicate with the UE and the GW.
综上所述, 本发明实施例中, AP由第一网元接收的第一数据报文, 获得 UE的标识信 息, 以及获取对应该 UE的标识信息获得用于转发该报文的二层标识信息, 再根据该二层 标识信息和第一数据 4艮文生成第二数据 4艮文, 并将第二数据 4艮文发往第二网元, 其中, 第 一网元和第二网元可以分别为 UE和 GW, 也可以分别为 GW和 UE, 还可以均为 GW, 这 样, 便解决了 LTE-L AN系统中的二层数据 4艮文的转发问题, 实现了 LTE-L AN系统中的数 据通信, 即 UE、 AP和 GW之间的互通, 节省了空中接口的开销, 另一方面, 由于釆用了 上述技术, 因此无需在 AP中引入 IP层转发功能, AP也不需要具有路由器功能, 从而有 效地 AP的设备成本, 同时也降低了 LTE-LAN系统的网络部署和运行维护的成本。  In summary, in the embodiment of the present invention, the AP receives the first data packet received by the first network element, obtains the identifier information of the UE, and obtains the identifier information of the corresponding UE to obtain the second layer identifier for forwarding the packet. And generating the second data according to the second layer identification information and the first data, and sending the second data to the second network element, where the first network element and the second network element It can be the UE and the GW, or the GW and the UE respectively, or both of them can be the GW. In this way, the problem of forwarding the Layer 2 data in the LTE-L AN system is solved, and the LTE-L AN system is realized. The data communication, that is, the interworking between the UE, the AP, and the GW, saves the overhead of the air interface. On the other hand, because the above technology is used, there is no need to introduce an IP layer forwarding function in the AP, and the AP does not need to have The router function effectively increases the device cost of the AP, and also reduces the cost of network deployment and operation and maintenance of the LTE-LAN system.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程 序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了基本创造性概 念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权利要求意欲解释为包括优选 实施例以及落入本发明范围的所有变更和修改。  Although the preferred embodiment of the invention has been described, it will be apparent to those of ordinary skill in the art that <RTIgt; Therefore, the appended claims are intended to be construed as including the preferred embodiments and the modifications
显然, 本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实 施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变型属于本发明权利要求及其 等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, it is intended that the present invention cover the modifications and modifications of the inventions

Claims

权 利 要 求 Rights request
1、 一种基于长期演进本地网 LTE-LAN处理数据 4艮文的方法, 其特征在于, 包括: 无线接入点 AP接收第一网元发送的第一数据报文; A method for processing data according to a long-term evolution local network LTE-LAN, characterized in that: the wireless access point AP receives the first data packet sent by the first network element;
AP获得用户终端 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二数据报 文的二层标识信息;  The AP obtains the identifier information of the user terminal UE, and obtains the second layer identifier information for sending the second data packet according to the identifier information of the UE.
AP基于所述第一数据报文生成相应的第二数据报文;  The AP generates a corresponding second data packet based on the first data packet.
AP根据所述二层标识信息将所述第二数据 4艮文发送至第二网元。  The AP sends the second data to the second network element according to the layer 2 identification information.
2、 如权利要求 1所述的方法, 其特征在于, 当所述第一网元为 UE, 所述第二网元为 网关 GW时, 所述 AP获得 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二 数据 ·ί艮文的二层标识信息, 包括: ΑΡ获得 UE的小区无线网络临时标识 C-RNTI, 并获取 对应该 C-RNTI预设的 UE的媒体接入控制 MAC地址。  The method according to claim 1, wherein when the first network element is a UE and the second network element is a gateway GW, the AP obtains identification information of the UE, and according to the UE The identifier information is used to obtain the second layer identifier information for sending the second data, and includes: obtaining the cell radio network temporary identifier C-RNTI of the UE, and acquiring media access control corresponding to the UE preset by the C-RNTI MAC address.
3、 如权利要求 2所述的方法, 其特征在于, 所述 AP基于所述第一数据报文生成相应 的第二数据报文, 包括:  The method according to claim 2, wherein the AP generates a corresponding second data packet based on the first data packet, including:
AP釆用基于 802.3协议的 MAC帧格式封装所述第二数据报文, 其中, AP将所述 UE 的 MAC地址封装在所述第二数据 4艮文的源 MAC地址 SRC MAC ADDR字段,将所述 GW 的 MAC地址封装在所述第二数据 4艮文的目的 MAC地址 DEST MAC ADDR字段, 以及将 所述第一数据 4艮文中的服务数据单元 SDU字段封装在所述第二数据报文的数据 DATA字 段。  The AP encapsulates the second data packet by using a MAC frame format of the 802.3 protocol, where the AP encapsulates the MAC address of the UE in a source MAC address SRC MAC ADDR field of the second data. The MAC address of the GW is encapsulated in the destination MAC address DEST MAC ADDR field of the second data, and the service data unit SDU field in the first data is encapsulated in the second data packet. Data DATA field.
4、 如权利要求 1所述的方法, 其特征在于, 当所述第一网元为网关 GW, 第二网元为 UE时, 所述 AP获得 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二数据 4艮 文的二层标识信息, 包括: AP获得 UE的媒体接入控制 MAC地址, 并根据该 MAC地址 获得 UE的小区无线网络临时标识 C-RNTI。  The method according to claim 1, wherein when the first network element is a gateway GW and the second network element is a UE, the AP obtains identification information of the UE, and according to the identification information of the UE And obtaining, by the AP, the media access control MAC address of the UE, and obtaining the cell radio network temporary identifier C-RNTI of the UE according to the MAC address.
5、 如权利要求 4所述的方法, 其特征在于, 所述 AP基于所述第一数据报文生成相应 的第二数据报文, 包括:  The method according to claim 4, wherein the AP generates a corresponding second data packet based on the first data packet, including:
AP基于 802.3协议的 MAC帧格式对所述第一数据报文进行解析, 将所述第一数据报 文中的 DATA字段, 封装在所述第二数据报文的 SDU字段。  The AP parses the first data packet according to the MAC frame format of the 802.3 protocol, and encapsulates the DATA field in the first data packet in an SDU field of the second data packet.
6、 如权利要求 1所述的方法, 其特征在于, 当所述第一网元、 第二网元均为网关 GW 时,所述 AP获得 UE的标识信息,并根据该 UE的标识信息获取用于发送第二数据报文的 二层标识信息, 包括: AP获得 UE的 IP地址, 并获取对应该 IP地址预设的 UE的 MAC 地址。  The method of claim 1, wherein when the first network element and the second network element are gateway GWs, the AP obtains the identification information of the UE, and obtains the identifier information according to the information of the UE. The layer 2 identification information used for sending the second data packet includes: the AP obtains the IP address of the UE, and obtains the MAC address of the UE corresponding to the IP address preset.
7、 如权利要求 6所述的方法, 其特征在于, 所述 AP基于所述第一数据报文生成相应 的第二数据报文, 包括: AP确定第一数据 ·ί艮文为地址解析协议 ARP请求消息, 则将所述 UE的 MAC地址封 装在所述第二数据报文的指定字段作为 ARP响应消息。 The method according to claim 6, wherein the AP generates a corresponding second data packet based on the first data packet, including: The AP determines that the first data address is an address resolution protocol ARP request message, and encapsulates the MAC address of the UE in a specified field of the second data packet as an ARP response message.
8、 如权利要求 2、 4或 6所述的方法, 其特征在于, 所述 AP获得的 UE的 MAC地址 由 UE预先发送至 AP进行保存, 或者, 由 AP预先针对 UE进行设置。  The method according to claim 2, 4 or 6, wherein the MAC address of the UE obtained by the AP is previously sent by the UE to the AP for storage, or is set by the AP in advance for the UE.
9、 如权利要求 4所述的方法, 其特征在于, 所述 AP预先针对 UE设置 MAC地址时, 包括: 将所述 UE的 MAC地址设置为 6字节, 其中, 前 3个字节用于记载 AP的以太网接 口的地址, 后 3个字节中, 两个字节用于记载 UE的 C-RNTI, —个字节用于记载 UE的数 据无线承载 DRB的标识, 或者, 用于记载 AP的标识中的指定字段。  The method of claim 4, wherein when the AP sets a MAC address for the UE in advance, the method includes: setting a MAC address of the UE to 6 bytes, where the first 3 bytes are used. The address of the Ethernet interface of the AP is recorded. Two bytes of the last three bytes are used to describe the C-RNTI of the UE, and one byte is used to record the identifier of the data radio bearer DRB of the UE, or The specified field in the identity of the AP.
10、 一种基于长期演进本地网 LTE-LAN处理数据报文的装置, 其特征在于, 包括: 接收单元, 用于接收第一网元发送的第一数据 ·ί艮文;  An apparatus for processing a data packet based on a long-term evolution local network LTE-LAN, comprising: a receiving unit, configured to receive first data sent by the first network element;
获取单元, 用于获得用户终端 UE的标识信息, 并根据该 UE的标识信息获取用于发 送第二数据 ^艮文的二层标识信息;  The obtaining unit is configured to obtain the identifier information of the user terminal UE, and obtain the second layer identifier information used for sending the second data according to the identifier information of the UE;
生成单元, 用于基于所述第一数据 4艮文生成相应的第二数据 4艮文;  a generating unit, configured to generate a corresponding second data based on the first data;
发送单元, 用于 #>据所述二层标识信息将所述第二数据 ·ί艮文发送至第二网元。  And a sending unit, configured to send the second data to the second network element according to the second layer identification information.
11、 如权利要求 10所述的装置, 其特征在于, 当所述第一网元为 UE, 所述第二网元 为网关 GW时, 所述获取单元获得 UE的标识信息, 并根据该 UE的标识信息获取用于发 送第二数据 ^艮文的二层标识信息时, 包括: 所述获取单元获得 UE的小区无线网络临时标 识 C-RNTI, 并获取对应该 C-RNTI预设的 UE的媒体接入控制 MAC地址。  The device according to claim 10, wherein, when the first network element is a UE and the second network element is a gateway GW, the acquiring unit obtains identification information of the UE, and according to the UE And obtaining, by the acquiring unit, the layer 2 identification information of the second data, the method includes: obtaining, by the acquiring unit, a cell radio network temporary identifier C-RNTI of the UE, and acquiring the UE corresponding to the preset by the C-RNTI Media access control MAC address.
12、如权利要求 11所述的装置, 其特征在于, 所述生成单元基于所述第一数据报文生 成相应的第二数据报文, 包括:  The device according to claim 11, wherein the generating unit generates a corresponding second data packet based on the first data packet, including:
所述生成单元釆用基于 802.3协议的 MAC帧格式封装所述第二数据报文, 其中, AP 将所述 UE的 MAC地址封装在所述第二数据 4艮文的源 MAC地址 SRC MAC ADDR字段, 将所述 GW的 MAC地址封装在所述第二数据 4艮文的目的 MAC地址 DEST MAC ADDR字 段, 以及将所述第一数据报文中的服务数据单元 SDU字段封装在所述第二数据报文的数 据 DATA字段。  The generating unit encapsulates the second data packet by using a MAC frame format of the 802.3 protocol, where the AP encapsulates the MAC address of the UE in a source MAC address SRC MAC ADDR field of the second data Encapsulating the MAC address of the GW in a destination MAC address DEST MAC ADDR field of the second data, and encapsulating the service data unit SDU field in the first data packet in the second data The data DATA field of the message.
13、 如权利要求 10所述的装置, 其特征在于, 当所述第一网元为网关 GW, 第二网元 为 UE时, 所述获取单元获得 UE的标识信息, 并根据该 UE的标识信息获取用于发送第 二数据报文的二层标识信息, 包括: 所述获取单元获得 UE的媒体接入控制 MAC地址, 并才 居该 MAC地址获得 UE的小区无线网络临时标识 C-RNTI。  The device according to claim 10, wherein, when the first network element is a gateway GW and the second network element is a UE, the acquiring unit obtains identification information of the UE, and according to the identifier of the UE And the obtaining, by the acquiring unit, the media access control MAC address of the UE, and obtaining the cell radio network temporary identifier C-RNTI of the UE.
14、 如权利要求 13 所述的装置, 其特征在于, 所述生成单元基于所述第一数据报文 生成相应的第二数据 4艮文, 包括:  The device according to claim 13, wherein the generating unit generates a corresponding second data based on the first data packet, and includes:
所述生成单元基于 802.3协议的 MAC帧格式对所述第一数据 ·ί艮文进行解析, 将所述 第一数据报文中的 DATA字段, 封装在所述第二数据报文的 SDU字段。 The generating unit parses the first data according to the MAC frame format of the 802.3 protocol, and encapsulates the DATA field in the first data packet in an SDU field of the second data packet.
15、 如权利要求 10 所述的装置, 其特征在于, 当所述第一网元、 第二网元均为网关 GW时, 所述获取单元获得 UE的标识信息, 并根据该 UE的标识信息获取用于发送第二 数据报文的二层标识信息, 包括: 所述获取单元获得 UE的 IP地址, 并获取对应该 IP地 址预设的 UE的 MAC地址。 The device according to claim 10, wherein, when the first network element and the second network element are both gateway GWs, the acquiring unit obtains identification information of the UE, and according to the identification information of the UE Obtaining the layer 2 identifier information for sending the second data packet, the method includes: obtaining, by the acquiring unit, an IP address of the UE, and acquiring a MAC address of the UE that is preset corresponding to the IP address.
16、 如权利要求 15 所述的装置, 其特征在于, 所述生成单元基于所述第一数据 ·ί艮文 生成相应的第二数据 4艮文, 包括:  The device according to claim 15, wherein the generating unit generates a corresponding second data based on the first data, including:
所述生成单元确定第一数据 4艮文为地址解析协议 ARP请求消息,则将所述 UE的 MAC 地址封装在所述第二数据报文的指定字段作为 ARP响应消息。  The generating unit determines that the first data is an address resolution protocol ARP request message, and encapsulates the MAC address of the UE in a specified field of the second data packet as an ARP response message.
17、 如权利要求 11、 13或 15所述的装置, 其特征在于, 所述获取单元获得的 UE的 MAC地址由 UE预先发送至本装置进行保存, 或者, 由本装置内的设置单元预先针对 UE 进行设置。  The device according to claim 11, 13 or 15, wherein the MAC address of the UE obtained by the acquiring unit is previously sent by the UE to the device for storage, or is preset to the UE by the setting unit in the device. Make settings.
18、 如权利要求 17所述的装置, 其特征在于, 所述设置单元预先针对 UE设置 MAC 地址时, 包括: 将所述 UE的 MAC地址设置为 6字节, 其中, 前 3个字节用于记载本装 置的以太网接口的地址, 后 3个字节中, 两个字节用于记载 UE的 C-RNTI, —个字节用于 记载 UE的数据无线承载 DRB的标识, 或者, 用于记载本装置的标识中的指定字段。  The device according to claim 17, wherein the setting unit sets a MAC address for the UE in advance, comprising: setting a MAC address of the UE to 6 bytes, where the first 3 bytes are used. In the address of the Ethernet interface of the device, two bytes of the last three bytes are used to describe the C-RNTI of the UE, and one byte is used to record the identifier of the data radio bearer DRB of the UE, or The specified field in the identification of the device is recorded.
PCT/CN2012/071270 2011-02-18 2012-02-17 Message forwarding method and device based on lte-lan WO2012110004A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110040584.1A CN102647768B (en) 2011-02-18 2011-02-18 Message transmitting method and device based on LTE-LAN(long term evolution-local area network)
CN201110040584.1 2011-02-18

Publications (1)

Publication Number Publication Date
WO2012110004A1 true WO2012110004A1 (en) 2012-08-23

Family

ID=46660300

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071270 WO2012110004A1 (en) 2011-02-18 2012-02-17 Message forwarding method and device based on lte-lan

Country Status (2)

Country Link
CN (1) CN102647768B (en)
WO (1) WO2012110004A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105934998B (en) * 2014-12-29 2019-11-01 华为技术有限公司 A kind of data transmission method and packet data network gateway equipment
US9699154B2 (en) 2015-01-19 2017-07-04 Intel IP Corporation Systems, methods and devices for direct communication using a PC5 protocol
CN110972282B (en) * 2018-09-28 2022-05-24 华为技术有限公司 Communication method and device for Ethernet data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866904A (en) * 2005-05-17 2006-11-22 华为技术有限公司 Method and apparatus for astringing two layer MAC address
CN101132346A (en) * 2006-08-23 2008-02-27 上海贝尔阿尔卡特股份有限公司 Data transmission and analysis method in wireless communication network and device thereof
CN101166193A (en) * 2006-10-19 2008-04-23 大唐移动通信设备有限公司 A transmission method and system for media access control protocol data unit
WO2010011054A2 (en) * 2008-07-21 2010-01-28 Electronics And Telecommunications Research Institute Communication system for removing transmission overhead
CN101932128A (en) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 Data receiving, transmitting and processing method and equipment for data link layer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4926216B2 (en) * 2008-08-07 2012-05-09 創新音▲速▼股▲ふん▼有限公司 Method and communication apparatus for processing uplink grant

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866904A (en) * 2005-05-17 2006-11-22 华为技术有限公司 Method and apparatus for astringing two layer MAC address
CN101132346A (en) * 2006-08-23 2008-02-27 上海贝尔阿尔卡特股份有限公司 Data transmission and analysis method in wireless communication network and device thereof
CN101166193A (en) * 2006-10-19 2008-04-23 大唐移动通信设备有限公司 A transmission method and system for media access control protocol data unit
WO2010011054A2 (en) * 2008-07-21 2010-01-28 Electronics And Telecommunications Research Institute Communication system for removing transmission overhead
CN101932128A (en) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 Data receiving, transmitting and processing method and equipment for data link layer

Also Published As

Publication number Publication date
CN102647768A (en) 2012-08-22
CN102647768B (en) 2014-06-18

Similar Documents

Publication Publication Date Title
TWI764893B (en) Method and device for establishing radio resource control connection
JP5642791B2 (en) MAC PDU transmission / reception method and apparatus using MAC header
WO2017206186A1 (en) Method and device for relay transmission
US10779212B2 (en) Methods for MAC frame extensibility and frame specific MAC header design for WLAN systems
WO2011018002A1 (en) Relay method, relay apparatus and communication system of transport bearer
WO2016173078A1 (en) Data transfer method and system, and ue having relay function
WO2014026370A1 (en) Method and device for data transmission
US20100075659A1 (en) Method for transmitting data in evolved utms network system
WO2013097641A1 (en) Method, entity and system for realizing cluster service
US8942170B1 (en) Group identification of wireless communication devices
WO2013104287A1 (en) Method, device, and system for data communication
JP2013504246A (en) MAC PDU transmission / reception method and apparatus using MAC header type information
WO2014117517A1 (en) Method, device, and system for multi-standard network convergence
WO2016173076A1 (en) Data transfer method and system, and ue having relay function
WO2020029922A1 (en) Method and apparatus for transmitting message
JP7210710B2 (en) Ethernet (registered trademark) data communication method and device
JP2013511885A (en) Method and apparatus for transmitting MAC PDU with fragmented packing extension header
WO2010121416A1 (en) Method, relay node and system for processing data in a relay link
CN106470465B (en) WIFI voice service initiating method, LTE communication equipment, terminal and communication system
WO2018148893A1 (en) Data transmission method and device
WO2011120358A1 (en) Method and system for transmitting information in relay communication network
JP2016507942A (en) Communication protocol for short data transmission
JP2019519945A (en) Relay transmission method and apparatus
CN107196834B (en) Message processing method and device
WO2014186935A1 (en) Data transmission method, device and system

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

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

Country of ref document: EP

Kind code of ref document: A1