Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for performing data transmission by using UDP protocol

A data transmission method and protocol technology, which is applied in the field of data transmission, can solve the problems of not having the automatic link recovery function of abnormal peers, complex connections, and the inability to realize automatic link recovery from interruptions, etc.

Inactive Publication Date: 2010-04-28
ZHUHAI NETBOX INFORMATION TECH
View PDF1 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is more complicated to establish a connection
[0004] Second, the method for reliable data transmission using the UDP protocol described in Document A does not have the function of automatic link recovery when the peer is abnormal
There are two main cases of link interruption. One is network interruption. This kind of interruption can be regarded as network delay. The method of using UDP protocol for reliable data transmission described in document A can realize the automatic link of such interruption recovery; the second is that one of the two ends of the data transmission is abnormal (such as program abnormal recovery, program restart, program communication module initialization, etc.), this type of interruption requires the reconnection of the two ends of the data transmission, the use described in file A The method of UDP protocol for reliable data transmission cannot realize automatic link recovery of such interruptions

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
  • Method for performing data transmission by using UDP protocol
  • Method for performing data transmission by using UDP protocol
  • Method for performing data transmission by using UDP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see figure 1 , using the UDP protocol to perform a data transmission method capable of automatic link recovery, including the following process:

[0029] (1) The connection handshake process between the sending end and the receiving end, and process S1, the link handshake process adopts the following steps,

[0030] First, the sending end sends the zpc_conn data message to the predetermined UDP port of the receiving end;

[0031] Second, after the receiving end receives the zpc_conn data message from the sending end, it also sends the zpc_conn data message to the sending end; after the sending end receives the zpc_conn data message from the receiving end, the link handshake process is completed.

[0032] (2) The sending end sends the zpc_data command data message to the receiving end. During this process, the zpc_data command data message sent by the sending end is saved in the sending queue, and the sent zpc_data command data message is sent after the receiving end re...

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 invention relates to a method for performing data transmission by using a UDP protocol. The method for performing data transmission with automatic link recovery by using the UDP protocol comprises the following steps that: (1) a connection and handshake process is performed between a transmitting terminal and a receiving terminal; (2) the transmitting terminal transmits a zpc_data command data message to the receiving terminal; (3) after receiving the zpc_data command data message, the receiving terminal transmits a zpc_ack authenticated data message to the transmitting terminal; and (4) the transmitting terminal and the receiving terminal of a packet are disconnected. The connection and handshake process in step (1) comprises the following steps that: firstly, the transmitting terminal transmits a zpc_conn data message to a predetermined UDP port of the receiving terminal; and secondly, after receiving the zpc_conn data message from the transmitting terminal, the receiving terminal also transmits the zpc_conn data message to the transmitting terminal. By the method, the connection between the transmitting terminal and the receiving terminal is faster and simpler, without an upper application program.

Description

technical field [0001] The invention relates to a method for data transmission in computer software and the Internet, in particular to a method for reliable data transmission using UDP protocol. Background technique [0002] With the change of Internet access technology and the continuous emergence of various new Internet applications, the traditional Internet data transmission protocols (TCP protocol and UDP protocol) can no longer fully meet the data transmission requirements of new Internet applications. The traditional TCP protocol and UDP protocol have advantages and disadvantages of each other. The advantage of the UDP protocol is that it is convenient to establish a connection, no need to know the physical address of the other party, and is not affected by Internet firewalls and NAT gateways; the disadvantage is that it is not reliable enough, and datagrams are prone to loss. The advantages and disadvantages of the TCP protocol are just the opposite of those of the U...

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): H04L12/56H04L29/06H04L12/861
Inventor 周华雄汪明珠陈陵徐洪
Owner ZHUHAI NETBOX INFORMATION TECH