WO2015051552A1 - Procédé, dispositif et système de traitement d'état de tunnel - Google Patents

Procédé, dispositif et système de traitement d'état de tunnel Download PDF

Info

Publication number
WO2015051552A1
WO2015051552A1 PCT/CN2013/085145 CN2013085145W WO2015051552A1 WO 2015051552 A1 WO2015051552 A1 WO 2015051552A1 CN 2013085145 W CN2013085145 W CN 2013085145W WO 2015051552 A1 WO2015051552 A1 WO 2015051552A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
sta
wtp
capwap
message
Prior art date
Application number
PCT/CN2013/085145
Other languages
English (en)
Chinese (zh)
Inventor
杨晖
唐厚成
甄斌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/085145 priority Critical patent/WO2015051552A1/fr
Priority to CN201380076339.3A priority patent/CN105191485B/zh
Publication of WO2015051552A1 publication Critical patent/WO2015051552A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/22Manipulation of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a tunnel state processing method, apparatus, and system.
  • WTP Wireless Termination Points
  • AC Access Controller
  • 802.11 Protocol and Control Access Point of Wireless Access Point can be used between WTP and AC.
  • CAPWAP CAPWAP
  • WTP is a device that allows wireless devices to access the wired network through 802.11 or related standards.
  • WTP is connected to the wired network as a standalone device through a connection router, or WTP can also integrate router functions.
  • the AC manages a large number of WTP entities through the network administrator or the network operation center to complete the configuration, authentication, and security management of the WTP devices.
  • WTP is mainly used to receive and send wireless network data. After the AC receives the wireless data sent by the WTP and completes the corresponding processing, it will send the processed data to the local area network or the Internet.
  • WiFi wireless Fidelity
  • STAs stations
  • 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.
  • WTP or AC cannot effectively manage a large number of STAs under the 802.11 protocol.
  • the unmanaged state of the STA may cause signal interference and resource scheduling.
  • the STA has limited capabilities. For other parts of the network architecture, such as WTP or AC, when there is an abnormality, there is a lack of sensing and coping mechanism.
  • the embodiment of the present invention provides a tunnel state processing method, device, and system.
  • the STA can no longer interact with the AC when the tunnel abnormality is learned, reducing unnecessary information interaction and reducing resource waste.
  • a first aspect of the present invention provides a tunnel state processing method, including:
  • the STA and the wireless terminal station WTP establish a second control wireless access point protocol CAPWAP tunnel, so that the access control point AC passes the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the STA interacts;
  • the STA receives the tunnel change message sent by the WTP, determining that the first CAPWAP tunnel is abnormal;
  • the STA does not interact with the AC by sending a CAPWAP message through the first CAPWAP tunnel and the second CAPWAP tunnel, where the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC. .
  • the method further includes:
  • the STA After the first preset time period, the STA sends an inquiry message to the WTP, where the inquiry message is used to query whether the first CAPWAP tunnel is back to normal.
  • the tunnel change message includes a cause of the first CAPWAP tunnel abnormality
  • the STA After the STA sends the inquiry message to the WTP after the first preset time period, the STA further includes:
  • the STA sets the first preset time period according to the reason of the first CAPWAP tunnel abnormality.
  • the STA sends the query to the WTP after a preset time period. After the message, it also includes:
  • the STA receives the inquiry message response sent by the WTP, and determines that the first CAPWAP tunnel is normal according to the query response message.
  • the method further includes:
  • the STA receives the site tunnel ready message sent by the WTP, and determines that the first CAPWAP tunnel is normal according to the site tunnel ready message.
  • the site After the STA establishes the second control wireless access point protocol CAPWAP tunnel with the wireless terminal station WTP, the method further includes:
  • the STA switches the state of the tunnel state machine to an operating state
  • the STA After the STA determines that the first CAPWAP tunnel is abnormal, or after the STA determines the second CAPWAP tunnel abnormality, the STA further includes:
  • the STA switches the state of the tunnel state machine from the running state to the non-operation state; if the STA determines that the duration of the first CAPWAP tunnel abnormality exceeds the first preset time period, The state of the tunnel state machine is switched from the non-operational state to the idle state; wherein, when the tunnel state machine is in the running state, the STA sends or receives the CAPWAP message forwarded by the WTP; When the device is in the non-operational state, the STA determines that the first CAPWAP tunnel abnormality or the second CAPWAP tunnel abnormality does not send the CAPWAP message to interact with the AC; the tunnel state machine is the In the idle state, the STA determines that the first CAPWAP tunnel or the second CAPWAP tunnel needs to be established, and does not send the CAPWAP message to interact with the AC.
  • the STA further includes:
  • the STA switches the state of the tunnel state machine from the non-operational state to the operational state.
  • the method further includes:
  • a second aspect of the present invention provides a tunnel state maintenance method, including:
  • the wireless terminal station WTP establishes a second control wireless access point protocol CAPWAP tunnel with the station STA, so that the access control point AC passes the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the STA interacts;
  • the WTP determines that the first CAPWAP tunnel is abnormal, sending a tunnel to the STA Transmitting the message, so that the STA does not send a CAPWAP message to the AC through the first CAPWAP tunnel and the second CAPWAP tunnel, where the first CAPWAP tunnel is between the first WTP and the AC.
  • sending a tunnel change message to the STA includes:
  • the WTP sends the tunnel change message to the STA, where the tunnel change message includes the first CAPWAP tunnel abnormality;
  • the WTP sends the tunnel change message to the STA if the data packet transport layer security protocol DTLS protocol stack is abnormal, and the tunnel change message includes the first CAPWAP tunnel abnormality.
  • the method further includes:
  • the WTP receives an inquiry message sent by the STA, and the inquiry message is used to query whether the first CAPWAP tunnel is back to normal.
  • the WTP determines that the first CAPWAP tunnel is normal, the WTP returns an inquiry message response to the STA;
  • the WTP determines that the first CAPWAP tunnel is abnormal, the WTP does not return an inquiry message response to the STA.
  • the method further includes:
  • the method further includes:
  • a station STA including:
  • a STA tunnel establishing unit configured to establish a second control wireless access point protocol CAPWAP tunnel with the wireless terminal station WTP, so that the access control point AC passes the first CAPWAP tunnel between the WTP and the AC, and the first The CAPWAP tunnel interacts with the STA;
  • a STA processing unit configured to: if the STA receiving unit receives the tunnel change message sent by the WTP, determine that the first CAPWAP tunnel is abnormal; that the STA sending unit does not send the CAPWAP through the first CAPWAP tunnel and the second CAPWAP tunnel The message is exchanged with the AC, and the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the STA sending unit is configured to send an inquiry message to the WTP after the first preset time period, where the inquiry message is used to query whether the first CAPWAP tunnel is back to normal.
  • the method further includes: a time setting unit, configured to receive, according to the STA receiving unit, the first CAPWAP tunnel included in the tunnel change message For the cause of the abnormality, the first preset time period is set.
  • the STA receiving unit is further configured to receive an inquiry message response sent by the WTP, and determine, according to the query response message, that the first CAPWAP tunnel returns to normal.
  • the STA receiving unit is further configured to receive a site tunnel ready message sent by the WTP, where the STA processing unit is further configured to determine that the first CAPWAP tunnel is normal according to the site tunnel ready message.
  • the third aspect, the first possible implementation, The second possible implementation manner, the third possible implementation manner, and the fourth possible implementation manner also include:
  • a tunnel state machine configured to switch to an operating state if a state of establishing a second CAPWAP tunnel with the WTP is performed
  • the STA When the tunnel state machine is in the running state, the STA sends or receives the CAPWAP message forwarded by the WTP; when the tunnel state machine is in the non-operation state, the STA determines the first The CAPWAP tunnel is abnormal or the second CAPWAP tunnel is abnormal, and the CAPWAP message is not sent to interact with the AC; when the tunnel state machine is in the idle state, the STA determines that the first CAPWAP tunnel needs to be established. Or the second CAPWAP tunnel does not send the CAPWAP message to interact with the AC.
  • the tunnel state machine is further configured to switch from the non-operating state to the running state after determining that the first CAPWAP tunnel returns to normal.
  • a wireless terminal station WTP including:
  • a WTP tunnel establishing unit configured to establish a second control radio access point protocol CAPWAP tunnel with the station STA, so that the access control point AC passes the first CAPWAP tunnel and the second CAPWAP between the WTP and the AC The tunnel interacts with the STA;
  • a WTP processing unit configured to: if the first CAPWAP tunnel is abnormal, send a tunnel change message to the STA, so that the STA does not send the CAPWAP through the first CAPWAP tunnel and the second CAPWAP tunnel The message interacts with the AC, where the first CAPWAP tunnel is original between the first WTP and the AC CAPWAP tunnel.
  • the method further includes:
  • a WTP receiving unit configured to: when receiving the reset request message generated by the AC, causing the WTP sending unit to send a tunnel change message to the STA, where the tunnel change message includes a cause of the first CAPWAP tunnel abnormality Or,
  • the WTP processing unit is further configured to: if the data packet transport layer security protocol DTLS protocol stack is abnormal, the WTP sending unit sends the tunnel change message to the STA, where the tunnel change message includes the The cause of the first CAPWAP tunnel exception.
  • the WTP receiving unit is further configured to receive an inquiry message sent by the STA, where the inquiry message is used to query the Whether the first CAPWAP tunnel is restored to normal;
  • the WTP processing unit is further configured to: if it is determined that the first CAPWAP tunnel is normal, enable the WTP sending unit to return an inquiry message response to the STA;
  • the WTP processing unit is further configured to: if the first CAPWAP tunnel is abnormal, the WTP sending unit does not return an inquiry message response to the STA.
  • the WTP processing unit is further configured to: if the first CAPWAP tunnel is determined to be normal, to enable the WTP sending unit A site tunnel ready message is sent to the STA.
  • the method further includes:
  • a tunnel state machine configured to: if the switch from the running RUN state to the reset RESET state or the data packet transport layer security protocol link cuts off the DTLS TD state, causing the WTP sending unit to send a tunnel change message to the STA, where When the tunnel state machine is in the RUN state, the WTP forwards or receives the CAPWAP message sent by the AC or the STA; when the tunnel state machine is the RESET state and the DTLS TD state, the WTP Determining the first CAPWAP tunnel abnormality, and not forwarding the CAPWAP message sent by the AC or the STA.
  • a station STA including: a STA processor, configured to establish a second control wireless access point protocol CAPWAP tunnel with the wireless terminal station WTP, so that the access control point AC passes the first CAPWAP tunnel and the second between the WTP and the AC
  • the CAPWAP tunnel interacts with the STA;
  • the STA processor is further configured to: if the STA receiver receives the tunnel change message sent by the WTP, determine that the first CAPWAP tunnel is abnormal; so that the STA transmitter does not pass the first CAPWAP tunnel and the second CAPWAP The tunnel sends a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the STA transmitter is configured to send an inquiry message to the WTP after the first preset time period, where the inquiry message is used to query whether the first CAPWAP tunnel is back to normal.
  • the method further includes: a timer, configured to receive, according to the STA receiver, the first CAPWAP tunnel abnormality included in the tunnel change message The reason is that the first preset time period is set.
  • the STA receiver is further configured to receive an inquiry message response sent by the WTP, and determine, according to the query response message, that the first CAPWAP tunnel is back to normal.
  • the STA receiver is further configured to receive the site tunnel ready message sent by the WTP, where the STA processor is further configured to determine that the first CAPWAP tunnel is normal according to the site tunnel ready message.
  • the method further includes:
  • the STA processor is further configured to switch to an operating state if a state of establishing a second CAPWAP tunnel with the WTP is performed;
  • the STA sends or receives the CAPWAP message forwarded by the WTP; when in the non-operation state, the STA determines The first CAPWAP tunnel abnormality or the second CAPWAP tunnel abnormality does not send the CAPWAP message to interact with the AC; when the idle state is, the STA determines that the first CAPWAP tunnel needs to be established or The second CAPWAP tunnel does not send the CAPWAP message to interact with the AC.
  • the STA processor is further configured to: after determining that the first CAPWAP tunnel returns to normal, switch from the non-operation state to the running state.
  • a wireless terminal station WTP including:
  • a WTP processor configured to establish, by the STA STA, a second control radio access point protocol CAPWAP tunnel, so that the access control point AC passes the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC Interacting with the STA;
  • the WTP processor is further configured to: if the first CAPWAP tunnel is abnormal, send a WTP sender to send a tunnel change message to the STA, so that the STA does not pass the first CAPWAP tunnel and the second CAPWAP The tunnel sends a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is an original CAPWAP tunnel between the first WTP and the AC.
  • the method further includes:
  • a WTP receiver configured to: if receiving a reset request message generated by the AC,
  • the WTP sender sends a tunnel change message to the STA, where the tunnel change message includes the cause of the first CAPWAP tunnel abnormality; or
  • the WTP processor is further configured to: if the data packet transport layer security protocol DTLS protocol stack is abnormal, the WTP sender sends the tunnel change message to the STA, where the tunnel change message includes the The cause of the first CAPWAP tunnel exception.
  • the WTP receiver is further configured to receive an inquiry message sent by the STA, where the inquiry message is used to query the Whether the first CAPWAP tunnel is restored to normal;
  • the WTP processor is further configured to: if the first CAPWAP tunnel is determined to be normal, causing the WTP sender to return an inquiry message response to the STA;
  • the WTP processor is further configured to: if the first CAPWAP tunnel is abnormal, cause the WTP sender not to return an inquiry message response to the STA.
  • the WTP processor is further configured to: if the first CAPWAP tunnel is determined to be normal, to enable the WTP transmitter A site tunnel ready message is sent to the STA.
  • the WTP processing And if the state of the tunnel state machine is switched from the running RUN state to the reset RESET state or the data packet transport layer security protocol link cuts off the DTLS TD state, causing the WTP sender to send a tunnel change message to the STA
  • the WTP forwards or receives the CAPWAP message sent by the AC or the STA; when the tunnel state machine is in the RESET state and the DTLS TD state
  • the WTP determines that the first CAPWAP tunnel is abnormal, and does not forward the CAPWAP message sent by the AC or the STA.
  • a system comprising:
  • a system comprising:
  • the tunnel state processing method, device, and system provided by the embodiment of the present invention the STA establishes a second CAPWAP tunnel with the WTP, so that the AC passes the first CAPWAP tunnel between the WTP and the AC.
  • the channel and the second CAPWAP tunnel interact with the STA. If the STA receives the tunnel change message sent by the WTP, the STA determines that the first CAPWAP tunnel is abnormal.
  • the STA does not send the CAPWAP message to interact with the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • the STA can learn the tunnel abnormality and no longer interact with the AC when the tunnel is abnormal, reducing unnecessary information interaction and reducing resource waste.
  • FIG. 1 is a flowchart of an embodiment of a tunnel state maintenance method according to the present invention.
  • FIG. 2 is a flowchart of another embodiment of a tunnel state maintenance method according to the present invention.
  • FIG. 3 is a flowchart of still another embodiment of a tunnel state maintenance method according to the present invention.
  • FIG. 4 is a flowchart of an embodiment of a tunnel establishment method provided by the present invention.
  • FIG. 5 is a flowchart of another embodiment of a tunnel establishment method according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a station STA according to the present invention.
  • FIG. 7 is a schematic structural diagram of another embodiment of a station STA according to the present invention.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a station STA according to the present invention.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a station STA according to the present invention.
  • FIG. 10 is a schematic structural diagram of a WTP embodiment of a wireless terminal station according to the present invention.
  • FIG. 11 is a schematic structural diagram of another embodiment of a WTP according to the present invention.
  • FIG. 12 is a schematic structural diagram of still another embodiment of a WTP according to the present invention.
  • FIG. 13 is a schematic structural diagram of still another embodiment of WTP according to the present invention.
  • FIG. 14 is a schematic structural diagram of an embodiment of a station STA according to the present invention.
  • FIG. 15 is a schematic structural diagram of another embodiment of a station STA according to the present invention.
  • 16 is a schematic structural diagram of a WTP embodiment of a wireless terminal station according to the present invention.
  • FIG. 17 is a schematic structural diagram of another embodiment of a WTP according to the present invention.
  • FIG. 18 is a schematic structural diagram of an embodiment of a tunnel establishment system according to the present invention. detailed description
  • 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). , CAPWAP) 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.
  • CAPWAP CAPWAP
  • FIG. 1 is a flowchart of an embodiment of a tunnel state maintenance method according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the STA establishes a second CAPWAP tunnel with the WTP, 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 communication protocol commonly used between WTP and AC is to control the wireless access point protocol, which is an application layer protocol built on the User Datagram Protocol (UDP).
  • UDP User Datagram Protocol
  • a tunnel is set up between the AC and the WTP to carry control packets and user data packets 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
  • the data tunnel transmits data packets.
  • the second CAPWAP tunnel between the WTP and the STA may be established by the WTP or by the AC.
  • the AC may send a CAPWAP packet for controlling the STA to the WTP through the first CAPWAP tunnel, and then The WTP is forwarded to the STA through the second CAPWAP tunnel, so that the AC can send the packet for controlling the STA to the STA, and the WTP can forward the response or the packet of the STA to determine the control effect on the STA, such as the STA. Whether the resource scheduling is reasonable and effective.
  • S102 If the STA receives the tunnel change message sent by the WTP, the STA determines that the first CAPWAP tunnel is abnormal.
  • the STA may determine the first CAPWAP.
  • the tunnel is abnormal. For example, it can be determined that the WTP is switched from the running RUN state to the reset RESET state or the data packet transport layer security Tear Down state (DTLS TD, Datagram Transport Layer Security Tear Down).
  • DTLS TD Datagram Transport Layer Security Tear Down
  • the STA does not use the first CAPWAP tunnel and the second CAPWAP tunnel to send a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • the WTP can maintain a relatively complex CAPWAP tunnel state machine, and define multiple complex states corresponding to different states of the first CAPWAP tunnel; and because the STA resources are limited, a simple CAPWAP tunnel state machine can be established in the STA. , only maintain a simple state machine.
  • three states can be defined for the STA's tunnel state machine: idle IDLE, run RUN, non-run UNRUN.
  • the relationship between the tunnel state machine maintained by the STA and the tunnel state machine maintained by the WTP is that the RUN state corresponds completely, and the non-RUN state of the WTP corresponds to the UNRUN state of the STA.
  • the STA tunnel status notification message is a tunnel change message
  • the STA determines that the first CAPWAP tunnel is abnormal.
  • the state machine maintained by the WTP should be changed from the RUN state to the non-RUN state, such as DTLS TD, and at the same time, the STA The RUN state should be redirected to the UNRUN state.
  • the STA maintains the UNRUN state
  • the STA does not send CAPWAP packets to the AC through the WTP or through the WTP.
  • the g ⁇ STA no longer passes the first CAPWAP tunnel and the second CAPWAP tunnel and the AC. Interact.
  • the STA establishes a second CAPWAP tunnel with the WTP, 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 tunnel change message is used to determine that the first CAPWAP tunnel is abnormal.
  • the STA does not use the first CAPWAP tunnel and the second CAPWAP tunnel to send a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC. .
  • FIG. 2 is a flowchart of another embodiment of a tunnel state maintenance method according to the present invention.
  • the present application is applied to a scenario in which a first CAPWAP tunnel is established between a WTP and an AC, as shown in FIG. 2,
  • the method of an embodiment may include:
  • the WTP establishes a second CAPWAP tunnel with the STA.
  • the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the WTP and the STA of the station establish a second CAPWAP tunnel, which may be established by WTP control or by AC control.
  • the WTP sends a tunnel change message to the STA, so that the STA does not use the first CAPWAP tunnel and the second CAPWAP tunnel to send a CAPWAP message to interact with the AC.
  • the tunnel status of the first CAPWAP tunnel of the WTP and the AC may be determined according to the message sent by the AC. If the WTP receives the RESET request message sent by the AC, the WTP will switch from the RUN state to the RESET state. After the WTP completes the first CAPWAP restart operation and ends the DTLS session, it may send a RESET response message to the AC, and then the WTP will switch from the RESET state to the DTLS TD state, and after switching to the DTLS TD state, a timer may be started to enable timing. The device continues to switch states when it is timed.
  • the tunnel condition of the first CAPWAP tunnel of the WTP and the AC is also determined by the WTP according to other messages received or self-detection.
  • the RUN state of the WTP is switched to the DTLS TD state: the state switch occurs in the DTLS protocol stack. Situation, causing a DTLS session to be interrupted.
  • this state switch occurs when it receives a DTLS notification message: DTLS Aborted, DTLS Reassembly Failure, or DTLS Peer Disconnect.
  • the DTLS Aborted is used to indicate the establishment of the session suspension; the DTLS Reassembly Failure is used to indicate that the DTLS fragment data reorganization fails; and the DTLS Peer Disconnect is used to indicate that the DTLS session has been disassembled.
  • the WTP receives the DTLS Decap Failure notification frequently, it may also cut off the DTLS session and enter the DTLS TD state.
  • the DTLS Decap Failure is used to indicate that the parsing packet fails, and the encryption verification fails.
  • WTP also switches from the RUN state to the DTLS TD state. And the above timer will be started after the WTP switches to the DTLS TD state.
  • the WTP may send a tunnel status notification message to the STA, where the tunnel status notification message is a tunnel change message, that is, the first CAPWAP tunnel is abnormal.
  • the STA and the WTP establish a second CAPWAP a tunnel, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC; if the STA receives the tunnel change message sent by the WTP, the STA determines that the first CAPWAP tunnel is abnormal; the STA does not pass the first The CAPWAP tunnel and the second CAPWAP tunnel send a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 3 is a flowchart of still another embodiment of a tunnel state maintenance method 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 may include :
  • the WTP establishes a second CAPWAP tunnel with the STA.
  • the WTP tunnel state machine can maintain multiple states. After the WTP and the AC establish the first CAPWAP tunnel, the WTP enters the running RUN state. After the WTP and the STA establish the second CAPWAP tunnel, the RUN state is maintained.
  • the STA establishes a second CAPWAP tunnel with the WTP.
  • the STA tunnel state machine can maintain three states, which are defined as idle IDLE state, running RUN state, and non-running UNRUN.
  • the IDLE state is entered. That is, the state indicates that the WTP does not maintain the state of the STA's CAPWAP tunnel.
  • the second CAPWAP tunnel may be established by WTP control or may be established by AC control.
  • FIG. 4 is a flowchart of an embodiment of a tunnel establishment method provided by the present invention.
  • a second CAPWAP tunnel may be established by WTP control.
  • 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. S403; No, then S409 is performed.
  • 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.
  • whether the WTP is based on the request condition of the tunnel establishment request, whether the CAPWAP tunnel is established or not, may be determined whether the source STA of the CAPWAP tunnel establishment request is pre-existing in the configurable tunnel list, and the configurable tunnel list may be pre-stored in the WTP. If the source STA is pre-existing, the STA in the tunnel list can be established to determine to permit the establishment of the 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 S403 is performed; if the establishment is not permitted, the tunnel establishment failure notification may be returned to the STA, and S412 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 the CAPWAP control packet or data sent by the AC.
  • the packet is configured to perform resource scheduling on the STA.
  • the CAPWAP message further includes the identifier information.
  • the identifier information is generated by the WTP or the 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 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.
  • CAPWAP message includes the description described in the foregoing embodiment.
  • the format and the content of the CAPWAP packet can be described in the foregoing embodiment, and details are not described herein.
  • 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 one 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 F is an invalid address.
  • 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, and if the preset identifier 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 first value is 0, and when the second value is 1, if the preset flag is 0, the CAPWAP message is sent to WTP. If the preset flag is 1, the CAPWAP message is sent to the STA. Further, when 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 When 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 S407. If not, the WTP parses the CAPWAP message and performs a corresponding operation according to the content or policy.
  • the WTP forwards the CAPWAP message to the STA corresponding to the identifier information in the CAPWAP message.
  • S408 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 further pre-store a timer corresponding to the failure reason, 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.
  • FIG. 5 is a flowchart of another embodiment of a tunnel establishment method provided by the present invention.
  • the second CAPWAP tunnel may be established by AC control.
  • S501 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. If the CAPWAP tunnel establishment request sent by the STA is received, 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. S503; No, execute S512.
  • 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 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 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 message sent to the WTP.
  • the identifier information is the address information: If the address information is a valid address, 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. Enable WTP to process CAPWAP messages.
  • 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 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 S510 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 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 When the STA learns that the first CAPWAP tunnel established by the WTP and the AC is in the RUN state, that is, when the state machine of the WTP is in the non-RUN state, the STA enters the UNRUN state.
  • WTP Sending a tunnel status change message causes the STA to jump from the RUN state to the UNRUN state.
  • the WTP sends the information about the first CAPWAP tunnel to the STA, such as image data and config data.
  • the STA may also send a (Site Tunnel Request) Station tunnel inquire message to the WTP to obtain the progress of the WTP currently establishing the first CAPWAP tunnel from the WTP feedback message, where the site tunnel request message may carry the WTP current tunnel.
  • the STA can determine, according to the timer in the feedback message, how long the second CAPWAP tunnel can be successfully established, and further determine the time that the local end can access.
  • both STA and WTP are in the RUN state.
  • the STA determines that the first CAPWAP tunnel is abnormal, or after the STA determines that the second CAPWAP tunnel is abnormal, the STA switches the state of the tunnel state machine from the RUN state to the non-running UNRUN state.
  • the second STA and the WTP can maintain the heartbeat packet transmission. If the heartbeat packet sent by the WTP is not received within a preset time period, such as 3S, that is, the WTP heartbeat packet cannot be delivered to the STA, the heartbeat packet fails to be sent.
  • the STA determines the second CAPWAP tunnel exception and transitions from the RUN state to the UNRUN state.
  • This example uses the WTP to notify the STA of the first CAPWAP tunnel exception. If the first CAPWAP tunnel is abnormal, the STA can be notified by the WTP to make the STA transition from the RUN state to the UNRUN state.
  • the specific method can be as follows:
  • the WTP determines that the first CAPWAP tunnel is abnormal, the WTP sends a tunnel change message to the STA.
  • the WTP receives the reset request message generated by the AC, and sends a tunnel change message to the STA, where the tunnel change message includes the cause of the first CAPWAP tunnel abnormality; or, the WTP learns that the data packet transport layer security protocol DTLS protocol stack is abnormal.
  • the tunnel change message is sent to the STA, and the tunnel change message includes the cause of the first CAPWAP tunnel abnormality.
  • the tunnel state notification message may be a tunnel change message, and the tunnel change message is sent to the STA when the WTP jumps out of the RUN state.
  • the WTP switches the state of the tunnel state machine from the RUN state to the RESET state or DTLS.
  • the tunnel change message is sent to the STA to indicate that the first CAPWAP tunnel is abnormal.
  • the tunnel state notification message may delete the message by using the first CAPWAP tunnel.
  • the STA may jump to the UNRUN state and continue to wait for the first CAPWAP tunnel.
  • a CAPWAP tunnel can also be redirected to the IDLE state, waiting for the first CAPWAP
  • the tunnel state notification message is a tunnel change message as an example, but is not limited thereto.
  • the STA determines that the first CAPWAP tunnel is abnormal.
  • the STA is no longer sent through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the CAPWAP message interacts with the AC.
  • the tunnel change message includes the cause of the first CAPWAP tunnel exception. Further, if it is determined that the first CAPWAP tunnel is abnormal, the STA switches the state of the tunnel state machine from the RUN state to the UNRUN state.
  • both the STA and the WTP may pre-store the coding or sequence number corresponding to the cause of the first CAPWAP tunnel abnormality.
  • the tunnel change message may include the cause of the first CAPWAP tunnel abnormality.
  • the encoding or sequence number, the STA receives the tunnel change message, and can resolve the reason of the corresponding abnormality by parsing the code or serial number, so as to avoid excessive occupation of the wireless network because the message is too large.
  • the STA sets a preset time period according to the first CAPWAP tunnel abnormality. For example, the STA sets a preset time period according to the reason of the first CAPWAP tunnel abnormality, and pre-stores the time period in the list, and different abnormal causes correspond to different time segments. If the first CAPWAP tunnel needs to restart the DTLS session, set the preset time period to lOmin.
  • the STA After a preset period of time, the STA sends an inquiry message to the WTP, where the inquiry message is used to query whether the first CAPWAP tunnel is restored.
  • the preset time period is set to 10 min.
  • lOmin arrives at the time, and sends an inquiry message to the WTP, and the inquiry message is used to query the first CAPWAP. Whether the tunnel is back to normal.
  • the state of the tunnel state machine is switched from the UNRUN state to the idle IDLE state.
  • the WTP receives an inquiry message sent by the STA, where the inquiry message is used to query whether the first CAPWAP tunnel is restored.
  • step S310 determines whether the first CAPWAP tunnel is normal. If yes, step S310 is performed. If the fault is abnormal, step S311 is performed.
  • the WTP returns an inquiry message response to the STA.
  • S311. The WTP does not return an inquiry message response to the STA.
  • the WTP can be solved in the first CAPWAP tunnel abnormality problem. For example, after the WTP reestablishes the first CAPWAP tunnel, the notification message is sent to notify the STA, so that the STA will jump from the UNRUN state to the RUN state.
  • the STA sends or receives the CAPWAP message forwarded by the WTP.
  • the STA determines that the first CAPWAP tunnel is abnormal or the second CAPWAP tunnel is abnormal, and does not send the CAPWAP message to the AC.
  • Interaction When the tunnel state machine is in the idle state, the STA determines that the first CAPWAP tunnel or the second CAPWAP tunnel needs to be established, and does not send a CAPWAP message to interact with the AC.
  • the STA receives the inquiry message response sent by the WTP, and determines that the first CAPWAP tunnel is normal according to the query response message.
  • step S309 the embodiment may further perform step S313 for example, or may not perform the subsequent step S313, and is not limited by the implementation:
  • the WTP determines that the first CAPWAP tunnel is normal, the WTP sends a site tunnel ready message to the STA.
  • the STA receives the site tunnel ready message sent by the WTP, and determines that the first CAPWAP tunnel is normal according to the site tunnel ready message.
  • the method further includes: deleting the second CAPWAP tunnel, and the step is performed after the step S314 in this embodiment, but is not limited thereto.
  • the STA data request (Image data for STA request) message may be used to send the STA the updated part. Send to the STA, the message can carry the change command or the content of the new protocol. If the WTP receives the configuration (config) update message from the AC, the STA sends the STA-related part to the STA, including radio management (radio adminstrative), so that the STA updates the parameter information according to the message.
  • 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.
  • deleting the second CAPWAP tunnel may also be initiated by the AC, such as AC.
  • the tunnel deletion request is sent to the WTP.
  • the WTP deletes the second CAPWAP tunnel and notifies the STA of the second CAPWAP tunnel deletion.
  • the tunnel deletion request may include 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 the second CAPWAP tunnel deletion sent by the WTP, and determines that the second CAPWAP tunnel has been deleted.
  • the STA switches the state of the tunnel state machine from the UNRUN state or the RUN state to the IDLE state.
  • the STA establishes a second CAPWAP tunnel with the WTP, 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 tunnel change message is used to determine that the first CAPWAP tunnel is abnormal.
  • the STA does not use the first CAPWAP tunnel and the second CAPWAP tunnel to send a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC. .
  • FIG. 6 is a schematic structural diagram of an embodiment of a station STA according to the present invention.
  • the STA 10 of this embodiment may include: a STA tunnel establishing unit 101, a STA processing unit 102, and a STA receiving unit 103.
  • the STA tunnel establishing unit 101 is configured to establish a second CAPWAP tunnel with the point WTP, 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 STA processing unit 102 is configured to determine, if the STA receiving unit 103 receives the tunnel change message sent by the WTP, the first CAPWAP tunnel abnormality, so that the STA sending unit does not send the CAPWAP message and the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • the STA receiving unit 103 is further configured to receive an inquiry message response sent by the WTP, and determine, according to the query response message, that the first CAPWAP tunnel is restored to normal.
  • FIG. 7 is a schematic structural diagram of another embodiment of a station STA according to the present invention. As shown in FIG. 7, the WTP of the present embodiment may further include:
  • the STA sending unit 104 is configured to send an inquiry message to the WTP after the first preset time period, where the inquiry message is used to query whether the first CAPWAP tunnel is restored.
  • the time setting unit 105 is configured to set a first preset time period according to the reason that the STA receiving unit 102 receives the first CAPWAP tunnel abnormality included in the tunnel change message.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a station STA according to the present invention. As shown in FIG. 8, the WTP of the present embodiment may further include:
  • the STA heartbeat packet transmission unit 106 is configured to maintain a heartbeat packet transmission with the WTP. If the heartbeat packet sent by the WTP is not received within a preset time period, the STA processing unit 102 determines that the second CAPWAP tunnel is abnormal.
  • FIG. 9 is a schematic structural diagram of another embodiment of a station STA according to the present invention. As shown in FIG. 9, the WTP of the present embodiment may further include:
  • the tunnel state machine 107 is configured to switch to the running state if the second CAPWAP tunnel is established with the WTP, and to switch from the running state to the non-running state if the first CAPWAP tunnel or the second CAPWAP tunnel is determined to be abnormal; When it is determined that the duration of the first CAPWAP tunnel abnormality exceeds the first preset time period, the non-operating state state is switched to the idle state.
  • the STA When the tunnel state machine is in the running state, the STA sends or receives the CAPWAP message forwarded by the WTP. When the tunnel state machine is in the non-operation state, the STA determines that the first CAPWAP tunnel is abnormal or the second CAPWAP tunnel is abnormal, and does not send the CAPWAP message to the AC. Interaction: When the tunnel state machine is in the idle state, the STA determines that the first CAPWAP tunnel or the second CAPWAP tunnel needs to be established, and does not send a CAPWAP message to interact with the AC.
  • tunnel state machine 107 is further configured to switch from the non-operation state to the running state after the first CAPWAP tunnel returns to normal. Further, the tunnel state machine 107 is further configured to switch from the non-operation state or the running state to the idle state if the second CAPWAP tunnel is deleted.
  • the STA, the STA and the WTP provided by the embodiment of the present invention establish a second CAPWAP tunnel, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC; if the STA receives the tunnel change message sent by the WTP Then, the first CAPWAP tunnel is determined to be abnormal.
  • the STA does not send a CAPWAP message to the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 10 is a schematic structural diagram of a WTP embodiment of a wireless terminal station according to the present invention.
  • the WTP 20 of this embodiment may include: a WTP tunnel establishing unit 201, a WTP processing unit 202, and a WTP sending unit 203.
  • the WTP tunnel establishing unit 201 is configured to establish a second CAPWAP tunnel with 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.
  • the WTP sending unit 202 is configured to: if the first CAPWAP tunnel is abnormal, the WTP sending unit 203 sends a tunnel change message to the STA, so that the STA does not use the first CAPWAP tunnel and the second CAPWAP tunnel to send a CAPWAP message to interact with the AC.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 11 is a schematic structural diagram of another embodiment of the WTP of the present invention. As shown in FIG. 11, the WTP of the present embodiment may further include:
  • the WTP receiving unit 204 is configured to: when receiving the reset request message generated by the AC, cause the WTP sending unit 203 to send a tunnel change message to the STA, where the tunnel change message includes the first CAPWAP tunnel abnormality; or
  • the WTP processing unit 202 is further configured to: if the data packet transport layer security protocol DTLS protocol stack is abnormal, the WTP sending unit 203 sends a tunnel change message to the STA, where the tunnel change message includes the first CAPWAP tunnel abnormality. Further, the WTP receiving unit 203 is further configured to receive an inquiry message sent by the STA, where the inquiry message is used to query whether the first CAPWAP tunnel is restored.
  • the WTP processing unit 202 is further configured to: if it is determined that the first CAPWAP tunnel is normal, the WTP sending unit 203 returns an inquiry message response to the STA; the WTP processing unit 202 is further configured to: if it is determined that the first CAPWAP tunnel is abnormal, The WTP transmitting unit 203 is caused not to return an inquiry message response to the STA.
  • FIG. 12 is a schematic structural diagram of still another embodiment of the WTP of the present invention. As shown in FIG. 12, the WTP of the present embodiment may further include:
  • the WTP heartbeat packet transmission unit 205 is configured to maintain heartbeat packet transmission with the STA. If the second CAPWAP tunnel is abnormal, the heartbeat packet transmission fails.
  • FIG. 13 is a schematic structural diagram of another embodiment of the WTP of the present invention. As shown in FIG. 13, the WTP of the present embodiment may further include:
  • the tunnel state machine 206 is configured to enable the WTP sending unit 202 to send a tunnel change message to the STA if the switch from the running RUN state to the reset RESET state or the data packet transport layer security protocol link disconnects the DTLS TD state.
  • the WTP forwards or receives the CAPWAP message sent by the AC or the STA.
  • the WTP determines that the first CAPWAP tunnel is abnormal, and is not forwarded by the AC or the STA. CAPWAP message.
  • the WTP, the STA and the WTP provided by the embodiment of the present invention establish a second CAPWAP tunnel, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC; if the STA receives the tunnel change message sent by the WTP
  • the first CAPWAP tunnel is determined to be abnormal.
  • the STA does not send a CAPWAP message to the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 14 is a schematic structural diagram of an embodiment of a station STA according to the present invention.
  • the STA 30 of this embodiment may include: a STA processor 301, a STA receiver 302, and a transmitter 303.
  • the STA processor 301 is configured to establish a second CAPWAP tunnel with the WTP, 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 STA processor 301 is further configured to: if the STA receiver 302 receives the tunnel change message sent by the WTP, determine the first CAPWAP tunnel abnormality; so that the STA transmitter 303 does not send the CAPWAP message through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the AC interacts.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 15 is a schematic structural diagram of another embodiment of a station STA according to the present invention.
  • the WTP of this embodiment may further include: a timer 304, based on the apparatus structure shown in FIG. The preset time period is set according to the reason of the first CAPWAP tunnel abnormality included in the tunnel change message received by the STA receiver 302.
  • the STA receiver 302 is further configured to receive an inquiry message response sent by the WTP, and determine, according to the query response message, that the first CAPWAP tunnel is restored to normal.
  • the STA receiver 302 is further configured to receive a site tunnel ready message sent by the WTP.
  • the STA processor 301 is further configured to determine that the first CAPWAP tunnel is restored according to the site tunnel ready message.
  • the STA processor 301 is further configured to maintain a heartbeat packet transmission with the WTP, and if the heartbeat packet sent by the WTP is not received within the second preset time period, determine that the second CAPWAP tunnel is abnormal.
  • the STA processor 301 is further configured to establish a second with the WTP.
  • the status of the CAPWAP tunnel is switched to the running state.
  • the operation state is switched to the non-operation state
  • the state is switched from the non-operation state state to the idle state, where, when the operation state is performed, the STA sends or receives the WTP.
  • the STA determines that the first CAPWAP tunnel is abnormal or the second CAPWAP tunnel is abnormal, and does not send a CAPWAP message to interact with the AC; when idle, the STA determines that the first CAPWAP tunnel or the second needs to be established.
  • a CAPWAP tunnel does not send a CAPWAP message to interact with the AC.
  • the STA processor 301 is further configured to switch from the non-operational state to the running state after the first CAPWAP tunnel is restored to normal.
  • the STA processor 301 is further configured to switch from the non-running state or the running state to the idle state if the second CAPWAP tunnel is deleted.
  • the STA, the STA and the WTP provided by the embodiment of the present invention establish a second CAPWAP tunnel, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC; if the STA receives the tunnel change message sent by the WTP Then, the first CAPWAP tunnel is determined to be abnormal.
  • the STA does not send a CAPWAP message to the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 16 is a schematic structural diagram of a WTP embodiment of a wireless terminal station according to the present invention.
  • the WTP 40 of this embodiment may include: a WTP processor 401 and a WTP transmitter 402.
  • the WTP processor 401 is configured to establish a second CAPWAP tunnel with the STA, so that the AC interacts with the STA by using the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC.
  • the WTP processor 401 is further configured to: if the first CAPWAP tunnel is abnormal, send the WTP sender 402 to send a tunnel change message to the STA, so that the STA does not pass the first CAPWAP tunnel and the second CAPWAP The tunnel sends a CAPWAP message to interact with the AC, where the first CAPWAP tunnel is the original between the first WTP and the AC.
  • FIG. 17 is a schematic structural diagram of another embodiment of the WTP according to the present invention. As shown in FIG. 17, the WTP of the present embodiment may further include: The WTP receiver 403 is configured to: when receiving the AC reset request message, the WTP transmitter 402 sends a tunnel change message to the STA, where the tunnel change message includes the first CAPWAP tunnel abnormality; or
  • the WTP processor 401 is further configured to: if the data packet transport layer security protocol DTLS protocol stack is abnormal, the WTP transmitter 402 sends a tunnel change message to the STA, where the tunnel change message includes the first CAPWAP tunnel abnormality.
  • the WTP receiver 403 is further configured to receive an inquiry message sent by the STA, and the inquiry message is used to query whether the first CAPWAP tunnel is restored.
  • the WTP processor 401 is further configured to: if the first CAPWAP tunnel is determined to be normal, cause the WTP transmitter 402 to return an inquiry message response to the STA;
  • the WTP processor 401 is further configured to: if the first CAPWAP tunnel is abnormal, cause the WTP sender 402 not to return an inquiry message response to the STA.
  • the WTP processor 401 is further configured to: if it is determined that the first CAPWAP tunnel is restored, the WTP transmitter 402 is configured to send a site tunnel ready message to the STA.
  • the WTP processor 401 is further configured to maintain heartbeat packet transmission with the STA, if the second
  • the heartbeat packet fails to be sent.
  • the WTP processor 401 is further configured to: if the state of the tunnel state machine is switched from the running RUN state to the reset RESET state or the data packet transport layer security protocol link cuts off the DTLS TD state, the WTP transmitter is caused to The STA sends a tunnel change message, where the WTP forwards or receives the CAPWAP message sent by the AC or the STA when the tunnel state machine is in a RUN state; the tunnel state machine is the RESET state. And the DTP TD state, the WTP determines that the first CAPWAP tunnel is abnormal, and does not forward the AC or the CAPWAP message sent by the STA.
  • the WTP, the STA and the WTP provided by the embodiment of the present invention establish a second CAPWAP tunnel, so that the AC interacts with the STA through the first CAPWAP tunnel and the second CAPWAP tunnel between the WTP and the AC; if the STA receives the tunnel change message sent by the WTP
  • the first CAPWAP tunnel is determined to be abnormal.
  • the STA does not send a CAPWAP message to the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the first CAPWAP tunnel is the original CAPWAP tunnel between the first WTP and the AC.
  • FIG. 18 is a schematic structural diagram of an embodiment of a tunnel establishment system according to the present invention.
  • the system 1 includes: at least one STA 10 and a WTP 20.
  • the STA 10 can adopt the structure shown in any of the STAs 10 of FIG. 6 to FIG. 9, and the WTP 20 can adopt the structure shown by the WTP 20 of any of FIGS. 10 to 13.
  • the system includes:
  • At least one STA 30 and WTP 40 At least one STA 30 and WTP 40.
  • the STA 30 can adopt the structure shown in STA 30 of FIG. 14 or FIG. 15, and the WTP 40 can adopt the figure.
  • the system of the present embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 to FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the station STA after the first CAPWAP tunnel between the WTP and the AC is established, the station STA establishes a second CAPWAP tunnel with the WTP; the STA receives the tunnel status notification message sent by the WTP; if the tunnel status notification message is a tunnel change
  • the STA determines that the first CAPWAP tunnel is abnormal, so that the STA does not interact with the AC through the first CAPWAP tunnel and the second CAPWAP tunnel.
  • the AC can control the STA through the first CAPWAP tunnel and the second CAPWAP tunnel, so that the STA performs operation processing according to different scenarios according to different scenarios.
  • the processing power of the STA improves the network processing capability of the WLAN.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including 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

Un mode de réalisation de la présente invention propose un procédé, un dispositif et un système de traitement d'état de tunnel. Le procédé de traitement d'état de tunnel comprend : l'établissement, par une station (STA) et des points de terminaison sans fil (WTP), d'une seconde commande et l'approvisionnement d'un tunnel de points d'accès sans fil (CAPWAP) pour permettre à un contrôleur d'accès (AC) d'interagir avec une STA par l'intermédiaire d'un premier tunnel de CAPWAP et du second tunnel de CAPWAP entre le WTP et l'AC ; si la STA reçoit un message de changement de tunnel envoyé par le WTP, alors la détermination que le tunnel de CAPWAP est anormal ; et la STA n'interagit plus avec l'AC en envoyant un message de CAPWAP par l'intermédiaire du premier tunnel de CAPWAP et du second tunnel de CAPWAP, le premier tunnel de CAPWAP étant un tunnel de CAPWAP original entre un premier WTP et l'AC. Ainsi, la STA peut cesser l'interaction avec l'AC après avoir appris que le tunnel est anormal, réduisant une interaction d'informations inutiles et un gaspillage de ressources.
PCT/CN2013/085145 2013-10-12 2013-10-12 Procédé, dispositif et système de traitement d'état de tunnel WO2015051552A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/085145 WO2015051552A1 (fr) 2013-10-12 2013-10-12 Procédé, dispositif et système de traitement d'état de tunnel
CN201380076339.3A CN105191485B (zh) 2013-10-12 2013-10-12 隧道状态处理方法、装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/085145 WO2015051552A1 (fr) 2013-10-12 2013-10-12 Procédé, dispositif et système de traitement d'état de tunnel

Publications (1)

Publication Number Publication Date
WO2015051552A1 true WO2015051552A1 (fr) 2015-04-16

Family

ID=52812471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085145 WO2015051552A1 (fr) 2013-10-12 2013-10-12 Procédé, dispositif et système de traitement d'état de tunnel

Country Status (2)

Country Link
CN (1) CN105191485B (fr)
WO (1) WO2015051552A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206537A1 (en) * 2006-03-06 2007-09-06 Nancy Cam-Winget System and method for securing mesh access points in a wireless mesh network, including rapid roaming
CN101426060A (zh) * 2008-12-01 2009-05-06 华为技术有限公司 一种双归属软交换的方法、软交换设备及系统
CN102869059A (zh) * 2011-07-05 2013-01-09 中兴通讯股份有限公司 一种无线接入控制器切换方法和无线接入点

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101801002B (zh) * 2010-02-05 2012-07-18 北京傲天动联技术有限公司 控制与业务分离的wlan架构及其配置方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206537A1 (en) * 2006-03-06 2007-09-06 Nancy Cam-Winget System and method for securing mesh access points in a wireless mesh network, including rapid roaming
CN101426060A (zh) * 2008-12-01 2009-05-06 华为技术有限公司 一种双归属软交换的方法、软交换设备及系统
CN102869059A (zh) * 2011-07-05 2013-01-09 中兴通讯股份有限公司 一种无线接入控制器切换方法和无线接入点

Also Published As

Publication number Publication date
CN105191485A (zh) 2015-12-23
CN105191485B (zh) 2019-04-05

Similar Documents

Publication Publication Date Title
JP6700475B2 (ja) 端末状態の切り替え方法及び装置
CN104662814B (zh) 用于针对机器类型通信(mtc)的自主簇头选择的方法和装置
US7623863B2 (en) System and method for adjusting connection parameters in a wireless network
WO2020030162A1 (fr) Procédé, dispositif et appareil de gestion de faisceaux de liaison latérale, et support d'informations lisible
KR102442932B1 (ko) 링크 인터럽트 처리 방법 및 기기
WO2018170626A1 (fr) Procédé de récupération de connexion, entité de fonction de gestion d'accès et de mobilité, et équipement utilisateur
JP4980151B2 (ja) 移動体通信システム、pdif及び移動端末の死活監視方法
JP2022553256A (ja) データ伝送方法、通信デバイス、及び通信システム
CN110636562A (zh) 一种无线回程路径的数据处理方法和设备
JP2014528661A (ja) 移動通信システム及びその移動通信システムで体感性能を改善するための情報処理方法
CN103857004A (zh) 处理无线网络用户接入的方法、装置及系统
WO2019141273A1 (fr) Procédé de communication pour transmission déterministe et appareil associé
WO2010130133A1 (fr) Procédé et système de commutation de station quand une wpi est mise en application par un contrôleur d'accès dans un wlan convergent
US11140597B2 (en) Method and apparatus for processing link establishment failure, and computer storage medium
JP5351333B2 (ja) 集中型wlanにおける無線ターミナルポイントによりwpiを実施する際のステーション切り替え方法及びシステム
CN105407544B (zh) 基于WiFi模块的快速联网方法
CN111955050A (zh) 用户装置、控制装置以及通信控制方法
EP2432262B1 (fr) Procédé et système de commutation d'une station dans un réseau wlan centralisé avec un dispositif de commande d'accès réalisant wpi
CN111937481A (zh) 用户装置、控制装置以及通信控制方法
WO2015018038A1 (fr) Procédé et dispositif d'établissement de tunnels
KR101590018B1 (ko) SDN에서의 펨토 기지국과 WiFi AP 연동 방법
WO2015051552A1 (fr) Procédé, dispositif et système de traitement d'état de tunnel
US11252566B2 (en) Method and device for determining security algorithm, and computer storage medium
WO2018201752A1 (fr) Procédé et dispositif de connexion à un réseau
JPH11317747A (ja) 無線lanシステム

Legal Events

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

Ref document number: 201380076339.3

Country of ref document: CN

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

Ref document number: 13895130

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

Country of ref document: EP

Kind code of ref document: A1