IP Library Granted Patent US 12,126,702
Granted Patent B2
US 12,126,702 · App. 17/629,983 · Granted Oct 22, 2024

Data processing method and apparatus, and terminal

Inventors: Hui Jin (Beijing, CN); Chaofeng Lian (Shenzhen, CN); Yun Liu (Shenzhen, CN); Fenghui Dou (Beijing, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L69/161H04L69/163H04W28/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,126,702
App. No.
17/629,983
Granted
Oct 22, 2024
Kind
B2
Abstract

An application processor sends a TCP packet to the modem, where the TCP packet is used by the modem to generate a wireless protocol data packet corresponding to the TCP packet, so that the modem sends the wireless protocol data packet to a base station. The application processor receives first status information from the modem, where the first status information is status information of the wireless protocol data packet or status information of the TCP packet. The application processor determines, based on the first status information, whether the TCP packet is successfully sent to the base station. If the TCP packet is successfully sent to the base station, the application processor starts a retransmission timer corresponding to the TCP packet. If the TCP packet is not successfully sent to the base station, the application processor sends the TCP packet to the modem again.

Claims (59)

1. A method, comprising:

sending, by an application processor of a terminal, a transmission control protocol (TCP) packet to a modem of the terminal, wherein the TCP packet is used by the modem to generate a wireless protocol data packet corresponding to the TCP packet, and the modem sends the wireless protocol data packet to a base station, and wherein the application processor implements a TCP module and an IP module, and sending, by the application processor, the TCP packet to the modem comprises:

receiving, by the IP module, an identifier of the TCP packet from the TCP module, and establishing a first correspondence between the identifier of the TCP packet and an identifier of an IP data packet corresponding to the TCP packet; and

sending, by the IP module, the IP data packet to the modem, wherein the modem obtains the identifier of the IP data packet from the IP data packet, and establishes a second correspondence between the identifier of the IP data packet and an identifier of the wireless protocol data packet, wherein the first correspondence and the second correspondence indicate a correspondence between the TCP packet and the wireless protocol data packet;

receiving, by the application processor, first status information from the modem, wherein the first status information is status information of the wireless protocol data packet or status information of the TCP packet;

determining, by the application processor based on the first status information, whether the TCP packet is successfully sent to the base station; and

performing the following:

in response to determining that the TCP packet is successfully sent to the base station, starting, by the application processor, a retransmission timer corresponding to the TCP packet; or

in response to determining that the TCP packet is not successfully sent to the base station, sending, by the application processor, the TCP packet to the modem again.

2. The method according to claim 1 , wherein the status information of the TCP packet comprises first characteristic information; and

wherein determining, by the application processor based on the first status information, whether the TCP packet is successfully sent to the base station comprises:

determining, by the application processor based on the first characteristic information, a TCP packet corresponding to the first status information.

3. The method according to claim 2 , further comprising:

sending, by the IP module, the first correspondence to the TCP module, wherein the first correspondence is used by the TCP module to determine, based on the first characteristic information, the TCP packet corresponding to the first status information, and the first characteristic information is the identifier of the IP data packet that is determined by the modem based on the second correspondence and the identifier of the wireless protocol data packet.

4. The method according to claim 2 , further comprising:

receiving, by the IP module, the second correspondence from the modem;

establishing, by the IP module, a third correspondence between the identifier of the TCP packet and the identifier of the wireless protocol data packet based on the first correspondence and the second correspondence; and

sending, by the IP module, the third correspondence to the TCP module, wherein the third correspondence is used by the TCP module to determine, based on the first characteristic information, the TCP packet corresponding to the first status information, and the first characteristic information is the identifier of the wireless protocol data packet.

5. The method according to claim 1 , wherein that the TCP packet is not successfully sent to the base station comprises that:

the wireless protocol data packet has been transmitted by the modem through an air interface, and when a discard timer corresponding to the wireless protocol data packet expires, the modem has not received an ACK corresponding to the wireless protocol data packet from the base station; or

when a discard timer corresponding to the wireless protocol data packet expires, the wireless protocol data packet is still not transmitted by the modem through an air interface.

6. The method according to claim 5 , wherein the modem implements a packet data convergence protocol (PDCP) module, the PDCP module comprises a priority send queue and a normal send queue, and a sending priority of a PDCP data packet in the priority send queue is higher than that of a PDCP data packet in the normal send queue; and

wherein sending, by the application processor, the TCP packet to the modem again comprises:

sending, by the application processor, a to-be-retransmitted packet and a retransmission indication of the TCP packet to the modem, wherein the retransmission indication is used by the modem to add a PDCP data packet corresponding to the to-be-retransmitted packet to the priority send queue.

7. The method according to claim 1 , wherein receiving, by the application processor, the first status information from the modem comprises:

receiving, by the application processor, the first status information from a wireless protocol module in the modem, wherein the wireless protocol module is one or any combination of the following:

a PDCP module, a radio link control (RLC) module, or a media access control (MAC) module.

8. A apparatus, comprising:

an application processor and a modem;

wherein the application processor is configured to:

send a transmission control protocol (TCP) packet to the modem, wherein the TCP packet is used by the modem to generate a wireless protocol data packet corresponding to the TCP packet, and the modem sends the wireless protocol data packet to a base station, wherein the application processor implements a TCP module and an IP module, and wherein the IP module is configured to:

receive an identifier of the TCP packet from the TCP module, and establish a first correspondence between the identifier of the TCP packet and an identifier of an IP data packet corresponding to the TCP packet; and

send the IP data packet to the modem, causing the modem to obtain the identifier of the IP data packet from the IP data packet, and to establish a second correspondence between the identifier of the IP data packet and an identifier of the wireless protocol data packet, wherein the first correspondence and the second correspondence indicate a correspondence between the TCP packet and the wireless protocol data packet;

receive first status information from the modem, wherein the first status information is status information of the wireless protocol data packet or status information of the TCP packet;

determine, based on the first status information, whether the TCP packet is successfully sent to the base station; and

perform the following:

in response to determining the TCP packet is successfully sent to the base station, start a retransmission timer corresponding to the TCP packet; or

in response to determining the TCP packet is not successfully sent to the base station, send the TCP packet to the modem again.

9. The apparatus according to claim 8 , wherein the status information of the TCP packet comprises first characteristic information; and

wherein the application processor is further configured to determine, based on the first characteristic information, a TCP packet corresponding to the first status information.

10. The apparatus according to claim 9 , wherein the IP module is further configured to send the first correspondence to the TCP module, and wherein the first correspondence is used by the TCP module to determine, based on the first characteristic information, the TCP packet corresponding to the first status information, and the first characteristic information is the identifier of the IP data packet that is determined by the modem based on the second correspondence and the identifier of the wireless protocol data packet.

11. The apparatus according to claim 9 , wherein the IP module is further configured to:

receive the second correspondence from the modem;

establish a third correspondence between the identifier of the TCP packet and the identifier of the wireless protocol data packet based on the first correspondence and the second correspondence; and

send the third correspondence to the TCP module, wherein the third correspondence is used by the TCP module to determine, based on the first characteristic information, the TCP packet corresponding to the first status information, and the first characteristic information is the identifier of the wireless protocol data packet.

12. The apparatus according to claim 8 , wherein that the TCP packet is not successfully sent to the base station comprises:

the wireless protocol data packet has been transmitted by the modem through an air interface, and when a discard timer corresponding to the wireless protocol data packet expires, the modem has not received an ACK corresponding to the wireless protocol data packet from the base station; or

when a discard timer corresponding to the wireless protocol data packet expires, the wireless protocol data packet is still not transmitted by the modem through an air interface.

13. The apparatus according to claim 8 , wherein the modem implements a packet data convergence protocol (PDCP) module, the PDCP module comprises a priority send queue and a normal send queue, and a sending priority of a PDCP data packet in the priority send queue is higher than that of a PDCP data packet in the normal send queue; and

wherein the application processor is configured to send a to-be-retransmitted packet and a retransmission indication of the TCP packet to the modem, wherein the retransmission indication is used by the modem to add a PDCP data packet corresponding to the to-be-retransmitted packet to the priority send queue.

14. A non-transitory computer storage medium, wherein the non-transitory computer storage medium comprises computer instructions, and when the computer instructions are run on a terminal, the terminal is caused to:

send, by an application processor of the terminal, a transmission control protocol (TCP) packet to a modem of the terminal, wherein the TCP packet is used by the modem of the terminal to generate a wireless protocol data packet corresponding to the TCP packet, and the modem sends the wireless protocol data packet to a base station, and wherein the application processor implements a TCP module and an IP module, and sending, by the application processor of the terminal, the TCP packet to the modem comprises:

receiving, by the IP module, an identifier of the TCP packet from the TCP module, and establishing a first correspondence between the identifier of the TCP packet and an identifier of an IP data packet corresponding to the TCP packet; and

sending, by the IP module, the IP data packet to the modem, wherein the modem obtains the identifier of the IP data packet from the IP data packet, and establishes a second correspondence between the identifier of the IP data packet and an identifier of the wireless protocol data packet, wherein the first correspondence and the second correspondence indicate a correspondence between the TCP packet and the wireless protocol data packet;

receive, by the application processor, first status information from the modem, wherein the first status information is status information of the wireless protocol data packet or status information of the TCP packet;

determine, by the application processor based on the first status information, whether the TCP packet is successfully sent to the base station; and

perform the following:

in response to determining the TCP packet is successfully sent to the base station, starting, by the application processor, a retransmission timer corresponding to the TCP packet; or

in response to determining the TCP packet is not successfully sent to the base station, sending, by the application processor, the TCP packet to the modem again.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 13, 2024
From: JIN, HUI; LIAN, CHAOFENG; LIU, YUN; DOU, FENGHUI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 067393/0767 →
Priority Claims (1)
CN 201910683880.X · Jul 26, 2019 · national
Continuity (1)
Related Publication 20220263927A1 · Aug 18, 2022