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

Reliable data transmission method and device thereof

A transmission method and data technology, applied in the field of network communication, can solve the problem that the UDP protocol cannot transmit data reliably, and achieve the effects of less system overhead, improved data transmission efficiency, and high data transmission efficiency.

Active Publication Date: 2011-07-27
厦门市美亚柏科信息安全研究所有限公司
View PDF1 Cites 68 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a reliable data transmission method, which can solve the problem that the existing UDP protocol cannot reliably transmit data on the basis of ensuring efficient data transmission

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
  • Reliable data transmission method and device thereof
  • Reliable data transmission method and device thereof
  • Reliable data transmission method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] refer to figure 1 , which shows the flow of the first embodiment of the reliable data transmission method of the present invention, which specifically includes the following steps:

[0032] Step S101: the data sending end splits the file to be sent into data packets with serial numbers;

[0033] After the data receiver receives all the data packets, it can reassemble the data file according to the sequence number of each data packet.

[0034] Step S102: Encapsulate the above-mentioned data packet with the serial number into a data packet to be sent according to the preset buffer data packet format, and add it to the sending buffer;

[0035] In the preset buffer data packet format, at least the sequence number (Sq_no) and the data to be transmitted (data) should be included. If the length of the data to be transmitted is not fixed, the data length (len) should also be included; in addition, for convenience Judging and recording the retransmission situation of the data ...

Embodiment 2

[0047] In this preferred embodiment, the communication parties are the data sending end and the data receiving end. While sending data, they can also receive data from the other party. Both communication parties use a common protocol header. The format of the protocol header is shown in Table 1. :

[0048] Table 1, the format of the protocol header

[0049] Begin_tag

cmd

Sq_no

Ack_seq

datalen

data

[0050] Among them, Begin_tag is the packet identifier, and only the packet with this identifier is considered as the packet to be processed; Cmd is the command word of the upper layer protocol; Sq_no is the sequence number of this packet; Ack_seq is the sequence number of the reply data packet at the peer end when replying to this packet; datalen is the length of data to be transmitted in this packet; data is the data to be transmitted in this packet.

[0051] Each data terminal is equipped with a sending buffer and a receiving buffer. For the ...

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 provides a reliable data transmission method and a device thereof. The method comprises the following steps: a data transmitting end divides a file to be transmitted into a data packets with serial numbers; according to a preset buffer data packet format, the data packets are packaged into data packets to be transmitted, and then are added to a transmission buffer area: the data packets to be transmitted in the transmission buffer area are transmitted in sequence; the data packets confirmed at a data receiving end in the transmission buffer area are deleted; whether the stoppingtime of the data packets in the transmission buffer area is over a preset time threshold or not is judged, and if so, the data packets are reset to be the data packets to be transmitted; and the transmission process is repeated. In the scheme of the invention, as only the data format and the transmission process at the transmitting end and the receiving of the data packets are controlled, no special data packets are needed to be transmitted between the transmitting end and the receiving end to carry out handshake connection operation, and under the condition that the system expense is less and the data transmission efficiency is high, the problem that the existing UDP (User Datagram Protocol) can not reliably transmit the data can be solved.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a reliable data transmission method and device. Background technique [0002] Transmission Control Protocol (TCP, Transmission Control Protocol) and User Datagram Protocol (UDP, User Datagram Protocol) are currently commonly used communication protocols for network data transmission. The TCP protocol is a connection-oriented, reliable, and byte-stream-based transport layer communication protocol. When the data is successfully sent to the target machine, TCP will request to send an acknowledgment to ensure the reliable transmission of the data; the working principle of the TCP protocol It is to establish a virtual connection between hosts that need to exchange data to achieve high-reliability data packet exchange. The UDP protocol is a connectionless transport layer protocol that provides simple and unreliable information transmission services for operations. UDP is...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L29/06H04L1/16H04L12/861
Inventor 王超吴鸿伟
Owner 厦门市美亚柏科信息安全研究所有限公司
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