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

Data transmission method and system

A data transmission method and a technology of a data transmission system, applied in the network field, can solve the problems of increased program logic processing, traffic waste, repeated sending of a large number of data packets and confirmation packets, etc., and achieve the effect of reducing repeated data sending and saving traffic

Active Publication Date: 2016-12-21
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when different protocols are used between different terminals, for example, the TCP protocol is used between the server and the receiving end, and the UDP protocol is used between the server and the sending end, so that there will be data packets between the receiving end, the server, and the sending end. The problem of repeated sending of a large number of confirmation packets and confirmation packets increases the logic processing of the program and causes traffic waste

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Such as figure 1 As shown, in one embodiment, a data transmission method includes the following steps:

[0045] Step S102, the server receives the data packet sent by the sender.

[0046] In this embodiment, the data transmission between the server and the sending end is based on the UDP protocol. When the sending end does not receive the confirmation packet within a certain time interval, it will repeatedly send the same data packet to the server. The sender sends the data packet to the server using the traditional data repetition and packet return confirmation mechanism, which will not be repeated here.

[0047] In step S104, the server records the data packet and sets a flag corresponding to the data packet, and sends the processed data packet to the receiving end.

[0048] The flag bit corresponding to the data packet is used to identify whether the server has received the confirmation packet corresponding to the data packet returned by the receiving end. In this...

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 discloses a UDP-based data transmission method, comprising the following steps that: a server receives a data packet transmitted by a transmitting end; the server records the data packet and sets a flag bit corresponding to the data packet, and transmits the processed data packet to a receiving end; the server receives an acknowledge packet transmitted by the receiving end, sets the flag bit corresponding to the data packet to be a replied state; and the server returns back the acknowledge packet to the transmitting end according to the flag bit. By the method, data retransmitting times can be reduced, and flow is saved. Moreover, the invention also provides a UDP-based data transmission system.

Description

【Technical field】 [0001] The invention relates to network technology, in particular to a data transmission method and system. 【Background technique】 [0002] The UDP protocol (User Datagram Protocol, User Datagram Protocol) is a protocol for processing data packets in the network, and it is located at the transport layer in the OSI (Open System Interconnect, Open System Interconnection) model. The UDP protocol has the characteristics of not providing data packet grouping, assembling, and not being able to sort data packets, that is to say, after the message is sent, it is impossible to know whether it has arrived safely and completely. Due to these characteristics of the UDP protocol, the UDP protocol has the advantages of low resource consumption and fast data processing, so it is usually used in the transmission of audio, video and ordinary data, because even if one or two data packets are occasionally lost in these data transmissions, there is no problem. would have too ...

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 Patents(China)
IPC IPC(8): H04L29/08H04L1/16
Inventor 杨谦
Owner TENCENT TECH (SHENZHEN) CO LTD
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