WO2014067450A1 - Three-layer local forwarding method and device - Google Patents

Three-layer local forwarding method and device Download PDF

Info

Publication number
WO2014067450A1
WO2014067450A1 PCT/CN2013/086155 CN2013086155W WO2014067450A1 WO 2014067450 A1 WO2014067450 A1 WO 2014067450A1 CN 2013086155 W CN2013086155 W CN 2013086155W WO 2014067450 A1 WO2014067450 A1 WO 2014067450A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
ethernet
nat
packet
sta
Prior art date
Application number
PCT/CN2013/086155
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 WO2014067450A1 publication Critical patent/WO2014067450A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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
    • 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/25Mapping addresses of the same type

Definitions

  • a wireless local area network (WLAN) networking mode includes a fat access point (AP) and a thin AP.
  • AP fat access point
  • AC Access Controller
  • the thin AP "zero configuration" only implements the 802.11 air interface function. All configurations are centralized on the AC.
  • QoS Quality of Service
  • access control access control
  • load balancing load balancing
  • AP control management AP control management
  • QoS Quality of Service
  • the thin AP+AC there are two data forwarding modes, one is local forwarding and the other is centralized forwarding.
  • Centralized forwarding means that a data tunnel is established between the thin AP and the AC.
  • the thin AP sends data packets of all users to the AC through the data tunnel, and is forwarded by the AC.
  • Local forwarding means that only the control channel is established between the AC and the thin AP.
  • the functions of the network management, the authentication, and the load balancing are controlled by the AC.
  • the data is transmitted to the AC through the tunnel. It is forwarded locally by the AP.
  • the backhaul network that uses local forwarding for thin APs is mainly a fixed network, which only supports Layer 2 local forwarding.
  • Layer 2 local forwarding encapsulates data plane packets of WLAN users, it carries Ethernet.
  • WLAN can use Long Term Evolution (Long Term Evolution,
  • LTE as a backhaul network. Since LTE is a Layer 3 network, air interfaces can only encapsulate Internet protocols.
  • IP Internet Protocol
  • an embodiment of the present invention provides a Layer 3 local forwarding method and device, which is used to implement Layer 3 local forwarding, and thus can cooperate with an LTE backhaul network.
  • a three-layer local forwarding method is provided, including:
  • the first device receives the uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not the first device. MAC address;
  • the first device strips the Ethernet header of the uplink data packet, obtains an uplink data file stripped of the Ethernet header, and records the Ethernet header;
  • the first device performs the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the uplink that strips the Ethernet header.
  • the source IP address in the data packet is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is used by the STA.
  • the port number is replaced with the port number of the first device;
  • the first device sends the uplink data packet after the first NAT to the LTE network.
  • the method further includes: the first device receiving a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format ;
  • the first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the first
  • the IP address of the device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the recorded Ethernet header encapsulates the downlink data packet after the second NAT in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the recorded Ethernet
  • the destination MAC address of the network header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
  • the first device sends the uplink data packet after the first NAT to the LTE network, including:
  • the uplink data packet of the AP after the first NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the MAC address of the first device.
  • the destination MAC address of the encapsulated Ethernet header is the MAC address of the customer premises equipment CPE; the Ethernet header is stripped by the CPE and sent to the LTE network after performing the third NAT.
  • the first device is a CPE
  • the CPE receives an Ethernet packet sent by the STA via the AP, and the Ethernet packet is forwarded by the AP to the CPE.
  • the first device sends the uplink data packet after the first NAT to the LTE network, including:
  • the CPE sends the uplink data packet after the first NAT to the LTE network.
  • the first device is an AP
  • Receiving, by the first device, the downlink data packet sent by the LTE network the method includes: the AP receiving, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the data packet is subjected to the fourth NAT and the data is used. After the Ethernet format is encapsulated, the downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format.
  • the method further includes:
  • the AP strips the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulates the Ethernet packet, so that the second NAT is performed on the downlink data packet stripped from the Ethernet header.
  • the first device is a CPE
  • STA including:
  • the CPE will be used
  • Layer 2 forwarding is performed by the AP to the STA.
  • the AP sends the ARP packet or the DHCP packet to the AC through the CAPWAP tunnel of the wireless access point control protocol when the packet sent by the STA is an address resolution protocol ARP packet or a dynamic host configuration protocol DHCP message.
  • the STA sends an uplink data packet according to the ARP packet or the DHCP packet.
  • a Layer 3 local forwarding device including:
  • a first receiving module configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not Describe the MAC address of the first device;
  • a first processing module configured to strip the Ethernet header of the uplink data packet, obtain an uplink data file that is stripped of the Ethernet header, and record the Ethernet header;
  • a second processing module configured to perform, by performing a first NAT on the uplink data packet stripped from the Ethernet header, to obtain an uplink data packet after the first NAT, where the first NAT refers to stripping the Ethernet header
  • the source IP address in the uplink data is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is described by The port number of the STA is replaced with the port number of the first device;
  • the first sending module is configured to send the uplink data packet after the first NAT to the LTE network.
  • the method further includes: a second receiving module, configured to receive a downlink data packet sent by the LTE network, where the downlink data packet uses an IP address Format package
  • a third processing module configured to perform a second NAT on the downlink data packet to obtain a second NAT a downlink data packet, where the second NAT is to replace the destination IP address of the downlink data packet with the IP address of the first device, and the downlink data packet.
  • the destination port number of the text is replaced by the port number of the first device to the port number of the STA;
  • the fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header
  • the MAC address is the destination MAC address of the recorded Ethernet header
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header
  • the second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device is an access point AP;
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
  • the first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and the CPE is used by the CPE.
  • the Ethernet header is stripped and sent to the LTE network after performing the third NAT.
  • the device is a user premises equipment CPE
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
  • the first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
  • the device is an AP
  • the second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the downlink data sent by the CPE to the LTE network
  • the packet is subjected to the fourth NAT and is encapsulated in an Ethernet format.
  • the downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format.
  • the third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
  • the first device is a CPE
  • the second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
  • the second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
  • the method further includes:
  • the third sending module is configured to: when the packet sent by the STA is an ARP packet or a DHCP packet, the address resolution protocol ARP packet or the dynamic host configuration protocol DHCP is obtained through a wireless access point control protocol CAPWAP tunnel. The packet is sent to the AC, so that the STA obtains the address information according to the ARP packet or the DHCP packet, and then sends the uplink data packet.
  • the uplink packet of the STA can be forwarded in three layers to implement support for the LTE backhaul network.
  • FIG. 1 is a schematic diagram of networking of LTE as a WLAN backhaul network according to the present invention
  • FIG. 2 is a schematic flowchart of an embodiment of a three-layer local forwarding method according to the present invention
  • FIG. 3 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 4 is a schematic diagram of internal processing of a three-layer forwarding of a thin AP according to the present invention.
  • FIG. 5 is a schematic diagram of internal processing of a three-layer forwarding of a CPE according to the present invention
  • FIG. 6 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 8 is a schematic flowchart of an embodiment of a Layer 3 local forwarding device according to the present invention.
  • FIG. 9 is a schematic flowchart diagram of another embodiment of a three-layer local forwarding method according to the present invention.
  • LTE Long Term Evolution
  • WLAN Wireless Fidelity
  • a schematic diagram of LTE as a WLAN backhaul network where a WLAN network includes a station (Station, STA) as a WLAN terminal and a thin AP and an AC, and a control channel is established between the thin AP and the AC. Forward control plane messages.
  • the thin AP can access the Customer Premises Equipment (CPE) in the LTE network.
  • the CPE can access the Internet through the evolved NodeB (eNB) in the LTE network and other devices in the LTE network.
  • the devices in the core network such as the Broadband Remote Access Server (BRAS), the Portal (Portal) server, and the Authentication Authorization Accounting (AAA) server, complete the access authentication for the STA. Assign an IP address.
  • BRAS Broadband Remote Access Server
  • Portal Portal
  • AAA Authentication Authorization Accounting
  • the data plane packets of the user are directly forwarded by the AP through the LTE network.
  • the uplink data packet sent by the STA to the AP in the prior art is an Ethernet packet, and the AP enters In the case of the line forwarding, the Layer 2 forwarding mode is also adopted.
  • the LTE is a Layer 3 network and cannot support Layer 2 packet forwarding.
  • the present invention provides the following embodiments.
  • Step 21 The first device receives an uplink data packet sent by a STA, and the uplink data packet is encapsulated in an Ethernet format, and the packet header is encapsulated.
  • the destination media access control (MAC) address included in the Ethernet header is not the MAC address of the first device;
  • Step 22 The first device strips the Ethernet header of the uplink data packet, obtains an uplink data stripped from the Ethernet header, and records the Ethernet header.
  • Step 23 The first device performs a first network address translation (NAT) on the uplink data packet with the Ethernet header stripped, and obtains an uplink data packet after the first NAT, where the first The NAT means that the source IP address in the uplink data packet stripped from the Ethernet header is replaced by the IP address of the STA to the IP address of the first device, and the uplink of the Ethernet header is stripped.
  • the source port number in the data>3 ⁇ 4 text is replaced by the port number of the STA to the port number of the first device.
  • Step 24 The first device sends the uplink data packet after the first NAT to the LTE network.
  • the foregoing process is an uplink process.
  • the downlink process may be as shown in FIG. 3, including: Step 31: The first device receives a downlink data packet sent by the LTE network, and the downlink data packet uses an IP format.
  • Package
  • Step 32 The first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT refers to the destination IP address of the downlink data packet.
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • Step 33 The first device encapsulates the downlink data packet after the second NAT according to the recorded Ethernet header in an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the Ethernet header The address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the Ethernet header is the source MAC address of the recorded Ethernet header;
  • Step 34 The first device sends the downlink data packet encapsulated in the Ethernet format. Give the STA.
  • the first device may be an AP, and may be a thin AP, or may be a CPE.
  • Figure 4 is a schematic diagram of the internal processing of the Layer 3 forwarding of the thin AP.
  • the wifi module receives the uplink data packet sent by the STA, and the uplink data packet is a Layer 2 data packet encapsulated with an Ethernet header, and the STAs may use a Service Set Identifier (SSID).
  • SSID Service Set Identifier
  • the virtual local area network (VLAN) is isolated. For example, one STA has SSID1 and VLAN1, and the other STA has SSID2 and VLAN2.
  • the MAC layer processing module can strip the Ethernet header and record the Ethernet header.
  • the Ethernet header can include: a source MAC address, a destination MAC address, and a VLAN. Information, etc.
  • the source MAC address is the MAC address of the STA
  • the destination MAC address is the MAC address of the gateway, such as the MAC address of the BRAS.
  • the MAC layer processing module of the thin AP can send the uplink data packet stripped off the Ethernet header to the NAT module of the thin AP.
  • the NAT module of the thin AP performs the first NAT on the uplink data packet stripped from the Ethernet header.
  • the first NAT means that the source IP address in the uplink data packet is replaced by the IP address of the STA as the IP address of the thin AP, and the source port number is replaced by the port number of the STA as the port number of the thin AP.
  • the destination IP address and destination port number of the upstream data packet are unchanged. They are the IP address and port number of the service server accessed by the user, for example, the IP address of the Session Initiation Protocol (SIP) server. The port number.
  • the NAT module can also record a NAT entry, which records the replacement IP address and the correspondence between the port numbers.
  • the NAT module of the thin AP sends the uplink data packet of the first NAT to the routing module, and the routing module searches the routing table according to the destination IP address to find the next hop for routing and forwarding.
  • the next hop of the thin AP is the CPE. Therefore, the routing module sends the uplink data packet after the first NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the Ethernet header.
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the thin AP, and the destination MAC address is the MAC address of the CPE.
  • the MAC layer processing module of the thin AP sends the uplink data packet of the Ethernet encapsulation to the CPE, and sends the packet to the LTE network via the CPE.
  • the MAC layer processing module of the thin AP receives the downlink number forwarded by the CPE.
  • the downlink data packet sent by the LTE network is a Layer 3 packet
  • the Layer 3 packet is a packet encapsulated in an IP format, that is, a data packet encapsulated with at least an IP header.
  • the CPE After receiving the Layer 3 packet sent by the LTE network, the CPE first performs NAT on the Layer 3 packet, and replaces the destination IP address and the destination port number with the IP address of the AP and the port number of the thin AP, respectively.
  • the downlink data packet is encapsulated in Ethernet.
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the CPE
  • the destination MAC address is the MAC address of the thin AP.
  • the MAC layer processing module of the thin AP strips off the Ethernet header of the CPE, and sends the downlink data packet stripped from the Ethernet header to the NAT module of the thin AP.
  • the NAT module of the thin AP performs the second NAT, and the destination IP address in the downlink data packet is converted from the IP address of the thin AP to the IP address of the STA, and the destination port number is replaced by the port number of the thin AP to the port number of the STA.
  • the NAT module can perform the above replacement according to the previously recorded NAT entry.
  • the NAT module of the thin AP sends the downlink data packet after the second NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the received downlink data packet according to the recorded Ethernet header.
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded MAC header
  • the source MAC address of the encapsulated Ethernet header is the destination MAC address of the recorded MAC header, that is, the encapsulated Ethernet header
  • the destination MAC address is the MAC address of the STA
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the BRAS.
  • the MAC layer processing module of the thin AP sends the downlink data packet of the Ethernet encapsulation to the STA through the wifi module.
  • the thin AP can establish a control channel with the AC through the Control and Provisioning of Wireless Access Points Protocol (CAPWAP) module to transmit control information, or when the thin AP recognizes that the STA sends the dynamic information.
  • CAPWAP Wireless Access Points Protocol
  • the DHCP server or the address resolution protocol (ARP) sends the DHCP packets or ARP packets to the AC.
  • the MAC layer processing module of the CPE receives the uplink data packet encapsulated with the Ethernet header sent by the thin AP, and strips the Ethernet header, and records the Ethernet header, and the Ethernet header may include : Source MAC address, destination MAC address information, etc.
  • the source MAC address is the MAC address of the STA
  • the destination MAC address is the MAC address of the BRAS. Will be stripped off
  • the NAT module of the CPE performs the first NAT on the uplink data packet stripped from the Ethernet header.
  • the source IP address of the uplink data is translated from the IP address of the STA to the IP address of the CPE, and the source port number is replaced by the port number of the STA to the port number of the CPE, and the NAT entry can be recorded. Record the correspondence between the replaced IP address and the port number.
  • the NAT module sends the uplink data packet after the first NAT to the LTE module (Modem), and the LTE module forwards the packet to the uplink data packet after the first NAT in the LTE air interface.
  • the LTE module When the downlink data is transmitted, the LTE module receives the downlink data packet sent by the LTE air interface, and the downlink data packet is a Layer 3 packet, and then sent to the NAT module of the CPE.
  • the NAT module of the CPE can perform the second NAT on the received downlink data packet according to the previously recorded NAT entry, that is, the destination IP address in the downlink data packet is replaced by the IP address of the CPE as the IP address of the STA, and the destination port is used. The number is replaced by the port number of the CPE as the port number of the STA. Then, the downlink data packet after the second NAT is sent to the MAC layer processing module of the CPE.
  • the MAC layer processing module of the CPE encapsulates the Ethernet header for the downlink data packet after the second NAT according to the previously recorded Ethernet header.
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header.
  • the source MAC address of the encapsulated Ethernet is the destination MAC address of the recorded Ethernet header, that is, the destination MAC address of the encapsulated Ethernet header is the MAC address of the STA, and the source MAC address is the MAC address of the BRAS.
  • FIG. 6 is a schematic flowchart of another embodiment of a Layer 3 local forwarding method according to the present invention.
  • This example uses a thin AP to strip the Ethernet header and NAT as an example.
  • This embodiment includes:
  • Step 601 The CPE completes the LTE network access process.
  • Step 602 The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
  • Step 603 The thin AP discovers and selects AC.
  • Step 604 The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
  • Step 605 The AC configures parameters for the thin AP.
  • the AC sends an SSID and a VLAN based on a virtual access point (VAP) to isolate users.
  • VAP virtual access point
  • Step 606 The STA sends a WLAN association request to the thin AP.
  • Step 607 The thin AP notifies the AC STA association to complete the STA configuration.
  • Step 608 The STA completes the IP address obtaining and authentication process through the tunnel.
  • the STA initiates a DHCP request, and the thin AP sends the DHCP request from the CAPWAP tunnel. It is sent to the AC, which is then sent by the AC to the BRAS.
  • the BRAS assigns an IP address to the STA.
  • the AAA server can complete WLAN side authentication for the STA.
  • Step 609 After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
  • the above steps 603 to 609 are normal STA access WLAN processes. For details, refer to the existing process.
  • the AC can also notify the thin AP whether to enable Layer 2 forwarding or Layer 3 forwarding.
  • Step 610 After determining that the local forwarding function is Layer 3 forwarding, the thin AP performs stripping Ethernet headers, NAT processing, and re-encapsulating the Ethernet headers, and then forwarding the Ethernet headers to the CPE.
  • the thin AP can determine whether it is Layer 2 forwarding or Layer 3 forwarding according to the indication of the AC; or
  • a thin AP can also be configured locally.
  • the local configuration uses Layer 3 forwarding or Layer 2 forwarding. If it is a three-layer forwarding, the three-layer forwarding process according to the embodiment of the present invention is used. If the layer 2 forwarding is used, the prior art process can be used.
  • Step 611 The CPE performs stripping Ethernet header and NAT processing on the received uplink data packet, and sends the processed uplink data to the Internet through an LTE evolved Packet Network-EPC (EPC).
  • EPC evolved Packet Network-EPC
  • the CPE may first strip the Ethernet header encapsulated by the thin AP and perform NAT on the uplink data packet of the stripped Ethernet header, that is, the source IP address and the source port number of the uplink data packet are respectively determined by the STA's IP address and The port number is replaced with the IP address and port number of the CPE, and then sent to the Internet through the LTE network.
  • the CPE can also record stripped Ethernet headers for downstream packaging.
  • the following processes may be included:
  • the CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated in an IP format (or a packet header encapsulated with an IP header or more);
  • the CPE performs NAT on the downlink data packet encapsulated in the IP format, and uses the Ethernet format encapsulation (or the encapsulated Ethernet header) to send the downlink data packet of the NAT and the encapsulated Ethernet header to the AP.
  • the destination IP address of the downstream data packet is replaced by the IP address of the CPE to the IP address of the AP, and the destination port number is replaced by the port number of the CPE as the port number of the AP.
  • the conversion can be based on the NAT recorded in the uplink.
  • the entry determines the corresponding replacement relationship. Seal Address, the encapsulated Ethernet header can be determined based on the Ethernet header recorded at the upstream.
  • the AP encapsulates the corresponding Ethernet header for the downlink data packet after the NAT according to the Ethernet header recorded in the uplink; it is understood that, in this embodiment, the first NAT refers to the thinning in step 610.
  • the NAT processing of the uplink data packet by the AP is the NAT processing performed by the CPE on the uplink data packet in the step 611, and the second NAT is the NAT processing performed by the thin AP on the downlink data packet, and the fourth NAT refers to the NAT processing performed by the CPE on downlink data packets.
  • the AP in this embodiment can strip the Ethernet header and perform NAT on the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
  • FIG. 7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • a CPE stripping Ethernet header and a NAT are taken as an example.
  • This embodiment includes:
  • Step 701 The CPE completes the LTE network access process.
  • Step 702 The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
  • Step 703 The thin AP discovers and selects AC.
  • Step 704 The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
  • Step 705 The AC configures parameters for the thin AP.
  • Step 706 The STA sends a WLAN association request to the thin AP.
  • Step 707 The thin AP notifies the AC STA association to complete the STA configuration.
  • Step 708 The STA completes the IP address obtaining and authentication process through the tunnel.
  • Step 709 After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
  • steps 701 709 For details of the above steps 701 709, refer to step 601 609.
  • Step 710 After starting the local forwarding function, the thin AP follows the Layer 2 local forwarding mode.
  • the uplink data packet sent by the STA is sent to the CPE.
  • the thin AP sends a DHCP packet or an ARP packet to the AC through the CAPWAP tunnel.
  • Step 711 The CPE performs stripping Ethernet header and NAT processing on the uplink data, and then sends the data to the Internet through the LTE EPC network.
  • the CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated with a header above the IP header;
  • the CPE performs NAT, that is, the destination IP address is replaced with the IP address of the STA by the IP address of the CPE, and the port number of the CPE is replaced by the port number of the STA, and the CPE is based on the recorded NAT entry.
  • the Ethernet header recorded in the uplink, and the corresponding Ethernet header is encapsulated in the downlink data packet after the NAT;
  • the AP sends the downlink data packet to the corresponding STA through the Layer 2 forwarding mode according to the information of the Ethernet header.
  • the first NAT refers to the NAT processing performed by the CPE on the uplink data packet in the step 711
  • the second NAT refers to the NAT processing performed by the CPE on the downlink data packet.
  • the CPE in this embodiment can strip the Ethernet header and perform NAT on the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
  • FIG. 8 is a schematic structural diagram of an embodiment of a three-layer local forwarding device according to the present invention.
  • the device may be a device that performs the foregoing method, and the device includes a first receiving module 81, a first processing module 82, a second processing module 83, and a first
  • the sending module 84 is configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the destination of the Ethernet header is included.
  • the MAC address is not the MAC address of the first device; the first processing module 82 is configured to strip the Ethernet header of the uplink data packet, obtain an uplink data packet with the Ethernet header stripped, and record the The second processing module 83 is configured to perform the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the stripping
  • the source IP address in the uplink data packet of the Ethernet header is replaced by the IP address of the STA as the IP address of the first device, and the source port in the uplink data of the Ethernet header is stripped No.
  • the device may further include:
  • a second receiving module configured to receive a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated with a packet header above an IP header;
  • the third processing module is configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header
  • the MAC address is the destination MAC address of the recorded Ethernet header
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header
  • the second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device is an AP
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
  • the first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and is stripped by the CPE.
  • the Ethernet header is sent to the LTE network after performing the third NAT.
  • the device is a CPE
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
  • the first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
  • the device is an AP
  • the second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE pair
  • the downlink data packet sent by the LTE network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format.
  • the third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
  • the first device is a CPE
  • the second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
  • the second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
  • the device may further include:
  • the determining module is configured to determine whether to use the three-layer local forwarding mode, and to perform the three-layer local forwarding mode when determining that the three-layer local forwarding mode is used, and the determining whether to use the three-layer local forwarding mode includes:
  • the indication information is used to indicate whether the indication of the three-layer local forwarding mode is used, and whether the three-layer local forwarding mode is used according to the indication information;
  • whether the configuration information of the Layer 3 local forwarding mode is used, and whether the Layer 3 local forwarding mode is used is determined according to the configuration information.
  • the device may further include:
  • the third sending module is configured to send the ARP packet or the DHCP packet to the AC and describe the uplink data packet by using the CAPWAP tunnel when the packet sent by the STA is an ARP packet or a DHCP packet.
  • the functions performed by the first receiving module and the second sending module in this embodiment are completed by the wifi module in FIG. 4, and the first processing module, the second receiving module, and the fourth
  • the function completed by the processing module can be completed by the MAC layer processing module in FIG. 4, and the functions performed by the second processing module and the third processing module can be completed by the NAT module in FIG. 4, and the function performed by the first sending module can be performed by FIG. 4
  • the routing module and the MAC layer processing module are completed.
  • the first receiving module, the first processing module, and the first The functions performed by the four processing modules and the second sending module may be completed by the MAC layer processing module in FIG. 5, and the functions performed by the second processing module and the third processing module may be completed by the NAT module in FIG. 5, the first sending module and The functions performed by the second receiving module can be completed by the LTE module in FIG.
  • the Ethernet header can be stripped and the NAT can be performed in the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the
  • the LTE network supports the LTE network as a backhaul network.
  • FIG. 9 is a schematic structural diagram of another embodiment of a three-layer local forwarding device according to the present invention.
  • the device may be a device that performs the foregoing method.
  • the device includes a transceiver 91 and a processor 92, and the transceiver 91 is configured to receive uplink data sent by the STA.
  • the packet is encapsulated in an Ethernet format, and the header is an Ethernet header.
  • the destination MAC address of the Ethernet header is not the MAC address of the first device, and the processor 92 is used for stripping.
  • the Ethernet header of the uplink data packet is obtained by stripping an uplink data packet of the Ethernet header, and recording the Ethernet header; performing first NAT on the uplink data packet stripped from the Ethernet header Obtaining an uplink data packet after the first NAT, where the first NAT is to replace the source IP address in the uplink data packet with the stripped Ethernet header from the IP address of the STA to the first device. IP address, and the source port number in the uplink data packet stripped from the Ethernet header is replaced by the port number of the STA as the port number of the first device; the transceiver 91 is also used to After the first NAT uplink data packet to the LTE network.
  • the transceiver 91 is further configured to receive the downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format.
  • the processor 92 is further configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the first downlink packet of the second NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the purpose of the recorded Ethernet header.
  • a MAC address, and a destination MAC address of the encapsulated Ethernet header is a source MAC address of the recorded Ethernet header;
  • the transceiver 91 is further configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device may be an AP, and the transceiver 91 may be specifically configured to receive an Ethernet packet sent by the STA through the second layer.
  • the processor 92 is further configured to: send the uplink data packet after the first NAT. Encapsulated in the Ethernet format, the packet header is an Ethernet header, the source MAC address of the encapsulated Ethernet header is the MAC address of the first device, and the destination MAC address of the encapsulated Ethernet header is the MAC of the CPE. address;
  • the transceiver 91 is specifically configured to send the uplink data packet encapsulated in the Ethernet format to the CPE, and the CPE strips the Ethernet header and sends the third NAT to the LTE network.
  • the device is a CPE
  • the transceiver 91 is specifically configured to receive an Ethernet packet sent by the STA by using an AP, where the Ethernet packet is forwarded by the AP to the CPE.
  • the uplink data packet after the first NAT is sent to the LTE network.
  • the device is an AP
  • the transceiver 91 is configured to receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE to the LTE.
  • the downlink data packet sent by the network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format; the processor 92 is also used for
  • the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format is stripped to perform the second NAT on the downlink data packet stripped from the Ethernet header.
  • the device is a CPE
  • the transceiver 91 is configured to receive the downlink data packet encapsulated in the IP format sent by the LTE network, and send the downlink data packet encapsulated in the Ethernet format to the The AP is forwarded by the AP to the STA.
  • the processor 92 is further configured to determine whether to use the Layer 3 local forwarding mode, and when determining that the Layer 3 local forwarding mode is used, performing the Layer 3 local forwarding, where the determining whether to use Layer 3 local forwarding Ways include:
  • the configuration information of the Layer 3 local forwarding mode is used to determine whether to use the Layer 3 local forwarding mode according to the configuration information.
  • the processor 92 is further configured to send, by using the CAPWAP tunnel, the ARP packet or the DHCP packet to send the uplink data packet, when the message sent by the STA is an ARP file or a DHCP message.
  • the above transceiver may be an independent transmitter and receiver, respectively performing a transmitting function and a receiving function, or may be a device that is combined to specifically transmit a function and a receiving function.
  • the network cable, the optical fiber, or the antenna may be used.
  • the antenna may be a linear antenna, a loop antenna, an array antenna, or the like.
  • the above processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • a general purpose processor can be a microprocessor or any conventional processor.
  • the device may also include a memory, which may be a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, and the like.
  • a bus system may be included, and the bus system includes, for example, a data bus, a power bus, a control bus, or a status signal bus.
  • the Ethernet header can be stripped and the NAT can be performed in the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the
  • the LTE network supports the LTE network as a backhaul network.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose which one according to your actual needs. Some or all of the units implement the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Abstract

Provided are a three-layer local forwarding method and device, the method comprising: receiving an uplink data packet transmitted by an STA, the uplink data packet being encapsulated in an Ethernet format, and the packet header being an Ethernet header; stripping the Ethernet header of the uplink data packet to acquire an uplink data packet having the Ethernet header stripped, and recording the Ethernet header; conducting first NAT on the uplink data packet having the Ethernet header stripped to acquire an uplink data packet after the first NAT; and transmitting the uplink data packet after the first NAT to an LTE network. An embodiment of the present invention realizes three-layer local forwarding, and can in turn cooperate with an LTE return network.

Description

三层本地转发方法和设备 本申请要求 2012 年 10 月 30 日提交中国专利局、 申请号为 201210423913.5 , 发明名称为《三层本地转发方法和设备》的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及无线通信技术, 尤其涉及一种三层本地转发方法和设备。 背景技术 无线局域网 ( Wireless Local Area network, WLAN )组网模式有胖无线 接入点( Access Point, AP )和瘦 AP两种架构。 瘦 AP架构下, 瘦 AP和无 线控制器 ( Access Controller, AC )组成集中管理架构, 瘦 AP "零配置", 只实现 802.11的空口功能, 所有配置都集中到 AC上, AC集中实现安全认 证、 服务质量( Quality of Service, QoS ), 接入控制、 负载均衡以及 AP的 控制管理等功能。 瘦 AP+AC的组网架构下, 有两种数据转发模式, 一种是 本地转发, 另一种是集中转发。 集中转发是指瘦 AP和 AC之间建立数据隧 道, 瘦 AP将其下所有用户的数据报文通过数据隧道发送到 AC, 由 AC进 行统一转发。本地转发是指 AC和瘦 AP之间只建立控制通道, 网管、认证、 负载均衡等功能还是由 AC统一控制, 再由瘦 AP具体实施, 用户的数据报 文不再通过隧道传送给 AC, 而是由 AP本地转发。  Three-layer local forwarding method and device The present application claims priority to Chinese patent application filed on October 30, 2012, the Chinese Patent Office, the application number is 201210423913.5, and the invention name is "three-layer local forwarding method and device", the entire content of which is The citations are incorporated herein by reference. TECHNICAL FIELD The present invention relates to wireless communication technologies, and in particular, to a Layer 3 local forwarding method and device. A wireless local area network (WLAN) networking mode includes a fat access point (AP) and a thin AP. In the thin AP architecture, the thin AP and the wireless controller (Access Controller, AC) form a centralized management architecture. The thin AP "zero configuration" only implements the 802.11 air interface function. All configurations are centralized on the AC. Quality of Service (QoS), access control, load balancing, and AP control management. Under the networking structure of the thin AP+AC, there are two data forwarding modes, one is local forwarding and the other is centralized forwarding. Centralized forwarding means that a data tunnel is established between the thin AP and the AC. The thin AP sends data packets of all users to the AC through the data tunnel, and is forwarded by the AC. Local forwarding means that only the control channel is established between the AC and the thin AP. The functions of the network management, the authentication, and the load balancing are controlled by the AC. The data is transmitted to the AC through the tunnel. It is forwarded locally by the AP.
目前瘦 AP使用本地转发的回传网络主要为固定网络,仅支持 2层本地 转发, 2 层本地转发时封装 WLAN 用户的数据面报文时携带以太网 At present, the backhaul network that uses local forwarding for thin APs is mainly a fixed network, which only supports Layer 2 local forwarding. When Layer 2 local forwarding encapsulates data plane packets of WLAN users, it carries Ethernet.
( ethernet, eth ) 头, 通过 eth头完成 4艮文的上下行转发。 ( ethernet, eth ) header, through the eth header to complete the 4 艮 text of the uplink and downlink forwarding.
随着移动宽带的发展, WLAN可以使用长期演进( Long Term Evolution, With the development of mobile broadband, WLAN can use Long Term Evolution (Long Term Evolution,
LTE )作为回传网络。 由于 LTE 是三层网络, 空口只能封装互联网协议LTE) as a backhaul network. Since LTE is a Layer 3 network, air interfaces can only encapsulate Internet protocols.
( Internet Protocol, IP ) 头以上的报文, 不能封装携带 eth头的报文。 而目 前瘦 AP普遍仅支持 2层本地转发, 依赖 eth头进行报文处理, 导致目前瘦(Internet Protocol, IP) Packets above the header cannot encapsulate packets carrying the eth header. Currently, thin APs generally only support Layer 2 local forwarding, relying on eth headers for message processing, resulting in thinning at present.
AP本地转发模式还无法配合 LTE回传网络。 发明内容 有鉴于此, 本发明实施例提供了一种三层本地转发方法和设备, 用以 实现三层本地转发, 进而可以配合 LTE回传网络。 第一方面, 提供了一种三层本地转发方法, 包括: The AP local forwarding mode cannot cooperate with the LTE backhaul network. SUMMARY OF THE INVENTION In view of this, an embodiment of the present invention provides a Layer 3 local forwarding method and device, which is used to implement Layer 3 local forwarding, and thus can cooperate with an LTE backhaul network. In a first aspect, a three-layer local forwarding method is provided, including:
第一设备接收 STA发送的上行数据报文, 所述上行数据报文釆用以太 网格式封装,报文头为以太网头, 所述以太网头包括的目的 MAC地址为非 所述第一设备的 MAC地址;  The first device receives the uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not the first device. MAC address;
所述第一设备剥离所述上行数据报文的所述以太网头, 得到剥离了以 太网头的上行数据 文, 并记录所述以太网头;  The first device strips the Ethernet header of the uplink data packet, obtains an uplink data file stripped of the Ethernet header, and records the Ethernet header;
所述第一设备对所述剥离了以太网头的上行数据报文进行第一 NAT得 到第一 NAT后的上行数据报文,所述第一 NAT是指将所述剥离了以太网头 的上行数据报文中的源 IP地址由所述 STA的 IP地址替换为所述第一设备 的 IP地址, 以及将所述剥离了以太网头的上行数据 "^文中的源端口号由所 述 STA的端口号替换为所述第一设备的端口号;  The first device performs the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the uplink that strips the Ethernet header. The source IP address in the data packet is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is used by the STA. The port number is replaced with the port number of the first device;
所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE网络。 结合第一方面, 在第一方面的第一种可能的实现方式中, 还包括: 所述第一设备接收所述 LTE网络发送的下行数据报文, 所述下行数据 报文釆用 IP格式封装;  The first device sends the uplink data packet after the first NAT to the LTE network. With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes: the first device receiving a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format ;
所述第一设备对所述下行数据报文进行第二 NAT,得到第二 NAT后的 下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地址由 所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行数据 报文的目的端口号由所述第一设备的端口号替换为所述 STA的端口号; 所述第一设备根据记录的以太网头, 对所述第二 NAT后的下行数据报 文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述封装的以太 网头的目的 MAC地址为所述记录的以太网头的源 MAC地址;  The first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the first The IP address of the device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA; The recorded Ethernet header encapsulates the downlink data packet after the second NAT in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the recorded Ethernet The destination MAC address of the network header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
STA。 STA.
结合第一方面, 在第一方面的第二种可能的实现方式中, 所述第一设 备为接入点 AP; With reference to the first aspect, in a second possible implementation manner of the first aspect, the first Prepared as an access point AP;
所述第一设备接收 STA发送的上行数据报文, 包括:  Receiving, by the first device, an uplink data packet sent by the STA, where
所述 AP接收所述 STA通过二层发送的以太网报文;  Receiving, by the AP, an Ethernet packet sent by the STA through Layer 2;
所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE网络, 包 括:  The first device sends the uplink data packet after the first NAT to the LTE network, including:
所述 AP对所述第一 NAT后的上行数据报文釆用以太网格式封装, 报 文头为以太网头, 所述封装的以太网头的源 MAC地址为所述第一设备的 MAC地址,所述封装的以太网头的目的 MAC地址为用户驻地设备 CPE的 MAC地址; 由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The uplink data packet of the AP after the first NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the MAC address of the first device. The destination MAC address of the encapsulated Ethernet header is the MAC address of the customer premises equipment CPE; the Ethernet header is stripped by the CPE and sent to the LTE network after performing the third NAT.
结合第一方面, 在第一方面的第三种可能的实现方式中, 所述第一设 备为 CPE;  With reference to the first aspect, in a third possible implementation manner of the first aspect, the first device is a CPE;
所述第一设备接收 STA发送的上行数据报文, 包括:  Receiving, by the first device, an uplink data packet sent by the STA, where
所述 CPE接收所述 STA经由 AP发送的以太网报文, 所述以太网报文 由所述 AP进行二层转发给所述 CPE;  The CPE receives an Ethernet packet sent by the STA via the AP, and the Ethernet packet is forwarded by the AP to the CPE.
所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE网络, 包 括:  The first device sends the uplink data packet after the first NAT to the LTE network, including:
所述 CPE将所述第一 NAT后的上行数据报文发送给 LTE 网络。  The CPE sends the uplink data packet after the first NAT to the LTE network.
结合第一方面的第一种可能的实现方式, 在第一方面的第四种可能的 实现方式中, 所述第一设备为 AP;  With reference to the first possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the first device is an AP;
所述第一设备接收所述 LTE网络发送的下行数据报文, 包括: 所述 AP接收 CPE发送的釆用以太网格式封装的下行数据报文, 所述 据报文进行第四 NAT以及釆用以太网格式封装后得到的,所述 LTE网络发 送的下行数据报文为釆用 IP格式封装的下行数据报文;  Receiving, by the first device, the downlink data packet sent by the LTE network, the method includes: the AP receiving, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the data packet is subjected to the fourth NAT and the data is used. After the Ethernet format is encapsulated, the downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format.
所述第一设备对所述下行数据报文进行第二 NAT之前, 所述方法还包 括:  Before the first device performs the second NAT on the downlink data packet, the method further includes:
所述 AP剥离所述 CPE发送的釆用以太网格式封装的下行数据报文的 以太网头,以便对剥离了以太网头的所述下行数据报文进行所述第二 NAT。  The AP strips the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulates the Ethernet packet, so that the second NAT is performed on the downlink data packet stripped from the Ethernet header.
结合第一方面的第一种可能的实现方式, 在第一方面的第五种可能的 实现方式中, 所述第一设备为 CPE; In combination with the first possible implementation of the first aspect, the fifth possible aspect of the first aspect In an implementation manner, the first device is a CPE;
所述第一设备接收所述 LTE网络发送的下行数据报文, 包括:
Figure imgf000005_0001
Receiving, by the first device, the downlink data packet sent by the LTE network, where
Figure imgf000005_0001
STA, 包括:  STA, including:
所述 CPE将釆用
Figure imgf000005_0002
The CPE will be used
Figure imgf000005_0002
由所述 AP进行二层转发给所述 STA。 Layer 2 forwarding is performed by the AP to the STA.
结合第一方面的第二种或第四种可能的实现方式, 在第一方面的第六 种可能的实现方式中, 所述第一设备接收 STA发送的上行数据报文之前, 所述方法还包括:  With reference to the second or fourth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, before the receiving, by the first device, the uplink data packet sent by the STA, Includes:
所述 AP在识别出 STA发送的报文为地址解析协议 ARP报文或者动态 主机配置协议 DHCP 文时,通过无线接入点控制协议 CAPWAP隧道将所 述 ARP报文或者 DHCP报文发送给 AC, 以便所述 STA根据所述 ARP报 文或者 DHCP报文获取地址信息后发送上行数据报文。  The AP sends the ARP packet or the DHCP packet to the AC through the CAPWAP tunnel of the wireless access point control protocol when the packet sent by the STA is an address resolution protocol ARP packet or a dynamic host configuration protocol DHCP message. The STA sends an uplink data packet according to the ARP packet or the DHCP packet.
第二方面, 提供了一种三层本地转发设备, 包括:  In a second aspect, a Layer 3 local forwarding device is provided, including:
第一接收模块, 用于接收 STA发送的上行数据报文, 所述上行数据报 文釆用以太网格式封装, 报文头为以太网头, 所述以太网头包括的目的 MAC地址为非所述第一设备的 MAC地址;  a first receiving module, configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not Describe the MAC address of the first device;
第一处理模块, 用于剥离所述上行数据报文的所述以太网头, 得到剥 离了以太网头的上行数据 文, 并记录所述以太网头;  a first processing module, configured to strip the Ethernet header of the uplink data packet, obtain an uplink data file that is stripped of the Ethernet header, and record the Ethernet header;
第二处理模块, 用于对所述剥离了以太网头的上行数据报文进行第一 NAT得到第一 NAT后的上行数据报文, 所述第一 NAT是指将所述剥离了 以太网头的上行数据 4艮文中的源 IP地址由所述 STA的 IP地址替换为所述 第一设备的 IP地址, 以及将所述剥离了以太网头的上行数据 >¾文中的源端 口号由所述 STA的端口号替换为所述第一设备的端口号;  a second processing module, configured to perform, by performing a first NAT on the uplink data packet stripped from the Ethernet header, to obtain an uplink data packet after the first NAT, where the first NAT refers to stripping the Ethernet header The source IP address in the uplink data is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is described by The port number of the STA is replaced with the port number of the first device;
第一发送模块,用于将所述第一 NAT后的上行数据报文发送给 LTE网 络。  The first sending module is configured to send the uplink data packet after the first NAT to the LTE network.
结合第二方面, 在第二方面的第一种可能的实现方式中, 还包括: 第二接收模块, 用于接收所述 LTE网络发送的下行数据报文, 所述下 行数据报文釆用 IP格式封装;  With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes: a second receiving module, configured to receive a downlink data packet sent by the LTE network, where the downlink data packet uses an IP address Format package
第三处理模块,用于对所述下行数据报文进行第二 NAT ,得到第二 NAT 后的下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地 址由所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行 数据报文的目的端口号由所述第一设备的端口号替换为所述 STA 的端口 号; a third processing module, configured to perform a second NAT on the downlink data packet to obtain a second NAT a downlink data packet, where the second NAT is to replace the destination IP address of the downlink data packet with the IP address of the first device, and the downlink data packet. The destination port number of the text is replaced by the port number of the first device to the port number of the STA;
第四处理模块, 用于根据记录的以太网头, 对所述第二 NAT后的下行 数据报文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头 的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述封装的 以太网头的目的 MAC地址为所述记录的以太网头的源 MAC地址;  The fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header The MAC address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
第二发送模块, 用于将釆用以太网格式封装后的下行数据报文发送给 所述 STA。  The second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
结合第二方面, 在第二方面的第二种可能的实现方式中, 所述设备为 接入点 AP;  With reference to the second aspect, in a second possible implementation manner of the second aspect, the device is an access point AP;
所述第一接收模块具体用于: 接收所述 STA通过二层发送的以太网报 文;  The first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
所述第一发送模块具体用于: 对所述第一 NAT后的上行数据报文釆用 以太网格式封装,报文头为以太网头, 所述封装的以太网头的源 MAC地址 为所述第一设备的 MAC地址, 所述封装的以太网头的目的标 MAC地址为 CPE的 MAC地址; 将釆用以太网格式封装后的上行数据报文发送给所述 CPE, 并由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and the CPE is used by the CPE. The Ethernet header is stripped and sent to the LTE network after performing the third NAT.
结合第二方面, 在第二方面的第三种可能的实现方式中, 所述设备为 用户驻地设备 CPE;  With reference to the second aspect, in a third possible implementation manner of the second aspect, the device is a user premises equipment CPE;
所述第一接收模块具体用于: 接收所述 STA经由 AP发送的以太网报 文, 所述以太网报文由所述 AP进行二层转发给所述 CPE;  The first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
所述第一发送模块具体用于: 将所述第一 NAT后的上行数据报文发送 给 LTE 网络。  The first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
结合第二方面的第一种可能的实现方式, 在第二方面的第四种可能的 实现方式中, 所述设备为 AP;  With reference to the first possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the device is an AP;
所述第二接收模块具体用于: 接收 CPE发送的釆用以太网格式封装的 下行数据报文, 所述釆用以太网格式封装的下行数据报文为所述 CPE对 LTE网络发送的下行数据报文进行第四 NAT以及釆用以太网格式封装后得 到的,所述 LTE网络发送的下行数据报文为釆用 IP格式封装的下行数据报 文; The second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the downlink data sent by the CPE to the LTE network The packet is subjected to the fourth NAT and is encapsulated in an Ethernet format. The downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format. Text
所述第三处理模块还用于: 剥离所述 CPE发送的釆用以太网格式封装 的下行数据报文的以太网头, 以便对剥离了以太网头的所述下行数据报文 进行所述第二 NAT。  The third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
结合第二方面的第一种可能的实现方式, 在第二方面的第五种可能的 实现方式中, 所述第一设备为 CPE;  With reference to the first possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, the first device is a CPE;
所述第二接收模块具体用于:接收所述 LTE网络发送的釆用 IP格式封 装的下行数据报文;  The second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
所述第二发送模块具体用于: 将釆用以太网格式封装后的下行数据报 文发送给所述 AP, 并由所述 AP进行二层转发给所述 STA。  The second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
结合第二方面的第二种或第四种可能的实现方式, 在第二方面的第六 种可能的实现方式中, 还包括:  In conjunction with the second or fourth possible implementation of the second aspect, in a sixth possible implementation of the second aspect, the method further includes:
第三发送模块,用于在识别出 STA发送的报文为 ARP报文或者 DHCP 才艮文时,通过无线接入点控制协议 CAPWAP隧道将所述地址解析协议 ARP 报文或者动态主机配置协议 DHCP报文发送给 AC, 以便所述 STA根据所 述 ARP报文或者 DHCP报文获取地址信息后发送所述上行数据报文。  The third sending module is configured to: when the packet sent by the STA is an ARP packet or a DHCP packet, the address resolution protocol ARP packet or the dynamic host configuration protocol DHCP is obtained through a wireless access point control protocol CAPWAP tunnel. The packet is sent to the AC, so that the STA obtains the address information according to the ARP packet or the DHCP packet, and then sends the uplink data packet.
通过上述技术方案, 可以对 STA的上行报文进行三层本地转发, 实现 对 LTE回传网络的支持。  Through the foregoing technical solution, the uplink packet of the STA can be forwarded in three layers to implement support for the LTE backhaul network.
附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述 中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明中 LTE作为 WLAN回传网络的组网示意图; BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, a brief description of the drawings to be used in the description of the embodiments will be briefly made. It is obvious that the drawings in the following description are some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative labor. FIG. 1 is a schematic diagram of networking of LTE as a WLAN backhaul network according to the present invention;
图 2为本发明三层本地转发方法一实施例的流程示意图;  2 is a schematic flowchart of an embodiment of a three-layer local forwarding method according to the present invention;
图 3为本发明三层本地转发方法另一实施例的流程示意图;  3 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention;
图 4为本发明中瘦 AP的三层转发内部处理示意图;  4 is a schematic diagram of internal processing of a three-layer forwarding of a thin AP according to the present invention;
图 5为本发明中 CPE的三层转发内部处理示意图; 图 6为本发明三层本地转发方法另一实施例的流程示意图; FIG. 5 is a schematic diagram of internal processing of a three-layer forwarding of a CPE according to the present invention; FIG. 6 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention;
图 7为本发明三层本地转发方法另一实施例的流程示意图;  7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention;
图 8为本发明三层本地转发设备一实施例的流程示意图;  8 is a schematic flowchart of an embodiment of a Layer 3 local forwarding device according to the present invention;
图 9为本发明三层本地转发方法另一实施例的流程示意图。  FIG. 9 is a schematic flowchart diagram of another embodiment of a three-layer local forwarding method according to the present invention.
具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
随着用户对数据业务的需求曰益增强, 全球运营商都在着手于 LTE网 络的部署, 为用户提供更好的移动宽带体验。 但是, LTE产业链相对滞后, LTE智能终端还不普及, 为了降低 LTE网络的终端接入门槛, 同时给用户 提供高速、 流畅的数据业务, 使用 WLAN作为 LTE网络的延伸和用户接入 已经成为运营商们的普通选择, 即用户可以通过 WLAN接入 LTE网络, 享 用 LTE网络的宽带服务。  As users' demand for data services increases, global operators are embarking on the deployment of LTE networks to provide users with a better mobile broadband experience. However, the LTE industry chain is relatively lagging behind, and LTE intelligent terminals are not popular. In order to reduce the terminal access threshold of LTE networks and provide users with high-speed and smooth data services, the use of WLAN as an extension of LTE networks and user access has become an operation. The common choice of the merchants is that users can access the LTE network through the WLAN and enjoy the broadband service of the LTE network.
参见图 1 , 为 LTE作为 WLAN回传网络的组网示意图, 其中, WLAN 网络中包括作为 WLAN终端的站点(Station, STA )和瘦 AP以及 AC, 瘦 AP和 AC之间建立控制通道, 用以转发控制面报文。 瘦 AP可以接入 LTE 网络中的用户驻地设备(Customer Premises Equipment, CPE ), CPE通过 LTE网络中的演进基站( evolved NodeB, eNB ) 以及其它 LTE网络中的设 备可以接入互联网 ( internet )。 核心网中的设备, 如宽带远程接入服务器 ( Broadband Remote Access Server, BRAS )、 入口 ( Portal )月良务器、 认证 授权计费 (Authentication Authorization Accounting, AAA )服务器完成对 STA的接入认证并分配 IP地址。  Referring to FIG. 1 , a schematic diagram of LTE as a WLAN backhaul network, where a WLAN network includes a station (Station, STA) as a WLAN terminal and a thin AP and an AC, and a control channel is established between the thin AP and the AC. Forward control plane messages. The thin AP can access the Customer Premises Equipment (CPE) in the LTE network. The CPE can access the Internet through the evolved NodeB (eNB) in the LTE network and other devices in the LTE network. The devices in the core network, such as the Broadband Remote Access Server (BRAS), the Portal (Portal) server, and the Authentication Authorization Accounting (AAA) server, complete the access authentication for the STA. Assign an IP address.
对于本地转发模式, AC通知 AP启动本地转发功能后, 用户的数据面 报文由 AP直接通过 LTE网络转发, 不需要统一发送给 AC处理。  In the local forwarding mode, after the AC notifies the AP to initiate the local forwarding function, the data plane packets of the user are directly forwarded by the AP through the LTE network.
由于现有技术中 STA发送给 AP的上行数据报文是以太网报文, AP进 行转发时也是釆用二层转发模式, 但是, AP接入 LTE 网络后, 由于 LTE 是三层网络, 不能支持二层报文转发。 为了配合 LTE回传网络, 本发明给 出如下实施例。 The uplink data packet sent by the STA to the AP in the prior art is an Ethernet packet, and the AP enters In the case of the line forwarding, the Layer 2 forwarding mode is also adopted. However, after the AP accesses the LTE network, the LTE is a Layer 3 network and cannot support Layer 2 packet forwarding. In order to cooperate with the LTE backhaul network, the present invention provides the following embodiments.
图 2为本发明三层本地转发方法一实施例的流程示意图, 包括: 步骤 21 : 第一设备接收 STA发送的上行数据报文, 所述上行数据报文 釆用以太网格式封装, 报文头为以太网头, 所述以太网头包括的目的媒体 接入控制 (Media Access Control, MAC )地址为非所述第一设备的 MAC 地址;  2 is a schematic flowchart of a method for a local layer forwarding method according to an embodiment of the present invention, including: Step 21: The first device receives an uplink data packet sent by a STA, and the uplink data packet is encapsulated in an Ethernet format, and the packet header is encapsulated. For the Ethernet header, the destination media access control (MAC) address included in the Ethernet header is not the MAC address of the first device;
步骤 22: 所述第一设备剥离所述上行数据报文的所述以太网头, 得到 剥离了以太网头的上行数据 "^文, 并记录所述以太网头;  Step 22: The first device strips the Ethernet header of the uplink data packet, obtains an uplink data stripped from the Ethernet header, and records the Ethernet header.
步骤 23: 所述第一设备对所述剥离了以太网头的上行数据报文进行第 一网络地址转换( Network Address Translation, NAT ), 得到第一 NAT后的 上行数据报文, 所述第一 NAT是指将所述剥离了以太网头的上行数据报文 中的源 IP地址由所述 STA的 IP地址替换为所述第一设备的 IP地址, 以及 将所述剥离了以太网头的上行数据 >¾文中的源端口号由所述 STA的端口号 替换为所述第一设备的端口号。  Step 23: The first device performs a first network address translation (NAT) on the uplink data packet with the Ethernet header stripped, and obtains an uplink data packet after the first NAT, where the first The NAT means that the source IP address in the uplink data packet stripped from the Ethernet header is replaced by the IP address of the STA to the IP address of the first device, and the uplink of the Ethernet header is stripped. The source port number in the data>3⁄4 text is replaced by the port number of the STA to the port number of the first device.
步骤 24:所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE 网络。  Step 24: The first device sends the uplink data packet after the first NAT to the LTE network.
上述流程是上行流程, 相应地, 下行流程可以如图 3所示, 包括: 步骤 31 : 所述第一设备接收所述 LTE网络发送的下行数据报文, 所述 下行数据报文釆用 IP格式封装;  The foregoing process is an uplink process. Correspondingly, the downlink process may be as shown in FIG. 3, including: Step 31: The first device receives a downlink data packet sent by the LTE network, and the downlink data packet uses an IP format. Package
步骤 32: 所述第一设备对所述下行数据报文进行第二 NAT, 得到第二 NAT后的下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地址由所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述 下行数据报文的目的端口号由所述第一设备的端口号替换为所述 STA的端 口号;  Step 32: The first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT refers to the destination IP address of the downlink data packet. The IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
步骤 33: 所述第一设备根据记录的以太网头,对所述第二 NAT后的下 行数据报文釆用以太网格式封装, 报文头为以太网头, 所述以太网头的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述以太网头的 目的 MAC地址为所述记录的以太网头的源 MAC地址;  Step 33: The first device encapsulates the downlink data packet after the second NAT according to the recorded Ethernet header in an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the Ethernet header The address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the Ethernet header is the source MAC address of the recorded Ethernet header;
步骤 34: 所述第一设备将釆用以太网格式封装后的下行数据报文发送 给所述 STA。 Step 34: The first device sends the downlink data packet encapsulated in the Ethernet format. Give the STA.
上述的第一设备可以为 AP, 具体可以为瘦 AP, 或者, 也可以为 CPE。 当第一设备为瘦 AP时, 参见图 4, 为瘦 AP的三层转发内部处理示意 图。  The first device may be an AP, and may be a thin AP, or may be a CPE. When the first device is a thin AP, refer to Figure 4, which is a schematic diagram of the internal processing of the Layer 3 forwarding of the thin AP.
当上行数据传输时, wifi模块接收 STA发送的上行数据报文, 该上行 数据报文为封装有以太网头的二层数据报文, 不同 STA可以通过服务集标 识( Service Set Identifier, SSID )、虚拟局 i或网 ( Virtual Local Area Network, VLAN )进行隔离, 例如, 一个 STA具有 SSID1和 VLAN1 , 另一个 STA 具有 SSID2和 VLAN2。  When the uplink data is transmitted, the wifi module receives the uplink data packet sent by the STA, and the uplink data packet is a Layer 2 data packet encapsulated with an Ethernet header, and the STAs may use a Service Set Identifier (SSID). The virtual local area network (VLAN) is isolated. For example, one STA has SSID1 and VLAN1, and the other STA has SSID2 and VLAN2.
wifi模块接收到封装有以太网头的上行数据报文后, MAC层处理模块 可以剥离掉该以太网头, 并记录以太网头, 该以太网头可以包括: 源 MAC 地址、 目的 MAC地址、 VLAN信息等。其中,源 MAC地址为 STA的 MAC 地址, 目的 MAC地址为网关的 MAC地址, 如 BRAS的 MAC地址。  After the wifi module receives the uplink data packet encapsulated with the Ethernet header, the MAC layer processing module can strip the Ethernet header and record the Ethernet header. The Ethernet header can include: a source MAC address, a destination MAC address, and a VLAN. Information, etc. The source MAC address is the MAC address of the STA, and the destination MAC address is the MAC address of the gateway, such as the MAC address of the BRAS.
之后, 瘦 AP的 MAC层处理模块可以将剥离掉以太网头的上行数据报 文发送给瘦 AP的 NAT模块。  Afterwards, the MAC layer processing module of the thin AP can send the uplink data packet stripped off the Ethernet header to the NAT module of the thin AP.
瘦 AP的 NAT模块对剥离了以太网头的上行数据报文进行第一 NAT。 将第一 NAT是指将上行数据报文中的源 IP地址由 STA的 IP地址替换为瘦 AP的 IP地址, 将源端口号由 STA的端口号替换为瘦 AP的端口号, 另夕卜, 上行数据报文中的目的 IP地址和目的端口号是保持不变的, 分别为用户访 问的业务服务器的 IP地址和端口号,例如为会话初始协议( Session Initiation Protocol, SIP )服务器的 IP地址和端口号。 NAT模块还可以记录 NAT表项, 该 NAT表项会记录替换的 IP地址以及端口号之间的对应关系。  The NAT module of the thin AP performs the first NAT on the uplink data packet stripped from the Ethernet header. The first NAT means that the source IP address in the uplink data packet is replaced by the IP address of the STA as the IP address of the thin AP, and the source port number is replaced by the port number of the STA as the port number of the thin AP. The destination IP address and destination port number of the upstream data packet are unchanged. They are the IP address and port number of the service server accessed by the user, for example, the IP address of the Session Initiation Protocol (SIP) server. The port number. The NAT module can also record a NAT entry, which records the replacement IP address and the correspondence between the port numbers.
之后瘦 AP的 NAT模块将第一 NAT后的上行数据报文发送给路由模 块, 路由模块根据目的 IP地址查找路由表, 找到下一跳进行路由转发。  Then, the NAT module of the thin AP sends the uplink data packet of the first NAT to the routing module, and the routing module searches the routing table according to the destination IP address to find the next hop for routing and forwarding.
本实施例中, 瘦 AP的下一跳为 CPE, 因此, 路由模块将第一 NAT后 的上行数据报文发送给瘦 AP的 MAC层处理模块, 瘦 AP的 MAC层处理 模块封装以太网头, 此时封装的以太网头的源 MAC地址为瘦 AP的 MAC 地址, 以及目的 MAC地址为 CPE的 MAC地址。  In this embodiment, the next hop of the thin AP is the CPE. Therefore, the routing module sends the uplink data packet after the first NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the Ethernet header. The source MAC address of the encapsulated Ethernet header is the MAC address of the thin AP, and the destination MAC address is the MAC address of the CPE.
之后, 瘦 AP的 MAC层处理模块将完成以太网封装的上行数据报文发 送给 CPE , 并经由 CPE发送给 LTE网络。  After that, the MAC layer processing module of the thin AP sends the uplink data packet of the Ethernet encapsulation to the CPE, and sends the packet to the LTE network via the CPE.
当下行数据传输时,瘦 AP的 MAC层处理模块接收 CPE转发的下行数 据报文, 其中, LTE 网络发送的下行数据报文为三层报文, 该三层报文是 釆用 IP格式封装的报文, 即至少封装有 IP头以上的报文头的数据报文, 当 CPE接收到 LTE网络发送的该三层报文后, 首先对三层报文进行 NAT, 将 目的 IP地址和目的端口号分别替换为 AP的 IP地址和瘦 AP的端口号, 再 对 NAT后的下行数据报文进行以太网封装,此时封装的以太网头的源 MAC 地址为 CPE的 MAC地址, 目的 MAC地址为瘦 AP的 MAC地址。 When the downlink data is transmitted, the MAC layer processing module of the thin AP receives the downlink number forwarded by the CPE. According to the packet, the downlink data packet sent by the LTE network is a Layer 3 packet, and the Layer 3 packet is a packet encapsulated in an IP format, that is, a data packet encapsulated with at least an IP header. After receiving the Layer 3 packet sent by the LTE network, the CPE first performs NAT on the Layer 3 packet, and replaces the destination IP address and the destination port number with the IP address of the AP and the port number of the thin AP, respectively. The downlink data packet is encapsulated in Ethernet. The source MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the destination MAC address is the MAC address of the thin AP.
之后, 瘦 AP的 MAC层处理模块剥离掉该 CPE封装的以太网头, 将 剥离掉以太网头的下行数据报文发送给瘦 AP的 NAT模块。  Then, the MAC layer processing module of the thin AP strips off the Ethernet header of the CPE, and sends the downlink data packet stripped from the Ethernet header to the NAT module of the thin AP.
瘦 AP的 NAT模块进行第二 NAT,将下行数据报文中的目的 IP地址由 瘦 AP的 IP地址转换为 STA的 IP地址,将目的端口号由瘦 AP的端口号替 换为 STA的端口号, 其中, NAT模块可以根据之前记录的 NAT表项进行 上述替换。  The NAT module of the thin AP performs the second NAT, and the destination IP address in the downlink data packet is converted from the IP address of the thin AP to the IP address of the STA, and the destination port number is replaced by the port number of the thin AP to the port number of the STA. The NAT module can perform the above replacement according to the previously recorded NAT entry.
之后, 瘦 AP的 NAT模块将第二 NAT后的下行数据报文发送给瘦 AP 的 MAC层处理模块, 瘦 AP的 MAC层处理模块根据记录的以太网头, 对 接收的下行数据报文封装以太网头, 其中,封装的以太网头的目的 MAC地 址为记录的 MAC头的源 MAC地址, 封装的以太网头的源 MAC地址为记 录的 MAC头的目的 MAC地址, 即, 封装的以太网头的目的 MAC地址为 STA的 MAC地址,封装的以太网头的源 MAC地址为 BRAS的 MAC地址。  After that, the NAT module of the thin AP sends the downlink data packet after the second NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the received downlink data packet according to the recorded Ethernet header. The destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded MAC header, and the source MAC address of the encapsulated Ethernet header is the destination MAC address of the recorded MAC header, that is, the encapsulated Ethernet header The destination MAC address is the MAC address of the STA, and the source MAC address of the encapsulated Ethernet header is the MAC address of the BRAS.
之后, 瘦 AP的 MAC层处理模块将完成以太网封装的下行数据报文通 过 wifi模块发送给 STA。  After that, the MAC layer processing module of the thin AP sends the downlink data packet of the Ethernet encapsulation to the STA through the wifi module.
另夕卜,瘦 AP可以通过无线接入点控制协议( Control And Provisioning of Wireless Access Points Protocol Specification, CAPWAP )模块与 AC建立控 制通道以传输控制信息, 或者, 当瘦 AP识别出 STA发送的是动态主机配 置协议(Dynamic Host Configuration Protocol, DHCP )报文或者地址解析 协议(Address Resolution Protocol, ARP )才艮文时, 将 DHCP才艮文或 ARP 报文发送给 AC。  In addition, the thin AP can establish a control channel with the AC through the Control and Provisioning of Wireless Access Points Protocol (CAPWAP) module to transmit control information, or when the thin AP recognizes that the STA sends the dynamic information. The DHCP server or the address resolution protocol (ARP) sends the DHCP packets or ARP packets to the AC.
当第一设备为 CPE时,参见图 5,为 CPE的三层转发内部处理示意图。 当上行数据传输时, CPE的 MAC层处理模块接收瘦 AP发送的封装有 以太网头的上行数据报文, 以及, 剥离掉该以太网头, 并记录该以太网头, 该以太网头可以包括: 源 MAC地址、 目的 MAC地址信息等, 源 MAC地 址为 STA的 MAC地址, 目的 MAC地址为 BRAS的 MAC地址。将剥离掉 CPE的 NAT模块对剥离了以太网头的上行数据报文进行第一 NAT。将 上行数据 4艮文中的源 IP地址由 STA的 IP地址转换为 CPE的 IP地址,将源 端口号由 STA的端口号替换为 CPE的端口号, 并且可以记录 NAT表项, 该 NAT表项会记录替换的 IP地址以及端口号之间的对应关系。 之后 NAT 模块将第一 NAT后的上行数据报文发送给 LTE模块(Modem ), 由 LTE模 块在 LTE空口对第一 NAT后的上行数据报文进行报文转发。 When the first device is a CPE, refer to FIG. 5, which is a schematic diagram of internal processing of the Layer 3 forwarding of the CPE. When the uplink data is transmitted, the MAC layer processing module of the CPE receives the uplink data packet encapsulated with the Ethernet header sent by the thin AP, and strips the Ethernet header, and records the Ethernet header, and the Ethernet header may include : Source MAC address, destination MAC address information, etc. The source MAC address is the MAC address of the STA, and the destination MAC address is the MAC address of the BRAS. Will be stripped off The NAT module of the CPE performs the first NAT on the uplink data packet stripped from the Ethernet header. The source IP address of the uplink data is translated from the IP address of the STA to the IP address of the CPE, and the source port number is replaced by the port number of the STA to the port number of the CPE, and the NAT entry can be recorded. Record the correspondence between the replaced IP address and the port number. Then, the NAT module sends the uplink data packet after the first NAT to the LTE module (Modem), and the LTE module forwards the packet to the uplink data packet after the first NAT in the LTE air interface.
当下行数据传输时, LTE模块接收 LTE空口发送的下行数据报文,该 下行数据报文为三层报文, 之后发送给 CPE的 NAT模块。  When the downlink data is transmitted, the LTE module receives the downlink data packet sent by the LTE air interface, and the downlink data packet is a Layer 3 packet, and then sent to the NAT module of the CPE.
CPE的 NAT模块可以根据之前记录的 NAT表项, 对接收的下行数据 报文进行第二 NAT, 即将下行数据报文中的目的 IP地址由 CPE的 IP地址 替换为 STA的 IP地址, 将目的端口号由 CPE的端口号替换为 STA的端口 号。 之后将第二 NAT后的下行数据报文发送给 CPE的 MAC层处理模块。  The NAT module of the CPE can perform the second NAT on the received downlink data packet according to the previously recorded NAT entry, that is, the destination IP address in the downlink data packet is replaced by the IP address of the CPE as the IP address of the STA, and the destination port is used. The number is replaced by the port number of the CPE as the port number of the STA. Then, the downlink data packet after the second NAT is sent to the MAC layer processing module of the CPE.
CPE的 MAC层处理模块按照之前记录的以太网头, 对第二 NAT后的 下行数据报文封装以太网头,此时封装的以太网头的目的 MAC地址为记录 的以太网头的源 MAC地址, 封装的以太网的源 MAC地址为记录的以太网 头的目的 MAC地址, 即封装的以太网头的目的 MAC地址为 STA的 MAC 地址, 源 MAC地址为 BRAS的 MAC地址。  The MAC layer processing module of the CPE encapsulates the Ethernet header for the downlink data packet after the second NAT according to the previously recorded Ethernet header. The destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header. The source MAC address of the encapsulated Ethernet is the destination MAC address of the recorded Ethernet header, that is, the destination MAC address of the encapsulated Ethernet header is the MAC address of the STA, and the source MAC address is the MAC address of the BRAS.
图 6为本发明三层本地转发方法另一实施例的流程示意图, 本实施例 以瘦 AP进行剥离以太网头及 NAT为例。 本实施例包括:  FIG. 6 is a schematic flowchart of another embodiment of a Layer 3 local forwarding method according to the present invention. This example uses a thin AP to strip the Ethernet header and NAT as an example. This embodiment includes:
步骤 601: CPE完成 LTE入网过程。  Step 601: The CPE completes the LTE network access process.
步骤 602: 瘦 AP上电, CPE为瘦 AP分配 IP地址。  Step 602: The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
步骤 603: 瘦 AP发现并选择 AC。  Step 603: The thin AP discovers and selects AC.
步骤 604: 瘦 AP加入 AC, 与 AC建立 CAPWAP隧道。  Step 604: The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
步骤 605: AC对瘦 AP进行参数配置。  Step 605: The AC configures parameters for the thin AP.
例如, AC基于虚拟接入点 ( Virtual Access Point, VAP ) 下发 SSID和 VLAN, 用于对用户进行隔离。  For example, the AC sends an SSID and a VLAN based on a virtual access point (VAP) to isolate users.
步骤 606: STA向瘦 AP发送 WLAN关联请求。  Step 606: The STA sends a WLAN association request to the thin AP.
步骤 607: 瘦 AP通知 AC STA关联, 完成 STA配置。  Step 607: The thin AP notifies the AC STA association to complete the STA configuration.
步骤 608: STA通过隧道完成 IP地址获取和认证过程。  Step 608: The STA completes the IP address obtaining and authentication process through the tunnel.
例如, STA发起 DHCP请求 , 瘦 AP将该 DHCP请求从 CAPWAP隧道 发送给 AC, 再由 AC发送给 BRAS, 由 BRAS为 STA分配 IP地址。 另外, AAA服务器可以对 STA完成 WLAN侧认证。 For example, the STA initiates a DHCP request, and the thin AP sends the DHCP request from the CAPWAP tunnel. It is sent to the AC, which is then sent by the AC to the BRAS. The BRAS assigns an IP address to the STA. In addition, the AAA server can complete WLAN side authentication for the STA.
步骤 609: STA认证通过后, AC通知瘦 AP针对 STA启动本地转发功 Step 609: After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
•6匕 •6匕
匕。  dagger.
上述步骤 603~609为通常的 STA接入 WLAN流程,具体内容可以参见 现有流程。  The above steps 603 to 609 are normal STA access WLAN processes. For details, refer to the existing process.
可选的, AC也可以通知瘦 AP是否启用二层转发还是三层转发。  Optionally, the AC can also notify the thin AP whether to enable Layer 2 forwarding or Layer 3 forwarding.
步骤 610: 瘦 AP在确定出本地转发功能为三层转发时,对 STA发送的 上行数据报文进行剥离以太网头、 NAT处理, 以及再次封装以太网头, 之 后转发给 CPE。  Step 610: After determining that the local forwarding function is Layer 3 forwarding, the thin AP performs stripping Ethernet headers, NAT processing, and re-encapsulating the Ethernet headers, and then forwarding the Ethernet headers to the CPE.
其中, 瘦 AP可以根据 AC的指示, 确定是二层转发还是三层转发; 或 者,  The thin AP can determine whether it is Layer 2 forwarding or Layer 3 forwarding according to the indication of the AC; or
瘦 AP也可以进行本地配置, 本地配置是釆用三层转发还是二层转发。 如果是三层转发则釆用本发明实施例给出的三层转发流程, 如果是二 层转发则可以釆用现有技术的流程。  A thin AP can also be configured locally. The local configuration uses Layer 3 forwarding or Layer 2 forwarding. If it is a three-layer forwarding, the three-layer forwarding process according to the embodiment of the present invention is used. If the layer 2 forwarding is used, the prior art process can be used.
具体的三层转发时的处理可以具体参见上述图 4对瘦 AP的相关描述。 步骤 611: CPE对接收的上行数据报文进行剥离以太网头及 NAT处理, 并将处理后的上行数据^艮文通过 LTE 演进的分组网络(Evolution Packet Core-network, EPC )发送给互联网。  For details of the processing of the Layer 3 forwarding, refer to the related description of the thin AP in Figure 4 above. Step 611: The CPE performs stripping Ethernet header and NAT processing on the received uplink data packet, and sends the processed uplink data to the Internet through an LTE evolved Packet Network-EPC (EPC).
其中, CPE可以首先剥离掉瘦 AP再次封装的以太网头,并对剥离以太 网头的上行数据报文进行 NAT, 即将上行数据报文的源 IP地址和源端口号 分别由 STA的 IP地址和端口号替换为 CPE的 IP地址和端口号, 之后通过 LTE 网络发送给互联网。 另夕卜, CPE还可以记录剥离的以太网头, 以便下 行封装使用。 另外, 对于下行, 可以包括如下流程:  The CPE may first strip the Ethernet header encapsulated by the thin AP and perform NAT on the uplink data packet of the stripped Ethernet header, that is, the source IP address and the source port number of the uplink data packet are respectively determined by the STA's IP address and The port number is replaced with the IP address and port number of the CPE, and then sent to the Internet through the LTE network. In addition, the CPE can also record stripped Ethernet headers for downstream packaging. In addition, for the downlink, the following processes may be included:
CPE接收 LTE网络发送的下行数据报文,该下行数据报文釆用 IP格式 封装(或者称为封装有 IP头以上的报文头 );  The CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated in an IP format (or a packet header encapsulated with an IP header or more);
CPE对该釆用 IP格式封装的下行数据报文进行 NAT,并釆用以太网格 式封装(或者称为封装以太网头), 将 NAT且封装以太网头的下行数据报 文发送给 AP; 其中, NAT时, 将下行数据报文的目的 IP地址由 CPE的 IP地址替换为 AP的 IP地址, 将目的端口号由 CPE的端口号替换为 AP的 端口号, 该转换可以根据上行时记录的 NAT表项确定对应的替换关系。 封 地址, 该封装的以太网头可以根据上行时记录的以太网头确定。 The CPE performs NAT on the downlink data packet encapsulated in the IP format, and uses the Ethernet format encapsulation (or the encapsulated Ethernet header) to send the downlink data packet of the NAT and the encapsulated Ethernet header to the AP. In the case of NAT, the destination IP address of the downstream data packet is replaced by the IP address of the CPE to the IP address of the AP, and the destination port number is replaced by the port number of the CPE as the port number of the AP. The conversion can be based on the NAT recorded in the uplink. The entry determines the corresponding replacement relationship. Seal Address, the encapsulated Ethernet header can be determined based on the Ethernet header recorded at the upstream.
ΑΡ首先剥离以太网头, 进行 NAT也就是根据记录的 NAT表项, 将目 的 IP地址由 AP的 IP地址替换为 STA的 IP地址, 并将目的端口号由 AP 的端口号替换为 STA的端口号, 以及, AP根据上行时记录的以太网头, 对 NAT后的下行数据报文封装对应的以太网头; 可以理解的是, 为了区分, 本实施例中, 第一 NAT是指步骤 610中瘦 AP对上行数据报文进行的 NAT处理,第三 NAT是指步骤 611中 CPE对上 行数据报文进行的 NAT处理; 第二 NAT是指上述瘦 AP对下行数据报文进 行的 NAT处理,第四 NAT是指上述 CPE对下行数据报文进行的 NAT处理。 本实施例的 AP在上行时可以剥离以太网头, 并进行 NAT, 下行可以根据 之前记录的以太网头信息进行还原, 因此, 可以将接收的二层报文转换为 三层报文, 以传输给 LTE网络。  ΑΡ First strip the Ethernet header, and perform NAT, which is based on the recorded NAT entry, replacing the destination IP address with the IP address of the AP with the IP address of the STA, and replacing the destination port number with the port number of the AP. And the AP encapsulates the corresponding Ethernet header for the downlink data packet after the NAT according to the Ethernet header recorded in the uplink; it is understood that, in this embodiment, the first NAT refers to the thinning in step 610. The NAT processing of the uplink data packet by the AP, the third NAT is the NAT processing performed by the CPE on the uplink data packet in the step 611, and the second NAT is the NAT processing performed by the thin AP on the downlink data packet, and the fourth NAT refers to the NAT processing performed by the CPE on downlink data packets. The AP in this embodiment can strip the Ethernet header and perform NAT on the uplink. The downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
图 7 为本发明三层本地转发方法另一实施例的流程示意图, 本实施例 以 CPE进行剥离以太网头及 NAT为例。 本实施例包括:  FIG. 7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention. In this embodiment, a CPE stripping Ethernet header and a NAT are taken as an example. This embodiment includes:
步骤 701: CPE完成 LTE入网过程。  Step 701: The CPE completes the LTE network access process.
步骤 702: 瘦 AP上电, CPE为瘦 AP分配 IP地址。  Step 702: The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
步骤 703: 瘦 AP发现并选择 AC。  Step 703: The thin AP discovers and selects AC.
步骤 704: 瘦 AP加入 AC, 与 AC建立 CAPWAP隧道。  Step 704: The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
步骤 705: AC对瘦 AP进行参数配置。  Step 705: The AC configures parameters for the thin AP.
步骤 706: STA向瘦 AP发送 WLAN关联请求。  Step 706: The STA sends a WLAN association request to the thin AP.
步骤 707: 瘦 AP通知 AC STA关联, 完成 STA配置。  Step 707: The thin AP notifies the AC STA association to complete the STA configuration.
步骤 708: STA通过隧道完成 IP地址获取和认证过程。  Step 708: The STA completes the IP address obtaining and authentication process through the tunnel.
步骤 709: STA认证通过后, AC通知瘦 AP针对 STA启动本地转发功 Step 709: After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
•6匕 •6匕
匕。  dagger.
上述步骤 701 709的具体内容可以参见步骤 601 609。  For details of the above steps 701 709, refer to step 601 609.
步骤 710: 瘦 AP在启动本地转发功能后, 按照二层本地转发方式, 将 Step 710: After starting the local forwarding function, the thin AP follows the Layer 2 local forwarding mode.
STA发送的上行数据报文发送给 CPE。 The uplink data packet sent by the STA is sent to the CPE.
另夕卜, 瘦 AP对 STA发送的 DHCP报文或 ARP报文通过 CAPWAP隧 道发送给 AC。 步骤 711 : CPE对该上行数据 4艮文进行剥离以太网头以及 NAT处理, 之后通过 LTE EPC网络发送给互联网。 In addition, the thin AP sends a DHCP packet or an ARP packet to the AC through the CAPWAP tunnel. Step 711: The CPE performs stripping Ethernet header and NAT processing on the uplink data, and then sends the data to the Internet through the LTE EPC network.
具体的三层转发时的处理可以具体参见上述图 4对 CPE的相关描述。 另外, 对于下行, 可以包括如下流程:  For details of the processing of the Layer 3 forwarding, refer to the description of the CPE in Figure 4 above. In addition, for the downlink, the following processes may be included:
CPE接收 LTE网络发送的下行数据报文,该下行数据报文封装有 IP头 以上的 文头;  The CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated with a header above the IP header;
CPE进行 NAT, 也就是根据记录的 NAT表项, 将目的 IP地址由 CPE 的 IP地址替换为 STA的 IP地址, 并将目的端口号由 CPE的端口号替换为 STA的端口号, 以及, CPE根据上行时记录的以太网头, 对 NAT后的下行 数据报文封装对应的以太网头;  The CPE performs NAT, that is, the destination IP address is replaced with the IP address of the STA by the IP address of the CPE, and the port number of the CPE is replaced by the port number of the STA, and the CPE is based on the recorded NAT entry. The Ethernet header recorded in the uplink, and the corresponding Ethernet header is encapsulated in the downlink data packet after the NAT;
AP根据以太网头的信息, 通过二层转发方式将下行数据报文发送给对 应的 STA。 The AP sends the downlink data packet to the corresponding STA through the Layer 2 forwarding mode according to the information of the Ethernet header.
可以理解的是,为了区分,本实施例中,第一 NAT是指步骤 711中 CPE 对上行数据报文进行的 NAT处理, 第二 NAT是指上述 CPE对下行数据报 文进行的 NAT处理。  It is to be understood that, in this embodiment, the first NAT refers to the NAT processing performed by the CPE on the uplink data packet in the step 711, and the second NAT refers to the NAT processing performed by the CPE on the downlink data packet.
本实施例的 CPE在上行时可以剥离以太网头, 并进行 NAT, 下行可以 根据之前记录的以太网头信息进行还原, 因此, 可以将接收的二层报文转 换为三层报文, 以传输给 LTE网络。  The CPE in this embodiment can strip the Ethernet header and perform NAT on the uplink. The downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
图 8为本发明三层本地转发设备一实施例的结构示意图, 该设备可以 为执行上述方法的设备, 该设备包括第一接收模块 81、 第一处理模块 82、 第二处理模块 83和第一发送模块 84; 第一接收模块 81用于接收 STA发送 的上行数据报文, 所述上行数据报文釆用以太网格式封装, 报文头为以太 网头,, 所述以太网头包括的目的 MAC地址为非所述第一设备的 MAC地 址; 第一处理模块 82用于剥离所述上行数据报文的所述以太网头, 得到剥 离了以太网头的上行数据报文, 并记录所述以太网头; 第二处理模块 83用 于对所述剥离了以太网头的上行数据报文进行第一 NAT得到第一 NAT后的 上行数据报文, 所述第一 NAT是指将所述剥离了以太网头的上行数据报文 中的源 IP地址由所述 STA的 IP地址替换为所述第一设备的 IP地址, 以及 将所述剥离了以太网头的上行数据 >¾文中的源端口号由所述 STA的端口号 替换为所述第一设备的端口号; 第一发送模块 84用于将所述第一 NAT后 的上行数据报文发送给 LTE网络。 FIG. 8 is a schematic structural diagram of an embodiment of a three-layer local forwarding device according to the present invention. The device may be a device that performs the foregoing method, and the device includes a first receiving module 81, a first processing module 82, a second processing module 83, and a first The sending module 84 is configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the destination of the Ethernet header is included. The MAC address is not the MAC address of the first device; the first processing module 82 is configured to strip the Ethernet header of the uplink data packet, obtain an uplink data packet with the Ethernet header stripped, and record the The second processing module 83 is configured to perform the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the stripping The source IP address in the uplink data packet of the Ethernet header is replaced by the IP address of the STA as the IP address of the first device, and the source port in the uplink data of the Ethernet header is stripped No. After first sending the first module 84 for the NAT; STA alternative port number for the port number of the first device The uplink data packet is sent to the LTE network.
可选的, 该设备还可以包括:  Optionally, the device may further include:
第二接收模块, 用于接收所述 LTE网络发送的下行数据报文, 所述下 行数据报文封装有 IP头以上的报文头;  a second receiving module, configured to receive a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated with a packet header above an IP header;
第三处理模块,用于对所述下行数据报文进行第二 NAT,得到第二 NAT 后的下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地 址由所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行 数据报文的目的端口号由所述第一设备的端口号替换为所述 STA 的端口 号;  The third processing module is configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet The IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
第四处理模块, 用于根据记录的以太网头, 对所述第二 NAT后的下行 数据报文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头 的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述封装的 以太网头的目的 MAC地址为所述记录的以太网头的源 MAC地址;  The fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header The MAC address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
第二发送模块, 用于将釆用以太网格式封装后的下行数据报文发送给 所述 STA。  The second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
可选的, 所述设备为 AP;  Optionally, the device is an AP;
所述第一接收模块具体用于: 接收所述 STA通过二层发送的以太网报 文;  The first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
所述第一发送模块具体用于: 对所述第一 NAT后的上行数据报文釆用 以太网格式封装,报文头为以太网头, 所述封装的以太网头的源 MAC地址 为所述第一设备的 MAC地址, 所述封装的以太网头的目标 MAC地址为 CPE的 MAC地址; 将釆用以太网格式封装后的上行数据报文发送给所述 CPE, 并由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and is stripped by the CPE. The Ethernet header is sent to the LTE network after performing the third NAT.
可选的, 所述设备为 CPE;  Optionally, the device is a CPE;
所述第一接收模块具体用于: 接收所述 STA经由 AP发送的以太网报 文, 所述以太网报文由所述 AP进行二层转发给所述 CPE;  The first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
所述第一发送模块具体用于: 将所述第一 NAT后的上行数据报文发送 给 LTE 网络。  The first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
可选的, 所述设备为 AP;  Optionally, the device is an AP;
所述第二接收模块具体用于: 接收 CPE发送的釆用以太网格式封装的 下行数据报文, 所述釆用以太网格式封装的下行数据报文为所述 CPE对 LTE网络发送的下行数据报文进行第四 NAT以及釆用以太网格式封装后得 到的,所述 LTE网络发送的下行数据报文为釆用 IP格式封装的下行数据报 文; The second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE pair The downlink data packet sent by the LTE network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format.
所述第三处理模块还用于: 剥离所述 CPE发送的釆用以太网格式封装 的下行数据报文的以太网头, 以便对剥离了以太网头的所述下行数据报文 进行所述第二 NAT。  The third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
可选的, 所述第一设备为 CPE;  Optionally, the first device is a CPE;
所述第二接收模块具体用于:接收所述 LTE网络发送的釆用 IP格式封 装的下行数据报文;  The second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
所述第二发送模块具体用于: 将釆用以太网格式封装后的下行数据报 文发送给所述 AP, 并由所述 AP进行二层转发给所述 STA。  The second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
可选的, 该设备还可以包括:  Optionally, the device may further include:
判断模块, 用于判断是否釆用三层本地转发方式, 在判断出釆用三层 本地转发方式时, 进行所述三层本地转发, 所述判断是否釆用三层本地转 发方式包括:  The determining module is configured to determine whether to use the three-layer local forwarding mode, and to perform the three-layer local forwarding mode when determining that the three-layer local forwarding mode is used, and the determining whether to use the three-layer local forwarding mode includes:
接收所述 AC发送的指示信息,所述指示信息用于指示是否釆用三层本 地转发方式的指示, 根据所述指示信息判断是否釆用三层本地转发方式; 或者,  And receiving the indication information sent by the AC, where the indication information is used to indicate whether the indication of the three-layer local forwarding mode is used, and whether the three-layer local forwarding mode is used according to the indication information; or
根据本地配置的是否釆用三层本地转发方式的配置信息, 根据所述配 置信息判断是否釆用三层本地转发方式。  According to the local configuration, whether the configuration information of the Layer 3 local forwarding mode is used, and whether the Layer 3 local forwarding mode is used is determined according to the configuration information.
可选的, 该设备还可以包括:  Optionally, the device may further include:
第三发送模块,用于在识别出 STA发送的报文为 ARP报文或者 DHCP 报文时, 通过 CAPWAP隧道将所述 ARP报文或者 DHCP报文发送给 AC, 述上行数据报文。  The third sending module is configured to send the ARP packet or the DHCP packet to the AC and describe the uplink data packet by using the CAPWAP tunnel when the packet sent by the STA is an ARP packet or a DHCP packet.
可以理解的是, 当该设备为 AP时, 本实施例中的第一接收模块和第二 发送模块完成的功能由图 4中的 wifi模块完成, 第一处理模块、 第二接收 模块和第四处理模块完成的功能可以由图 4中的 MAC层处理模块完成,第 二处理模块和第三处理模块完成的功能可以由图 4中的 NAT模块完成, 第 一发送模块完成的功能可以由图 4中的路由模块和 MAC层处理模块完成。  It can be understood that, when the device is an AP, the functions performed by the first receiving module and the second sending module in this embodiment are completed by the wifi module in FIG. 4, and the first processing module, the second receiving module, and the fourth The function completed by the processing module can be completed by the MAC layer processing module in FIG. 4, and the functions performed by the second processing module and the third processing module can be completed by the NAT module in FIG. 4, and the function performed by the first sending module can be performed by FIG. 4 The routing module and the MAC layer processing module are completed.
当该设备为 CPE时, 本实施例中的第一接收模块、 第一处理模块、 第 四处理模块和第二发送模块完成的功能可以由图 5中的 MAC层处理模块完 成, 第二处理模块和第三处理模块完成的功能可以由图 5中的 NAT模块完 成, 第一发送模块和第二接收模块完成的功能可以由图 5中的 LTE模块完 成。 When the device is a CPE, the first receiving module, the first processing module, and the first The functions performed by the four processing modules and the second sending module may be completed by the MAC layer processing module in FIG. 5, and the functions performed by the second processing module and the third processing module may be completed by the NAT module in FIG. 5, the first sending module and The functions performed by the second receiving module can be completed by the LTE module in FIG.
本实施例的在上行时可以剥离以太网头, 并进行 NAT, 下行可以根据 之前记录的以太网头信息进行还原, 因此, 可以将接收的二层报文转换为 三层报文, 以传输给 LTE网络, 支持 LTE网络作为回传网络。  In this embodiment, the Ethernet header can be stripped and the NAT can be performed in the uplink. The downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the The LTE network supports the LTE network as a backhaul network.
图 9为本发明三层本地转发设备另一实施例的结构示意图, 该设备可 以为执行上述方法的设备, 该设备包括收发器 91和处理器 92, 收发器 91 用于接收 STA发送的上行数据报文, 所述上行数据报文釆用以太网格式封 装, 文头为以太网头, 所述以太网头包括的目的 MAC地址为非所述第一 设备的 MAC地址;处理器 92用于剥离所述上行数据报文的所述以太网头, 得到剥离了以太网头的上行数据报文, 并记录所述以太网头; 对所述剥离 了以太网头的上行数据报文进行第一 NAT得到第一 NAT后的上行数据报 文, 所述第一 NAT是指将所述剥离了以太网头的上行数据报文中的源 IP 地址由所述 STA的 IP地址替换为所述第一设备的 IP地址, 以及将所述剥 离了以太网头的上行数据报文中的源端口号由所述 STA的端口号替换为所 述第一设备的端口号; 收发器 91还用于将所述第一 NAT后的上行数据报 文发送给 LTE网络。  FIG. 9 is a schematic structural diagram of another embodiment of a three-layer local forwarding device according to the present invention. The device may be a device that performs the foregoing method. The device includes a transceiver 91 and a processor 92, and the transceiver 91 is configured to receive uplink data sent by the STA. The packet is encapsulated in an Ethernet format, and the header is an Ethernet header. The destination MAC address of the Ethernet header is not the MAC address of the first device, and the processor 92 is used for stripping. The Ethernet header of the uplink data packet is obtained by stripping an uplink data packet of the Ethernet header, and recording the Ethernet header; performing first NAT on the uplink data packet stripped from the Ethernet header Obtaining an uplink data packet after the first NAT, where the first NAT is to replace the source IP address in the uplink data packet with the stripped Ethernet header from the IP address of the STA to the first device. IP address, and the source port number in the uplink data packet stripped from the Ethernet header is replaced by the port number of the STA as the port number of the first device; the transceiver 91 is also used to After the first NAT uplink data packet to the LTE network.
可选的,收发器 91还用于接收所述 LTE网络发送的下行数据报文, 所 述下行数据报文釆用 IP格式封装;  Optionally, the transceiver 91 is further configured to receive the downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format.
处理器 92还用于对所述下行数据报文进行第二 NAT, 得到第二 NAT 后的下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地 址由所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行 数据报文的目的端口号由所述第一设备的端口号替换为所述 STA 的端口 号; 根据记录的以太网头, 对所述第二 NAT后的下行数据报文釆用以太网 格式封装,报文头为以太网头, 所述封装的以太网头的源 MAC地址为所述 记录的以太网头的目的 MAC地址, 以及所述封装的以太网头的目的 MAC 地址为所述记录的以太网头的源 MAC地址;  The processor 92 is further configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the The IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA; The first downlink packet of the second NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the purpose of the recorded Ethernet header. a MAC address, and a destination MAC address of the encapsulated Ethernet header is a source MAC address of the recorded Ethernet header;
收发器 91还用于将釆用以太网格式封装后的下行数据报文发送给所述 STA。 可选的, 该设备可以为 AP, 收发器 91可以具体用于接收所述 STA通 过二层发送的以太网报文; 处理器 92还用于对所述第一 NAT后的上行数 据报文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头的 源 MAC地址为所述第一设备的 MAC地址, 所述封装的以太网头的目的 MAC地址为 CPE的 MAC地址; The transceiver 91 is further configured to send the downlink data packet encapsulated in the Ethernet format to the STA. Optionally, the device may be an AP, and the transceiver 91 may be specifically configured to receive an Ethernet packet sent by the STA through the second layer. The processor 92 is further configured to: send the uplink data packet after the first NAT. Encapsulated in the Ethernet format, the packet header is an Ethernet header, the source MAC address of the encapsulated Ethernet header is the MAC address of the first device, and the destination MAC address of the encapsulated Ethernet header is the MAC of the CPE. address;
收发器 91具体用于将釆用以太网格式封装后的上行数据报文发送给所 述 CPE,并由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The transceiver 91 is specifically configured to send the uplink data packet encapsulated in the Ethernet format to the CPE, and the CPE strips the Ethernet header and sends the third NAT to the LTE network.
可选的, 该设备为 CPE, 收发器 91具体用于接收所述 STA经由 AP发 送的以太网 ^艮文 ,所述以太网 ^艮文由所述 AP进行二层转发给所述 CPE; 将 所述第一 NAT后的上行数据报文发送给 LTE 网络。  Optionally, the device is a CPE, and the transceiver 91 is specifically configured to receive an Ethernet packet sent by the STA by using an AP, where the Ethernet packet is forwarded by the AP to the CPE. The uplink data packet after the first NAT is sent to the LTE network.
可选的, 该设备为 AP, 收发器 91具体用于接收 CPE发送的釆用以太 网格式封装的下行数据报文, 所述釆用以太网格式封装的下行数据报文为 所述 CPE对 LTE网络发送的下行数据报文进行第四 NAT以及釆用以太网 格式封装后得到的,所述 LTE网络发送的下行数据报文为釆用 IP格式封装 的下行数据报文;处理器 92还用于剥离所述 CPE发送的釆用以太网格式封 装的下行数据报文的以太网头, 以便对剥离了以太网头的所述下行数据报 文进行所述第二 NAT。  Optionally, the device is an AP, and the transceiver 91 is configured to receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE to the LTE. The downlink data packet sent by the network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format; the processor 92 is also used for The Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format is stripped to perform the second NAT on the downlink data packet stripped from the Ethernet header.
可选的, 该设备为 CPE, 收发器 91具体用于接收所述 LTE网络发送 的釆用 IP格式封装的下行数据报文; 将釆用以太网格式封装后的下行数据 报文发送给所述 AP , 并由所述 AP进行二层转发给所述 STA。  Optionally, the device is a CPE, and the transceiver 91 is configured to receive the downlink data packet encapsulated in the IP format sent by the LTE network, and send the downlink data packet encapsulated in the Ethernet format to the The AP is forwarded by the AP to the STA.
可选的, 处理器 92还用于判断是否釆用三层本地转发方式, 在判断出 釆用三层本地转发方式时, 进行所述三层本地转发, 所述判断是否釆用三 层本地转发方式包括:  Optionally, the processor 92 is further configured to determine whether to use the Layer 3 local forwarding mode, and when determining that the Layer 3 local forwarding mode is used, performing the Layer 3 local forwarding, where the determining whether to use Layer 3 local forwarding Ways include:
接收所述 AC发送的指示信息,所述指示信息用于指示是否釆用三层本 地转发方式的指示, 根据所述指示信息判断是否釆用三层本地转发方式; 或者, 根据本地配置的是否釆用三层本地转发方式的配置信息, 根据所述 配置信息判断是否釆用三层本地转发方式。  And receiving the indication information sent by the AC, where the indication information is used to indicate whether the indication of the local layer forwarding mode is used, and whether the three-layer local forwarding mode is used according to the indication information; or, according to whether the local configuration is configured, The configuration information of the Layer 3 local forwarding mode is used to determine whether to use the Layer 3 local forwarding mode according to the configuration information.
可选的, 处理器 92还用于在识别出 STA发送的 文为 ARP 文或者 DHCP报文时, 通过 CAPWAP隧道将所述 ARP报文或者 DHCP报文发送 发送所述上行数据报文。 上述的收发器可以是独立的发送器和接收器, 分别执行发送功能和接 收功能, 也可以为合设在一起具体发送功能和接收功能的设备。 具体可以 釆用网线、 光纤或天线实现, 天线可以是线性天线、 环形天线、 阵列天线 等。 Optionally, the processor 92 is further configured to send, by using the CAPWAP tunnel, the ARP packet or the DHCP packet to send the uplink data packet, when the message sent by the STA is an ARP file or a DHCP message. The above transceiver may be an independent transmitter and receiver, respectively performing a transmitting function and a receiving function, or may be a device that is combined to specifically transmit a function and a receiving function. Specifically, the network cable, the optical fiber, or the antenna may be used. The antenna may be a linear antenna, a loop antenna, an array antenna, or the like.
上述的处理器可以是通用处理器、 数字信号处理器(DSP )、 专用集成 电路(ASIC )、 现成可编程门阵列 (FPGA )或者其他可编程逻辑器件、 分 立门或者晶体管逻辑器件、 分立硬件组件。 通用处理器可以是微处理器或 者任何常规的处理器。  The above processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. . A general purpose processor can be a microprocessor or any conventional processor.
另外, 该设备中还可以包括存储器、 存储器可以是随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存器等本 领域成熟的存储介质。 以及, 还可以包括总线系统, 总线系统例如包括数 据总线、 电源总线、 控制总线或状态信号总线等。  In addition, the device may also include a memory, which may be a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, and the like. And, a bus system may be included, and the bus system includes, for example, a data bus, a power bus, a control bus, or a status signal bus.
本实施例的在上行时可以剥离以太网头, 并进行 NAT, 下行可以根据 之前记录的以太网头信息进行还原, 因此, 可以将接收的二层报文转换为 三层报文, 以传输给 LTE网络, 支持 LTE网络作为回传网络。  In this embodiment, the Ethernet header can be stripped and the NAT can be performed in the uplink. The downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the The LTE network supports the LTE network as a backhaul network.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以 上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上 述功能分配由不同的功能模块完成, 即将装置的内部结构划分成不同的功 能模块, 以完成以上描述的全部或者部分功能。 上述描述的系统, 装置和 单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再 赘述。  It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional module described above is exemplified. In practical applications, the above-mentioned function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅 是示意性的, 例如, 所述模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可 以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示 或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装 置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form. The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose which one according to your actual needs. Some or all of the units implement the objectives of the solution of the embodiment.
另外, 在本申请各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软 件功能单元的形式实现。  In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储 在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等)或处理器(processor )执行本申请各个 实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘、 移动 硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 以上实施例仅用以说明本申请的技术方案, 而非对其限制; 尽管参照前述实施例对本申请进行了详细的说明, 本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者 对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本申请各实施例技术方案的精神和范围。  The above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

权利要求 Rights request
1、 一种三层本地转发方法, 其特征在于, 包括: 第一设备接收站点 STA发送的上行数据报文, 所述上行数据报文釆用 以太网格式封装, 报文头为以太网头, 所述以太网头包括的目的媒体接入 控制 MAC地址为非所述第一设备的 MAC地址; A three-layer local forwarding method, comprising: receiving, by a first device, an uplink data packet sent by a station STA, where the uplink data packet is encapsulated in an Ethernet format, and the packet header is an Ethernet header. The destination medium access control MAC address included in the Ethernet header is not the MAC address of the first device;
所述第一设备剥离所述上行数据报文的所述以太网头, 得到剥离了以 太网头的上行数据 文, 并记录所述以太网头;  The first device strips the Ethernet header of the uplink data packet, obtains an uplink data file stripped of the Ethernet header, and records the Ethernet header;
所述第一设备对所述剥离了以太网头的上行数据报文进行第一网络地 址转换 NAT得到第一 NAT后的上行数据报文, 所述第一 NAT是指将所述 剥离了以太网头的上行数据报文中的源 IP地址由所述 STA的 IP地址替换 为所述第一设备的 IP地址, 以及将所述剥离了以太网头的上行数据 >¾文中 的源端口号由所述 STA的端口号替换为所述第一设备的端口号;  The first device performs a first network address translation NAT on the uplink data packet stripped from the Ethernet header to obtain an uplink data packet after the first NAT, where the first NAT refers to stripping the Ethernet The source IP address in the uplink data packet of the header is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is discarded. The port number of the STA is replaced by the port number of the first device;
所述第一设备将所述第一 NAT后的上行数据报文发送给长期演进 LTE 网络。  The first device sends the uplink data packet after the first NAT to the Long Term Evolution (LTE) network.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
所述第一设备接收所述 LTE网络发送的下行数据报文, 所述下行数据 报文釆用 IP格式封装;  Receiving, by the first device, a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format;
所述第一设备对所述下行数据报文进行第二 NAT,得到第二 NAT后的 下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地址由 所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行数据 报文的目的端口号由所述第一设备的端口号替换为所述 STA的端口号; 所述第一设备根据记录的以太网头, 对所述第二 NAT后的下行数据报 文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述封装的以太 网头的目的 MAC地址为所述记录的以太网头的源 MAC地址;  The first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the first The IP address of the device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA; The recorded Ethernet header encapsulates the downlink data packet after the second NAT in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the recorded Ethernet The destination MAC address of the network header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
STA。 STA.
3、 根据权利要求 1所述的方法, 其特征在于, 所述第一设备为接入点 3. The method according to claim 1, wherein the first device is an access point
AP; 所述第一设备接收 STA发送的上行数据报文, 包括: AP; The receiving, by the first device, the uplink data packet sent by the STA includes:
所述 AP接收所述 STA通过二层发送的以太网报文;  Receiving, by the AP, an Ethernet packet sent by the STA through Layer 2;
所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE网络, 包 括:  The first device sends the uplink data packet after the first NAT to the LTE network, including:
所述 AP对所述第一 NAT后的上行数据报文釆用以太网格式封装, 报 文头为以太网头, 所述封装的以太网头的源 MAC地址为所述第一设备的 MAC地址,所述封装的以太网头的目的 MAC地址为用户驻地设备 CPE的 MAC地址; 由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The uplink data packet of the AP after the first NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the MAC address of the first device. The destination MAC address of the encapsulated Ethernet header is the MAC address of the customer premises equipment CPE; the Ethernet header is stripped by the CPE and sent to the LTE network after performing the third NAT.
4、 根据权利要求 1所述的方法, 其特征在于, 所述第一设备为 CPE; 所述第一设备接收 STA发送的上行数据报文, 包括:  The method according to claim 1, wherein the first device is a CPE, and the first device receives an uplink data packet sent by the STA, including:
所述 CPE接收所述 STA经由 AP发送的以太网报文, 所述以太网报文 由所述 AP进行二层转发给所述 CPE;  The CPE receives an Ethernet packet sent by the STA via the AP, and the Ethernet packet is forwarded by the AP to the CPE.
所述第一设备将所述第一 NAT后的上行数据报文发送给 LTE网络, 包 括:  The first device sends the uplink data packet after the first NAT to the LTE network, including:
所述 CPE将所述第一 NAT后的上行数据报文发送给 LTE 网络。  The CPE sends the uplink data packet after the first NAT to the LTE network.
5、 根据权利要求 2所述的方法, 其特征在于, 所述第一设备为 AP; 所述第一设备接收所述 LTE网络发送的下行数据报文, 包括: 所述 AP接收 CPE发送的釆用以太网格式封装的下行数据报文, 所述 据报文进行第四 NAT以及釆用以太网格式封装后得到的,所述 LTE网络发 送的下行数据报文为釆用 IP格式封装的下行数据报文; 所述第一设备对所 述下行数据报文进行第二 NAT之前, 所述方法还包括:  The method according to claim 2, wherein the first device is an AP, and the first device receives a downlink data packet sent by the LTE network, where: the AP receives a CPE sent by the AP. The downlink data packet encapsulated in the Ethernet format is obtained by the fourth NAT and the Ethernet format. The downlink data packet sent by the LTE network is the downlink data encapsulated in the IP format. Before the first device performs the second NAT on the downlink data packet, the method further includes:
所述 AP剥离所述 CPE发送的釆用以太网格式封装的下行数据报文的 以太网头,以便对剥离了以太网头的所述下行数据报文进行所述第二 NAT。  The AP strips the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulates the Ethernet packet, so that the second NAT is performed on the downlink data packet stripped from the Ethernet header.
6、 根据权利要求 2所述的方法, 其特征在于, 所述第一设备为 CPE; 所述第一设备接收所述 LTE网络发送的下行数据报文, 包括:  The method according to claim 2, wherein: the first device is a CPE; and the first device receives a downlink data packet that is sent by the LTE network, and includes:
STA, 包括: 由所述 AP进行二层转发给所述 STA。 STA, including: Layer 2 forwarding is performed by the AP to the STA.
7、 根据权利要求 3或 5所述的方法, 其特征在于, 所述第一设备接收 STA发送的上行数据报文之前, 所述方法还包括:  The method according to claim 3 or 5, wherein, before the first device receives the uplink data packet sent by the STA, the method further includes:
所述 AP在识别出 STA发送的报文为地址解析协议 ARP报文或者动态 主机配置协议 DHCP 文时,通过无线接入点控制协议 CAPWAP隧道将所 述 ARP报文或者 DHCP报文发送给 AC, 以便所述 STA根据所述 ARP报 文或者 DHCP报文获取地址信息后发送上行数据报文。  The AP sends the ARP packet or the DHCP packet to the AC through the CAPWAP tunnel of the wireless access point control protocol when the packet sent by the STA is an address resolution protocol ARP packet or a dynamic host configuration protocol DHCP message. The STA sends an uplink data packet according to the ARP packet or the DHCP packet.
8、 一种三层本地转发设备, 其特征在于, 包括:  8. A three-layer local forwarding device, comprising:
第一接收模块, 用于接收站点 STA发送的上行数据报文, 所述上行数 据报文釆用以太网格式封装, 报文头为以太网头, 所述以太网头包括的目 的媒体接入控制 MAC地址为非所述第一设备的 MAC地址;  a first receiving module, configured to receive an uplink data packet sent by the station STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination media access control included in the Ethernet header The MAC address is not the MAC address of the first device;
第一处理模块, 用于剥离所述上行数据报文的所述以太网头, 得到剥 离了以太网头的上行数据 文, 并记录所述以太网头;  a first processing module, configured to strip the Ethernet header of the uplink data packet, obtain an uplink data file that is stripped of the Ethernet header, and record the Ethernet header;
第二处理模块, 用于对所述剥离了以太网头的上行数据报文进行第一 网络地址转换 NAT得到第一 NAT后的上行数据报文, 所述第一 NAT是指 将所述剥离了以太网头的上行数据 >¾文中的源 IP地址由所述 STA的 IP地 址替换为所述第一设备的 IP地址, 以及将所述剥离了以太网头的上行数据 报文中的源端口号由所述 STA的端口号替换为所述第一设备的端口号; 第一发送模块, 用于将所述第一 NAT后的上行数据报文发送给长期演 进 LTE网络。  a second processing module, configured to perform, by performing a first network address translation NAT on the uplink data packet stripped from the Ethernet header, to obtain an uplink data packet after the first NAT, where the first NAT refers to stripping the The source IP address in the uplink data of the Ethernet header is replaced by the IP address of the STA to the IP address of the first device, and the source port number in the uplink data packet in which the Ethernet header is stripped. The port number of the STA is replaced by the port number of the first device. The first sending module is configured to send the uplink data packet after the first NAT to the Long Term Evolution (LTE) network.
9、 根据权利要求 8所述的设备, 其特征在于, 还包括:  9. The device according to claim 8, further comprising:
第二接收模块, 用于接收所述 LTE网络发送的下行数据报文, 所述下 行数据报文釆用 IP格式封装;  a second receiving module, configured to receive a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format;
第三处理模块,用于对所述下行数据报文进行第二 NAT,得到第二 NAT 后的下行数据报文, 所述第二 NAT是指将所述下行数据报文的目的 IP地 址由所述第一设备的 IP地址替换为所述 STA的 IP地址, 以及将所述下行 数据报文的目的端口号由所述第一设备的端口号替换为所述 STA 的端口 号;  The third processing module is configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet The IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
第四处理模块, 用于根据记录的以太网头, 对所述第二 NAT后的下行 数据报文釆用以太网格式封装, 报文头为以太网头, 所述封装的以太网头 的源 MAC地址为所述记录的以太网头的目的 MAC地址, 以及所述封装的 以太网头的目的 MAC地址为所述记录的以太网头的源 MAC地址; The fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the encapsulated Ethernet header The source MAC address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
第二发送模块, 用于将釆用以太网格式封装后的下行数据报文发送给 所述 STA。  The second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
10、根据权利要求 8所述的设备, 其特征在于, 所述设备为接入点 AP; 所述第一接收模块具体用于: 接收所述 STA通过二层发送的以太网报 文;  The device according to claim 8, wherein the device is an access point AP, and the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
所述第一发送模块具体用于: 对所述第一 NAT后的上行数据报文釆用 以太网格式封装,报文头为以太网头, 所述封装的以太网头的源 MAC地址 为所述第一设备的 MAC地址, 所述封装的以太网头的目的标 MAC地址为 CPE的 MAC地址; 将釆用以太网格式封装后的上行数据报文发送给所述 CPE, 并由所述 CPE剥离以太网头并进行第三 NAT后发送给 LTE网络。  The first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and the CPE is used by the CPE. The Ethernet header is stripped and sent to the LTE network after performing the third NAT.
11、 根据权利要求 8所述的设备, 其特征在于, 所述设备为用户驻地 设备 CPE;  The device according to claim 8, wherein the device is a customer premises equipment CPE;
所述第一接收模块具体用于: 接收所述 STA经由 AP发送的以太网报 文, 所述以太网报文由所述 AP进行二层转发给所述 CPE;  The first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
所述第一发送模块具体用于: 将所述第一 NAT后的上行数据报文发送 给 LTE 网络。  The first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
12、 根据权利要求 9所述的设备, 其特征在于, 所述设备为 AP;  The device according to claim 9, wherein the device is an AP;
所述第二接收模块具体用于: 接收 CPE发送的釆用以太网格式封装的 下行数据报文, 所述釆用以太网格式封装的下行数据报文为所述 CPE对 LTE网络发送的下行数据报文进行第四 NAT以及釆用以太网格式封装后得 到的,所述 LTE网络发送的下行数据报文为釆用 IP格式封装的下行数据报 文;  The second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the downlink data sent by the CPE to the LTE network The downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format, and is obtained by using the fourth NAT and the Ethernet format.
所述第三处理模块还用于: 剥离所述 CPE发送的釆用以太网格式封装 的下行数据报文的以太网头, 以便对剥离了以太网头的所述下行数据报文 进行所述第二 NAT。  The third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
13、 根据权利要求 9所述的设备, 其特征在于, 所述第一设备为 CPE; 所述第二接收模块具体用于:接收所述 LTE网络发送的釆用 IP格式封 装的报文头的下行数据报文;  The device according to claim 9, wherein the first device is a CPE, and the second receiving module is specifically configured to: receive a packet header encapsulated by the LTE network and encapsulated in an IP format Downstream data message;
所述第二发送模块具体用于: 将釆用以太网格式封装后的下行数据报 文发送给所述 AP, 并由所述 AP进行二层转发给所述 STA。 The second sending module is specifically configured to: use the downlink datagram encapsulated by the Ethernet format The message is sent to the AP, and is forwarded by the AP to the STA.
14、 根据权利要求 10或 12所述的设备, 其特征在于, 还包括: 第三发送模块,用于在识别出 STA发送的报文为 ARP报文或者 DHCP 才艮文时,通过无线接入点控制协议 CAPWAP隧道将所述地址解析协议 ARP 报文或者动态主机配置协议 DHCP报文发送给 AC, 以便所述 STA根据所 述 ARP报文或者 DHCP报文获取地址信息后发送所述上行数据报文。  The device according to claim 10 or 12, further comprising: a third sending module, configured to: when the packet sent by the STA is an ARP packet or a DHCP packet, The point control protocol CAPWAP tunnel sends the address resolution protocol ARP packet or the dynamic host configuration protocol DHCP packet to the AC, so that the STA obtains the address information according to the ARP packet or the DHCP packet, and then sends the uplink datagram. Text.
PCT/CN2013/086155 2012-10-30 2013-10-29 Three-layer local forwarding method and device WO2014067450A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210423913.5A CN103795627B (en) 2012-10-30 2012-10-30 Three layers of local retransmission method and equipment
CN201210423913.5 2012-10-30

Publications (1)

Publication Number Publication Date
WO2014067450A1 true WO2014067450A1 (en) 2014-05-08

Family

ID=50626494

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086155 WO2014067450A1 (en) 2012-10-30 2013-10-29 Three-layer local forwarding method and device

Country Status (2)

Country Link
CN (1) CN103795627B (en)
WO (1) WO2014067450A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636010B (en) * 2016-01-18 2018-12-14 江苏鑫软图无线技术股份有限公司 The method of two data of layer transmission is realized in a kind of LTE system
CN106656799B (en) * 2017-02-14 2019-12-03 湖南基石通信技术有限公司 A kind of message forwarding method and device based on wireless mesh network
CN108011742A (en) * 2017-02-17 2018-05-08 湖北亘华工科有限公司 A kind of WLAN data concentrates the device and method that forwarding switching locally forwards

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (en) * 2001-09-16 2003-03-26 华为技术有限公司 Combined address resolving scheme and combined address route device thereof
CN1665238A (en) * 2004-03-04 2005-09-07 华为技术有限公司 Networking system for next generation network
CN101036371A (en) * 2004-07-14 2007-09-12 耐特瑞克公司 Apparatus and method for mapping overlapping internet protocol addresses in layer two tunneling protocols
CN101310487A (en) * 2005-11-16 2008-11-19 恩梯梯Pc通信设备有限公司 Communication method, mobile agent device, and home agent device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856387B2 (en) * 2008-04-24 2014-10-07 Qualcomm Incorporated Local IP access scheme
JP5081948B2 (en) * 2010-05-14 2012-11-28 株式会社バッファロー Wireless relay device
CN102546403B (en) * 2011-12-27 2014-12-10 华为技术有限公司 Method for transmitting message and small base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (en) * 2001-09-16 2003-03-26 华为技术有限公司 Combined address resolving scheme and combined address route device thereof
CN1665238A (en) * 2004-03-04 2005-09-07 华为技术有限公司 Networking system for next generation network
CN101036371A (en) * 2004-07-14 2007-09-12 耐特瑞克公司 Apparatus and method for mapping overlapping internet protocol addresses in layer two tunneling protocols
CN101310487A (en) * 2005-11-16 2008-11-19 恩梯梯Pc通信设备有限公司 Communication method, mobile agent device, and home agent device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN103795627B (en) 2017-08-18
CN103795627A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
US9781652B2 (en) Method and apparatus of LWA PDU routing
EP3032871B1 (en) Data transmission method, device and system
WO2019033920A1 (en) Method and device enabling network side to identify and control remote user equipment
JP5230799B2 (en) Method, apparatus and system for equalizing flow capacity
US11356294B2 (en) Packet processing method and device
CN114124618B (en) Message transmission method and electronic equipment
EP2876972B1 (en) Air interface transmission method and relevant device and system
WO2013155981A1 (en) Method and device for data shunting
WO2014114058A1 (en) Data message forwarding method, customer premises equipment and system
WO2010012152A1 (en) Method and equipment for implementing data transmission in wireless network
WO2014067450A1 (en) Three-layer local forwarding method and device
WO2019242525A1 (en) Data transmission method, related device and system
TWI573422B (en) Heterogeneous network integration method and system
JP6478197B2 (en) Downlink offload and integration methods, uplink offload and integration methods, and devices
WO2014121606A1 (en) Service processing method and related device
WO2010088834A1 (en) DUAL MODE COMMUNNICATION METHOD, DEVICE AND SYSTEM BASED ON Wi-Fi AND WiMAX
CN106789534B (en) A kind of data transmission method and device based on wireless network
US20160037384A1 (en) Non-blocking uplink architecture for access points
WO2022048441A1 (en) Application data transmission method, system, and electronic device
WO2012110004A1 (en) Message forwarding method and device based on lte-lan
CN108322389B (en) Data message forwarding method and system, and wireless access device
TWI639354B (en) Method and user equipment of uplink routing for enhanced lwa
WO2015002526A1 (en) A method for enabling virtual local area network over wireless networks
WO2016074222A1 (en) Method and device for data transmission
WO2014032288A1 (en) Data transmission method, user equipment, and base station in wireless network

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

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

Country of ref document: EP

Kind code of ref document: A1