Data transmission method and apparatus
AssigneesGuangdong Oppo Mobile, Telecommunications Corp., Ltd.
InventorNing Yang
Life of this patent
Estimating the term…
Abstract
A method and device for data transmission are provided. The method includes: acquiring, by a terminal device, target resource configuration information, wherein the target resource configuration information corresponds to target service related information determined by the terminal device; and sending, by the terminal device, according to the target resource configuration information, a data packet to be sent that carries the target service.
Claims12
A method for data transmission, comprising:
- acquiring, by a terminal device, target resource configuration information, wherein the target resource configuration information corresponds to target service related information transmitted by the terminal device, wherein the target service related information comprises a ProSe Per-Packet Priority (PPPP) of the data packet to be sent, and a QoS Class Identifier (QCI) of the data packet to be sent;
- sending, by the terminal device, according to the target resource configuration information, a data packet related to the target service, wherein the target resource configuration information comprises a probability of reserving resources for sending the data packet;
- determining, by the terminal device, a probability of sending the data packet according to the PPPP and the QCI, and comparing the probability of reserving resources for sending the data packet with the determined probability of sending the data packet;
- when the determined probability of sending the data packet is greater than the probability of reserving resources for sending the data packet, directly sending, by the terminal device, the data packet;
- and
- when the determined probability of sending the data packet is less than the probability of reserving resources for sending the data packet, reserving, by the terminal device, resources for sending the data packet, and sending, by the terminal device, the data packet on the reserved resources when the reserved resources are available.
A terminal device comprising:
- a processor, used for acquiring target resource configuration information, wherein the target resource configuration information corresponds to target service related information transmitted by the terminal device, wherein the target service related information comprises a ProSe Per-Packet Priority (PPPP) of the data packet to be sent and a QoS Class Identifier (QCI) of the data packet to be sent;
- and
- a transceiver, used for sending, according to the target resource configuration information, a data packet related to the target service, wherein the target resource configuration information comprises a probability of reserving resources for sending the data packet;
- and
- the processor is further used for determining a probability of sending the data packet according to the PPPP and the QCI, and for comparing the probability of reserving resources for sending the data packet with the determined probability of sending the data packet,
- wherein when the determined probability of sending the data packet is greater than the probability of reserving resources for sending the data packet, the data packet is directly sent, and
- wherein when the determined probability of sending the data packet is less than the probability of reserving resources for sending the data packet, reserving resources for sending the data packet and sending the data packet on the reserved resources when the reserved resources are available.
A non-transitory computer readable storage medium, comprising a computer program that is executable by a terminal device to perform acts of:
- acquiring target resource configuration information, wherein the target resource configuration information corresponds to target service related information transmitted by the terminal device, the target service related information comprises a ProSe Per-Packet Priority (PPPP) of the data packet to be sent, and a QoS Class Identifier (QCI) of the data packet to be sent;
- sending according to the target resource configuration information, a data packet related to the target service, wherein the target resource configuration information comprises a probability of reserving resources for sending the data packet;
- determining, by the terminal device, a probability of sending the data packet according to the PPPP and the QCI, and comparing the probability of reserving resources for sending the data packet with the determined probability of sending the data packet;
- when the determined probability of sending the data packet is greater than the probability of reserving resources for sending the data packet, directly sending, by the terminal device, the data packet;
- and
- when the determined probability of sending the data packet is less than the probability of reserving resources for sending the data packet, reserving, by the terminal device, resources for sending the data packet, and sending, by the terminal device, the data packet on the reserved resources when the reserved resources are available.
Dependencies are inferred from the claim text.