Data transmission method, data transmission device, and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorDong Chen
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a data transmission method, a data transmission device, and a storage medium. The data transmission method is characterized by being applied to a data generation end. The method includes: determining the number of Internet Protocol (IP) data packets, wherein the number of the IP data packets comprises a first number and a second number; and within a first data transmission period, transmitting a first type of data on the basis of the first number, and transmitting a second type of data on the basis of the second number.
Claims14
A method for transmitting data, performed by a data generation end, and comprising:
- determining a number of Internet Protocol (IP) data packets, wherein the number of IP data packets comprises a first number and a second number;
- and
- in a first transmission data period, transmitting, based on the first number, a first type of data and transmitting, based on the second number, a second type of data,
- wherein the transmitting, based on the second number, the second type of data comprises:
- in response to the first number of IP data packets being all sent successfully within a first time, sending the second type of data, or
- in response to not all of the first number of IP data packets being successfully sent within the first time, sending the first number of IP data packets based on a next transmission data period of the first transmission data period,
- wherein the first time is a time for sending the first type of data.
An apparatus for transmitting data, comprising:
- a processor;
- and
- a memory configured to store instructions executable by the processor;
- wherein the processor is configured to:
- determine a number of Internet Protocol (IP) data packets, wherein the number of IP data packets comprises a first number and a second number;
- and
- in a first transmission data period, transmit, based on the first number, a first type of data and transmit, based on the second number, a second type of data,
- wherein the processor is further configured to:
- in response to the first number of IP data packets being all sent successfully within a first time, send the second type of data, or
- in response to not all of the first number of IP data packets being successfully sent within the first time, send the first number of IP data packets based on a next transmission data period of the first transmission data period,
- wherein the first time is a time for sending the first type of data.
A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to:
- determine a number of Internet Protocol (IP) data packets, wherein the number of IP data packets comprises a first number and a second number;
- and
- in a first transmission data period, transmit, based on the first number, a first type of data and transmit, based on the second number, a second type of data,
- wherein the instructions in the storage medium, when executed by the processor of the mobile terminal, further enable the mobile terminal to:
- in response to the first number of IP data packets being all sent successfully within a first time, send the second type of data, or
- in response to not all of the first number of IP data packets being successfully sent within the first time, send the first number of IP data packets based on a next transmission data period of the first transmission data period,
- wherein the first time is a time for sending the first type of data.
Dependencies are inferred from the claim text.