Audio Transmission Method and Electronic Device
AssigneeHuawei Technologies Co., Ltd.
InventorsDong Shi, Jie Su
Life of this patent
Estimating the term…
Abstract
An audio transmission method includes: a second device sends noise energy data on the second device end and transmission efficiency data to a first device; the first device determines a first bit rate based on the noise energy data, and determines a second bit rate based on the transmission efficiency data; the first device encodes an audio stream based on a lower bit rate of the first bit rate and the second bit rate to obtain audio data; the first device sends the audio data obtained by encoding to the second device.
Claims20
An audio transmission method implemented by a first device, the audio transmission method comprising:
- receiving noise energy data and transmission efficiency data from a second device, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the first device and the second device;
- determining a first bit rate based on the noise energy data;
- determining a second bit rate based on the transmission efficiency data;
- encoding an audio stream based on a lower bit rate of the first bit rate and the second bit rate to obtain audio data;
- and
- sending the audio data to the second device.
An audio transmission method implemented by a second device, the audio transmission method comprising:
- determining noise energy data and transmission efficiency data, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the second device and a first device;
- sending the noise energy data and the transmission efficiency data to the first device;
- receiving audio data from the first device;
- decoding the audio data to obtain decoded audio data;
- and
- playing the decoded audio data.
A first device, comprising:
- a transceiver configured to receive noise energy data and transmission efficiency data from a second device, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the first device and the second device;
- and
- a processor coupled to the transceiver and configured to;
- determine a first bit rate based on the noise energy data;
- determine a second bit rate based on the transmission efficiency data;
- and
- encode an audio stream based on a lower bit rate of the first bit rate and the second bit rate to obtain audio data, wherein the transceiver is further configured to send the audio data to the second device.
A second device, comprising:
- a processor configured to determine noise energy data and transmission efficiency data, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the second device and a first device;
- and
- a transceiver coupled to the processor configured to:
- send the noise energy data and the transmission efficiency data to the first device;
- and
- receive audio data from the first device,
- wherein the processor is further configured to:
- decode the audio data to obtain decoded audio data;
- and
- play the decoded audio data.
A computer-readable storage medium comprising a computer program, wherein when the computer program is run on a computer, the computer is enabled to cause a first device to:
- receive noise energy data and transmission efficiency data from a second device, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the first device and the second device;
- determine a first bit rate based on the noise energy data;
- determine a second bit rate based on the transmission efficiency data;
- encode an audio stream based on a lower bit rate of the first bit rate and the second bit rate to obtain audio data;
- and
- send the audio data to the second device.
A computer program product comprising instructions that are stored on a computer-readable medium and that, when executed by a processor, cause a first device to:
- receive noise energy data and transmission efficiency data from a second device, wherein the noise energy data indicate noise energy or noise loudness, and wherein the transmission efficiency data indicate quality of a wireless channel between the first device and the second device;
- determine a first bit rate based on the noise energy data;
- determine a second bit rate based on the transmission efficiency data;
- encode an audio stream based on a lower bit rate of the first bit rate and the second bit rate to obtain audio data;
- and
- send the audio data to the second device.
Dependencies are inferred from the claim text.