Unlock instant, AI-driven research and patent intelligence for your innovation.

Connection state detection method and apparatus

A technology of connection status and detection method, applied in the communication field based on CAPWAP protocol, which can solve problems such as errors, practical application inconvenience, network packet loss, etc.

Active Publication Date: 2014-12-03
NEW H3C TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, if the status of a certain service is abnormal and no response is sent, it will cause the AC to not receive the CAPWAP response message for a long time, so that the AC will mistakenly think that the entire CAPWAP tunnel connection is interrupted, and the AP will go offline; in this case Under normal circumstances, most of the services are normally running, and AP offline will interrupt the services of these normally running services, resulting in adverse effects
On the other hand, if the control message fails to be sent without interrupting the CAPWAP tunnel connection, it will also cause network packet loss when the actual connection is abnormal, and the status of the AC and AP are inconsistent.
[0006] However, the prior art cannot provide solutions to the above technical problems, which brings inconvenience to practical applications.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Connection state detection method and apparatus
  • Connection state detection method and apparatus
  • Connection state detection method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

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, used to send 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 messag...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a connection state detection method. The method comprises: when the retransmission frequency of a first control message sent by an access controller (AC) to an access point (AP) exceeds a preset threshold and a response message carrying the same serial number as the control message is not received, sending a first message to the AP, the first message being used for representing a serial number requesting the AP to respond to a finally received control message; and when the AC receives a second message sent by the AP before overtime of a retransmission timer, comparing a serial number carried by the second message with a currently sending serial number of the AC, and in case that the serial number carried by the second message is different from the currently sending serial number of the AC, determining that connection between the AC and the AP is abnormal. The invention also discloses a connection detection apparatus.

Description

technical field [0001] The invention relates to the technical field of communication based on the CAPWAP protocol, in particular to a connection state detection method and device. Background technique [0002] CAPWAP (Control And Provisioning of Wireless Access Points Protocol Specification) is a control and configuration protocol for wireless access points. The existing access controller (AC, Access Controller) and access points (AP, Access Points) are connected through the CAPWAP protocol. [0003] In normal state, the process of AC sending CAPWAP control message to AP is as follows: figure 1 As shown, that is, each time the AC sends a control message, 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 the local updated local serial number in the sent response message. If the AC sends a control message and waits for the retrans...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04W24/08
Inventor 傅嘉嘉
Owner NEW H3C TECH CO LTD