Data transmission method and system based on UDP protocol
A data transmission method and a technology of a data transmission system, which are applied in the field of communication, can solve problems such as the inability of data transmission protocols to meet data transmission, and achieve the effect of guaranteed performance, high performance, and high-efficiency data transmission
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] The first embodiment of the present invention proposes a data transmission method based on the UDP protocol, and the process is as follows figure 1 shown, including:
[0081] Step 101, the sending end establishes a connection with the receiving end;
[0082] Step 102: Establish a sliding window model, and set an identification bit for each data packet, and the identification bits are consecutively numbered; the sending end and the receiving end perform message sending and receiving synchronization and flow control through the sliding window.
[0083] Based on the standard UDP protocol, the embodiment of the present invention improves the reliability of UDP on the premise of ensuring efficient data transmission.
Embodiment 2
[0085] The second embodiment of the present invention proposes a data transmission method based on the UDP protocol, which is improved on the basis of the foregoing first embodiment. The process is as follows figure 2 shown, including:
[0086] Step 201: The sender establishes a connection with the receiver. This process can be implemented by three-way handshake, that is, the process can be as follows image 3 As shown, step 201 may be specifically:
[0087] Step 2011 , the sending end sends a SYN(X) flag to the receiving end, where X in the SYN (Synchronize Sequence Numbers, synchronization sequence number) flag is used to prompt the connection check sequence number.
[0088] Step 2012: After receiving the SYN flag, the receiving end returns ACK (X+1), and X+1 in the ACK response flag (Acknowledgement Number, confirmation number) is the next expected sequence number. The ACK response flag also indicates that the sender has successfully received all data; at the same time,...
Embodiment 3
[0116] The third embodiment of the present invention proposes a data transmission system based on the UDP protocol, the structure of which is as follows figure 1 shown, including:
[0117] The connection module 1 is used to establish a connection between the sending end and the receiving end;
[0118] The data transmission module 2 is used to establish a sliding window model, and set an identification bit for each data packet, and the identification bits are consecutively numbered; the sending end and the receiving end perform message sending and receiving synchronization and flow control through the sliding window.
[0119] Based on the standard UDP protocol, the embodiment of the present invention improves the reliability of UDP on the premise of ensuring efficient data transmission.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 