WO2025200747A1 - 显示设备及音频广播方法 - Google Patents
显示设备及音频广播方法Info
- Publication number
- WO2025200747A1 WO2025200747A1 PCT/CN2025/073716 CN2025073716W WO2025200747A1 WO 2025200747 A1 WO2025200747 A1 WO 2025200747A1 CN 2025073716 W CN2025073716 W CN 2025073716W WO 2025200747 A1 WO2025200747 A1 WO 2025200747A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- audio
- target
- track
- tracks
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth®, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present disclosure relates to the field of Bluetooth technology, and in particular to a display device and an audio broadcasting method.
- Bluetooth Low Energy Audio (LE Audio)
- a new generation of Bluetooth audio technology an increasing number of display devices, such as televisions and mobile phones, are now supporting the Bluetooth Low Energy Audio (LE Audio) protocol.
- LE Audio Bluetooth Low Energy Audio
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device and the Bluetooth module respectively; the processor is configured to: obtain an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with the language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then after receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, the sound output device is controlled to be muted, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks; wherein each target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the corresponding target audio track.
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device and the Bluetooth module respectively; the processor is configured to: obtain an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with the language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then after receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, the sound output device is controlled to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks; wherein each target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the corresponding target audio track.
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device and the Bluetooth module respectively; the processor is configured to: obtain the audio track of the target audio and video resource; wherein the audio track has a one-to-one correspondence with the language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a first preset number threshold, then upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, the sound output device is controlled to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks; wherein the one or more second target audio tracks include the target audio tracks among the at least two target audio tracks other than the first target audio track, each second target audio
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device, and the Bluetooth module respectively; the processor is configured to: in response to a sharing trigger instruction for at least two target audio tracks of a target audio and video resource, control the display to display a first window, and display at least a device configuration control on the first window; in response to a trigger instruction for the device configuration control, control the display to display a device management page, and display a connected LE audio device on the device management page; in response to a first LE audio device in the connected LE audio device, control the display to display a device management page, and display a connected LE audio device on the device management page; io device selects a trigger instruction for the first target audio track, and displays the audio track name information of the first target audio track at the display position of the first LE audio device on the device management page to identify the correspondence between the first target audio track and the first LE audio device; in response to the
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device and the Bluetooth module respectively; the processor is configured to: obtain the audio track of the target audio and video resource; wherein the audio track has a one-to-one correspondence with the language, and the audio track is used to store the audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then upon receiving an audio track configuration operation for at least two target audio tracks among the audio tracks of the target audio and video resource, control the display to display a device management page, and display the connected audio tracks on the device management page.
- each target audio track corresponds to at least one Bluetooth broadcast, the Bluetooth broadcast is used to broadcast audio data of the corresponding target audio track, and the broadcast information is used to receive audio data of the first target audio track.
- an embodiment of the present disclosure provides a display device, comprising: a display, a sound output device, a Bluetooth module, and a processor connected to the display, the sound output device and the Bluetooth module respectively; the processor is configured to: in response to a first key instruction for a target audio and video resource, obtain audio track data of the target audio and video resource; wherein the audio track data includes audio track quantity information and audio track information of each audio track, the audio track information includes audio track language information, and the audio track language information is used to identify the language type of the corresponding audio track; if the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, display a multi-audio track sharing control; in response to a trigger instruction for the multi-audio track sharing control, display the audio track name information corresponding to the audio track language information in the audio track data; in response to an audio broadcast instruction for at least two target audio tracks in the audio track data, control the Bluetooth module to send one or more Bluetooth broadcasts based on the at least two target audio tracks.
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: in response to a first key instruction for a target audio and video resource, obtaining audio track data of the target audio and video resource; wherein the audio track data includes audio track quantity information and audio track information of each audio track, the audio track information includes audio track language information and audio track decoding information, the audio track language information is used to identify the language type of the corresponding audio track, and the audio track decoding information is used to identify the decoding method supported by the corresponding audio track; if the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, and the audio track decoding information in the audio track data meets the preset decoding condition, then displaying a multi-audio track sharing control; wherein the preset decoding condition is that the audio track data includes at least one audio track that supports hard decoding and at least one audio track that supports soft decoding, and the multi-audio track sharing control is used to trigger a multi-audio track sharing operation for the target audio and video resource; in response to
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: obtaining an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with a language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, controlling the sound output device to mute, and issuing multiple Bluetooth broadcasts based on the at least two target audio tracks; wherein each target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the corresponding target audio track.
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: obtaining an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with a language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then after receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, controlling the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and issuing multiple Bluetooth broadcasts based on the at least two target audio tracks; wherein each target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the corresponding target audio track.
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: obtaining an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with a language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a first preset number threshold, then upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, controlling the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and issuing a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks; wherein the one or more second target audio tracks include target audio tracks among the at least two target audio tracks other than the first target audio track, and each second target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the second target audio track.
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: in response to a sharing trigger instruction for at least two target audio tracks of a target audio and video resource, controlling the display to display a first window, and displaying at least a device configuration control on the first window; in response to a trigger instruction for the device configuration control, controlling the display to display a device management page, and displaying the connected LE audio device on the device management page; in response to a trigger instruction for selecting a first target audio track for a first LE audio device among the connected LE audio devices, displaying the track name information of the first target audio track at the display position of the first LE audio device on the device management page to identify the correspondence between the first target audio track and the first LE audio device; in response to an audio broadcast instruction for the at least two target audio tracks, controlling the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks, and sending the broadcast information corresponding to the first target audio track to the first LE audio device, so that the first LE audio device receives the Bluetooth
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: obtaining an audio track of a target audio and video resource; wherein the audio track has a one-to-one correspondence with a language, and the audio track is used to store audio data of the language corresponding to itself; if it is determined that the number of audio tracks of the target audio and video resource is not less than a preset number threshold, then upon receiving an audio track configuration operation for at least two target audio tracks among the audio tracks of the target audio and video resource, controlling the display to display a device management page, and displaying the connected LE audio device on the device management page; receiving a first target audio track configured for a first LE audio device among the connected LE audio devices; wherein the first target audio track belongs to the at least two target audio tracks; in response to an audio broadcast trigger operation for the at least two target audio tracks, issuing multiple Bluetooth broadcasts based on the at least two target audio tracks, and sending the broadcast information corresponding to the first target audio track to the first LE audio device; wherein each target audio track corresponds
- an embodiment of the present disclosure provides an audio broadcasting method, comprising: in response to a first key command for a target audio and video resource, obtaining audio track data of the target audio and video resource; wherein the audio track data includes audio track quantity information and audio track information of each audio track, the audio track information includes audio track language information, and the audio track language information is used to identify the language type of the corresponding audio track; if the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, displaying a multi-audio track sharing control; in response to a trigger instruction for the multi-audio track sharing control, displaying the audio track name information corresponding to the audio track language information in the audio track data; in response to an audio broadcast instruction for at least two target audio tracks in the audio track data, controlling the Bluetooth module to send one or more Bluetooth broadcasts based on the at least two target audio tracks.
- FIG1 is a schematic diagram of an audio broadcasting scenario in the related art according to some embodiments.
- FIG2 is a schematic diagram of one-to-one audio transmission of unicast media audio in the related art according to some embodiments
- FIG3 is a schematic diagram of one-to-two audio transmission of unicast media audio in the related art according to some embodiments
- FIG4 is a schematic diagram illustrating the relationship between extended broadcast, periodic broadcast, and BIS according to some embodiments.
- FIG5 is a schematic diagram illustrating the relationship between an extended broadcast packet, an auxiliary broadcast packet, a periodic broadcast packet, and a BIS according to some embodiments;
- FIG6 is a schematic diagram of continuously sending BIG in the related art according to some embodiments.
- FIG7 is a first schematic diagram of a broadcast scenario according to some embodiments.
- FIG8 is a second schematic diagram of a broadcast scenario according to some embodiments.
- FIG9 is a block diagram of a hardware configuration of a display device 100 according to some embodiments.
- FIG11 is a block diagram of a hardware configuration of a Bluetooth device 200 according to some embodiments.
- FIG12 is a first flow chart of an audio broadcasting method according to some embodiments.
- FIG13 is a schematic diagram of an audio playback page and an audio and video resource list page according to some embodiments.
- FIG14 is a flow chart of switching from a play page to a multilingual sharing page according to some embodiments.
- FIG15 is a flow chart of switching from a resource list page to a multilingual sharing page according to some embodiments.
- FIG16 is a flow chart of another audio broadcasting method according to some embodiments.
- FIG20 is a third schematic diagram of a process of switching audio broadcast according to some embodiments.
- FIG21 is a schematic diagram of a mapping relationship between a target audio track and a BIS stream according to some embodiments
- FIG22 is a schematic diagram of a device management page according to some embodiments.
- FIG24 is a first schematic diagram of a possible broadcast scenario according to some embodiments.
- FIG34 is a seventh flow chart of an audio broadcasting method according to some embodiments.
- FIG36 is a schematic diagram illustrating a change in a device connection state according to some embodiments.
- FIG38 is a seventh flowchart of an audio broadcast switching process according to some embodiments.
- a television is deployed in each of the four different areas of the airport, Area A, Area B, Area C, and Area D, and audio is broadcast to users in the respective area through the television's speakers.
- multilingual broadcasts typically start in one language and then switch to another. For example, when announcing boarding rules, they might be broadcast once in Chinese, then once in English, and finally once in Korean, resulting in low efficiency.
- the display device and audio receiving device provided herein can both support Bluetooth-based Low Energy Audio (LE Audio) technology, wherein the display device functions as an audio playback device or a device for configuring an audio receiving device.
- the display device can be a television, a mobile phone, a projector, etc.
- the audio receiving device can be a Bluetooth speaker, a Bluetooth headset, etc.
- LE Audio Compared with classic Bluetooth, LE Audio has the following advantages:
- One audio playback device can be connected to multiple audio receiving devices at the same time;
- a broadcast audio device can send broadcast audio to an unlimited number of audio receiving devices, supporting encrypted broadcasting
- TMAP Telephony and Media Audio Profile
- the unicast media audio defined in TMAP is not limited to one-to-one audio transmission, but also supports a unicast media sender transmitting unicast media audio to two unicast media receivers.
- Fig. 3 is a schematic diagram of one-to-two audio transmission of unicast media audio in the related art according to some embodiments. As shown in Fig. 3 , UMS 21 sends unicast media audio to UMR 22 and UMR 23 respectively.
- Broadcast media audio in TMAP is transmitted synchronously over multiple connectionless broadcast isochronous streams (BIS).
- BIS connectionless broadcast isochronous streams
- Broadcast media audio can include multiple broadcasts with different access addresses, including:
- Extended Advertising This is an extended advertisement on the main advertising channel. It uses the ADV_EXT_IND packet and uses time and frequency information to point to the subsidiary advertisement. Its access address uses the main advertising access address specified in the Bluetooth core specification: 0x8E89BED6.
- Periodic Advertising uses AUX_ADV_IND packets and points to the periodic broadcast through time, frequency hopping map and access address.
- the periodic broadcast uses AUX_SYNC_IND packets and contains BIG information (BIGInfo).
- FIG 4 is a schematic diagram illustrating the relationship between extended broadcast, periodic broadcast, and BIS according to some embodiments.
- Bluetooth operates in the 2.4 GHz band, which has a frequency range of 2402 MHz to 2480 MHz, with a channel every 2 MHz, for a total of 40 channels.
- Three of these channels are primary broadcast channels, namely channel 37, channel 38, and channel 39, and the remaining 37 channels are secondary broadcast channels, namely channel 0 to channel 36.
- the primary broadcast channels include channel 37, channel 38, and channel 39; the secondary broadcast channels include channel 0 to channel 36.
- Extended broadcast on the main broadcast channel can use ADV_EXT_IND packet, and point to the subsidiary broadcast on the secondary broadcast channel through time and frequency information.
- the subsidiary broadcast then uses AUX_ADV_IND packet to point to periodic broadcast through time, frequency hopping map and access address. Furthermore, the periodic broadcast uses AUX_SYNC_IND packet to point to BIS through time, frequency hopping map, access address and BIG information (BIGInfo). BIS uses BIS PDU packet to broadcast digital audio.
- FIG5 is a schematic diagram illustrating the relationship between an extended broadcast packet, an auxiliary broadcast packet, a periodic broadcast packet, and a BIS according to some embodiments.
- an audio transmitting device transmits an extended broadcast packet (ADV_EXT_IND) on a primary broadcast channel (37, 38, 39).
- the extended broadcast packet includes: a broadcast device address (AdvA), broadcast data information (ADI), and a pointer to an auxiliary broadcast packet (Auxiliary Pointer, AuxPtr), wherein AuxPtr indicates that an auxiliary broadcast will be performed on the secondary broadcast channel.
- Advanced broadcast packet includes: a broadcast device address (AdvA), broadcast data information (ADI), and a pointer to an auxiliary broadcast packet (Auxiliary Pointer, AuxPtr), wherein AuxPtr indicates that an auxiliary broadcast will be performed on the secondary broadcast channel.
- Advanced Pointer Auxiliary Pointer
- the auxiliary broadcast packet includes: extended broadcast data (AdvData), a Broadcast Audio Announcement Service UUID, and other service UUIDs.
- the auxiliary broadcast packet indicates the data channel and broadcast period for the periodic broadcast.
- the periodic announcement packet (AUX_SYNC_IND) includes additional controller advertising data (BIGinfo) and the basic audio announcement service universal unique identifier (UUID) of the extended announcement data, BASE.
- the periodic announcement packet contains all the information of the broadcast isochronous stream (BIS). After receiving the periodic announcement packet, the broadcast receiver receives the BIS data on a specific channel at a specific time anchor based on the included data, obtaining the BIS audio stream.
- each time a BIG is sent it can be called a BIG event, and each BIG event can include multiple BIS.
- FIG. 6 is a schematic diagram of continuously sending BIG in the related art according to some embodiments.
- BIG events are executed periodically and continuously.
- the BIG anchor point shown in Figure 6 indicates the start time of each BIG event, and the time interval between the two anchor points is a cycle for executing the BIG event.
- Figure 6 is illustrated by taking 3 BIG events, each of which includes 2 BIS as an example.
- Figure 6 shows the continuous execution of BIG event X, BIG event (X+1) and BIG event (X+2), wherein each BIG event includes 2 BIS streams, namely BIS1 and BIS2 shown in Figure 6.
- the BIS stream will be broadcast during the execution of the BIG time, and in the process of broadcasting the BIS stream, the BIS stream will be broadcast once after a fixed time interval.
- a tour guide or team leader carries a mobile phone and uses the mobile phone to explain the introduction of scenic spots to multiple users.
- the multiple users include user A, user B, user C, and user D.
- Each user wears a Bluetooth headset that supports the LE audio protocol.
- one or more Bluetooth broadcasts are sent out through the Bluetooth module of the mobile phone based on at least two target audio tracks to achieve the effect of playing different languages in the Bluetooth headsets worn by different users.
- the audio broadcasting method provided in the embodiment of the present disclosure does not need to provide multiple display devices for multiple users to play different languages, but instead uses one display device and multiple LE audio headsets to achieve the function of simultaneous multi-language playback for the same audio and video resource.
- the processor may include: a video processor, an audio processor, a graphics processor, a RAM, a ROM, and first to nth interfaces for input/output.
- the display 160 includes a display screen component for presenting images, a driving component for driving image display, a component for receiving image signals output from a processor, and a component for displaying video content, image content, a menu control interface, and a user control UI interface.
- the display 160 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
- the Bluetooth module may be a Bluetooth module that supports the LE Audio protocol.
- the Bluetooth module may be a Bluetooth module that supports the LE Audio protocol or a Bluetooth module that does not support the LE Audio protocol.
- the user interface can be used to receive control signals from control devices (such as infrared remote controls, etc.).
- control devices such as infrared remote controls, etc.
- Detector 130 is used to collect signals from the external environment or external interactions.
- detector 130 includes a light receiver, a sensor for collecting ambient light intensity; or detector 130 includes an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or detector 130 includes a sound collector, such as a microphone, for receiving external sounds.
- the external device interface 140 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input/output interface formed by multiple of the above interfaces.
- HDMI high-definition multimedia interface
- component analog or digital high-definition component input interface
- CVBS composite video input interface
- USB USB input interface
- RGB port etc. It may also be a composite input/output interface formed by multiple of the above interfaces.
- the processor 150 and the tuner/demodulator 110 may be located in different separate devices, that is, the tuner/demodulator 110 may be located in an external device to the main device where the processor 150 is located, such as an external set-top box.
- the display device 100 may also include a sound output device, which includes an audio output interface 170 and a speaker.
- the processor 150 is configured to: in response to a first key command for a target audio and video resource, obtain audio track data of the target audio and video resource; wherein the audio track data includes audio track quantity information and audio track information of each audio track, the audio track information includes audio track language information and audio track decoding information, the audio track language information is used to identify the language type of the corresponding audio track, and the audio track decoding information is used to identify the decoding type supported by the corresponding audio track; if the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, and the audio track decoding information in the audio track data meets a preset decoding condition, display a multi-audio track sharing control; wherein the preset decoding condition is that the audio track data includes at least one audio track that supports hard decoding and at least one audio track that supports soft decoding, and the multi-audio track sharing control is used to trigger a multi-audio track sharing operation for the target audio and video resource; and in response to an audio track broadcast instruction triggered for at least
- the processor 150 executes the audio broadcast instruction in response to at least two target audio tracks in the audio track data, and controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks. It is specifically configured as: in response to the audio broadcast instruction for at least two target audio tracks in the audio track data, controls the Bluetooth module to issue a Bluetooth broadcast based on the at least two target audio tracks; wherein the Bluetooth broadcast includes subgroups created respectively for the at least two target audio tracks, and the subgroups carry the audio data of the corresponding target audio tracks.
- the processor 150 executes the audio broadcast instruction in response to at least two target audio tracks in the audio track data, and controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks. It is specifically configured to: in response to the audio broadcast instruction for the at least two target audio tracks, control the Bluetooth module to issue multiple Bluetooth broadcasts based on the at least two target audio tracks; wherein each Bluetooth broadcast corresponds to a target audio track, and each Bluetooth broadcast includes a subgroup created for the corresponding target audio track, and the subgroup carries the audio data of the corresponding target audio track.
- the processor 150 executes the step of obtaining the audio track data of the target audio and video resource in response to the first key instruction for the target audio and video resource, and is specifically configured to: obtain the audio track format information in the audio track data of the target audio and video resource in response to the first key instruction for the target audio and video resource; wherein the audio track format information is used to identify the audio and video format of the corresponding audio track; determine the audio track decoding information of the corresponding audio track according to the audio track format information, and add the audio track decoding information to the audio track information of the audio track in the audio track data; wherein the audio track decoding information of each audio track includes a hard decoding type, a soft decoding type, or a hard and soft decoding type, wherein the hard decoding type is used to indicate that the corresponding audio track only supports the hard decoding method, the soft decoding type is used to indicate that the corresponding audio track only supports the soft decoding method, and the hard and soft decoding types are used to indicate that the corresponding audio track supports both the hard de
- the processor 150 executes the method of determining the audio track decoding information of the corresponding audio track according to the audio track format information, and adding the audio track decoding information to the audio track information of the audio track in the audio track data, and is specifically configured as follows: if the audio and video format indicated by the audio track format information belongs to a preset first format set, it is determined that the audio track corresponding to the audio track format information only supports hard decoding, and the audio track decoding information identifying the hard decoding type is added to the audio track information of the audio track in the audio track data; wherein, the preset first format set includes: at least one of audio/x-ac4 audio and video format, audio/dts-hd audio and video format, audio/dts-lbr audio and video format and audiop/dts-true-hd audio and video format; if the audio and video format indicated by the audio track format information belongs to a preset second format set format set, it is determined that the audio track corresponding to the audio track format information supports both
- the processor 150 before the processor 150 executes the step of controlling the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target tracks in the track data in response to the track broadcast instruction triggered for the at least two target tracks in the track data, the processor 150 is further configured to: display the track name information corresponding to the track language information in the track data in response to the trigger instruction for the multi-track sharing control; wherein the track name information is used to select the at least two target tracks.
- the processor 150 executes the display of the track name information corresponding to the track language information in the track data in response to the trigger instruction for the multi-track sharing control, and is specifically configured to: determine whether the number of tracks indicated by the track quantity information is greater than a preset second number threshold in response to the trigger instruction for the multi-track sharing control; if the number of tracks indicated by the track quantity information is greater than the preset second number threshold, display a first window and display the track name information corresponding to the track language information in the track data and a selection control corresponding to the track name information in the first window; in response to a selection instruction triggered for at least two target tracks based on the track name information and the selection control, display a second window and display the track name information of the at least two target tracks and an audio broadcast control in the second window; wherein the at least two target tracks respectively support different decoding types;
- the processor 150 executes the audio broadcast instruction in response to at least two target audio tracks in the audio track data, and controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks. It is specifically configured to: in response to the trigger instruction for the audio broadcast control, control the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks.
- the processor 150 is further configured to: if the number of tracks indicated by the track quantity information is not greater than the preset second quantity threshold, display a third window, and display the track name information corresponding to the track language information in the track data and the audio broadcast control on the third window; the processor 150 executes the audio broadcast instruction in response to at least two target tracks in the track data, and controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target tracks, and is specifically configured to: in response to a trigger instruction for the audio broadcast control, control the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target tracks.
- the processor 150 is further configured to: in response to a trigger instruction for the multi-track sharing control, control the player to pause playing the target audio and video resource.
- the processor 150 executes the control of the Bluetooth module to send one or more Bluetooth broadcasts based on the at least two target audio tracks, and is specifically configured to: control the Bluetooth module to send a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks; wherein the one or more second target audio tracks include target audio tracks among the at least two target audio tracks other than the first target audio track.
- the processor 150 is further configured to, in response to an audio broadcast instruction triggered for at least two target audio tracks in the audio track data, control the sound output device to play audio data corresponding to a third target audio track in the at least two target audio tracks; the processor 150 executes the control of the Bluetooth module to send one or more Bluetooth broadcasts based on the at least two target audio tracks, and is specifically configured to: control the Bluetooth module to send multiple Bluetooth broadcasts based on the at least two target audio tracks.
- the processor 150 executes the audio broadcast instruction in response to at least two target audio tracks in the audio track data, and controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks. It is specifically configured as: in response to the audio broadcast instruction for at least two target audio tracks in the audio track data, controls the Bluetooth module to issue a Bluetooth broadcast based on the at least two target audio tracks; wherein the Bluetooth broadcast includes subgroups created respectively for the at least two target audio tracks, and the subgroups carry the audio data of the corresponding target audio tracks.
- the processor 150 is further configured to, in response to an audio broadcast instruction for at least two target audio tracks in the audio track data, obtain audio track language information of the at least two target audio tracks, and configure a subgroup name based on the audio track language information; wherein the subgroup name is used to constitute broadcast source information corresponding to the target audio track containing the audio track language information.
- the processor 150 is further configured to, in response to an audio broadcast instruction for at least two target audio tracks in the audio track data, configure a subgroup name based on the audio track language information of the at least two target audio tracks, and synchronize the successfully configured subgroup name to the Bluetooth module; wherein the subgroup name is used to constitute the broadcast source information corresponding to the target audio track containing the audio track language information.
- the processor 150 is further configured to: control the player to decode the target audio and video resources based on the at least two target audio tracks to obtain the audio data corresponding to the at least two target audio tracks, and control the audio module in the player to assemble the audio data corresponding to the at least two target audio tracks to obtain assembled audio data; control the audio module to transmit the assembled audio data to the Bluetooth module, so that the Bluetooth module splits the audio data corresponding to the at least two target audio tracks from the assembled audio data for issuing multiple Bluetooth broadcasts.
- the processor 150 before the processor 150 executes the step of controlling the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target tracks in the track data in response to the track broadcast instruction triggered, the processor 150 is further configured to: send the track decoding information corresponding to the at least two target tracks to the player;
- the processor 150 executes the control of the player to decode the target audio and video resources based on the at least two target audio tracks to obtain the audio data corresponding to the at least two target audio tracks respectively. It is specifically configured to: control the player to decode the target audio and video resources based on the audio track decoding information corresponding to the at least two target audio tracks respectively to obtain the audio data corresponding to the at least two target audio tracks respectively.
- the processor 150 is further configured to: in response to a track broadcast instruction triggered for at least two target tracks in the track data, send the broadcast information corresponding to the fourth target track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast corresponding to the fourth target track based on the broadcast information.
- the processor 150 is further configured to: control the display to display a device management page, and display the connected LE audio device on the device management page; in response to a track configuration instruction for a first LE audio device among the connected LE audio devices, control the display to display a track configuration page, and display the track name information of the at least two target audio tracks on the track configuration page; in response to a selection instruction for a fifth target audio track among the at least two target audio tracks, send the broadcast source information corresponding to the fifth target audio track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast corresponding to the fifth target audio track based on the broadcast source information.
- the processor 150 executes the step of controlling the display to display the device management page, it is further configured to: control the Bluetooth module to perform device scanning, and control the display to display the scanned LE audio device on the device management page; in response to a connection request for a second LE audio device among the scanned LE audio devices, establish a connection with the second LE audio device; the processor 150 executes the step of displaying the connected LE audio device on the device management page, and is specifically configured to: display the connected second LE audio device on the device management page.
- the processor 150 executes the step of displaying the track name information corresponding to the track language information in the track data in response to the trigger instruction for the multi-track sharing control, it is further configured to: in response to the cancel sharing instruction for the at least two target audio tracks, control the Bluetooth module to cut the current audio channel out of the Bluetooth broadcast channel, and control the sound output device to continue playing the target audio and video resources.
- the processor 150 executes the step of displaying the track name control corresponding to the track language information in the track data in response to the trigger instruction for the multi-track sharing control, it is further configured to: determine whether there is a connected target Bluetooth audio device in response to the cancel sharing instruction for the at least two target tracks; wherein the target Bluetooth audio device supports the LE audio protocol and/or the A2DP protocol; if there is a connected target Bluetooth audio device, control the Bluetooth module to switch the current audio channel to the Bluetooth audio channel, and send the audio data corresponding to any target track of the target audio and video resource to the target Bluetooth audio device, and control the sound output device to continue playing the audio data corresponding to any target track; if there is no connected target Bluetooth audio device, control the sound output device to continue playing the target audio and video resource.
- Control the Bluetooth protocol stack in the Bluetooth module to encapsulate the decoded audio data corresponding to the at least two target audio tracks into corresponding BIS streams according to the preset correspondence between the audio tracks and the BIS streams, and send one or more Bluetooth broadcasts based on the BIS streams.
- the processor 150 is configured to: obtain the audio track of the target audio and video resource; wherein the audio track has a one-to-one correspondence with the language, and the audio track is used to store the audio data of the language corresponding to itself; if it is determined that the number of the audio tracks of the target audio and video resource is not less than a first preset number threshold, then upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, control the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks; wherein the one or more second target audio tracks include the target audio tracks among the at least two target audio tracks other than the first target audio track, and each second target audio track corresponds to at least one Bluetooth broadcast, and the Bluetooth broadcast is used to broadcast the audio data of the second target audio track.
- the above-mentioned display device can realize the function of playing audio and video resources simultaneously in two or more languages.
- the processor 150 before executing the control of the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and issuing a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks, is further configured to: upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, control the player to pause playing the target audio and video resources, and obtain the playback progress information of the target audio and video resources; upon determining that the Bluetooth broadcast channel switching is successful, restart the audio decoder, and control the audio decoder to decode the target audio and video resources according to the playback progress information and the at least two target audio tracks, and send the decoded audio data to the Bluetooth protocol stack; wherein, the Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
- the processor 150 before executing the control of the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and issuing a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks, is further configured to: control the player to pause playing the target audio and video resources, and obtain the playback progress information of the target audio and video resources; when it is determined that the Bluetooth broadcast channel is switched successfully, restart the audio decoder and the video decoder, and control the audio decoder and the video decoder to decode the target audio and video resources according to the playback progress information and the at least two target audio tracks, and send the decoded audio data to the Bluetooth protocol stack; wherein, the Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
- the processor 150 executes the control of controlling the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks when receiving the audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, and to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the control is specifically configured as follows: if it is determined that the number of audio tracks of the target audio and video resources is not less than a first preset number threshold, controlling the display to display a multi-audio track sharing control; in response to the trigger operation for the multi-audio track sharing control, displaying the identifiers of at least two target audio tracks among the audio tracks of the target audio and video resources; in response to the audio broadcast trigger operation for the at least two target audio tracks, controlling the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the processor 150 executes the display of the identifiers of at least two target audio tracks in the audio tracks of the target audio and video resources in response to the trigger operation for the multi-audio track sharing control, and is specifically configured to: determine whether the number of audio tracks of the target audio and video resources is greater than the first preset number threshold in response to the trigger operation for the multi-audio track sharing control; if it is determined that the number of audio tracks is greater than the first preset number threshold, display the identifiers of the audio tracks of the target audio and video resources; receive and display the identifiers of at least two target audio tracks selected from the audio tracks of the target audio and video resources.
- the processor 150 before executing the audio broadcast trigger operation in response to the at least two target audio tracks, controlling the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and issuing a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks, is further configured to: receive the first target audio track selected for the sound output device from the at least two target audio tracks.
- the processor 150 after executing the control of the display to display the device management page, is further configured to: control the Bluetooth module to perform device scanning, and control the display to display the scanned LE audio device on the device management page; in response to a connection request for a second LE audio device among the scanned LE audio devices, establish a connection with the second LE audio device; the processor 150 executes the display of the connected LE audio device on the device management page, and is specifically configured to: display the connected second LE audio device on the device management page.
- the processor 150 is further configured to: in response to a cancel sharing trigger operation for the at least two target audio tracks, control the Bluetooth module to cut the current audio channel out of the Bluetooth broadcast channel, and control the sound output device to continue playing the audio data corresponding to the first target audio track according to the current playback progress.
- the processor 150 executes the Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks, and is specifically configured to: control the Bluetooth protocol stack to encapsulate the decoded audio data corresponding to the one or more second target audio tracks into the corresponding BIS stream according to the preset correspondence between the audio track and the BIS stream, and issue a Bluetooth broadcast based on the BIS stream.
- the processor 150 before executing the sending of the decoded audio data to the Bluetooth protocol stack, is further configured to: control the audio decoder to add target header information to the decoded audio data to obtain processed audio data carrying the target header information; wherein, the target header information encapsulates the track information of the second target audio track corresponding to the decoded audio data, and the target header information is used to determine the BIS stream corresponding to the second target audio track; the processor 150 executes the sending of the decoded audio data to the Bluetooth protocol stack, and is specifically configured to: send the processed audio data to the Bluetooth protocol stack.
- the processor includes a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (Random Access Memory), ROM (Read-Only Memory), a first interface to an nth interface for input/output, a communication bus (Bus), etc.
- CPU central processing unit
- video processor video processor
- audio processor audio processor
- graphics processing unit GPU
- RAM Random Access Memory
- ROM Read-Only Memory
- a first interface to an nth interface for input/output a communication bus (Bus), etc.
- the user may input a user command through a graphical user interface (GUI) displayed on the display 160, and the user input interface receives the user input command through the graphical user interface (GUI).
- GUI graphical user interface
- the user may input a user command through a specific voice or gesture, and the user input interface may recognize the voice or gesture through a sensor to receive the user input command.
- a user interface is the medium for interaction and information exchange between an application or operating system and the user. It converts information between its internal form and a user-friendly form.
- a common user interface is the graphical user interface (GUI), which refers to a graphical user interface related to computer operations. It can be an icon, window, control, or other interface element displayed on an electronic device's display. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
- FIG10 is a schematic diagram of the software system architecture of a display device 100 according to some embodiments.
- the software system includes at least one or more of an application (App) layer, a system framework (Framework) layer (referred to as the "Framework layer”), a dynamic library (Library), and a Bluetooth driver.
- App application
- Framework system framework
- Library dynamic library
- Bluetooth driver a Bluetooth driver
- the application layer is used to deploy television-related functions.
- the application layer includes at least one or more of TV settings (TVSettings) or TV services (TVService).
- TVSettings TV settings
- TVService TV services
- the system framework layer includes one or more of the following modules: Bluetooth interface (Bluetooth API), Bluetooth application (Bluetooth APK), and audio (audio) module.
- Bluetooth interface Bluetooth API
- Bluetooth application Bluetooth APK
- audio audio
- Bluetooth applications may include specifications related to the Bluetooth protocol, such as one or more of the A2DP application specification, the LE Audio application specification, and the Hearing Aid application specification.
- the A2DP (Advanced Audio Distribution Profile) application specification is a media audio application specification in classic Bluetooth
- the LE Audio application specification is a low-power audio application specification based on Bluetooth
- the Hearing Aid application specification is a hearing aid application specification based on Bluetooth Low Energy (BLE).
- BLE Bluetooth Low Energy
- the dynamic library includes one or more of the Bluetooth protocol stack and the Bluetooth audio HAL layer.
- the Bluetooth protocol stack is primarily responsible for scanning, connecting, and configuring Bluetooth devices. When establishing a Bluetooth connection with a Bluetooth device, the display device can send relevant data to the Bluetooth protocol stack through the Bluetooth application in the display device.
- the Bluetooth driver is mainly responsible for the Bluetooth connection between the display device and surrounding Bluetooth devices.
- the Bluetooth protocol stack may also include a Generic Audio Framework (GAF); GAF also includes the Common Audio Profile (CAP), Common Audio Service (CAS), audio stream transmission management, and volume control.
- audio stream transmission management includes the Basic Audio Profile (BAP), Audio Capability Presentation Service (PACS), Audio Stream Control Service (ASCS), and Broadcast Audio Scan Service (BASS).
- BAP Basic Audio Profile
- PPS Audio Capability Presentation Service
- ASCS Audio Stream Control Service
- BASS Broadcast Audio Scan Service
- BASS is required for broadcast synchronization in the disclosed embodiments.
- Volume control includes: Voice Control Profile (VCP), Volume Control Service (VCS), Voice Offset Control Service (VOCS), and Audio Input Control Service (AICS).
- FIG 11 is a block diagram of the hardware configuration of a Bluetooth device 200 according to some embodiments.
- Bluetooth device 200 includes a processor 210, a communicator 220, a user input/output interface 230, a memory 240, and a power supply 250.
- Communicator 220 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, NFC, or alternative modules.
- User input/output interface 230 includes at least one of a speaker, a microphone, a touchpad, a sensor, a button, or alternative modules.
- FIG12 is a flowchart of an audio broadcasting method according to some embodiments. As shown in FIG12 , the method may include but is not limited to the following steps S1202-S1204:
- the audio track is used to store audio data of the language corresponding to the audio track.
- the target audio and video resource may be the audio and video resource currently being played by the display device.
- FIG13 (a) is a schematic diagram of an audio playback page according to some embodiments, and the audio and video resource being played on the page is the target audio and video resource.
- the target audio and video resource can also be any video resource among the audio and video resources to be played.
- Figure 13 (b) is a schematic diagram of an audio and video resource list page according to some embodiments, wherein multiple audio and video resources to be played are displayed on the page, such as audio and video resource A, audio and video resource B, and audio and video resource C, etc.
- audio and video resource B is determined as the target audio and video resource, and the audio track of the target audio and video resource is obtained.
- the audio and video resources include at least one or more of audio resources and video resources.
- the audio and video resources may be pre-stored on the display device or acquired by the display device according to preset conditions.
- the target audio and video resource may be an audio resource downloaded from a multimedia server according to a specific address and currently being played on the display device.
- an audio track (called Audio Track in English) can be used to indicate the audio information included in the target audio and video resource, and different audio tracks correspond to different audio information; there is a one-to-one correspondence between the audio track and the language of the target audio and video resource, for example, one audio can correspond to one language, and the audio track can be used to store audio data of the corresponding language.
- the target audio and video resource includes multiple languages, such as Chinese, English, and French
- the audio and video resource may include three audio tracks, such as Track 1, Track 2, and Track 3, and there is a correspondence between the above audio tracks and the languages, for example, Track 1 corresponds to Chinese, Track 2 corresponds to English, and Track 3 corresponds to French.
- an audio track may include one or more channels (called Channels in English), where a channel may be used to represent a transmission and processing channel of an audio signal in a physical or virtual environment.
- audio track data of the target audio and video resource can also be obtained in response to a first key command for the target audio and video resource; wherein the audio track data includes information on the number of audio tracks and audio track information of each audio track, and the audio track information includes audio track language information and audio track decoding information, the audio track language information is used to identify the language type of the corresponding audio track, and the audio track decoding information is used to identify the decoding method supported by the corresponding audio track.
- the first key instruction for the target audio and video resource may include a track menu call-out instruction sent by the user to the display device through a remote control or other associated device, or a touch operation performed by the user on the display of the display device to call out the track menu.
- the audio track decoding information of each audio track may include a hard decoding type, a soft decoding type, or a hard and soft decoding type, wherein the hard decoding type is used to indicate that the corresponding audio track only supports hard decoding, the soft decoding type is used to indicate that the corresponding audio track only supports soft decoding, and the hard and soft decoding type is used to indicate that the corresponding audio track supports both hard decoding and soft decoding.
- the target audio and video resource before obtaining the audio track of the target audio and video resource, it can also include: determining whether the target audio and video resource is in a playing state. If it is determined that the target audio and video resource is in a playing state, it means that the display device has obtained the audio data of the target audio and video resource, and the step of obtaining the audio track of the target audio and video resource is executed at this time.
- the target audio and video resources can also be decoded to obtain the audio information of the target audio and video resources, and then the number of audio tracks and audio track names of the target audio and video resources can be determined based on the audio information of the target audio and video resources.
- the embodiments of the present disclosure do not limit the execution order of the above steps.
- the step of "determining whether the target audio and video resource is in a playback state” can be executed first, and then the step of "obtaining the audio track of the target audio and video resource” can be executed; one or more steps can also be added before the above steps.
- the step of "decoding the target audio and video resource” can be added, so as to play the decoded target audio resource on the display device.
- the audio broadcast trigger operation for the audio tracks of the target audio and video resources is monitored; after receiving the audio broadcast trigger operation for at least two audio tracks of the audio tracks of the target audio and video resources, the sound output device is controlled to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the first target audio track can be any one of at least two pre-configured target audio tracks.
- the at least one or more second target audio tracks include target audio tracks other than the first audio track in the at least two target audio tracks.
- the audio tracks of the target audio and video resources include Chinese audio tracks and English audio tracks, wherein, when the first target audio track is a Chinese audio track, the second target audio track is an English audio track; assuming that the audio tracks of the target audio and video resources include Chinese audio tracks, English audio tracks and Japanese audio tracks, wherein, when the first target audio track is an English audio track, the second target audio track can be at least one of the Chinese audio track and the Japanese audio track.
- the audio broadcast triggering operation for at least two target audio tracks in the audio tracks of the target audio and video resources may include a triggering operation for switching only the audio broadcast control on a page where the at least two target audio tracks are located.
- a multi-audio track sharing control is displayed, wherein the multi-audio track sharing control is used to trigger a multi-audio track sharing operation for the target audio and video resources.
- a multi-audio track sharing control is displayed on the playback page of the target audio and video resource to prompt the user to trigger the multi-audio track sharing operation for the target audio and video resource through the multi-audio track sharing control.
- the process of displaying the track name information corresponding to the track language information in the track data it is also possible to respond to audio broadcast instructions for at least two target tracks in the track data and control the Bluetooth module to issue one or more Bluetooth broadcasts based on at least two tracks.
- the audio track format information in the audio track data of the target audio and video resource can be obtained, and then the audio track decoding information of the corresponding audio track can be determined based on the audio track format information, and the audio track decoding information can be added to the audio track information of the audio track in the audio track data.
- soft decoding involves using algorithms and program code to calculate and convert the compressed audio data to obtain the original audio data.
- Hard decoding involves using hardware chips to convert and decode the compressed audio data to obtain the original audio data.
- the audio track array of the target audio and video resource can be obtained by calling an interface, where the array includes multiple audio tracks and the format field corresponding to each audio track, that is, the audio track format information in the audio track data. Then, by parsing the format field, the audio track decoding information of the audio track corresponding to the audio track format information is obtained, and the audio track decoding information is added to the audio track information of the corresponding audio track to identify the decoding method supported by the audio track.
- the track information of the audio track can also be stored in the form of an array.
- the audio track information of audio track A can be stored in an Audio TrackBean array.
- the audio track information of audio track A may include: track index information, track language information, track type information, track format information, track name information corresponding to the track language information, and track decoding information determined based on the track format information.
- the preset rules may include: if the audio and video format indicated by the audio track format information belongs to the preset first format set, then determining that the audio track corresponding to the audio track format information only supports hard decoding, and adding audio track decoding information identifying the hard decoding type to the audio track information of the audio track in the audio track data.
- the preset first format set may include at least one of the following audio and video formats: audio/x-ac4 audio and video format, audio/dts-hd audio and video format, audio/dts-lbr audio and video format, audiop/dts-true-hd audio and video format, etc. If it is determined that the audio and video format of a certain audio track belongs to any of the audio and video formats in the preset first format set, it can be determined that the decoding type supported by the audio track is the hard decoding type.
- the audio and video format indicated by the audio track format information belongs to a preset second format set, it is determined that the audio track corresponding to the audio track format information supports both soft decoding and hard decoding, and the audio track decoding information identifying the soft and hard decoding types is added to the audio track information of the audio track in the audio track data.
- the preset second format set may include at least one of the following audio and video formats: audio/mpeg2 audio and video format, audio/mpeg4 audio and video format, audio/x-ac3 audio and video format, audio/x-eac3 audio and video format, audio/x-dts audio and video format, etc. If it is determined that the audio and video format of a certain audio track belongs to any of the audio and video formats in the preset second format set, it can be determined that the audio track can support both hard decoding type and soft decoding type.
- the audio and video format indicated by the audio track format information does not belong to the preset first format set and does not belong to the preset second format set, it is determined that the audio track corresponding to the audio track format information only supports soft decoding, and the audio track decoding information identifying the soft decoding type is added to the audio track information of the audio track in the audio track data.
- a media center is also deployed on the display device.
- the media center receives a start playback instruction for the target audio and video resource, it sends the playback address of the target audio and video resource to the player, so that the player plays the target audio and video resource based on the playback address.
- the track name information corresponding to the track language information in the track data can also be displayed in response to a trigger operation on the multi-track sharing control; wherein the track name information is used to select at least two target tracks.
- the triggering operation for the multi-track sharing control may include a user's touch operation on the multi-track sharing control, or a selection instruction for the multi-track sharing control sent by the user to the display device through the remote control of the display device or other associated device.
- the acquired audio track data of the target audio and video resource includes audio track 1 and audio track 2, wherein the audio track language information corresponding to audio track 1 is ENG, and the audio track language information corresponding to audio track 2 is CH.
- a multi-audio track sharing control is displayed.
- the audio track name corresponding to the audio track language information CH of audio track 2 i.e., "Chinese
- the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
- audio channels may include more traditional output channels such as a local speaker output channel, a Universal Serial Bus (USB) audio output channel, and a High Definition Multimedia Interface (HDMI) output channel. They may also include audio output channels established based on a Broadcast Media Sender (BMS).
- BMS Broadcast Media Sender
- the current audio channel may be any of the aforementioned audio output channels.
- the display device can also, when receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, first switch the current audio channel to the Bluetooth broadcast channel, and after the switching is successful, control the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and issue a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks.
- the audio tracks of the target audio and video resources are first obtained, wherein one audio track corresponds to one language; then, it is determined whether the number of audio tracks of the target audio and video resources is not less than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset number threshold, then upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, the sound output device is controlled to play the audio data corresponding to the first target audio track, and a Bluetooth broadcast is issued based on one or more second target audio tracks among the at least two target audio tracks.
- the embodiment of the present disclosure controls the sound output device to play the first target audio track, and issues at least one Bluetooth broadcast for one or more target audio tracks other than the first target audio track, so as to realize the function of simultaneous playback of multiple languages for the same audio and video resource by using the sound output device and audio broadcasting.
- the display device after obtaining the audio tracks of the target audio/video resource, it may also be determined whether the display device supports the LE audio protocol. Specifically, this is determined by obtaining local configuration information of the display device. If it is determined that the display device supports the LE audio protocol and the number of audio tracks of the target audio/video resource currently being played is not less than a first preset threshold, the display is controlled to display a multi-track sharing control.
- the display device when displaying the audio track names and multilingual sharing controls of the target audio and video resources on the multilingual sharing page, the display device can also continue to play the target audio and video resources based on the current playback progress when receiving a cancel sharing trigger operation for at least two target audio tracks.
- the target Bluetooth audio device can be any one or more devices that support the LE audio protocol and/or the A2DP protocol. In actual applications, if the target Bluetooth audio device includes multiple devices that support the LE audio protocol and/or the A2DP protocol, the current audio channel will be switched to the last connected device by default, and the audio data of the target audio and video resources will be played by this device.
- the sound output device is controlled to play the audio data corresponding to the first target audio track according to the current playback progress.
- the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel” can be executed first, and then the step of “controlling the sound output device to play the audio data corresponding to the target audio track of the target audio and video resource according to the current playback progress" can be executed.
- the step of “controlling the sound output device to play the audio data corresponding to the target audio track of the target audio and video resource according to the current playback progress” can also be executed first, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel", the step of "determining whether there is a target Bluetooth audio device currently connected” can be added.
- S1602 In response to a first key command for a target audio and video resource, obtain audio track data of the target audio and video resource; wherein the audio track data includes information on the number of audio tracks and audio track information of each audio track, the audio track information includes audio track language information and audio track decoding information, the audio track language information is used to identify the language type of the corresponding audio track, and the audio track decoding information is used to identify the decoding method supported by the corresponding audio track.
- S1604 If the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, and the audio track decoding information in the audio track data meets the preset decoding condition, then display a multi-audio track sharing control; wherein the preset decoding condition is that the audio track data includes at least one audio track that supports hard decoding and at least one audio track that supports soft decoding, and the multi-audio track sharing control is used to trigger a multi-audio track sharing operation for the target audio and video resource.
- the preset decoding condition is that the audio track data includes at least one audio track that supports hard decoding and at least one audio track that supports soft decoding
- the multi-audio track sharing control is used to trigger a multi-audio track sharing operation for the target audio and video resource.
- a multi-audio track sharing control is displayed.
- the present disclosure determines whether the audio track decoding information in the audio track data of the target audio and video resource meets preset decoding conditions. If it is determined that the number of audio tracks of at least two target audio tracks is not less than a preset first number threshold and the audio track decoding information in the audio track data meets the preset decoding conditions, the multi-track sharing control is displayed. If the preset decoding conditions are not met, the multi-track sharing control is not displayed.
- S1606 In response to audio broadcast instructions for at least two target audio tracks in the audio track data, control the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks.
- the user can trigger the multi-track sharing control to send a trigger instruction to the display device.
- the display device displays the track name information corresponding to the track language information in the track data, so that the user can understand the language type of the shared track based on the track name information.
- a user while displaying the audio track name information and audio broadcast controls corresponding to the audio track language information of a target audio or video resource, a user can also trigger an audio broadcast instruction for at least two target audio tracks in the audio track data to be sent to a display device by triggering the audio broadcast control.
- the display device Upon receiving the audio broadcast instruction for at least two target audio tracks in the audio track data, the display device controls the Bluetooth module to issue one or more Bluetooth broadcasts based on the at least two target audio tracks, thereby achieving the function of simultaneous multi-language playback of the same audio or video resource.
- the display device in response to the audio broadcast instruction for at least two target audio tracks in the audio track data, can further control the sound output device to play audio data corresponding to a first target audio track of the at least two target audio tracks, and control the Bluetooth module to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the display device can also control the sound output device to stop playing the target audio and video resources in response to the audio broadcast instruction for at least two target audio tracks in the audio track data, and control the Bluetooth module to issue multiple Bluetooth broadcasts based on the at least two target audio tracks.
- audio track data of the target audio and video resource in response to a first key instruction for a target audio and video resource, audio track data of the target audio and video resource is obtained, wherein the audio track data includes audio track quantity information and audio track information and audio track decryption information of each audio track, the audio track language information is used to identify the language type of the corresponding audio track, and the audio track decoding information is used to identify the decoding type supported by the corresponding audio track; if the number of audio tracks indicated by the audio track quantity information is not less than a preset first quantity threshold, and the audio track decoding information meets the preset decoding condition, a multi-audio track sharing control is displayed, wherein the preset decoding condition is that the audio track data includes at least one audio track that supports hard decoding and at least one audio track that supports soft decoding; in response to an audio broadcast instruction for at least two target audio tracks in the audio track data, the Bluetooth module is controlled to issue one or more Bluetooth broadcasts based on the at least two target audio tracks.
- S1702 Acquire the audio track of the target audio and video resource; wherein there is a one-to-one correspondence between the audio track and the language, and the audio track is used to store audio data of the language corresponding to the audio track.
- S1706 In response to a triggering operation on the multi-audio track sharing control, determine whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold.
- the display device when the display device receives a trigger operation for a multi-audio track sharing control, it first determines whether the number of audio tracks of the target audio and video resources is greater than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is greater than the preset number threshold, the identifier of the audio track of the target audio and video resources is displayed.
- the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resource is 3, when a trigger operation for a multi-track sharing control is received, it is determined that the number of audio tracks of the target audio and video resource is greater than the preset quantity threshold, and the identifier of the audio track of the target audio and video resource is displayed.
- Figure 18 is a flowchart of an audio broadcast switching process according to some embodiments, wherein (a) in Figure 18 shows an audio track menu page on a display device, in which the language corresponding to the shared audio track can be selected, and (b) in Figure 18 is a schematic diagram of an audio track selection pop-up window according to some embodiments, which displays the identifier of the audio track of the target audio and video resource, such as Chinese, English, and Japanese, etc. Each audio track identifier has a corresponding check box. The number of audio tracks that the user can share does not exceed the preset quantity threshold.
- the pop-up window can also display the words "Please select the shared audio track, only supports Bluetooth devices with LE audio protocol" to prompt the user to select multiple languages for sharing.
- S1710 Receive at least two target audio tracks selected from the audio tracks of the target audio and video resources.
- the display device when the display device receives the user's selection instruction for any two or more audio tracks, it determines the above-mentioned at least two audio tracks as the target audio tracks to be broadcast synchronously. Subsequently, when it receives the audio broadcast trigger operation for at least two target audio tracks, it controls the sound output device to play the audio data corresponding to any one of the at least two target audio tracks, and issues a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the sound output device When an audio broadcast trigger operation for the at least two target audio tracks is received, the sound output device is controlled to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks.
- the display device in the process of controlling the display to display the identification of the audio track of the target audio and video resource, the display device first receives at least two target audio tracks selected from the audio tracks of the target audio and video resource; then, upon receiving an audio broadcast trigger operation for the at least two target audio tracks, the sound output device is controlled to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks.
- the audio broadcast triggering operation for at least two target audio tracks may include a triggering operation for a confirmation sharing control on the page where the at least two target audio tracks are located.
- the audio played by the sound output device before bilingual sharing is audio data corresponding to the Chinese audio track
- the Chinese audio track and the English audio track are determined as target audio tracks.
- a "Confirm Sharing" control may be displayed on the audio track selection pop-up window.
- the sound output device may be controlled to play the audio data corresponding to the Chinese audio track and to issue a Bluetooth broadcast based on the English audio track.
- controlling the audio decoder and the video decoder to decode the target audio and video resources means that when the audio decoder and the video decoder are restarted, the audio decoder is controlled to decode the audio data according to the playback progress information, and the video decoder is controlled to decode the video data according to the playback progress information.
- the prompt "Bluetooth broadcast has been set" can also be displayed on the playback page of the target audio and video resources, as shown in (c) in Figure 20, to prompt the user that the Bluetooth broadcast switch is successful and the audio and video resources are being broadcast simultaneously in two or more languages.
- the embodiment of the present disclosure records the playback progress information of the target audio and video resources, and controls the audio decoder or video decoder to decode the target audio and video resources according to the playback progress information, so that the display device can keep the progress of audio data and target audio and video resources consistent when switching from the current audio channel to the Bluetooth broadcast audio channel.
- the Bluetooth module after receiving the assembled audio data, splits the audio data corresponding to at least two target audio tracks from the assembled audio data. Furthermore, based on the audio data corresponding to the at least two target audio tracks, one or more Bluetooth broadcasts are issued, thereby realizing the function of simultaneous multi-language playback of the same target audio and video resources.
- the display device before controlling the Bluetooth module to send one or more Bluetooth broadcasts based on at least two target audio tracks, can also send audio track decoding information corresponding to at least two target audio tracks to the player; then control the player to decode the target audio and video resources based on the audio track decoding information corresponding to at least two target audio tracks to obtain audio data corresponding to at least two target audio tracks.
- the player after receiving the audio track decoding information corresponding to the two target audio tracks respectively, the player decodes the target audio track based on the decoding type identified by the audio track decoding information of the target audio track to obtain the audio data corresponding to the target audio track.
- the player can perform hard decoding processing on audio track 1 according to the decoding type of audio track 1 to obtain the audio data corresponding to audio track 1.
- the decoding type of audio track 2 is soft decoding
- the player can perform soft decoding processing on audio track 2 according to the decoding type of audio track 2 to obtain the audio data corresponding to audio track 2.
- the player decodes the target audio and video resources based on the audio track decoding information, obtains the audio data corresponding to at least two target audio tracks, and then sends one or more Bluetooth broadcasts based on the audio output corresponding to the at least two target audio tracks, thereby realizing the function of simultaneous multi-language playback of the target audio and video resources.
- the embodiment of the present disclosure controls the Bluetooth protocol stack to encapsulate the decoded audio data corresponding to at least two target audio tracks into the corresponding BIS stream according to the preset correspondence between the audio track and the BIS stream, and then sends a broadcast based on the BIS stream, so that the Bluetooth broadcast can be sent more accurately.
- BIS1 corresponds to audio track 1
- BIS2 corresponds to audio track 2.
- FIG. 21 is a schematic diagram of the mapping relationship between a target audio track and a BIS stream according to some embodiments.
- audio track 1 and audio track 2 respectively identify audio data in different languages obtained by decoding, such as Chinese audio data and English audio data.
- Audio track 1 has a corresponding relationship with subgroup 0, and audio track 2 has a corresponding relationship with subgroup 1; subgroup 0 and subgroup 1 are different group identifiers, subgroup 0 includes BIS0 and BIS1, and subgroup 1 includes BIS2 and BIS3.
- the display device when it receives an audio broadcast instruction for at least two target audio tracks, it can also control the Bluetooth module to send the broadcast information corresponding to the first target audio track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast based on the broadcast information.
- the target audio track includes two tracks, Chinese and English, where the Chinese audio track includes a left channel and a right channel, and the English audio track includes a left channel and a right channel
- the BIS0 corresponding to the left channel of the Chinese audio track, the BIS1 corresponding to the right channel of the Chinese audio track, the BIS2 corresponding to the left channel of the English audio track, and the BIS3 corresponding to the right channel of the English audio track can be encapsulated in the target header information to obtain processed audio data carrying the target header information.
- the Bluetooth protocol stack will encapsulate the audio data of track 1 in BIS0, and the audio data of track 2 in BIS1, and send multiple Bluetooth broadcasts based on BIS0 and BIS2.
- the display device can also obtain audio track language information of at least two target audio tracks when receiving an audio broadcast instruction for at least two target audio tracks in the audio track data, and configure a subgroup name based on the audio track language information, wherein the subgroup name is used to constitute the broadcast source information corresponding to the target audio track containing the audio track language information.
- the display device may also configure the subgroup name based on the audio track language information of at least two target audio tracks when receiving an audio broadcast instruction for at least two target audio tracks in the audio data, and synchronize the successfully configured subgroup name to the Bluetooth module.
- the display device when it receives an audio broadcast instruction for at least two target audio tracks in the audio track data, it can also complete the process of obtaining the audio track language information of at least two target audio tracks in the media center, and configuring the corresponding subgroup name for the audio track language information, and synchronize the successfully configured subgroup name to the Bluetooth module.
- Figure 22 is a device configuration flow chart according to some embodiments, wherein the audio and video playback page shown in Figure 22 (a) is playing the audio data corresponding to the first target audio track by the sound output device, and issuing a Bluetooth broadcast based on at least one second target audio track. After completing the Bluetooth broadcast setting, the audio and video playback page shown in Figure 22 (a) can also automatically jump to the device management page to prompt the user to configure the corresponding LE audio device for each audio track;
- Figure 22 (b) is a schematic diagram of a device management page according to some embodiments. As shown in the figure, the page displays connected LE audio devices, such as device A and device B.
- the display device may also receive a second target audio track configured for a first LE audio device among the connected LE audio devices and send broadcast source information corresponding to the second target audio track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast corresponding to the target audio track based on the broadcast source information.
- the first LE audio device may be any of the connected LE audio devices displayed on the device management page.
- the display device controls the display to display the device management page, it can also control the Bluetooth module to scan for devices and control the display to display the scanned LE audio devices on the device management page.
- the second LE audio device can be any LE audio device among the scanned LE audio devices, and the second LE audio device can be the same device as the first LE audio device.
- FIG23 is a schematic diagram illustrating a change in a device connection state according to some embodiments, wherein the device management page shown in FIG23(a) displays LE audio devices scanned by the Bluetooth module, such as device C and device D.
- a connection request for a second LE audio device e.g., device D
- a connection is established with device D.
- the connected device D is displayed in the connected device list on the device management page, as shown in FIG23(b).
- Device D is now in the connected device list.
- a track selection page as shown in FIG23(c) is displayed, wherein at least one second target track is displayed on the page.
- the embodiment of the present disclosure does not limit the execution order of the above steps.
- the step of "displaying the connected LE audio device on the device management page” can be executed first, and then the step of "controlling the display to display the scanned LE audio device on the device management page” can be executed.
- the step of "controlling the display to display the scanned LE audio device on the device management page” can be executed first, and then the step of "displaying the connected LE audio device on the device management page” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "displaying the connected second LE audio device on the device management page", the step of "establishing a connection with the second LE audio device” can be added.
- the track configuration page in the embodiment of the present disclosure may be, for example, the track selection page shown in (c) of FIG. 22 , which displays the track names of at least two target tracks, such as a Chinese track and an English track.
- the TV first obtains the audio tracks of the target audio and video resources, and then determines whether the number of audio tracks of the target audio and video resources is less than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset number threshold, then when an audio broadcast trigger operation is received for at least two target audio tracks among the audio tracks of the target audio and video resources, the sound output device is controlled to mute, and multiple Bluetooth broadcasts are sent based on the at least two target audio tracks.
- FIG25 is a flowchart diagram of an audio broadcasting method according to some embodiments. As shown in FIG25, the method may include but is not limited to the following steps S2502-S2504:
- S2502 Acquire the audio track of the target audio and video resource; wherein there is a one-to-one correspondence between the audio track and the language, and the audio track is used to store audio data of the language corresponding to the audio track.
- the target audio and video resource before obtaining the audio track of the target audio and video resource, it can also include: determining whether the target audio and video resource is in a playing state. If it is determined that the target audio and video resource is in a playing state, it means that the display device has obtained the audio data of the target audio and video resource, and the step of obtaining the audio track of the target audio and video resource is executed at this time.
- the target audio and video resources can also be decoded to obtain the audio information of the target audio and video resources, and then the number of audio tracks and audio track names of the target audio and video resources can be determined based on the audio information of the target audio and video resources.
- the embodiments of the present disclosure do not limit the execution order of the above steps.
- the step of "determining whether the target audio and video resource is in a playback state” can be executed first, and then the step of "obtaining the audio track of the target audio and video resource” can be executed; one or more steps can also be added before the above steps.
- the step of "decoding the target audio and video resource” can be added, so as to play the decoded target audio resource on the display device.
- the audio broadcast trigger operation for the audio tracks of the target audio and video resources is monitored; after receiving the audio broadcast trigger operation for at least two of the audio tracks of the target audio and video resources, the sound output device is controlled to be muted, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
- the audio tracks of the target audio and video resources are first obtained, wherein one audio track corresponds to one language; then, it is determined whether the number of audio tracks of the target audio and video resources is not less than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset number threshold, upon receiving an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, the sound output device is controlled to be muted, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
- the embodiment of the present disclosure implements the function of simultaneous multi-language playback for the same audio and video resource by using audio broadcasting by issuing at least one Bluetooth broadcast for each target audio track.
- the display device can support 2 audio tracks shared simultaneously.
- the display is controlled to display a multi-audio track sharing control with the words "Bilingual Sharing".
- FIG 14 (c) is a schematic diagram of a multilingual sharing page according to some embodiments, wherein the page displays the identifier of the audio track of the target audio and video resource, such as Chinese, English, etc. In addition, the page also displays a "Switch Audio Broadcast Only" control. When a trigger operation is received for this control, the sound output device is controlled to be muted, and multiple Bluetooth broadcasts are issued based on the Chinese audio track and the English audio track.
- the display device may first determine whether the number of audio tracks of the target audio and video resources is equal to a preset number threshold when receiving a trigger operation for the multi-language sharing control. If it is determined that the number of audio tracks of the target audio and video resources is equal to the preset number threshold, the identifier of the audio track of the target audio and video resources is displayed; when receiving an audio broadcast trigger operation for the audio track of the target audio and video resource, the sound output device is controlled to be muted, and multiple Bluetooth broadcasts are issued based on the audio track of the target audio and video resource.
- the display device can also continue to play the target audio and video resources based on the original progress when receiving a cancel sharing trigger operation for at least two target audio tracks.
- the display device can also control the Bluetooth module to cut out the current audio channel from the Bluetooth broadcast and control the sound output device to continue playing the target audio and video resources in response to a cancel sharing instruction for at least two target audio tracks while displaying the audio track name information corresponding to the audio track language information in the audio track data.
- the sound output device is controlled to play the audio data corresponding to the third audio track of the target audio and video resource according to the current playback progress.
- the third audio track can be any audio track of the acquired target audio and video resource.
- FIG26 is a flowchart of an audio broadcasting method according to some embodiments. As shown in FIG26, the method may include but is not limited to the following steps S2602-S2612:
- steps S2602-S2604 can be specifically understood with reference to steps S2502-S2504 in the method shown in Figure 25, and will not be described in detail here.
- S2606 In response to a triggering operation on the multi-track sharing control, determine whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold.
- the display device when the display device receives a trigger operation for a multi-audio track sharing control, it first determines whether the number of audio tracks of the target audio and video resources is greater than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is greater than the preset number threshold, the identifier of the audio track of the target audio and video resources is displayed.
- the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resource is 3, when a trigger operation for a multi-track sharing control is received, it is determined that the number of audio tracks of the target audio and video resource is greater than the preset quantity threshold, and the identifier of the audio track of the target audio and video resource is displayed.
- Figure 27 is a fourth flow diagram of an audio broadcast switching process according to some embodiments, wherein Figure 27 (a) shows an audio track menu page on a display device, in which the language corresponding to the shared audio track can be selected, and Figure 27 (b) is a schematic diagram of an audio track selection pop-up window according to some embodiments, which displays the identifier of the audio track of the target audio and video resource, such as Chinese, English, and Japanese, etc. Each audio track identifier has a corresponding check box. The number of audio tracks that the user can share does not exceed the preset quantity threshold.
- the pop-up window can also display the words "Please select the shared audio track.
- the audio will be sent in the form of Bluetooth broadcast. Only Bluetooth devices that support the LE audio protocol" to prompt the user to select multiple languages for sharing.
- S2610 Receive at least two target audio tracks selected from the audio tracks of the target audio and video resources.
- S2612 In response to the audio broadcast triggering operation for the at least two target audio tracks, control the sound output device to be muted, and issue multiple Bluetooth broadcasts based on the at least two target audio tracks.
- the audio broadcast triggering operation for at least two target audio tracks may include a triggering operation for a confirmation sharing control on the page where the at least two target audio tracks are located.
- the Chinese audio track and the English audio track are determined as target audio tracks.
- a "Confirm Sharing" control may be displayed on the audio track selection pop-up window. After the target audio track is selected, upon receiving a triggering operation for the "Confirm Sharing" control, the sound output device may be muted, and multiple Bluetooth broadcasts may be issued based on the target audio tracks.
- the embodiment of the present disclosure does not limit the execution order of the above steps.
- the step of "determining whether the number of audio tracks of the target audio and video resources is not less than the preset number threshold” can be executed first, and then the step of "displaying the identification of at least two target audio tracks in the audio tracks of the target audio and video resources” can be executed.
- the step of "determining whether the number of audio tracks of the target audio and video resources is greater than the preset number threshold” can be executed first, and then the step of "displaying the identification of the audio tracks of the target audio and video resources” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "muting the sound output device", the step of "switching the current audio channel to the Bluetooth broadcast channel” can be added.
- the embodiment of the present disclosure can, during the process of displaying the audio tracks of the target audio and video resources, after receiving the user's selection operation for at least two target audio tracks among the audio tracks, control the sound output device to mute, and send multiple Bluetooth broadcasts based on the at least two target audio tracks, thereby realizing the function of simultaneously broadcasting audio and video resources in two or more languages.
- the display device when it receives an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, it first controls the sound output device to mute, and controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel; then controls the player to pause playing the target audio and video resources, and obtains the playback progress information of the target audio and video resources; further, when it is determined that the Bluetooth broadcast channel switch is successful, restarts the audio decoder and the video decoder, and controls the audio decoder and the video decoder to decode the target audio and video resources based on the playback progress information and at least two target audio tracks, and sends the decoded audio data to the Bluetooth protocol stack, so that the Bluetooth protocol stack can send multiple Bluetooth broadcasts based on the decoded audio data, thereby realizing the function of simultaneous playback of multiple languages for the same audio and video resource.
- FIG. 22( c ) is a schematic diagram of a track selection page according to some embodiments, on which at least two target tracks are displayed, along with a prompt message stating “Please select the track to be received by Bluetooth device B,” prompting the user to select the track (i.e., Chinese) to be received for device B (i.e., the first LE audio device).
- broadcast source information corresponding to the target track is sent to device B, so that device B can receive the Bluetooth broadcast corresponding to the target track based on the broadcast source information.
- the TV first obtains the audio tracks of the target audio and video resources, and then determines whether the number of audio tracks of the target audio and video resources is less than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset number threshold, then when an audio broadcast trigger operation is received for at least two target audio tracks among the audio tracks of the target audio and video resources, the sound output device is controlled to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and multiple Bluetooth broadcasts are sent based on the at least two target audio tracks.
- the display device when the display device receives an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, it first controls the sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and then switches the current audio channel to the Bluetooth broadcast channel. After the switch is successful, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
- FIG 32 is a sixth flowchart of an audio broadcast switching process according to some embodiments.
- the audio track selection pop-up window shown in Figure 32 (b) is displayed, and the pop-up window displays the identifier of the audio track of the target audio and video resource and controls such as "Select speaker audio track”; after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resource, such as a Chinese audio track and an English audio track, when a trigger operation is received for the "Select speaker audio track” control, the current pop-up window is switched to the speaker audio track selection pop-up window shown in Figure 32 (c).
- the English audio track is determined as the first target audio track, and when a trigger operation is received for the "Confirm sharing" control in the pop-up window, the sound output device is controlled to play the audio data corresponding to the English audio track, and multiple Bluetooth broadcasts are sent based on the at least two target audio tracks.
- the embodiment of the present disclosure can, in the process of displaying the audio tracks of the target audio and video resources, after receiving the user's selection operation for at least two target audio tracks among the audio tracks, control the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and send multiple Bluetooth broadcasts based on the at least two target audio tracks, so as to realize the function of simultaneous multi-language playback of the same audio and video resource by using audio broadcasting.
- the embodiment of the present disclosure can also, when receiving an audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources, first control the sound output device to play the audio data corresponding to the first target audio track of the at least two target audio tracks, and control the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel; then control the player to pause playing the target audio and video resources, and obtain the playback progress information of the target audio and video resources; further, when it is determined that the Bluetooth broadcast channel is switched successfully, restart the audio decoder, and control the audio decoder to decode the target audio and video resources according to the playback progress information and at least two target audio tracks, and send the decoded audio data to the Bluetooth protocol stack.
- the display device can also control the player to pause the playback of the target audio and video resources and obtain the playback progress information of the target audio and video resources when receiving an audio broadcast instruction for at least two target audio tracks in the audio data; when it is determined that the Bluetooth broadcast channel is switched successfully, restart the audio decoder, and control the audio decoder to decode the target audio and video resources based on the playback progress information and at least two target audio tracks, and send the decoded audio data to the Bluetooth protocol stack, so that the Bluetooth protocol stack can send multiple Bluetooth broadcasts based on the decoded audio data, thereby realizing the function of simultaneous playback of multiple languages for the same audio and video resources.
- the embodiment of the present disclosure does not limit the execution order of the above steps.
- the step of “controlling the player to pause playing the target audio and video resources” can be executed first, and then the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel” can be executed.
- the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel” can also be executed first, and then the step of "controlling the player to pause playing the target audio and video resources” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "issuing multiple Bluetooth broadcasts based on at least two target audio tracks", steps such as “restarting the audio decoder” or “restarting the audio decoder and video decoder” can be added.
- Figure 22 is a device configuration flow chart according to some embodiments, wherein the audio and video playback page shown in Figure 22 (a) is sending multiple Bluetooth broadcasts based on at least two target audio tracks. After completing the Bluetooth broadcast setting, the audio and video playback page shown in Figure 22 (a) can also automatically jump to the device management page to prompt the user to configure the corresponding LE audio device for each audio track;
- Figure 22 (b) is a schematic diagram of a device management page according to some embodiments, wherein the page displays connected LE audio devices, such as device A and device B.
- FIG23 is a schematic diagram illustrating a change in a device connection state according to some embodiments, wherein the device management page shown in FIG23(a) displays LE audio devices scanned by the Bluetooth module, such as device C and device D.
- a connection request for a second LE audio device e.g., device D
- a connection is established with device D.
- the connected device D is displayed in the connected device list on the device management page, as shown in FIG23(b).
- Device D is now in the connected device list.
- a track selection page as shown in FIG23(c) is displayed, wherein at least two target tracks are displayed on the page.
- a display device can be deployed in the airport hall, and multiple LE audio devices can be arranged in different areas of the airport.
- Multiple Bluetooth broadcasts are sent through the Bluetooth module of the display device deployed in the hall, and broadcast information corresponding to the target audio track is sent to the LE audio device.
- the broadcast information of audio track 1 is sent to the LE audio device in area A
- the broadcast information of audio track 2 is sent to the LE audio device in area B
- the broadcast information of audio track 3 is sent to the LE audio device in area C
- the broadcast information of audio track 4 is sent to the LE audio device in area D.
- the LE audio devices deployed in different areas receive the Bluetooth broadcast corresponding to the target audio track and play the audio data corresponding to the target audio track, so that the LE audio devices in different areas can play audio in different languages.
- FIG34 is a flowchart of an audio broadcasting method according to some embodiments. As shown in FIG34 , the method may include but is not limited to the following steps S3402-S3404:
- S3402 Acquire the audio track of the target audio and video resource; wherein there is a one-to-one correspondence between the audio track and the language, and the audio track is used to store audio data of the language corresponding to the audio track.
- the target audio and video resource may be the audio and video resource currently being played by the display device.
- FIG13 is a schematic diagram of an audio playback page according to some embodiments, and the audio and video resource being played on the page is the target audio and video resource.
- the display device may further, when determining that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, first control the display to display a multi-track sharing control, and when receiving a trigger operation for the multi-track sharing control, determine whether the number of audio tracks of the target audio and video resources is greater than the preset number threshold, and when determining that the number of audio tracks is greater than the preset number threshold, display the identifiers of at least two audio tracks of the audio tracks of the target audio and video resources; then, receive an audio broadcast trigger operation for the at least two target audio tracks, and issue a Bluetooth broadcast based on the at least two target audio tracks.
- the trigger operation for the multi-track sharing control may include a click operation on the multi-track sharing control, etc.
- FIG 14 (c) is a schematic diagram of a multi-audio track sharing page according to some embodiments, wherein the page displays the identification of the audio track of the target audio and video resource, such as Chinese, English, etc. In addition, the page also displays a "Connect Bluetooth device and switch" control.
- the display is controlled to display the device management page, and the connected LE audio device is displayed on the device management page, and the corresponding target audio track is configured for the LE audio device.
- the display device can also control the display to display a device management page and display the connected LE audio device on the device management page after controlling the Bluetooth module to send one or more Bluetooth broadcasts based on at least two target audio tracks; when receiving a track configuration instruction for the first LE audio device among the connected LE audio devices, control the display to display a track configuration page and display the track name information of at least two target audio tracks on the track configuration page.
- the device management page shown in Figure 22 (b) displays connected LE audio devices, such as device A and device B.
- the device management page shown in Figure 22 (b) jumps to the audio track configuration page shown in Figure 22 (c), and displays the track name information of at least two target audio tracks on the audio track configuration page, such as "Chinese” and "English”.
- the process of displaying the track name information of at least two target tracks on the track configuration page it is also possible to respond to a selection instruction for a fifth target track among the at least two target tracks, and send the broadcast source information corresponding to the fifth target track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast corresponding to the fifth target track based on the broadcast source information.
- the fifth target audio track may be any one of the at least two target audio tracks displayed on the audio track configuration page.
- the preset number threshold can be used to represent the number of audio tracks that the display device can support for simultaneous sharing, when it is determined that the number of audio tracks of the target audio and video resources is equal to the preset number threshold, it means that the number of audio tracks of the target audio and video resources is exactly the number of audio tracks that the display device can support for simultaneous sharing.
- the display device plays all the audio track contents of the target audio and video resources, thereby using audio broadcasting to achieve the function of simultaneous multi-language playback of the same audio and video resource.
- Figure 35 (b) is a schematic diagram of a device management page according to some embodiments, wherein the page displays connected LE audio devices, such as device A and device B.
- the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel” can be executed first, and then the step of “controlling the sound output device to play the audio data corresponding to the target audio track of the target audio and video resource according to the current playback progress" can be executed.
- the step of “controlling the sound output device to play the audio data corresponding to the target audio track of the target audio and video resource according to the current playback progress” can also be executed first, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel", the step of "determining whether there is a target Bluetooth audio device currently connected” can be added.
- the audio track menu page shown in (c) of Figure 14 displays a multi-audio track sharing control with the words "Bilingual Sharing".
- the multi-language sharing page shown in (a) of Figure 35 is displayed, and the device configuration control with the words "Connect Bluetooth device and switch” is displayed on the page.
- the display can also be controlled to display the device management page in response to a trigger instruction for the device configuration control, and the connected LE audio device can be displayed on the device management page; further, when a trigger instruction for the fourth target audio track selected for the first LE audio device among the connected LE audio devices is received, the track name information of the fourth target audio track is displayed at the display position of the first LE audio device on the device management page to identify the correspondence between the fourth target audio track and the first LE audio device.
- the audio track selection pop-up window shown in (c) in Figure 35 jumps to the device management page shown in (d) in Figure 35, and the track name corresponding to the first target audio track selected for "Bluetooth device A", i.e., "Chinese audio track", is displayed at the display position of "Bluetooth device A" on the device management page.
- the display device may also receive a first target audio track configured for a first LE audio device among the connected LE audio devices and send broadcast source information corresponding to the first target audio track to the first LE audio device, so that the first LE audio device receives the Bluetooth broadcast corresponding to the target audio track based on the broadcast source information.
- the first LE audio device may be any of the connected LE audio devices displayed on the device management page.
- the track selection page shown in Figure 35(c) may also display a "Continue to Select Device" control.
- a trigger operation is received for this control, the page jumps to the device management page shown in Figure 35(d), where a prompt "Chinese Track” is displayed for device A to remind the user that the track configuration for device A has been completed.
- the page jumps to the track selection page shown in Figure 35(e), where the track configuration for device B is implemented.
- Figure 36 is a schematic diagram of the change in device connection status according to some embodiments, wherein the multilingual sharing page shown in Figure 36 (a) displays a device configuration control with the words "Connect Bluetooth device and switch". When a trigger operation for the control is received, the Bluetooth module is controlled to scan for LE audio devices; the device display device management page shown in Figure 36 (b) displays LE audio devices scanned by the Bluetooth module, such as device C and device D; when a connection request for any LE audio device (such as device D) is received, a connection is established with device D.
- the connected LE audio devices are displayed on the device management page and the first target audio track is configured for the first LE audio device among the connected LE audio devices
- an audio broadcast trigger operation for at least two audio tracks is received
- multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
- the broadcast information corresponding to the first target audio track may include address information, device address, broadcast source address, broadcast packet cluster ID number, broadcast ID information, synchronization interval, whether encrypted, broadcast code, rendering delay time, SUB GROUP information, Android version information and other broadcast parameter information.
- the display device after receiving the first target audio track configured for the first LE audio device among the connected LE audio devices, the display device sends the broadcast information corresponding to the first target audio track to the first LE audio device when receiving the audio broadcast trigger operation for at least two target audio tracks. Furthermore, the first LE audio device receives the audio data of the first target audio track according to the broadcast information corresponding to the first target audio track.
- the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
- audio channels may include more traditional output channels such as a local speaker output channel, a Universal Serial Bus (USB) audio output channel, and a High Definition Multimedia Interface (HDMI) output channel. They may also include audio output channels established based on a Broadcast Media Sender (BMS).
- BMS Broadcast Media Sender
- the current audio channel may be any of the aforementioned audio output channels.
- the display device when it receives an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, it first controls the sound output device to mute, and then switches the current audio channel to the Bluetooth broadcast channel. After the switch is successful, multiple Bluetooth broadcasts are issued based on at least two target audio tracks.
- the embodiment of the present disclosure does not limit the execution order of the above steps.
- the step of “controlling the sound output device to mute” can be executed first, and then the step of “switching the current audio channel to the Bluetooth broadcast channel” can be executed, or the step of “switching the current audio channel to the Bluetooth broadcast channel” can be executed first, and then the step of "controlling the sound output device to mute” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "issuing multiple Bluetooth broadcasts based on at least two target audio tracks", steps such as “restarting the audio decoder” or “restarting the audio decoder and video decoder” can be added.
- S3702 Acquire the audio track of the target audio and video resource; wherein there is a one-to-one correspondence between the audio track and the language, and the audio track is used to store audio data of the language corresponding to the audio track.
- S3706 In response to a trigger operation on the multi-audio track sharing control, determine whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold.
- the display device when the display device receives a trigger operation for a multi-audio track sharing control, it first determines whether the number of audio tracks of the target audio and video resources is greater than a preset number threshold; if it is determined that the number of audio tracks of the target audio and video resources is greater than the preset number threshold, the identifier of the audio track of the target audio and video resources is displayed.
- the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resource is 3, when a trigger operation for a multi-audio track sharing control is received, it is determined that the number of audio tracks of the target audio and video resource is greater than the preset quantity threshold, and the identifier of the audio track of the target audio and video resource is displayed.
- Figure 38 is a flow chart of an audio broadcast switching process according to some embodiments, wherein (a) in Figure 38 shows an audio track menu page on a display device, in which the language corresponding to the shared audio track can be selected, and (b) in Figure 38 is a schematic diagram of an audio track selection pop-up window according to some embodiments, which displays the identifier of the audio track of the target audio and video resource, such as Chinese, English, and Japanese, etc. Each audio track identifier has a corresponding check box. The number of audio tracks that the user can share does not exceed the preset quantity threshold.
- the pop-up window can also display the words "Please select the shared audio track, only supports Bluetooth devices with LE audio protocol" to prompt the user to select multiple languages for sharing.
- S3710 Receive and display at least two target audio tracks selected from the audio tracks of the target audio and video resources.
- the display device when displaying the identification of the audio tracks of the target audio and video resources, when the display device receives the user's selection instruction for any two or more audio tracks, it determines the above-mentioned at least two audio tracks as the target audio tracks to be broadcast synchronously. Subsequently, when it receives the audio broadcast trigger operation for at least two target audio tracks, it issues multiple Bluetooth broadcasts based on the at least two target audio tracks, and sends the broadcast information corresponding to the first target audio track to the first LE audio device.
- S3712 When receiving the audio track configuration operation for at least two target audio tracks among the audio tracks of the target audio and video resources, control the display to display the device management page, and display the connected LE audio device on the device management page.
- S3714 Receive a first target audio track configured for a first LE audio device among the connected LE audio devices; wherein the first target audio track comprises at least two target audio tracks.
- the device management page upon receiving a configuration trigger operation for a first LE audio device, the device management page jumps to a track selection page, and displays target tracks that can be configured for the first LE audio device on the track selection page. Furthermore, upon receiving a selection operation for the first target track, the first target track is configured for the first LE audio device.
- the first LE audio device after configuring the first target audio track for the first LE audio device, it is also possible to issue multiple Bluetooth broadcasts based on the at least two target audio tracks when receiving an audio broadcast trigger operation for at least two target audio tracks, and send the broadcast information corresponding to the first target audio track to the first LE audio device, so that the first LE audio device can receive the audio data of the first target audio track based on the broadcast information corresponding to the first target audio track.
- the audio broadcast triggering operation for at least two target audio tracks may include a triggering operation for a confirmation sharing control on the page where the at least two target audio tracks are located.
- the audio played by the sound output device before bilingual sharing is audio data corresponding to the Chinese audio track
- the Chinese audio track and the English audio track are determined as target audio tracks.
- a "Confirm Sharing" control may be displayed on the audio track selection pop-up window.
- the display device can also, after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources and a trigger operation for the "Confirm Sharing" control, jump from the audio track selection pop-up window to the multilingual sharing page shown in (c) of Figure 38, wherein a "Connect Bluetooth device and switch” control is displayed on the page.
- the display device jumps from the current page to the device management page shown in (d) of Figure 38, and displays the connected LE audio device on the page, and configures the corresponding target audio track for the connected LE audio device.
- the embodiments of the present disclosure do not limit the execution order of the above steps.
- the step of "determining whether the number of audio tracks of the target audio and video resource is not less than a preset number threshold” can be executed first, and then the step of "displaying the identifiers of at least two target audio tracks in the audio tracks of the target audio and video resource” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "issuing multiple Bluetooth broadcasts based on the at least two target audio tracks", the step of "receiving and displaying at least two target audio tracks selected from the audio tracks of the target audio and video resource" can be added.
- the embodiment of the present disclosure can also first control the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel when receiving an audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources; then control the player to pause the playback of the target audio and video resources, and obtain the playback progress information of the target audio and video resources; further, when it is determined that the Bluetooth broadcast channel is switched successfully, restart the audio decoder, and control the audio decoder to decode the target audio and video resources according to the playback progress information and at least two target audio tracks, and send the decoded audio data to the Bluetooth protocol stack.
- the display device when it receives an audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, it first controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel; then controls the player to pause playing the target audio and video resources, and obtains the playback progress information of the target audio and video resources; further, when it is determined that the Bluetooth broadcast channel switch is successful, the audio decoder and the video decoder are restarted, and according to the playback progress information and at least two target audio tracks, the audio decoder and the video decoder are controlled to decode the target audio and video resources, and the decoded audio data is sent to the Bluetooth protocol stack, so that the Bluetooth protocol stack can send multiple Bluetooth broadcasts based on the decoded audio data, thereby realizing the function of simultaneous playback of multiple languages for the same audio and video resource.
- the embodiment of the present disclosure does not limit the execution order of the above steps.
- the step of “controlling the player to pause playing the target audio and video resources” can be executed first, and then the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel” can be executed.
- the step of “controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel” can also be executed first, and then the step of "controlling the player to pause playing the target audio and video resources” can be executed.
- One or more steps can also be added before the above steps at the same time. For example, before the step of "issuing multiple Bluetooth broadcasts based on at least one second target audio track", steps such as “restarting the audio decoder” or “restarting the audio decoder and video decoder” can be added.
- Figure 39 is a flowchart eight of an audio broadcast switching process according to some embodiments, wherein the device management page shown in (a) of Figure 39 displays connected LE audio devices, such as device A and device B.
- the current page jumps to the audio track selection page, and configures the corresponding target audio track for device B on the audio track selection page.
- Figure 39 (b) is a schematic diagram of an audio track selection page according to some embodiments, on which at least two target audio tracks are displayed.
- the page also displays a "Continue to Select Headphones" control and a "Finish and Switch” control; after receiving a user trigger operation for the "Continue to Select Headphones” control, the page jumps to the device management page to continue configuring the target audio tracks for other LE audio devices; upon receiving a user trigger operation for the "Finish and Switch” control, the Bluetooth module is controlled to switch the current audio channel to the Bluetooth broadcast channel.
- a pop-up window of "Bluetooth broadcast switching" as shown in Figure 39 (c) can be displayed to remind the user that the Bluetooth broadcast channel is currently being switched.
- a prompt message "Bluetooth broadcast has been set” can also be displayed on the playback page of the target audio and video resource, as shown in Figure 39 (d), to prompt the user that the Bluetooth broadcast switch is successful and the target audio and video resource is being played simultaneously in multiple languages using audio broadcast.
- the "Bluetooth broadcast has been set” message will automatically disappear after being displayed for 5 seconds or will be hidden when the user returns.
- Figure 40 is a schematic diagram of the structure of an electronic device according to some embodiments, which may be the display device, control terminal, or audio receiving device described above.
- the electronic device includes: a processor 4001, a memory 4002, and a computer program stored in the memory 4002 and executable on the processor 4001.
- the computer program When the computer program is executed by the processor 4001, it implements the following method in the above-mentioned method embodiment: an audio broadcasting method performed by a display device.
- the present disclosure provides a computer-readable storage medium storing a computer program.
- the computer program When executed by a processor, the computer program implements the various processes of the above-described audio broadcasting method and achieves the same technical effects. To avoid repetition, the details are not described here.
- the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- the present disclosure provides a computer program product, which includes a computer program.
- the computer program When the computer program is run on a computer, the computer is enabled to implement the above-mentioned audio broadcasting method.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
本公开涉及一种显示设备及音频广播方法,涉及蓝牙技术领域。该显示设备的处理器可响应于针对目标音视频资源的第一按键指令,获取目标音视频资源的音轨数据,该音轨数据包括音轨数量信息以及每条音轨的音轨信息和音轨解码信息,音轨解码信息用于标识对应的音轨支持的解码类型;如果音轨数量不小于预设第一数量阈值,且音轨解码信息符合预设解码条件,则显示多音轨共享控件,预设解码条件为音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨;响应于音频广播指令,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播。本公开实施例能够利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
Description
相关申请的交叉引用
本公开要求在2024年03月27日提交中国专利局、申请号为202410361462.X;在2024年03月27日提交中国专利局、申请号为202410362138.X;在2024年03月27日提交中国专利局、申请号为202410359462.6;在2024年03月27日提交中国专利局、申请号为202410361450.7;在2024年10月09日提交中国专利局、申请号为202411405678.8;在2024年10月09日提交中国专利局、申请号为202411405728.2;在2024年10月09日提交中国专利局、申请号为202411405429.9的中国专利申请的优先权,该申请的内容通过引用结合在本公开中。
本公开涉及蓝牙技术领域,尤其涉及一种显示设备及音频广播方法。
随着新一代蓝牙音频技术标准——基于蓝牙的低功耗音频(LE audio)技术的推出,越来越多的显示设备可以支持基于蓝牙的低功耗音频(LE audio)协议,例如电视机、手机等设备。对于支持LE audio协议的显示设备,如何实现针对同一音视频资源的多语言同时播放的功能,是目前亟需解决的技术问题。
第一方面,本公开实施例提供一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码方式;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作;响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
第二方面,本公开实施例提供一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
第三方面,本公开实施例提供一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
第四方面,本公开实施例提供了一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
第五方面,本公开实施例提供了一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定第一目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称信息,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系;响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播。
第六方面,本公开实施例提供了一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,所述第一目标音轨属于所述至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据,所述广播信息用于接收所述第一目标音轨的音频数据。
第七方面,本公开实施例提供了一种显示设备,包括:显示器、声音输出装置、蓝牙模块,以及分别与显示器、声音输出装置和蓝牙模块连接的处理器;该处理器,被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息,所述音轨语言信息用于标识对应的音轨的语言类型;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,则显示多音轨共享控件;响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
第八方面,本公开实施例提供了一种音频广播方法,包括:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码方式;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作;响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
第九方面,本公开实施例提供了一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
第十方面,本公开实施例提供了一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
第十一方面,本公开实施例提供了一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
第十二方面,本公开实施例提供了一种音频广播方法,包括:响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定第一目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称信息,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系;响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播。
第十三方面,本公开实施例提供了一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,所述第一目标音轨属于所述至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据,所述广播信息用于接收所述第一目标音轨的音频数据。
第十四方面,本公开实施例提供了一种音频广播方法,包括:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息,所述音轨语言信息用于标识对应的音轨的语言类型;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,则显示多音轨共享控件;响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
图1为根据一些实施例的相关技术中音频广播的场景示意图;
图2为根据一些实施例的相关技术中单播媒体音频一对一音频传输的示意图;
图3为根据一些实施例的相关技术中单播媒体音频一对二音频传输的示意图;
图4为根据一些实施例的扩展广播、周期性广播以及BIS之间的关系示意图;
图5为根据一些实施例的扩展广播包、附属广播包、周期性广播包以及BIS之间的关系示意图;
图6为根据一些实施例的相关技术中连续发送BIG的示意图;
图7为根据一些实施例的一种广播场景示意图一;
图8为根据一些实施例的一种广播场景示意图二;
图9为根据一些实施例的一种显示设备100的硬件配置框图;
图10为根据一些实施例的一种显示设备100的软件系统架构示意图;
图11为根据一些实施例的一种蓝牙设备200的硬件配置框图;
图12为根据一些实施例的一种音频广播方法的流程示意图一;
图13为根据一些实施例的一种音频播放页面和音视频资源列表页面的示意图;
图14为根据一些实施例的一种由播放页面切换至多语共享页面的流程图;
图15为根据一些实施例的一种由资源列表页面切换至多语共享页面的流程图;
图16为根据一些实施例的另一种音频广播方法的流程示意图;
图17为根据一些实施例的一种音频广播方法的流程示意图二;
图18为根据一些实施例的一种音频广播切换的流程示意图一;
图19为根据一些实施例的一种音频广播切换的流程示意图二;
图20为根据一些实施例的一种音频广播切换的流程示意图三;
图21为根据一些实施例的一种目标音轨与BIS流之间的映射关系示意图;
图22为根据一些实施例的一种设备管理页面的示意图;
图23为根据一些实施例的一种设备连接状态的变化示意图;
图24为根据一些实施例的一种可能的广播场景示意图一;
图25为根据一些实施例的一种音频广播方法的流程示意图三;
图26为根据一些实施例的一种音频广播方法的流程示意图四;
图27为根据一些实施例的一种音频广播切换的流程示意图四;
图28为根据一些实施例的一种可能的广播场景示意图二;
图29为根据一些实施例的一种音频广播方法的流程示意图五;
图30为根据一些实施例的一种音频广播方法的流程示意图六;
图31为根据一些实施例的一种音频广播切换的流程示意图五;
图32为根据一些实施例的一种音频广播切换的流程示意图六;
图33为根据一些实施例的一种可能的广播场景示意图三;
图34为根据一些实施例的一种音频广播方法的流程示意图七;
图35为根据一些实施例的一种设备配置流程图;
图36为根据一些实施例的一种设备连接状态的变化示意图;
图37为根据一些实施例的一种音频广播方法的流程示意图八;
图38为根据一些实施例的一种音频广播切换的流程示意图七;
图39为根据一些实施例的一种音频广播切换的流程示意图八;
图40为根据一些实施例的一种电子设备的硬件结构示意图。
首先,对相关技术中的音频广播的场景进行介绍。以机场场景为例,在机场中,通常会通过在不同的区域部署显示设备,通过显示设备的扬声器来向处于机场不同区域的用户同步广播某些音频。例如,乘机规则、寻人启事等。
以显示设备是电视为例,如图1所示,在机场的4个不同区域,A区域、B区域、C区域和D区域,分别部署一个电视,通过电视的扬声器向各自区域内的用户广播音频。
为了使不同背景文化的用户都能收听到广播的音频,通常会对广播的音频进行多语种的广播。目前,广播的音频进行多语种广播时,通常为广播完一个语种的音频后,切换为另一个语种的音频进行广播。例如,在广播乘机规则时,会使用中文广播一次,然后使用英语广播一次,再使用韩语广播一次,广播效率较低。
本公开所提供的显示设备,以及音频接收设备均可以支持基于蓝牙的低功耗音频(LE Audio)技术,其中,显示设备作为音频播放设备或者用于配置音频接收设备的设备。在一些实施例中,显示设备可以为电视机、手机、投影仪等,音频接收设备可以为蓝牙音箱、蓝牙耳机等。
相比较经典蓝牙,LE Audio,具有以下优点:
1、一个音频播放设备可以同时连接多个音频接收设备;
2、一个广播音频设备可以向无限多个音频接收设备发送广播音频,支持加密广播;
3、采用最新的低复杂度通信编解码器(LC3)音频格式,音质有所提升;
4、支持网络电话及高清通话;
5、支持助听/辅听应用。
LE Audio的应用层规范电话和媒体音频配置文件(Telephony and Media Audio Profile,TMAP)中定义了两种媒体音频应用:单播媒体音频和广播媒体音频。
单播媒体音频
TMAP中的单播媒体音频相较目前经典蓝牙中的媒体音频应用规范(Advanced Audio Distribution Profile。A2DP)采用了更先进的音频编解码器以提供更好的音质、并同时提供比目前经典蓝牙媒体播放控制规范(Audio/Video Remote Control Profile,AVRCP)更丰富的控制功能。TMAP针对单播媒体音频应用定义了两个角色:单播媒体发送器(Unicast Media Sender,UMS)和单播媒体接收器(Unicast Media Receiver,UMR)。UMS和UMR间通过连接等时流(CIS)实现单播媒体音频传输。
需要注意的是TMAP中定义的单播媒体音频并不是限定于一对一音频传输,也支持一个单播媒体发送器向两个单播媒体接收器传输单播媒体音频。
图2为根据一些实施例的相关技术中单播媒体音频一对一音频传输的示意图。如图2所示,UMS11向UMR12发送单播媒体音频。
图3为根据一些实施例的相关技术中单播媒体音频一对二音频传输的示意图。如图3所示,UMS21向UMR22和UMR23分别发送单播媒体音频。
广播媒体音频
TMAP中的广播媒体音频基于无连接的多个广播等时流(Broadcast Isochronous Stream,BIS)同步传输。广播媒体音频最大的优势是可以将音频数据同步传输到多个音频接收设备。
TMAP中的广播媒体音频的广播同步通道有广播等时组(Boardcast Isochronous Group,BIG)和BIS两个概念。一个音频发送设备可以同时发送多个BIG,每个BIG可以由多个BIS组成,一个BIG可包含最多31个BIS,每一个BIS有唯一的存取地址(Access Address),BIS的存取地址基于其所属的BIG的种子存取地址(Seed Access Address)按统一的算法产生。
广播媒体音频中可以包括多种具有不同存取地址的广播,可以包括:
扩展广播(Extended Advertising):为在主广播信道上的扩展广播,采用ADV_EXT_IND封包,并通过时间和频率信息指向附属广播。其存取地址采用蓝牙核心规范中规定的主广播存取地址:0x8E89BED6。
周期性广播(Periodic Advertising):附属广播采用AUX_ADV_IND封包,并通过时间、跳频地图和存取地址等指向该周期性广播,该周期性广播采用AUX_SYNC_IND封包,周期性广播中包含BIG信息(BIGInfo)。
广播等时流(BIS):为周期性广播通过时间、跳频地图和存取地址及BIG信息(BIGInfo)指向的BIS,采用BIS协议数据单元(Protocol Data Unit,PDU)封包,广播等时流广播数字音频。
图4为根据一些实施例的扩展广播、周期性广播以及BIS之间的关系示意图。需要说明的是,蓝牙工作在2.4GHz频段,2.4GHz频段的频率范围为2402MHz到2480MHz之间,每2MHz一个信道,共40个信道,其中为3个主广播信道,分别为信道37、信道38和信道39,剩余的37个信道为副广播信道,这37个信道分别为信道0至信道36。如图4所示,主广播信道为包括信道37、信道38和信道39;副广播信道包括:信道0至信道36。在主广播信道上的扩展广播可以采用ADV_EXT_IND封包,并通过时间和频率信息指向副广播信道的附属广播,之后附属广播采用AUX_ADV_IND封包,通过时间、跳频地图和存取地址指向的周期性广播,进一步的,该周期性广播再使用AUX_SYNC_IND封包,通过时间、跳频地图和存取地址及BIG信息(BIGInfo)指向BIS,BIS则采用BIS PDU封包,广播数字音频。
图5为根据一些实施例的扩展广播包、附属广播包、周期性广播包以及BIS之间的关系示意图。如图5所示,音频发送设备在主广播信道(37,38,39)上发送扩展广播包(ADV_EXT_IND),扩展广播包中包括:广播设备地址(AdvA)、广播数据信息(ADI)和辅助广播包的指针(Auxiliary Pointer,AuxPtr),其中AuxPtr指示接下来副广播信道上进行附属广播,附属广播包(AUX_ADV_IND)中包括:扩展广播数据(AdvData),广播音频公告服务通用唯一标识符(Broadcast Audio Announcement Service UUID),其他服务通用唯一标识符(Others Service UUIDs),附属广播包指示周期性广播的数据信道和广播周期。周期性广播包(AUX_SYNC_IND)包括:额外广播数据BIG信息(Additional Controller Advertising Data BIGinfo,ACAD BIGinfo),扩展广播数据的基本音频播报服务通用唯一标识符(AdvData Basic Audio Announcement Service UUID),BASE。周期性广播包包含广播等时流BIS的所有信息,广播接收者接收到周期性广播包之后根据其包括的数据在特定信道以特定时间锚点接收BIS数据,得到BIS音频流。
在实际应用中,在通过BIS方式广播数字音频时,会通过连续发送BIG来实现,每发送一次BIG可以称为一个BIG事件,每个BIG事件中可以包括多个BIS。
图6为根据一些实施例的相关技术中连续发送BIG的示意图。如图6所示,连续发送BIG的过程中,周期性的连续执行BIG事件,图6中所示的BIG锚点指示每个BIG事件的开始时刻,两个锚点之间的时间间隔为执行BIG事件的一个周期。需要说明的是图6中是以3个BIG事件,每个BIG事件中包括了2个BIS为例进行说明的,图6示出了连续执行BIG事件X、BIG事件(X+1)以及BIG事件(X+2),其中,每个BIG事件中均包括2个BIS流,分别为图6中示出的BIS1和BIS2。其中,在执行BIG时间的过程中会广播BIS流,在广播BIS流的过程中,每经过一个固定的时间间隔广播一次BIS流。
显示设备可以是基于用户的操作,通过至少一个蓝牙模块实现不同语种的音频的广播。图7为根据一些实施例的一种广播场景示意图一。
以显示系统包括一个显示设备,该显示设备内置有支持LE audio协议的蓝牙模块为例。如图7所示,用户可以通过智能设备或控制设备控制显示设备100,以使显示设备100根据用户的指令执行本公开实施例提供的音频广播方法进行多语种音频的广播,从而使处于显示设备100的广播信号覆盖范围内的蓝牙设备200,可以选择显示设备100广播的任一语种的音频进行收听。
继续以机场场景为例,对本公开实施例提供的音频广播的场景进行介绍。可以在机场大厅中部署一台显示设备,在机场的不同区域内布置多台LE audio设备,通过大厅中部署的显示设备的蓝牙模块发出多条蓝牙广播,由部署在不同区域的LE audio设备接收目标音轨对应的蓝牙广播,并播放目标音轨对应的音频数据,以实现不同区域的LE audio设备播放不同语种的音频。
以显示设备为电视机为例,图8为根据一些实施例的一种广播场景示意图二,如图8中(a)所示,在机场大厅中部署一台电视,在机场的4个不同区域、A区域、B区域、C区域和D区域,分别部署一个LE audio设备,例如音箱和耳机等,通过显示设备的蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播,以实现不同区域的LE audio设备播放不同语言的效果。相比于图1所示的相关技术中的音频广播方式,本公开实施例提供的音频广播方法无需在不同区域分别部署多个显示设备来播放不同语言,而是通过一个显示设备和多个LE audio设备即可利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
以显示设备为电脑为例,如图8中(b)所示,在多人会议的场景中,在会议室内部署有一台电脑,会议发起者通过电脑向不同国家的参会者传达会议内容,参会者有用户A、用户B、用户C和用户D,每个用户分别佩戴一个支持LE audio协议的蓝牙耳机,在会议发起者发言的过程中,通过电脑的蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播,以实现不同用户佩戴的蓝牙耳机中播放不同语言的效果。相比于图1所示的相关技术中的音频广播方式,本公开实施例提供的音频广播方法无需为多个用户提供多个显示设备来播放不同语言,而是通过一个显示设备和多个LE audio耳机实现针对同一个音视频资源的多语言同时播放的功能。
又例如在多人旅游场景中,导游或领队携带有一部手机,导游或领队通过手机向多个用户讲解景点的介绍等,多个用户包括用户A、用户B、用户C和用户D,每个用户分别佩戴一个支持LE audio协议的蓝牙耳机,在导游或领队发言的过程中,通过手机的蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播,以实现不同用户佩戴的蓝牙耳机中播放不同语言的效果。相比于图1所示的相关技术中的音频广播方式,本公开实施例提供的音频广播方法无需为多个用户提供多个显示设备来播放不同语言,而是通过一个显示设备和多个LE audio耳机实现针对同一个音视频资源的多语言同时播放的功能。
图9为根据一些实施例的一种显示设备100可能的硬件配置示意图。如图9所示,显示设备100可包括:调谐解调器110、通信器120、检测器130、外部装置接口140、处理器150、显示器160、音频输出接口170、存储器、供电电源中的其中一种或多种。
在一些实施例中,处理器可包括:视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。
显示器160包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自处理器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面。
显示器160可为液晶显示器、OLED显示器、以及投影显示器,还可以为一种投影装置和投影屏幕。
通信器120是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备100可以通过通信器120与外部控制设备或服务器建立控制信号和数据信号的发送和接收。例如,显示设备100可以通过通信器120获取控制设备发送的用户指令,根据用户指令以实现本公开提供的音频广播方法。
当上述显示设备100通过自身的蓝牙模块实现音频的广播时,上述蓝牙模块可以是支持LE Audio协议的蓝牙模块。当上述显示设备100通过外接的蓝牙音箱实现音频的广播时,上述蓝牙模块可以是支持LE Audio协议的蓝牙模块或者不支持LE Audio协议的蓝牙模块。
用户接口,可用于接收控制设备(如:红外遥控器等)的控制信号。
检测器130用于采集外部环境或与外部交互的信号。例如,检测器130包括光接收器,用于采集环境光线强度的传感器;或者,检测器130包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器130包括声音采集器,如麦克风等,用于接收外部声音。
外部装置接口140可以包括但不限于如下:高清多媒体接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。
调谐解调器110通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。
在一些实施例中,处理器150和调谐解调器110可以位于不同的分体设备中,即调谐解调器110也可在处理器150所在的主体设备的外置设备中,如外置机顶盒等。显示设备100还可以包括声音输出装置,声音输出装置包括音频输出接口170以及扬声器等。
处理器150,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。处理器150控制显示设备100的整体操作。例如:响应于接收到用于选择在显示器160上显示UI对象的用户命令,处理器150便可以执行与由用户命令选择的对象有关的操作。
在实现本公开实施例提供的一种音频广播方法时,显示设备100所执行的操作可以由处理器150实现。
在一些实施例中,处理器150,被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码类型;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作;响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,处理器150,执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条蓝牙广播;其中,所述蓝牙广播中包括为所述至少两条目标音轨分别创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
在一些实施例中,处理器150,执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条蓝牙广播对应于一条目标音轨,每条蓝牙广播中包括为对应的目标音轨创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
在一些实施例中,处理器150,执行所述响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据,具体被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据中的音轨格式信息;其中,所述音轨格式信息用于标识对应的音轨的音视频格式;根据所述音轨格式信息确定对应的音轨的音轨解码信息,并将所述音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,每条音轨的音轨解码信息中包括硬解码类型、软解码类型或软硬解码类型,所述硬解码类型用于表征对应的音轨仅支持硬解码方式,所述软解码类型用于表征对应的音轨仅支持软解码方式,所述软硬解码类型用于表征对应的音轨同时支持硬解码方式和软解码方式。
在一些实施例中,处理器150,执行所述根据所述音轨格式信息确定对应的音轨的音轨解码信息,并将所述音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中,具体被配置为:如果所述音轨格式信息指示的音视频格式属于预设第一格式集合,则确定所述音轨格式信息对应的音轨仅支持硬解码方式,将标识硬解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,所述预设第一格式集合包括:audio/x-ac4音视频格式,audio/dts-hd音视频格式,audio/dts-lbr音视频格式和audip/dts-true-hd音视频格式中的至少一种;如果所述音轨格式信息指示的音视频格式属于预设第二格式集合,则确定所述音轨格式信息对应的音轨同时支持软解码方式和硬解码方式,将标识软硬解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,所述预设第二格式集合包括:audio/mpeg2音视频格式,audio/mpeg4音视频格式,audio/x-ac3音视频格式,audio/x-eac3音视频格式和audio/x-dts音视频格式中的至少一种;如果所述音轨格式信息指示的音视频格式不属于所述预设第一格式集合且不属于所述预设第二格式集合,则确定所述音轨格式信息对应的音轨支持的解码类型为软解码类型,并将标识所述软解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中。
在一些实施例中,处理器150执行所述响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;其中,所述音轨名称信息用于选定所述至少两条目标音轨。
在一些实施例中,处理器150,执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息,具体被配置为:响应于针对所述多音轨共享控件的触发指令,确定所述音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果所述音轨数量信息指示的音轨数量大于所述预设第二数量阈值,则显示第一窗口,并在所述第一窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及所述音轨名称信息对应的选择控件;响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口,并在所述第二窗口上显示所述至少两条目标音轨的音轨名称信息以及音频广播控件;其中,所述至少两条目标音轨分别支持不同的解码类型;
处理器150执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,处理器150执行所述响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口之前,被进一步配置为:响应于针对所述第一窗口上的第一音轨名称信息对应的选择控件的触发指令,根据所述第一音轨名称信息对应的音轨的音轨解码信息,将所述第一窗口上的第二音轨名称信息按照预设显示样式进行显示,以提示所述第二音轨名称信息对应的选择控件不支持所述触发指令;其中,所述第二音轨名称信息与所述第一音轨名称信息分别对应的音轨支持相同的解码类型。
在一些实施例中,处理器150,被进一步配置为:如果所述音轨数量信息指示的音轨数量不大于所述预设第二数量阈值,则显示第三窗口,并在所述第三窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及音频广播控件;处理器150执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,处理器150被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述播放器暂停播放所述目标音视频资源。
在一些实施例中,处理器150被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据;
处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨。
在一些实施例中,处理器150响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,被进一步配置为:控制所述声音输出装置停止播放所述目标音视频资源;处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
在一些实施例中,处理器150响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,被进一步配置为:控制所述声音输出装置播放所述至少两条目标音轨中的第三目标音轨对应的音频数据;处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
在一些实施例中,处理器150,执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条蓝牙广播;其中,所述蓝牙广播中包括为所述至少两条目标音轨分别创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
在一些实施例中,处理器150响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,被进一步配置为:获取所述至少两条目标音轨的音轨语言信息,基于所述音轨语言信息配置subgroup名称;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
在一些实施例中,处理器150响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,被进一步配置为:基于所述至少两条目标音轨的音轨语言信息配置subgroup名称,并将配置成功的subgroup名称同步至所述蓝牙模块;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
在一些实施例中,处理器150响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,被进一步配置为:控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据,并控制所述播放器中的audio模块将所述至少两条目标音轨分别对应的音频数据进行拼装处理,得到拼装后音频数据;控制所述audio模块将所述拼装后音频数据传输至所述蓝牙模块,以使所述蓝牙模块从所述拼装后音频数据拆分出所述至少两条目标音轨分别对应的音频数据,用于发出多条蓝牙广播。
在一些实施例中,处理器150执行所述响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:将所述至少两条目标音轨分别对应的音轨解码信息发送至所述播放器;
处理器150执行所述控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据,具体被配置为:控制所述播放器基于所述至少两条目标音轨分别对应的音轨解码信息对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据。
在一些实施例中,处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
在一些实施例中,处理器150上部署有播放器,所述处理器响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,被进一步配置为:控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
在一些实施例中,处理器150上部署有播放器,处理器150被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
在一些实施例中,处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述显示器至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定的第四目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第四目标音轨的音轨名称信息,以标识所述第四目标音轨与所述第一LE audio设备之间的对应关系。
在一些实施例中,处理器150被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,将所述第四目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第四目标音轨对应的蓝牙广播。
在一些实施例中,处理器150执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示音轨配置页面,并在所述音轨配置页面上显示所述至少两条目标音轨的音轨名称信息;响应于针对所述至少两条目标音轨中的第五目标音轨的选定指令,并将所述第五目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第五目标音轨对应的蓝牙广播。
在一些实施例中,处理器150执行所述控制所述显示器显示设备管理页面的步骤之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;处理器150执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
在一些实施例中,处理器150执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息的步骤之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并控制所述声音输出装置继续播放所述目标音视频资源。
在一些实施例中,处理器150执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称控件的步骤之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,确定是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的任一目标音轨对应的音频数据发送至所述目标蓝牙音频设备,以及控制所述声音输出装置继续播放任一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则控制所述声音输出装置继续播放所述目标音视频资源。
在一些实施例中,处理器150,执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:
控制所述蓝牙模块中的蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后的音频数据封装至对应的BIS流,并基于所述BIS流发出一条或多条蓝牙广播。
在一些实施例中,处理器150执行所述将解码后的音频数据发送至蓝牙协议栈的步骤之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定对应的目标音轨的BIS流;处理器150执行所述将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至所述蓝牙模块中的蓝牙协议栈。
在实现本公开实施例提供的另一种音频广播方法时,显示设备100所执行的操作可由处理器150实现。
在一些实施例中,处理器150,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
上述显示设备能够实现利用两种语言或多种语言对音视频资源同时进行播放的功能。
在一些实施例中,处理器150,执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
在一些实施例中,处理器150,执行所述控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
在一些实施例中,处理器150,执行所述控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
在一些实施例中,处理器150,执行所述在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则控制所述显示器显示多音轨共享控件;响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识;响应于针对所述至少两条目标音轨的音频广播触发操作,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
在一些实施例中,处理器150,执行所述响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识,具体被配置为:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述第一预设数量阈值;如果确定所述音轨的数量大于所述第一预设数量阈值,则显示所述目标音视频资源的音轨的标识;接收并显示从所述目标音视频资源的音轨中选定的至少两条目标音轨的标识。
在一些实施例中,处理器150,执行所述响应于针对所述至少两条目标音轨的音频广播触发操作,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:接收从所述至少两条目标音轨中为声音输出装置选定的第一目标音轨。
在一些实施例中,处理器150,执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收为所述设备管理页面上的第一LE audio设备配置的第二目标音轨,并将所述第二目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第二目标音轨对应的蓝牙广播。
在一些实施例中,处理器150,执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;处理器150执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
在一些实施例中,处理器150,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
在一些实施例中,处理器150,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,确定当前是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的任一第二目标音轨对应的音频数据发送至所述目标蓝牙音频设备,以及根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
在一些实施例中,处理器150,执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述一条或多条第二目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
在一些实施例中,处理器150,执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的第二目标音轨的音轨信息,所述目标头信息用于确定所述第二目标音轨对应的BIS流;处理器150执行所述将解码后的音频数据发送至蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至蓝牙协议栈。
在一些实施例中,处理器150,执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;处理器150执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
在一些实施例中处理器包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),RAM Random Access Memory,RAM),ROM(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种。
用户可在显示器160上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。
“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。
图10为根据一些实施例的一种显示设备100的软件系统架构示意图。如图10所示,该软件系统至少包括:应用(App)层、系统框架(Framework)层(简称“框架层”)、动态库(Library)以及蓝牙驱动(Bluetooth Driver)中的其中一种或多种。
其中,应用层用于部署电视相关的功能,例如应用层中至少包括:电视设置(TVSettings)或电视服务(TVService)中的其中一种或多种。
系统框架层中包括:蓝牙接口(Bluetooth API)、蓝牙应用(Bluetooth APK)以及音频(audio)模块中的其中一种或多种。
蓝牙应用中可以包括蓝牙协议相关的规范,例如可以包括:A2DP应用规范、LE Audio应用规范以及Hearing Aid应用规范中的其中一种或多种。其中,A2DP(Advanced Audio Distribution Profile)应用规范为经典蓝牙中的媒体音频应用规范,LE Audio应用规范为基于蓝牙的低功耗音频应用规范,Hearing Aid应用规范为基于低功耗(BLE)的助听器应用规范。
动态库(Library)中包括:蓝牙协议栈和蓝牙音频HAL层中的其中一种或多种,其中,蓝牙协议栈主要负责对蓝牙设备进行扫描、连接和配置等。显示设备在与蓝牙设备建立蓝牙连接的过程中,可以通过显示设备中的蓝牙应用将相关数据下发至蓝牙协议栈。
audio模块中可以包括音频管理器(audio Manager)和音频服务(audio Service)中的其中一种或多种,audio模块主要负责将来自蓝牙应用的音频相关数据下发至蓝牙协议栈。在本公开实施例中主要通过audio模块与蓝牙协议栈之间的音频通道传输声道的声道音频数据,蓝牙协议栈在接收到声道音频数据之后,将声道音频数据封装为BIS流。
蓝牙驱动主要负责显示设备与周围蓝牙设备之间的蓝牙连接。
蓝牙协议栈中还可以包括通用音频框架(GAF);GAF还包括公共音频规范(Common Audio Profile,CAP),公共音频服务(Common Audio Service,CAS),音频流传输管理和音量控制,其中,音频流传输管理中包括基本音频配置文件(BAP)、音频能力展示服务(PACS)、音频流控制服务(ASCS)以及广播音频扫描服务(Broadcast Audio Scan Service,BASS),本公开实施例中进行广播同步时需要使用BASS。音量控制中包括:语音控制规范(Volume Control Profile,VCP),音量控制服务(Volume Control Service,VCS),语音偏移控制服务(Voice Offset Control Service,VOCS),音频输入控制服务(Audio Input Control Service,AICS)。
图11为根据一些实施例的一种蓝牙设备200的硬件配置框图。如图11所示,蓝牙设备200包括:处理器210、通信器220、用户输入/输出接口230、存储器240、供电电源250。通信器220用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口230包含扬声器,麦克风,触摸板,传感器,按键或可替代模块中的至少一种。
对应于如图8所示的场景示意图,本公开实施例提供一种如下图12所示的音频广播方法。图12为根据一些实施例的一种音频广播方法的流程示意图一。如图12所示,该方法可以包括但不限于以下步骤S1202-S1204:
S1202、获取目标音视频资源的音轨。
其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
本公开实施例中,目标音视频资源可以为显示设备当前正在播放的音频视频资源,图13中(a)为根据一些实施例的一种音频播放页面的示意图,该页面上正在播放的音视频资源即为目标音视频资源。
目标音视频资源还可以为待播放音视频资源中的任意一个视频资源,图13中(b)为根据一些实施例的一种音视频资源列表页面的示意图,其中,该页面上显示有多个待播放音视频资源,例如音视频资源A、音视频资源B和音视频资源C等,在接收到针对任意待播放音视频资源,例如音视频资源B的选定操作时,将音视频资源B确定为目标音视频资源,并获取目标音视频资源的音轨。
其中,音视频资源至少包括音频资源和视频资源中的其中一种或多种。实际应用中,音视频资源可以为预先存储至显示设备中的,也可以为显示设备根据预设条件获取到的,例如,目标音视频资源可以为根据特定地址从某一多媒体服务器中下载到显示设备且正在播放的音频资源。
本公开实施例中,音轨(英文名称为Audio Track)可以用于指示目标音视频资源中包括的音频信息,不同的音轨对应的音频信息不同;音轨与目标音视频资源的语种之间具有一一对应关系,例如一个音频可以对应一个语种,音轨可以用于存储对应的语种的音频数据。假设目标音视频资源包括多个语种,例如中文、英文和法语,则该音视频资源可以包括3个音轨,例如音轨1、音轨2和音轨3,上述音轨与语种之间具有对应关系,例如,音轨1对应中文,音轨2对应英文,音轨3对应法语。
实际应用中,一个音轨可以包括一个或者多个声道(英文名称为Channel),其中,声道可以用于表示音频信号在物理或虚拟环境中的传输和处理通道。
在一些实施例中,还可以响应于针对目标音视频资源的第一按键指令,获取目标音视频资源的音轨数据;其中,音轨数据包括音轨数量信息以及每条音轨的音轨信息,音轨信息包括音轨语言信息和音轨解码信息,音轨语言信息用于标识对应的音轨的语言类型,音轨解码信息用于标识对应的音轨支持的解码方式。
本公开实施例中,针对目标音视频资源的第一按键指令,可以包括用户通过遥控器或者其他关联设备向显示设备发送的音轨菜单呼出指令,或者,用户作用在显示设备的显示器上的音轨菜单呼出的触控操作等。
本公开实施例中,音轨数据中包括的音轨数量信息可以用于指示目标音视频资源中携带的音轨的个数,例如一个讲解类的目标音视频资源可以携带音轨1、音轨2和音轨3,因此该目标音视频资源的音轨数量信息则为3。音轨数据中还包括每条音轨的音轨信息,音轨信息中具体可以包括音轨语言信息,用于标识对应的音轨的语言类型,例如音轨1的音轨语言信息为CH或CHINESE,则表示音轨1的语言类型为中文,例如音轨2的音轨语言信息为ENG或ENGLISH,则表示音轨2的语言类型为英文。
在一些实施例中,每条音轨的音轨解码信息中可以包括硬解码类型、软解码类型或软硬解码类型,其中,硬解码类型用于表征对应的音轨仅支持硬解码方式,软解码类型用于表征对应的音轨仅支持软解码方式,软硬解码类型用于表征对应的音轨同时支持硬解码方式和软解码方式。
在一些实施例中,在获取目标音视频资源的音轨之前,还可以包括:确定目标音视频资源是否处于播放状态,如果确定目标音视频资源处于播放状态,则说明显示设备已经获取到目标音视频资源的音频数据,此时执行获取目标音视频资源的音轨的步骤。
在一些实施例中,在播放目标音视频资源的过程中,还可以对目标音视频资源进行解码,得到目标音视频资源的音频信息,进而基于目标音视频资源的音频信息确定目标音视频资源的音轨数量以及音轨名称等。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定目标音视频资源是否处于播放状态”,再执行步骤“获取目标音视频资源的音轨”;也可以在上述步骤之前增加一个或者多个步骤,例如在步骤“获取目标音视频资源的音轨”之前,增加步骤“对目标音视频资源进行解码”等,以便在显示设备上播放解码后的目标音频资源。
S1204、如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
本公开实施例中,在获取目标音视频资源的音轨之后,首先确定目标音视频资源的音轨数量是否不小于预设第一数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则监测针对目标音视频资源的音轨的音频广播触发操作;在接收到针对目标音视频资源的音轨中的至少两条音轨的音频广播触发操作后,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
本公开实施例中,第一目标音轨可以为预先配置的至少两条目标音轨中的任意一个音轨。至少一条或多条第二目标音轨包括至少两条目标音轨中出第一音轨之外的目标音轨。假设目标音视频资源的音轨中包括中文音轨和英文音轨,其中,第一目标音轨为中文音轨时,第二目标音轨为英文音轨;假设目标音视频资源的音轨中包括中文音轨、英文音轨和日语音轨,其中,第一目标音轨为英文音轨时,第二目标音轨可以为中文音轨和日语音轨中的至少一种音轨。
实际应用中,预设数量阈值可以为基于显示设备的硬件芯片的性能确定,具体的,预设数量阈值可以为与硬件芯片的性能呈正相关。目前,硬件芯片能够支持共享的音轨数量为2(即预设数量阈值通常设置为2),实际应用中,随着硬件芯片性能的提高,对应的预设数量阈值也可以设置为3、4等,本公开实施例对预设数量阈值的大小不做限制。
本公开实施例中,针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作,可以在包括在至少两条目标音轨所在的页面上针对仅切换音频广播控件的触发操作等。
在一些实施例中,在获取目标音视频资源的音轨数据之后,还可以根据音轨数据中的音轨数量信息和音频解码信息,确定是否响应于针对目标音视频资源的第一按键指令,显示多音轨共享控件。
具体的,如果音轨数量信息指示的音轨数量不小于预设第一数量阈值,且音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件,其中,多音轨共享控件用于触发针对目标音视频资源的多音轨共享操作。
本公开实施例中,预设解码条件为音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,例如一条音轨支持硬解码、一条音轨支持软解码,或者一条音轨支持软解码、一条支持软硬解码,或者一条音轨支持硬解码、一条音轨支持软硬解码,或者至少两条音轨都支持软硬解码。实际应用中,预设解码条件可以为基于显示设备的处理器上部署的播放器所支持的解码类型确定,不同的播放器对应的预设解码条件可能不同。
在一些实施例中,假设目标音视频资源的音轨数量信息指示的音轨数量为2,预设第一数量阈值为2,因此可以确定音轨数量信息指示的音轨数量不小于预设第一数量阈值,并且音轨1支持软解码方式,音轨2支持硬解码方式,则在目标音视频资源的播放页面上显示多音轨共享控件,以提示用户通过多音轨共享控件触发针对目标音视频资源的多音轨共享操作。
在一些实施例中,在显示音轨数据中的音轨语言信息对应的音轨名称信息的过程中,还可以响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制蓝牙模块基于至少两条音轨发出一条或多条蓝牙广播。
在一些实施例中,还可以响应于针对目标音视频资源的第一按键指令,获取目标音视频资源的音轨数据中的音轨格式信息,接着,根据音轨格式信息确定对应的音轨的音轨解码信息,并将音轨解码信息添加音轨数据中的音轨的音轨信息中。
本公开实施例中,音轨数据中的每条音轨的音轨解码信息中包括硬解码类型、软解码类型或软硬解码类型中的任意一种类型,其中,硬解码类型用于表征音轨仅支持硬解码方式,软解码类型用于表征音轨仅支持软解码方式,软硬解码类型用于表征音轨同时支持硬解码方式和软解码方式。
实际应用中,软解码方式是指通过算法和程序代码,对压缩后的音轨的音频数据进行计算和转换处理,以得到原始的音频数据。硬解码方式是指利用硬件芯片等对压缩后的音轨的音频数据进行转换和解码处理,以得到原始的音频数据。
在一些实施例中,可以通过调用接口的方式获取目标音视频资源的音轨数组,其中,该数组中包括多个音轨以及各个音轨分别对应的format字段,即音轨数据中的音轨格式信息,然后通过对format字段进行解析,得到音轨格式信息对应的音轨的音轨解码信息,并将音轨解码信息添加到对应音轨的音轨信息中,以标识该音轨支持的解码方式。
在一些实施例中,还可以利用数组的形式存储音轨的音轨信息,例如可以利用Audio TrackBean数组存储音轨A的音轨信息,具体的,音轨A的音轨信息可以包括:音轨索引信息、音轨语言信息、音轨类型信息、音轨格式信息、音轨语言信息对应的音轨名称信息,以及基于音轨格式信息确定的音轨解码信息等。
在一些实施例中,还可以利用预设规则确定音轨格式信息对应的音轨的音轨解码信息。
具体的,预设规则可以包括:如果音轨格式信息指示的音视频格式属于预设第一格式集合,则确定音轨格式信息对应的音轨仅支持硬解码方式,将标识硬解码类型的音轨解码信息添加到音轨数据中的音轨的音轨信息中。
其中,预设第一格式集合中可以包括以下音视频格式中的至少一种格式:audio/x-ac4音视频格式、audio/dts-hd音视频格式、audio/dts-lbr音视频格式、audip/dts-true-hd音视频格式等。如果确定某一音轨的音视频格式属于上述预设第一格式集合中的任一音视频格式,则可以确定该音轨支持的解码类型为硬解码类型。
如果音轨格式信息指示的音视频格式属于预设第二格式集合,则确定音轨格式信息对应的音轨同时支持软解码方式和硬解码方式,将标识软硬解码类型的音轨解码信息添加到音轨数据中的音轨的音轨信息中。
其中,预设第二格式集合中可以包括以下音视频格式中的至少一种:audio/mpeg2音视频格式、audio/mpeg4音视频格式、audio/x-ac3音视频格式、audio/x-eac3音视频格式、audio/x-dts音视频格式等。如果确定某一音轨的音视频格式属于上述预设第二格式集合中的任一音视频格式,则可以确定该音轨既可以支持硬解码类型也可以支持软解码类型。
如果音轨格式信息指示的音视频格式不属于预设第一格式集合且不属于预设第二格式集合,则确定音轨格式信息对应的音轨仅支持软解吗方式,将标识软解码类型的音轨解码信息添加到音轨数据中的音轨的音轨信息中。
在一些实施例中,显示设备上还部署有媒体中心,媒体中心在接收到针对目标音视频资源的开始播放指令时,将目标音视频资源的播放地址发送至播放器,以使播放器基于播放地址对目标音视频资源进行播放。
在一些实施例中,在显示多音轨共享控件的过程中,还可以响应于针对多音轨共享控件的触发操作,显示音轨数据中的音轨语言信息对应的音轨名称信息;其中,音轨名称信息用于选定至少两条目标音轨。
本公开实施例中,针对多音轨共享控件的触发操作,可以包括用户针对该多音轨共享控件的触控操作,或者,用户通过该显示设备的遥控器或者其他关联设备向显示设备发送的针对该多音轨共享控件的选择指令等。
假设获取到的目标音视频资源的音轨数据中包括音轨1和音轨2,其中音轨1对应的音轨语言信息为ENG,音轨2对应的音轨语言信息为CH,在确定音轨数量信息指示的音轨数量不小于2时,显示多音轨共享控件。在显示多音轨共享控件的过程中,响应于针对多音轨共享控件的触发操作,显示音轨1的音轨语言信息ENG对应的音轨名称信息,即“英文”,以及音轨2的音轨语言信息CH对应的音轨名称,即“中文”。
在一些实施例中,显示设备在基于至少两条目标音轨发出多条蓝牙广播之前,还可以包括:控制蓝牙模块将当前音频通道切换至蓝牙广播通道。
本公开实施例中,音频通道可以包括本机扬声器输出通道、通用串行总线(Universal Serial Bus,USB)音输出通道和高清多媒体界面(High Definition Multimedia Interface,HDMI)输出通道等较为传统的输出通道,还可以包括基于单播媒体发送器(Broadcast Media Sender,BMS)建立的音频输出通道等。当前音频通道可以为上述音频输出通道中的任意一个输出通道。
实际应用中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,然后将当前音频通道切换至蓝牙广播通道,在切换成功后,基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
显示设备还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先将当前音频通道切换至蓝牙广播通道,并在切换成功后控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据”,再执行步骤“将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
本公开实施例提供的音频广播方法中,首先获取目标音视频资源的音轨,其中,一条音轨分别对应一个语种;然后确定目标音视频资源的音轨的数量是否不小于预设数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放第一目标音轨对应的音频数据,并基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。可见,本公开实施例通过控制声音输出装置播放第一目标音轨,针对除第一目标音轨之外的一条或多条目标音轨发出至少一条蓝牙广播,以利用声音输出装置和音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
在一些实施例中,显示设备在获取到目标音视频资源的音轨之后,还可以在确定目标音视频资源的音轨的数量不小于预设数量阈值时,首先控制显示器显示多语共享控件,在接收到针对多语共享控件的触发操作时,显示目标音视频资源的音轨中的至少两条音轨的标识;然后,在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。其中,针对多音轨共享控件的触发操作,可以包括作用在多音轨共享控件上的点击操作等。
假设预设数量阈值为2,则说明显示设备能够支持同时共享的音轨数量为2,此时如果确定目标音视频资源的音轨的数量(例如为2)不小于2,则控制显示器显示“双语共享”字样的多音轨共享控件。
图14为根据一些实施例的一种由播放页面切换至多语共享页面的流程图,其中,图14中(a)为音视频资源的播放页面,该页面上正在播放目标音视频资源,在接收到用户针对该页面的音轨菜单唤起操作时,获取目标音视频资源的音轨,如果确定目标音视频资源的音轨(例如为2)的数量不小于预设数量阈值2,则控制显示器显示图14中(b)所示的音轨菜单页面。其中,音轨菜单页面上显示有“双语共享”控件,该音轨菜单页面上还显示有目标音视频资源的音轨名称,如中文、英语、日语等。
在接收到针对图14中(b)所示的“双语共享”控件的触发操作时,显示多语共享页面,以提示用户即将同步播放以下语言;图14中(c)为根据一些实施例的一种多语共享页面的示意图,其中,该页面上显示有目标音视频资源的音轨的标识,例如中文、英文等,另外,该页面上还显示有“仅切换音频广播”控件,在接收到针对该控件的触发操作时,控制声音输出装置播放第一目标音轨,例如中文音轨,并基于至少一条第二目标音轨发出蓝牙广播,例如基于英文音轨发出蓝牙广播。
图15为根据一些实施例的一种由资源列表页面切换至多语共享页面的流程图,其中,图15中(a)为音视频资源的列表页面,该列表页面上显示有待播放的音视频资源A、音视频资源B和音视频资源C;在接收到针对音视频资源B的选定操作时,将音视频资源B确定为目标音视频资源,并获取目标音视频资源的音轨(例如为中文、英文、日语),如果确定目标音视频资源的音轨的数量不小于预设数量阈值2,则在目标音视频资源的预设下方位置处显示多语共享控件,以及目标音视频资源的音轨名称等,如图15中(b)所示。在接收到针对图15中(b)所示的“双语共享”控件的触发操作时,显示图15中(c)所示的多语共享页面。
在一些实施例中,假设预设数量阈值为3,则说明显示设备能够支持同时共享的音轨数量为3,此时如果确定目标音视频资源的音轨的数量不小于3(例如为3),则控制显示器显示“双语共享”字样的控件和“三语共享”字样的控件。其中,“双语共享”控件用于表征显示设备可以同时支持两种语言播放目标音视频资源,“三语共享”控件用于表征显示设备可以同时支持三种语言播放目标音视频资源。
在一些实施例中,在获取目标音视频资源的音轨之后,还可以确定显示设备是否为支持LE audio协议的设备,具体的,通过获取显示设备的本机配置信息,确定显示设备是否支持LE audio协议。在确定显示设备支持LE audio协议且当前正在播放的目标音视频资源的音轨的数量不小于第一预设阈值时,控制显示器显示多音轨共享控件。
实际应用中,在图15中(b)所示的音轨菜单页面上显示目标音视频支持的多个音轨的过程中,假设目标音视频资源当前播放的音轨为中文对应的音轨,在接收到针对多个音轨中的英文对应的音轨的选定操作时,将当前播放的中文音轨切换为英文对应的音轨,并基于英文对应的音轨发出至少一条蓝牙广播。
在一些实施例中,显示设备控制显示器显示多语共享控件的过程中,还可以在接收到针对多语共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否等于预设数量阈值,如果确定目标音视频资源的音轨的数量等于预设数量阈值,则显示目标音视频资源的音轨的标识;在接收到针对目标音视频资源的音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
由于预设数量阈值可以用于表征显示设备能够支持同时进行共享的音轨的数量,因此在确定目标音视频资源的音轨的数量等于预设数量阈值时,说明目标音视频资源的音轨的数量恰好为显示设备能够支持同时进行共享的音轨数量,此时显示设备控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并播放目标音视频资源全部的音轨内容,从而实现由声音输出装置播放其中一条音轨的音频数据,由蓝牙广播播出另一条音轨的音频数据的效果。
实际应用中,在多语共享页面上显示目标音视频资源的音轨名称以及多语共享控件的过程中,显示设备还可以在接收到针对至少两条目标音轨的取消共享触发操作时,基于当前播放进度继续播放目标音视频资源。
在一些实施例中,在接收到针对至少两条目标音轨的取消共享触发操作时,控制蓝牙模块将当前音频通道从蓝牙广播通道切换,并根据当前播放进度控制声音输出装置继续播放第一目标音轨对应的音频数据。
在一些实施例中,还可以在接收到针对至少两条目标音轨的取消共享触发操作时,首先确定显示设备当前是否存在已连接的目标蓝牙音频设备,如果确定存在已连接目标蓝牙设备,则控制蓝牙模块将当前音频通道切换至蓝牙音频通道,并将目标音视频资源的任一第二音轨对应的音频数据发送至目标蓝牙音频设备,以及根据当前播放进度控制声音输出装置继续播放第一目标音轨对应的音频数据。其中,第一音轨可以为获取到的目标音视频资源的音轨中的任意一个音轨。
本公开实施例中,目标蓝牙音频设备可以为任意一个或多个支持LE audio协议和/或A2DP协议的设备,实际应用中,如果目标蓝牙音频设备包括多个支持LE audio协议和/或A2DP协议的设备,则默认将当前音频通道切换至最后一个连接设备,由该设备播放目标音视频资源的音频数据。
在一些实施例中,如果不存在已连接的目标蓝牙设备,则根据当前播放进度控制声音输出装置播放第一目标音轨对应的音频数据。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,再执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,也可以先执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,再执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”之前,增加“确定当前是否存在已连接的目标蓝牙音频设备”等步骤。
对应于如图8或图9所示的场景示意图,本公开实施例提供一种如下图16所示的音频广播方法。图16为根据一些实施例的一种音频广播方法的流程示意图二。如图16所示,该方法可以包括但不限于以下步骤S1602-S1606:
S1602:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码方式。
本公开实施例中,通过针对目标音视频资源的第一按键指令,获取目标视频资源的音轨数量信息,以及各个音轨的音轨语言信息和音轨解码信息,以便后续可以基于音轨数量信息指示的音轨数量和音轨解码信息,确定是否在当前页面上显示多音轨共享控件,另外,还可以基于音轨语言信息显示对应的音轨名称信息,以便用户基于音轨名称信息较为直观地了解到同步播放的音轨的语言类型。
S1604:如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作。
本公开实施例中,在获取目标音视频资源的音轨数据之后,还可以确定音轨数据中的音轨数量信息所指示的音轨数量是否不小于预设第一数量阈值,并在音轨数量信息指示的音轨数量不小于预设第一数量阈值,且音轨解码信息符合预设解码条件时,显示多音轨共享控件。
由于不同播放器所支持共享的音轨的解码类型不同,因此本公开实施通过判断目标音视频资源的音轨数据中音轨解码信息是否符合预设解码条件,并在确定至少两条目标音轨的音轨数量不小于预设第一数量阈值,且音轨数据中音轨解码信息符合预设解码条件时,显示多音轨共享控件。如果不符合预设解码条件,则不显示多音轨共享控件。
S1606:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,在显示多音轨共享控件的过程中,用户还可以通过针对多音轨共享控件的触发操作,触发向显示设备发送针对多音轨共享控件的触发指令。显示设备在接收到多音轨共享控件的触发指令时,显示音轨数据中的音轨语言信息对应的音轨名称信息,以便用户可以基于音轨名称信息了解到共享的音轨的语言类型。
本公开实施例中,在显示目标音视频资源的音轨语言信息对应的音轨名称信息和音频广播控件的过程中,用户还可以通过针对音频广播控件的触发操作,触发向显示设备发送针对音轨数据中的至少两条目标音轨的音频广播指令。显示设备在接收到针对音轨数据中的至少两条目标音轨的音频广播指令时,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播,从而实现了针对同一音视频资源的多语言同时播放的功能。
在一些实施例中,显示设备响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,还可以控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及,控制蓝牙模块基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,
其中,一条或多条第二目标音轨包括至少两条目标音轨中除第一目标音轨之外的目标音轨。
在一些实施例中,显示设备响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,还可以控制声音输出装置停止播放目标音视频资源,以及,控制蓝牙模块基于至少两条目标音轨发出多条蓝牙广播。
在一些实施例中,显示设备响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,还可以控制声音输出装置播放至少两条目标音轨中的第三目标音轨对应的音频数据,以及,控制蓝牙模块基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例提供的音轨广播方法中,响应于针对目标音视频资源的第一按键指令,获取目标音视频资源的音轨数据,其中,音轨数据包括音轨数量信息以及每条音轨的音轨信息和音轨解密信息,音轨语言信息用于标识对应的音轨的语言类型,音轨解码信息用于标识对应的音轨支持的解码类型;如果音轨数量信息指示的音轨数量不小于预设第一数量阈值,且音轨解码信息符合预设解码条件,则显示多音轨共享控件,其中,预设解码条件为音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨;响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播。可见,本公开实施例能够根据获取到的目标音视频资源的音轨数据确定是否显示多音轨共享控件,并在触发多音轨共享控件之后,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播,以利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
对应于如图8所示的场景示意图,本公开实施例还提供一种如下图17所示的音频广播方法。图17为根据一些实施例的一种音频广播方法的流程示意图二。如图17所示,该方法可以包括但不限于以下步骤S1702-S1712:
S1702:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
S1704:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件。
本公开实施例中,步骤S1702-S1704具体可以参照图12所示方法中的步骤S1202-S1204进行理解,在此不做详细说明。
S1706:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值。
S1708:如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识。
本公开实施例中,显示设备在接收到针对多音轨共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否大于预设数量阈值;如果确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。
假设预设数量阈值为2,目标音视频资源的音轨的数量为3,在接收到针对多音轨共享控件的触发操作时,确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。图18为根据一些实施例的一种音频广播切换的流程示意图一,其中,图18中(a)示出了显示设备上的音轨菜单页面,该界面中可选择共享的音轨对应的语种,图18中(b)为根据一些实施例的一种音轨选择弹窗的示意图,该弹窗上显示有目标音视频资源的音轨的标识,例如中文、英文和日语等,每个音轨的标识分别具有对应的复选框,用户能够共享的音轨的数量不超过预设数量阈值,另外,该弹窗上还可以显示有“请选择共享的音轨,仅支持LE audio协议的蓝牙设备”的字样,以提示用户选择共享的多种语言。
S1710:接收从所述目标音视频资源的音轨中选定的至少两条目标音轨。
实际应用中,在显示目标音视频资源的音轨的标识的过程中,显示设备在接收到用户针对任意两条或多条音轨的选定指令时,将上述至少两条音轨确定为即将要进行同步广播的目标音轨,后续在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的任一目标音轨对应的音频数据,并基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
S1712:在接收到针对所述至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
本公开实施例中,显示设备控制显示器显示目标音视频资源的音轨的标识的过程中,首先接收从目标音视频资源的音轨中选定的至少两条目标音轨;然后在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
本公开实施例中,针对至少两条目标音轨的音频广播触发操作,可以包括针对至少两条目标音轨所在页面上的确认共享控件的触发操作等。在一些实施例中,假设进行双语共享之前声音输出装置播放的音频为中文音轨对应的音频数据,在接收到针对图18中(b)所示的三条音轨中的中文音轨和英文音轨的选定操作时,将中文音轨和英文音轨确定为目标音轨,另外,音轨选择弹窗上可以显示有“确认共享”控件,在选定至少两条目标音轨之后,还可以在接收到针对“确定共享”控件的触发操作时,控制声音输出装置播放中文音轨对应的音频数据,并基于英文音轨发出蓝牙广播。
实际应用中,显示设备在确定利用音频广播的方式播放的至少两条目标音轨之后,还可以将至少两条目标音轨中的任一目标音轨确定为第一目标音轨,并在接收到针对至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放第一目标音轨,并基于至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
在一些实施例中,在音轨选择弹窗上显示目标音视频资源的音轨以及“确认共享”控件的过程中,显示设备还可以在接收从目标音视频资源的音轨中选定的至少两条目标音轨,以及针对“确认共享”控件的触发操作之后,由音轨选择弹窗跳转至图18中(c)所示的蓝牙广播切换弹窗,并在该弹窗上显示“蓝牙广播切换中”和“声音输出装置播放中文音频蓝牙广播英文音轨”的提示字样,以提示用户在选择共享的至少两条目标音轨后,默认将由声音输出装置播放双语共享之前的中文音轨对应的音频数据,以及基于英文音轨发出至少一条蓝牙广播。
在一些实施例中,显示设备在接收到针对多音轨共享控件的触发指令时,首先确定音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果音轨数量信息指示的音轨数量大于预设第二数量阈值,则显示第一窗口,并在第一窗口上显示音轨数据中的音轨语言信息对应的音轨名称信息以及该音轨名称信息对应的选择控件。
本公开实施例中的第一窗口用于显示目标音视频资源对应的音轨的语言类型,第一窗口例如可以为图18中(b)所示的音轨选择弹窗,第一窗口上显示有音频数据中的音轨语言信息CH、ENG、JAP分别对应的音轨名称信息,即中文、英文和日语,以及各个音轨名称信息分别对应的选择控件,例如复选框控件。
本公开实施例中,在第一窗口上显示音轨数据中的音轨语言信息对应的音轨名称信息的过程中,还可以响应于基于音轨名称信息和选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口,并在第二窗口上显示至少两条目标音轨的音轨名称信息以及音频广播控件。
如图18中(b)所示的第一窗口中显示目标音视频资源的中文音轨名称信息、英文音轨名称信息以及日语音轨名称信息,在用户选择了中文音轨名称信息和英文音轨名称信息,并触发针对“确认共享”控件的选定操作之后,显示设备可以根据用户选择的中文音轨名称信息和英文音轨名称信息,在第二窗口上显示中文音轨名称信息、英文音轨名称信息和音频广播控件。其中,第二窗口例如可以为图14中(c)所示的多语共享页面。
本公开实施例中,至少两条目标音轨分别支持不同的解码类型。
本公开实施例中,在第二窗口上显示至少两条目标音轨的音轨名称信息以及音频广播控件的过程中,还可以响应于针对音频广播控件的触发指令,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播。
如图14中(c)所示的多语共享页面中显示有中文音轨名称信息、英文音轨名称信息和音频广播控件,在接收到针对音频广播控件的触发指令时,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,显示设备还可以响应于针对第一窗口上的第一音轨名称信息对应的选择控件的触发指令,根据第一音轨名称信息对应的音轨的音轨解码信息,将第一窗口上的第二音轨名称信息按照预设显示样式进行显示,以提示所述第二音轨名称信息对应的选择控件不支持触发指令。
其中,第一音轨名称信息可以为第二窗口上显示的至少两条目标音轨的音轨名称信息中的任意一个音轨名称信息,第二音轨名称信息与第一音轨名称信息分别对应的音轨支持相同的解码类型。
如图18中(b)所示的第一窗口上显示有音轨1对应的音轨名称信息“中文”以及“中文”对应的选择控件、音轨2对应的音轨名称信息“英文”以及“英文”对应的选择控件、音轨3对应的音轨名称信息“日语”以及“日语”对应的选择控件。在接收到针对第一音轨名称信息,例如“英文”对应的选择控件的触发指令时,假设“英文”对应的音轨2的音轨解码信息为硬解码类型,则将第一窗口上与音轨2属于同一解码类型及硬解码类型的音轨对应的音轨名称信息按照预设显示样式进行显示,例如将支持硬解码类型的“日语”音轨3进行置灰显示。
在一些实施例中,显示设备在接收到针对多音轨共享控件的触发指令时,首先确定音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果音轨数量信息所指示的音轨数量不大于预设第二数量阈值,则显示第三窗口,并在第三窗口上显示音轨数据中的音轨语言信息对应的音轨名称信息以及音频广播控件。
本公开实施例中的第三窗口用于显示目标音视频资源对应的音轨的语言类型,第三窗口例如可以为图15中(c)所示的多语共享页面,第三窗口上显示有音频数据中的音轨语言信息CH和ENG分别对应的音轨名称信息,即中文和英文。
本公开实施例中,在第三窗口上显示音轨数据中的音轨语言信息对应的音轨名称信息以及音频广播控件的过程中,还可以响应于针对音频广播控件的触发指令,控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,显示设备接收从目标音视频资源的音轨中选定的至少两条目标音轨后,还可以接收从至少两条目标音轨中为声音输出装置选定的第一目标音轨。
在一些实施例中,假设目标音视频资源的音轨包括中文、英文、日语音轨等,在接收用户从上述音轨中选定的中文音轨和英文音轨后,将中文音轨和英文音轨确定为目标音轨,接收用户从至少两条目标音轨中为声音输出装置选定的第一目标音轨,例如英文音轨。
图19为根据一些实施例的一种音频广播切换的流程示意图二,在接收到针对图19中(a)所示的音轨菜单页面中的双语共享控件的触发操作时,显示图19中(b)所示的音轨选择弹窗,该弹窗上显示有目标音视频资源的音轨的标识和“选择喇叭的音轨”等控件;接收从目标音视频资源的音轨中选定的至少两条目标音轨,例如英文音轨和日语音轨后,还可以在接收到针对“选择喇叭的音轨”控件的触发操作时,由当前弹窗切换至图19中(c)所示的喇叭音轨选择弹窗;在图19中(c)所示的喇叭音轨选择弹窗上显示至少两条目标音轨的过程中,还可以在接收到针对日语音轨的选定操作时,将日语音轨确定为第一目标音轨,并在接收到针对该弹窗中的“确认共享”控件的触发操作时,由喇叭音频选择弹窗切换至图19中(d)所示的蓝牙广播切换弹窗,并控制声音输出装置播放日语音轨对应的音频数据,以及基于英文音轨发出至少一条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定所述目标音视频资源的音轨的数量是否不小于预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨中的至少两条目标音轨的标识”,也可以先执行步骤“确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨的标识”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据”之前,增加“将当前音频通道切换至蓝牙广播通道”等步骤。
可见,本公开实施例能够在显示目标音视频资源的音轨的过程中,在接收到用户针对音轨中的至少两条目标音轨的选定操作后,通过控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少一条第二目标音轨发出多条蓝牙广播,以利用声音输出装置和音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
在视频播放的场景中,显示设备在接收到针对多音轨共享控件的触发指令,由视频播放页面跳转至音轨选择弹窗,并基于音轨选择弹窗针对目标音视频资源实现多语言同步播放的过程中,由于目标音视频资源一直在进行播放,此时可能会出现返回至视频播放页面时目标音视频资源已经播放完的情况,由于播放器在目标音视频资源播放完之后会自动销毁该音视频资源对应的播放线程,并重启新的播放线程以播放下一个音视频资源,因此对于用户而言,是无法体验到针对目标音视频资源实现多语言同步播放的效果的。
因此,为了保证用户在返回至视频播放页面时能够体验到针对目标音视频资源实现多语言同步播放的效果,本公开实施例还可以在接收到针对多音轨共享控件的触发指令时,控制播放器暂停播放目标音视频资源,以保证目标音视频资源对应的播放线程在蓝牙广播切换中不会销毁,从而使得用户在返回至视频播放页面时能够体验到针对目标音视频资源实现多语言同步播放的效果。
实际应用中,显示设备控制蓝牙模块将当前音频通道切换至蓝牙广播通道的过程中,可能存在音频数据与目标音视频资源的播放进度不一致的问题。为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈。
本公开实施例中,audio解码器即音频解码器,主要用于将压缩的音频数据解码为原始的数字音频信号,audio解码器对目标音视频资源解码得到中文音频数据、英文音频数据等信息后,可以将解码后的音频信息发送给音频处理器或音频输出设备等进行播放。video解码器即视频解码器,用于将压缩的视频数据解码为原始的视频图像序列,具体的,可以解码目标音视频资源并还原图像的帧率、分辨率等视频数据,以便后续的视频处理和显示。蓝牙协议栈用于基于解码后的音频数据发出多条蓝牙广播。
本公开实施例中,目标音视频资源的播放进度信息可以包括目标音视频资源的当前播放时间等信息,在获取到目标音视频资源的播放进度信息之后,可以根据播放进度信息控制audio解码器对目标音视频资源,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
在一些实施例中,在接收到针对至少两条目标音轨的音频广播触发操作时,控制播放器暂停播放目标音视频资源,假设在播放到30秒时暂停目标音视频资源,则在确定蓝牙广播切换成功时,重启audio解码器,并控制audio解码器从第30秒出开始解码目标音视频资源,以实现音频数据和目标音视频资源的播放进度保持一致的效果。
在一些实施例中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
本公开实施例中,控制audio解码器和video解码器对目标音视频资源进行解码,是指,在重启audio解码器和video解码器时,控制audio解码器根据播放进度信息对音频数据进行解码,以及控制video解码器根据播放进度信息对视频数据进行解码。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制播放器暂停播放所述目标音视频资源”,再执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制播放器暂停播放所述目标音视频资源”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少一条第二目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
在一些实施例中,显示设备还可以在执行控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,控制蓝牙模块将当前音频通道切换至蓝牙广播通道,在切换成功后,基于至少两条目标音轨发出一条或多条蓝牙广播。
在一些实施例中,显示设备还可以响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙模块中的蓝牙协议栈。其中,蓝牙协议栈用于基于解码后的音频数据发出一条或多条蓝牙广播。
在一些实施例中,显示设备还可以响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙模块中的蓝牙协议栈。其中,蓝牙协议栈用于基于解码后的音频数据发出一条或多条蓝牙广播。
图20为根据一些实施例的一种音频广播切换的流程示意图三,其中,图20中(a)所示的页面上显示有目标音视频资源的音轨以及“仅切换音频广播”控件,针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作,可以包括针对“仅切换音频广播”控件的触发操作等;在接收到针对“仅切换音频广播”控件的触发操作时,控制播放器暂停播放目标音视频资源。
实际应用中,为了提升用户的体验,使得用户对切换至蓝牙广播通道的过程有一定的预期,还可以在控制播放器暂停播放目标音视频资源时,显示图20中(b)所示的“蓝牙广播切换中”的提示弹窗,以提示用户当前正在切换至蓝牙广播通道。
在确定蓝牙广播通道切换成功,继续播放目标音视频资源时,还可以在目标音视频资源的播放页面上显示“蓝牙广播已设置”的提示字样,如图20中(c)所示,以提示用户蓝牙广播切换成功,正在利用两种语言或多种语言对音视频资源同时进行广播。
可见,本公开实施例通过并记录目标音视频资源的播放进度信息,并控制audio解码器或video解码器按照播放进度信息对目标音视频资源进行解码的方式,使得显示设备能够在由当前音频通道切换至蓝牙广播音频通道时,保持音频数据和目标音视频资源的进度一致。
在一些实施例中,显示设备还可以响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制播放器基于至少两条目标音轨对目标音视频资源进行解码处理,得到至少两条目标音轨分别对应的音频数据,并控制播放器中的音频audio模块将至少两条目标音轨分别对应的音频数据进行拼装处理,得到拼装后音频数据。
本公开实施例中,为了实现多音轨广播共享的功能,显示设备还可以响应于针对音轨数据中的至少两条目标音轨的音频广播指令,控制播放器基于至少两条目标音轨对音视频资源进行解码处理,以得到至少两条目标音轨分别对应的音频数据。
本公开实施例中,通过对音视频资源进行解码处理,能够得到至少两条目标音轨分别对应的音频数据,以便后续可以将至少两条目标音轨的分别对应的音频数据封装到蓝牙广播中,并发出一条或多条蓝牙广播。
本公开实施例中,显示设备在将解码后的多条音频数据传输至蓝牙模块之前,还可以对多条音频数据进行拼装处理,得到拼装后音频数据,进一步的,将拼装后音频数据传输至蓝牙模块。
本公开实施例中,蓝牙模块在接收到拼装后音频数据之后,从拼装后音频数据中拆分出至少两条目标音轨分别对应的音频数据,进一步的,基于至少两条目标音轨的分别对应的音频数据,发出一条或多条蓝牙广播,从而实现了针对同一目标音视频资源的多语言同时播放的功能。
在一些实施例中,显示设备在控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播之前,还行可以将至少两条目标音轨分别对应的音轨解码信息发送至播放器;然后控制播放器基于至少两条目标音轨分别对应的音轨解码信息对目标音视频资源进行解码处理,得到至少两条目标音轨分别对应的音频数据。
本公开实施例中,播放器在接收到针对两条目标音轨分别对应的音轨解码信息之后,基于目标音轨的音轨解码信息所标识的解码类型,对该目标音轨进行解码处理,以得到该目标音轨对应的音频数据。
在一些实施例中,假设音轨1的解码类型为硬解码,则将音轨1对应的音频解码信息发送至播放器之后,播放器可以根据音轨1的解码类型,对音轨1进行硬解码处理,得到音轨1对应的音频数据。假设音轨2的解码类型为软解码,则将音轨2对应的音频解码信息发送至播放器之后,播放器可以根据音轨2的解码类型,对音轨2进行软解码处理,得到音轨2对应的音频数据。
本公开实施例中,播放器基于音轨解码信息对目标音视频资源进行解码处理,得到至少两条目标音轨分别对应的音频数据之后,基于至少两条目标音轨分别对应的音频输出发出一条或多条蓝牙广播,从而实现了针对目标音视频资源进行多语言同时播放的功能。
实际应用中,在基于至少两条目标音轨发出多条蓝牙广播的过程中,可能存在用户选定的目标音轨为中文,而实际收听到的却是英文广播的情况(即用户收听到的音频数据与用户选择音轨不是同一语种),为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例通过控制蓝牙协议栈根据预设的音轨与BIS流的对应关系,将至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流中,进而基于BIS流发出广播,从而能够更准确的发出蓝牙广播。
本公开实施例中,对于一个音轨对应一个声道的情况,该音轨与BIS流之间为一一对应的关系,例如,BIS1对应音轨1,BIS2对应音轨2。
对于一个音轨对应多个声道的情况,可以利用组或集合的方式表示音轨与BIS流之间的对应关系。图21为根据一些实施例的一种目标音轨与BIS流之间的映射关系示意图。其中,音轨1和音轨2分别标识解码得到的不同语种的音频数据,例如中文的音频数据和英文的音频数据,音轨1与subgroup0具有对应关系,音轨2与subgroup1具有对应关系;subgroup0和subgroup1为不同的组标识,subgroup0包括BIS0和BIS1,subgroup1包括BIS2和BIS3。
由于音轨1与subgroup0之间具有对应关系,且subgroup0包括BIS0和BIS1,因此,可以用BIS0表征音轨1的左声道,例如中文的音频数据的左声道,使用BIS1表征音轨1的右声道;由于音轨2与subgroup1之间具有对应关系,且subgroup1包括BIS2和BIS3,因此,可以使用BIS2表征音轨2的左声道,使用BIS3表征音轨2的右声道。
在一些实施例中,在接收到针对至少两条目标音轨的音频广播触发操作时,说明用户想要进行双语共享或多语共享,首先控制audio模块对目标音视频资源进行解码,得到各个目标音轨对应的解码后音频数据,例如中文(音轨1)的音频数据和英文(音轨2)的音频数据;然后控制蓝牙协议栈根据图21所示的对应关系,将音轨1的左声道对应的解码后音频数据封装至BIS0,将音轨1的右声道对应的解码后音频数据封装至BIS1,将音轨2的左声道对应的解码后音频数据封装至BIS2,将音轨2的右声道对应的解码后音频数据封装至BIS3,并基于BIS0、BIS1、BIS2、BIS3发出多条蓝牙广播。
在一些实施例中,显示设备在接收到针对所述音轨数据中的至少两条目标音轨的音频广播指令时,还可以控制蓝牙模块中的蓝牙协议栈根据预设的音轨与BIS流的对应关系,将至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流中,并基于BIS流发出一条或多条蓝牙广播。
在一些实施例中,显示设备还可以响应于针对至少两条目标音轨的音频广播指令,控制蓝牙模块基于至少两条目标音轨发出一条蓝牙广播,该蓝牙广播中包括为至少两条目标音轨分别创建的subgroup,每个subgroup中均携带有对应的目标音轨的音频数据。
在一些实施例中,假设至少两条目标音轨包括音轨1、音轨2,显示设备在接收到针对至少两条目标音轨的音频广播指令时,控制蓝牙模块发出一条蓝牙广播,该蓝牙广播中包括2个subgroup,例如音轨1对应subgroup1,音轨2对应subgroup2,其中,subgroup1中携带有音轨1的音频数据,subgroup2中携带有音轨2的音频数据。
可见,本公开实施例通过为至少两条目标音轨分别创建对应的subgroup,并将至少两条目标音轨的音频数据分别封装在对应的subgroup中,从而在接收到针对至少两条目标音轨的音频广播指令时,能够基于至少两条目标音轨发出一条蓝牙广播,从而实现了利用音频广播的方式对目标音视频资源的多语言同步播放的功能。
本公开实施例中,显示设备在接收到针对至少两条目标音轨的音频广播指令时,还可以控制蓝牙模块将第一目标音轨对应的广播信息发送至第一LE audio设备,以使第一LE audio设备基于广播信息接收蓝牙广播。
其中,所述广播信息中包括所述第一目标音轨对应的subgroup的标识信息。
本公开实施例中,通过将第一目标音轨对应的广播源信息,发送至第一目标音轨对应的第一LE audio设备,以使第一LE audio设备可以基于广播源信息中的subgroup的标识信息,接收蓝牙广播。第一LE audio设备在接收到蓝牙广播之后,还可以基于subgroup的标识信息,从蓝牙广播中获取该标识信息对应的subgroup携带的第一目标音轨的音频数据,从而实现了利用第一LE audio设备播放第一目标音轨的音频数据的功能。
在一些实施例中,显示设备还可以响应于针对至少两条目标音轨的音频广播指令,控制蓝牙模块基于至少两条目标音轨发出多条蓝牙广播,多条蓝牙广播中的每条蓝牙广播分别对应一条目标音轨,每条蓝牙广播中包括为对应的目标音轨创建的subgroup,该subgroup中携带有对应的目标音轨的音频数据。
在一些实施例中,假设至少两条目标音轨包括音轨1、音轨2,显示设备在接收到针对至少两条目标音轨的音频广播指令时,控制蓝牙模块针对音轨1发出蓝牙广播1以及针对音轨2发出蓝牙广播2,其中,蓝牙广播1中包括为音轨1创建的subgroup1,蓝牙广播2中包括为音轨2创建的subgroup2,具体的,subgroup1中携带有音轨1的音频数据,subgroup2中携带有音轨2的音频数据。
可见,本公开实施例中通过为至少两条目标音轨分别创建对应的subgroup,并将每条音轨的音频数据封装在对应的subgroup中,由于一个蓝牙广播分别对应一个subgroup,因此能够针对至少两条目标音轨发出多条蓝牙广播,从而实现了利用音频广播的方式对目标音视频资源的多语言同步播放的功能。
本公开实施例中,显示设备在接收到针对至少两条目标音轨的音频广播指令时,还可以控制蓝牙模块将第一目标音轨对应的广播信息发送至第一LE audio设备,以使第一LE audio设备基于广播信息接收蓝牙广播。具体的,第一LE audio设备在接收到第一目标音轨对应的广播信息之后,可以基于广播信息从蓝牙广播中获取第一目标音轨的音频数据并进行播放,从而实现了利用第一LE audio设备播放第一目标音轨的音频数据的功能。
在一些实施例中,显示设备在将解码后的音频数据发送至蓝牙协议栈之前,还可以控制audio解码器为解码后的音频数据添加目标头信息,以得到携带有目标头信息的处理后音频数据,进一步的,将处理后的音频数据发送至蓝牙协议栈。
本公开实施例中,由于目标头信息中可以封装有解码后的音频数据对应的目标音轨的音频信息,因此,蓝牙协议栈在接收到处理后的音频数据后,能够根据处理后的音频数据中携带的目标头信息,自动匹配目标音轨对应的BIS流,从而较为准确地发出蓝牙广播。
在一些实施例中,假设目标音轨包括中文和英文两个音轨,其中,中文音轨包括左声道和右声道,英文音轨包括左声道和右声道,则可以将中文音轨的左声道对应的BIS0、中文音轨的右声道对应的BIS1、英文音轨的左声道对应的BIS2、英文音轨的右声道对应的BIS3等信息封装在目标头信息中,以得到携带有目标头信息的处理后音频数据。
在一些实施例中,在基于至少两条目标音轨发出多条蓝牙广播之前,还可以为至少两条目标音轨分别设置对应的BIS流;进一步的,在将处理后音频数据发送至蓝牙协议栈后,控制蓝牙协议栈根据接收到的处理后音频数据的目标头信息中封装的音轨信息,确定对应的BIS流,并将处理后音频数据封装至BIS流,以及基于BIS流发出蓝牙广播。
在一些实施例中,假设处理后音频数据的目标头信息中封装有“音轨1-BIS0、音轨2-BIS2”等音轨信息,蓝牙协议栈在接收到上述音轨信息后,会将音轨1的音频数据封装在BIS0中,将音轨2的音频数据封装在BIS1中,并基于BIS0和BIS2发出多条蓝牙广播。
可见,本公开实施例能够通过为解码后的音频数据添加头信息的方式,自动为目标音轨匹配对应的BIS流,从而较为准确地发出蓝牙广播。
在一些实施例中,显示设备还可以在接收到针对音轨数据中的至少两条目标音轨的音频广播指令时,获取至少两条目标音轨的音轨语言信息,并基于音轨语言信息配置subgroup名称,其中,subgroup名称用于构成包含音轨语言信息的目标音轨对应的广播源信息。
本公开实施例中,通过为至少两条目标音轨的音轨语言信息配置对应的subgroup名称之后,以便后续将subgroup名称封装在目标音轨对应的广播源信息中,并发送至对应的LE audio设备中,由LE audio设备根据目标音轨对应的广播源信息接收目标音轨的音频数据。
在一些实施例中,显示设备还可以在接收到针对音频数据中的至少两条目标音轨的音频广播指令时,基于至少两条目标音轨的音轨语言信息配置subgroup名称,并将配置成功的subgroup名称同步至蓝牙模块。
实际应用中,显示设备在接收到针对音轨数据中的至少两条目标音轨的音频广播指令时,还可以在媒体中心完成获取至少两条目标音轨的音轨语言信息,以及为音轨语言信息配置对应的subgroup名称的过程,并将配置成功的subgroup名称同步至蓝牙模块。
实际应用中,在基于至少两条目标音轨发出多条蓝牙广播之后,还可以控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备,以实现将目标音视频资源的音频数据(例如中文或英文)在显示设备已连接的音频接收设备上同步播放的功能。
图22为根据一些实施例的一种设备配置流程图,其中,图22中(a)所示的音视频播放页面正在由声音输出装置播放第一目标音轨对应的音频数据,以及基于至少一条第二目标音轨发出蓝牙广播,在完成蓝牙广播的设置之后,还可以由图22中(a)所示的音视频播放页面自动跳转至设备管理页面,以提示用户为各个音轨分别配置对应的LE audio设备;图22中(b)为根据一些实施例的一种设备管理页面的示意图,如图中所示,该页面上显示有已连接的LE audio设备,例如设备A和设备B。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备的过程中,显示设备还可以接收为已连接的LE audio设备中的第一LE audio设备配置的第二目标音轨,并将第二目标音轨对应的广播源信息发送至第一LE audio设备,以使第一LE audio设备基于广播源信息接收目标音轨对应的蓝牙广播。其中,第一LE audio设备可以为设备管理页面上显示的已连接LE audio设备中的任一设备。
在一些实施例中,在图22中(b)所示的设备管理页面上显示已连接的LE audio设备的过程中,在接收到针对第一LE audio设备(例如设备B)的音轨配置触发操作时,为设备B显示至少一条第二目标音轨,图22中(c)为根据一些实施例的一种音轨选择页面的示意图,该页面上显示有至少一条第二目标音轨,以及“请选择蓝牙设备B要接收的音轨”的提示信息,以提示用户为设备B(即第一LE audio设备)选择要接收的音轨(即中文语种);在接收到针对任一第二目标音轨的选定操作时,将该第二目标音轨对应的广播源信息发送至设备B,以使设备B能够基于广播源信息接收第二目标音轨对应的蓝牙广播。
在一些实施例中,显示设备控制显示器显示设备管理页面之后,还可以控制蓝牙模块进行设备扫描,并控制显示器在设备管理页面上显示扫描到的LE audio设备。
实际应用中,显示设备还可以在控制显示器显示设备管理页面,以及在设备管理页面上显示已连接的LE audio设备的过程中,响应于针对设备扫描控件的触发操作,控制蓝牙模块进行设备扫描,并控制显示器在设备管理页面上显示扫描到的LE audio设备。
本公开实施例中,在设备管理页面上显示扫描到的LE audio设备的过程中,还可以在接收到针对扫描到的LE audio设备中的第二LE audio设备的连接请求,与第二LE audio设备建立连接;在与第二LE audio设备成功建立连接后,还可以在设备管理页面上显示已连接第二LE audio设备。
其中,第二LE audio设备可以为扫描到的LE audio设备中的任意一个LE audio设备,第二LE audio设备可以和第一LE audio设备为同一设备。
图23为根据一些实施例的一种设备连接状态的变化示意图,其中,图23中(a)所示的设备显示设备管理页面上显示有蓝牙模块扫描到的LE audio设备,例如设备C和设备D;在接收到针对第二LE audio设备(例如设备D)的连接请求时,与设备D建立连接。在与设备D成功建立连接后,在设备管理页面上的已连接设备列表中显示已连接的设备D,如图23中(b)所示,设备D此时处于已连接的设备列表中;在接收到针对设备D的音轨配置触发操作时,显示如图23中(c)所示的音轨选择页面,其中,该页面上显示有至少一条第二目标音轨,在接收到针对任一第二目标音轨(例如中文)的选定操作时,将该第二目标音轨(即中文)对应的广播源信息发送至设备D,以使设备D能够基于广播源信息接收第二目标音轨(即中文)对应的蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“在所述设备管理页面上显示已连接的LE audio设备”,再执行步骤“控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备”,也可以先执行步骤“控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备”,再执行步骤“在所述设备管理页面上显示已连接的LE audio设备”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“在所述设备管理页面上显示已连接的所述第二LE audio设备”之前,增加“与所述第二LE audio设备建立连接”等步骤。
在一些实施例中,显示设备执行控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播的步骤之后,还可以控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备;响应于针对已连接的LE audio设备中的第一LE audio设备的音频配置指令,控制显示器显示音轨配置页面,并在音轨配置页面上显示至少两条目标音轨的音轨名称。
本公开实施例中的音轨配置页面,例如可以为图22中(c)所示的音轨选择页面,该音轨配置页面上显示有至少两条目标音轨的音轨名称,例如中文音轨和英文音轨。
本公开实施例中,在音轨配置页面上显示至少两条目标音轨的音轨名称的过程中,还可以响应于针对至少两条目标音轨中的第四目标音轨的选定指令,将第四目标音轨对应的广播源信息发送至第一LE audio设备,异食癖第一LE audio设备基于广播源信息接收第四目标音轨对应的蓝牙广播。
本公开实施例中,第四目标音轨可以为音轨配置页面上显示的至少两条目标音轨中的任意一个目标音轨,如图22中(c)所示,在接收到针对至少两条音轨中的中文音轨的选定指令时,将该中文音轨对应的广播源信息发送至第一LE audio设备,即发送至图22中(b)所示的设备管理页面中的设备B,以使设备B能够基于中文音轨对应的广播源信息接收中文音轨对应的蓝牙广播。
以显示设备为电视机为例,图24为根据一些实施例的一种可能的广播场景示意图一,在机场大厅中部署一台电视,在机场的4个不同区域、A区域、B区域、C区域和D区域,分别部署一个LE audio设备,例如音箱和耳机等,通过显示设备的蓝牙模块基于至少两条目标音轨发出多条蓝牙广播,以实现不同区域的LE audio设备播放不同语言的效果。
具体的,电视机首先获取目标音视频资源的音轨,然后确定目标音视频资源的音轨的数量是否小于预设数量阈值;如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置静音,并基于至少两条目标音轨发出多条蓝牙广播。
对应于如图24所示的场景示意图,本公开实施例提供一种如下图25所示的音频广播方法。图25为根据一些实施例的一种音频广播方法的流程示意图三。如图25所示,该方法可以包括但不限于以下步骤S2502-S2504:
S2502、获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
在一些实施例中,在获取目标音视频资源的音轨之前,还可以包括:确定目标音视频资源是否处于播放状态,如果确定目标音视频资源处于播放状态,则说明显示设备已经获取到目标音视频资源的音频数据,此时执行获取目标音视频资源的音轨的步骤。
在一些实施例中,在播放目标音视频资源的过程中,还可以对目标音视频资源进行解码,得到目标音视频资源的音频信息,进而基于目标音视频资源的音频信息确定目标音视频资源的音轨数量以及音轨名称等。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定目标音视频资源是否处于播放状态”,再执行步骤“获取目标音视频资源的音轨”;也可以在上述步骤之前增加一个或者多个步骤,例如在步骤“获取目标音视频资源的音轨”之前,增加步骤“对目标音视频资源进行解码”等,以便在显示设备上播放解码后的目标音频资源。
S2504、如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
本公开实施例中,在获取目标音视频资源的音轨之后,首先确定目标音视频资源的音轨数量是否不小于预设数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则监测针对目标音视频资源的音轨的音频广播触发操作;在接收到针对目标音视频资源的音轨中的至少两条音轨的音频广播触发操作后,控制声音输出装置静音,并基于至少两条目标音轨发出多条蓝牙广播。
实际应用中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置静音,然后将当前音频通道切换至蓝牙广播通道,在切换成功后,基于至少两条目标音轨发出多条蓝牙广播。显示设备还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先将当前音频通道切换至蓝牙广播通道,并在切换成功后控制声音输出装置静音,以及基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制声音输出装置静音”,再执行步骤“将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制声音输出装置静音”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
本公开实施例提供的音频广播方法中,首先获取目标音视频资源的音轨,其中,一条音轨分别对应一个语种;然后确定目标音视频资源的音轨的数量是否不小于预设数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置静音,并基于至少两条目标音轨发出多条蓝牙广播。可见,本公开实施例通过针对每条目标音轨发出至少一条蓝牙广播,利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
在一些实施例中,显示设备在获取到目标音视频资源的音轨之后,还可以在确定目标音视频资源的音轨的数量不小于预设数量阈值时,首先控制显示器显示多语共享控件,在接收到针对多语共享控件的触发操作时,显示目标音视频资源的音轨中的至少两条音轨的标识;然后,在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置静音,并基于至少两条目标音轨发出多条蓝牙广播。其中,针对多音轨共享控件的触发操作,可以包括作用在多音轨共享控件上的点击操作等。
假设预设数量阈值为2,则说明显示设备能够支持同时共享的音轨数量为2,此时如果确定目标音视频资源的音轨的数量(例如为2)不小于2,则控制显示器显示“双语共享”字样的多音轨共享控件。
如图15所示,在接收到针对图14中(b)所示的“双语共享”控件的触发操作时,显示多语共享页面,以提示用户即将关闭声音输出装置,并将音频输出通道切换到蓝牙广播通道;图14中(c)为根据一些实施例的一种多语共享页面的示意图,其中,该页面上显示有目标音视频资源的音轨的标识,例如中文、英文等,另外,该页面上还显示有“仅切换音频广播”控件,在接收到针对该控件的触发操作时,控制声音输出装置静音,并基于中文音轨和英文音轨发出多条蓝牙广播。
在一些实施例中,显示设备控制显示器显示多语共享控件的过程中,还可以在接收到针对多语共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否等于预设数量阈值,如果确定目标音视频资源的音轨的数量等于预设数量阈值,则显示目标音视频资源的音轨的标识;在接收到针对目标音视频资源的音轨的音频广播触发操作时,控制声音输出装置静音,并基于目标音视频资源的音轨发出多条蓝牙广播。
由于预设数量阈值可以用于表征显示设备能够支持同时进行共享的音轨的数量,因此在确定目标音视频资源的音轨的数量等于预设数量阈值时,说明目标音视频资源的音轨的数量恰好为显示设备能够支持同时进行共享的音轨数量,此时显示设备关闭声音输出装置,并播放目标音视频资源全部的音轨内容,从而实现声音输出装置静音,至少两个声音都是由蓝牙广播播出的效果。
实际应用中,在多语共享页面上显示目标音视频资源的音轨名称以及多语共享控件的过程中,显示设备还可以在接收到针对至少两条目标音轨的取消共享触发操作时,基于原来的进度继续播放目标音视频资源。
在一些实施例中,在接收到针对至少两条目标音轨的取消共享触发操作时,根据当前播放进度控制声音输出装置播放目标音视频资源的第一音轨对应的音频数据。其中,第一音轨可以为获取到的目标音视频资源的音轨中的任意一个音轨。
在一些实施例中,显示设备还可以在显示音轨数据中的音轨语言信息对应的音轨名称信息的过程中,响应于针对至少两条目标音轨的取消共享指令,控制蓝牙模块将当前音频通道从蓝牙广播切出,并控制声音输出装置继续播放目标音视频资源。
在一些实施例中,还可以在接收到针对至少两条目标音轨的取消共享触发操作时,首先确定显示设备当前是否存在已连接的目标蓝牙音频设备,如果确定存在已连接目标蓝牙设备,则控制蓝牙模块将当前音频通道切换至蓝牙音频通道,并将目标音视频资源的第二音轨对应的音频数据发送至目标蓝牙音频设备。其中,第二音轨可以为获取到的目标音视频资源的音轨中的任意一个音轨。
在一些实施例中,如果不存在已连接的目标蓝牙设备,则根据当前播放进度控制声音输出装置播放目标音视频资源的第三音轨对应的音频数据。其中,第三音轨可以为获取到的目标音视频资源的音轨中的任意一个音轨。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,再执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,也可以先执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,再执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”之前,增加“确定当前是否存在已连接的目标蓝牙音频设备”等步骤。
对应于如图24所示的场景示意图,本公开实施例还提供一种如下图26所示的音频广播方法。图26为根据一些实施例的一种音频广播方法的流程示意图四。如图26所示,该方法可以包括但不限于以下步骤S2602-S2612:
S2602:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
S2604:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件。
本公开实施例中,步骤S2602-S2604具体可以参照图25所示方法中的步骤S2502-S2504进行理解,在此不做详细说明。
S2606:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值。
S2608:如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识。
本公开实施例中,显示设备在接收到针对多音轨共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否大于预设数量阈值;如果确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。
假设预设数量阈值为2,目标音视频资源的音轨的数量为3,在接收到针对多音轨共享控件的触发操作时,确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。图27为根据一些实施例的一种音频广播切换的流程示意图四,其中,图27中(a)示出了显示设备上的音轨菜单页面,该界面中可选择共享的音轨对应的语种,图27中(b)为根据一些实施例的一种音轨选择弹窗的示意图,该弹窗上显示有目标音视频资源的音轨的标识,例如中文、英文和日语等,每个音轨的标识分别具有对应的复选框,用户能够共享的音轨的数量不超过预设数量阈值,另外,该弹窗上还可以显示有“请选择共享的音轨,音频将以蓝牙广播形式发出,仅支持LE audio协议的蓝牙设备”的字样,以提示用户选择共享的多种语言。
S2610:接收从所述目标音视频资源的音轨中选定的至少两条目标音轨。
S2612:响应于针对所述至少两条目标音轨的音频广播触发操作,控制声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播。
本公开实施例中,显示设备控制显示器显示目标音视频资源的音轨的标识的过程中,首先接收从目标音视频资源的音轨中选定的至少两条目标音轨;然后在接收到针对至少两条目标音轨的音频广播触发操作时,基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例中,针对至少两条目标音轨的音频广播触发操作,可以包括针对至少两条目标音轨所在页面上的确认共享控件的触发操作等。在一些实施例中,在接收到针对图27中(b)所示的三条音轨中的中文音轨和英文音轨的选定操作时,将中文音轨和英文音轨确定为目标音轨,另外,音轨选择弹窗上可以显示有“确认共享”控件,在选定目标音轨之后,还可以在接收到针对“确定共享”控件的触发操作时,控制声音输出装置静音,并基于目标音轨发出多条蓝牙广播。
在一些实施例中,在音轨选择弹窗上显示目标音视频资源的音轨以及“确认共享”控件的过程中,显示设备还可以在接收从目标音视频资源的音轨中选定的至少两条目标音轨,以及针对“确认共享”控件的触发操作之后,由音轨选择弹窗跳转至图27中(c)所示的切换方式选择弹窗,在接收到针对切换方式选择弹窗上的“进切换音频广播”控件的触发操作时,控制声音输出装置静音,并基于目标音轨发出多条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定所述目标音视频资源的音轨的数量是否不小于预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨中的至少两条目标音轨的标识”,也可以先执行步骤“确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨的标识”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“声音输出装置静音”之前,增加“将当前音频通道切换至蓝牙广播通道”等步骤。
可见,本公开实施例能够在显示目标音视频资源的音轨的过程中,在接收到用户针对音轨中的至少两条目标音轨的选定操作后,通过控制声音输出装置静音,以及基于至少两条目标音轨发出多条蓝牙广播,从而实现了利用两种语言或多种语言对音视频资源同时进行广播的功能。
实际应用中,显示设备控制蓝牙模块将当前音频通道切换至蓝牙广播通道的过程中,可能存在音频数据与目标音视频资源的播放进度不一致的问题。为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置静音,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈。
在一些实施例中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置静音,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制播放器暂停播放所述目标音视频资源”,再执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制播放器暂停播放所述目标音视频资源”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
图22为根据一些实施例的一种设备配置流程图,其中,图22中(a)所示的音视频播放页面正在基于至少两条目标音轨发出多条蓝牙广播,在完成蓝牙广播的设置之后,还可以由图22中(a)所示的音视频播放页面自动跳转至设备管理页面,以提示用户为各个音轨分别配置对应的LE audio设备;如图22中(b)为根据一些实施例的一种设备管理页面的示意图,其中,该页面上显示有已连接的LE audio设备,例如设备A和设备B。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备的过程中,显示设备还可以接收为已连接的LE audio设备中的第一LE audio设备配置的目标音轨,并将目标音轨对应的广播源信息发送至第一LE audio设备,以使第一LE audio设备基于广播源信息接收目标音轨对应的蓝牙广播。其中,第一LE audio设备可以为设备管理页面上显示的已连接LE audio设备中的任一设备。
在一些实施例中,在图22中(b)所示的设备管理页面上显示已连接的LE audio设备的过程中,在接收到针对第一LE audio设备(例如设备B)的音轨配置触发操作时,为设备B显示至少两条目标音轨。图22中(c)为根据一些实施例的一种音轨选择页面的示意图,该页面上显示至少两条目标音轨,以及“请选择蓝牙设备B要接收的音轨”的提示信息,以提示用户为设备B(即第一LE audio设备)选择要接收的音轨(即中文语种);在接收到针对任一目标音轨的选定操作时,将该目标音轨对应的广播源信息发送至设备B,以使设备B能够基于广播源信息接收目标音轨对应的蓝牙广播。
图23为根据一些实施例的一种设备连接状态的变化示意图,其中,图23中(a)所示的设备显示设备管理页面上显示有蓝牙模块扫描到的LE audio设备,例如设备C和设备D;在接收到针对第二LE audio设备(例如设备D)的连接请求时,与设备D建立连接。在与设备D成功建立连接后,在设备管理页面上的已连接设备列表中显示已连接的设备D,如图23中(b)所示,设备D此时处于已连接的设备列表中;在接收到针对设备D的音轨配置触发操作时,显示如图23中(c)所示的音轨选择页面,其中,该页面上显示有至少两条目标音轨,在接收到针对任一目标音轨(例如中文)的选定操作时,将该目标音轨(即中文)对应的广播源信息发送至设备D,以使设备D能够基于广播源信息接收目标音轨(即中文)对应的蓝牙广播。
以显示设备为电视机为例,图28为根据一些实施例的一种可能的广播场景示意图二,在机场大厅中部署一台电视,在机场的4个不同区域、A区域、B区域、C区域和D区域,分别部署一个LE audio设备,例如音箱和耳机等,通过显示设备的蓝牙模块基于至少两条目标音轨发出多条蓝牙广播,以实现不同区域的LE audio设备播放不同语言的效果。
具体的,电视机首先获取目标音视频资源的音轨,然后确定目标音视频资源的音轨的数量是否小于预设数量阈值;如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。
对应于如图28所示的场景示意图,本公开实施例提供一种如下图29所示的音频广播方法。图29为根据一些实施例的一种音频广播方法的流程示意图五。如图29所示,该方法可以包括但不限于以下步骤S2902-S2904:
S2902、获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
S2904、如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
本公开实施例中,在获取目标音视频资源的音轨之后,首先确定目标音视频资源的音轨数量是否不小于预设第一数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则监测针对目标音视频资源的音轨的音频广播触发操作;在接收到针对目标音视频资源的音轨中的至少两条音轨的音频广播触发操作后,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例中,第一目标音轨可以为预先配置的至少两条目标音轨中的任意一个音轨。
实际应用中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,然后将当前音频通道切换至蓝牙广播通道,在切换成功后,基于至少两条目标音轨发出多条蓝牙广播。
显示设备还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先将当前音频通道切换至蓝牙广播通道,并在切换成功后控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据”,再执行步骤“将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
本公开实施例提供的音频广播方法中,首先获取目标音视频资源的音轨,其中,一条音轨分别对应一个语种;然后确定目标音视频资源的音轨的数量是否不小于预设数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放第一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。可见,本公开实施例通过声音输出装置播放任一目标音轨的音频数据,以及针对每条目标音轨发出至少一条蓝牙广播,以利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
在一些实施例中,显示设备在获取到目标音视频资源的音轨之后,还可以在确定目标音视频资源的音轨的数量不小于预设数量阈值时,首先控制显示器显示多语共享控件,在接收到针对多语共享控件的触发操作时,显示目标音视频资源的音轨中的至少两条音轨的标识;然后,在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。其中,针对多音轨共享控件的触发操作,可以包括作用在多音轨共享控件上的点击操作等。
在接收到针对图14中(b)所示的“双语共享”控件的触发操作时,显示多语共享页面,以提示用户即将由声音输出装置播放第一目标音轨,并将音频输出通道切换到蓝牙广播通道;图14中(c)为根据一些实施例的一种多语共享页面的示意图,其中,该页面上显示有目标音视频资源的音轨的标识,例如中文、英文等,另外,该页面上还显示有“仅切换音频广播”控件,在接收到针对该控件的触发操作时,控制声音输出装置播放第一目标音轨,例如中文音轨,并基于中文音轨和英文音轨发出多条蓝牙广播。
在一些实施例中,显示设备控制显示器显示多语共享控件的过程中,还可以在接收到针对多语共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否等于预设数量阈值,如果确定目标音视频资源的音轨的数量等于预设数量阈值,则显示目标音视频资源的音轨的标识;在接收到针对目标音视频资源的音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并基于目标音视频资源的音轨发出多条蓝牙广播。
由于预设数量阈值可以用于表征显示设备能够支持同时进行共享的音轨的数量,因此在确定目标音视频资源的音轨的数量等于预设数量阈值时,说明目标音视频资源的音轨的数量恰好为显示设备能够支持同时进行共享的音轨数量,此时显示设备控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,并播放目标音视频资源全部的音轨内容,从而实现由声音输出装置播放一个音轨的音频数据,由蓝牙广播播出两条音轨的音频数据的效果。
在一些实施例中,显示设备在接收到针对至少两条目标音轨的取消共享触发操作时,控制蓝牙模块将当前音频通道从蓝牙广播通道切换,并控制声音输出装置继续播放目标音视频资源。
在一些实施例中,还可以在接收到针对至少两条目标音轨的取消共享触发操作时,首先确定显示设备当前是否存在已连接的目标蓝牙音频设备,如果确定存在已连接目标蓝牙设备,则控制蓝牙模块将当前音频通道切换至蓝牙音频通道,并将目标音视频资源的第一音轨对应的音频数据发送至目标蓝牙音频设备,以及根据当前播放进度控制声音输出装置继续播放第一目标音轨对应的音频数据。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,再执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,也可以先执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,再执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”之前,增加“确定当前是否存在已连接的目标蓝牙音频设备”等步骤。
对应于如图28所示的场景示意图,本公开实施例还提供一种如下图30所示的音频广播方法。图30为根据一些实施例的一种音频广播方法的流程示意图六。如图30所示,该方法可以包括但不限于以下步骤S3002-S3012:
S3002:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
S3004:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件。
本公开实施例中,步骤S3002-S3004具体可以参照图29所示方法中的步骤S2902-S2904进行理解,在此不做详细说明。
S3006:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值。
S3008:如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识。
本公开实施例中,显示设备在接收到针对多音轨共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否大于预设数量阈值;如果确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。
假设预设数量阈值为2,目标音视频资源的音轨的数量为3,在接收到针对多音轨共享控件的触发操作时,确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。图31为根据一些实施例的一种音频广播切换的流程示意图五,其中,图31中(a)示出了显示设备上的音轨菜单页面,该界面中可选择共享的音轨对应的语种,图31中(b)为根据一些实施例的一种音轨选择弹窗的示意图,该弹窗上显示有目标音视频资源的音轨的标识,例如中文、英文和日语等,每个音轨的标识分别具有对应的复选框,用户能够共享的音轨的数量不超过预设数量阈值,另外,该弹窗上还可以显示有“请选择共享的音轨,音频将以蓝牙广播形式发出,仅支持LE audio协议的蓝牙设备”的字样,以提示用户选择共享的多种语言。
S3010:接收从所述目标音视频资源的音轨中选定的至少两条目标音轨。
实际应用中,在显示目标音视频资源的音轨的标识的过程中,显示设备在接收到用户针对任意两条或多条音轨的选定指令时,将上述至少两条音轨确定为即将要进行同步广播的目标音轨,后续在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的任一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。
S3012:响应于针对所述至少两条目标音轨的音频广播触发操作,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,并基于所述至少两条目标音轨发出多条蓝牙广播。
本公开实施例中,显示设备控制显示器显示目标音视频资源的音轨的标识的过程中,首先接收从目标音视频资源的音轨中选定的至少两条目标音轨;然后在接收到针对至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例中,针对至少两条目标音轨的音频广播触发操作,可以包括针对至少两条目标音轨所在页面上的确认共享控件的触发操作等。在一些实施例中,在接收到针对图31中(b)所示的三条音轨中的中文音轨和英文音轨的选定操作时,将中文音轨和英文音轨确定为目标音轨,另外,音轨选择弹窗上可以显示有“确认共享”控件,在选定至少两条目标音轨之后,还可以在接收到针对“确定共享”控件的触发操作时,控制声音输出装置播放至少两条目标音轨中的任一目标音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。
实际应用中,显示设备在确定利用音频广播的方式播放的至少两条目标音轨之后,还可以将声音输出装置当前播放的音频数据对应的目标音轨确定为第一目标音轨,并在接收到针对至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放第一目标音轨,并基于至少两条目标音轨发出多条蓝牙广播。
在一些实施例中,显示设备控制声音输出装置播放中文音频的场景下,在音轨选择弹窗上显示目标音视频资源的音轨以及“确认共享”控件的过程中,显示设备还可以在接收从目标音视频资源的音轨中选定的至少两条目标音轨,以及针对“确认共享”控件的触发操作之后,由音轨选择弹窗跳转至图31中(c)所示的蓝牙广播切换弹窗,并在该弹窗上显示“蓝牙广播切换中”和“默认声音输出装置播放中文音频”的提示字样,以提示用户在选择共享的至少两条目标音轨后,将默认由声音输出装置继续播放当前正在播放的中文音频。
图32为根据一些实施例的一种音频广播切换的流程示意图六,在接收到针对图32中(a)所示的音轨菜单页面中的双语共享控件的触发操作时,显示图32中(b)所示的音轨选择弹窗,该弹窗上显示有目标音视频资源的音轨的标识和“选择喇叭的音轨”等控件;接收从目标音视频资源的音轨中选定的至少两条目标音轨,例如中文音轨和英文音轨后,还可以在接收到针对“选择喇叭的音轨”控件的触发操作时,由当前弹窗切换至图32中(c)所示的喇叭音轨选择弹窗,在该弹窗上显示至少两条目标音轨的过程中,还可以在接收到针对英文音轨的选定操作时,将英文音轨确定为第一目标音轨,并在接收到针对该弹窗中的“确认共享”控件的触发操作时,控制声音输出装置播放英文音轨对应的音频数据,并基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定所述目标音视频资源的音轨的数量是否不小于预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨中的至少两条目标音轨的标识”,也可以先执行步骤“确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨的标识”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据”之前,增加“将当前音频通道切换至蓝牙广播通道”等步骤。
可见,本公开实施例能够在显示目标音视频资源的音轨的过程中,在接收到用户针对音轨中的至少两条目标音轨的选定操作后,通过控制声音输出装置播放至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于至少两条目标音轨发出多条蓝牙广播,以利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
实际应用中,显示设备控制蓝牙模块将当前音频通道切换至蓝牙广播通道的过程中,可能存在音频数据与目标音视频资源的播放进度不一致的问题。为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈。
在一些实施例中,显示设备还可以在接收到针对音频数据中的至少两条目标音轨的音频广播指令时,控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
在一些实施例中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
在一些实施例中,显示设备还可以在接收到针对音频数据中的至少两条目标音轨的音频广播指令时,控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制播放器暂停播放所述目标音视频资源”,再执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制播放器暂停播放所述目标音视频资源”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
图22为根据一些实施例的一种设备配置流程图,其中,图22中(a)所示的音视频播放页面正在基于至少两条目标音轨发出多条蓝牙广播,在完成蓝牙广播的设置之后,还可以由图22中(a)所示的音视频播放页面自动跳转至设备管理页面,以提示用户为各个音轨分别配置对应的LE audio设备;图22中(b)为根据一些实施例的一种设备管理页面的示意图,其中,该页面上显示有已连接的LE audio设备,例如设备A和设备B。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备的过程中,显示设备还可以接收为已连接的LE audio设备中的第一LE audio设备配置的目标音轨,并将目标音轨对应的广播源信息发送至第一LE audio设备,以使第一LE audio设备基于广播源信息接收目标音轨对应的蓝牙广播。其中,第一LE audio设备可以为设备管理页面上显示的已连接LE audio设备中的任一设备。
在一些实施例中,在图22中(b)所示的设备管理页面上显示已连接的LE audio设备的过程中,在接收到针对第一LE audio设备(例如设备B)的音轨配置触发操作时,为设备B显示至少两条目标音轨。图22中(c)为根据一些实施例的一种音轨选择页面的示意图,该页面上显示至少两条目标音轨,以及“请选择蓝牙设备B要接收的音轨”的提示信息,以提示用户为设备B(即第一LE audio设备)选择要接收的音轨(即中文语种);在接收到针对任一目标音轨的选定操作时,将该目标音轨对应的广播源信息发送至设备B,以使设备B能够基于广播源信息接收目标音轨对应的蓝牙广播。
图23为根据一些实施例的一种设备连接状态的变化示意图,其中,图23中(a)所示的设备显示设备管理页面上显示有蓝牙模块扫描到的LE audio设备,例如设备C和设备D;在接收到针对第二LE audio设备(例如设备D)的连接请求时,与设备D建立连接。在与设备D成功建立连接后,在设备管理页面上的已连接设备列表中显示已连接的设备D,如图23中(b)所示,设备D此时处于已连接的设备列表中;在接收到针对设备D的音轨配置触发操作时,显示如图23中(c)所示的音轨选择页面,其中,该页面上显示有至少两条目标音轨,在接收到针对任一目标音轨(例如中文)的选定操作时,将该目标音轨(即中文)对应的广播源信息发送至设备D,以使设备D能够基于广播源信息接收目标音轨(即中文)对应的蓝牙广播。
继续以机场场景为例,对本公开实施例提供的音频广播的场景进行介绍。可以在机场大厅中部署一台显示设备,在机场的不同区域内布置多台LE audio设备,通过大厅中部署的显示设备的蓝牙模块发出多条蓝牙广播以及针对LE audio设备发送目标音轨对应的广播信息,具体的,向A区域的LE audio设备发送音轨1的广播信息,向B区域的LE audio设备发送音轨2的广播信息,向C区域的LE audio设备发送音轨3的广播信息,以及向D区域的LE audio设备发送音轨4的广播信息;由部署在不同区域的LE audio设备接收目标音轨对应的蓝牙广播,并播放目标音轨对应的音频数据,以实现不同区域的LE audio设备播放不同语种的音频。
以显示设备为电视机为例,如图33所示,图33为根据一些实施例的一种可能的广播场景示意图三,在机场大厅中部署一台电视,在机场的4个不同区域、A区域、B区域、C区域和D区域,分别部署一个LE audio设备,例如音箱和耳机等,通过显示设备的蓝牙模块基于至少两条目标音轨发出多条蓝牙广播,以实现不同区域的LE audio设备播放不同语言的效果。相比于图1所示的相关技术中的音频广播方式,本公开实施例提供的音频广播方法无需在不同区域分别部署多个显示设备来播放不同语言,而是通过一个显示设备和多个LE audio设备即可利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
对应于如图33所示的场景示意图,本公开实施例提供一种如下图34所示的音频广播方法。图34为根据一些实施例的一种音频广播方法的流程示意图七。如图34所示,该方法可以包括但不限于以下步骤S3402-S3404:
S3402、获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
本公开实施例中,目标音视频资源可以为显示设备当前正在播放的音频视频资源,图13为根据一些实施例的一种音频播放页面的示意图,该页面上正在播放的音视频资源即为目标音视频资源。
S3404、如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备。
本公开实施例中,在获取到目标音视频资源的音轨之后,首先确定目标音视频资源的音轨的数量是否小于预设数量阈值,如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则监测针对目标音视频资源的音轨的音频广播触发操作;在接收到针对目标音视频资源的音轨中的至少两条音轨的音频广播触发操作后,控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备。
在一些实施例中,显示设备在获取到目标音视频资源的音轨之后,还可以在确定目标音视频资源的音轨的数量不小于预设数量阈值时,首先控制显示器显示多音轨共享控件,在接收到针对多音轨共享控件的触发操作时,确定目标音视频资源的音轨的数量是否大于预设数量阈值,并在确定音轨的数量大于预设数量阈值时,显示目标音视频资源的音轨中的至少两条音轨的标识;然后,接收针对至少两条目标音轨的音频广播触发操作,基于至少两条目标音轨发出蓝牙广播。其中,针对多音轨共享控件的触发操作,可以包括作用在多音轨共享控件上的点击操作等。
在接收到针对图14中(b)所示的“双语共享”控件的触发操作时,显示多语共享页面,以提示用户即将由声音输出装置播放第一目标音轨,并将音频输出通道切换到蓝牙广播通道;图14中(c)为根据一些实施例的一种多音轨共享页面的示意图,其中,该页面上显示有目标音视频资源的音轨的标识,例如中文、英文等,另外,该页面上还显示有“连接蓝牙设备并切换”控件,在接收到针对该控件的触发操作时,控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备,进而为LE audio设备配置对应的目标音轨。
在一些实施例中,显示设备还可以在控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播的步骤之后,控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备;在接收到针对已连接的LE audio设备中的第一LE audio设备的音轨配置指令时,控制显示器显示音轨配置页面,并在音轨配置页面上显示至少两条目标音轨的音轨名称信息。
如图22中(b)所示的设备管理页面上显示有已连接的LE audio设备,例如设备A和设备B,在接收到针对设备A的音轨配置指令时,由图22中(b)所示的设备管理页面跳转至图22中(c)所示的音轨配置页面,并在该音轨配置页面上显示至少两条目标音轨的音轨名称信息,例如“中文”和“英文”。
在一些实施例中,在音轨配置页面上显示至少两条目标音轨的音轨名称信息的过程中,还可以响应于针对至少两条目标音轨中的第五目标音轨的选定指令,并将第五目标音轨对应的广播源信息发送至第一LE audio设备,以使第一LE audio设备基于该广播源信息接收第五目标音轨对应的蓝牙广播。
本公开实施例中,第五目标音轨可以为音轨配置页面上显示至少两条目标音轨中的任一目标音轨。
在一些实施例中,显示设备控制显示器显示多语共享控件的过程中,还可以在接收到针对多语共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否等于预设数量阈值,如果确定目标音视频资源的音轨的数量等于预设数量阈值,则显示目标音视频资源的音轨的标识;在接收到针对目标音视频资源的音轨的音频广播触发操作时,基于至少两条目标音轨发出蓝牙广播。
由于预设数量阈值可以用于表征显示设备能够支持同时进行共享的音轨的数量,因此在确定目标音视频资源的音轨的数量等于预设数量阈值时,说明目标音视频资源的音轨的数量恰好为显示设备能够支持同时进行共享的音轨数量,此时显示设备播放目标音视频资源全部的音轨内容,从而利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
本公开实施例中,针对目标音视频资源的音轨中的至少两条音轨的音频广播触发操作,可以包括在多语共享页面上针对设备配置控件的触发操作等。图35为根据一些实施例的一种设备配置流程图,其中,图35中(a)所示的多语共享页面上显示有“连接蓝牙设备并切换”字样的设备配置控件,在接收到针对该控件的触发操作时,控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备,以提示用户为各个音轨分别配置对应的LE audio设备。
图35中(b)为根据一些实施例的一种设备管理页面的示意图,其中,该页面上显示有已连接的LE audio设备,例如设备A和设备B。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,再执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,也可以先执行步骤“根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的目标音轨对应的音频数据”,再执行步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道”之前,增加“确定当前是否存在已连接的目标蓝牙音频设备”等步骤。
在一些实施例中,显示设备还可以在控制蓝牙模块基于至少两条目标音轨发出一条或多条蓝牙广播之前,响应于针对多音轨共享控件的触发指令,控制显示器显示设备配置控件。
如图14中(c)所示的音轨菜单页面上显示有“双语共享”字样的多音轨共享控件,在接收到针对该控件的触发指令时,显示图35中(a)所示的多语共享页面,并在该页面上显示有“连接蓝牙设备并切换”字样的设备配置控件。
在一些实施例中,在显示设备配置控件的过程中,还可以响应于针对设备配置控件的触发指令,控制显示器显示设备管理页面,并在设备管理页面上显示已连接的LE audio设备;进一步的,在接收到为已连接的LE audio设备中的第一LE audio设备选定的第四目标音轨的触发指令时,在设备管理页面上的第一LE audio设备的显示位置处显示第四目标音轨的音轨名称信息,以标识第四目标音轨与第一LE audio设备之间的对应关系。
如图35中(c)所示的音轨选择弹窗上显示有至少两条目标音轨,在为第一LE audio设备“蓝牙设备A”选择第一目标音轨“中文音轨”之后,在接收到针对“继续选择设备”控件的触发指令时,由图35中(c)所示的音轨选择弹窗跳转至图35中(d)所示的设备管理页面,并在设备管理页面上的“蓝牙设备A”的显示位置处显示为“蓝牙设备A”选择的第一目标音轨对应的音轨名称,即“中文音轨”。
在一些实施例中,还可以在接收到针对音轨数据中的至少两条目标音轨触发的音轨广播指令时,将第一目标音轨对应的广播信息发送至第一LE audio设备,以使第一LE audio设备基于广播信息接收第四目标音轨对应的蓝牙广播。
S3406、接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,所述第一目标音轨属于所述至少两条目标音轨。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备的过程中,显示设备还可以接收为已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨,并将第一目标音轨对应的广播源信息发送至第一LE audio设备,以使第一LE audio设备基于广播源信息接收目标音轨对应的蓝牙广播。其中,第一LE audio设备可以为设备管理页面上显示的已连接LE audio设备中的任一设备。
在一些实施例中,在图35中(b)所示的设备管理页面上显示已连接的LE audio设备的过程中,在接收到针对第一LE audio设备(例如设备B)的音轨配置触发操作时,为设备A显示至少一条第一目标音轨。图35中(c)为根据一些实施例的一种音轨选择页面的示意图,该页面上显示有至少一条第一目标音轨,以及“请选择蓝牙设备A要接收的音轨”的提示信息,以提示用户为设备A(即第一LE audio设备)选择要接收的音轨(即中文语种);在接收到针对任一第一目标音轨的选定操作时,将该第一目标音轨对应的广播源信息发送至设备A,以使设备A能够基于广播源信息接收第一目标音轨对应的蓝牙广播。
在图35中(c)所示的音轨选择页面还可以显示有“继续选择设备”控件,在接收到针对该控件的触发操作时,跳转至图35中(d)所示的设备管理页面,其中,该页面上针对设备A显示有“中文音轨”的提示字样,以提示用户已完成设备A的音轨配置。在接收到针对设备B的音轨配置触发操作时,由当前页面跳转至图35中(e)所示的音轨选择页面,并在该页面上实现针对设备B的音轨配置。
本公开实施例中,在设备管理页面上显示扫描到的LE audio设备的过程中,还可以在接收到针对扫描到的LE audio设备中的任一LE audio设备的连接请求,与该LE audio设备建立连接;在与扫描到的LE audio设备成功建立连接后,还可以在设备管理页面上的已连接的设备列表中显示该LE audio设备。
图36为根据一些实施例的一种设备连接状态的变化示意图,其中,图36中(a)所示的多语共享页面上显示有“连接蓝牙设备并切换”字样的设备配置控件,在接收到针对该控件的触发操作时,控制蓝牙模块扫描LE audio设备;图36中(b)所示的设备显示设备管理页面上显示有蓝牙模块扫描到的LE audio设备,例如设备C和设备D;在接收到针对任一LE audio设备(例如设备D)的连接请求时,与设备D建立连接。在与设备D成功建立连接后,在设备管理页面上的已连接设备列表中显示已连接的设备D,如图36中(c)所示,设备D此时处于已连接的设备列表中;在接收到针对设备D的音轨配置触发操作时,显示如图36中(d)所示的音轨选择页面,其中,该页面上显示有至少两条目标音轨,在接收到针对至少两条目标音轨中的第一目标音轨(例如中文)的选定操作时,将该第一目标音轨(即中文)对应的广播源信息发送至设备D,以使设备D能够基于广播源信息接收第一目标音轨(即中文)对应的蓝牙广播。
S3408、响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据,所述广播信息用于接收所述第一目标音轨的音频数据。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备,并为已连接的LE audio设备中的第一LE audio设备配置第一目标音轨后,在接收到针对至少两条音轨的音频广播触发操作时,基于至少两个条目标音轨发出多条蓝牙广播。
本公开实施例中,第一目标音轨对应的广播信息可以包括地址信息、设备地址、广播源地址、广播包簇ID号、广播ID信息、同步间隔、是否加密、Broadcast code、渲染延时时间、SUB GROUP信息、Android版本信息等广播参数信息。
本公开实施例中,在接收针对已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨之后,显示设备在接收针对至少两条目标音轨的音频广播触发操作时,将第一目标音轨对应的广播信息发送至第一LE audio设备,进一步的,由第一LE audio设备根据第一目标音轨对应的广播信息接收第一目标音轨的音频数据。
在一些实施例中,显示设备在基于至少两条目标音轨发出多条蓝牙广播之前,还可以包括:控制蓝牙模块将当前音频通道切换至蓝牙广播通道。
本公开实施例中,音频通道可以包括本机扬声器输出通道、通用串行总线(Universal Serial Bus,USB)音输出通道和高清多媒体界面(High Definition Multimedia Interface,HDMI)输出通道等较为传统的输出通道,还可以包括基于单播媒体发送器(Broadcast Media Sender,BMS)建立的音频输出通道等。当前音频通道可以为上述音频输出通道中的任意一个输出通道。
实际应用中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制声音输出装置静音,然后将当前音频通道切换至蓝牙广播通道,在切换成功后,基于至少两条目标音轨发出多条蓝牙广播。
显示设备还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先将当前音频通道切换至蓝牙广播通道,并在切换成功后控制声音输出装置静音,以及基于至少两条目标音轨发出多条蓝牙广播。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制声音输出装置静音”,再执行步骤“将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制声音输出装置静音”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少两条目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
本公开实施例提供的音频广播方法中,首先获取目标音视频资源的音轨;如果确定目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对至少两条目标音轨的音轨配置操作时,控制显示器显示设备管理页面,并接收针对第一LE audio设备配置的第一目标音轨;在接收到针对至少两条目标音轨的音频广播触发操作后,基于至少两条目标音轨发出多条蓝牙广播,以及将第一目标音轨对应的广播信息发送至第一LE audio设备。可见,本公开实施例针对每条目标音轨发出至少一条蓝牙广播,以及为LE audio设备配置目标音轨,并将目标音轨的广播信息发送至该LE audio设备,以利用音频广播的方式实现针对同一音视频资源的多语言同步播放的功能。
对应于如图33所示的场景示意图,本公开实施例还提供一种如下图37所示的音频广播方法。图37为根据一些实施例的一种音频广播方法的流程示意图八。如图37所示,该方法可以包括但不限于以下步骤S3702-S3716:
S3702:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据。
S3704:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件。
本公开实施例中,步骤S3702-S3704具体可以参照图34所示方法中的步骤S3402-S3404进行理解,在此不做详细说明。
S3706:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值。
S3708:如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识。
本公开实施例中,显示设备在接收到针对多音轨共享控件的触发操作时,首先确定目标音视频资源的音轨的数量是否大于预设数量阈值;如果确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。
假设预设数量阈值为2,目标音视频资源的音轨的数量为3,在接收到针对多音轨共享控件的触发操作时,确定目标音视频资源的音轨的数量大于预设数量阈值,则显示目标音视频资源的音轨的标识。图38为根据一些实施例的一种音频广播切换的流程示意图七,其中,图38中(a)示出了显示设备上的音轨菜单页面,该界面中可选择共享的音轨对应的语种,图38中(b)为根据一些实施例的一种音轨选择弹窗的示意图,该弹窗上显示有目标音视频资源的音轨的标识,例如中文、英文和日语等,每个音轨的标识分别具有对应的复选框,用户能够共享的音轨的数量不超过预设数量阈值,另外,该弹窗上还可以显示有“请选择共享的音轨,仅支持LE audio协议的蓝牙设备”的字样,以提示用户选择共享的多种语言。
S3710:接收并显示从所述目标音视频资源的音轨中选定的至少两条目标音轨。
实际应用中,在显示目标音视频资源的音轨的标识的过程中,显示设备在接收到用户针对任意两条或多条音轨的选定指令时,将上述至少两条音轨确定为即将要进行同步广播的目标音轨,后续在接收到针对至少两条目标音轨的音频广播触发操作时,基于至少两条目标音轨发出多条蓝牙广播,以及将第一目标音轨对应的广播信息发送至第一LE audio设备。
S3712:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备。
本公开实施例中,显示设备在接收用户从目标音视频资源的音轨中选定的至少两条目标音轨之后,在接收到针对至少两条目标音轨的音轨配置操作时,由当前页面跳转至设备管理页面,并在设备管理页面上显示已连接的LE audio设备,以便用户为至少两条目标音轨配置对应的LE audio设备。
S3714:接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,第一目标音轨至少两条目标音轨。
本公开实施例中,在设备管理页面上显示已连接的LE audio设备的过程中,在接收到针对第一LE audio设备的配置触发操作时,由设备管理页面跳转至音轨选择页面,并在音轨选择页面上显示针对第一LE audio设备可进行配置的目标音轨,进一步的,在接收到针对第一目标音轨的选定操作时,为第一LE audio设备配置第一目标音轨。
S3716:响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备。
本公开实施例中,在为第一LE audio设备配置第一目标音轨之后,还可以在接收到针对至少两条目标音轨的音频广播触发操作时,基于至少两条目标音轨发出多条蓝牙广播,以及将第一目标音轨对应的广播信息发送至第一LE audio设备,以便第一LE audio设备可以基于第一目标音轨对应的广播信息接收第一目标音轨的音频数据。
本公开实施例中,针对至少两条目标音轨的音频广播触发操作,可以包括针对至少两条目标音轨所在页面上的确认共享控件的触发操作等。在一些实施例中,假设进行双语共享之前声音输出装置播放的音频为中文音轨对应的音频数据,在接收到针对图38中(b)所示的三条音轨中的中文音轨和英文音轨的选定操作时,将中文音轨和英文音轨确定为目标音轨,另外,音轨选择弹窗上可以显示有“确认共享”控件,在选定至少两条目标音轨之后,还可以在接收到针对“确定共享”控件的触发操作时,基于中文音轨和英文音轨发出至少两条蓝牙广播。
在一些实施例中,在音轨选择弹窗上显示目标音视频资源的音轨以及“确认共享”控件的过程中,显示设备还可以在接收从目标音视频资源的音轨中选定的至少两条目标音轨,以及针对“确认共享”控件的触发操作之后,由音轨选择弹窗跳转至图38中(c)所示的多语共享页面,其中,该页面上显示有“连接蓝牙设备并切换”控件,在接收到用户针对该控件的触发操作时,由当前页面跳转至图38中(d)所示的设备管理页面,并在该页面上显示已连接的LE audio设备,并为已连接的LE audio设备配置对应的目标音轨。
本公开实施例对上述步骤的执行顺序不做限定,例如可以先执行步骤“确定所述目标音视频资源的音轨的数量是否不小于预设数量阈值”,再执行步骤“显示所述目标音视频资源的音轨中的至少两条目标音轨的标识”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于所述至少两条目标音轨发出多条蓝牙广播”之前,增加“接收并显示从所述目标音视频资源的音轨中选定的至少两条目标音轨”等步骤。
可见,本公开实施例能够在显示目标音视频资源的音轨的过程中,在接收到用户针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,基于至少两条目标音轨发出多条蓝牙广播,以及将第一目标音轨对应的广播信息发送至第一LE audio设备,以利用音频广播的方式实现针对同一音视频资源的多语言同时播放的功能。
实际应用中,显示设备控制蓝牙模块将当前音频通道切换至蓝牙广播通道的过程中,可能存在音频数据与目标音视频资源的播放进度不一致的问题。为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例还可以在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈。
在一些实施例中,显示设备在接收到针对目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,首先控制蓝牙模块将当前音频通道切换至蓝牙广播通道;然后控制播放器暂停播放目标音视频资源,以及获取目标音视频资源的播放进度信息;进一步的,在确定蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据播放进度信息以及至少两条目标音轨,控制audio解码器和video解码器对目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈,以便蓝牙协议栈基于解码后的音频数据发出多条蓝牙广播,从而实现针对同一音视频资源的多种语言同时播放的功能。
本公开实施例对上述步骤的执行顺序不做限制,例如可以先执行步骤“控制播放器暂停播放所述目标音视频资源”,再执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,也可以先执行步骤“控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道”,再执行步骤“控制播放器暂停播放所述目标音视频资源”,还可以同时在上述步骤之前增加一个或者多个步骤,例如在步骤“基于至少一条第二目标音轨发出多条蓝牙广播”之前,增加“重启audio解码器”或“重启audio解码器和video解码器”等步骤。
图39为根据一些实施例的一种音频广播切换的流程示意图八,其中,图39中(a)所示的设备管理页面上显示有已连接的LE audio设备,例如设备A和设备B,在接收到针对设备B的音轨配置操作时,由当前页面跳转至音轨选择页面,并在音轨选择页面上为设备B配置对应的目标音轨。
图39中(b)为根据一些实施例的一种音轨选择页面的示意图,该页面上显示至少两条目标音轨,另外,该页面上还显示有“继续选择耳机”控件和“完成并切换”控件;在接收到用户针对“继续选择耳机”控件的触发操作后跳转至设备管理页面,继续为其他LE audio设备配置目标音轨;在接收到用户针对“完成并切换”控件的触发操作时,控制蓝牙模块将当前音频通道切换至蓝牙广播通道。
实际应用中,为了提升用户的体验,使得用户对切换至蓝牙广播通道的过程有一定的预期,还可以在控制蓝牙模块将当前音频通道切换至蓝牙广播通道时,显示图39中(c)所示的“蓝牙广播切换中”的提示弹窗,以提示用户当前正在切换至蓝牙广播通道。
在确定蓝牙广播通道切换成功,继续播放目标音视频资源时,还可以在目标音视频资源的播放页面上显示“蓝牙广播已设置”的提示信息,如图39中(d)所示,以提示用户蓝牙广播切换成功,正在利用音频广播对目标音视频资源的多种语言同时进行播放。其中,“蓝牙广播已设置”信息在显示5秒后自动消失或者在接收到用户的返回操作时隐藏显示。
图40为根据一些实施例的一种电子设备的结构示意图,该电子设备可以为上述显示设备、控制终端或音频接收设备。如图40所示,该电子设备包括:处理器4001、存储器4002及存储在所述存储器4002上并可在所述处理器4001上运行的计算机程序,所述计算机程序被所述处理器4001执行时实现上述方法实施例中涉及以下方法:显示设备执行的音频广播方法。
本公开实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述音频广播方法执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本公开提供一种计算机程序产品,该计算机程序产品中包括计算机程序,当该计算机程序在计算机上运行时,使得所述计算机实现上述的音频广播方法。
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用实施方式以及适于具体使用考虑的各种不同的变形的实施方式。
Claims (131)
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码方式;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作;响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求1所述的显示设备,所述处理器执行所述响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据,具体被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据中的音轨格式信息;其中,所述音轨格式信息用于标识对应的音轨的音视频格式;根据所述音轨格式信息确定对应的音轨的音轨解码信息,并将所述音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,每条音轨的音轨解码信息中包括硬解码类型、软解码类型或软硬解码类型,所述硬解码类型用于表征对应的音轨仅支持硬解码方式,所述软解码类型用于表征对应的音轨仅支持软解码方式,所述软硬解码类型用于表征对应的音轨同时支持硬解码方式和软解码方式。
- 根据权利要求2所述的显示设备,所述处理器执行所述根据所述音轨格式信息确定对应的音轨的音轨解码信息,并将所述音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中,具体被配置为:如果所述音轨格式信息指示的音视频格式属于预设第一格式集合,则确定所述音轨格式信息对应的音轨仅支持硬解码方式,将标识硬解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,所述预设第一格式集合包括:audio/x-ac4音视频格式,audio/dts-hd音视频格式,audio/dts-lbr音视频格式和audip/dts-true-hd音视频格式中的至少一种;如果所述音轨格式信息指示的音视频格式属于预设第二格式集合,则确定所述音轨格式信息对应的音轨同时支持软解码方式和硬解码方式,将标识软硬解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中;其中,所述预设第二格式集合包括:audio/mpeg2音视频格式,audio/mpeg4音视频格式,audio/x-ac3音视频格式,audio/x-eac3音视频格式和audio/x-dts音视频格式中的至少一种;如果所述音轨格式信息指示的音视频格式不属于所述预设第一格式集合且不属于所述预设第二格式集合,则确定所述音轨格式信息对应的音轨支持的解码类型为软解码类型,并将标识所述软解码类型的音轨解码信息添加到所述音轨数据中的所述音轨的音轨信息中。
- 根据权利要求1所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;其中,所述音轨名称信息用于选定所述至少两条目标音轨。
- 根据权利要求4所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息,具体被配置为:响应于针对所述多音轨共享控件的触发指令,确定所述音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果所述音轨数量信息指示的音轨数量大于所述预设第二数量阈值,则显示第一窗口,并在所述第一窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及所述音轨名称信息对应的选择控件;响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口,并在所述第二窗口上显示所述至少两条目标音轨的音轨名称信息以及音频广播控件;其中,所述至少两条目标音轨分别支持不同的解码类型;所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求5所述的显示设备,所述处理器执行所述响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口之前,被进一步配置为:响应于针对所述第一窗口上的第一音轨名称信息对应的选择控件的触发指令,根据所述第一音轨名称信息对应的音轨的音轨解码信息,将所述第一窗口上的第二音轨名称信息按照预设显示样式进行显示,以提示所述第二音轨名称信息对应的选择控件不支持所述触发指令;其中,所述第二音轨名称信息与所述第一音轨名称信息分别对应的音轨支持相同的解码类型。
- 根据权利要求5所述的显示设备,所述处理器被进一步配置为:如果所述音轨数量信息指示的音轨数量不大于所述预设第二数量阈值,则显示第三窗口,并在所述第三窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及音频广播控件;所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求4所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述播放器暂停播放所述目标音视频资源。
- 根据权利要求1所述的显示设备,所述处理器进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨。
- 根据权利要求1所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,控制所述声音输出装置停止播放所述目标音视频资源;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求1所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第三目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求1所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条蓝牙广播;其中,所述蓝牙广播中包括为所述至少两条目标音轨分别创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
- 根据权利要求1所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条蓝牙广播对应于一条目标音轨,每条蓝牙广播中包括为对应的目标音轨创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
- 根据权利要求1所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,获取所述至少两条目标音轨的音轨语言信息,基于所述音轨语言信息配置subgroup名称;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
- 根据权利要求1所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,基于所述至少两条目标音轨的音轨语言信息配置subgroup名称,并将配置成功的subgroup名称同步至所述蓝牙模块;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
- 根据权利要求1所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据;控制所述播放器中的audio模块将所述至少两条目标音轨分别对应的音频数据进行拼装处理,得到拼装后音频数据;控制所述audio模块将所述拼装后音频数据传输至所述蓝牙模块,以使所述蓝牙模块从所述拼装后音频数据拆分出所述至少两条目标音轨分别对应的音频数据,用于发出多条蓝牙广播。
- 根据权利要求16所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:将所述至少两条目标音轨分别对应的音轨解码信息发送至所述播放器;所述处理器执行所述控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据,具体被配置为:控制所述播放器基于所述至少两条目标音轨分别对应的音轨解码信息对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据。
- 根据权利要求1所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求18所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求18所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求1所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述显示器至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定的第四目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第四目标音轨的音轨名称信息,以标识所述第四目标音轨与所述第一LE audio设备之间的对应关系。
- 根据权利要求21所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,将所述第四目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第四目标音轨对应的蓝牙广播。
- 根据权利要求1所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示音轨配置页面,并在所述音轨配置页面上显示所述至少两条目标音轨的音轨名称信息;响应于针对所述至少两条目标音轨中的第五目标音轨的选定指令,并将所述第五目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第五目标音轨对应的蓝牙广播。
- 根据权利要求23所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;所述处理器执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
- 根据权利要求18所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并控制所述声音输出装置继续播放所述目标音视频资源。
- 根据权利要求18所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称控件之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,确定是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的任一目标音轨对应的音频数据发送至所述目标蓝牙音频设备,以及控制所述声音输出装置继续播放任一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则控制所述声音输出装置继续播放所述目标音视频资源。
- 根据权利要求19或20所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块中的蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后的音频数据封装至对应的BIS流,并基于所述BIS流发出一条或多条蓝牙广播。
- 根据权利要求19或20所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定对应的目标音轨的BIS流;所述处理器执行所述将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至所述蓝牙模块中的蓝牙协议栈。
- 根据权利要求28所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
- 根据权利要求30所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求31所述的显示设备,所述处理器被进一步配置为:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制所述声音输出装置静音之后,且在所述基于所述至少两条目标音轨发出多条蓝牙广播之前,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求31所述的显示设备,所述处理器被进一步配置为:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制所述声音输出装置静音之后,且在所述基于所述至少两条目标音轨发出多条蓝牙广播之前,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求30所述的显示设备,所述处理器执行所述在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件;响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识;响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求34所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识,具体被配置为:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值;如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识;接收从所述目标音视频资源的音轨中选定的至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置静音,基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求30所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收为所述设备管理页面上的第一LE audio设备配置的目标音轨,并将所述目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述目标音轨对应的蓝牙广播。
- 根据权利要求36所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;所述处理器执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
- 根据权利要求31所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的第一音轨对应的音频数据。
- 根据权利要求31所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,确定当前是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的第二音轨对应的音频数据发送至所述目标蓝牙音频设备;如果不存在已连接的目标蓝牙音频设备,则根据当前播放进度控制所述声音输出装置播放所述目标音视频资源的第三音轨对应的音频数据。
- 根据权利要求32或33所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
- 根据权利要求32或33所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定所述目标音轨对应的BIS流;所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至蓝牙协议栈。
- 根据权利要求41所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
- 根据权利要求43所述的显示设备,所述处理器执行所述基于所述目标音视频资源的音轨中的至少两条目标音轨发出多条蓝牙音频广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求44所述的显示设备,所述处理器执行所述控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求44所述的显示设备,所述处理器执行所述控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求43所述的显示设备,所述处理器执行所述在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件;响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识;响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求47所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识,具体被配置为:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值;如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识;接收从所述目标音视频资源的音轨中选定的至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求47或48所述的显示设备,所述处理器执行所述响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:接收从所述至少两条目标音轨中为所述声音输出装置选定的第一目标音轨。
- 根据权利要求43所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收为所述设备管理页面上的第一LE audio设备配置的第一目标音轨,并将所述第一目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第一目标音轨对应的蓝牙广播。
- 根据权利要求50所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;所述处理器执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
- 根据权利要求44所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
- 根据权利要求44所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,确定当前是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的第一音轨对应的音频数据发送至所述目标蓝牙音频设备,以及根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
- 根据权利要求45或46所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
- 根据权利要求45或46所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定所述目标音轨对应的BIS流;所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至蓝牙协议栈。
- 根据权利要求55所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
- 根据权利要求57所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求58所述的显示设备,所述处理器执行所述控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求58所述的显示设备,所述处理器执行所述控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求57所述的显示设备,所述处理器执行所述在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则控制所述显示器显示多音轨共享控件;响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识;响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播。
- 根据权利要求61所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发操作,显示所述目标音视频资源的音轨中的至少两条目标音轨的标识,具体被配置为:响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述第一预设数量阈值;如果确定所述音轨的数量大于所述第一预设数量阈值,则显示所述目标音视频资源的音轨的标识;接收并显示从所述目标音视频资源的音轨中选定的至少两条目标音轨的标识。
- 根据权利要求61或62所述的显示设备,所述处理器执行所述响应于针对所述至少两条目标音轨的音频广播触发操作,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之前,被进一步配置为:接收从所述至少两条目标音轨中为所述声音输出装置选定的第一目标音轨。
- 根据权利要求57所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收为所述设备管理页面上的第一LE audio设备配置的第二目标音轨,并将所述第二目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第二目标音轨对应的蓝牙广播。
- 根据权利要求64所述的显示设备,所述处理器被执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;所述处理器执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
- 根据权利要求57所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
- 根据权利要求57所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的取消共享触发操作,确定当前是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的任一第二目标音轨对应的音频数据发送至所述目标蓝牙音频设备,以及根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则根据当前播放进度控制所述声音输出装置继续播放所述第一目标音轨对应的音频数据。
- 根据权利要求60或61所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述一条或多条第二目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
- 根据权利要求60或61所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的第二目标音轨的音轨信息,所述目标头信息用于确定所述第二目标音轨对应的BIS流;所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至蓝牙协议栈。
- 根据权利要求69所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定第一目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称信息,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系;响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口之前,被进一步配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述目标音视频资源的音轨数据中包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息,所述音轨语言信息用于标识对应的音轨的语言类型;如果所述音轨数据中的音轨数量信息指示的音轨数量不小于预设第一数量阈值,则显示多音轨共享控件;其中,所述多音轨共享控件用于触发所述共享触发指令。
- 根据权利要求72所述的显示设备,所述处理器执行所述响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件,具体被配置为:响应于针对所述多音轨共享控件的触发指令,确定所述音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果所述音轨数量信息指示的音轨数量大于所述预设第二数量阈值,则控制所述显示器显示所述音轨数据中的各音轨的音轨语言信息对应的音轨名称信息以及所述音轨名称信息对应的选择控件;响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第一窗口,并在所述第一窗口上至少显示设备配置控件。
- 根据权利要求73所述的显示设备,所述处理器被进一步配置为:如果所述音轨数量信息指示的音轨数量不大于所述预设第二数量阈值,则控制所述显示器显示所述第一窗口,并在所述第一窗口上至少显示设备配置控件。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件,具体被配置为:响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上显示所述至少两条目标音轨的音轨名称信息以及设备配置控件。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于为所述已连接的LE audio设备中的第一LE audio设备选定第一目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系,具体被配置为:响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示第二窗口,并在所述第二窗口上显示所述至少两条目标音轨的音轨名称信息;其中,所述音轨名称信息为基于对应的目标音轨的音轨语言信息确定;响应于针对所述至少两条目标音轨中的第一目标音轨的选定指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称信息,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系。
- 根据权利要求71所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第二目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨中的一条或多条第三目标音轨发出蓝牙广播;其中,所述一条或多条第三目标音轨包括所述至少两条目标音轨中除所述第二目标音轨之外的目标音轨。
- 根据权利要求71所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述声音输出装置停止播放所述目标音视频资源;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求71所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第四目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条蓝牙广播;其中,所述蓝牙广播中包括为所述至少两条目标音轨分别创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据;以及,控制所述蓝牙模块将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述蓝牙广播;其中,所述广播信息中包括所述第一目标音轨对应的subgroup的标识信息。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条蓝牙广播对应于一条目标音轨,每条蓝牙广播中包括为对应的目标音轨创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据;以及,控制所述蓝牙模块将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述蓝牙广播。
- 根据权利要求76所述的显示设备,所述处理器被进一步配置为:响应于针对所述设备配置控件的触发指令,获取所述至少两条目标音轨的音轨语言信息,基于所述音轨语言信息配置subgroup名称,并创建所述subgroup名称对应的subgroup;所述处理器执行所述响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示第二窗口,并在所述第二窗口上显示所述至少两条目标音轨的音轨名称信息,具体被配置为:响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示音轨配置页面,并在所述音轨配置页面上基于所述subgroup名称显示所述至少两条目标音轨。
- 根据权利要求76所述的显示设备,所述处理器被进一步配置为:响应于针对所述至少两条目标音轨中的第一目标音轨的选定指令,建立所述第一LE audio设备的mac地址与所述第一目标音轨的音轨语言信息对应的subgroup之间的对应关系,并将所述对应关系发送至所述蓝牙模块;所述处理器执行所述将所述第一目标音轨的广播信息发送至所述第一LE audio设备,具体被配置为:控制所述蓝牙模块基于所述对应关系中的所述第一LE audio设备的mac地址,将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,所述广播信息中包括所述第一目标音轨对应的subgroup的信息。
- 根据权利要求71所述的显示设备,所述处理器上部署有播放器,所述处理器执行所述响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据,并控制所述播放器中的audio模块将所述至少两条目标音轨分别对应的音频数据进行拼装处理,得到拼装后音频数据;控制所述audio模块将所述拼装后音频数据传输至蓝牙模块,以及控制所述蓝牙模块从所述拼装后音频数据拆分出所述至少两条目标音轨分别对应的音频数据后,基于所述至少两条目标音轨分别对应的音频数据发出一条或多条蓝牙广播。
- 根据权利要求71所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备的连接请求,与所述扫描到的LE audio设备建立连接。
- 根据权利要求71所述的显示设备,所述处理器执行所述响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:响应于针对所述设备配置控件的触发指令,获取已连接设备的通用唯一标识码UUID,并基于所述UUID从所述已连接设备中确定已连接的LE audio设备;其中,所述LE audio设备的UUID指示支持LE audio协议;控制所述显示器显示设备管理页面,并在所述设备管理页面上显示所述已连接的LE audio设备。
- 根据权利要求72所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述播放器暂停播放所述目标音视频资源。
- 根据权利要求71所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求88所述的显示设备,所述处理器上部署有播放器,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求88所述的显示设备,所述处理器上部署有播放器,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求89或90所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块中的蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
- 根据权利要求89或90所述的显示设备,所述处理器执行所述将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定所述目标音轨对应的BIS流;所述处理器执行所述将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至所述蓝牙模块中的蓝牙协议栈。
- 根据权利要求92所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种显示设备,包括:显示器;蓝牙模块;声音输出装置;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,所述第一目标音轨属于所述至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据,所述广播信息用于接收所述第一目标音轨的音频数据。
- 根据权利要求94所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备的连接请求,与所述扫描到的LE audio设备建立连接。
- 根据权利要求94所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求96所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:响应于针对所述至少两条目标音轨的音频广播触发操作,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求96所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:响应于针对所述至少两条目标音轨的音频广播触发操作,控制播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出多条蓝牙广播。
- 根据权利要求97或98所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出蓝牙广播。
- 根据权利要求97或98所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定所述目标音轨对应的BIS流;所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至蓝牙协议栈。
- 根据权利要求100所述的显示设备,所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述基于所述至少两条目标音轨发出多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 根据权利要求94所述的显示设备,所述处理器执行所述在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备之前,被进一步配置为:如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则控制所述显示器显示多音轨共享控件;响应于针对所述多音轨共享控件的触发操作,确定所述目标音视频资源的音轨的数量是否大于所述预设数量阈值;如果确定所述音轨的数量大于所述预设数量阈值,则显示所述目标音视频资源的音轨的标识;接收并显示从所述目标音视频资源的音轨中选定的至少两条目标音轨的标识。
- 一种显示设备,包括:显示器;声音输出装置;蓝牙模块;分别与所述显示器、所述声音输出装置和所述蓝牙模块连接的处理器;所述处理器,被配置为:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息,所述音轨语言信息用于标识对应的音轨的语言类型;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,则显示多音轨共享控件;响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨。
- 根据权利要求103所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述声音输出装置停止播放所述目标音视频资源;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述声音输出装置播放所述至少两条目标音轨中的第三目标音轨对应的音频数据;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条蓝牙广播;其中,所述蓝牙广播中包括为所述至少两条目标音轨分别创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
- 根据权利要求103所述的显示设备,所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条蓝牙广播对应于一条目标音轨,每条蓝牙广播中包括为对应的目标音轨创建的subgroup,所述subgroup中携带有对应的目标音轨的音频数据。
- 根据权利要求103所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息,具体被配置为:响应于针对所述多音轨共享控件的触发指令,确定所述音轨数量信息指示的音轨数量是否大于预设第二数量阈值;如果所述音轨数量信息指示的音轨数量大于所述预设第二数量阈值,则显示第一窗口,并在所述第一窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及所述音轨名称信息对应的选择控件;响应于基于所述音轨名称信息和所述选择控件针对至少两条目标音轨触发的选定指令,显示第二窗口,并在所述第二窗口上显示所述至少两条目标音轨的音轨名称信息以及音频广播控件;所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求109所述的显示设备,所述处理器,被进一步配置为:如果所述音轨数量信息指示的音轨数量不大于所述预设第二数量阈值,则显示第三窗口,并在所述第三窗口上显示所述音轨数据中的音轨语言信息对应的音轨名称信息以及音频广播控件;所述处理器执行所述响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:响应于针对所述音频广播控件的触发指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器上部署有播放器,所述处理器,被进一步配置为:响应于针对所述多音轨共享控件的触发指令,控制所述播放器暂停播放所述目标音视频资源。
- 根据权利要求103所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,获取所述至少两条目标音轨的音轨语言信息,基于所述音轨语言信息配置subgroup名称;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
- 根据权利要求103所述的显示设备,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,基于所述至少两条目标音轨的音轨语言信息配置subgroup名称,并将配置成功的subgroup名称同步至所述蓝牙模块;其中,所述subgroup名称用于构成包含所述音轨语言信息的目标音轨对应的广播源信息。
- 根据权利要求103所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器基于所述至少两条目标音轨对所述目标音视频资源进行解码处理,得到所述至少两条目标音轨分别对应的音频数据,并控制所述播放器中的audio模块将所述至少两条目标音轨分别对应的音频数据进行拼装处理,得到拼装后音频数据;控制所述audio模块将所述拼装后音频数据传输至所述蓝牙模块,以使所述蓝牙模块从所述拼装后音频数据拆分出所述至少两条目标音轨分别对应的音频数据,用于发出多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之前,被进一步配置为:控制所述蓝牙模块将当前音频通道切换至蓝牙广播通道。
- 根据权利要求115所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求115所述的显示设备,所述处理器上部署有播放器,所述处理器被进一步配置为:响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述播放器暂停播放所述目标音视频资源,以及获取所述目标音视频资源的播放进度信息;在确定所述蓝牙广播通道切换成功时,重启audio解码器和video解码器,并根据所述播放进度信息以及所述至少两条目标音轨,控制所述audio解码器和所述video解码器对所述目标音视频资源进行解码,并将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈;其中,所述蓝牙协议栈用于基于所述解码后的音频数据发出一条或多条蓝牙广播。
- 根据权利要求103所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播之后,被进一步配置为:控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于针对所述已连接的LE audio设备中的第一LE audio设备的音轨配置指令,控制所述显示器显示音轨配置页面,并在所述音轨配置页面上显示所述至少两条目标音轨的音轨名称;响应于针对所述至少两条目标音轨中的第四目标音轨的选定指令,并将所述第四目标音轨对应的广播源信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播源信息接收所述第四目标音轨对应的蓝牙广播。
- 根据权利要求118所述的显示设备,所述处理器执行所述控制所述显示器显示设备管理页面之后,被进一步配置为:控制所述蓝牙模块进行设备扫描,并控制所述显示器在所述设备管理页面上显示扫描到的LE audio设备;响应于针对所述扫描到的LE audio设备中的第二LE audio设备的连接请求,与所述第二LE audio设备建立连接;所述处理器执行所述在所述设备管理页面上显示已连接的LE audio设备,具体被配置为:在所述设备管理页面上显示已连接的所述第二LE audio设备。
- 根据权利要求115所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,控制所述蓝牙模块将所述当前音频通道从所述蓝牙广播通道切出,并控制所述声音输出装置继续播放所述目标音视频资源。
- 根据权利要求115所述的显示设备,所述处理器执行所述响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息之后,被进一步配置为:响应于针对所述至少两条目标音轨的取消共享指令,确定是否存在已连接的目标蓝牙音频设备;其中,所述目标蓝牙音频设备支持LE audio协议和/或A2DP协议;如果存在已连接的目标蓝牙音频设备,则控制所述蓝牙模块将所述当前音频通道切换至蓝牙音频通道,并将所述目标音视频资源的任一目标音轨对应的音频数据发送至所述目标蓝牙音频设备,以及控制所述声音输出装置继续播放任一目标音轨对应的音频数据;如果不存在已连接的目标蓝牙音频设备,则控制所述声音输出装置继续播放所述目标音视频资源。
- 根据权利要求116或117所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙模块中的蓝牙协议栈根据预设的音轨与BIS流的对应关系,将所述至少两条目标音轨分别对应的解码后音频数据封装至对应的BIS流,并基于所述BIS流发出一条或多条蓝牙广播。
- 根据权利要求116或117所述的显示设备,所述处理器执行所述将解码后的音频数据发送至蓝牙协议栈之前,被进一步配置为:控制所述audio解码器为所述解码后的音频数据添加目标头信息,得到携带有所述目标头信息的处理后音频数据;其中,所述目标头信息中封装有所述解码后的音频数据对应的目标音轨的音轨信息,所述目标头信息用于确定对应的目标音轨的BIS流;所述处理器执行所述将解码后的音频数据发送至所述蓝牙模块中的蓝牙协议栈,具体被配置为:将所述处理后音频数据发送至所述蓝牙模块中的蓝牙协议栈。
- 根据权利要求123所述的显示设备,所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播的步骤之前,被进一步配置为:为所述至少两条目标音轨分别设置对应的BIS流;所述处理器执行所述控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,具体被配置为:控制所述蓝牙协议栈根据接收到的所述处理后音频数据的所述目标头信息中封装的所述音轨信息,确定对应的BIS流,并将所述处理后音频数据封装至所述BIS流,以及基于所述BIS流发出蓝牙广播。
- 一种音频广播方法,包括:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息和音轨解码信息,所述音轨语言信息用于标识对应的音轨的语言类型,所述音轨解码信息用于标识对应的音轨支持的解码方式;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,且所述音轨数据中的音轨解码信息符合预设解码条件,则显示多音轨共享控件;其中,所述预设解码条件为所述音轨数据中包括至少一条支持硬解码方式的音轨和至少一条支持软解码方式的音轨,所述多音轨共享控件用于触发针对所述目标音视频资源的多音轨共享操作;响应于针对所述音轨数据中的至少两条目标音轨触发的音轨广播指令,控制蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
- 一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置静音,并基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
- 一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作后,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨发出多条蓝牙广播;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据。
- 一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于第一预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音频广播触发操作时,控制声音输出装置播放所述至少两条目标音轨中的第一目标音轨对应的音频数据,以及基于所述至少两条目标音轨中的一条或多条第二目标音轨发出蓝牙广播;其中,所述一条或多条第二目标音轨包括所述至少两条目标音轨中除所述第一目标音轨之外的目标音轨,每条第二目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播所述第二目标音轨的音频数据。
- 一种音频广播方法,包括:响应于针对目标音视频资源的至少两条目标音轨的共享触发指令,控制所述显示器显示第一窗口,并在所述第一窗口上至少显示设备配置控件;响应于针对所述设备配置控件的触发指令,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;响应于为所述已连接的LE audio设备中的第一LE audio设备选定第一目标音轨的触发指令,在所述设备管理页面上的所述第一LE audio设备的显示位置处显示所述第一目标音轨的音轨名称信息,以标识所述第一目标音轨与所述第一LE audio设备之间的对应关系;响应于针对所述至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备,以使所述第一LE audio设备基于所述广播信息接收所述第一目标音轨对应的蓝牙广播。
- 一种音频广播方法,包括:获取目标音视频资源的音轨;其中,所述音轨与语种之间具有一一对应关系,所述音轨用于存储自身对应的语种的音频数据;如果确定所述目标音视频资源的音轨的数量不小于预设数量阈值,则在接收到针对所述目标音视频资源的音轨中的至少两条目标音轨的音轨配置操作时,控制所述显示器显示设备管理页面,并在所述设备管理页面上显示已连接的LE audio设备;接收针对所述已连接的LE audio设备中的第一LE audio设备配置的第一目标音轨;其中,所述第一目标音轨属于所述至少两条目标音轨;响应于针对所述至少两条目标音轨的音频广播触发操作,基于所述至少两条目标音轨发出多条蓝牙广播,以及将所述第一目标音轨对应的广播信息发送至所述第一LE audio设备;其中,每条目标音轨对应于至少一条蓝牙广播,所述蓝牙广播用于广播对应的目标音轨的音频数据,所述广播信息用于接收所述第一目标音轨的音频数据。
- 一种音频广播方法,包括:响应于针对目标音视频资源的第一按键指令,获取所述目标音视频资源的音轨数据;其中,所述音轨数据包括音轨数量信息以及每条音轨的音轨信息,所述音轨信息包括音轨语言信息,所述音轨语言信息用于标识对应的音轨的语言类型;如果所述音轨数量信息指示的音轨数量不小于预设第一数量阈值,则显示多音轨共享控件;响应于针对所述多音轨共享控件的触发指令,显示所述音轨数据中的音轨语言信息对应的音轨名称信息;响应于针对所述音轨数据中的至少两条目标音轨的音频广播指令,控制所述蓝牙模块基于所述至少两条目标音轨发出一条或多条蓝牙广播。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202580002042.5A CN121399955A (zh) | 2023-03-30 | 2025-01-21 | 显示设备及音频广播方法 |
Applications Claiming Priority (15)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310331635 | 2023-03-30 | ||
| CN202410361450.7 | 2024-03-27 | ||
| CN202410359462.6 | 2024-03-27 | ||
| CN202410359462.6A CN118741210A (zh) | 2023-03-30 | 2024-03-27 | 显示设备及音频广播方法 |
| CN202410361462.XA CN118741212A (zh) | 2023-03-30 | 2024-03-27 | 显示设备及音频广播方法 |
| CN202410361450.7A CN118741211A (zh) | 2023-03-30 | 2024-03-27 | 显示设备及音频广播方法 |
| CN202410361462.X | 2024-03-27 | ||
| CN202410362138.XA CN118741213A (zh) | 2023-03-30 | 2024-03-27 | 显示设备及音频广播方法 |
| CN202410362138.X | 2024-03-27 | ||
| CN202411405728.2A CN119496945A (zh) | 2023-03-30 | 2024-10-09 | 显示设备及音频广播方法 |
| CN202411405678.8 | 2024-10-09 | ||
| CN202411405678.8A CN119496944A (zh) | 2023-03-30 | 2024-10-09 | 显示设备及音频广播方法 |
| CN202411405429.9A CN119496943A (zh) | 2023-03-30 | 2024-10-09 | 显示设备及音频广播方法 |
| CN202411405728.2 | 2024-10-09 | ||
| CN202411405429.9 | 2024-10-09 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025200747A1 true WO2025200747A1 (zh) | 2025-10-02 |
Family
ID=87949133
Family Applications (4)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/081274 Ceased WO2024198924A1 (zh) | 2023-03-30 | 2024-03-12 | 显示设备、显示系统和音频广播方法 |
| PCT/CN2024/085073 Ceased WO2024199500A1 (zh) | 2023-03-30 | 2024-03-29 | 显示设备及音频广播方法 |
| PCT/CN2025/071526 Pending WO2025189947A1 (zh) | 2023-03-30 | 2025-01-09 | 显示设备及设备配对连接方法 |
| PCT/CN2025/073716 Pending WO2025200747A1 (zh) | 2023-03-30 | 2025-01-21 | 显示设备及音频广播方法 |
Family Applications Before (3)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/081274 Ceased WO2024198924A1 (zh) | 2023-03-30 | 2024-03-12 | 显示设备、显示系统和音频广播方法 |
| PCT/CN2024/085073 Ceased WO2024199500A1 (zh) | 2023-03-30 | 2024-03-29 | 显示设备及音频广播方法 |
| PCT/CN2025/071526 Pending WO2025189947A1 (zh) | 2023-03-30 | 2025-01-09 | 显示设备及设备配对连接方法 |
Country Status (2)
| Country | Link |
|---|---|
| CN (15) | CN116915350A (zh) |
| WO (4) | WO2024198924A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116915350A (zh) * | 2023-03-30 | 2023-10-20 | 海信视像科技股份有限公司 | 显示设备 |
| CN119629408A (zh) * | 2024-10-09 | 2025-03-14 | 海信视像科技股份有限公司 | 显示设备及音频广播方法 |
| CN121262434A (zh) * | 2024-06-25 | 2026-01-02 | 海信视像科技股份有限公司 | 显示设备及声道配置方法 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210400096A1 (en) * | 2018-11-08 | 2021-12-23 | Lg Electronics Inc. | Method and apparatus for receiving audio data by using bluetooth technology |
| CN113986191A (zh) * | 2021-12-27 | 2022-01-28 | 广州酷狗计算机科技有限公司 | 音频播放方法、装置、终端设备及存储介质 |
| CN115278324A (zh) * | 2022-06-30 | 2022-11-01 | 海信视像科技股份有限公司 | 一种显示设备、蓝牙设备和bis音频传输方法 |
| CN116828241A (zh) * | 2023-03-30 | 2023-09-29 | 海信视像科技股份有限公司 | 显示设备 |
Family Cites Families (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101185362A (zh) * | 2005-04-07 | 2008-05-21 | 高通股份有限公司 | 无线广播网络中的选择性网络切换 |
| JP2007215229A (ja) * | 2007-04-11 | 2007-08-23 | Sony Corp | オーディオ信号再生装置及びオーディオ再生方法 |
| CN103947188A (zh) * | 2012-10-30 | 2014-07-23 | 深圳市多尼卡电子技术有限公司 | 音视频文件的编辑、播放方法、装置及广播系统 |
| CN103916692A (zh) * | 2014-03-25 | 2014-07-09 | 小米科技有限责任公司 | 视频播放方法、装置及播放终端 |
| CN105307102A (zh) * | 2014-07-18 | 2016-02-03 | 光宝电子(广州)有限公司 | 蓝牙无线音频传输器 |
| CN108153508A (zh) * | 2017-12-07 | 2018-06-12 | 天脉聚源(北京)传媒科技有限公司 | 一种音频处理的方法及装置 |
| US10540970B2 (en) * | 2017-12-12 | 2020-01-21 | Amazon Technologies, Inc. | Architectures and topologies for vehicle-based, voice-controlled devices |
| CN109831746B (zh) * | 2018-11-27 | 2020-09-01 | 阿里巴巴集团控股有限公司 | 一种基于蓝牙广播进行数据传输的方法、装置及蓝牙设备 |
| CN113287332B (zh) * | 2019-06-10 | 2025-02-28 | 海信视像科技股份有限公司 | 显示设备及扫描外部蓝牙设备的方法 |
| CN112055286A (zh) * | 2020-09-04 | 2020-12-08 | 捷开通讯(深圳)有限公司 | 蓝牙音箱的控制方法及系统、存储介质及移动终端 |
| WO2022078166A1 (zh) * | 2020-10-14 | 2022-04-21 | 海信视像科技股份有限公司 | 一种蓝牙设备类型切换方法及显示设备 |
| CN114765761B (zh) * | 2021-01-15 | 2024-08-23 | Oppo广东移动通信有限公司 | 音频数据的传输方法,电子设备及存储介质 |
| CN115412835A (zh) * | 2021-05-27 | 2022-11-29 | Oppo广东移动通信有限公司 | 音频共享方法、装置、终端、音频设备及存储介质 |
| CN115442643B (zh) * | 2021-06-03 | 2024-09-13 | Oppo广东移动通信有限公司 | 投屏方法、装置、无线终端、投屏设备及存储介质 |
| CN115442779A (zh) * | 2021-06-04 | 2022-12-06 | 上海擎感智能科技有限公司 | 音频数据的播放方法及装置 |
| CN115550705A (zh) * | 2021-06-30 | 2022-12-30 | 海信视像科技股份有限公司 | 一种音频播放方法及装置 |
| CN113328816B (zh) * | 2021-08-03 | 2021-10-29 | 北京百瑞互联技术有限公司 | 一种le音频广播流同步收听方法及装置 |
| US12035017B2 (en) * | 2021-10-21 | 2024-07-09 | Rovi Guides, Inc. | System and method for selection and transmission of personalized content tracks |
| CN113905217B (zh) * | 2021-12-08 | 2022-04-01 | 荣耀终端有限公司 | 投屏方法、设备及存储介质 |
| CN114822594B (zh) * | 2022-04-25 | 2025-05-16 | 北斗智联科技有限公司 | Dab-fm无缝切换的音频处理方法、装置、设备及介质 |
| CN115002273B (zh) * | 2022-05-25 | 2024-01-16 | 恒玄科技(上海)股份有限公司 | 音频流播放方法、装置、移动终端、蓝牙耳机和存储介质 |
| CN116916075A (zh) * | 2023-03-30 | 2023-10-20 | 海信视像科技股份有限公司 | 一种显示设备以及声道信息的确定方法 |
-
2023
- 2023-06-14 CN CN202310708857.8A patent/CN116915350A/zh active Pending
- 2023-06-14 CN CN202310708882.6A patent/CN116760497A/zh active Pending
- 2023-06-27 CN CN202310766925.6A patent/CN116828241A/zh active Pending
-
2024
- 2024-03-12 WO PCT/CN2024/081274 patent/WO2024198924A1/zh not_active Ceased
- 2024-03-13 CN CN202410284366.XA patent/CN118741473A/zh active Pending
- 2024-03-13 CN CN202410284160.7A patent/CN118741472A/zh active Pending
- 2024-03-27 CN CN202410361450.7A patent/CN118741211A/zh active Pending
- 2024-03-27 CN CN202410362138.XA patent/CN118741213A/zh active Pending
- 2024-03-27 CN CN202410361462.XA patent/CN118741212A/zh active Pending
- 2024-03-27 CN CN202410359462.6A patent/CN118741210A/zh active Pending
- 2024-03-29 WO PCT/CN2024/085073 patent/WO2024199500A1/zh not_active Ceased
- 2024-10-09 CN CN202411405548.4A patent/CN119545072A/zh active Pending
- 2024-10-09 CN CN202411405498.XA patent/CN119583872A/zh active Pending
- 2024-10-09 CN CN202411405429.9A patent/CN119496943A/zh active Pending
- 2024-10-09 CN CN202411405678.8A patent/CN119496944A/zh active Pending
- 2024-10-09 CN CN202411405728.2A patent/CN119496945A/zh active Pending
-
2025
- 2025-01-09 WO PCT/CN2025/071526 patent/WO2025189947A1/zh active Pending
- 2025-01-21 CN CN202580002042.5A patent/CN121399955A/zh active Pending
- 2025-01-21 WO PCT/CN2025/073716 patent/WO2025200747A1/zh active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210400096A1 (en) * | 2018-11-08 | 2021-12-23 | Lg Electronics Inc. | Method and apparatus for receiving audio data by using bluetooth technology |
| CN113986191A (zh) * | 2021-12-27 | 2022-01-28 | 广州酷狗计算机科技有限公司 | 音频播放方法、装置、终端设备及存储介质 |
| CN115278324A (zh) * | 2022-06-30 | 2022-11-01 | 海信视像科技股份有限公司 | 一种显示设备、蓝牙设备和bis音频传输方法 |
| CN116828241A (zh) * | 2023-03-30 | 2023-09-29 | 海信视像科技股份有限公司 | 显示设备 |
| CN118741213A (zh) * | 2023-03-30 | 2024-10-01 | 海信视像科技股份有限公司 | 显示设备及音频广播方法 |
| CN118741211A (zh) * | 2023-03-30 | 2024-10-01 | 海信视像科技股份有限公司 | 显示设备及音频广播方法 |
| CN118741212A (zh) * | 2023-03-30 | 2024-10-01 | 海信视像科技股份有限公司 | 显示设备及音频广播方法 |
| CN118741210A (zh) * | 2023-03-30 | 2024-10-01 | 海信视像科技股份有限公司 | 显示设备及音频广播方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119496943A (zh) | 2025-02-21 |
| CN119545072A (zh) | 2025-02-28 |
| CN116828241A (zh) | 2023-09-29 |
| CN116760497A (zh) | 2023-09-15 |
| CN118741212A (zh) | 2024-10-01 |
| CN119496945A (zh) | 2025-02-21 |
| WO2024199500A1 (zh) | 2024-10-03 |
| WO2025189947A1 (zh) | 2025-09-18 |
| CN119583872A (zh) | 2025-03-07 |
| CN118741211A (zh) | 2024-10-01 |
| CN118741210A (zh) | 2024-10-01 |
| CN121399955A (zh) | 2026-01-23 |
| CN119496944A (zh) | 2025-02-21 |
| CN118741473A (zh) | 2024-10-01 |
| CN116915350A (zh) | 2023-10-20 |
| CN118741472A (zh) | 2024-10-01 |
| CN118741213A (zh) | 2024-10-01 |
| WO2024198924A1 (zh) | 2024-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20260023525A1 (en) | Display apparatus and method therefor | |
| US20100064329A1 (en) | Communication system and method | |
| CN121399955A (zh) | 显示设备及音频广播方法 | |
| WO2010026196A1 (en) | Communication system and method | |
| JP2026034572A (ja) | 表示装置、表示装置連携システム、及び音声再生方法 | |
| WO2025200748A1 (zh) | 显示设备及音频广播方法 | |
| CN120980490A (zh) | 显示设备及音量调节方法 | |
| CN120980489A (zh) | 显示设备及音量调节方法 | |
| WO2026000999A1 (zh) | 显示设备及声道配置方法 | |
| WO2025123525A1 (zh) | 显示设备及设备控制方法 | |
| CN119815091A (zh) | 显示设备及音频数据处理方法 | |
| CN116939270A (zh) | 一种显示设备及播放参数的设置方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25775886 Country of ref document: EP Kind code of ref document: A1 |