Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method to ensure the integrity and correctness of tcp communication data

A technology for communicating data and data, applied in the field of TCP communication, can solve the problem of not being able to guarantee that the content has not been tampered with, and achieve the effect of solving the phenomenon of sticking packets, improving the scope of use, and enhancing robustness and security.

Active Publication Date: 2016-11-23
CHENGDU FORWARD TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of using the TCP protocol to transmit data, the TCP protocol can only guarantee the correctness of the data, but cannot guarantee that the transmitted content has not been tampered with. Especially for industrial and important data applications, once the data is tampered with, it may cause major problems. These are the defectives that existing technology exists

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method to ensure the integrity and correctness of tcp communication data
  • A method to ensure the integrity and correctness of tcp communication data
  • A method to ensure the integrity and correctness of tcp communication data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to describe the technical content, structural features, goals and effects of the present invention in detail, the following examples are given and described in detail with accompanying drawings.

[0032] see figure 1 , figure 2 and image 3 , a method for ensuring the integrity and correctness of TCP communication data in the present invention, comprising:

[0033] Step 1: Define the TCP packet transmission format according to the actual situation. The TCP data packet is composed of packet header + data length + packet sequence number + data + data verification code + packet tail in sequence;

[0034] Step 2: The client or server encapsulates the data to be sent into a complete data packet according to the method of step 1;

[0035] Step 3: After receiving the data, the client or server performs data integrity and correctness verification according to the encapsulation format, and returns the current packet serial number to the sender.

[0036] Further, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention is a method for ensuring the integrity and correctness of TCP communication data, comprising: step 1: defining the TCP packet transmission format according to the actual situation, and the TCP data packet is composed of packet header+data length+packet sequence number+data+data check code+packet tail sequence The order is formed sequentially; Step 2: The client or server encapsulates the data to be sent into a complete data packet according to the method of Step 1; Step 3: After receiving the data, the client or server performs data integrity and correctness verification according to the encapsulation format , and return the current packet sequence number to the sender.

Description

technical field [0001] The invention relates to the field of TCP communication, in particular to a method capable of ensuring the integrity and correctness of TCP communication data. Background technique [0002] When the data is frequently exchanged between the client and the server using the TCP protocol transmission, since the TCP protocol itself is a stream protocol, it means that the data is transmitted to the receiver in the form of a byte stream, without inherent The concept of "message" or "message boundary". In receiving, you can know how much to read in total, but you don't know how much to read at a specific time. Therefore, multiple packets will be connected together, resulting in incomplete packets. From the perspective of the sending buffer, several packets of data sent by the sender are glued into one packet when received by the receiver. From the perspective of the receiving buffer, the header of the last packet of data is tight. Then the tail of the previo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L1/00H04L29/08H04L29/06
Inventor 肖磊王小康苗强
Owner CHENGDU FORWARD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products