Data transmission method and device

A data transmission method and data message technology are applied in the field of data transmission methods and devices, and can solve the problems of different network conditions of TCP data messages and inability to transmit and process TCP data messages differently.

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the clients connected to the server may come from different regions. The networks of clients in different regions are different, and the network conditions when the clients transmit TCP data packets are different.
By configuring the congestion control algorithm globally, the server can only use a unified congestion control algorithm to transmit all TCP data packets, and cannot perform different transmission processing on TCP data packets for different client networks.

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
  • Data transmission method and device
  • Data transmission method and device
  • Data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] An embodiment of the present invention provides a schematic diagram of a network structure, such as figure 2 shown, including:

[0059] Client 10 (TCP Client), Internet 11 and server 12 (TCP Server). The client 10 and the server 12 are respectively connected to the Internet 11 .

[0060] The client 10 is used to request the server 12 for data on functions such as web browsing, video playing, chatting and entertainment through TCP, so that users can browse web pages, watch videos, chat and communicate, and entertain through the client. . The client includes browsers, video players, chat software and online games and other applications, and is distributed in different areas such as residential areas, office areas, or commercial areas.

[0061] The Internet 11 is configured to provide communication between the client 10 and the server 12 . The Internet includes an access network, a core network, and the like.

[0062] The server 12 is used to respond to requests from...

Embodiment 2

[0065] An embodiment of the present invention provides a data transmission method, such as image 3 shown, including:

[0066] Step 101. Obtain a first IP address, where the first IP address is used to identify the area where the client is located.

[0067] Step 102: Obtain a first network feature according to the first IP address, the first network feature is the network feature of the area corresponding to the first IP address, and the network feature includes packet loss rate, delay and bandwidth at least one.

[0068] Step 103 , from the correspondence between network features and congestion control algorithms, according to the first network features, obtain a first congestion control algorithm corresponding to the first network feature and a parameter value of the first congestion control algorithm.

[0069] Wherein, different network characteristics correspond to the same congestion control algorithm, and the parameter values ​​of the same congestion control algorithm ...

Embodiment 3

[0073] An embodiment of the present invention provides a data transmission method, such as Figure 4 shown, including:

[0074] Step 201, the server obtains the first IP address.

[0075] Optionally, the client sends the second TCP data packet to the server, and the server receives the second TCP data packet sent by the client, obtains the first IP address from the second TCP data packet, and the second TCP The data packet includes the first IP address.

[0076] Before transmitting TCP data packets between the client and the server, a TCP connection needs to be established through the TCP three-way handshake technology. During connection establishment, the server initializes the globally configured congestion control algorithm and the algorithm value of the congestion control algorithm. After the connection is established, the server obtains information such as the client's IP address and port number. The second TCP data message is a message when establishing a TCP connect...

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 embodiment of the invention discloses a data transmission method and device, relating to the field of communication. The different transmission processing can be carried out for the networks where different clients are located at different times. The method comprises a step of obtaining a first IP address which is used for identifying an area where a client is located, a step of obtaining a first network characteristic according to the first IP address, wherein the first network characteristic is the network characteristic of an area corresponding to the first IP address, a step of obtaining the first congestion control algorithm corresponding to the first network characteristic and the parameter value of the first congestion control algorithm according to the first network characteristic from the corresponding relation between the network characteristic and the congestion control algorithm, and a step of sending a first TCP data message to the client of the area corresponding to the first IP address according to the first congestion control algorithm and the parameter value of the first congestion control algorithm. The method and the device are used for transmitting data messages.

Description

technical field [0001] The present invention relates to the communication field, in particular to a data transmission method and device. Background technique [0002] Transmission Control Protocol (Transmission Control Protocol, TCP) is a connection-oriented, reliable transport layer communication protocol based on byte stream. Clients and servers can transmit data streams in an orderly and reliable manner on the Internet (Internet) according to TCP. However, if many TCP data packets are simultaneously transmitted in the Internet, congestion may occur in the Internet; if fewer TCP data packets are simultaneously transmitted in the Internet, the utilization rate of transmission resources of the Internet will be low. Therefore, in order to make the transmission performance of the TCP data message higher, the transmission speed faster and the transmission more stable, the size of the transmission window can be controlled according to the congestion control algorithm to reduce ...

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/813H04L12/801H04L47/20
CPCH04L47/12H04L47/193
Inventor 姚杰莫兰陈文军司玉美
Owner HUAWEI TECH CO LTD
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