The invention relates to a high bandwidth and high reliability of data transmission method, including the OSI (Open Systems Interconnection) hierarchical network transmission model, the OSI model of network transmission layer from top to bottom in turn into application layer, presentation layer, session layer, transport layer, network layer, data link layer and physical layer and its characteristics is that UDP and TCP packets in the transport layer, IP on network layer (network interconnection between the co) message, let MAC in the data link layer (hardware address) frame, the UDP package using standard protocols on UDP encapsulation layer user protocol layer, in this layer data the retransmission mechanism, to ensure that the receiver reliable data, the verification process of retransmission mechanism does not use TCP, use according to the mechanism to send, found the wrong re pass. The invention has the advantages of high data reliability and high transmission efficiency, and is suitable for a scene with high requirement for bandwidth and high requirement for data reliability.
【技术实现步骤摘要】
一种数据高带宽高可靠性传输方法
本专利技术涉及计算机
,具体的说是一种数据高带宽高可靠性传输方法。
技术介绍
传统的数据传输中主要由采用以下两种协议:UDP(UserDatagramProtocol,用户数据报协议):是一个简单的面向数据报的运输层协议。UDP不提供可靠性,它只是把应用程序传给IP层的数据报发送出去,但是并不能保证它们能到达目的地。由于UDP在传输数据报前不用在客户和服务器之间建立一个连接,且没有超时重发等机制,故而传输速度很快,但是存在以下不足:不可靠,数据发送端不保证接收端能完整接收数据,适用于对数据可靠性要求不高,但是带宽要求高的场景,比如远程视频会议等。TCP(TransmissionControlProtocol,传输控制协议):提供的是面向连接、可靠的字节流服务。当客户和服务器彼此交换数据前,必须先在双方之间建立一个TCP连接,之后才能传输数据。TCP提供超时重发,丢弃重复数据,检验数据,流量控制等功能,保证数据能从一端传到另一端。虽然可靠,但是数据发送前需要收发两端建立连接,每个TCP包都需要接收端确认,存在效率低的不足。适用于 ...
【技术保护点】
一种数据高带宽高可靠性传输方法,包括 OSI网络传输模型分层,所述OSI网络传输模型分层由上到下依次为应用层、表示层、会话层、传输层、网络层、数据链路层、物理层,其特征在于,在传输层设UDP包和TCP包,在网络层设IP报文,在数据链路层设MAC帧,所述UDP包使用标准协议,在UDP之上再封装一层用户协议层,在这一层上做数据重传机制,确保接收端数据可靠,重传机制不使用类TCP的确认流程,使用按需发送的机制,即发现错了再重传,其中:每一个MAC帧都带着MAC头,MAC头之后是IP数据报头,第一个IP分片的IP头之后是UDP头,UDP头之后是UDP的净荷,定义一层用户层,将用户层 ...
【技术特征摘要】
1.一种数据高带宽高可靠性传输方法,包括OSI网络传输模型分层,所述OSI网络传输模型分层由上到下依次为应用层、表示层、会话层、传输层、网络层、数据链路层、物理层,其特征在于,在传输层设UDP包和TCP包,在网络层设IP报文,在数据链路层设MAC帧,所述UDP包使用标准协议,在UDP之上再封装一层用户协议层,在这一层上做数据重传机制,确保接收端数据可靠,重传机制不使用类TCP的确认流程,使用按需发送的机制,即发现错了再重传,其中:每一个MAC帧都带着MAC头,MAC头之后是IP数据报头,第一个IP分片的IP头之后是UDP头,UDP头之后是UDP的净荷,定义一层用户层,将用户层分成多个UDP包,每个用户层数据块带一个用户层头文件,用户数据块被分片后,每个分片都携带着一个用户层头文件,接收端根据这些用户层头文件完成对整个用户数据块数据的重组;当接收端发现不能对用...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。