Search

CN-121996194-A - Audio play control method, system, equipment and medium

CN121996194ACN 121996194 ACN121996194 ACN 121996194ACN-121996194-A

Abstract

The application provides an audio play control method, an audio play control system, audio play control equipment and an audio play control medium, and relates to the technical field of computers. The method is applied to broadcasting equipment in an audio playing system, and the system further comprises first equipment. The first device is in communication connection with the second device through the broadcasting device. The method comprises the steps of obtaining a playing instruction from second equipment, enabling the playing instruction to carry an audio stream to be played, enabling the playing instruction to be used for indicating to play the audio stream, responding to the playing instruction, outputting an audio signal corresponding to the audio stream to first equipment, and enabling the first equipment to play sound according to the audio signal. By the method, the compatibility of the audio playing equipment is improved, and the audio playing effect is enhanced.

Inventors

  • ZHOU YONGQIANG
  • XU XIAOCONG
  • ZHENG DONGHUA

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (15)

  1. 1. The audio playing control method is characterized by being applied to broadcasting equipment in an audio playing system, the system further comprises first equipment, the first equipment is in communication connection with second equipment through the broadcasting equipment, and the method comprises the following steps: the method comprises the steps of obtaining a playing instruction from the second equipment, wherein the playing instruction carries an audio stream to be played and is used for indicating to play the audio stream; And responding to the playing instruction, outputting an audio signal corresponding to the audio stream to the first equipment, wherein the first equipment is used for playing sound according to the audio signal.
  2. 2. The audio play control method according to claim 1, wherein the broadcasting device and the second device are connected by a network cable.
  3. 3. The audio play control method according to claim 1 or 2, characterized in that the broadcasting device and the first device are connected by a power line.
  4. 4. The audio playback control method as set forth in any one of claims 1-3, wherein the audio stream includes at least one channel signal, the audio signal being the channel signal, the system includes at least one first device, and the outputting, in response to the playback instruction, the audio signal corresponding to the audio stream to the first device includes: And transmitting the at least one channel signal to a first device corresponding to the at least one channel signal in response to the play instruction.
  5. 5. The audio playback control method as recited in any one of claims 1-4, wherein the method further comprises: the playing time delay is the time difference between the playing of the audio stream by the first equipment and the instruction of the playing of the audio stream by the second equipment; under the condition that the playing time delay does not meet the preset time length, controlling the first equipment to play the sound at a first playing speed according to the playing time delay; And controlling the first equipment to play the sound at a second playing speed under the condition that the playing time delay meets the preset time length, wherein the first playing speed is different from the second playing speed.
  6. 6. The audio playback control method of claim 5, wherein the controlling the first device to play sound at the first playback rate according to the playback delay comprises: and determining the playing sampling rate of the first equipment according to the playing time delay and the original sampling rate of the audio stream, and sending the playing sampling rate to the first equipment, wherein the playing sampling rate is used for playing sound by the first equipment according to the audio signal.
  7. 7. The audio playback control method as recited in claim 5 or 6, wherein the second device is clock-synchronized with the first device by the playback device.
  8. 8. The method of claim 7, wherein the playback command includes a first time, the first time being a time when the second device sends the playback command, and wherein the obtaining the playback delay of the audio stream includes: Determining a second moment, wherein the second moment is the time when the broadcasting control equipment receives the broadcasting instruction; And determining the playing time delay according to the first time and the second time.
  9. 9. The audio playing control system is characterized by comprising broadcasting equipment and first equipment, wherein the first equipment is in communication connection with second equipment through the broadcasting equipment; The broadcasting equipment is used for acquiring a playing instruction from the second equipment, wherein the playing instruction carries an audio stream to be played, and the playing instruction is used for indicating to play the audio stream; The first device is used for receiving an audio signal corresponding to the audio stream and playing sound according to the audio signal.
  10. 10. The audio playing system is characterized by comprising broadcasting control equipment, first equipment and second equipment, wherein the second equipment is connected with the first equipment through the broadcasting control equipment; The second device is used for acquiring an audio stream to be played and sending a playing instruction to the broadcasting device, wherein the playing instruction carries the audio stream and is used for indicating to play the audio stream; The broadcasting equipment is used for receiving the playing instruction from the second equipment, responding to the playing instruction and outputting an audio signal corresponding to the audio stream to the first equipment; The first device is used for receiving an audio signal corresponding to the audio stream and playing sound according to the audio signal.
  11. 11. The audio playback system of claim 10, wherein the second device is further configured to identify a playback scene of the audio stream, and not issue the playback instruction if the playback scene of the audio stream is a preset scene.
  12. 12. The audio playing system according to claim 10 or 11, wherein the second device is configured to obtain an audio stream to be played, and comprises: The second device is configured to obtain an original audio file, and extract at least one channel signal in the original audio file as the audio stream.
  13. 13. The broadcasting control equipment is characterized by comprising a processor and a memory; The processor is connected to a memory, the memory is configured to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, so that the broadcast control apparatus implements the method according to any one of claims 1-8.
  14. 14. A computer readable medium, characterized in that the computer readable storage medium has stored therein instructions, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-8.
  15. 15. A computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the method of any of claims 1-8.

Description

Audio play control method, system, equipment and medium Technical Field The present application relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, and a medium for controlling audio playback. Background In an intelligent home environment, with the pursuit of people for life quality increasing, audio playing is widely applied to our daily life. Taking home entertainment systems as an example, people pay more attention to the playing effect of home entertainment playing systems. Therefore, how to construct high-quality playing effects in the intelligent home becomes the focus of current audio playing. Disclosure of Invention The embodiment of the application provides an audio playing control method, an audio playing control system, audio playing control equipment and an audio playing control medium, which are used for improving the compatibility of audio playing equipment and enhancing the audio playing effect. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme: In a first aspect, an embodiment of the present application provides an audio playback control method, where the method is applied to a broadcasting device in an audio playback system. The system further comprises a first device, such as an audio device. The first device is in communication connection with the second device (such as a device in a smart home, a smart television, a smart assistant and the like) through the broadcasting device. The method comprises the steps that firstly, the broadcasting control device obtains a broadcasting instruction from the second device. The playing instruction carries an audio stream to be played, such as a sound in a video, a sound in a voice call, and the like, and is used for indicating to play the audio stream. Then, the broadcasting device responds to the broadcasting instruction and outputs an audio signal corresponding to the audio stream to the first device. Wherein the first device is configured to play sound according to the audio signal. As can be seen from the above embodiments, on the one hand, compared to the case that the second device is directly connected to the first device through the high-definition multimedia interface line (high definition multimedia interface cable, HDMI), in the present application, the broadcasting device, as an intermediate device between the second device and the first device, can obtain a broadcasting instruction from the second device, and can send an audio signal corresponding to the audio stream to the first device in response to the broadcasting instruction, and even if there are differences in audio transmission protocols, ports, etc. between the first device and the second device, the broadcasting device can implement adaptation between the first device and the second device, thereby enhancing compatibility between the first device and the second device. On the other hand, the broadcasting equipment is used as an intermediary, and the first equipment and the second equipment are flexibly connected in a communication way, so that the audio playing system can flexibly add or remove the first equipment or the second equipment without being limited by the number of interfaces on the equipment, and the expandability and the flexibility of the audio playing system are improved, and the user experience of the audio playing system is further improved. In one possible implementation, the broadcasting device and the second device are connected through a network cable. In this implementation manner, on the one hand, the second device is in communication connection with the broadcasting device through a network cable, that is, the second device and the broadcasting device implement transmission of the audio stream based on a network transmission protocol. In this way, since the second device is mostly equipped with a network cable interface such as an ethernet interface, and the network transmission protocol is more popular than the audio transmission protocol, the connection manner between the second device and the broadcasting device provided by the present application is more popular, compatible and practical than the connection manner based on the HDMI line. On the other hand, compared with the broadcasting equipment and the second equipment which are connected in a wireless way, the network cable has higher stability and reliability. The audio stream to be played is transmitted through the network cable without being affected by interference of wireless signals and the like, so that the integrity and accuracy of data can be ensured, and the risk of interruption of playing or degradation of sound quality is reduced. In one possible implementation, the broadcast device is connected to the first device via a power line. In this implementation, on the one hand, since the power line is capable of enabling the transmission of data across different devices, t