# US 2017/0289872 A1 · Apparatus, system, and method for preventing tcp connection interruption

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

- Number: US 2017/0289872 A1
- Document ID: US20170289872A1
- Status: Published application
- Kind: A1
- Application number: 15/625,404
- Filed: 2017-06-16
- Published: 2017-10-05
- Earliest claimed: 2014-12-19
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chunshan Xiong; Anni Wei
- Web page: https://patentgrep.com/patent/US20170289872A1

## CPC

- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04W 36/0011: {for data sessions of end-to-end connection}
- H04W 36/0235: {by transmitting sequence numbers, e.g. SN status transfer}
- H04W 80/06: Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless {(transmission control protocol/Internet protocol [TCP/IP] or user datagram protocol [UDP] H04L69/16)}
- 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

The present invention provides an apparatus, a system, and a method for preventing TCP connection interruption. The apparatus determines that user equipment UE needs cell handover; and the apparatus sends a first instruction message to a server, where the first instruction message is used to instruct the server to stop sending downlink data to the proxy device, and sends cached downlink data to the UE. Therefore, the following problem is avoided: After UE is disconnected from a source cell and is connected to a new cell, because the UE does not receive partial downlink data cached by a TCP proxy or because partial cached data is lost, the UE initiates retransmission to a server, but the server does not retransmit an acknowledged packet according to a TCP protocol, causing TCP connection interruption and service interruption.

## Claims

### Claim 1

An apparatus for preventing TCP connection interruption, the apparatus comprising:
a processor, configured to determine that user equipment (UE) needs cell handover; and
a transceiver, configured to:
send a first instruction message to a server, wherein the first instruction message is used to instruct the server to stop sending downlink data to the proxy device, and
send cached downlink data to the UE.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the transceiver is configured to:
if it is acknowledged that all the cached downlink data is sent, instruct the server to continue sending downlink data.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the transceiver is configured to:
receive a first acknowledgment message sent by the UE, wherein the first acknowledgment message is used to indicate that the last packet in the cached downlink data is successfully received by the UE; and
send a second acknowledgment message to the server, wherein the second acknowledgment message is used to instruct the server to continue sending the downlink data to the transceiver.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the transceiver is configured to:
send a second instruction message to the UE, wherein the second instruction message is used to instruct the UE to stop sending uplink data to the proxy device; and
send cached uplink data to the server.

### Claim 5 (depends on 4)

The apparatus according to claim 4, wherein the transceiver is configured to:
if it is acknowledged that all the cached uplink data is sent, instruct the UE to continue sending the uplink data.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the transceiver is configured to:
receive a third acknowledgment message sent by the server, wherein the third acknowledgment message is used to indicate that the last packet in the cached uplink data is successfully received by the server; and
send a fourth acknowledgment message to the UE, wherein the fourth acknowledgment message is used to instruct the UE to continue sending the uplink data to the transceiver.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to:
if it is detected that channel fading between the UE and a wireless access device in a source cell reaches a threshold range, determine that the UE needs cell handover.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to:
after the transceiver sends the cached downlink data to the UE, or after the transceiver sends the cached uplink data to the server, if channel fading between the UE and the wireless access device in the source cell falls within a threshold range, stop providing a proxy service for the UE.

### Claim 9

An apparatus for preventing TCP connection interruption, the apparatus comprising:
a processor, configured to determine that user equipment (UE) needs cell handover; and
a transceiver, configured to:
send a second instruction message to the UE, wherein the second instruction message is used to instruct the UE to stop sending uplink data to the proxy device, and
send cached uplink data to a server.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the transceiver is configured to:
if it is acknowledged that all the cached uplink data is sent, instruct the UE to continue sending the uplink data.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the transceiver is configured to:
receive a third acknowledgment message sent by the server, wherein the third acknowledgment message is used to indicate that the last packet in the cached uplink data is successfully received by the server; and
send a fourth acknowledgment message to the UE, wherein the fourth acknowledgment message is used to instruct the UE to continue sending the uplink data to the transceiver.

### Claim 12 (depends on 9)

The apparatus according to claim 9, wherein the processor is configured to:
if it is detected that channel fading between the UE and a wireless access device in a source cell reaches a threshold range, determine that the UE needs cell handover.

### Claim 13 (depends on 9)

The apparatus according to claim 9, wherein the processor is configured to:
after the transceiver sends the cached uplink data to the server, if channel fading between the UE and the wireless access device in the source cell still falls within the threshold range, the proxy device stop providing a proxy service for the UE.

### Claim 14

A method for preventing TCP connection interruption, the method comprising:
determining, by a proxy device, that user equipment (UE) needs cell handover;
sending, by the proxy device, a first instruction message to a server, wherein the first instruction message is used to instruct the server to stop sending downlink data to the proxy device; and
sending, by the proxy device, cached downlink data to the UE.

### Claim 15 (depends on 14)

The method according to claim 14, comprising:
if the proxy device acknowledges that all the cached downlink data is sent, instructing, by the proxy device, the server to continue sending the downlink data.

### Claim 16 (depends on 15)

The method according to claim 15, wherein instructing, by the proxy device, the server to continue sending the downlink data comprises:
receiving, by the proxy device, a first acknowledgment message sent by the UE, wherein the first acknowledgment message is used to indicate that the last packet in the cached downlink data is successfully received by the UE; and
sending, by the proxy device, a second acknowledgment message to the server, wherein the second acknowledgment message is used to instruct the server to continue sending the downlink data to the proxy device.

### Claim 17 (depends on 14)

The method according to claim 14, comprising:
sending, by the proxy device, a second instruction message to the UE, wherein the second instruction message is used to instruct the UE to stop sending uplink data to the proxy device; and
sending, by the proxy device, cached uplink data to the server.

### Claim 18 (depends on 17)

The method according to claim 17, comprising:
if the proxy device acknowledges that all the cached uplink data is sent, instructing, by the proxy device, the UE to continue sending the uplink data.

### Claim 19 (depends on 18)

The method according to claim 18, wherein instructing, by the proxy device, the UE to continue sending the uplink data comprises:
receiving, by the proxy device, a third acknowledgment message sent by the server, wherein the third acknowledgment message is used to indicate that the last packet in the cached uplink data is successfully received by the server; and
sending, by the proxy device, a fourth acknowledgment message to the UE, wherein the fourth acknowledgment message is used to instruct the UE to continue sending the uplink data to the proxy device.

### Claim 20 (depends on 14)

The method according to claim 14, wherein determining, by a proxy device, that user equipment (UE) needs cell handover comprises:
if the proxy device detects that channel fading between the UE and a wireless access device in a source cell reaches a threshold range, determining, by the proxy device, that the UE needs cell handover.
