A data transmission method and device
A data transmission method and transmission control protocol technology, applied in the field of communication, can solve problems such as the reduction of CPU resource utilization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0085] Embodiments of the present invention provide a data transmission method, such as image 3 shown, including:
[0086] 101. The TOE receives a first TCP packet transmitted on a first TCP connection.
[0087] 102. The TOE searches the locally stored connection information table for the identifier and first address information of the first CPU corresponding to the first TCP connection, where the connection information table includes a correspondence between the first TCP connection and the identifier of the first CPU, And the corresponding relationship between the first TCP connection and the first address information.
[0088] 103. The TOE stores the data in the first TCP packet in a storage location indicated by the first address information.
[0089] 104. The TOE initiates a first interrupt request to the first CPU according to the identifier of the first CPU, and triggers the first CPU to obtain the data in the first TCP packet from the memory according to the first a...
Embodiment 2
[0118] Embodiments of the present invention provide a data transmission method, such as Figure 5 shown, including:
[0119] 301. The TOE acquires configuration information for establishing a first TCP connection from a sender.
[0120] 302. If the first CID obtained according to the configuration information is not stored in the TOE, the TOE sends a second interrupt request to the control device.
[0121]303. After receiving the second interrupt request, the control device determines a CPU from the N CPUs as the first CPU, and the first CPU is used to process data transmitted over the first TCP connection.
[0122] 304. The control device sends instruction information to the first CPU, where the instruction information is used to instruct the first CPU to process data transmitted on the first TCP connection.
[0123] 305. The first CPU determines first address information according to the indication information, where the first address information is used to indicate a stor...
Embodiment 3
[0147] attached Figure 7 What is shown is the hardware schematic diagram of TOE01 provided by the present invention.
[0148] Wherein, the TOE01 includes a control module 01, a TOE receiving end 100 connected to the control module 01, and a TOE sending end 200, wherein the TOE receiving end 100 specifically includes a header parsing module 02, a first DMA controller 03, a first processing The engine 04 and the first cache 05 , the TOE sender 200 specifically includes an encapsulation module 06 , a second DMA controller 07 , a second processing engine 08 and a second cache 09 .
[0149] The control module 01 is the control center of the TOE01, and the control module 01 executes various functions of the control module 01 by processing the instructions and data received by the TOE receiving end 100 or the TOE sending end 200. Wherein, the corresponding relationship between the first TCP connection and the identification of the first CPU, and the corresponding relationship betwe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


