Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication

A data flow, dual-mode technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as inability to maintain data continuity, rising network security risks, and data flow interruptions

Inactive Publication Date: 2011-11-23
上海悠络客电子科技股份有限公司
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of large-bandwidth data exchange such as audio and video, there is an urgent need to improve the stability of data streams. The usual communication methods either use udp or tcp, which cannot maintain data stability in certain network environments. Continuity, for example, some companies have closed all external udp links internally, so that the software used to communicate in udp mode has to change the configuration in order to run normally, resulting in increased network maintenance costs and increased network security risks
[0003] At the same time, there will be some network environments where the maximum amount of tcp connections is usually limited by the router. At this time, the software that originally used tcp connection will be cut off. If the software cannot dynamically sense the network changes at this time, then it will Cause data flow interruption, and even have to be re-used through manual configuration

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 ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication
  • Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication
  • Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] A method for ensuring the stability of the big data stream by switching between tcp and udp dual modes, includes the following steps on the client:

[0056] (1) Read the default communication mode item in the program configuration file and connect to the server in this way;

[0057] (1.1) Obtain the manually set communication method from the configuration file of the program;

[0058] (1.2) Connect to the server according to whether the communication method is upd or tcp;

[0059] (2) Record the current communication mode c1, TCP or UDP;

[0060] (2.1) The connection with the server is successful;

[0061] (2.2) The continuous data stream sent from the server has been received;

[0062] (2.3) Save the current communication mode c1;

[0063] (2.4) If the connection with the server fails, switch to another communication mode to connect, repeat (2.1)~(2.4)

[0064] (2.5) If the number of failures exceeds 3 times, the entire connection process is aborted and the message is ...

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 ensuring the stability of a large data stream by tcp/udp dual-mode communication. Upon a client end, the method includes the following steps of: (1) reading out items in the default communication mode in a program configuration file, and connecting with a server in the mode; (2) recording the current communication mode c1, tcp (Transmission Control Protocol) or udp (User Datagram Protocol); (3) counting a packet receiving rate a at a regular interval (N seconds); (4) disconnecting the current connection with the server when the packet receiving rate a is lower than an extent x; (5) recreating data connection with the server, and switching the communication mode; and (6) during the normal communication process, transmitting a heart packet to the server for ensuring the health of a link once the heart time heart-t is expired.

Description

Technical field [0001] The invention relates to a method for ensuring the stability of a big data stream by switching between tcp and udp dual modes. Background technique [0002] With the rapid development of large-bandwidth data exchanges such as audio and video, there is an urgent need to improve the stability of data streams. The usual communication methods are either udp or tcp, which cannot maintain data in certain specific network environments. Continuity, for example, some companies have closed all external udp links internally, so that the software used in udp mode communication has to change the configuration to ensure normal operation, which brings increased network maintenance costs and increased network security risks. [0003] At the same time, there will be some network environments. Usually the router will limit the maximum tcp connection. At this time, the software that uses the tcp connection will be cut off. If the software does not dynamically perceive the netwo...

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): H04L29/06H04L12/26H04L29/08
Inventor 严飞
Owner 上海悠络客电子科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products