WO2015051554A1 - 隧道建立方法、装置及系统 - Google Patents

隧道建立方法、装置及系统 Download PDF

Info

Publication number
WO2015051554A1
WO2015051554A1 PCT/CN2013/085150 CN2013085150W WO2015051554A1 WO 2015051554 A1 WO2015051554 A1 WO 2015051554A1 CN 2013085150 W CN2013085150 W CN 2013085150W WO 2015051554 A1 WO2015051554 A1 WO 2015051554A1
Authority
WO
WIPO (PCT)
Prior art keywords
wtp
capwap
tunnel
sta
message
Prior art date
Application number
PCT/CN2013/085150
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to CN201380075898.2A priority Critical patent/CN105165102A/zh
Priority to PCT/CN2013/085150 priority patent/WO2015051554A1/zh
Publication of WO2015051554A1 publication Critical patent/WO2015051554A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a tunnel establishing method, apparatus, and system. Background technique
  • WTP Wireless Termination Points
  • AC Access Controller
  • WTP and AC can communicate using 802.11 protocol.
  • WTP allows wireless devices to pass 802.11 or related. Standard access to wired network devices.
  • WTP is connected to the wired network as a standalone device through a connection router.
  • WTP also has an integrated router function.
  • the AC manages a large number of WTP entities through network administrators or network operations centers to complete configuration, authentication, and security management of WTP devices.
  • WTP is mainly used to receive and send wireless network data. After receiving the wireless data sent by WTP and completing the corresponding processing, the AC will send the processed data to the local area network or the Internet.
  • the wireless Fidelity (WiFi) devices of various operators are deployed more and more densely as stations (STAs) in the WLAN architecture, and STAs between operators are very overlapped, among them,
  • the STA is a device that includes the IEEE 802.il protocol to access the wireless medium.
  • the STA needs to access the 802.11 protocol through the WTP access in the communication network.
  • the WTP or the AC cannot manage a large number of STAs under the 802.11 protocol.
  • the unmanaged state of the STA may cause signal interference and resource scheduling. Therefore, how to effectively manage the STAs in the WLAN architecture becomes an urgent problem to be solved. Summary of the invention
  • An embodiment of the present invention provides a method, an apparatus, and a system for establishing a tunnel.
  • the CAPWAP tunnel is established between the WTP and the STA, so that the AC can control the STA through the WTP. Effective management of STAs.
  • a first aspect of the present invention provides a tunnel establishment method, including:
  • the tunnel establishment device receives the control wireless access point protocol CAPWAP tunnel establishment request sent by the station STA, determining, according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the wireless terminal station WTP, establishing the WTP and a second CAPWAP tunnel between the STAs, so that the access control point AC interacts with the STA by using the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC, where A CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the tunnel establishing device is the WTP
  • the method further includes:
  • the WTP Receiving, by the WTP, the CAPWAP message sent by the AC, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, where the CAPWAP message further includes identifier information.
  • the indication information is generated according to the WTP or the STA when the first CAPWAP tunnel or the second CAPWAP tunnel is established.
  • the identifier information is address information
  • the WTP After receiving the CAPWAP message sent by the AC, the WTP further includes:
  • the WTP forwards the CAPWAP message to the STA corresponding to the effective address;
  • the WTP processes the CAPWAP message.
  • the identifier information is a preset identifier bit
  • the WTP After receiving the CAPWAP message sent by the AC, the WTP further includes:
  • the WTP forwards the CAPWAP message to the STA corresponding to the first value; If the preset identifier bit included in the CAPWAP message is a second value, and the second value corresponds to the WTP, the WTP processes the CAPWAP message.
  • the requesting content and the content are determined according to the CAPWAP tunnel
  • At least one of the maximum access capabilities of the wireless terminal station WTP determines that after establishing the second CAPWAP tunnel between the WTP and the STA, the method further includes:
  • the tunnel establishing apparatus is
  • the method further includes:
  • the AC sends a CAPWAP message to the WTP, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, and the CAPWAP message further includes identifier information.
  • the indication information is generated according to the WTP or the STA when the first CAPWAP tunnel or the second CAPWAP tunnel is established.
  • the identifier information is address information
  • the sending, by the AC, the CAPWAP message to the WTP includes:
  • the AC sends a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the effective address; if the identifier information is an invalid address, The AC sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the identifier information is a preset identifier according to the fifth possible implementation manner;
  • the sending, by the AC, the CAPWAP message to the WTP includes:
  • the AC sends a CAPWAP message to the WTP, so that the WTP corresponds to the first value.
  • the STA forwards the CAPWAP message;
  • the AC sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the requesting content and the establishing content according to the CAPWAP tunnel At least one of the maximum access capabilities of the wireless terminal station WTP determines that after establishing the second CAPWAP tunnel between the WTP and the STA, the method further includes:
  • a tunnel establishing apparatus including:
  • a tunnel establishing unit configured to determine, according to the at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the wireless terminal station WTP, if the receiving unit receives the control wireless access point protocol CAPWAP tunnel establishment request sent by the station STA Establishing a second CAPWAP tunnel between the WTP and the STA, so that the access control point AC performs the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC and the STA
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the tunnel establishing apparatus is the WTP, where the WTP further includes:
  • a WTP receiving unit configured to receive a CAPWAP message sent by the AC, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, where the CAPWAP message is further Containing identification information, the indication information is The first CAPWAP tunnel or the second CAPWAP tunnel is established according to the WTP or the STA.
  • the WTP further includes:
  • a WTP processing unit configured to: if the identifier information is address information, and the address information is a valid address, causing the WTP sending unit to forward the CAPWAP message to the STA corresponding to the effective address;
  • the WTP processing unit is further configured to process the CAPWAP message if the address information is an invalid address.
  • the WTP processing unit is further configured to: if the identifier information is a preset identifier, and the preset identifier is a first value, each of the first values corresponds to one STA, so that the WTP is sent.
  • the unit forwards the CAPWAP message to the STA corresponding to the first value;
  • the WTP processing unit is further configured to process the CAPWAP message if the identifier information is a preset identifier, and the preset identifier is a second value, and the second value corresponds to the WTP.
  • the WTP processing unit is further configured to: after the WTP receiving unit receives the tunnel deletion request sent by the STA, delete the second CAPWAP tunnel, so that the WTP sending unit notifies the AC to the second CAPWAP Tunnel deletion; or,
  • the WTP processing unit is further configured to: after the WTP receiving unit receives the tunnel deletion request sent by the AC, delete the second CAPWAP tunnel, so that the WTP sending unit notifies the STA of the second CAPWAP The tunnel is deleted, so that the AC does not interact with the STA by using the WTP to send the CAPWAP message.
  • the tunnel establishing device is the AC, and the AC further includes:
  • An AC sending unit configured to send a CAPWAP message to the WTP, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, where the CAPWAP message further includes Identification information, the indication information is the A CAPWAP tunnel or the second CAPWAP tunnel is established according to the WTP or the STA.
  • the AC sending unit is configured to: if the address information is a valid address, send a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the effective address; If it is an invalid address, a CAPWAP message is sent to the WTP, so that the WTP processes the CAPWAP message.
  • the AC sending unit is specifically configured to: if the identifier information included in the CAPWAP message is a preset identifier bit; if the preset identifier bit included in the CAPWAP message is a first value, each of the If a value corresponds to a STA, the CAPWAP message is sent to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the first value; if the preset identifier bit included in the CAPWAP message is the second The value, if the second value corresponds to the WTP, sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the AC further includes:
  • the AC receiving unit is configured to receive the notification that the second CAPWAP tunnel is sent by the WTP, so that the AC does not interact with the STA by using the WTP to send the CAPWAP message; or
  • the AC sending unit is further configured to send a tunnel deletion request to the WTP, so that the WTP deletes the second CAPWAP tunnel.
  • a tunnel establishing apparatus including:
  • a processor configured to receive a control wireless access point protocol if the receiver receives the STA
  • the CAPWAP tunnel establishment request determines, according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the wireless terminal station WTP, to establish a second CAPWAP tunnel between the WTP and the STA, so as to enable access control.
  • the point AC interacts with the STA by using the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC, where the first CAPWAP tunnel is between the first WTP and the AC.
  • the tunnel establishing apparatus is
  • the WTP further includes:
  • a WTP receiver configured to receive a CAPWAP message sent by the AC, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, where the CAPWAP message is further
  • the identifier information is generated, and the identifier information is generated according to the WTP or the STA when the first CAPWAP tunnel or the second CAPWAP tunnel is established.
  • the WTP further includes:
  • a WTP processor configured to: if the identifier information is address information, and the address information is a valid address, causing the WTP sender to forward the CAPWAP message to the STA corresponding to the effective address;
  • the WTP processor is further configured to process the CAPWAP message if the address information is an invalid address.
  • the WTP processor is further configured to: if the identifier information is a preset identifier, and the preset identifier is a first value, each of the first values corresponds to one STA, so that the WTP is sent. Transmitting the CAPWAP message to the STA corresponding to the first value;
  • the WTP processor is further configured to process the CAPWAP message if the identifier information is a preset identifier, and the preset identifier is a second value, and the second value corresponds to the WTP.
  • the WTP processor is further configured to: after the WTP receiver receives the tunnel deletion request sent by the STA, delete the second CAPWAP tunnel, so that the WTP sender notifies the AC of the second CAPWAP Tunnel deletion; or,
  • the WTP processor is further configured to: after the WTP receiver receives the tunnel deletion request sent by the AC, delete the second CAPWAP tunnel, so that the WTP sender notifies the STA of the second CAPWAP The tunnel is deleted, so that the AC and the STA no longer pass through The WTP sends the CAPWAP message for interaction.
  • the tunnel establishing device is the AC, and the AC further includes:
  • An AC transmitter configured to send a CAPWAP message to the WTP, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, where the CAPWAP message further includes The identification information is generated according to the WTP or the STA when the first CAPWAP tunnel or the second CAPWAP tunnel is established.
  • the AC transmitter is configured to: if the address information is a valid address, send a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the effective address; If it is an invalid address, a CAPWAP message is sent to the WTP, so that the WTP processes the CAPWAP message.
  • the AC transmitter is specifically configured to: if the identifier information included in the CAPWAP message is a preset identifier bit; if the preset identifier bit included in the CAPWAP message is a first value, each of the foregoing If a value corresponds to a STA, the CAPWAP message is sent to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the first value; if the preset identifier bit included in the CAPWAP message is the second The value, if the second value corresponds to the WTP, sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the AC further includes:
  • the AC transmitter is further configured to send a tunnel deletion request to the WTP, so that the WTP deletes the second CAPWAP tunnel.
  • the fourth aspect provided a tunnel establishing device according to any of the above second aspects and various implementations thereof;
  • a station STA configured to send a control WLAN CAPWAP tunnel establishment request to the tunnel establishment device, to establish a second CAPWAP tunnel with the wireless terminal station WTP, so that the control point AC passes between the WTP and the AC
  • the first CAPWAP tunnel and the second CAPWAP tunnel interact with the STA, and the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • a system comprising:
  • a station STA configured to send a control WLAN CAPWAP tunnel establishment request to the tunnel establishment device, to establish a second CAPWAP tunnel with the wireless terminal station WTP, so that the control point AC passes between the WTP and the AC
  • the first CAPWAP tunnel and the second CAPWAP tunnel interact with the STA, and the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the method for establishing a tunnel, the device and the system provided by the embodiment of the present invention, if the tunnel establishment device receives the CAPWAP tunnel establishment request sent by the STA, determining, according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, establishing the WTP and A second CAPWAP tunnel between the STAs, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC. .
  • the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, thereby reasonably utilizing the resources of the STA, and enabling the STA to access reasonably.
  • WTP solves the problem of resource scheduling in the deployment of WiFi devices, and thus effectively manages STAs.
  • FIG. 1 is a flowchart of an embodiment of a tunnel establishment method according to the present invention.
  • FIG. 2 is a flowchart of another embodiment of a tunnel establishment method provided by the present invention.
  • FIG. 3 is a flowchart of still another embodiment of a tunnel establishment method provided by the present invention.
  • FIG. 4 is a flowchart of still another embodiment of a tunnel establishment method provided by the present invention.
  • FIG. 5 is a flowchart of still another embodiment of a tunnel establishment method according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a tunnel establishing apparatus according to the present invention.
  • FIG. 7 is a schematic structural diagram of a WTP embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another embodiment of a WTP according to the present invention.
  • FIG. 9 is a schematic structural view of an AC embodiment of the present invention.
  • FIG. 10 is a schematic structural view of another embodiment of an AC according to the present invention.
  • FIG. 11 is a schematic structural diagram of another embodiment of a tunnel establishing apparatus according to the present invention.
  • FIG. 13 is a schematic structural view of another AC embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an embodiment of a tunnel establishment system 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 those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the present invention can be applied to a scenario in which there is at least one STA in the wireless transmission range of the WTP, and the STA can establish a first control wireless access point protocol (Wand and the AC and the AC). , CAP WAP ) Tunnel, WTP and AC can interact through the first CAPWAP tunnel, and each STA and WTP can communicate through the 802.11 protocol.
  • a first control wireless access point protocol Wand and the AC and the AC
  • CAP WAP CAP WAP Tunnel
  • WTP and AC can interact through the first CAPWAP tunnel
  • each STA and WTP can communicate through the 802.11 protocol.
  • FIG. 1 is a flowchart of a method for establishing a tunnel according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the tunnel establishment apparatus receives the CAPWAP tunnel establishment request sent by the STA, Determining, according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, establishing a second CAPWAP tunnel between the WTP and the STA, so that the AC passes the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the STA interacts.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • first CAPWAP tunnel is the original between the first WTP and the AC.
  • CAPWAP tunnel The communication protocol commonly used between WTP and AC is CAPWAP, which is an application layer protocol built on the User Datagram Protocol (UDP). Its core idea is to establish a tunnel between AC and WTP.
  • the control packet and the user data packet are carried in the tunnel to facilitate centralized management and protection of user data.
  • the CAPWAP tunnel is divided into a control tunnel and a data tunnel.
  • the control tunnel transmits CAPWAP control packets, and the data tunnel transmits data packets.
  • the tunnel establishment device may be a WTP or an AC. If the tunnel establishment device is a WTP, the WTP receives a CAPWAP tunnel establishment request of the STA, and establishes a second CAPWAP tunnel with the STA according to the request, if the tunnel establishment device is After receiving the CAPWAP tunnel establishment request sent by the STA, the WTP forwards the CAPWAP tunnel establishment request to the AC, so that the AC controls the WTP to establish a second CAPWAP tunnel with the STA according to the CAPWAP tunnel establishment request.
  • the policy corresponding to the message may be newly defined in the existing CAPWAP protocol, such as adding the header content 110 of the protocol packet to correspond to the CAPWAP tunnel establishment request, or writing on the identity identifier (Identity, ID) field of the protocol packet.
  • the number 4 corresponds to the CAPWAP tunnel establishment request, etc.
  • the message passing through the first CAPWAP tunnel and the second CAPWAP tunnel may correspond to the content or policy of the message in this manner, and is otherwise defined.
  • the messages transmitted between the first CAPWAP tunnel and the second CAPWAP tunnel are within the protection scope.
  • the tunnel establishment device establishes the second CAPWAP tunnel between the WTP and the STA
  • the STA is in an unmanaged state, and the network may be in a situation where multiple WTPs overlap with the same STA to establish an 802.11 protocol, resulting in WTP resources.
  • the waste is incompatible with the information of the STA; or the WTP resource that establishes the 802.11 protocol with the STA is limited, and cannot interfere with the information exchange with the STA, thereby causing the problem that the WTP cannot work normally.
  • the tunnel establishment device can be WTP or AC. Establishing WTP according to at least one of CAPWAP tunnel establishment request content and maximum access capability of wireless terminal station WTP
  • the second CAPWAP tunnel with the STA can be as follows:
  • the WTP or AC can determine whether to establish a second CAPWAP tunnel according to whether the request condition of the tunnel establishment request is correct. Whether the source STA of the request is pre-existing in the tunnel list, and the list of the establishable tunnel can be pre-stored in the AC or WTP. If the source STA is pre-existing, the STA in the tunnel list can be established, then it is determined that the second CAPWAP tunnel is permitted to be established.
  • the WTP or AC may also determine whether to permit the establishment of the second CAPWAP tunnel according to the format of the tunnel establishment request.
  • the request may be pre-configured in a special format as in the above message. If the WTP or AC determines that the received tunnel establishment request conforms to the preset format, it determines to permit the establishment of the second CAPWAP tunnel.
  • the WTP or the AC may determine whether to permit the establishment of the second CAPWAP tunnel according to the maximum access capability of the WTP. For example, the WTP can bear the capability of establishing the second CAPWAP tunnel to establish five second CAPWAP tunnels.
  • the tunnel establishment request of the STA is sent to the WTP or the AC, the WTP or the WTP after the WTP only establishes 1 to 4 second CAPWAP tunnels.
  • the AC determines that the WTP can also carry one more second CAPWAP tunnel, and then grants the establishment; the tunnel establishment request of the STA is sent to the WTP or the AC after the WTP establishes five second CAPWAP tunnels, and the WIT capability of the guest is limited, WTP Or the AC does not permit the establishment of a second CAPWAP tunnel between the WTP and the STA.
  • the AC can send the CAPWAP packet of the control STA to the WTP through the first CAPWAP tunnel, and then the WTP forwards the packet to the STA through the second CAPWAP tunnel, so that the AC
  • the message for controlling the STA may be sent to the STA, and the response message of the STA may be determined by the WTP forwarding STA, such as whether the resource scheduling of the STA is reasonable, effective, or the like.
  • the AC can send control packets through the first CAPWAP tunnel and the second CAPWAP tunnel to control the STA to access another idle WTP.
  • the manner of controlling resource scheduling is described as an example, but it is not limited thereto.
  • the existing STA-to-WTP packet is transmitted through the 802.11 protocol, and the packet format includes an 802.11 physical layer, a medium access control (MAC, Media Access Control) address layer, and a logical link control (LLC, Logical Link Control) layer header, then add wireless load.
  • the control packet is the control interaction between the WTP and the AC.
  • the data packet is sent by the WTP to the STA.
  • the sent wireless load is sent to the AC through the first CAPWAP tunnel.
  • Most of the control messages are protected by Datagram Transport Layer Security (DTLS), and the data packets are optionally DTLS protected.
  • DTLS Datagram Transport Layer Security
  • the CAPWAP packet transmitted in the first CAPWAP tunnel or the second CAPWAP tunnel needs to meet the CAPWAP tunnel format.
  • the data packets are as shown in Table 1 and Table 2. As shown in Table 3 and Table 4.
  • Table 1 shows the data packet format without DTLS security protection between WTP and AC:
  • Table 1 shows the format of data packets with DTLS security protection:
  • DTLS Hdr, CAPWAP Hdr and Wireless Payload are authenticated, CAPWAP Hdr, Wireless Payload and DTLS TrLr are encrypted.
  • Table 3 shows the format of control packets without DTLS security protection:
  • Table 4 shows the control packet format with DTLS security protection:
  • DTLS Hdr DTLS Hdr
  • CAPWAP Hdr Control Hdr
  • Msg Elements DTLS Trlr
  • the packet needs to meet the CAPWAP tunnel format, and supports data packets and control packets, and also supports the DTLS format. Therefore, the control packets can be as shown in Table 5 and Table 6, and the data packets are as shown in Table 7 and Table 8.
  • Table 5 shows the DTLS-based CAPWAP tunnel control packet after the second CAPWAP tunnel is established:
  • DTLS Hdr DTLS Hdr
  • CAPWAP Hdr Control Hdr
  • Msg Elements DTLS Trlr
  • Table 6 shows the CAPWAP tunnel control packet after the second CAPWAP tunnel is established:
  • Table 6 Table 7 shows the CAPWAP tunnel data packets after the second CAPWAP tunnel is established:
  • Table 7 shows the DTLS-based CAPWAP tunnel data report after establishing the second CAPWAP tunnel.
  • DTLS Hdr DTLS Hdr
  • CAPWAP Hdr Wireless Payload
  • DTLS TrLr DTLS TrLr
  • 802.1 lHdr represents the 802.11 physical layer and the MAC layer header; IP Hdr represents the IP layer header; User Datagram Protocol (UDP) represents the UDP header, where UDP, a connectionless transport layer protocol in the Open System Interconnect (OSI) reference model, provides a simple transaction-oriented unreliable information transfer service; CAPWAP DTLS Hdr represents a DTLS header adapted to CAPWAP; DTLS Hdr Indicates the DTLS protocol header; CAPWAP Hdr indicates the CAPWAP header, in Table 1 Table 4 shows the header of the first CAPWAP, the header of the second CAPWAP is shown in Table 5-8; Control Hdr represents the control header of the CAPWAP; Msg Elements represents the control message message of the CAPWAP; Wireless Payload represents the wireless load; DTLS Trlr indicates the end of the DTLS protocol message.
  • UDP User Datagram Protocol
  • CAPWAP DTLS Hdr represents a DTLS
  • the tunnel establishing method provided by the embodiment of the present invention, if the tunnel establishing device receives the STA sending
  • the CAPWAP tunnel establishment request determines to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, so that the AC passes the first CAPWAP tunnel between the WTP and the AC.
  • the second CAPWAP tunnel interacts with the STA.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC. In this way, by establishing a second CAPWAP tunnel between the WTP and the STA, the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, thereby reasonably utilizing the resources of the STA, and enabling the STA to access the network reasonably.
  • WTP solves the problem of resource scheduling in the deployment of WiFi devices, and thus effectively manages STAs.
  • 2 is a flowchart of another embodiment of a method for establishing a tunnel according to the present invention.
  • the present embodiment is applied to a scenario in which a first CAPWAP tunnel is established between a WTP and an AC.
  • the method in this embodiment uses The tunnel establishment device is described as an example of WTP.
  • the method includes:
  • the STA sends a CAPWAP tunnel establishment request to the WTP.
  • the WTP determines whether to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP. S203; No, execute S209.
  • determining whether to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP may be: whether the WTP is correctly determined according to the request condition of the tunnel establishment request, or Whether the format of the tunnel establishment request is correctly determined; or determining whether to permit the establishment of the second CAPWAP tunnel to determine whether to permit the establishment of the second CAPWAP tunnel according to the capability of the WTP; or, when the CAPWAP tunnel establishment request content and the maximum access capability of the WTP satisfy the condition It is determined to establish a second CAPWAP tunnel.
  • the request condition of the WTP according to the tunnel establishment request is correct or not, whether the CAPWAP tunnel is established or not, whether the source STA that determines the CAPWAP tunnel establishment request is pre-existing can establish a tunnel.
  • the list the list of configurable tunnels can be pre-stored in the WTP. If the source STA is a pre-existing STA that can establish a tunnel list, it is determined to permit establishment of a second CAPWAP tunnel.
  • the WTP may also determine whether to permit the establishment of the second CAPWAP tunnel according to the format of the tunnel establishment request.
  • the request may be pre-configured in a special format as in the above message. If the WTP determines that the received tunnel establishment request conforms to the preset format, it determines to permit the establishment of the second CAPWAP tunnel.
  • WTP can also determine whether to permit the establishment of a second CAPWAP tunnel based on the capabilities of the WTP. For example, the capability of the WTP maximum bearer to establish the second CAPWAP tunnel is to establish five second CAPWAP tunnels.
  • the tunnel establishment request of the STA is sent to the WTP after the WTP only establishes one to three second CAPWAP tunnels, and the WTP determines that the WTP can also be The second CAPWAP tunnel carrying one more is allowed to be established; the tunnel establishment request of the STA is sent to the WTP after the WTP establishes 5 second CAPWAP tunnels, and the WTP capability is limited, and the WTP does not permit the establishment of the WTP and the STA.
  • the establishment success response may be returned to the STA, and S203 is performed; if the establishment is not permitted, the tunnel establishment failure notification may be returned to the STA, and S212 is performed.
  • the WTP establishes a second CAPWAP tunnel with the STA.
  • the notification message for notifying the establishment of the second CAPWAP tunnel may be sent to the AC.
  • the notification message may also be carried in a CAPWAP message conforming to the above CAPWAP message format.
  • the AC sends a CAPWAP message to the WTP.
  • the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC to perform resource scheduling on the STA, and the CAPWAP message further includes the identifier information, where the identifier information is the first CAPWAP tunnel or the second CAPWAP tunnel is established according to the WTP. Or STA generated.
  • the identifier information may be address information or a preset identifier.
  • the identification information is used to cause the WTP to determine whether the CAPWAP message is a message sent to the STA or a whitespace s sent to the WTP.
  • the AC may also receive the CAPWAP message sent by the WTP, or the CAPWAP message sent by the WTP-transferred STA, and the CAPWAP message may include the identification information, so that the AC determines the source of the CAPWAP message, and the description is not extended here.
  • the CAPWAP message includes the CAPWAP described in the foregoing embodiment.
  • the packet such as the control packet and the data packet
  • the format and the content of the CAPWAP packet may be as described in the foregoing embodiment, and details are not described herein again.
  • the WTP receives the CAPWAP message sent by the AC.
  • the WTP determines, according to the identifier information in the CAPWAP message, whether the CAPWAP message is sent to the STA.
  • the WTP determines, according to the identifier information included in the CAPWAP message, whether the CAPWAP message is a message sent to the STA. If the identifier information is the address information, and the address information is a valid address, such as a MAC address corresponding to an STA, the message is determined to be a message sent to the STA corresponding to the MAC address; when the address information is an invalid address, When any STA's MAC address is determined, the message is sent to the WTP. For example, the message address is 38 bits F is a valid address, and 38 bits of F are invalid addresses.
  • the MAC address of the STA may be pre-stored in the preset list to check whether the address information is a valid address. If the same MAC address is found in the preset list, it is determined to be a valid address, otherwise it is an invalid address.
  • the identifier information is a preset identifier bit. If the preset identifier bit included in the CAPWAP message is the first value, and each first value corresponds to one STA, the WTP forwards the CAPWAP message to the STA corresponding to the first value;
  • the preset identifier bit included in the CAPWAP message is the second value, and the second value corresponds to the WTP, and the WTP processes the CAPWAP message. For example, if the first value is 1, and the second value is 0, if the preset flag is 1, the CAPWAP message is sent to the WTP; if the preset flag is 0, the CAPWAP message is sent to the STA.
  • the CAPWAP message is sent to the WTP; if the preset flag is 1, the CAPWAP message is sent to the STA.
  • the WTP pre-stores the corresponding first value of the multiple STAs, the first value is respectively set to 01, 10, 11 or 1, 2, 3, etc. according to the order of STA access, which can facilitate WTP and multiple
  • the STA establishes a second CAPWAP tunnel, it can determine which STA the CAPWAP message is sent to.
  • the WTP determines that the CAPWAP message is sent to the STA according to the identifier information in the CAPWAP message, and then performs step S207. If not, the WTP parses the CAPWAP message and performs a corresponding operation according to the content or policy.
  • S207 The WTP forwards the CAPWAP message to the STA corresponding to the identifier information in the CAPWAP message.
  • S208. The STA receives the CAPWAP message forwarded by the WTP.
  • the STA may also send a CAPWAP message to the AC through the WTP, that is, the CAPWAP message is sent through the second CAPWAP tunnel and the first CAPWAP tunnel, so that the STA can interact with the AC through the CAPWAP message.
  • the WTP sends a tunnel establishment failure notification to the STA, and the tunnel establishment failure notification includes the failure reason.
  • the STA receives a tunnel establishment failure notification sent by the WTP, and determines, according to the failure reason, a time for resending the CAPWAP tunnel establishment request.
  • the STA may pre-store a list with a correspondence between the number and the reason for the failure, the number may be an encoding or a serial number, and the tunnel establishment failure notification may include a coding or serial number, so that The STA can query the list to determine the reason for the tunnel establishment failure.
  • the list may also pre-store a timer corresponding to the reason for the failure, so that the STA re-requests to establish a second CAPWAP tunnel after the timer expires. If the failure occurs because the first CAPWAP tunnel is abnormal, the CAPWAP tunnel establishment request is resent after 5 seconds.
  • step S211 is performed after the step S202 and the subsequent steps. Explain, but do not make any restrictions.
  • the STA determines to delete the second CAPWAP tunnel, the STA sends a tunnel deletion request to the WTP.
  • the WTP receives the tunnel deletion request sent by the STA, deletes the second CAPWAP tunnel, and notifies the AC to the second CAPWAP tunnel to delete.
  • the tunnel establishment apparatus determines the establishment of the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP.
  • the second CAPWAP tunnel is configured to enable the AC to interact with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 3 is a flowchart of still another embodiment of a method for establishing a tunnel according to the present invention. As shown in FIG. 3, the method in this embodiment uses a tunnel establishment device as a WTP as an example. Steps S201 to S210 and the foregoing embodiment are used.
  • the second CAPWAP tunnel may be deleted after step S203 and any subsequent steps, that is, step S213.
  • the second CAPWAP tunnel is described as an example, but is not limited thereto.
  • the AC sends a tunnel deletion request to the WTP.
  • the WTP receives the tunnel deletion request sent by the AC, deletes the second CAPWAP tunnel, and notifies the STA of the second CAPWAP tunnel deletion.
  • the tunnel deletion request includes the MAC address information of the STA, so that the WTP determines, according to the MAC address information, which of the established second CAPWAP tunnels needs to be deleted.
  • the STA receives the notification of deleting the second CAPWAP tunnel sent by the WTP, and determines that the second CAPWAP tunnel is deleted.
  • the WTP if the WTP fails to establish the second CAPWAP tunnel, the WTP sends a tunnel establishment failure notification to the STA, and the tunnel establishment failure notification includes the failure reason, so that the STA re-determines the time for resending the CAPWAP tunnel establishment request according to the failure reason.
  • the tunnel establishing method provided by the embodiment of the present invention, if the tunnel establishing device receives the STA sending
  • the CAPWAP tunnel establishment request determines to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, so that the AC passes the first CAPWAP tunnel between the WTP and the AC.
  • the second CAPWAP tunnel interacts with the STA.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC. In this way, by establishing a second CAPWAP tunnel between the WTP and the STA, the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, thereby reasonably utilizing the resources of the STA, and enabling the STA to access the network reasonably.
  • FIG. 4 is a flowchart of still another embodiment of a tunnel establishment method according to the present invention.
  • the method in this embodiment uses the tunnel establishment device as an AC as an example. The method includes:
  • the STA sends a CAPWAP tunnel establishment request to the AC through the WTP.
  • the STA may send a CAPWAP tunnel establishment request to the WTP, and the WTP forwards the CAPWAP tunnel establishment request to the AC.
  • the AC determines whether to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP. S303; No, then S312 is performed.
  • the AC may determine whether to permit the establishment of the second CAPWAP tunnel according to whether the request condition of the tunnel establishment request is correct, whether the format of the tunnel establishment request is correct, or according to one or more of the maximum access capabilities of the WTP. Determine if a second CAPWAP tunnel is allowed to be established. The method for determining the same has been developed in the above embodiment, and details are not described herein again.
  • the AC sends a notification message to the WTP to notify the second CAPWAP tunnel establishment.
  • the WTP receives a notification message that notifies the establishment of the second CAPWAP tunnel.
  • the WTP learns that a second CAPWAP tunnel has been established with the STA.
  • the CAPWAP message between the STA and the AC can be prepared for subsequent forwarding.
  • the WTP establishes a second CAPWAP tunnel with the STA, and sends a notification message to the STA to notify the establishment of the second CAPWAP tunnel.
  • the STA receives the notification message.
  • the STA may send a CAPWAP message to the AC through the WTP.
  • the data packet or the control packet in the CAPWAP message may be generated according to the packet format given in the foregoing embodiment, and is no longer Narration.
  • the AC sends a CAPWAP message to the WTP.
  • the AC can also receive the CAPWAP message sent by the WTP or the CAPWAP message sent by the STA forwarded by the WTP.
  • the AC can also send a CAPWAP message to the WTP or forward the CAPWAP message to the STA through the WTP.
  • This example uses the AC to forward the CAPWAP message to the STA through the WTP as an example, but does not limit it.
  • the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC to perform resource scheduling on the STA, and the CAPWAP message further includes identifier information, and the identifier information is included.
  • the information is generated according to WTP or STA when the first CAPWAP tunnel or the second CAPWAP tunnel is established.
  • the identifier information may be address information or a preset identifier. The identification information is used to cause the WTP to determine whether the CAPWAP message is a message sent to the STA or a whitening s sent to the WTP.
  • the identification information is address information: If the address information is a valid address, the AC sends the message to the WTP.
  • the CAPWAP message causes the WTP to forward the CAPWAP message to the STA corresponding to the effective address. If the identifier information is an invalid address, the AC sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the identifier information is a preset identifier: if the preset identifier bit included in the CAPWAP message is the first value, and each first value corresponds to one STA, the AC sends a CAPWAP message to the WTP, so that the WTP corresponds to the first value. The STA forwards the CAPWAP message. If the preset identifier bit included in the CAPWAP message is the second value and the second value corresponds to the WTP, the AC sends a CAPWAP message to the WTP, so that the WTP processes the CAPWAP message.
  • the WTP receives the CAPWAP message sent by the AC.
  • the WTP determines, according to the identifier information in the CAPWAP message, whether the CAPWAP message is sent to the STA.
  • the CAPWAP message may be the control packet and the data packet in the foregoing embodiment.
  • the format and the content of the packet may be as described in the foregoing embodiment, and details are not described herein.
  • step S310 is performed. If not, the WTP parses the CAPWAP message and performs a corresponding operation according to its content or policy.
  • the WTP forwards the CAPWAP message to the STA corresponding to the identifier information included in the CAPWAP message.
  • the STA receives the CAPWAP message forwarded by the WTP.
  • the STA may also send a CAPWAP message to the AC through the WTP, that is, the CAPWAP message is sent through the second CAPWAP tunnel and the first CAPWAP tunnel, so that the STA can interact with the AC through the CAPWAP message.
  • the AC sends a tunnel establishment failure notification to the WTP, and the WTP sends a tunnel establishment failure notification to the STA, and the tunnel establishment failure notification includes a failure reason.
  • the STA receives a tunnel establishment failure notification sent by the WTP, and determines, according to the failure reason, a time for resending the CAPWAP tunnel establishment request.
  • the STA may pre-store a list with a correspondence between the number and the reason for the failure, the number may be an encoding or a serial number, and the tunnel establishment failure notification may include a coding or serial number, so that The STA can query the list to determine the reason for the tunnel establishment failure.
  • the list may also pre-store a timer corresponding to the reason for the failure, so that the STA re-requests to establish the second CAPWAP tunnel after the timer expires.
  • step S312 is performed after step S306 and any subsequent steps.
  • the second CAPWAP tunnel needs to be deleted after S311.
  • the STA determines to delete the second CAPWAP tunnel, the STA sends a tunnel deletion request to the WTP.
  • the WTP receives the tunnel deletion request sent by the STA, deletes the second CAPWAP tunnel, and notifies the AC to the second CAPWAP tunnel to delete.
  • the tunnel establishment apparatus determines the establishment of the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP.
  • the second CAPWAP tunnel is configured to enable the AC to interact with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 5 is a flowchart of still another embodiment of a tunnel establishment method according to the present invention. As shown in FIG. 5, the method in this embodiment uses the tunnel establishment device as an AC as an example. The method steps S301 to S313 and the foregoing embodiment.
  • the second CAPWAP tunnel may be deleted after the step S302 and any subsequent steps, that is, the step S316 is performed.
  • the second CAPWAP tunnel is described as an example, but is not limited thereto.
  • the AC determines to delete the second CAPWAP tunnel, the AC sends a tunnel deletion request to the WTP. 5317.
  • the WTP receives the tunnel deletion request sent by the AC, deletes the second CAPWAP tunnel, and notifies the STA of the second CAPWAP tunnel deletion.
  • the tunnel deletion request includes the MAC address information of the STA, so that the WTP determines, according to the MAC address information, which of the established second CAPWAP tunnels needs to be deleted.
  • the STA receives the notification that the second CAPWAP tunnel is deleted by the WTP, and determines that the second CAPWAP tunnel is deleted.
  • the STA may re-determine the time to resend the CAPWAP tunnel establishment request according to the failure reason.
  • the tunnel establishing method provided by the embodiment of the present invention, if the tunnel establishing device receives the STA sending
  • the CAPWAP tunnel establishment request determines to establish a second CAPWAP tunnel between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, so that the AC passes the first CAPWAP tunnel between the WTP and the AC.
  • the second CAPWAP tunnel interacts with the STA.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • WTP solves the problem of resource scheduling in the deployment of WiFi devices, and thus effectively manages STAs.
  • the tunnel establishment apparatus of the present invention can be applied to a scenario in which there is at least one STA in the wireless transmission range of the WTP, and the STA can establish a first CAPWAP tunnel by the WTP and the AC, and the WTP and the AC can pass the first A CAPWAP tunnel interacts, and each STA and WTP can communicate through the 802.11 protocol.
  • FIG. 6 is a schematic structural diagram of an embodiment of a tunnel establishing apparatus according to the present invention.
  • the tunnel establishing apparatus may be WTP or AC.
  • the tunnel establishing apparatus 10 of this embodiment may include: a tunnel establishing unit 101 and a receiving unit 102.
  • the tunnel establishing unit 101 is configured to: if the receiving unit 102 receives the CAPWAP tunnel establishment request sent by the STA, determine, according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP, to establish a second CAPWAP between the WTP and the STA. Tunneling so that the access control point AC passes the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • the tunnel establishment unit 101 may determine whether to permit the establishment according to the maximum access capability of the WTP and the content of the CAPWAP tunnel establishment request. The method for determining is described in the foregoing method embodiment, and details are not described herein again.
  • the tunnel establishment device is a WTP.
  • FIG. 7 is a schematic structural diagram of a WTP embodiment of the present invention. As shown in FIG. 7, the WTP of the embodiment is further configured to include the device structure shown in FIG. WTP receiving unit 103.
  • the WTP receiving unit 103 is configured to receive a CAPWAP message sent by the AC, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, and the CAPWAP message further includes the identifier information, where the label information is the first When a CAPWAP tunnel or a second CAPWAP tunnel is established, it is generated according to WTP or STA.
  • FIG. 8 is a schematic structural diagram of another embodiment of a WTP according to the present invention. As shown in FIG. 8, the embodiment is
  • the WTP may further include: a WTP processing unit 104 and a WTP sending unit 105.
  • the WTP processing unit 104 is configured to: if the identifier information is the address information, and the address information is a valid address, the WTP sending unit 105 forwards the CAPWAP message to the STA corresponding to the effective address; the WTP processing unit 104 is further configured to: if the address information is invalid Address, then handle CAPWAP messages.
  • the WTP processing unit 104 is further configured to: if the identifier information is a preset identifier, and the preset identifier is a first value, each first value corresponds to one STA, so that the WTP sending unit 105 sends the STA corresponding to the first value. Forward CAPWAP message;
  • the WTP processing unit 104 is further configured to process the CAPWAP message if the identifier information is a preset identifier, and the preset identifier is the second value, and the second value corresponds to the WTP. Further, the WTP processing unit 104 is further configured to: after the WTP receiving unit 103 receives the tunnel deletion request sent by the STA, delete the second CAPWAP tunnel, so that the WTP sending unit 105 Notify the AC of the second CAPWAP tunnel deletion.
  • the WTP processing unit 104 is further configured to: after the WTP receiving unit 103 receives the tunnel deletion request sent by the AC, delete the second CAPWAP tunnel, so that the WTP sending unit 105 notifies the STA of the second CAPWAP tunnel deletion, so that the AC and the STA do not Then send a CAPWAP message through WTP to interact.
  • the WTP sending unit 105 is further configured to: if the tunnel establishing unit 101 fails to establish the second CAPWAP tunnel, send a tunnel establishment failure notification to the STA, where the tunnel establishment failure notification includes a failure reason, so that the STA re-determines the resending according to the failure reason. The time when the CAPWAP tunnel establishes the request.
  • the tunnel establishing device may also be an AC.
  • FIG. 9 is a schematic structural diagram of an AC embodiment of the present invention. As shown in FIG. 9, the AC in this embodiment is based on the STA structure shown in FIG. 106.
  • the AC sending unit 106 is configured to send a CAPWAP message to the WTP, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA.
  • the CAPWAP message also includes identification information indicating that the information is the first CAPWAP tunnel or the second
  • the CAPWAP tunnel is generated based on WTP or STA.
  • the AC sending unit 106 is specifically configured to: if the address information is a valid address, send a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the effective address; if the identifier information is an invalid address, sends the CAPWAP message to the WTP. , causes WTP to process CAPWAP messages.
  • the AC sending unit is specifically configured to: if the identifier information included in the CAPWAP message is a preset identifier bit; if the preset identifier bit included in the CAPWAP message is the first value, each first value corresponds to one STA, Sending a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the first value; if the preset identifier bit included in the CAPWAP message is the second value, and the second value corresponds to the WTP, the CAPWAP message is sent to the WTP, so that
  • FIG. 10 is a schematic structural diagram of another embodiment of the AC according to the present invention. As shown in FIG. 10, the WTP of the embodiment further includes an AC receiving unit 107 based on the device structure shown in FIG.
  • the AC receiving unit 107 is configured to receive a notification that the second CAPWAP tunnel is sent by the WTP, so that the AC and the STA no longer send the CAPWAP message through the WTP to interact; or
  • the AC sending unit 106 is further configured to send a tunnel deletion request to the WTP, so that the WTP deletes the second CAPWAP tunnel.
  • the tunnel establishment apparatus determines the content between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP.
  • the second CAPWAP tunnel is configured to enable the AC to interact with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, thereby reasonably utilizing the resources of the STA, and enabling the STA to access the network reasonably.
  • WTP solves the problem of resource scheduling in the deployment of WiFi devices, and thus effectively manages STAs.
  • the tunnel establishment apparatus of the present invention can be applied to a scenario in which there is at least one STA in the wireless transmission range of the WTP, and the STA can establish a first CAPWAP tunnel by the WTP and the AC, and the WTP and the AC can pass the first A CAPWAP tunnel interacts, and each STA and WTP can communicate through the 802.11 protocol.
  • FIG. 11 is a schematic structural diagram of another embodiment of a tunnel establishing apparatus according to the present invention.
  • the tunnel establishing apparatus may be WTP or AC.
  • the tunnel establishing apparatus 20 of this embodiment may include: a processor 201 and a receiver 202.
  • the processor 201 is configured to: if the receiver 202 receives the CAPWAP tunnel establishment request sent by the STA, according to the CAPWAP tunnel establishment request content and at least the maximum access capability of the WTP Determining to establish a second CAPWAP tunnel between the WTP and the STA, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC, where the first CAPWAP tunnel is between the first WTP and the AC.
  • the tunnel establishing device is a WTP.
  • FIG. 12 is a schematic structural diagram of another WTP embodiment of the present invention. As shown in FIG. 12, the WTP of the present embodiment is further based on the device structure shown in FIG. These may include: a WTP receiver 203, a WTP processor 204, and a WTP transmitter 205.
  • the WTP receiver 203 is configured to receive a CAPWAP message sent by the AC, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC, to perform resource scheduling on the STA, and the CAPWAP message further includes the identifier information, where the label information is the first When a CAPWAP tunnel or a second CAPWAP tunnel is established, it is generated according to WTP or STA.
  • the WTP processor 204 is configured to: if the identifier information is address information, and the address information is a valid address, cause the WTP sender 205 to forward the CAPWAP message to the STA corresponding to the effective address;
  • the WTP processor 204 is further configured to process the CAPWAP message if the address information is an invalid address.
  • the WTP processor 204 is further configured to: if the identifier information is a preset identifier, and the preset identifier is a first value, each first value corresponds to one STA, so that the WTP transmitter 205 corresponds to the first value.
  • the STA forwards the CAPWAP message;
  • the WTP processor 204 is further configured to: if the identifier information is a preset identifier, and the preset identifier is a second value, and the second value corresponds to the WTP, the CAPWAP message is processed. Further, the WTP processor 204 is further configured to: after the WTP receiver 203 receives the tunnel deletion request sent by the STA, delete the second CAPWAP tunnel, so that the WTP sender 205 notifies the AC to the second CAPWAP tunnel to delete; or
  • the WTP processor 204 is further configured to: after the WTP receiver 203 receives the tunnel deletion request sent by the AC, delete the second CAPWAP tunnel, so that the WTP transmitter 205 notifies the STA of the second CAPWAP tunnel deletion, so that the AC and the STA no longer pass. WTP sends CAPWAP messages for interaction.
  • the WTP transmitter 205 is further configured to: if the processor 201 fails to establish the second CAPWAP tunnel, send a tunnel establishment failure notification to the STA, where the tunnel establishment failure notification includes a failure reason, so that the STA re-determines the resending CAPWAP tunnel establishment request according to the failure reason. time.
  • the tunnel establishment device is an AC.
  • FIG. 13 is a schematic structural diagram of another AC embodiment of the present invention. As shown in FIG. 13, the AC in this embodiment is based on the STA structure shown in FIG. AC transmitter 206 and AC receiver 207.
  • the AC transmitter 206 is configured to send a CAPWAP message to the WTP, where the CAPWAP message includes a CAPWAP control packet or a data packet sent by the AC to perform resource scheduling on the STA, where the CAPWAP message further includes the identifier information, and the label information is the first CAPWAP.
  • the tunnel or the second CAPWAP tunnel is generated according to WTP or STA.
  • the AC transmitter 206 is specifically configured to: if the address information is a valid address, send a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the effective address; if the identifier information is an invalid address, sends the CAPWAP message to the WTP. , causes WTP to process CAPWAP messages.
  • the AC transmitter 206 is specifically configured to: if the identifier information included in the CAPWAP message is a preset identifier bit; if the preset identifier bit included in the CAPWAP message is the first value, each first value corresponds to one STA. And sending a CAPWAP message to the WTP, so that the WTP forwards the CAPWAP message to the STA corresponding to the first value; if the preset identifier bit included in the CAPWAP message is the second value, and the second value corresponds to the WTP, the CAPWAP message is sent to the WTP. Enable WTP to process CAPWAP messages. Further, the AC receiver 206 is configured to receive a notification that the second CAPWAP tunnel is sent by the WTP, so that the AC and the STA no longer send the CAPWAP message through the WTP to interact; or
  • the AC transmitter 207 is further configured to send a tunnel deletion request to the WTP, so that the WTP deletes the second CAPWAP tunnel.
  • the AC transmitter 207 is further configured to send a tunnel establishment failure notification to the WTP when the second CAPWAP tunnel fails to be established, so that the WTP forwards the tunnel establishment failure notification to the STA, and the tunnel establishment fails.
  • the notification contains the reason for the failure so that the STA is based on The reason for the failure is to redetermine when the CAPWAP tunnel establishment request is resent.
  • the tunnel establishment apparatus determines the content between the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP.
  • the second CAPWAP tunnel is configured to enable the AC to interact with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 14 is a schematic structural diagram of an embodiment of a tunnel establishment system according to the present invention.
  • the system 1 includes: a tunnel establishment apparatus 10 and at least one STA 30, wherein the tunnel establishment apparatus 10 may be a WTP or an AC.
  • the tunnel establishing apparatus 10 may be configured to: after the first CAPWAP tunnel is established between the WTP and the AC, the tunnel establishing apparatus receives the CAPWAP tunnel establishment request sent by the STA of the station, and establishes a second CAPWAP tunnel between the WTP and the STA.
  • the STA 30 is configured to send a Control Wireless Access Point Protocol CAPWAP Tunnel Establishment Request to the tunnel establishment apparatus to establish a second CAPWAP tunnel with the wireless terminal station WTP, so that the control point AC passes the first CAPWAP tunnel between the WTP and the AC.
  • the second CAPWAP tunnel interacts with the STA.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • the tunneling device 10 can adopt the system of the embodiment shown in any of the tunneling devices 10 of FIG. 6 to FIG. 10, and can be used to implement the technical solution of the method embodiment shown in FIG. 1 to FIG.
  • the implementation principle is similar to the technical effect, and will not be described here.
  • the system includes:
  • the tunnel establishment device 20 and the STA are The tunnel establishment device 20 and the STA.
  • the tunnel establishing device 20 can adopt the configuration shown in any of the tunnel establishing devices 20 of Figs.
  • the system of this embodiment and can be used to execute the technical method of the method embodiment shown in FIG. 1 to FIG.
  • the implementation principle and technical effect are similar, and will not be described here.
  • the tunnel establishment apparatus if the tunnel establishment apparatus receives the CAPWAP tunnel establishment request sent by the STA, the tunnel establishment apparatus determines the establishment of the WTP and the STA according to at least one of the CAPWAP tunnel establishment request content and the maximum access capability of the WTP.
  • the second CAPWAP tunnel is configured to enable the AC to interact with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, thereby reasonably utilizing the resources of the STA, and enabling the STA to access the network reasonably.
  • WTP solves the problem of resource scheduling in the deployment of WiFi devices, and thus effectively manages STAs.
  • a person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明实施例提供一种隧道建立方法、装置及系统。本方法隧道建立装置若接收到站点 STA发送的控制无线接入点协议 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以使接入控制点 AC通过 WTP与 AC之间的第一CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。本发明实施例使得 AC能够通过 WTP控制 STA,从而实现对 STA进行有效管理。

Description

隧道建立方法、 装置及系统
技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种隧道建立方法、 装置及 系统。 背景技术
随着互联网的快速发展, 集中式无线局域网 (Wireless Local Area Network, WLAN)架构应运而生。它通过接入控制点 (Access Controller, AC) 来管理多个无线终端站点 (Wireless Termination Points, WTP) , WTP禾卩 AC 间可以采用 802.11协议进行通讯, 其中, WTP为允许无线设备通过 802.11 或相关标准接入有线网络的设备。通常 WTP作为一个独立设备通过连接路由 器接入到有线网络, WTP也有整合路由器功能。 AC通过网络管理员或网络 运营中心管理大量 WTP的实体, 完成对 WTP设备的配置, 鉴权, 安全等管 理。在这种架构下, WTP主要是用来接收和发送无线网络数据, AC收到 WTP 发送的无线数据并完成相应的处理之后, 会将处理后的数据再发送到局域网 或因特网中。
当前各运营商的无线保真 (Wireless Fidelity , WiFi) 设备在 WLAN架 构中作为站点 (Station, STA) 部署的越来越密集, 各个运营商之间的 STA 会产生非常多的交叠, 其中, STA为包含 IEEE802.il 协议接入无线媒介的 设备, STA需要通过 WTP接入采用 802.11协议进行通讯网络中。 但是 WTP 或 AC在 802.11协议下无法对大量的 STA进行有效管理, STA的无管理状态 会造成信号干扰、 资源调度等问题, 因此, 如何对 WLAN架构中的 STA进 行有效管理成为亟待解决的问题。 发明内容
本发明的实施例提供一种隧道建立方法、 装置及系统, 通过在 WTP 与 STA之间建立 CAPWAP隧道, 使得 AC能够通过 WTP控制 STA, 从而实现 对 STA进行有效管理。
本发明的第一方面, 提供一种隧道建立方法, 包括:
隧道建立装置若接收到站点 STA发送的控制无线接入点协议 CAPWAP 隧道建立请求,则根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP 的最大接入能力中的至少一个确定建立所述 WTP 与所述 STA之间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。
在第一种可能的实现方式中, 根据第一方面, 所述隧道建立装置为所述 WTP;
所述根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大 接入能力中的至少一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP 隧道之后, 还包括:
所述 WTP接收所述 AC发送的 CAPWAP消息, 所述 CAPWAP消息中 包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行资 源调度, 所述 CAPWAP 消息中还包含标识信息, 所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
在第二种可能的实现方式中, 根据第一种可能的实现方式, 所述标识信 息为地址信息;
所述 WTP接收所述 AC发送的 CAPWAP消息之后, 还包括:
若所述地址信息为有效地址, 则所述 WTP 向所述有效地址对应的 STA 转发所述 CAPWAP消息;
若所述地址信息为无效地址, 则所述 WTP处理所述 CAPWAP消息。 在第三种可能的实现方式中, 根据第一种可能的实现方式, 所述标识信 息为一预设标识位;
所述 WTP接收所述 AC发送的 CAPWAP消息之后, 还包括:
若所述 CAPWAP消息中所包含的预设标识位为第一数值,每个所述第一 数值对应一个 STA, 则所述 WTP 向所述第一数值对应的 STA 转发所述 CAPWAP消息; 若所述 CAPWAP消息中所包含的预设标识位为第二数值,所述第二数值 对应所述 WTP, 则所述 WTP处理所述 CAPWAP消息。
在第四种可能的实现方式中, 结合第一方面、 第一种可能的实现方式、 第二种可能的实现方式和第三种可能的实现方式, 所述根据所述 CAPWAP 隧道建立请求内容和无线终端站点 WTP 的最大接入能力中的至少一个确定 建立所述 WTP与所述 STA之间的第二 CAPWAP隧道之后, 还包括:
所述 WTP接收所述 STA发送的隧道删除请求,删除所述第二 CAPWAP 隧道, 并向所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP接收所述 AC发送的隧道删除请求, 删除所述第二 CAPWAP 隧道, 并向所述 STA通知所述第二 CAPWAP隧道删除, 以使得所述 AC与 所述 STA不再通过所述 WTP发送所述 CAPWAP消息进行交互。
在第五种可能的实现方式中, 根据第一方面, 所述隧道建立装置为所述
AC;
所述根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大 接入能力中的至少一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP 隧道之后, 还包括:
所述 AC向所述 WTP发送 CAPWAP消息, 所述 CAPWAP消息中包含 所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行资源调 度, 所述 CAPWAP 消息中还包含标识信息, 所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
在第六种可能的实现方式中, 根据第五种可能的实现方式, 所述标识信 息为地址信息;
所述 AC向所述 WTP发送 CAPWAP消息包括:
若所述地址信息为有效地址, 则所述 AC向所述 WTP发送 CAPWAP消 息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则所述 AC向所述 WTP发送 CAPWAP消 息, 使得所述 WTP处理所述 CAPWAP消息。
在第七种可能的实现方式中, 根据第五种可能的实现方式, 所述标识信 息为一预设标识位; 所述 AC向所述 WTP发送 CAPWAP消息包括:
若所述 CAPWAP消息中所包含的预设标识位为第一数值,每个所述第一 数值对应一个 STA, 则所述 AC向所述 WTP发送 CAPWAP消息, 使得所述 WTP向第一数值对应的所述 STA转发所述 CAPWAP消息;
若所述 CAPWAP消息中所包含的预设标识位为第二数值,所述第二数值 对应所述 WTP,则所述 AC向所述 WTP发送 CAPWAP消息,使得所述 WTP 处理所述 CAPWAP消息。
在第八种可能的实现方式中, 结合第一方面、 第五种可能的实现方式、 第六种可能的实现方式和第七种可能的实现方式, 所述根据所述 CAPWAP 隧道建立请求内容和无线终端站点 WTP 的最大接入能力中的至少一个确定 建立所述 WTP与所述 STA之间的第二 CAPWAP隧道之后, 还包括:
所述 AC向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第 二 CAPWAP隧道; 或者,
所述 AC接收所述 WTP发送的所述第二 CAPWAP隧道删除的通知, 以 使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP消息进行交 互。 本发明的第二方面, 提供了一种隧道建立装置, 包括:
隧道建立单元, 用于若接收单元接收到站点 STA发送的控制无线接入点 协议 CAPWAP隧道建立请求, 则根据所述 CAPWAP隧道建立请求内容和无 线终端站点 WTP 的最大接入能力中的至少一个确定建立所述 WTP 与所述 STA之间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交 互,所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP 隧道。
在第一种可能的实现方式中, 根据第二方面, 所述隧道建立装置为所述 WTP, 所述 WTP还包括:
WTP接收单元,用于接收所述 AC发送的 CAPWAP消息,所述 CAPWAP 消息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA 进行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述 第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA生成。
在第二种可能的实现方式中,根据第一种可能的实现方式,所述 WTP还 包括:
WTP处理单元, 用于若所述标识信息为地址信息, 且所述地址信息为有 效地址, 则使得 WTP 发送单元向所述有效地址对应的 STA 转发所述 CAPWAP消息;
所述 WTP 处理单元, 还用于若所述地址信息为无效地址, 则处理所述 CAPWAP消息。
在第三种可能的实现方式中, 根据第一种可能的实现方式,
所述 WTP处理单元,还用于若所述标识信息为一预设标识位, 且所述预 设标识位为第一数值, 每个所述第一数值对应一个 STA, 则使得所述 WTP 发送单元向所述第一数值对应的 STA转发所述 CAPWAP消息;
所述 WTP处理单元,还用于若所述标识信息为一预设标识位, 且所述预 设标识位为第二数值, 所述第二数值对应所述 WTP, 则处理所述 CAPWAP 消息。
在第四种可能的实现方式中, 结合第二方面、 第一种可能的实现方式、 第二种可能的实现方式和第三种可能的实现方式,
所述 WTP处理单元,还用于在所述 WTP接收单元接收所述 STA发送的 隧道删除请求后, 删除所述第二 CAPWAP隧道, 使得所述 WTP发送单元向 所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP处理单元, 还用于在所述 WTP接收单元接收所述 AC发送的 隧道删除请求后, 删除所述第二 CAPWAP隧道, 使得所述 WTP发送单元向 所述 STA通知所述第二 CAPWAP隧道删除, 以使得所述 AC与所述 STA不 再通过所述 WTP发送所述 CAPWAP消息进行交互。
在第五种可能的实现方式中, 根据第二方面, 所述隧道建立装置为所述 AC, 所述 AC还包括:
AC发送单元,用于向所述 WTP发送 CAPWAP消息,所述 CAPWAP消 息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进 行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述第 一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
在第六种可能的实现方式中, 根据第五种可能的实现方式,
所述 AC发送单元,具体用于若所述地址信息为有效地址,则向所述 WTP 发送 CAPWAP消息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则向所述 WTP发送 CAPWAP 消息, 使得所述 WTP处理所述 CAPWAP消息。
在第七种可能的实现方式中, 根据第五种可能的实现方式,
所述 AC发送单元,具体用于若所述 CAPWAP消息中所包含的标识信息 为一预设标识位; 若所述 CAPWAP消息中所包含的预设标识位为第一数值, 每个所述第一数值对应一个 STA, 则向所述 WTP发送 CAPWAP消息, 使得 所述 WTP 向第一数值对应的所述 STA转发所述 CAPWAP 消息; 若所述 CAPWAP 消息中所包含的预设标识位为第二数值, 所述第二数值对应所述 WTP,则向所述 WTP发送 CAPWAP消息,使得所述 WTP处理所述 CAPWAP 消息。
在第八种可能的实现方式中, 结合第二方面、 第五种可能的实现方式、 第六种可能的实现方式和第七种可能的实现方式, 所述 AC还包括:
AC接收单元, 用于接收所述 WTP发送的所述第二 CAPWAP隧道删除 的通知, 以使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP 消息进行交互; 或者,
所述 AC发送单元, 还用于向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第二 CAPWAP隧道。 本发明的第三方面, 提供了一种隧道建立装置, 包括:
处理器, 用于若接收器接收到站点 STA 发送的控制无线接入点协议
CAPWAP隧道建立请求, 则根据所述 CAPWAP隧道建立请求内容和无线终 端站点 WTP的最大接入能力中的至少一个确定建立所述 WTP与所述 STA之 间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之 间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP 隧道。
在第一种可能的实现方式中, 根据第二方面, 所述隧道建立装置为所述
WTP, 所述 WTP还包括:
WTP接收器, 用于接收所述 AC发送的 CAPWAP消息, 所述 CAPWAP 消息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA 进行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述 第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA生成。
在第二种可能的实现方式中,根据第一种可能的实现方式,所述 WTP还 包括:
WTP处理器, 用于若所述标识信息为地址信息, 且所述地址信息为有效 地址, 则使得 WTP发送器向所述有效地址对应的 STA转发所述 CAPWAP 消息;
所述 WTP 处理器, 还用于若所述地址信息为无效地址, 则处理所述 CAPWAP消息。
在第三种可能的实现方式中, 根据第一种可能的实现方式,
所述 WTP处理器,还用于若所述标识信息为一预设标识位, 且所述预设 标识位为第一数值, 每个所述第一数值对应一个 STA, 则使得所述 WTP发 送器向所述第一数值对应的 STA转发所述 CAPWAP消息;
所述 WTP处理器,还用于若所述标识信息为一预设标识位, 且所述预设 标识位为第二数值, 所述第二数值对应所述 WTP, 则处理所述 CAPWAP消 息。
在第四种可能的实现方式中, 结合第二方面、 第一种可能的实现方式、 第二种可能的实现方式和第三种可能的实现方式,
所述 WTP处理器,还用于在所述 WTP接收器接收所述 STA发送的隧道 删除请求后, 删除所述第二 CAPWAP 隧道, 使得所述 WTP发送器向所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP处理器, 还用于在所述 WTP接收器接收所述 AC发送的隧道 删除请求后,删除所述第二 CAPWAP隧道,使得所述 WTP发送器向所述 STA 通知所述第二 CAPWAP隧道删除, 以使得所述 AC与所述 STA不再通过所 述 WTP发送所述 CAPWAP消息进行交互。
在第五种可能的实现方式中, 根据第二方面, 所述隧道建立装置为所述 AC, 所述 AC还包括:
AC发送器,用于向所述 WTP发送 CAPWAP消息, 所述 CAPWAP消息 中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行 资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
在第六种可能的实现方式中, 根据第五种可能的实现方式,
所述 AC发送器, 具体用于若所述地址信息为有效地址, 则向所述 WTP 发送 CAPWAP消息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则向所述 WTP发送 CAPWAP 消息, 使得所述 WTP处理所述 CAPWAP消息。
在第七种可能的实现方式中, 根据第五种可能的实现方式,
所述 AC发送器,具体用于若所述 CAPWAP消息中所包含的标识信息为 一预设标识位;若所述 CAPWAP消息中所包含的预设标识位为第一数值,每 个所述第一数值对应一个 STA, 则向所述 WTP发送 CAPWAP消息, 使得所 述 WTP 向第一数值对应的所述 STA 转发所述 CAPWAP 消息; 若所述 CAPWAP 消息中所包含的预设标识位为第二数值, 所述第二数值对应所述 WTP,则向所述 WTP发送 CAPWAP消息,使得所述 WTP处理所述 CAPWAP 消息。
在第八种可能的实现方式中, 结合第二方面、 第五种可能的实现方式、 第六种可能的实现方式和第七种可能的实现方式, 所述 AC还包括:
AC接收器, 用于接收所述 WTP发送的所述第二 CAPWAP隧道删除的 通知,以使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP消 息进行交互; 或者,
所述 AC发送器, 还用于向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第二 CAPWAP隧道。 第四方面, 提供了 上述第二方面及其各实现方式中任一的隧道建立装置;
站点 STA,用于向所述隧道建立装置发送控制无线接入点协议 CAPWAP 隧道建立请求, 以与无线终端站点 WTP建立第二 CAPWAP隧道, 以使得控 制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。 第五方面, 提供了一种系统, 包括:
上述第三方面及其各实现方式中任一的隧道建立装置;
站点 STA,用于向所述隧道建立装置发送控制无线接入点协议 CAPWAP 隧道建立请求, 以与无线终端站点 WTP建立第二 CAPWAP隧道, 以使得控 制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。 本发明实施例提供的隧道建立方法、 装置及系统, 隧道建立装置若接收 到 STA发送的 CAPWAP隧道建立请求, 则根据 CAPWAP隧道建立请求内 容和 WTP的最大接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道, 以使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互, 第一 CAPWAP隧道为第一 WTP与 AC之 间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP 与 STA之间建立第二 CAPWAP隧道,使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道 控制 STA,从而合理的利用 STA的资源,并使得 STA也能够合理的接入 WTP, 从而解决 WiFi设备部署中存在资源调度的问题, 进而实现对 STA的有效管 理。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明隧道建立方法实施例的流程图;
图 2为本发明提供的隧道建立方法另一个实施例的流程图;
图 3为本发明提供的隧道建立方法再一个实施例的流程图;
图 4为本发明提供的隧道建立方法又一个实施例的流程图;
图 5为本发明提供的隧道建立方法又一个实施例的流程图;
图 6为本发明隧道建立装置实施例的结构示意图;
图 7为本发明 WTP实施例的结构示意图;
图 8为本发明 WTP另一实施例的结构示意图;
图 9为本发明 AC实施例的结构示意图;
图 10为本发明 AC另一实施例的结构示意图;
图 11为本发明另一隧道建立装置实施例的结构示意图;
图 12为本发明另一 WTP实施例的结构示意图;
图 13为本发明另一 AC实施例的结构示意图;
图 14为本发明隧道建立系统实施例的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
需要说明的是,本发明可以应用在如下场景中,在 WTP的无线传输范围 内有至少一个 STA, STA可以且 WTP和 AC建立有第一控制无线接入点协 议 ( Control And Provisioning of Wireless Access Point, CAP WAP ) 隧道, WTP和 AC可以通过该第一 CAPWAP隧道进行交互, 且, 各 STA与 WTP 可以通过 802.11协议通信。
图 1为本发明隧道建立方法实施例的流程图, 如图 1所示, 本实施例的 方法可以包括:
S101、 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求, 则 根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力中的至少一个确定 建立 WTP与 STA之间的第二 CAPWAP隧道, 以使 AC通过 WTP与 AC之 间的第一 CAPWAP 隧道和第二 CAPWAP 隧道与 STA 进行交互, 第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP隧道。
需要说明的是, 第一 CAPWAP 隧道为第一 WTP 与 AC 之间原有的
CAPWAP隧道。 WTP与 AC之间通常采用的通信协议为 CAPWAP, 该协议 是建立在用户数据包协议 (User Datagram Protocol, UDP) 之上的应用层协 议, 它的核心思想是在 AC和 WTP之间建立一条隧道, 将控制报文和用户数 据报文承载在隧道内, 便于集中管理和保护用户数据。 CAPWAP隧道分为控 制隧道和数据隧道,控制隧道传送 CAPWAP控制报文,而数据隧道传送数据 报文。
举例来说, 隧道建立装置可以是 WTP或 AC, 若隧道建立装置是 WTP, 则该 WTP接收 STA的 CAPWAP隧道建立请求, 根据该请求与 STA之间建 立第二 CAPWAP隧道, 若该隧道建立装置是 AC, 则 WTP接收到 STA发送 的 CAPWAP隧道建立请求后, 将该 CAPWAP隧道建立请求转发给 AC, 使 得 AC根据该 CAPWAP隧道建立请求控制 WTP与 STA建立第二 CAPWAP 隧道。
进一步地,可以在现有 CAPWAP协议中新定义消息对应的策略,如增加 协议包的报头内容 110以对应该 CAPWAP隧道建立请求,或者在协议包的身 份标识号码 (Identity, ID) 域上写入号码 4对应该 CAPWAP隧道建立请求 等,此处仅以此举例说明,其他的通过该第一 CAPWAP隧道与第二 CAPWAP 隧道的消息均可以以此方式对应消息的内容或策略, 且以其他方式定义的传 输于第一 CAPWAP隧道与第二 CAPWAP隧道的消息均在保护范围之内。
进一步地,隧道建立装置建立起 WTP与 STA之间的第二 CAPWAP隧道 之前, STA处于无管理的状态, 网络中可能出现的情况是, 多个 WTP重叠 与同一个 STA建立 802.11协议,造成 WTP资源的浪费和 STA的信息交互混 舌 L; 或者与 STA建立 802.11协议的 WTP资源受限,无法负担与 STA的信息 交互, 造成该 WTP无法正常工作的问题。
举例来说, 隧道建立装置可以是 WTP或 AC。 根据 CAPWAP隧道建立 请求内容和无线终端站点 WTP的最大接入能力中的至少一个确定建立 WTP 与 STA之间的第二 CAPWAP隧道可以如下所示:
WTP或 AC可以根据隧道建立请求的请求条件是否正确确定是否建立第 二 CAPWAP隧道。 该请求的源 STA是否预存在可建立隧道列表中, 该可建 立隧道列表可以预存在 AC或 WTP中。 如果源 STA为预存在可建立隧道列 表中的 STA, 则确定准许建立第二 CAPWAP隧道。
或者, WTP或 AC还可以根据隧道建立请求的格式确定是否准许建立第 二 CAPWAP隧道。 该请求可以如上述报文一样预设有特殊的格式, WTP或 AC 如果确定接收到的隧道建立请求符合预设的格式, 则确定准许建立第二 CAPWAP隧道。
或者, WTP或 AC还可以根据 WTP的最大接入能力确定是否准许建立 第二 CAPWAP隧道。如, WTP最大能够承载建立第二 CAPWAP隧道的能力 为建立五条第二 CAPWAP隧道,该 STA的隧道建立请求在该 WTP只建立了 1至 4条第二 CAPWAP隧道后发送至 WTP或 AC, WTP或 AC确定 WTP还 可以承载多一条的第二 CAPWAP隧道, 则准许建立; 该 STA的隧道建立请 求在该 WTP建立了 5条第二 CAPWAP隧道后发送至 WTP或 AC, 贝 lj WTP 能力受限, WTP或 AC不准许建立 WTP与该 STA之间的第二 CAPWAP隧 道。
隧道建立装置建立起 WTP与 STA之间的第二 CAPWAP隧道之后, AC 就可以通过第一 CAPWAP隧道向 WTP发送控制 STA的 CAPWAP报文, 再 由 WTP通过第二 CAPWAP隧道向 STA转发, 这样 AC就可以将用于控制 STA的报文发送至 STA,且可以通过 WTP转发 STA的响应报文来确定对 STA 的控制效果, 如对 STA的资源调度是否合理、 有效等。
举例来说, 有一个 STA 接入功能有限的 WTP, AC 可以通过该第一 CAPWAP隧道和第二 CAPWAP隧道发送控制报文,控制 STA接入另一个闲 置的 WTP中。此处只以该控制资源调度的方式为例进行说明,但不以此做任 何限定。
进一步地, 现有 STA到 WTP之间的报文是通过 802.11协议传送的, 报 文的格式包括 802.11的物理层,介质访问控制(MAC , Media Access Control) 地址层和逻辑链路控制 (LLC, Logical Link Control)层报头, 然后添加无线 负载。控制报文是 WTP和 AC之间的控制交互, 数据报文是 WTP将 STA发 送的无线负载通过第一 CAPWAP隧道发送给 AC。 其中控制报文多数提供数 据报文传输层安全协议 (Datagram Transport Layer Security, DTLS) 保护, 数 据报文则可选是否支持 DTLS保护。
AC和 WTP之间的第一 CAPWAP隧道建立后,在第一 CAPWAP隧道或 第二 CAPWAP隧道中传输的 CAPWAP报文需要满足 CAPWAP隧道格式, 数据报文如表 1、 表 2所示, 控制报文如表 3、 表 4所示。
其中, 表 1为 WTP和 AC之间的无 DTLS安全保护的数据报文格式: 表 1
Figure imgf000015_0001
表 2为有 DTLS安全保护的数据报文格式:
表 2
Figure imgf000015_0002
其中, DTLS Hdr, CAPWAP Hdr和 Wireless Payload是经过鉴定认证 的, CAPWAP Hdr, Wireless Payload和 DTLS TrLr是经过加密处理的。
表 3为无 DTLS安全保护的控制报文格式:
表 3
Figure imgf000015_0003
表 4为有 DTLS安全保护的控制报文格式:
表 4
Figure imgf000015_0004
其中, DTLS Hdr, CAPWAP Hdr, Control Hdr和 Msg Elements是经过鉴 定认证的。 CAPWAP Hdr、 Control Hdr 、 Msg Elements禾卩 DTLS Trlr是经过 加密处理的。
而当 STA和 WTP之间的第二 CAPWAP隧道建立好以后,报文需要满足 CAPWAP隧道格式,同时支持数据报文和控制报文,并且还支持 DTLS格式。 所以控制报文可以如表 5、 表 6所示、 数据报文如表 7、 表 8所示。 表 5为建立第二 CAPWAP隧道后的基于 DTLS的 CAPWAP隧道控制报 文:
Figure imgf000016_0001
其中, DTLS Hdr, CAPWAP Hdr, Control Hdr和 Msg Elements是经过鉴 定认证的。 CAPWAP Hdr、 Control Hdr 、 Msg Elements禾卩 DTLS Trlr是经过 加密处理的。
表 6为建立第二 CAPWAP隧道后的 CAPWAP隧道控制报文:
表 6
Figure imgf000016_0002
表 7为建立第二 CAPWAP隧道后的 CAPWAP隧道数据报文:
表 7
Figure imgf000016_0003
表 8为建立第二 CAPWAP隧道后的基于 DTLS的 CAPWAP隧道数据报 表 8
Figure imgf000016_0004
其中, 且 DTLS Hdr, CAPWAP Hdr和 Wireless Payload是经过鉴定认证 的。 CAPWAP Hdr, Wireless Payload和 DTLS TrLr是经过加密处理的。
需要说明的是,在上述表 1-表 8中, 802.1 lHdr表示 802.11物理层和 MAC 层报头; IP Hdr表示 IP层报头;用户数据包协议( UDP, User Datagram Protocol ) Hdr表示 UDP报头, 其中, UDP, 是开放式系统互联 (OSI, Open System Interconnect) 参考模型中一种无连接的传输层协议, 提供面向事务的简单不 可靠信息传送服务; CAPWAP DTLS Hdr表示适配 CAPWAP的 DTLS报头; DTLS Hdr表示 DTLS协议报头; CAPWAP Hdr表示 CAPWAP报头, 在表 1- 表 4中表示第一 CAPWAP的报头,在表 5-表 8中表示第二 CAPWAP的报头; Control Hdr表示 CAPWAP的控制报文头; Msg Elements表示 CAPWAP的控 制报文消息; Wireless Payload表示无线负载; DTLS Trlr表示 DTLS协议报 文尾部。
本发明实施例提供的隧道建立方法, 隧道建立装置若接收到 STA发送的
CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 图 2为本发明提供的隧道建立方法另一个实施例的流程图, 本实施应用 于 WTP与 AC之间已经建立了第一 CAPWAP隧道的场景下, 如图 2所示, 本实施例的方法以隧道建立装置为 WTP为例进行说明, 本方法包括:
5201、 STA向 WTP发送 CAPWAP隧道建立请求。
5202、 WTP 若接收到 STA 发送的 CAPWAP 隧道建立请求, 则根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力中的至少一个确定是否 建立 WTP与 STA之间的第二 CAPWAP隧道, 是则执行步骤 S203; 否, 则 执行 S209。
举例来说, 根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力中 的至少一个确定是否建立 WTP与 STA之间的第二 CAPWAP隧道可以是: WTP根据隧道建立请求的请求条件是否正确确定、或者根据隧道建立请求的 格式是否正确确定; 或者根据 WTP的能力确定是否准许建立第二 CAPWAP 隧道确定是否准许建立第二 CAPWAP隧道; 或者, 当 CAPWAP隧道建立请 求内容和 WTP的最大接入能力都满足条件时确定建立第二 CAPWAP隧道。
如, WTP根据隧道建立请求的请求条件是否正确确实是否建立 CAPWAP 隧道可以是确定该 CAPWAP隧道建立请求的源 STA是否预存在可建立隧道 列表中, 该可建立隧道列表可以预存在 WTP中。 如果源 STA为预存在可建 立隧道列表中的 STA则确定准许建立第二 CAPWAP隧道。
如, WTP 还可以根据隧道建立请求的格式确定是否准许建立第二 CAPWAP 隧道。 该请求可以如上述报文一样预设有特殊的格式, WTP如果 确定接收到的隧道建立请求符合预设的格式, 则确定准许建立第二 CAPWAP 隧道。
或者, WTP还可以根据 WTP 的能力确定是否准许建立第二 CAPWAP 隧道。 如, WTP 最大承载建立第二 CAPWAP 隧道的能力为建立五条第二 CAPWAP隧道, 该 STA的隧道建立请求在该 WTP只建立了 1至 3条第二 CAPWAP 隧道后发送至 WTP, WTP 确定 WTP还可以承载多一条的第二 CAPWAP隧道, 则准许建立; 该 STA的隧道建立请求在该 WTP建立了 5条 第二 CAPWAP隧道后发送至 WTP,则 WTP能力受限, WTP不准许建立 WTP 与该 STA之间的第二 CAPWAP隧道。
需要说明的是, 若准许建立, 可以向 STA 返回建立成功应答, 且执行 S203; 若不准许建立, 可以向 STA返回隧道建立失败通知, 且执行 S212。
S203、 WTP建立与 STA之间的第二 CAPWAP隧道。
需要说明的是, WTP建立与 STA之间的第二 CAPWAP隧道后可以向 AC发送通知第二 CAPWAP隧道建立的通知消息。 该通知消息也可以携带在 符合上述 CAPWAP报文格式的 CAPWAP消息中。
S204、 AC向 WTP发送 CAPWAP消息。
进一步地, CAPWAP消息中包含 AC发送的 CAPWAP控制报文或数据 报文, 以对 STA进行资源调度, CAPWAP消息中还包含标识信息, 标示信 息为第一 CAPWAP隧道或第二 CAPWAP隧道建立时根据 WTP或 STA生成。
该标识信息可以为地址信息, 也可以为一预设标识位。 该标识信息用于 使得 WTP确定 CAPWAP消息是发送给 STA的消息, 还是发送给 WTP的消 白s、。
进一步地, AC也可以接收 WTP发送的 CAPWAP消息, 或者, WTP转 发的 STA发送的 CAPWAP消息, CAPWAP消息均可以包含标识信息, 以使 得该 AC确定 CAPWAP消息的来源, 此处不再展开说明。
需要说明的是, CAPWAP消息中包含上述实施例中所述描述的 CAPWAP 报文,如控制报文和数据报文,该 CAPWAP报文的格式和携带内容可遵照上 述实施例中的描述, 在此不再赘述。
5205、 WTP接收 AC发送的 CAPWAP消息。
5206、 WTP根据 CAPWAP消息中标识信息确定 CAPWAP消息是否为 发送给 STA的。
进一步地, WTP根据 CAPWAP消息中所包含的标识信息,确定 CAPWAP 消息是否为发送给 STA的消息。 如标识信息为地址信息, 且该地址信息为有 效地址如对应一个 STA的 MAC地址时, 确定该消息为发送给该 MAC地址 对应的 STA的消息;当该地址信息为无效地址,即对应不到任何 STA的 MAC 地址时, 确定该消息为发送给 WTP的消息, 比如该消息地址为 38位 F为有 效地址, 不满 38位的 F为无效地址等。 其中, STA的 MAC地址可以预存在 预设列表中, 以查表确定地址信息是否为有效地址, 如在预设列表中找到相 同的 MAC地址则确定为有效地址, 否则为无效地址。
或者,标识信息为一预设标识位,若 CAPWAP消息中所包含的预设标识 位为第一数值,每个第一数值对应一个 STA,则 WTP向第一数值对应的 STA 转发 CAPWAP消息; 若 CAPWAP消息中所包含的预设标识位为第二数值, 第二数值对应 WTP, 则 WTP处理 CAPWAP消息。 如, 第一数值为 1, 第二 数值为 0时, 若该预设标识位为 1, 该 CAPWAP消息为发送给 WTP的; 若 该预设标识位为 0,该 CAPWAP消息为发送给 STA的;或者,第一数值为 0, 第二数值为 1时, 若预设标识位为 0, 该 CAPWAP消息为发送给 WTP的; 若预设标识位为 1, 该 CAPWAP消息为发送给 STA的。 进一步地, 当 WTP预存有多个 STA的对应第一数值时, 第一数值分别 按照 STA接入的顺序对应设置为 01、 10、 11或 1、 2、 3等, 这样可以便于 WTP与多个 STA建立有第二 CAPWAP隧道时, 能够确定该 CAPWAP消息 是发送给哪一个 STA的。
WTP根据 CAPWAP消息中标识信息确定 CAPWAP消息是发送给 STA 的, 则执行步骤 S207, 若不是则 WTP解析该 CAPWAP消息, 并根据其内容 或策略执行相应的操作。
5207、 WTP向 CAPWAP消息中标识信息对应的 STA转发 CAPWAP消 息。 S208、 STA接收 WTP转发的 CAPWAP消息。
进一步地, STA也可以通过 WTP向 AC发送 CAPWAP消息, 即通过第 二 CAPWAP隧道和第一 CAPWAP隧道发送 CAPWAP消息,这样一来, STA 可以通过 CAPWAP消息与 AC进行交互。
S209、 WTP向 STA发送隧道建立失败通知, 隧道建立失败通知包含失 败原因。
5210、 STA接收 WTP发送的隧道建立失败通知, 根据失败原因确定重 新发送 CAPWAP隧道建立请求的时间。
举例来说, STA可以预存一个列表, 该列表中存有数字与失败原因的对 应关系, 该数字可以是编码或序列号, 隧道建立失败通知包含的失败原因可 以是一个编码或序列号, 这样, STA可以通过查询该列表确定隧道建立失败 的原因。
进一步地,该列表还可以预存该失败原因对应的一个定时器,以使得 STA 在定时器超时后再重新请求建立第二 CAPWAP 隧道。 如失败原因为第一 CAPWAP隧道异常, 则 5秒后重新发送 CAPWAP隧道建立请求等。
需要说明的是, 建立了第二 CAPWAP 隧道后, 若需要删除该第二 CAPWAP MM, 在步骤 S202及其后任一步骤后执行步骤 S211 , 本实施例以 S208后需要删除第二 CAPWAP隧道为例进行说明, 但不以此做任何限定。
5211、 STA若确定删除第二 CAPWAP隧道, 则向 WTP发送隧道删除请 求。
5212、 WTP接收 STA发送的隧道删除请求, 删除第二 CAPWAP隧道, 并向 AC通知第二 CAPWAP隧道删除。
本发明实施例提供的隧道建立方法, 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 图 3为本发明提供的隧道建立方法再一个实施例的流程图,如图 3所示, 本实施例的方法以隧道建立装置为 WTP为例进行说明, 本方法步骤 S201至 S210与上述实施例一致, 在建立了第二 CAPWAP隧道后, 若需要删除该第 二 CAPWAP 隧道, 可以在步骤 S203 及其后任一步骤后执行删除第二 CAPWAP隧道, 即步骤 S213 , 本实施例以 S208后需要删除第二 CAPWAP 隧道为例进行说明, 但不以此做任何限定。
S213、 AC向 WTP发送隧道删除请求。
S214、 WTP接收 AC发送的隧道删除请求, 删除第二 CAPWAP隧道, 并向 STA通知第二 CAPWAP隧道删除。
需要说明的是,隧道删除请求中包含 STA的 MAC地址信息, 以便于 WTP 根据该 MAC地址信息确定需要删除哪一个已经建立的第二 CAPWAP隧道删 除。
S215、 STA接收 WTP发送的第二 CAPWAP隧道删除的通知, 确定所述 第二 CAPWAP隧道已删除。
进一步地, WTP若建立第二 CAPWAP隧道失败, 则向 STA发送隧道建 立失败通知, 隧道建立失败通知包含失败原因, 以使得 STA根据失败原因重 新确定重新发送 CAPWAP隧道建立请求的时间。
本发明实施例提供的隧道建立方法, 隧道建立装置若接收到 STA发送的
CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 图 4为本发明提供的隧道建立方法又一个实施例的流程图, 本实施应用 于 WTP与 AC之间已经建立了第一 CAPWAP隧道的场景下, 如图 4所示, 本实施例的方法以隧道建立装置为 AC为例进行说明, 该方法包括:
5301、 STA通过 WTP向 AC发送 CAPWAP隧道建立请求。
进一步地, STA可以向 WTP发送 CAPWAP 隧道建立请求, WTP将 CAPWAP隧道建立请求转发给 AC。
5302、 AC 若接收到 STA 发送的 CAPWAP 隧道建立请求, 则根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力中的至少一个确定是否 建立 WTP与 STA之间的第二 CAPWAP隧道, 是则执行步骤 S303; 否, 则 执行 S312。
举例来说, AC可以根据隧道建立请求的请求条件是否正确、还可以根据 隧道建立请求的格式是否正确、或者根据 WTP的最大接入能力等的一种或几 种确定是否准许建立第二 CAPWAP隧道确定是否准许建立第二 CAPWAP隧 道。 其确定的方法在上述实施例中已经展开, 在此不再赘述。
5303、 AC向 WTP发送通知第二 CAPWAP隧道建立的通知消息。
S304、 WTP接收通知第二 CAPWAP隧道建立的通知消息。
这样一来, WTP获知已经与 STA建立了第二 CAPWAP隧道。 可以为后 续的转发 STA与 AC之间的 CAPWAP消息做准备。
S305、 WTP建立与 STA之间的第二 CAPWAP隧道, 且向 STA发送通 知第二 CAPWAP隧道建立的通知消息。
S306、 STA接收该通知消息。
需要说明的是, STA接收到该通知后可以通过 WTP向 AC发送 CAPWAP 消息了,该 CAPWAP消息中的数据报文或控制报文可以根据上述实施例给出 的报文形式生成, 在此不再赘述。
S307、 AC向 WTP发送 CAPWAP消息。
需要说明的是, AC也可以接收 WTP发送的 CAPWAP消息,或者, WTP 转发的 STA发送的 CAPWAP消息, AC也可以向 WTP发送 CAPWAP消息 或者通过 WTP向 STA转发 CAPWAP消息。本实施例以 AC通过 WTP向 STA 转发 CAPWAP消息为例进行说明, 但不以此做任何限定。
进一步地, CAPWAP消息中包含 AC发送的 CAPWAP控制报文或数据 报文, 以对 STA进行资源调度, CAPWAP消息中还包含标识信息, 标示信 息为第一 CAPWAP隧道或第二 CAPWAP隧道建立时根据 WTP或 STA生成。 该标识信息可以为地址信息, 也可以为一预设标识位。 该标识信息用于 使得 WTP确定 CAPWAP消息是发送给 STA的消息, 还是发送给 WTP的消 白s、。
如, 标识信息为地址信息: 若地址信息为有效地址, 则 AC向 WTP发送
CAPWAP消息, 使得 WTP向有效地址对应的 STA转发 CAPWAP消息; 若 标识信息为无效地址, 则 AC向 WTP发送 CAPWAP消息, 使得 WTP处理 CAPWAP消息。
标识信息为一预设标识位:若 CAPWAP消息中所包含的预设标识位为第 一数值, 每个第一数值对应一个 STA, 则 AC向 WTP发送 CAPWAP消息, 使得 WTP向第一数值对应的 STA转发 CAPWAP消息; 若 CAPWAP消息中 所包含的预设标识位为第二数值, 第二数值对应 WTP, 则 AC向 WTP发送 CAPWAP消息, 使得 WTP处理 CAPWAP消息。
S308、 WTP接收 AC发送的 CAPWAP消息。
S309、 WTP根据 CAPWAP消息中标识信息确定 CAPWAP消息是否为 发送给 STA的。
举例来说。 CAPWAP消息可以是上述实施例中所述的控制报文和数据报 文, 报文的格式和携带内容可遵照上述实施例中的描述, 在此不再赘述。
若是, 则执行步骤 S310, 若不是则 WTP解析该 CAPWAP消息, 并根据 其内容或策略执行相应的操作。
5310、 WTP 向 CAPWAP 消息中包含的标识信息对应的 STA 转发 CAPWAP消息。
5311、 STA接收 WTP转发的 CAPWAP消息。
进一步地, STA也可以通过 WTP向 AC发送 CAPWAP消息, 即通过第 二 CAPWAP隧道和第一 CAPWAP隧道发送 CAPWAP消息,这样一来, STA 可以通过 CAPWAP消息与 AC进行交互。
5312、 AC向 WTP发送隧道建立失败通知, WTP向 STA发送隧道建立 失败通知, 隧道建立失败通知包含失败原因。
5313、 STA接收 WTP发送的隧道建立失败通知, 根据失败原因确定重 新发送 CAPWAP隧道建立请求的时间。 举例来说, STA可以预存一个列表, 该列表中存有数字与失败原因的对 应关系, 该数字可以是编码或序列号, 隧道建立失败通知包含的失败原因可 以是一个编码或序列号, 这样, STA可以通过查询该列表确定隧道建立失败 的原因。 该列表还可以预存该失败原因对应的一个定时器, 以使得 STA在定 时器到时后再重新请求建立第二 CAPWAP隧道。
需要说明的是, 建立了第二 CAPWAP 隧道后, 若需要删除该第二 CAPWAP隧道, 在步骤 S306及其后任一步骤后执行步骤 S312, 本实施例以 S311后需要删除第二 CAPWAP隧道为例进行说明, 但不以此做任何限定。
5314、 STA若确定删除第二 CAPWAP隧道, 则向 WTP发送隧道删除请 求。
5315、 WTP接收 STA发送的隧道删除请求, 删除第二 CAPWAP隧道, 并向 AC通知第二 CAPWAP隧道删除。
本发明实施例提供的隧道建立方法, 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 图 5为本发明提供的隧道建立方法又一个实施例的流程图,如图 5所示, 本实施例的方法以隧道建立装置为 AC为例进行说明, 本方法步骤 S301 至 S313与上述实施例一致, 在建立了第二 CAPWAP隧道后, 若需要删除该第 二 CAPWAP 隧道, 可以在步骤 S302 及其后任一步骤后执行删除第二 CAPWAP隧道, 即步骤 S316, 本实施例以 S311后需要删除第二 CAPWAP 隧道为例进行说明, 但不以此做任何限定。
5316、 AC 若确定删除第二 CAPWAP隧道, 则向 WTP发送隧道删除请 求。 5317、 WTP接收 AC发送的隧道删除请求, 删除第二 CAPWAP隧道, 并向 STA通知第二 CAPWAP隧道删除。
需要说明的是,隧道删除请求中包含 STA的 MAC地址信息, 以便于 WTP 根据该 MAC地址信息确定需要删除哪一个已经建立的第二 CAPWAP隧道删 除。
5318、 STA接收 WTP发送的第二 CAPWAP隧道删除的通知, 确定所述 第二 CAPWAP隧道已删除。
进一步地, STA可以根据失败原因重新确定重新发送 CAPWAP隧道建 立请求的时间。
本发明实施例提供的隧道建立方法, 隧道建立装置若接收到 STA发送的
CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。
需要说明的是, 本发明的隧道建立装置可以应用在如下场景中, 在 WTP 的无线传输范围内有至少一个 STA, STA可以且 WTP和 AC建立有第一 CAPWAP隧道, WTP和 AC可以通过该第一 CAPWAP隧道进行交互, 且, 各 STA与 WTP可以通过 802.11协议通信。
图 6为本发明隧道建立装置实施例的结构示意图, 该隧道建立装置可以 是 WTP或 AC。 如图 6所示, 本实施例的隧道建立装置 10可以包括: 隧道 建立单元 101和接收单元 102。
隧道建立单元 101, 用于若接收单元 102接收到 STA发送的 CAPWAP 隧道建立请求, 则根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力 中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以使接入控 制点 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道 与 STA 进行交互, 第一 CAPWAP 隧道为第一 WTP 与 AC 之间原有的 CAPWAP隧道。
需要说明的是, 隧道建立单元 101 可以根据 WTP 的最大接入能力和 CAPWAP隧道建立请求的内容确定是否准许建立,确定的方法在上述方法实 施例中已描述, 在此不再赘述。 举例来说, 隧道建立装置为 WTP, 图 7为本发明 WTP实施例的结构示 意图, 如图 7所示, 本实施例的 WTP在图 6所示装置结构的基础上, 进一步 地, 还可以包括 WTP接收单元 103。
WTP接收单元 103, 用于接收 AC发送的 CAPWAP消息, CAPWAP消 息中包含 AC发送的 CAPWAP控制报文或数据报文, 以对 STA进行资源调 度, CAPWAP消息中还包含标识信息, 标示信息为第一 CAPWAP隧道或第 二 CAPWAP隧道建立时根据 WTP或 STA生成。 图 8为本发明 WTP另一实施例的结构示意图, 如图 8所示, 本实施例的
WTP在图 6、 图 7所示装置结构的基础上, 进一步地, 还可以包括: WTP处 理单元 104和 WTP发送单元 105。
WTP处理单元 104, 用于若标识信息为地址信息, 且地址信息为有效地 址, 则使得 WTP发送单元 105向有效地址对应的 STA转发 CAPWAP消息; WTP处理单元 104, 还用于若地址信息为无效地址, 则处理 CAPWAP 消息。
或者,
WTP处理单元 104, 还用于若标识信息为一预设标识位, 且预设标识位 为第一数值, 每个第一数值对应一个 STA, 则使得 WTP发送单元 105向第 一数值对应的 STA转发 CAPWAP消息;
WTP处理单元 104, 还用于若标识信息为一预设标识位, 且预设标识位 为第二数值, 第二数值对应 WTP, 则处理 CAPWAP消息。 进一步地, WTP处理单元 104, 还用于在 WTP接收单元 103接收 STA 发送的隧道删除请求后, 删除第二 CAPWAP隧道, 使得 WTP发送单元 105 向 AC通知第二 CAPWAP隧道删除。
或者, WTP处理单元 104,还用于在 WTP接收单元 103接收 AC发送的 隧道删除请求后, 删除第二 CAPWAP隧道, 使得 WTP发送单元 105向 STA 通知第二 CAPWAP 隧道删除, 以使得 AC 与 STA 不再通过 WTP 发送 CAPWAP消息进行交互。 进一步地, WTP 发送单元 105, 还用于若隧道建立单元 101 建立第二 CAPWAP隧道失败, 则向 STA发送隧道建立失败通知, 隧道建立失败通知 包含失败原因, 以使得 STA根据失败原因重新确定重新发送 CAPWAP隧道 建立请求的时间。 此外, 隧道建立装置也可以为 AC, 图 9为本发明 AC实施例的结构示意 图, 如图 9所示, 本实施例的 AC在图 6所示 STA结构的基础上, AC还包 括 AC发送单元 106。
AC发送单元 106, 用于向 WTP发送 CAPWAP消息, CAPWAP消息中 包含 AC发送的 CAPWAP控制报文或数据报文, 以对 STA进行资源调度,
CAPWAP 消息中还包含标识信息, 标示信息为第一 CAPWAP 隧道或第二
CAPWAP隧道建立时根据 WTP或 STA生成。
进一步地, AC 发送单元 106, 具体用于若地址信息为有效地址, 则向 WTP发送 CAPWAP消息,使得 WTP向有效地址对应的 STA转发 CAPWAP 消息; 若标识信息为无效地址, 则向 WTP发送 CAPWAP消息, 使得 WTP 处理 CAPWAP消息。
或者, AC发送单元, 具体用于若 CAPWAP消息中所包含的标识信息为 一预设标识位;若 CAPWAP消息中所包含的预设标识位为第一数值,每个第 一数值对应一个 STA, 则向 WTP发送 CAPWAP消息, 使得 WTP向第一数 值对应的 STA转发 CAPWAP消息; 若 CAPWAP消息中所包含的预设标识 位为第二数值, 第二数值对应 WTP, 则向 WTP发送 CAPWAP消息, 使得
WTP处理 CAPWAP消息。 进一步地, AC 发送单元 106, 还用于若隧道建立单元 101 建立第二 CAPWAP隧道失败,则向 WTP发送隧道建立失败通知, 以使得 WTP向 STA 转发隧道建立失败通知, 隧道建立失败通知包含失败原因, 以使得 STA根据 失败原因重新确定重新发送 CAPWAP隧道建立请求的时间。 图 10为本发明 AC另一实施例的结构示意图, 如图 10所示, 本实施例 的 WTP在图 6、 图 9所示装置结构的基础上, 进一步地, 还可以包括 AC接 收单元 107。
AC接收单元 107,用于接收 WTP发送的第二 CAPWAP隧道删除的通知, 以使得 AC与 STA不再通过 WTP发送 CAPWAP消息进行交互; 或者,
AC发送单元 106,还用于向 WTP发送隧道删除请求, 以使得 WTP删除 第二 CAPWAP隧道。
本发明实施例提供的隧道建立装置, 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。
需要说明的是, 本发明的隧道建立装置可以应用在如下场景中, 在 WTP 的无线传输范围内有至少一个 STA, STA可以且 WTP和 AC建立有第一 CAPWAP隧道, WTP和 AC可以通过该第一 CAPWAP隧道进行交互, 且, 各 STA与 WTP可以通过 802.11协议通信。
图 11为本发明另一隧道建立装置实施例的结构示意图,该隧道建立装置 可以是 WTP或 AC。 如图 11所示, 本实施例的隧道建立装置 20可以包括: 处理器 201和接收器 202。
处理器 201, 用于若接收器 202接收到 STA发送的 CAPWAP隧道建立 请求, 则根据 CAPWAP隧道建立请求内容和 WTP的最大接入能力中的至少 一个确定建立 WTP与 STA之间的第二 CAPWAP隧道, 以使 AC通过 WTP 与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第 一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP隧道。 举例来说, 隧道建立装置为 WTP, 图 12为本发明另一 WTP实施例的结 构示意图, 如图 12所示, 本实施例的 WTP在图 11所示装置结构的基础上, 进一步地, 还可以包括: WTP接收器 203、 WTP处理器 204和 WTP发送器 205。
WTP接收器 203, 用于接收 AC发送的 CAPWAP消息, CAPWAP消息 中包含 AC发送的 CAPWAP控制报文或数据报文, 以对 STA进行资源调度, CAPWAP 消息中还包含标识信息, 标示信息为第一 CAPWAP 隧道或第二 CAPWAP隧道建立时根据 WTP或 STA生成。
举例来说, WTP处理器 204, 用于若标识信息为地址信息, 且地址信息 为有效地址, 则使得 WTP发送器 205向有效地址对应的 STA转发 CAPWAP 消息;
WTP处理器 204, 还用于若地址信息为无效地址, 则处理 CAPWAP消 息。
另外, WTP处理器 204, 还用于若标识信息为一预设标识位, 且预设标 识位为第一数值, 每个第一数值对应一个 STA, 则使得 WTP发送器 205 向 第一数值对应的 STA转发 CAPWAP消息;
WTP处理器 204, 还用于若标识信息为一预设标识位, 且预设标识位为 第二数值, 第二数值对应 WTP, 则处理 CAPWAP消息。 再进一步地, WTP处理器 204, 还用于在 WTP接收器 203接收 STA发 送的隧道删除请求后, 删除第二 CAPWAP隧道, 使得 WTP发送器 205 向 AC通知第二 CAPWAP隧道删除; 或者,
WTP处理器 204,还用于在 WTP接收器 203接收 AC发送的隧道删除请 求后, 删除第二 CAPWAP隧道, 使得 WTP发送器 205 向 STA通知第二 CAPWAP隧道删除, 以使得 AC与 STA不再通过 WTP发送 CAPWAP消息 进行交互。 WTP发送器 205, 还用于若处理器 201建立第二 CAPWAP隧道失败, 则向 STA发送隧道建立失败通知, 隧道建立失败通知包含失败原因, 以使得 STA根据失败原因重新确定重新发送 CAPWAP隧道建立请求的时间。 举例来说, 隧道建立装置为 AC, 图 13为本发明另一 AC实施例的结构 示意图, 如图 13所示, 本实施例的 AC在图 11所示 STA结构的基础上, AC 还包括: AC发送器 206和 AC接收器 207。
AC发送器 206, 用于向 WTP发送 CAPWAP消息, CAPWAP消息中包 含 AC发送的 CAPWAP控制报文或数据报文, 以对 STA进行资源调度, CAPWAP 消息中还包含标识信息, 标示信息为第一 CAPWAP 隧道或第二 CAPWAP隧道建立时根据 WTP或 STA生成。
进一步地, AC发送器 206, 具体用于若地址信息为有效地址, 则向 WTP 发送 CAPWAP消息,使得 WTP向有效地址对应的 STA转发 CAPWAP消息; 若标识信息为无效地址, 则向 WTP发送 CAPWAP消息, 使得 WTP处理 CAPWAP消息。
或者, AC发送器 206, 具体用于若 CAPWAP消息中所包含的标识信息 为一预设标识位;若 CAPWAP消息中所包含的预设标识位为第一数值,每个 第一数值对应一个 STA, 则向 WTP发送 CAPWAP消息, 使得 WTP向第一 数值对应的 STA转发 CAPWAP消息; 若 CAPWAP消息中所包含的预设标 识位为第二数值, 第二数值对应 WTP, 则向 WTP发送 CAPWAP消息, 使得 WTP处理 CAPWAP消息。 进一步地, AC接收器 206,用于接收 WTP发送的第二 CAPWAP隧道删 除的通知, 以使得 AC与 STA不再通过 WTP发送 CAPWAP消息进行交互; 或者,
AC发送器 207,还用于向 WTP发送隧道删除请求, 以使得 WTP删除第 二 CAPWAP隧道。
再进一步地, AC发送器 207, 还用于向还用于若处理器 201 建立第二 CAPWAP隧道失败,则向 WTP发送隧道建立失败通知, 以使得 WTP向 STA 转发隧道建立失败通知, 隧道建立失败通知包含失败原因, 以使得 STA根据 失败原因重新确定重新发送 CAPWAP隧道建立请求的时间。
本发明实施例提供的隧道建立装置, 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 图 14为本发明隧道建立系统实施例的结构示意图, 该系统 1包括: 隧道建立装置 10和至少一个 STA 30, 其中, 隧道建立装置 10可以是 WTP, 也可以是 AC。
其中, 隧道建立装置 10可以用于在 WTP与 AC之间的第一 CAPWAP 隧道建立之后,隧道建立装置接收站点 STA发送的 CAPWAP隧道建立请求, 建立 WTP与 STA之间的第二 CAPWAP隧道。
STA 30, 用于向隧道建立装置发送控制无线接入点协议 CAPWAP隧道 建立请求, 以与无线终端站点 WTP建立第二 CAPWAP隧道, 以使得控制点 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA 进行交互, 第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP隧 道。
在系统中,隧道建立装置 10可以采用图 6-图 10任一隧道建立装置 10所 示结构本实施例的系统, 且可以用于执行图 1至图 5所示方法实施例的技术 方案, 其实现原理和技术效果类似, 此处不再赘述。 或者, 该系统包括:
隧道建立装置 20和 STA。
隧道建立装置 20可以采用图 11-图 13任一隧道建立装置 20所示结构。 本实施例的系统, 且可以用于执行图 1至图 5所示方法实施例的技术方 案, 其实现原理和技术效果类似, 此处不再赘述。 本发明实施例提供的隧道建立系统, 隧道建立装置若接收到 STA发送的 CAPWAP隧道建立请求,则根据 CAPWAP隧道建立请求内容和 WTP的最大 接入能力中的至少一个确定建立 WTP与 STA之间的第二 CAPWAP隧道,以 使 AC通过 WTP与 AC之间的第一 CAPWAP隧道和第二 CAPWAP隧道与 STA进行交互,第一 CAPWAP隧道为第一 WTP与 AC之间原有的 CAPWAP 隧道。 这样一来, 通过在 WTP与 STA之间建立第二 CAPWAP隧道, 使得 AC能够通过第一 CAPWAP隧道和第二 CAPWAP隧道控制 STA, 从而合理 的利用 STA的资源, 并使得 STA也能够合理的接入 WTP, 从而解决 WiFi 设备部署中存在资源调度的问题, 进而实现对 STA的有效管理。 本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种隧道建立方法, 其特征在于, 包括:
隧道建立装置若接收到站点 STA发送的控制无线接入点协议 CAPWAP 隧道建立请求,则根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP 的最大接入能力中的至少一个确定建立所述 WTP 与所述 STA之间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。
2、 根据权利要求 1所述的方法, 其特征在于, 所述隧道建立装置为所述 WTP;
所述根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大 接入能力中的至少一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP 隧道之后, 还包括:
所述 WTP接收所述 AC发送的 CAPWAP消息, 所述 CAPWAP消息中 包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行资 源调度, 所述 CAPWAP 消息中还包含标识信息, 所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
3、根据权利要求 2所述的方法,其特征在于,所述标识信息为地址信息; 所述 WTP接收所述 AC发送的 CAPWAP消息之后, 还包括:
若所述地址信息为有效地址, 则所述 WTP 向所述有效地址对应的 STA 转发所述 CAPWAP消息;
若所述地址信息为无效地址, 则所述 WTP处理所述 CAPWAP消息。
4、 根据权利要求 2所述的方法, 其特征在于, 所述标识信息为一预设标 识位;
所述 WTP接收所述 AC发送的 CAPWAP消息之后, 还包括:
若所述 CAPWAP消息中所包含的预设标识位为第一数值,每个所述第一 数值对应一个 STA, 则所述 WTP 向所述第一数值对应的 STA 转发所述
CAPWAP消息; 若所述 CAPWAP消息中所包含的预设标识位为第二数值,所述第二数值 对应所述 WTP, 则所述 WTP处理所述 CAPWAP消息。
5、 根据权利要求 1~4中任一项所述的方法, 其特征在于, 所述根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大接入能力中的至少 一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP隧道之后,还包括: 所述 WTP接收所述 STA发送的隧道删除请求,删除所述第二 CAPWAP 隧道, 并向所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP接收所述 AC发送的隧道删除请求, 删除所述第二 CAPWAP 隧道, 并向所述 STA通知所述第二 CAPWAP隧道删除, 以使得所述 AC与 所述 STA不再通过所述 WTP发送所述 CAPWAP消息进行交互。
6、 根据权利要求 1~5中任一项所述的方法, 其特征在于, 所述隧道建立 装置若接收到站点 STA发送的控制无线接入点协议 CAPWAP隧道建立请求 之后, 还包括:
所述 WTP若建立所述第二 CAPWAP隧道失败,则向所述 STA发送隧道 建立失败通知, 所述隧道建立失败通知包含失败原因, 以使得所述 STA根据 所述失败原因确定重新发送 CAPWAP隧道建立请求的时间。
7、 根据权利要求 1所述的方法, 其特征在于, 所述隧道建立装置为所述
AC;
所述根据所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大 接入能力中的至少一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP 隧道之后, 还包括:
所述 AC向所述 WTP发送 CAPWAP消息, 所述 CAPWAP消息中包含 所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行资源调 度, 所述 CAPWAP 消息中还包含标识信息, 所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
8、根据权利要求 7所述的方法,其特征在于,所述标识信息为地址信息; 所述 AC向所述 WTP发送 CAPWAP消息包括:
若所述地址信息为有效地址, 则所述 AC向所述 WTP发送 CAPWAP消 息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则所述 AC向所述 WTP发送 CAPWAP消 息, 使得所述 WTP处理所述 CAPWAP消息。
9、 根据权利要求 7所述的方法, 其特征在于, 所述标识信息为一预设标 识位;
所述 AC向所述 WTP发送 CAPWAP消息包括:
若所述 CAPWAP消息中所包含的预设标识位为第一数值,每个所述第一 数值对应一个 STA, 则所述 AC向所述 WTP发送 CAPWAP消息, 使得所述 WTP向第一数值对应的所述 STA转发所述 CAPWAP消息;
若所述 CAPWAP消息中所包含的预设标识位为第二数值,所述第二数值 对应所述 WTP,则所述 AC向所述 WTP发送 CAPWAP消息,使得所述 WTP 处理所述 CAPWAP消息。
10、 根据权利要求 1、 7~9中任一项所述的方法, 其特征在于, 所述根据 所述 CAPWAP隧道建立请求内容和无线终端站点 WTP的最大接入能力中的 至少一个确定建立所述 WTP与所述 STA之间的第二 CAPWAP隧道之后,还 包括:
所述 AC向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第 二 CAPWAP隧道; 或者,
所述 AC接收所述 WTP发送的所述第二 CAPWAP隧道删除的通知, 以 使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP消息进行交 互。
11、 根据权利要求 1、 7-10中任一项所述的方法, 其特征在于, 所述隧 道建立装置若接收到站点 STA发送的控制无线接入点协议 CAPWAP隧道建 立请求之后, 还包括:
所述 AC若建立所述第二 CAPWAP隧道失败, 则向所述 WTP发送隧道 建立失败通知, 以使得所述 WTP向所述 STA转发所述隧道建立失败通知, 所述隧道建立失败通知包含失败原因, 以使得所述 STA根据所述失败原因重 新确定重新发送 CAPWAP隧道建立请求的时间。
12、 一种隧道建立装置, 其特征在于, 包括:
隧道建立单元, 用于若接收单元接收到站点 STA发送的控制无线接入点 协议 CAPWAP隧道建立请求, 则根据所述 CAPWAP隧道建立请求内容和无 线终端站点 WTP 的最大接入能力中的至少一个确定建立所述 WTP 与所述 STA之间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交 互,所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP 隧道。
13、 根据权利要求 12所述的装置, 其特征在于, 所述隧道建立装置为所 述 WTP, 所述 WTP还包括:
WTP接收单元,用于接收所述 AC发送的 CAPWAP消息,所述 CAPWAP 消息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA 进行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述 第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA生成。
14、 根据权利要求 13所述的装置, 其特征在于, 所述 WTP还包括: WTP处理单元, 用于若所述标识信息为地址信息, 且所述地址信息为有 效地址, 则使得 WTP 发送单元向所述有效地址对应的 STA 转发所述 CAPWAP消息;
所述 WTP 处理单元, 还用于若所述地址信息为无效地址, 则处理所述 CAPWAP消息。
15、 根据权利要求 13所述的装置, 其特征在于,
所述 WTP处理单元,还用于若所述标识信息为一预设标识位, 且所述预 设标识位为第一数值, 每个所述第一数值对应一个 STA, 则使得所述 WTP 发送单元向所述第一数值对应的 STA转发所述 CAPWAP消息;
所述 WTP处理单元,还用于若所述标识信息为一预设标识位, 且所述预 设标识位为第二数值, 所述第二数值对应所述 WTP, 则处理所述 CAPWAP 消息。
16、 根据权利要求 12~15中任一项所述的装置, 其特征在于,
所述 WTP处理单元, 还用于在所述 WTP接收单元接收所述 STA发送 的隧道删除请求后, 删除所述第二 CAPWAP隧道, 使得所述 WTP发送单元 向所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP处理单元, 还用于在所述 WTP接收单元接收所述 AC发送的 隧道删除请求后, 删除所述第二 CAPWAP隧道, 使得所述 WTP发送单元向 所述 STA通知所述第二 CAPWAP隧道删除, 以使得所述 AC与所述 STA不 再通过所述 WTP发送所述 CAPWAP消息进行交互。
17、 根据权利要求 12~16中任一项所述的装置, 其特征在于,
所述 WTP发送单元,还用于若所述隧道建立单元建立所述第二 CAPWAP 隧道失败, 则向所述 STA发送隧道建立失败通知, 所述隧道建立失败通知包 含失败原因,以使得所述 STA根据所述失败原因重新确定重新发送 CAPWAP 隧道建立请求的时间。
18、 根据权利要求 12所述的装置, 其特征在于, 所述隧道建立装置为所 述 AC, 所述 AC还包括:
AC发送单元,用于向所述 WTP发送 CAPWAP消息,所述 CAPWAP消 息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进 行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述第 一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
19、 根据权利要求 18所述的装置, 其特征在于,
所述 AC发送单元,具体用于若所述地址信息为有效地址,则向所述 WTP 发送 CAPWAP消息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则向所述 WTP发送 CAPWAP 消息, 使得所述 WTP处理所述 CAPWAP消息。
20、 根据权利要求 18所述的装置, 其特征在于,
所述 AC发送单元,具体用于若所述 CAPWAP消息中所包含的标识信息 为一预设标识位; 若所述 CAPWAP消息中所包含的预设标识位为第一数值, 每个所述第一数值对应一个 STA, 则向所述 WTP发送 CAPWAP消息, 使得 所述 WTP 向第一数值对应的所述 STA 转发所述 CAPWAP 消息; 若所述 CAPWAP 消息中所包含的预设标识位为第二数值, 所述第二数值对应所述 WTP,则向所述 WTP发送 CAPWAP消息,使得所述 WTP处理所述 CAPWAP 消息。
21、 根据权利要求 12、 18-20中任一项所述的装置, 其特征在于, 所述 AC还包括: AC接收单元, 用于接收所述 WTP发送的所述第二 CAPWAP隧道删除 的通知, 以使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP 消息进行交互; 或者,
所述 AC发送单元, 还用于向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第二 CAPWAP隧道。
22、 根据权利要求 12、 18~21任一项所述的装置, 其特征在于, 所述 AC发送单元, 还用于若所述隧道建立单元建立所述第二 CAPWAP 隧道失败, 则向所述 WTP发送隧道建立失败通知, 以使得所述 WTP向所述 STA转发所述隧道建立失败通知, 所述隧道建立失败通知包含失败原因, 以 使得所述 STA根据所述失败原因重新确定重新发送 CAPWAP隧道建立请求 的时间。
23、 一种隧道建立装置, 其特征在于, 包括:
处理器, 用于若接收器接收到站点 STA 发送的控制无线接入点协议 CAPWAP隧道建立请求, 则根据所述 CAPWAP隧道建立请求内容和无线终 端站点 WTP的最大接入能力中的至少一个确定建立所述 WTP与所述 STA之 间的第二 CAPWAP隧道, 以使接入控制点 AC通过所述 WTP与所述 AC之 间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP 隧道。
24、 根据权利要求 23所述隧道建立装置, 其特征在于, 所述隧道建立装 置为所述 WTP, 所述 WTP还包括:
WTP接收器, 用于接收所述 AC发送的 CAPWAP消息, 所述 CAPWAP 消息中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA 进行资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述 第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述
STA生成。
25、 根据权利要求 24所述的装置, 其特征在于, 所述 WTP还包括: WTP处理器, 用于若所述标识信息为地址信息, 且所述地址信息为有效 地址, 则使得 WTP发送器向所述有效地址对应的 STA转发所述 CAPWAP 消息; 所述 WTP 处理器, 还用于若所述地址信息为无效地址, 则处理所述 CAPWAP消息。
26、 根据权利要求 24所述的装置, 其特征在于,
所述 WTP处理器,还用于若所述标识信息为一预设标识位, 且所述预设 标识位为第一数值, 每个所述第一数值对应一个 STA, 则使得所述 WTP发 送器向所述第一数值对应的 STA转发所述 CAPWAP消息;
所述 WTP处理器,还用于若所述标识信息为一预设标识位, 且所述预设 标识位为第二数值, 所述第二数值对应所述 WTP, 则处理所述 CAPWAP消 息。
27、 根据权利要求 23~26中任一项所述的装置, 其特征在于,
所述 WTP处理器, 还用于在所述 WTP接收器接收所述 STA发送的隧 道删除请求后, 删除所述第二 CAPWAP隧道, 使得所述 WTP发送器向所述 AC通知所述第二 CAPWAP隧道删除; 或者,
所述 WTP处理器, 还用于在所述 WTP接收器接收所述 AC发送的隧道 删除请求后,删除所述第二 CAPWAP隧道,使得所述 WTP发送器向所述 STA 通知所述第二 CAPWAP隧道删除, 以使得所述 AC与所述 STA不再通过所 述 WTP发送所述 CAPWAP消息进行交互。
28、 根据权利要求 23~27中任一项所述的装置, 其特征在于,
所述 WTP发送器, 还用于若所述处理器建立所述第二 CAPWAP隧道失 败, 则向所述 STA发送隧道建立失败通知, 所述隧道建立失败通知包含失败 原因, 以使得所述 STA根据所述失败原因重新确定重新发送 CAPWAP隧道 建立请求的时间。
29、 根据权利要求 23所述的装置, 其特征在于, 所述隧道建立装置为所 述 AC, 所述 AC还包括:
AC发送器,用于向所述 WTP发送 CAPWAP消息, 所述 CAPWAP消息 中包含所述 AC发送的 CAPWAP控制报文或数据报文, 以对所述 STA进行 资源调度,所述 CAPWAP消息中还包含标识信息,所述标示信息为所述第一 CAPWAP隧道或所述第二 CAPWAP隧道建立时根据所述 WTP或所述 STA 生成。
30、 根据权利要求 29所述的装置, 其特征在于, 所述 AC发送器, 具体用于若所述地址信息为有效地址, 则向所述 WTP 发送 CAPWAP消息, 使得所述 WTP向所述有效地址对应的 STA转发所述 CAPWAP消息; 若所述标识信息为无效地址, 则向所述 WTP发送 CAPWAP 消息, 使得所述 WTP处理所述 CAPWAP消息。
31、 根据权利要求 29所述的装置, 其特征在于,
所述 AC发送器,具体用于若所述 CAPWAP消息中所包含的标识信息为 一预设标识位;若所述 CAPWAP消息中所包含的预设标识位为第一数值,每 个所述第一数值对应一个 STA, 则向所述 WTP发送 CAPWAP消息, 使得所 述 WTP 向第一数值对应的所述 STA 转发所述 CAPWAP 消息; 若所述 CAPWAP 消息中所包含的预设标识位为第二数值, 所述第二数值对应所述 WTP,则向所述 WTP发送 CAPWAP消息,使得所述 WTP处理所述 CAPWAP 消息。
32、 根据权利要求 23、 29~31任一项所述的装置, 其特征在于, 所述 AC 还包括:
AC接收器, 用于接收所述 WTP发送的所述第二 CAPWAP隧道删除的 通知,以使得所述 AC与所述 STA不再通过所述 WTP发送所述 CAPWAP消 息进行交互; 或者,
所述 AC发送器, 还用于向所述 WTP发送隧道删除请求, 以使得所述 WTP删除所述第二 CAPWAP隧道。
33、 根据权利要求 23、 29~32任一项所述的装置, 其特征在于, 所述 AC发送器, 还用于向还用于若所述处理器建立所述第二 CAPWAP 隧道失败, 则向所述 WTP发送隧道建立失败通知, 以使得所述 WTP向所述 STA转发所述隧道建立失败通知, 所述隧道建立失败通知包含失败原因, 以 使得所述 STA根据所述失败原因重新确定重新发送 CAPWAP隧道建立请求 的时间。
34、 一种系统, 其特征在于, 包括:
权利要求 12~22中任一项所述的隧道建立装置;
站点 STA,用于向所述隧道建立装置发送控制无线接入点协议 CAPWAP 隧道建立请求, 以与无线终端站点 WTP建立第二 CAPWAP隧道, 以使得控 制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。
35、 一种系统, 其特征在于, 包括:
权利要求 23~33中任一项所述的隧道建立装置;
站点 STA,用于向所述隧道建立装置发送控制无线接入点协议 CAPWAP 隧道建立请求, 以与无线终端站点 WTP建立第二 CAPWAP隧道, 以使得控 制点 AC通过所述 WTP与所述 AC之间的第一 CAPWAP隧道和所述第二 CAPWAP隧道与所述 STA进行交互, 所述第一 CAPWAP隧道为所述第一 WTP与所述 AC之间原有的 CAPWAP隧道。
PCT/CN2013/085150 2013-10-12 2013-10-12 隧道建立方法、装置及系统 WO2015051554A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380075898.2A CN105165102A (zh) 2013-10-12 2013-10-12 隧道建立方法、装置及系统
PCT/CN2013/085150 WO2015051554A1 (zh) 2013-10-12 2013-10-12 隧道建立方法、装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/085150 WO2015051554A1 (zh) 2013-10-12 2013-10-12 隧道建立方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015051554A1 true WO2015051554A1 (zh) 2015-04-16

Family

ID=52812473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085150 WO2015051554A1 (zh) 2013-10-12 2013-10-12 隧道建立方法、装置及系统

Country Status (2)

Country Link
CN (1) CN105165102A (zh)
WO (1) WO2015051554A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163425A (zh) * 2021-04-16 2021-07-23 深圳市骅鼎鹏智能科技有限公司 一种用于隧道的网络控制方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048991A (zh) * 2004-08-27 2007-10-03 三星电子株式会社 使用异类无线网络的蜂窝移动通信系统和方法
CN101610533A (zh) * 2009-07-13 2009-12-23 杭州华三通信技术有限公司 一种实现访问控制器备份切换的方法和装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048991A (zh) * 2004-08-27 2007-10-03 三星电子株式会社 使用异类无线网络的蜂窝移动通信系统和方法
CN101610533A (zh) * 2009-07-13 2009-12-23 杭州华三通信技术有限公司 一种实现访问控制器备份切换的方法和装置

Also Published As

Publication number Publication date
CN105165102A (zh) 2015-12-16

Similar Documents

Publication Publication Date Title
KR20230003065A (ko) 베어러 구성 방법 및 장치, 컨텍스트 정보 관리 방법 및 장치, 해제 방법 및 장치, 설비
CN110830925B (zh) 一种用户群组的会话管理方法及装置
CN111406415A (zh) 多播和广播服务的方法和系统
US20220240131A1 (en) Data transmission method, communications device, and communications system
KR102048046B1 (ko) 무선 통신 시스템에서 ladn 이용 방법 및 이를 위한 장치
EP2704481A1 (en) Data stream transmission method, and relevant device and system
WO2015027927A1 (zh) 一种通信切换、建立方法及设备
WO2018170626A1 (zh) 一种连接恢复方法、接入和移动性管理功能实体及用户设备
CN110035437B (zh) 一种用户面数据安全保护方法及装置
WO2015165051A1 (zh) 数据传输方法及设备
WO2014023269A1 (zh) 一种切换控制方法及装置
CN109246708B (zh) 一种信息传输方法和装置
WO2014153721A1 (zh) 数据包传输方法、系统及终端设备和网络设备
CN106416418B (zh) 网络通信方法和装置
CN109845389B (zh) 一种通信方法及装置
WO2014048373A1 (zh) 无线信息传输方法和设备
WO2022017285A1 (zh) 报文转发方法、装置及系统
WO2010081368A1 (zh) 数据发送、传输、接收方法及装置、局域网建立方法及装置
JP4256211B2 (ja) データリンク層のトリガプロトコル
WO2021204277A1 (zh) 通信方法、装置及系统
WO2017008402A1 (zh) 一种认证接入的方法、基站及终端
KR102104844B1 (ko) 데이터 전송 방법, 제1 장치 및 제2 장치
WO2018170703A1 (zh) 一种连接建立方法及装置
WO2014206104A1 (zh) 一种直连链路通信方法及相关设备、系统
TWI816295B (zh) 配置演進分組系統非接入層安全演算法的方法及相關裝置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380075898.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13895204

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

Country of ref document: EP

Kind code of ref document: A1