# US 2015/0146544 A1 · Detection method and device for link keep-alive between AC and AP

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0146544 A1
- Document ID: US20150146544A1
- Status: Published application
- Kind: A1
- Application number: 14/404,896
- Filed: 2012-06-28
- Published: 2015-05-28
- Earliest claimed: 2012-05-31
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Yang Liu; Yanguang Chi
- Web page: https://patentgrep.com/patent/US20150146544A1

## CPC

- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 1/08: by repeating transmission, e.g. Verdan system {(H04L1/1858 and H04L1/189 take precedence)}
- H04L 1/188: {Time-out mechanisms}
- H04L 43/0811: by checking connectivity
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Provided are a detection method and device for link keep-alive between an Access Controller (AC) and an Access Point (AP). The method includes: setting a maximum permissible heartbeat keep-alive failure number; and performing link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of a heartbeat message or message retransmission. By the solution, a maximum permissible heartbeat keep-alive failure number is set, and a maximum retransmission interval is set for link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number and a heartbeat keep-alive period, so that the problem that the AP frequently gets offline and frequently re-accesses the AC due to link quality reduction to seriously impact user experiences can be effectively solved.

## Claims

### Claim 1

A detection method for link keep-alive between an Access Controller (AC) and an Access Point (AP), comprising
setting a maximum permissible heartbeat keep-alive failure number; and
performing link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of a heartbeat message or message retransmission.

### Claim 2 (depends on 1)

The method according to claim 1, wherein performing link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of the heartbeat message comprises:
setting a heartbeat keep-alive period;
detecting whether the AC receives the heartbeat message transmitted by the AP or not within the heartbeat keep-alive period;
if the AC receives the heartbeat message transmitted by the AP within the heartbeat keep-alive period, clearing a heartbeat keep-alive failure number, restarting heartbeat keep-alive detection of a new round, otherwise adding 1 to the heartbeat keep-alive failure number;
when the heartbeat keep-alive failure number reaches the maximum permissible heartbeat keep-alive failure number, determining that heartbeat keep-alive fails and the AP is offline; and
when the heartbeat keep-alive failure number does not reach the maximum permissible heartbeat keep-alive failure number, continuing performing heartbeat keep-alive detection within the maximum permissible heartbeat keep-alive failure number.

### Claim 3 (depends on 1)

The method according to claim 1, wherein performing link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of message retransmission comprises:
setting a heartbeat keep-alive period;
transmitting, by the AC, a first request message to the AP, and setting an initial retransmission timer;
judging whether the AC receives a first response message returned by the AP or not within a time length of the retransmission timer, and if the AC receives the first response message returned by the AP within the time length of the retransmission timer, determining that heartbeat keep-alive is normal; otherwise
doubling the time length of the retransmission timer, judging whether the doubled time length is greater than a maximum retransmission interval or not, wherein the maximum retransmission interval=(the heartbeat keep-alive period*the maximum permissible heartbeat keep-alive failure number)/2; if the doubled time length is greater than the maximum retransmission interval, determining that heartbeat keep-alive fails and the AP is offline; otherwise resetting, by the AC, the retransmission timer and retransmitting the first request message to the AP, and returning to the step of judging whether the AC receives the first response message returned by the AP or not within the time length of the retransmission timer.

### Claim 4 (depends on 1)

The method according to claim 1, wherein performing link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of the heartbeat message comprises:
setting a heartbeat keep-alive period;
transmitting, by the AP, a second request message to the AC, and setting an initial retransmission timer;
judging whether the AP receives a second response message returned by the AC or not within the time length of the retransmission timer, and if the AP receives the second response message returned by the AC within the time length of the retransmission timer, determining that heartbeat keep-alive is normal; otherwise
doubling the time length of the retransmission timer, judging whether the doubled time length is greater than the maximum retransmission interval or not, wherein the maximum retransmission interval=(the heartbeat keep-alive period*the maximum permissible heartbeat keep-alive failure number)/2; if the doubled time length is greater than the maximum retransmission interval, determining that heartbeat keep-alive fails and the AC is offline; otherwise resetting, by the AP, the retransmission timer and retransmitting the second request message to the AC, and returning to the step of judging whether the AP receives the second response message returned by the AC or not within the time length of the retransmission timer.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.

### Claim 6

A detection device for link keep-alive between an Access Controller (AC) and an Access Point (AP), comprising:
a setting module, configured to set a maximum permissible heartbeat keep-alive failure number; and
a detection module, configured to perform link keep-alive detection between the AC and the AP based on the maximum permissible heartbeat keep-alive failure number by virtue of a heartbeat message or message retransmission.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the detection module is further configured to set a heartbeat keep-alive period; detect whether the AC receives the heartbeat message transmitted by the AP or not within the heartbeat keep-alive period; if the AC receives the heartbeat message transmitted by the AP within the heartbeat keep-alive period, clear a heartbeat keep-alive failure number and restart heartbeat keep-alive detection of a new round; otherwise add 1 to the heartbeat keep-alive failure number; when the heartbeat keep-alive failure number reaches the maximum permissible heartbeat keep-alive failure number, determine that heartbeat keep-alive fails and the AP is offline; and when the heartbeat keep-alive failure number does not reach the maximum permissible heartbeat keep-alive failure number, continue performing heartbeat keep-alive detection within the maximum permissible heartbeat keep-alive failure number.

### Claim 8 (depends on 6)

The device according to claim 6, wherein the detection module is further configured to set the heartbeat keep-alive period; transmit a first request message to the AP by the AC, and set an initial retransmission timer; judge whether the AC receives a first response message returned by the AP or not within a time length of the retransmission timer; if the AC receives the first response message returned by the AP within the time length of the retransmission timer, determine that heartbeat keep-alive is normal; otherwise double the time length of the retransmission timer and judge whether the doubled time length is greater than a maximum retransmission interval or not, wherein the maximum retransmission interval=(the heartbeat keep-alive period*the maximum permissible heartbeat keep-alive failure number)/2; if the doubled time length is greater than the maximum retransmission interval, determine that heartbeat keep-alive fails and the AP is offline; otherwise reset the retransmission timer and retransmit the first request message to the AP by the AC, and return to judge whether the AC receives the first response message returned by the AP or not within the time length of the retransmission timer.

### Claim 9 (depends on 6)

The device according to claim 6, wherein the detection module is further configured to set the heartbeat keep-alive period; transmit a second request message to the AC by the AP, and set the initial retransmission timer; judge whether the AP receives a second response message returned by the AC or not within the time length of the retransmission timer; if the AP receives the second response message returned by the AC within the time length of the retransmission timer, determine that heartbeat keep-alive is normal; otherwise double the time length of the retransmission timer and judge whether the doubled time length is greater than the maximum retransmission interval or not, wherein the maximum retransmission interval=(the heartbeat keep-alive period*the maximum permissible heartbeat keep-alive failure number)/2; if the doubled time length is greater than the maximum retransmission interval, determine that heartbeat keep-alive fails and the AC is offline; otherwise reset the retransmission timer and retransmit the second request message to the AC by the AP, and return to judge whether the AP receives the second response message returned by the AC or not within the time length of the retransmission timer.

### Claim 10 (depends on 7)

The device according to claim 7, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.

### Claim 11 (depends on 3)

The method according to claim 3, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.

### Claim 12 (depends on 4)

The method according to claim 4, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.

### Claim 13 (depends on 8)

The device according to claim 8, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the heartbeat keep-alive period is 30 to 80 seconds; and the maximum permissible heartbeat keep-alive failure number is 3 to 5.
