Audio playing method, system and device, electronic equipment and computer readable storage medium
Through Bluetooth low-energy audio LE Audio technology, low-complexity communication codec and isochronous synchronization channels are utilized to solve the problems of audio quality degradation and time differences when transmitting multiple audio signals in classic Bluetooth, achieving high-quality channel surround effects and improving user experience.
Patent Information
- Application Number
- CN202510785444.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-09-19
AI Technical Summary
Classic Bluetooth has bandwidth limitations when transmitting multiple audio signals, resulting in degraded audio quality and large differences in speaker reception time, affecting the surround sound effect.
It adopts Bluetooth low-energy audio LE Audio technology, utilizes low-complexity communication codec technology and isochronous synchronous channels, supports broadcast function, and ensures that multiple Bluetooth speakers can receive high-quality audio signals at the same time.
Maintain audio quality at a lower bit rate, reduce the difference in speaker reception time, achieve good channel surround effect, and enhance the user's listening experience.
Smart Images

Figure CN120676306A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of audio playback technology, and specifically to an audio playback method, system, device, electronic device, and computer-readable storage medium. Background Art
[0002] Channel surround is a technology that rationally distributes and plays audio signals through multiple speakers to create a stereo sound technology with a sense of space and direction, which can enhance the user's auditory immersion and sense of reality.
[0003] Related technologies use classic Bluetooth to transmit audio signals to multiple speakers. However, due to bandwidth limitations, classic Bluetooth is prone to audio quality degradation when transmitting multiple audio signals simultaneously. In addition, the time differences between multiple speakers receiving the audio signals are large, affecting the surround sound effect. Summary of the Invention
[0004] The embodiments of the present application provide an audio playback method, system, device, electronic device, and computer-readable storage medium, which can achieve good channel surround effects.
[0005] In a first aspect, an embodiment of the present application provides an audio playback method, which is applied to a display device supporting Bluetooth Low Energy Audio (LE Audio), the method comprising:
[0006] Get the audio data to be played;
[0007] Decoding the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals include a first surround audio signal and a plurality of second surround audio signals;
[0008] Playing the first surround audio signal through the speakers of the display device; and
[0009] Broadcast the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio, so as to play the plurality of second surround audio signals through the plurality of Bluetooth speakers; wherein the Bluetooth speakers support the LE Audio.
[0010] In a second aspect, an embodiment of the present application provides an audio playback system, comprising: a display device supporting LE Audio and a plurality of Bluetooth speakers supporting LE Audio;
[0011] The display device obtains audio data to be played, and decodes the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals include a first surround audio signal and a plurality of second surround audio signals;
[0012] The display device plays the first surround audio signal through a speaker;
[0013] The display device broadcasts the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio;
[0014] The plurality of Bluetooth speakers play the plurality of the second surround audio signals.
[0015] In a third aspect, an embodiment of the present application provides an audio playback device, which is applied to a display device supporting LE Audio; the device includes:
[0016] An acquisition module is used to obtain audio data to be played;
[0017] a decoding module, configured to decode the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals comprising a first surround audio signal and a plurality of second surround audio signals;
[0018] a playing module, configured to play the first surround audio signal through a speaker of the display device; and
[0019] A broadcast module is used to broadcast the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio, so as to play the plurality of second surround audio signals through the plurality of Bluetooth speakers; wherein the Bluetooth speakers support the LE Audio.
[0020] In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above-mentioned audio playback method are implemented.
[0021] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned audio playback method are implemented.
[0022] In a sixth aspect, embodiments of the present application further provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in the embodiments of the present application.
[0023] The embodiments of the present application have the following beneficial effects: LE Audio is based on low-complexity communication codec technology, and can achieve higher audio quality at a lower bit rate. Therefore, when multiple second surround audio signals are transmitted simultaneously, the audio quality of multiple second surround audio signals can also be maintained; LE Audio supports broadcast audio signals and introduces an isochronous synchronization channel. Therefore, by broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio, it can be ensured that the time difference for multiple Bluetooth speakers to receive the second surround audio signals is small, so that multiple Bluetooth speakers can play multiple second surround audio signals at the same time, achieving a good channel surround effect and enhancing the user's listening experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in this application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 This is a schematic diagram of the steps of the audio playback method provided in one embodiment of the present application;
[0026] Figure 2 is a schematic diagram of the audio data decoding process provided by an embodiment of the present application;
[0027] Figure 3 This is a schematic diagram of the positions of a display device and multiple Bluetooth speakers provided in one embodiment of the present application;
[0028] Figure 4 This is a schematic diagram of an interaction between a display device and a Bluetooth speaker provided by an embodiment of the present application.
[0029] Figure 5 This is a flowchart of an audio playback method provided by an embodiment of the present application;
[0030] Figure 6 is a schematic diagram of an audio playback system provided by an embodiment of the present application;
[0031] Figure 7This is a structural diagram of an audio playback device provided in one embodiment of the present application;
[0032] Figure 8 It is a structural diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0034] In one embodiment, Figure 1 As shown, an audio playback method is provided. Although the step diagrams show a logical order, in some cases, the steps shown or described may be performed in a different order than shown in the drawings. Specifically, the audio playback method can be applied to a display device that supports LE Audio, where the display device may include, but is not limited to, one or more of a smart TV, an Internet TV, a tablet computer, a desktop computer, and an in-vehicle computer.
[0035] It should be noted that the order of description of the following embodiments does not limit the priority order of the embodiments.
[0036] according to Figure 1 The audio playback method shown in FIG. 1 includes at least steps S110 to S140, which are described in detail as follows:
[0037] In step S110 , audio data to be played is obtained.
[0038] The audio data to be played is audio data that supports surround sound and has multiple channels. Whether the audio data is the audio data to be played can be determined by detecting whether it is marked as supporting surround sound. For example, audio data that supports 5.0-channel surround sound is usually marked with "5.0CH", so this audio data can be determined as the audio data to be played.
[0039] Each channel of the audio data to be played has an independent audio signal, which can transmit different sound information separately, thereby achieving more accurate sound positioning and distribution.
[0040] In step S120 , the audio data to be played is decoded to obtain a plurality of surround audio signals.
[0041] The audio data to be played is decoded to obtain audio signals of various channels of the audio data to be played, thereby obtaining multiple surround audio signals. The multiple surround audio signals include a first surround audio signal and multiple second surround audio signals.
[0042] The first surround audio signal is the audio signal corresponding to the center channel, and the second surround audio signal is the audio signal corresponding to the other channels except the center channel. In a multi-channel audio system, the center channel is specifically used to process and play sounds located in the center of the sound field. It is primarily responsible for reproducing key sound information such as character dialogue and narration to enhance the sense of sound positioning and layering, giving the audience a clearer and more accurate listening experience.
[0043] In step S130 , the first surround audio signal is played through the speaker of the display device.
[0044] The display device has a speaker, and the display device sends the first surround audio signal to the speaker, so that the speaker of the display device can play the first surround audio signal.
[0045] In step S140 , the plurality of second surround audio signals are broadcast to the plurality of Bluetooth speakers via LE Audio, so that the plurality of second surround audio signals are played via the plurality of Bluetooth speakers.
[0046] Bluetooth speakers support LE Audio. When the LE Audio broadcast function is enabled on a display device and multiple Bluetooth speakers, the display device can establish Bluetooth connections with multiple LE Audio-supported Bluetooth speakers and simultaneously broadcast multiple surround audio signals to multiple Bluetooth speakers via LE Audio. After receiving the surround audio signals, the Bluetooth speakers can play the multiple surround audio signals.
[0047] In one embodiment, the time when the speaker of the display device plays the first surround audio signal is consistent with the time when the multiple Bluetooth speakers play the second surround audio signal.
[0048] When using Classic Bluetooth to transmit audio signals, due to the limited bandwidth of Classic Bluetooth, audio quality degradation (such as stuttering and distortion) is likely to occur when transmitting multiple audio signals simultaneously. LE Audio, however, uses Low Complexity Communication Codec (LC3) technology to achieve higher audio quality at a lower bit rate. This ensures the clarity and integrity of the surround audio signals are maintained even when broadcasting multiple surround audio signals simultaneously to multiple Bluetooth speakers.
[0049] Classic Bluetooth doesn't support broadcasting, which can lead to connection instability and performance degradation when connecting to multiple devices simultaneously. LE Audio supports broadcasting, allowing you to broadcast one or more surround audio signals to multiple Bluetooth speakers simultaneously while maintaining a stable connection.
[0050] In addition, LE Audio introduces the isochronous channel (ISOCH), which can achieve precise time synchronization, reduce the time difference when multiple Bluetooth speakers receive the second surround audio signal, make the time when multiple Bluetooth speakers receive the second surround audio signal more consistent, and improve the synchronization effect of multiple Bluetooth speakers playing the second surround audio signal, thereby effectively improving the channel surround effect.
[0051] LE Audio is also based on Bluetooth Low Energy (BLE) technology, which consumes significantly less power than classic Bluetooth. This allows for greater power savings when broadcasting a secondary surround audio signal to multiple Bluetooth speakers simultaneously.
[0052] By adopting the technical solution of the embodiment of the present application, Bluetooth low energy audio LE Audio is based on low-complexity communication coding and decoding technology, and can achieve higher audio quality at a lower bit rate. Therefore, when transmitting multiple second surround audio signals at the same time, the audio quality of multiple second surround audio signals can be maintained; LE Audio supports broadcast audio signals and introduces an isochronous synchronization channel. Therefore, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio can ensure that the time difference for multiple Bluetooth speakers to receive the second surround audio signals is small, so that multiple Bluetooth speakers can play multiple second surround audio signals at the same time, achieving a good channel surround effect and enhancing the user's listening experience.
[0053] In one embodiment, the audio data to be played may support 5.0-channel surround sound, and the audio data to be played may include five independent channels, namely, a left front channel, a right front channel, a center channel, a left rear channel, and a right rear channel.
[0054] In another embodiment, the audio data to be played may support 5.1-channel surround sound, and the audio data to be played may include six independent channels, namely, a left front channel, a right front channel, a center channel, a left surround channel, a right surround channel, and a subwoofer channel.
[0055] Optionally, the audio data to be played may support multiple channel surround types such as 7.0 channel surround, 7.1 channel surround, 9.0 channel surround or 9.1 channel surround. Accordingly, the audio data to be played may be decoded into audio surround signals of multiple channels.
[0056] For ease of explanation, the following description will be based on an example in which the audio data to be played supports 5.0-channel surround sound. It should be noted that for other types of surround sound, based on the same underlying principles as 5.0-channel surround sound, the same or similar technical means can be used to implement the audio playback method involved in the embodiments of the present application.
[0057] Based on the above technical solution, as an embodiment, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LEAudio may include: obtaining a first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround channels; obtaining the position parameters of the surround channels corresponding to each of the multiple second surround audio signals; querying the first correspondence based on the position parameters of the surround channels corresponding to each of the multiple second surround audio signals to obtain the target physical positions corresponding to each of the multiple second surround audio signals; obtaining the physical positions of each of the multiple Bluetooth speakers; determining the Bluetooth speakers corresponding to each of the multiple second surround audio signals based on the target physical positions corresponding to each of the multiple second surround audio signals and the physical positions of each of the multiple Bluetooth speakers; and sending the multiple second surround audio signals to the Bluetooth speakers corresponding to each of the multiple second surround audio signals.
[0058] To achieve a good surround sound effect, the surround audio signals of each channel need to be sent to the Bluetooth speaker at the correct physical location. To ensure that the surround audio signals of each channel can be sent to the Bluetooth speaker at the correct physical location, when a first correspondence between the physical location of the Bluetooth speaker and the position parameters of the surround channels is pre-set, the first correspondence can be directly obtained, and the Bluetooth speaker corresponding to each second surround audio signal can be determined based on the obtained first correspondence.
[0059] The physical location of the Bluetooth speaker in the first correspondence can be a physical location that perfectly achieves a surround sound effect. The physical location of the Bluetooth speaker can represent the position of the Bluetooth speaker relative to the target location. The target location can be preset and directional. Generally speaking, the display device is located directly in front of the target location. For example, if the display device is a television, the target location can be a location suitable for watching television.
[0060] The position parameters of the surround channels may include angle parameters. In one embodiment, with 0° directly in front of the target location, each surround channel has a specific angle parameter in a clockwise direction. For example, in a 5.0-channel audio system, the center channel may be located at approximately 0°, the right front channel may be located at approximately 30°, the right rear channel may be located at approximately 135°, the left rear channel may be located at approximately 225°, and the left front channel may be located at approximately 330°.
[0061] The position parameters of the surround channels may also include distance parameters. Based on the position parameters (distance and angle) of the surround channels, the physical position of the Bluetooth speaker can be calculated. A Bluetooth speaker at this physical position can achieve a more perfect surround sound effect. A first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround channels can be pre-calculated and cached or stored. When determining the Bluetooth speaker corresponding to the second surround audio signal, the first correspondence can be directly retrieved.
[0062] Based on the surround sound channel to which the second surround sound signal belongs, position parameters of the surround sound channel corresponding to the second surround sound signal can be determined. Based on the position parameters of the surround sound channel corresponding to the second surround sound signal, a first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround sound channel is queried. The physical position of the Bluetooth speaker corresponding to the position parameters corresponding to the second surround sound signal in the first correspondence can be determined, and the physical position is determined as the target physical position.
[0063] The physical position in the first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround channel is the physical position that can perfectly achieve the channel surround effect. However, in reality, due to space reasons or manual placement reasons, the Bluetooth speaker is often not placed in a position that can perfectly achieve the channel surround effect.
[0064] Therefore, the physical locations of multiple Bluetooth speakers that have established Bluetooth connections with the display device can be obtained, and the Bluetooth speakers corresponding to each second surround audio signal can be determined based on the degree of match between the physical locations of the multiple Bluetooth speakers and the target physical locations corresponding to each of the multiple second surround audio signals. The physical locations of the multiple Bluetooth speakers can be determined by methods such as Bluetooth beacon positioning, manual setting, or marking.
[0065] For each second surround audio signal, the second surround audio signal is broadcast to a Bluetooth speaker corresponding to the second surround audio signal through LE Audio, so that the second surround audio signal is played through the Bluetooth speaker.
[0066] By adopting the technical solution of the embodiment of the present application, the position of the Bluetooth speaker that can play the second audio signal is a position where a channel surround effect can be better achieved. Therefore, the second audio signal played has a good channel surround effect, which can enhance the user's auditory experience.
[0067] Based on the above technical solution, as an embodiment, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LEAudio may include: obtaining the physical positions of each of the multiple Bluetooth speakers; displaying a setting page for the second correspondence between the physical positions of the multiple Bluetooth speakers and the position parameters of the surround channels; obtaining the second correspondence set in the setting page; obtaining the position parameters of the surround channels corresponding to each of the multiple second surround audio signals; querying the second correspondence based on the position parameters of the surround channels corresponding to each of the multiple second surround audio signals to obtain the Bluetooth speakers corresponding to each of the multiple second surround audio signals; and sending the multiple second surround audio signals to the Bluetooth speakers corresponding to each of the multiple second surround audio signals.
[0068] If the first correspondence is not set in advance, the user can set a second correspondence between the physical positions of the multiple Bluetooth speakers and the position parameters of the surround sound channels. The physical positions of the Bluetooth speakers in the second correspondence can be the actual physical positions of the multiple Bluetooth speakers connected to the display device via Bluetooth.
[0069] The physical locations of multiple Bluetooth speakers can be obtained; the physical locations of the multiple Bluetooth speakers can be determined through methods such as Bluetooth beacon positioning, manual setting, or marking. A setting page for a second correspondence between the physical locations of the multiple Bluetooth speakers and the position parameters of the surround sound channels is displayed to the user through the user interface (UI) of the display device. After the user completes the setting of the second correspondence between the physical locations of the multiple Bluetooth speakers and the position parameters of the surround sound channels, the second correspondence set in the setting page can be obtained.
[0070] Based on the surround sound channel to which the second surround sound signal belongs, position parameters of the surround sound channel corresponding to the second surround sound signal can be determined. Based on the position parameters of the surround sound channel corresponding to the second surround sound signal, a second correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround sound channel is queried. The physical position of the Bluetooth speaker corresponding to the position parameters corresponding to the second surround sound signal in the second correspondence can be determined, and the Bluetooth speaker corresponding to the physical position is determined as the Bluetooth speaker corresponding to the second surround sound signal.
[0071] For each second surround audio signal, the second surround audio signal is broadcast to a Bluetooth speaker corresponding to the second surround audio signal through LE Audio, so that the second surround audio signal is played through the Bluetooth speaker.
[0072] By adopting the technical solution of the embodiment of the present application, when the first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround channel is not pre-stored, the second correspondence between the physical positions of multiple Bluetooth speakers and the position parameters of the surround channels can also be obtained through manual setting by the user, thereby determining to broadcast the second surround audio signal through LE Audio to the Bluetooth speaker corresponding to the second surround audio signal, so as to achieve a good channel surround effect and enhance the user's listening experience.
[0073] Based on the above technical solution, as an embodiment, after a user sets a second correspondence between the physical positions of multiple Bluetooth speakers and the position parameters of surround sound channels, the second correspondence between the physical positions of the multiple Bluetooth speakers and the position parameters of the surround sound channels can be stored. This allows the user to directly obtain and use the second correspondence when determining the Bluetooth speakers corresponding to each second surround audio signal the next time, eliminating the need for the user to repeatedly set the correspondence, thereby improving the user experience.
[0074] On the basis of the above technical solutions, Figure 2 This is a schematic diagram of the decoding process of audio data provided by an embodiment of the present application, referring to Figure 2 As shown, as an embodiment, an analog to digital converter (ADC) can be used to sample and quantize the audio data to be played, thereby converting the audio data to be played into a digitized audio signal. A digital signal processor (DSP) is used to decode the digitized audio signal to obtain audio signals of multiple channels. The audio signals of multiple channels are digital signals, so a digital to analog converter (DAC) can be used to perform digital-to-analog conversion on the audio signal of each channel to obtain an analog audio signal of each channel, that is, to obtain multiple surround audio signals.
[0075] When the audio data to be played supports 5.0-channel surround sound, the multiple surround audio signals may include: a center surround signal, a left front surround signal, a right front surround signal, a left rear surround signal, and a right rear surround signal. The center surround signal is a first surround audio signal, and the left front surround signal, the right front surround signal, the left rear surround signal, and the right rear surround signal are multiple second surround audio signals.
[0076] Figure 3 This is a schematic diagram of the positions of a display device and multiple Bluetooth speakers provided in one embodiment of the present application. Figure 3As shown, the speaker of the display device is set in front of the target position; the target position is: a position facing the display device and viewing the display screen of the display device. The physical positions of the multiple Bluetooth speakers include: the left front, right front, left rear and right rear of the target position;
[0077] Using the technical solution of the embodiments of this application, the first surround audio signal is a center surround signal, and the second surround audio signals include a left front surround signal, a right front surround signal, a left rear surround signal, and a right rear surround signal. Therefore, by placing the display device directly in front of the target location and physically positioning multiple Bluetooth speakers to the left front, right front, left rear, and right rear of the target location, the display device and multiple Bluetooth speakers can achieve a good 5.0-channel surround sound effect.
[0078] Based on the above technical solution, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio can include: sending the left front surround signal to the Bluetooth speaker on the left front of the target position; sending the right front surround signal to the Bluetooth speaker on the right front of the target position; sending the left rear surround signal to the Bluetooth speaker on the left rear of the target position; and sending the right rear surround signal to the Bluetooth speaker on the right rear of the target position.
[0079] By sending the left front surround signal, right front surround signal, left rear surround signal, and right rear surround signal to the corresponding Bluetooth speakers at the target location, listeners can clearly perceive sound coming from different directions, achieve accurate sound positioning, and create a full range of surround sound effects, providing listeners with a more immersive audio experience. Bluetooth speakers in different locations process different surround audio signals, which can better display the details and layering of the audio, making the entire audio content richer and more vivid, allowing listeners to capture more sound details, and improving the quality and appreciation of the audio.
[0080] On the basis of the above technical solutions, Figure 4 This is a schematic diagram of an interaction between a display device and a Bluetooth speaker provided by an embodiment of the present application, wherein the display device is a TV and the Bluetooth speaker is an LE Audio speaker. Figure 4 Before broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio, the audio method may also include: when the display device is in a state where the LE Audio broadcast function is turned on, scanning for Bluetooth speakers in a state where the LE Audio broadcast function is turned on; when scanning for Bluetooth speakers in a state where the LE Audio broadcast function is turned on, establishing a Bluetooth connection with the Bluetooth speakers in a state where the LE Audio broadcast function is turned on.
[0081] A Bluetooth connection can only be established between the display device and the Bluetooth speaker when both have LE Audio broadcasting enabled. When the display device has LE Audio broadcasting enabled, it can scan for Bluetooth speakers that have LE Audio broadcasting enabled. When the display device detects a Bluetooth speaker with LE Audio broadcasting enabled, it can determine whether it is paired with the speaker.
[0082] If the display device has not been previously paired with the Bluetooth speaker, you can initiate pairing with the Bluetooth speaker. If the Bluetooth speaker agrees to pair, the display device and Bluetooth speaker are paired, and then the Bluetooth connection between the display device and the Bluetooth speaker is started. If the display device and the Bluetooth speaker have been paired before, the Bluetooth connection between the display device and the Bluetooth speaker can be started directly.
[0083] When making a Bluetooth connection, the display device first initiates a Bluetooth connection request to the Bluetooth speaker. If the Bluetooth speaker agrees to the connection, the Bluetooth connection between the display device and the Bluetooth speaker is established.
[0084] After establishing a Bluetooth connection between the display device and the Bluetooth speaker, the display device can broadcast LE Audio to the Bluetooth speaker.
[0085] By adopting the technical solution of the embodiment of the present application, a Bluetooth connection is established between the display device and the Bluetooth speaker, and both the display device and the Bluetooth speaker support LE Audio broadcasting. Then, the display device can broadcast LE Audio to the Bluetooth speaker, thereby achieving high-quality audio signal transmission, realizing audio synchronization between multiple Bluetooth speakers, and improving the stability and anti-interference performance of the connection.
[0086] Figure 5 FIG. 1 is a flow chart of an audio playback method provided by an embodiment of the present application. Figure 5 As shown, the display device can decode the audio data to be played. When the LE Audio broadcast function is enabled on the display device, the display device can establish a Bluetooth connection with the Bluetooth speaker. If the Bluetooth connection is made for the first time, Bluetooth pairing is required first.
[0087] After completing the Bluetooth connection, it is possible to detect whether the first correspondence or the second correspondence is cached. If the correspondence (the first correspondence or the second correspondence) is cached, the Bluetooth speaker corresponding to the second surround audio signal can be directly determined based on the first correspondence or the second correspondence, thereby automatically pushing the broadcast and pushing the second surround audio signal to the corresponding Bluetooth speaker. If the first correspondence or the second correspondence is not cached, the broadcast can be manually pushed based on the second correspondence set by the user, pushing the second surround audio signal to the corresponding Bluetooth speaker, and caching the second correspondence set by the user. Among them, the broadcast pushed by the display device carries the position parameters of the surround sound channel.
[0088] After receiving the second surround audio signal, the Bluetooth speaker can play the second surround audio signal, thereby achieving a channel surround effect.
[0089] By adopting the technical solution of the embodiment of the present application, Bluetooth low energy audio LE Audio is based on low-complexity communication coding and decoding technology, and can achieve higher audio quality at a lower bit rate. Therefore, when transmitting multiple second surround audio signals at the same time, the audio quality of multiple second surround audio signals can be maintained; LE Audio supports broadcast audio signals and introduces an isochronous synchronization channel. Therefore, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio can ensure that the time difference for multiple Bluetooth speakers to receive the second surround audio signals is small, so that multiple Bluetooth speakers can play multiple second surround audio signals at the same time, achieving a good channel surround effect and enhancing the user's listening experience.
[0090] To facilitate better implementation of the audio playback method of the present application, the present application also provides an audio playback system based on the above audio playback method. The meanings of the terms are the same as those in the above audio playback method, and the specific implementation details can be referred to the description in the method embodiment.
[0091] See also Figure 6 , Figure 6 is a schematic diagram of an audio playback system provided in an embodiment of the present application, wherein the audio playback system includes: a display device supporting LE Audio and multiple Bluetooth speakers supporting LE Audio;
[0092] The display device obtains audio data to be played, and decodes the audio data to be played to obtain multiple surround audio signals; the multiple surround audio signals include a first surround audio signal and multiple second surround audio signals;
[0093] The display device plays the first surround audio signal through the speaker;
[0094] The display device broadcasts multiple second surround audio signals to multiple Bluetooth speakers via LE Audio;
[0095] The plurality of Bluetooth speakers plays the plurality of second surround audio signals.
[0096] In one embodiment, the display device broadcasts multiple second surround audio signals to multiple Bluetooth speakers via LE Audio, which may include:
[0097] The display device obtains a first correspondence between the physical position of the Bluetooth speaker and the position parameters of the surround sound channel;
[0098] The display device obtains position parameters of surround sound channels corresponding to the plurality of second surround audio signals;
[0099] The display device queries the first correspondence according to the position parameters of the surround sound channels corresponding to the plurality of second surround audio signals, and obtains the target physical positions corresponding to the plurality of second surround audio signals;
[0100] The display device obtains the physical locations of multiple Bluetooth speakers.
[0101] The display device determines the Bluetooth speakers corresponding to the multiple second surround audio signals according to the target physical locations corresponding to the multiple second surround audio signals and the physical locations of the multiple Bluetooth speakers;
[0102] The display device sends the multiple second surround audio signals to the Bluetooth speakers corresponding to the multiple second surround audio signals respectively.
[0103] In one embodiment, the display device broadcasts multiple second surround audio signals to multiple Bluetooth speakers via LE Audio, which may include:
[0104] The display device obtains the physical locations of multiple Bluetooth speakers.
[0105] A setting page for displaying, on a display device, a second correspondence between the physical positions of the plurality of Bluetooth speakers and position parameters of the surround sound channels;
[0106] Display the second correspondence set in the device acquisition setting page;
[0107] The display device obtains position parameters of surround sound channels corresponding to the plurality of second surround audio signals;
[0108] The display device queries the second corresponding relationship according to the position parameters of the surround sound channels corresponding to the plurality of second surround audio signals, and obtains the Bluetooth speakers corresponding to the plurality of second surround audio signals;
[0109] The display device sends the multiple second surround audio signals to the Bluetooth speakers corresponding to the multiple second surround audio signals respectively.
[0110] In one embodiment, the display device stores a second correspondence between the physical positions of the plurality of Bluetooth speakers and position parameters of the surround sound channels.
[0111] In one embodiment, the speaker of the display device is arranged in front of the target position; the target position is: a position facing the display device and viewing the display screen of the display device;
[0112] The physical locations of the multiple Bluetooth speakers include: left front, right front, left rear, and right rear of the target location;
[0113] The first surround audio signal is a center surround signal;
[0114] The second surround audio signal includes a left front surround signal, a right front surround signal, a left rear surround signal, and a right rear surround signal.
[0115] In one embodiment, the display device broadcasts multiple second surround audio signals to multiple Bluetooth speakers via LE Audio, which may include:
[0116] The display device sends the left front surround signal to the left front Bluetooth speaker at the target location;
[0117] The display device sends the right front surround signal to the right front Bluetooth speaker at the target location;
[0118] The display device sends the left rear surround signal to the Bluetooth speaker at the left rear of the target location;
[0119] The display device sends the right rear surround signal to the Bluetooth speaker behind the right side of the target location.
[0120] In one embodiment, when the display device is in a state where the LE Audio broadcast function is enabled, the display device scans for Bluetooth speakers in a state where the LE Audio broadcast function is enabled;
[0121] When the display device scans for a Bluetooth speaker with LE Audio broadcasting enabled, it establishes a Bluetooth connection with the Bluetooth speaker.
[0122] By adopting the technical solution of the embodiment of the present application, Bluetooth low energy audio LE Audio is based on low-complexity communication coding and decoding technology, and can achieve higher audio quality at a lower bit rate. Therefore, when transmitting multiple second surround audio signals at the same time, the audio quality of multiple second surround audio signals can be maintained; LE Audio supports broadcast audio signals and introduces an isochronous synchronization channel. Therefore, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio can ensure that the time difference for multiple Bluetooth speakers to receive the second surround audio signals is small, so that multiple Bluetooth speakers can play multiple second surround audio signals at the same time, achieving a good channel surround effect and enhancing the user's listening experience.
[0123] For the specific definition of the audio playback system, please refer to the definition of the audio playback method above and will not be repeated here. Each module in the above-mentioned audio playback system can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0124] To facilitate better implementation of the audio playback method of the present application, the present application also provides an audio playback device based on the above audio playback method. The meanings of the terms are the same as those in the above audio playback method, and the specific implementation details can be referred to the description in the method embodiment.
[0125] See also Figure 7 , Figure 7 is a structural diagram of an audio playback device provided in an embodiment of the present application, wherein the audio playback device is applied to a display device supporting LE Audio, and the audio playback device includes:
[0126] Acquisition module 701, used to acquire audio data to be played;
[0127] A decoding module 702 is configured to decode the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals include a first surround audio signal and a plurality of second surround audio signals;
[0128] A playing module 703 is configured to play the first surround audio signal through a speaker of a display device; and
[0129] The broadcast module 704 is configured to broadcast the plurality of second surround audio signals to the plurality of Bluetooth speakers via LE Audio, so as to play the plurality of second surround audio signals via the plurality of Bluetooth speakers; wherein the Bluetooth speakers support LE Audio.
[0130] In one embodiment, the broadcast module 704 includes:
[0131] A first acquiring unit, configured to acquire a first correspondence between a physical position of the Bluetooth speaker and position parameters of a surround sound channel;
[0132] A second acquiring unit, configured to acquire position parameters of surround sound channels corresponding to respective second surround audio signals;
[0133] a first query unit, configured to query a first correspondence according to position parameters of surround sound channels corresponding to the plurality of second surround audio signals, and obtain target physical positions corresponding to the plurality of second surround audio signals;
[0134] A third obtaining unit is used to obtain the physical location of each of the multiple Bluetooth speakers;
[0135] a first determining unit, configured to determine the Bluetooth speakers corresponding to the plurality of second surround audio signals according to the target physical locations corresponding to the plurality of second surround audio signals and the physical locations of the plurality of Bluetooth speakers;
[0136] The first sending unit is configured to send the plurality of second surround audio signals to the Bluetooth speakers corresponding to the plurality of second surround audio signals respectively.
[0137] In one embodiment, the broadcast module 704 includes:
[0138] A fourth acquiring unit, configured to acquire a physical location of each of the plurality of Bluetooth speakers;
[0139] a display unit, configured to display a setting page for a second correspondence between the physical positions of a plurality of Bluetooth speakers and position parameters of surround sound channels;
[0140] A fifth acquiring unit, configured to acquire a second corresponding relationship set in the setting page;
[0141] A sixth obtaining unit, configured to obtain position parameters of surround sound channels corresponding to respective second surround audio signals;
[0142] a second query unit, configured to query a second corresponding relationship according to position parameters of the surround sound channels corresponding to the plurality of second surround audio signals, and obtain the Bluetooth speakers corresponding to the plurality of second surround audio signals;
[0143] The second sending unit is configured to send the plurality of second surround audio signals to the Bluetooth speakers corresponding to the plurality of second surround audio signals respectively.
[0144] In one embodiment, the apparatus further comprises:
[0145] The storage module is used to store a second correspondence between the physical positions of the plurality of Bluetooth speakers and the position parameters of the surround sound channels.
[0146] In one embodiment, the speaker of the display device is arranged in front of the target position; the target position is: a position facing the display device and viewing the display screen of the display device;
[0147] The physical locations of the multiple Bluetooth speakers include: left front, right front, left rear, and right rear of the target location;
[0148] The first surround audio signal is a center surround signal;
[0149] The second surround audio signal includes a left front surround signal, a right front surround signal, a left rear surround signal, and a right rear surround signal.
[0150] In one embodiment, the broadcast module 704 includes:
[0151] A third sending unit is used to send the left front surround signal to the left front Bluetooth speaker at the target position;
[0152] a fourth sending unit, configured to send the right front surround signal to a Bluetooth speaker in the right front of a target position;
[0153] a fifth sending unit, configured to send a left rear surround signal to a Bluetooth speaker at a left rear of a target location;
[0154] The sixth sending unit is used to send the right rear surround signal to the Bluetooth speaker at the right rear of the target position.
[0155] In one embodiment, the apparatus further comprises:
[0156] A scanning module is used to scan for Bluetooth speakers that have the LE Audio broadcast function enabled when the display device is in the LE Audio broadcast function enabled state;
[0157] The connection establishment module is used to establish a Bluetooth connection with the Bluetooth speaker in the state where the LE Audio broadcast function is turned on when scanning the Bluetooth speaker in the state where the LE Audio broadcast function is turned on.
[0158] By adopting the technical solution of the embodiment of the present application, Bluetooth low energy audio LE Audio is based on low-complexity communication coding and decoding technology, and can achieve higher audio quality at a lower bit rate. Therefore, when transmitting multiple second surround audio signals at the same time, the audio quality of multiple second surround audio signals can be maintained; LE Audio supports broadcast audio signals and introduces an isochronous synchronization channel. Therefore, broadcasting multiple second surround audio signals to multiple Bluetooth speakers through LE Audio can ensure that the time difference for multiple Bluetooth speakers to receive the second surround audio signals is small, so that multiple Bluetooth speakers can play multiple second surround audio signals at the same time, achieving a good channel surround effect and enhancing the user's listening experience.
[0159] For the specific definition of the audio playback device, please refer to the definition of the audio playback method above and will not be repeated here. Each module in the above-mentioned audio playback device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.
[0160] In addition, the present application also provides an electronic device, such as Figure 8 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:
[0161] The electronic device may include one or more processing core processors 801 and one or more computer readable storage media memories 802 and other components. Those skilled in the art will understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0162] The processor 801 is the control center of the electronic device. It connects the various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802 and accessing data stored in the memory 802, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and application programs, and the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into the processor 801.
[0163] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.
[0164] In one embodiment, the electronic device further includes a power supply 803 for supplying power to various components. Preferably, the power supply 803 can be logically connected to the processor 801 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 803 can also include any of one or more DC or AC power supplies, a recharging system, a power supply device debugging circuit, a power converter or inverter, a power status indicator, and other components.
[0165] In one embodiment, the electronic device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0166] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically, in this embodiment, the processor 801 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, thereby implementing the steps of any of the audio playback methods provided in the embodiments of the present application.
[0167] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0168] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in any embodiment of the present application is implemented.
[0169] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present application is implemented.
[0170] In some embodiments, a computer program product is also proposed, including a computer program or instructions, which implements the method described in any embodiment of the present application when executed by a processor.
[0171] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0172] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0173] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any audio playback method provided in the present application.
[0174] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0175] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0176] Since the instructions stored in the computer-readable storage medium can execute the steps in any audio playback method provided in the present application, the beneficial effects that can be achieved by any audio playback method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0177] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "includes," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such process, method, article, or terminal device. In the absence of further restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0178] The above is a detailed introduction to the audio playback method, system, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. An audio playback method, characterized in that: Applicable to a display device supporting Bluetooth low energy audio LE Audio; the method includes: Get the audio data to be played; Decoding the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals include a first surround audio signal and a plurality of second surround audio signals; Playing the first surround audio signal through the speakers of the display device; and Broadcast the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio, so as to play the plurality of second surround audio signals through the plurality of Bluetooth speakers; wherein the Bluetooth speakers support the LE Audio.
2. The audio playback method according to claim 1, wherein: The broadcasting of the plurality of second surround audio signals to the plurality of Bluetooth speakers through the LE Audio includes: Obtaining a first correspondence between the physical position of the Bluetooth speaker and position parameters of the surround sound channels; Obtaining position parameters of surround sound channels corresponding to each of the plurality of second surround audio signals; querying the first correspondence according to position parameters of the surround sound channels corresponding to the plurality of second surround audio signals, to obtain target physical positions corresponding to the plurality of second surround audio signals; Obtaining the physical location of each of the plurality of Bluetooth speakers; Determining the Bluetooth speakers corresponding to the plurality of second surround audio signals according to the target physical locations corresponding to the plurality of second surround audio signals and the physical locations of the plurality of Bluetooth speakers; The plurality of second surround audio signals are respectively sent to the Bluetooth speakers corresponding to the plurality of second surround audio signals.
3. The audio playback method according to claim 1, wherein: The broadcasting of the plurality of second surround audio signals to the plurality of Bluetooth speakers through the LE Audio includes: Obtaining the physical location of each of the plurality of Bluetooth speakers; A setting page showing a second correspondence between the physical positions of the plurality of Bluetooth speakers and position parameters of the surround sound channels; Obtaining the second corresponding relationship set in the setting page; Obtaining position parameters of surround sound channels corresponding to each of the plurality of second surround audio signals; querying the second correspondence according to position parameters of the surround sound channels corresponding to the plurality of second surround audio signals, to obtain the Bluetooth speakers corresponding to the plurality of second surround audio signals; The plurality of second surround audio signals are respectively sent to the Bluetooth speakers corresponding to the plurality of second surround audio signals.
4. The audio playback method according to claim 3, wherein: The method further comprises: A second correspondence between the physical positions of the plurality of Bluetooth speakers and the position parameters of the surround sound channels is stored.
5. The audio playback method according to claim 1, wherein: The speaker of the display device is arranged in front of the target position; the target position is: a position facing the display device and viewing the display screen of the display device; The physical locations of the plurality of Bluetooth speakers include: the left front, the right front, the left rear, and the right rear of the target location; The first surround audio signal is a center surround signal; The second surround audio signal includes a left front surround signal, a right front surround signal, a left rear surround signal, and a right rear surround signal.
6. The audio playback method according to claim 5, characterized in that: The broadcasting of the plurality of second surround audio signals to the plurality of Bluetooth speakers through the LE Audio includes: Sending the left front surround signal to the Bluetooth speaker in the left front of the target position; Sending the right front surround signal to the Bluetooth speaker in the right front of the target position; Sending the left rear surround signal to the Bluetooth speaker behind the target position; The right rear surround signal is sent to the Bluetooth speaker behind the right of the target position.
7. The audio playback method according to any one of claims 1 to 6, characterized in that: Before broadcasting the plurality of second surround audio signals to the plurality of Bluetooth speakers through the LE Audio, the method further includes: When the display device is in a state where the LE Audio broadcast function is turned on, scanning for Bluetooth speakers in a state where the LE Audio broadcast function is turned on; When a Bluetooth speaker in a state where the LE Audio broadcast function is enabled is scanned, a Bluetooth connection is established with the Bluetooth speaker in a state where the LE Audio broadcast function is enabled.
8. An audio playback system, characterized in that: The audio playback system includes: a display device supporting LE Audio and multiple Bluetooth speakers supporting LE Audio; The display device obtains audio data to be played, and decodes the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals include a first surround audio signal and a plurality of second surround audio signals; The display device plays the first surround audio signal through a speaker; The display device broadcasts the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio; The plurality of Bluetooth speakers play the plurality of the second surround audio signals.
9. An audio playback device, characterized in that: Applicable to a display device supporting Bluetooth low energy audio LE Audio; the device comprises: An acquisition module is used to obtain audio data to be played; a decoding module, configured to decode the audio data to be played to obtain a plurality of surround audio signals; the plurality of surround audio signals comprising a first surround audio signal and a plurality of second surround audio signals; a playing module, configured to play the first surround audio signal through a speaker of the display device; and A broadcast module is used to broadcast the plurality of second surround audio signals to a plurality of Bluetooth speakers through the LE Audio, so as to play the plurality of second surround audio signals through the plurality of Bluetooth speakers; wherein the Bluetooth speakers support the LE Audio.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the audio playback method according to any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the audio playback method according to any one of claims 1 to 7 are implemented.