A connection state detection method and device
A technology of connection status and detection method, applied in the communication field based on CAPWAP protocol, which can solve the problems of inconsistent AC and AP status, network packet loss, errors, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Embodiment 1 of the present invention provides a connection state detection method, such as figure 2 As shown, the method mainly includes:
[0040] In step 201, when the number of retransmissions of a control message sent to the AP reaches a preset threshold and the AC does not receive a response message carrying the same sequence number as in the control message, the AC sends a first message to the AP, and the first message is sent to the AP. A message characterizing the sequence number requesting the AP to respond to the last received control message.
[0041] Under normal conditions, each time the AC sends a control message to the AP, the serial number will be incremented by 1, and each time the AP receives a message, it will update the local serial number according to the serial number carried in the received message, and carry it in the sent response message. The local updated sequence number; if the AC sends a control message and waits for the retransmission tim...
Embodiment 2
[0053] Corresponding to the connection state detection method described in Embodiment 1, Embodiment 2 of the present invention provides a connection state detection device, such as image 3 As shown, the device includes: a sending unit 10, a receiving unit 20 and a determining unit 30; wherein,
[0054] The sending unit 10 is configured to send a message to the AP when the number of retransmissions of a control message sent by the AC to the AP reaches a preset threshold and the AC does not receive a response message carrying the same sequence number as that in the control message. Sending a first message, where the first message is used to characterize the sequence number of the requesting AP to respond to the last received control message;
[0055] The receiving unit 20 is configured to receive the second message sent by the AP to the AC before the retransmission timer expires;
[0056] A determining unit 30, configured to compare the sequence number carried in the second me...
Embodiment 3
[0067] Corresponding to Embodiment 1 and Embodiment 2 above, Embodiment 3 of the present invention also provides a connection state detection system, including an AC and an AP; wherein,
[0068] AC, for sending a control message to the AP;
[0069] The AP is used to receive the control message sent by the AP and return a response message to the AC;
[0070] Under normal conditions, each time the AC sends a control message to the AP, the serial number will be incremented by 1, and each time the AP receives a message, it will update the local serial number according to the serial number carried in the received message, and carry it in the sent response message. The local updated sequence number; if the AC sends a control message and waits for the retransmission timer to expire and still does not receive a response message with the same sequence number, it will resend the control message with the current sequence number;
[0071] The AC is also configured to send a first message...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


