# US 10,959,125 B2 · Collaborative transmission method and transmission device based on UDP and TCP connections

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,959,125 B2
- Document ID: US10959125B2
- Status: Granted
- Kind: B2
- Application number: 16/232,539
- Filed: 2018-12-26
- Published: 2020-06-25
- Granted: 2021-03-23
- Earliest claimed: 2018-12-19
- Assignees: Industrial Technology Research Institute
- Applicants: Industrial Technology Research Institute
- Inventors: Yeh-Kai Chou; Cheng-Sheng Weng; Chi-Huang Shih; Bo-Sheng Chen
- Web page: https://patentgrep.com/patent/US10959125B2

## CPC

- H04W 28/0273: {adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP] (wireless network protocols or protocol adaptations to wireless operation, e.g. wireless application protocol H04W80/00)}
- H04L 43/0835: {One way packet loss}
- H04L 47/196: {Integration of transport layer protocols, e.g. TCP and UDP}
- H04L 69/165: Combined use of TCP and UDP protocols; selection criteria therefor
- H04L 47/27: Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A collaborative transmission method and a transmission device based on UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) connections are provided. The collaborative transmission method comprises: calculating a first rate and obtaining a first parameter, wherein the first rate is a rate using TCP to transmit packets and the first parameter is associated with the variation degree of the first rate; after obtaining the first rate, calculating a number of packets to be sent according to a target bit rate, the first parameter, the first rate, and a packet size, wherein the number of packets to be sent is the number of packets expected to be transmitted via UDP; and determining to use either UDP or TCP to send the packet according to a transmission flag and updating the number of packets to be sent when the packet number is not zero.

## Claims

### Claim 1

A collaborative transmission method based on UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) comprising:
calculating a first rate and obtaining a first parameter, wherein the first rate is a rate of transmitting packets via TCP and the first parameter is associated with a variation degree of the first rate;
after calculating the first rate, calculating a number of packets to be sent according to a target transmission rate, the first parameter, the first rate, and a packet size, wherein the number of packets to be sent is a number of packets expected to be sent via UDP; and
when the number of packets to be sent is not zero, determining whether to use either UDP or TCP to send a packet according to a transmission flag and updating the number of packets to be sent.

### Claim 2 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, wherein the number of packets to be sent is calculated according to the following formula:
NUDP=(RTBR*A−RTCP)P,
wherein NUDP is the number of packets to be sent, RTBR is the target transmission rate, A is the first parameter, RTCP is the first rate and P is the packet size.

### Claim 3 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, before sending the packet via UDP, further comprising:
sending the packet via UDP after an interval time, wherein the interval time is calculated according to the following formula:
Tinterval=1/NUDP,
wherein Tinterval is the interval time and NUDP is the number of packets to be sent.

### Claim 4 (depends on 3)

The collaborative transmission method based on UDP and TCP of claim 3, wherein a step of determining whether to use either UDP or TCP to send a packet according to the transmission flag and updating the number of packets to be sent when the number of packets to be sent is not zero further comprising:
activating a timer or keeping an activating state of the timer for calculating a cumulative time when the number of packets to be sent is not zero;
and disabling the timer when the number of packets to be sent is zero.

### Claim 5 (depends on 4)

The collaborative transmission method based on UDP and TCP of claim 4, further comprising:
determining whether the cumulative time reaches the interval time after the timer is activated; wherein
determining a state of the transmission flag when the cumulative time reaches the interval time; or
calculating the cumulative time continuously by the timer when the cumulative time does not reach the interval time.

### Claim 6 (depends on 4)

The collaborative transmission method based on UDP and TCP of claim 4, wherein the step of determining whether to use either UDP or TCP to send the packet according to a transmission flag and updating the number of packets to be sent when the number of packets to be sent is not zero further comprising:
stopping transmitting the packet via UDP when the transmission flag is enabled; or
transmitting the packet via UDP when the transmission flag is disabled.

### Claim 7 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, wherein the step of determining whether to use either UDP or TCP to send the packet according to a transmission flag and updating the number of packets to be sent when the number of packets to be sent is not zero further comprising:
enabling the transmission flag before a TCP packet is transmitted; and
disabling the transmission flag when an acknowledge packet of TCP is received or the acknowledge packet of TCP is not received before a timeout.

### Claim 8 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, wherein the first parameter represents an average rate of packet loss during a TCP transmission or during a TCP connection.

### Claim 9 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, wherein the first rate is calculated according to the following formula:
RTCP=NTCP/(Tcurrent−Tstart),
wherein RTCP is the first rate, NTCP is a total number of packets, Tcurrent is a current time, and Tstart is a starting time, the current time is the earliest time transmitting packets via TCP, and the total number of packets is a number of all packets transmitted from the starting time to the current time.

### Claim 10 (depends on 1)

The collaborative transmission method based on UDP and TCP of claim 1, further comprising calculating the first rate and obtaining the first parameter when one of the following conditions is detected:
a synchronization packet sent via TCP;
a default period is passed; and
an acknowledge packet returning via TCP is received.

### Claim 11

A collaborative transmitter based on UDP and TCP comprising:
a processing circuit configured to:
obtain a first rate and a first parameter, wherein the first rate is a rate of transmitting packets via TCP and the first parameter is associated with a variation degree of the first rate;
calculate the first rate and calculate a number of packets to be sent according to a target transmission rate, the first parameter, the first rate, and a packet size, wherein the number of packets to be sent is a number of packets expected to be sent via UDP; and
determine whether to use UDP or TCP to send a packet according to a transmission flag and updating the number of packets to be sent when the number of packets to be sent is not zero.

### Claim 12 (depends on 11)

The collaborative transmitter based on UDP and TCP of claim 11, wherein the processing circuit calculates the number of packets to be sent according to the following formula:
NUDP=(RTBR*A−RTCP)/P,
wherein NUDP is the number of packets to be sent, RTBR is the target transmission rate, A is the first parameter, RTCP is the first rate and P is the packet size.

### Claim 13 (depends on 11)

The collaborative transmitter based on UDP and TCP of claim 11, wherein the processing circuit further calculates an interval time according to the following formula:
Tinterval=1/NUDP,
wherein Tinterval is the interval time and NUDP is the number of packets to be sent; and the processing circuit further sends the packets via UDP after the interval time.

### Claim 14 (depends on 13)

The collaborative transmitter based on UDP and TCP of claim 13, further comprising a timer electrically connecting to the processing circuit, wherein the timer is activated or keeps an activating state for calculating a cumulative time when the number of packets to be sent is not zero; and the timer is disabled to reset the cumulative time when the number of packets to be sent is zero.

### Claim 15 (depends on 14)

The collaborative transmitter based on UDP and TCP of claim 14, wherein the processing circuit determines a state of the transmission flag when the cumulative time reaches the interval time.

### Claim 16 (depends on 14)

The collaborative transmitter based on UDP and TCP of claim 14, wherein when the number of packets to be sent is not zero and the transmission flag is enabled, the processing circuit suspends transmitting the packet via UDP, or when the number of packets to be sent is not zero and the transmission flag is disabled, the processing circuit transmits the packet via UDP.

### Claim 17 (depends on 11)

The collaborative transmitter based on UDP and TCP of claim 11, wherein the processing circuit enables the transmission flag before the processing circuit transmits the packet via TCP, when the processing circuit receives an acknowledgement packet corresponding to TCP before a timeout, the processing circuit disables the transmission flag.

### Claim 18 (depends on 11)

The collaborative transmitter based on UDP and TCP of claim 11, wherein the first parameter represents an average rate of packet loss during a TCP transmission or during a TCP connection.

### Claim 19 (depends on 11)

The collaborative transmitter based on UDP and TCP of claim 11, wherein the processing circuit calculates the first rate according to the following formula:
RTCP=NTCP/(Tcurrent−Tstart),
wherein RTCP is the first rate, NTCP is a total number of packets, Tcurrent is a current time, and Tstart is a starting time, the current time is the earliest time transmitting packets via TCP, and the total number of packets is a number of all packets transmitted from the starting time to the current time.

### Claim 20 (depends on 14)

The collaborative transmitter based on UDP and TCP of claim 14, wherein the processing circuit further calculates the first rate and obtains the first parameter when detecting one of the following conditions:
the processing circuit sends a synchronization packet via TCP;
the cumulative time calculated by the timer reaches a default period; and
the processing circuit receives an acknowledge packet returning via TCP.
