Apparatus and method for calculating transmission control protocol checksum

US9490939B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9490939-B2
Application numberUS-201414508094-A
CountryUS
Kind codeB2
Filing dateOct 7, 2014
Priority dateOct 7, 2013
Publication dateNov 8, 2016
Grant dateNov 8, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed herein is an apparatus and method for calculating a TCP checksum. An apparatus for calculating a TCP checksum includes a data division unit for dividing content to be transmitted into two or more primary data fragments by a unit of a preset byte. A first checksum calculation unit calculates first checksums for the primary data fragments, respectively. A second checksum calculation unit calculates a second checksum for secondary data to be inserted into a data area of the TCP segment using the first checksums. Accordingly, in TCP-based networks, a checksum calculation procedure is improved upon transmitting static content, so that a static content transfer rate occupying most of TCP-based network traffic can be improved.

First claim

Opening claim text (preview).

What is claimed is: 1. An apparatus for calculating a checksum of a Transmission Control Protocol (TCP) segment, comprising: a data division unit for dividing content to be transmitted into two or more primary data fragments by a unit of even-numbered preset byte; a first checksum calculation unit for calculating first checksums for the primary data fragments, respectively; and a second checksum calculation unit for calculating a second checksum for secondary data to be inserted into a data area of the TCP segment using the first checksums. 2. The apparatus of claim 1 , wherein the unit size of the preset bytes is even-numbered bytes. 3. The apparatus of claim 1 , wherein the first checksum calculation unit performs a 16-bit one's complement addition on each of the primary data fragments. 4. The apparatus of claim 3 , wherein the first checksum calculation unit is configured to calculate a first checksum for an i-th primary data fragment by performing a one's complement addition on results of performing the one's complement addition on first to i(i≧1)-th primary data fragments. 5. The apparatus of claim 3 , wherein the first checksum calculation unit is configured to, if the last data fragment is not aligned to 16 bits, pad the last data fragment with 0, and perform the one's complement addition using results of padding. 6. The apparatus of claim 1 , further comprising a first checksum management unit for, if the first checksums have been calculated for the respective primary data fragments, inserting the first checksums into ends of corresponding primary data fragments, respectively. 7. The apparatus of claim 1 , wherein the second checksum calculation unit is configured to, when the secondary data is partial primary data ranging from j(j≧1)-th to k(k≧j)-th primary data fragments, calculate a second checksum by performing a 16-bit one's complement subtraction on a first checksum of the k-th primary data fragment and a first checksum of the (j−1)-th primary data fragment. 8. The apparatus of claim 1 , wherein the first checksum management unit is configured to collect the calculated first checksums, and store the first checksums in a single file. 9. The apparatus of claim 8 , wherein the first checksum management unit is configured to store the first checksums and the primary data fragments in the single file. 10. The apparatus of claim 1 , wherein the first checksum management unit is configured to allocate 2-byte first checksum management areas to respective ends of the primary data fragments if the content to be transmitted is divided into primary data fragments, and manage the first checksums by inserting the first checksums into the corresponding first checksum management areas respectively if the first checksums of the primary data fragments are calculated. 11. A method of calculating a checksum of a Transmission Control Protocol (TCP) segment, comprising: dividing content to be transmitted into two or more primary data fragments by a unit of a preset byte; calculating first checksums for the primary data fragments, respectively; and calculating a second checksum for secondary data to be inserted into a data area of the TCP segment using the first checksums. 12. The method of claim 11 , wherein the unit size of the preset bytes is even-numbered bytes. 13. The method of claim 11 , wherein calculating the first checksums comprises performing a 16-bit one's complement addition on each of the primary data fragments. 14. The method of claim 13 , wherein calculating the first checksums further comprises calculating a first checksum for an i-th primary data fragment by performing a one's complement addition on results of performing the one's complement addition on first to i(i≧1)-th primary data fragments. 15. The method of claim 13 , wherein calculating the first checksums further comprises, if the last data fragments obtained from division are not aligned to 16 bits, aligning the last data fragments to 16 bits by padding the last data fragments with 0. 16. The method of claim 11 , further comprising, if the first checksums have been calculated for the respective primary data fragments, inserting the first checksums into ends of corresponding primary data fragments, respectively. 17. The method of claim 11 , wherein calculating the second checksum comprises, when the secondary data is partial primary data ranging from j(j≧1)-th to k(k≧j)-th primary data fragments, calculating a second checksum by performing a 16-bit one's complement subtraction on a first checksum of the k-th primary data fragment and a first checksum of the (j−1)-th primary data fragment. 18. The method of claim 11 , wherein calculating the first checksums comprises collecting the calculated first checksums, and storing the first checksums in a single file. 19. The method of claim 18 , wherein calculating the first checksums further comprises storing the first checksums and the primary data fragments in the single file. 20. The method of claim 11 , wherein calculating the first checksums further comprises allocating 2-byte first checksum management areas to respective ends of the primary data fragments if the content to be transmitted is divided into primary data fragments, and managing the first checksums by inserting the first checksums into the corresponding first checksum management areas respectively if the first checksums of the primary data fragments are calculated.

Assignees

Inventors

Classifications

  • In-band adaptation of TCP data exchange; In-band control procedures · CPC title

  • IP fragmentation; TCP segmentation · CPC title

  • H04L1/0061Primary

    Error detection codes · CPC title

  • Arrangements at the transmitter end · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9490939B2 cover?
Disclosed herein is an apparatus and method for calculating a TCP checksum. An apparatus for calculating a TCP checksum includes a data division unit for dividing content to be transmitted into two or more primary data fragments by a unit of a preset byte. A first checksum calculation unit calculates first checksums for the primary data fragments, respectively. A second checksum calculation uni…
Who is the assignee on this patent?
Electronics & Telecommunications Res Inst, Electronics & Telecommunications Res Inst
What technology area does this patent fall under?
Primary CPC classification H04L1/0061. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Nov 08 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).