CN103051436A - System and method for improving reliability of user datagram protocol (UDP) connection - Google Patents

System and method for improving reliability of user datagram protocol (UDP) connection Download PDF

Info

Publication number
CN103051436A
CN103051436A CN2012105757165A CN201210575716A CN103051436A CN 103051436 A CN103051436 A CN 103051436A CN 2012105757165 A CN2012105757165 A CN 2012105757165A CN 201210575716 A CN201210575716 A CN 201210575716A CN 103051436 A CN103051436 A CN 103051436A
Authority
CN
China
Prior art keywords
client terminal
terminal
send
client
bag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105757165A
Other languages
Chinese (zh)
Inventor
鲍桂乾
王广银
周博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QINGDAO FEIGE SOFTWARE CO Ltd
Original Assignee
QINGDAO FEIGE SOFTWARE CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QINGDAO FEIGE SOFTWARE CO Ltd filed Critical QINGDAO FEIGE SOFTWARE CO Ltd
Priority to CN2012105757165A priority Critical patent/CN103051436A/en
Publication of CN103051436A publication Critical patent/CN103051436A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of communication, in particular to a system and a method for improving the reliability of user datagram protocol (UDP) connection. Shortcomings are overcome, the system and the method are reliable, and transmission speed is higher. The system comprises at least two client terminals which are interconnected through a network. Each client terminal comprises a transceiver module, serves as a transmission client terminal when transmitting data, and serves as a receiving client terminal when receiving the data. According to the system and the method for improving the reliability of the UDP connection, the reliability of the UDP connection is effectively enhanced by a confirmation step, so that the UDP connection is higher in transmission speed and reliability.

Description

Improve the system and method for UDP connection reliability
Technical field
The present invention relates to communication technical field, in particular to a kind of system and method that improves the UDP connection reliability.
Background technology
Transmission control protocol UDP (User Datagram Protocol) agreement belongs to transport layer protocol.It is towards disconnected agreement, does not namely connect with the other side, and directly Packet Generation is gone over.UDP is applicable to once only to transmit low volume data, the applied environment not high to reliability requirement.In general UDP is corresponding is the application that reliability requirement is low, transmission is economic, and UDP do not provide reliability to connect, and does not guarantee after Packet Generation is gone out to arrive at the destination, and causes the packet loss phenomenon.
Summary of the invention
The present invention overcomes defects, provides a kind of reliable and transmission speed to improve faster the system and method for UDP connection reliability.
The technical scheme of the system of raising UDP connection reliability of the present invention is such: it comprises at least two client terminals, client terminal is by the network interconnection, client terminal all comprises transceiver module, for sending client terminal, client terminal is to receive client terminal when receive data to client terminal when sending data.
Optimally, it also comprises service terminal, sends client terminal by service terminal and is connected the client terminal connection.
The method of raising UDP connection reliability of the present invention comprises following steps:
A: send client terminal and send data, send packet to service terminal;
B: service terminal is received packet, and package forward to receiving client terminal, is generated simultaneously one and confirms bag, sends to the transmission client terminal;
C: when the reception client terminal is received packet, generate one and confirm bag, then send to service terminal;
D: after service terminal receives the confirmation bag, will confirm that bag sends to the transmission client terminal, and finish the transmitting-receiving task, if when sending client terminal behind the step B and not receiving the affirmation bag of service terminal in the interval at the appointed time, will enter step e; If when service terminal does not receive the affirmation bag that receives client in the interval at the appointed time behind the step C, will enter step F;
E: send client terminal packet is resend to service terminal, when reaching the sending times of setting, service terminal will generate connection failure information, sends to the transmission client terminal;
F: service terminal resends packet to receiving client, reach the sending times of setting after, service terminal will generate connection failure information, sends to the transmission client terminal.
Optimally, the setting-up time of the technical program is set to 0.3-1.0 second.
Optimally, the sending times of the technical program is set to 3-5 time.
As the another kind of implementation method of said method, directly connect between reception client terminal and the transmission client terminal, and do not pass through service terminal:
A: send client terminal and send data;
B: receive client terminal and receive packet, generate simultaneously one and confirm that bag sends to the transmission client terminal; If when sending client terminal and not receiving the affirmation bag that receives client terminal in the interval at the appointed time, will enter step C;
C: send client terminal packet is resend to receiving client terminal, when reaching the sending times of setting, send client terminal and will generate connection failure information, stop to send.
Optimally, the setting-up time of the technical program is set to 0.3-1.0 second.
Optimally, the sending times of the technical program is set to 3-5 time.
The system and method for raising of the present invention UDP connection reliability is confirmed step by one, has effectively strengthened the reliability that UDP connects, and make UDP connect not only transmission speed than very fast, and reliability is also relatively good.
Description of drawings
Fig. 1 is the transmission course that UDP of the present invention connects;
Fig. 2 is the transmission course block diagram of the embodiment of the invention 1;
Fig. 3 is the transmission course block diagram of the embodiment of the invention 2.
Embodiment
Embodiment 1:
It comprises at least two client terminals UDP connected system of the present invention, and client terminal is by the network interconnection, and client terminal all comprises transceiver module, and for sending client terminal, client terminal is to receive client terminal when receive data to client terminal when sending out the transmission data.It also comprises service terminal, sends client terminal by service terminal and is connected the client terminal connection.
The operating process of the technical program is such: send client terminal and send data, send packet to service terminal; Service terminal is received packet, and package forward to receiving client terminal, is generated simultaneously one and confirms bag, sends to the transmission client terminal; When the reception client terminal is received packet, generate one and confirm bag, then send to service terminal; After service terminal receives the confirmation bag, to confirm that bag sends to the transmission client terminal, finish the transmitting-receiving task, if when sending client terminal and not receiving the affirmation bag of service terminal in the interval at the appointed time, sending client terminal resends packet to service terminal, when reaching the sending times of setting, service terminal will generate connection failure information, sends to the transmission client terminal; When if service terminal does not receive the affirmation bag that receives client in the interval at the appointed time, packet is resend to receiving client, reach the sending times of setting after, service terminal will generate connection failure information, sends to the transmission client terminal.
The time interval of present embodiment is set as 0.3 second, and sending times is set to 3 times.
Embodiment 2:
The difference of present embodiment and embodiment 1 is that the system of the raising UDP connection reliability of present embodiment does not comprise service terminal, receives client terminal and sends the direct point-to-point transmission of client terminal.
The operating process of the technical program is such, sends client terminal and sends data, sends packet to receiving client terminal; Receive client terminal and receive packet, generate simultaneously one and confirm bag, send to the transmission client terminal; If when sending client terminal and not receiving the affirmation bag that receives client terminal in the interval at the appointed time, sending client terminal resends packet to receiving client terminal, when reaching the sending times of setting, send client terminal and will generate connection failure information, stop to send.
The time interval of present embodiment is set as 1.0 seconds, and sending times is set to 5 times.

Claims (8)

1. system that improves the UDP connection reliability, it is characterized in that: it comprises at least two client terminals, client terminal is by the network interconnection, client terminal all comprises transceiver module, for sending client terminal, client terminal is to receive client terminal when receive data to client terminal when sending data.
2. the system of raising according to claim 1 UDP connection reliability, it is characterized in that: it also comprises service terminal, sends client terminal by service terminal and is connected the client terminal connection.
3. system that improves the UDP connection reliability, it is characterized in that: it comprises the following steps:
A: send client terminal and send data, send packet to service terminal;
B: service terminal is received packet, and package forward to receiving client terminal, is generated simultaneously one and confirms bag, sends to the transmission client terminal;
C: when the reception client terminal is received packet, generate one and confirm bag, then send to service terminal;
D: after service terminal receives the confirmation bag, will confirm that bag sends to the transmission client terminal, and finish the transmitting-receiving task, if when sending client terminal behind the step B and not receiving the affirmation bag of service terminal in the interval at the appointed time, will enter step e; If when service terminal does not receive the affirmation bag that receives client in the interval at the appointed time behind the step C, will enter step F;
E: send client terminal packet is resend to service terminal, when reaching the sending times of setting, service terminal will generate connection failure information, sends to the transmission client terminal;
F: service terminal resends packet to receiving client, reach the sending times of setting after, service terminal will generate connection failure information, sends to the transmission client terminal.
4. the system of raising according to claim 3 UDP connection reliability, it is characterized in that: setting-up time is set to 0.3-1.0 second.
5. the system of raising according to claim 3 UDP connection reliability, it is characterized in that: sending times is set to 3-5 time.
6. system that improves the UDP connection reliability, it is characterized in that: it comprises the following steps:
A: send client terminal and send data;
B: receive client terminal and receive packet, generate simultaneously one and confirm that bag sends to the transmission client terminal; If when sending client terminal and not receiving the affirmation bag that receives client terminal in the interval at the appointed time, will enter step C;
C: send client terminal packet is resend to receiving client terminal, when reaching the sending times of setting, send client terminal and will generate connection failure information, stop to send.
7. the system of raising according to claim 6 UDP connection reliability, it is characterized in that: setting-up time is set to 0.3-1.0 second.
8. the system of raising according to claim 6 UDP connection reliability, it is characterized in that: sending times is set to 3-5 time.
CN2012105757165A 2012-12-27 2012-12-27 System and method for improving reliability of user datagram protocol (UDP) connection Pending CN103051436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105757165A CN103051436A (en) 2012-12-27 2012-12-27 System and method for improving reliability of user datagram protocol (UDP) connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105757165A CN103051436A (en) 2012-12-27 2012-12-27 System and method for improving reliability of user datagram protocol (UDP) connection

Publications (1)

Publication Number Publication Date
CN103051436A true CN103051436A (en) 2013-04-17

Family

ID=48063945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105757165A Pending CN103051436A (en) 2012-12-27 2012-12-27 System and method for improving reliability of user datagram protocol (UDP) connection

Country Status (1)

Country Link
CN (1) CN103051436A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731758A (en) * 2013-12-20 2014-04-16 北京欧迈特数字技术有限责任公司 Video stream transmission method and device
CN105634692A (en) * 2015-12-24 2016-06-01 天津交控科技有限公司 Data packet transmitting method and receiving method based on UDP protocol
CN107733903A (en) * 2017-10-18 2018-02-23 中国联合网络通信集团有限公司 A kind of data transfer confirmation method and base station based on UDP
CN108833436A (en) * 2018-07-03 2018-11-16 深圳第蓝筹科技有限公司 A kind of communication control method for realizing equipment communication interconnection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100202397A1 (en) * 2007-02-14 2010-08-12 Tropos Networks, Inc. Wireless Routing Based On Data Packet Classfication
CN101951370A (en) * 2010-09-17 2011-01-19 北京神州泰岳软件股份有限公司 Reliable file transmission method based on UDP
CN102244645A (en) * 2010-05-14 2011-11-16 北京快网科技有限公司 Reliable, transparent and general acceleration gateway system based on UDP protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100202397A1 (en) * 2007-02-14 2010-08-12 Tropos Networks, Inc. Wireless Routing Based On Data Packet Classfication
CN102244645A (en) * 2010-05-14 2011-11-16 北京快网科技有限公司 Reliable, transparent and general acceleration gateway system based on UDP protocol
CN101951370A (en) * 2010-09-17 2011-01-19 北京神州泰岳软件股份有限公司 Reliable file transmission method based on UDP

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731758A (en) * 2013-12-20 2014-04-16 北京欧迈特数字技术有限责任公司 Video stream transmission method and device
CN103731758B (en) * 2013-12-20 2017-03-15 北京欧迈特科技股份有限公司 A kind of video stream transmission method and device
CN105634692A (en) * 2015-12-24 2016-06-01 天津交控科技有限公司 Data packet transmitting method and receiving method based on UDP protocol
CN107733903A (en) * 2017-10-18 2018-02-23 中国联合网络通信集团有限公司 A kind of data transfer confirmation method and base station based on UDP
CN107733903B (en) * 2017-10-18 2019-12-20 中国联合网络通信集团有限公司 Data transmission confirmation method based on UDP (user Datagram protocol) and base station
CN108833436A (en) * 2018-07-03 2018-11-16 深圳第蓝筹科技有限公司 A kind of communication control method for realizing equipment communication interconnection
CN108833436B (en) * 2018-07-03 2021-07-16 一重集团(黑龙江)专项装备科技有限公司 Communication control method for realizing equipment communication interconnection

Similar Documents

Publication Publication Date Title
US9967193B2 (en) Method and system for increasing data flow transmission
CN102217258B (en) Detection processing method, data sending terminal, data receiver and communication system
CN105119974A (en) Internet-of-things system using hybrid cloud architecture and realization method
WO2013096678A3 (en) Ip address discovery for tdls
CN104518973B (en) A kind of reliable multicast transmission method of the data based on SDN environment
CN102694810B (en) TCP ground acceleration method for satellite network
CN103051436A (en) System and method for improving reliability of user datagram protocol (UDP) connection
CN104243267A (en) Data transmission method and device
CN102868609A (en) Maximum transmission unit consultation method and data terminal
CN103516673A (en) Network data communication method, network data communication system, network data communication client and network data communication server
CN102739569A (en) Gateway used in satellite communication and method for enhancing TCP performance
WO2008020401A3 (en) Decoupled connections
CN105262746A (en) Method for guaranteeing reliable data transmission on the basis of UDP protocol
WO2017063153A1 (en) Protocol format conversion method and apparatus, and interface platform
CN104270344A (en) Quintillion gatekeeper
CN105227471A (en) Method and the edge device of multicast forwarding list item is set up in a kind of EVI network
CN107508828B (en) A kind of very-long-range data interaction system and method
CN115118524A (en) Interface equipment and free intercommunication data transparent transmission method, system and device of Internet of things
CN103379182A (en) Data transmission method and client sides
CN101827020B (en) Method and system for speeding up built persistent connection without disconnection
CN1988537A (en) Data transmission protocol
CN104168273A (en) Method and system for achieving TCP proxy in thin AP mode
CN102394815B (en) Network acceleration realization method in LINUX
CN103297449B (en) A kind of document transmission method, instant communication terminal and system
WO2012082816A3 (en) Fast access asynchronous repeater wakeup protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130417