Display device and audio broadcasting method
By integrating the Bluetooth module in the display device and controlling the audio track broadcast, multi-language simultaneous playback supporting the LE Audio protocol is realized, which solves the problem of low audio broadcast efficiency in the existing technology and improves the user experience in a multi-lingual environment.
Patent Information
- Application Number
- PCT/CN2024/085073
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-27
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
It is difficult with existing technology to achieve simultaneous playback of multiple languages for the same audio and video resources on a display device that supports the Bluetooth Low Energy Audio (LE Audio) protocol. Especially in multi-lingual audio broadcast scenarios, the broadcast efficiency is low.
By integrating the Bluetooth module in the display device, the audio tracks of the target audio and video resources are obtained, and when the audio broadcast trigger operation of multiple target audio tracks is received, the sound output device is controlled to mute, and multiple audio tracks are emitted based on the multiple target audio tracks. Bluetooth broadcast enables simultaneous playback of multiple languages.
It improves the efficiency of audio broadcasting and can play audio and video resources in multiple languages at the same time, improving user experience, especially in multilingual environments such as airports.
Smart Images

Figure CN2024085073_03102024_PF_FP_ABST
Abstract
Description
Display device and audio broadcasting method
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent applications filed on March 30, 2023, with application number 202310331635.9; filed on March 27, 2024, with application number 202410361462.X; filed on March 27, 2024, with application number 202410359462.6; filed on March 27, 2024, with application number 202410362138.X; and filed on March 27, 2024, with application number 202410361450.7, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of Bluetooth technology, and in particular to a display device and an audio broadcasting method. Background Art
[0004] With the introduction of Bluetooth Low Energy Audio (LE Audio), a new generation of Bluetooth audio technology, an increasing number of display devices, such as display devices and terminal devices, are now able to support the Bluetooth Low Energy Audio (LE Audio) protocol. For display devices that support the LE Audio protocol, how to enable simultaneous multi-language playback of the same audio and video resources is a pressing technical challenge.
[0005] Summary of the Invention
[0006] In a first aspect, the present application provides a display device, comprising: a display; a Bluetooth module; a sound output device; a memory configured to store computer instructions and data associated with the display device; at least one processor connected to the Bluetooth module, the at least one processor being configured to execute computer instructions so that the display device executes: obtaining 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 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 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.
[0007] In a second aspect, the present application 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.
[0008] In a third aspect, the present application provides a computer-readable non-volatile storage medium, on which a computer program is stored. When the computer program is executed by at least one processor, the audio broadcasting method shown in the second aspect is implemented.
[0009] In a fourth aspect, the present application provides a computer program product, which may include a computer program. When the computer program is run on a computer, the computer implements the audio broadcasting method shown in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] FIG1 is a schematic diagram of an audio broadcasting scenario in the related art;
[0011] FIG2 is a schematic diagram of a one-to-one audio transmission of unicast media audio in the related art;
[0012] FIG3 is a schematic diagram of a one-to-two audio transmission of unicast media audio in the related art;
[0013] FIG4 is a schematic diagram showing the relationship between extended broadcast, periodic broadcast and BIS;
[0014] FIG5 is a schematic diagram showing the relationship between the extended broadcast packet, the auxiliary broadcast packet, the periodic broadcast packet and the BIS;
[0015] FIG6 is a schematic diagram of a method for continuously sending BIG in the related art;
[0016] FIG7 is a first schematic diagram of a scenario of an audio broadcasting method according to an embodiment of the present application;
[0017] FIG8 is a second schematic diagram of a scenario of an audio broadcasting method according to an embodiment of the present application;
[0018] FIG9 is a hardware configuration block diagram of a display device 100 according to an embodiment of the present application;
[0019] FIG10 is a schematic diagram of a software system architecture of a display device 100 according to an embodiment of the present application;
[0020] FIG11 is a hardware configuration block diagram of a Bluetooth device 200 according to an embodiment of the present application;
[0021] FIG12 is a first flow chart of an audio broadcasting method according to an embodiment of the present application;
[0022] FIG13 is a schematic diagram of an audio playback page according to an embodiment of the present application;
[0023] FIG14 is a schematic diagram of an audio and video resource list page according to an embodiment of the present application;
[0024] FIG15 is a flow chart of switching from a playback page to a multilingual sharing page according to an embodiment of the present application;
[0025] FIG16 is a flow chart of switching from a resource list page to a multilingual sharing page according to an embodiment of the present application;
[0026] FIG17 is a second flow chart of an audio broadcasting method according to an embodiment of the present application;
[0027] FIG18 is a first flow chart of an audio broadcast switching process according to an embodiment of the present application;
[0028] FIG19 is a second schematic diagram of a flow chart of audio broadcast switching according to an embodiment of the present application;
[0029] FIG20 is a schematic diagram of a mapping relationship between a target audio track and a BIS stream according to an embodiment of the present application;
[0030] FIG21 is a schematic diagram of a device management page according to an embodiment of the present application;
[0031] FIG22 is a schematic diagram showing a change in a device connection state according to an embodiment of the present application;
[0032] FIG23 is a first schematic diagram of a possible broadcast scenario according to an embodiment of the present application;
[0033] FIG24 is a third flow chart of an audio broadcasting method according to an embodiment of the present application;
[0034] FIG25 is a fourth flow chart of an audio broadcasting method according to an embodiment of the present application;
[0035] FIG26 is a third flow chart of an audio broadcast switching process according to an embodiment of the present application;
[0036] FIG27 is a fourth flowchart of an audio broadcast switching process according to an embodiment of the present application;
[0037] FIG28 is a second schematic diagram of a possible broadcast scenario according to an embodiment of the present application;
[0038] FIG29 is a fifth flow chart of an audio broadcasting method according to an embodiment of the present application;
[0039] FIG30 is a sixth flow chart of an audio broadcasting method according to an embodiment of the present application;
[0040] FIG31 is a fifth flow chart of an audio broadcast switching process according to an embodiment of the present application;
[0041] FIG32 is a sixth flowchart of an audio broadcast switching process according to an embodiment of the present application;
[0042] FIG33 is a third schematic diagram of a possible broadcast scenario according to an embodiment of the present application;
[0043] FIG34 is a seventh flow chart of an audio broadcasting method according to an embodiment of the present application;
[0044] FIG35 is a flow chart of device configuration according to an embodiment of the present application;
[0045] FIG36 is a schematic diagram showing a change in a device connection state according to an embodiment of the present application;
[0046] FIG37 is a flowchart diagram eight of an audio broadcasting method according to an embodiment of the present application;
[0047] FIG38 is a seventh flowchart of an audio broadcast switching process according to an embodiment of the present application;
[0048] FIG39 is a flowchart of an audio broadcast switching process according to an embodiment of the present application;
[0049] FIG40 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application;
[0050] FIG41 is a schematic diagram of a hardware configuration of a control device according to an embodiment of the present application;
[0051] FIG42 is a schematic diagram of the hardware configuration of a Bluetooth speaker according to an embodiment of the present application;
[0052] FIG43 a is a schematic diagram of the architecture of a display system according to an embodiment of the present application;
[0053] FIG43 b is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0054] FIG44 a is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0055] FIG44 b is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0056] FIG45 a is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0057] FIG45 b is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0058] FIG46 a is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0059] FIG46 b is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0060] FIG46 c is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0061] FIG46 d is a schematic diagram of the architecture of another display system according to an embodiment of the present application;
[0062] FIG47 is a flow chart of an audio broadcasting method according to an embodiment of the present application;
[0063] FIG48 is a schematic diagram of an interface for obtaining multiple target audio tracks according to an embodiment of the present application;
[0064] FIG49 is a schematic diagram of an audio service layer according to an embodiment of the present application;
[0065] FIG50 is a schematic diagram of an interface for adding or removing audio tracks according to an embodiment of the present application;
[0066] Figure 51 is a schematic diagram of the interface for modifying the target audio track name according to an embodiment of the present application. DETAILED DESCRIPTION
[0067] First, the scenario of audio broadcasting in related technologies is introduced.
[0068] Taking the airport scenario as an example, in an airport, display devices are usually deployed in different areas, and certain audio messages are broadcast simultaneously to users in different areas of the airport through the speakers of the display devices. For example, boarding rules, missing person notices, etc.
[0069] As shown in Figure 1, a display device 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 speakers of the display device.
[0070] To ensure that users from diverse cultural backgrounds can listen to announcements, they are typically broadcast in multiple languages. Currently, 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.
[0071] The display device and audio receiving device provided in this application can both support Bluetooth-based low-energy audio (LE Audio) technology, wherein the display device serves as an audio playback device or a device for configuring an audio receiving device. For example, the display device can be a television, a mobile phone, a projector, etc., and the audio receiving device can be a Bluetooth speaker, a Bluetooth headset, etc.
[0072] The LE Audio protocol is a next-generation Bluetooth audio technology standard. It defines how a single audio broadcast device can simultaneously send different broadcast audio signals to an unlimited number of audio receivers. The following describes the basic concepts of LE Audio technology.
[0073] The LE Audio protocol is a new generation of Bluetooth audio technology standard based on the Bluetooth 5.2 specification. It is an audio transmission mechanism based on low-power Bluetooth technology. Compared with classic Bluetooth, LE Audio has the following advantages:
[0074] 1. One audio playback device can be connected to multiple audio receiving devices at the same time;
[0075] 2. A broadcast audio device can send broadcast audio to an unlimited number of audio receiving devices, supporting encrypted broadcasting;
[0076] 3. Adopt the latest Low Complexity Communication Codec (LC3) audio format, and the sound quality is improved;
[0077] 4. Support Internet phone and HD calls;
[0078] 5. Support hearing aid / assisted listening applications.
[0079] The LE Audio application layer specification Telephony and Media Audio Profile (TMAP) defines two media audio applications: unicast media audio and broadcast media audio.
[0080] Unicast media audio
[0081] Compared to the current Bluetooth Classic media audio specification (Advanced Audio Distribution Profile, A2DP), the unicast media audio in TMAP utilizes a more advanced audio codec to provide better sound quality and offers richer control features than the current Bluetooth Classic media playback control specification (Audio / Video Remote Control Profile, AVRCP). TMAP defines two roles for unicast media audio applications: the Unicast Media Sender (UMS) and the Unicast Media Receiver (UMR). Unicast media audio transmission is achieved between the UMS and UMR using a Connected Isochronous Stream (CIS).
[0082] The unicast media audio defined in TMAP also supports a unicast media sender transmitting unicast media audio to two unicast media receivers.
[0083] FIG2 is a schematic diagram of a one-to-one audio transmission of unicast media audio in the related art. As shown in FIG2 , UMS 11 sends unicast media audio to UMR 12 .
[0084] Figure 3 is a schematic diagram of a one-to-two audio transmission of unicast media audio in the related art. As shown in Figure 3, UMS 21 sends unicast media audio to UMR 22 and UMR 23 respectively.
[0085] Broadcast Media Audio
[0086] Broadcast media audio in TMAP is transmitted synchronously over multiple connectionless broadcast isochronous streams (BIS). The biggest advantage of broadcast media audio is that it can transmit audio data synchronously to multiple audio receiving devices.
[0087] The broadcast synchronization channel for broadcast media audio in TMAP utilizes two concepts: the Boardcast Isochronous Group (BIG) and the BIS. An audio transmitter can simultaneously transmit multiple BIGs. Each BIG can consist of multiple BISs, and a BIG can contain up to 31 BISs. Each BIS has a unique access address, generated using a unified algorithm based on the seed access address of the BIG to which it belongs.
[0088] Broadcast media audio may include multiple broadcasts with different access addresses, for example, including:
[0089] 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.
[0090] Periodic Advertising: Ancillary advertising uses AUX_ADV_IND packets and points to the periodic advertising through time, frequency hopping map, and access address. The periodic advertising uses AUX_SYNC_IND packets and contains BIG information (BIGInfo).
[0091] Broadcast Isochronous Stream (BIS): A broadcast isochronous stream that periodically broadcasts digital audio using a time, frequency hopping map, access address, and BIGInfo pointing to the BIS. The BIS is encapsulated in BIS Protocol Data Unit (PDU).
[0092] Figure 4 illustrates the relationship between extended advertising, periodic advertising, and BIS. Bluetooth operates in the 2.4 GHz band, which ranges from 2402 MHz to 2480 MHz. There are 40 channels, one for every 2 MHz. Three of these channels are primary advertising channels: channel 37, channel 38, and channel 39. The remaining 37 channels are secondary advertising channels, from channel 0 to channel 36. As shown in Figure 4, the primary advertising channels include channels 37, 38, and 39, while the secondary advertising channels include channels 0 to 36. The extended broadcast on the main broadcast channel can use the ADV_EXT_IND packet and point to the subsidiary broadcast on the secondary broadcast channel through the time and frequency information. The subsidiary broadcast then uses the AUX_ADV_IND packet to point to the periodic broadcast through the time, frequency hopping map and access address. Furthermore, the periodic broadcast uses the AUX_SYNC_IND packet to point to the BIS through the time, frequency hopping map, access address and BIG information (BIGInfo). The BIS uses the BIS PDU packet to broadcast digital audio.
[0093] Figure 5 is a schematic diagram of the relationship between extended broadcast packets, auxiliary broadcast packets, periodic broadcast packets, and BIS. As shown in Figure 5, the audio sending device sends an extended broadcast packet (ADV_EXT_IND) on the primary broadcast channel (37, 38, 39). The extended broadcast packet may include: the broadcast device address (AdvA), broadcast data information (ADI), and a pointer to the auxiliary broadcast packet (Auxiliary Pointer, AuxPtr), where AuxPtr indicates that the auxiliary broadcast will be carried out on the secondary broadcast channel. The auxiliary broadcast packet (AUX_ADV_IND) may include: extended broadcast data (AdvData), the Broadcast Audio Announcement Service Universally Unique Identifier (Broadcast Audio Announcement Service UUID), and other service universally unique identifiers (Others Service UUIDs). The auxiliary broadcast packet indicates the data channel and broadcast period of the periodic broadcast. A periodic broadcast packet (AUX_SYNC_IND) can include: Additional Controller Advertising Data (BIGinfo, ACAD BIGinfo) and the Basic Audio Announcement Service (UUID) for the extended broadcast data, BASE. The periodic broadcast packet contains all information about the broadcast isochronous stream (BIS). After receiving the periodic broadcast 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.
[0094] In actual applications, when broadcasting digital audio through BIS, it is achieved by continuously sending BIG. Each time a BIG is sent, it can be called a BIG event, and each BIG event can include multiple BIS.
[0095] Figure 6 is a schematic diagram of a continuous BIG transmission in the related art. As shown in Figure 6, in the process of continuously transmitting BIG, 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 of executing the BIG event. It should be noted that Figure 6 is illustrated by taking 3 BIG events, each of which can include 2 BISs 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 can include 2 BIS streams, namely BIS1 and BIS2 shown in Figure 6. Among them, 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.
[0096] The audio broadcasting method of the embodiment of the present application can be implemented through a display device and a device scanned by the display device, and the display device can be a mobile phone, a television, a computer, etc. The scanned device can be a speaker, a headset, a keyboard, a mouse, etc. The audio broadcasting method provided in the embodiment of the present application mainly involves a device type determination stage and an audio broadcasting stage. The device type determination stage is mainly implemented through a display device and / or a control terminal. Among them, the control terminal can be a mobile terminal, for example, a mobile phone, a tablet computer, a remote control, a wearable device, etc., which can be used to establish a Bluetooth connection with the display device, and the wearable device can be a smart watch, a smart bracelet, etc.
[0097] The display device can broadcast audio in different languages through at least one Bluetooth module based on corresponding operations. Figure 7 is a schematic diagram of a possible broadcast scenario according to an embodiment of the present application.
[0098] For example, a display system may include a display device with a built-in Bluetooth module supporting the LE audio protocol. As shown in FIG7 , the display device 200 can be controlled by a smart device or a control device so that the display device 200 executes the audio broadcasting method provided in the embodiment of the present application according to the triggered instruction to broadcast multilingual audio, thereby allowing the audio receiving device 500 within the broadcast signal coverage range of the display device 200 to select any language of the audio broadcast by the display device 200 for listening.
[0099] Continuing with the airport scenario as an example, the audio broadcasting scenario provided by the embodiments of this application is introduced. A display device can be deployed in the airport lobby, 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 lobby. 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, thereby enabling LE audio devices in different areas to play audio in different languages.
[0100] In some embodiments, the control device 100 may be a remote controller, and communication between the remote controller and the display device may include infrared protocol communication, Bluetooth protocol communication, or other short-range communication methods, to control the display device 200 wirelessly or wiredly. The user may control the display device 200 by inputting corresponding commands through buttons on the remote controller, voice input, control panel input, etc.
[0101] In some embodiments, the display device 200 can also be controlled using a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.). For example, the display device 200 can be controlled using an application running on the smart device. In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, the display device can receive control through touch or gestures. For another example, the display device 200 can directly receive voice command control through a module for obtaining voice commands configured internally, or it can receive voice command control through a voice control device provided externally to the display device 200.
[0102] In the following embodiments, the control of the display device is described using a remote controller as an example. In specific implementation, any of the methods described herein can be used to control the display device.
[0103] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be connected to a local area network (LAN), a wireless local area network (WLAN), or other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be a single cluster or multiple clusters, and may include one or more types of servers.
[0104] In some embodiments, the audio receiving device 500 can be a Bluetooth headset that supports the LE Audio protocol, or it can be other electronic devices with a Bluetooth module that supports the LE Audio protocol and a speaker, such as mobile phones, tablets, and smart wearable devices (such as smart watches, smart glasses, etc.) that support the LE Audio protocol.
[0105] As shown in Figure 8, this is a second schematic diagram of a possible broadcast scenario according to an implementation method of the present application. A display device is deployed in the airport hall, and an LE audio device, such as a speaker and headphones, is deployed in four different areas of the airport, area A, area B, area C, and area D. The Bluetooth module of the display device sends multiple Bluetooth broadcasts based on at least two target audio tracks to achieve the effect of LE audio devices in different areas playing different languages.
[0106] The display device 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 issued based on the at least two target audio tracks.
[0107] FIG9 is a schematic diagram of a possible hardware configuration of a display device 200 according to an embodiment of the present application. As shown in FIG9 , in some embodiments, the display device 200 may include at least one or more of: a tuner / demodulator 210, a communication device 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a memory, and a power supply.
[0108] In some embodiments, the processor 250 may include at least one processor, for example, a video processor, an audio processor, a graphics processor, RAM, ROM, and first to nth interfaces for input / output.
[0109] The display 260 may include 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, and a menu control interface and a user control UI interface.
[0110] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0111] The communication device 220 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communication device may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chips or near-field communication protocol chips, as well as an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with an external control device or server through the communication device 220. For example, the display device 200 can obtain instructions triggered by user operations sent by the control device through the communication device 120, and implement the audio broadcasting method provided in this application based on the instructions.
[0112] When the display device 200 broadcasts audio through its own Bluetooth module, the Bluetooth module may be a Bluetooth module that supports the LE Audio protocol. When the display device 200 broadcasts audio through an external Bluetooth speaker, 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.
[0113] The user interface can be used to receive control signals from control devices (such as infrared remote controls, etc.).
[0114] Detector 230 is used to collect signals from the external environment or external interactions. For example, detector 230 may include a light receiver, a sensor for collecting ambient light intensity; or, detector 230 may include an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or, detector 230 may include a sound collector, such as a microphone, for receiving external sounds.
[0115] The external device interface 240 may include any one or more interfaces such as 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 interfaces mentioned above.
[0116] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0117] In some embodiments, the processor 250 and the tuner / demodulator 210 may be located in different separate devices, that is, the tuner / demodulator 210 may be located in an external device of the main device where the processor 250 is located, such as an external set-top box.
[0118] The display device 200 may further include a sound output device, which may include an audio output interface 270 and a speaker.
[0119] Processor 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. Processor 250 controls the overall operation of display device 200. For example, in response to receiving a user command to select a UI object to be displayed on display 260, processor 250 may perform operations related to the object selected by the user command.
[0120] Exemplarily, when implementing the audio broadcasting method provided in the embodiment of the present application, the operations performed by the display device 200 may be implemented by the processor 250 .
[0121] For the scenario shown in FIG8 , when implementing the audio broadcasting method of the embodiment of the present application, each component in the display device 200 can implement the following functions:
[0122] In some embodiments, the processor 250 is configured to execute computer instructions to cause the display device to perform: obtaining 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 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 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 mute, and sending 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.
[0123] The above-mentioned display device can realize the function of playing audio and video resources simultaneously in two or more languages.
[0124] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: before issuing multiple Bluetooth broadcasts based on the at least two target audio tracks, it also includes: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
[0125] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: 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, after controlling the sound output device to be muted, and before sending multiple Bluetooth broadcasts based on the at least two target audio tracks, it may also include: controlling the player to pause playing the target audio and video resources, and obtaining the playback progress information of the target audio and video resources; when it is determined that the Bluetooth broadcast channel is switched successfully, restarting the audio decoder, and according to the playback progress information and the at least two target audio tracks, controlling the audio decoder to decode the target audio and video resources, and sending the decoded audio data to the Bluetooth protocol stack; wherein, the Bluetooth protocol stack is used to send multiple Bluetooth broadcasts based on the decoded audio data.
[0126] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: upon receiving the audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resources, after controlling the sound output device to be muted, and before sending multiple Bluetooth broadcasts based on the at least two target audio tracks, it may also include: controlling the player to pause playing the target audio and video resources, and obtaining the playback progress information of the target audio and video resources; when it is determined that the Bluetooth broadcast channel is switched successfully, restarting the audio decoder and the video decoder, and according to the playback progress information and the at least two target audio tracks, controlling the audio decoder and the video decoder to decode the target audio and video resources, and sending the decoded audio data to the Bluetooth protocol stack; wherein, the Bluetooth protocol stack is used to send multiple Bluetooth broadcasts based on the decoded audio data.
[0127] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device executes: if it is determined that the number of audio tracks of the target audio and video resources is not less than a 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 be muted, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, which may include: if it is determined that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, then 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 be muted, and issuing multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0128] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: 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, which may include: determining whether the number of audio tracks of the target audio and video resources is greater than the 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 preset number threshold, displaying the identifiers of the audio tracks of the target audio and video resources; receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources; and controlling the sound output device to mute in response to the audio broadcast trigger operation for the at least two target audio tracks, and sending multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0129] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: after issuing multiple Bluetooth broadcasts based on the at least two target audio tracks, it may also include: controlling the display to display a device management page and displaying connected LE audio devices on the device management page; receiving a target audio track configured for a first LE audio device on the device management page, and sending broadcast source information corresponding to the 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.
[0130] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: after controlling the display to display the device management page, it may also include: controlling the Bluetooth module to perform device scanning, and controlling the display to display the scanned LE audio devices on the device management page; in response to a connection request for a second LE audio device among the scanned LE audio devices, establishing a connection with the second LE audio device; accordingly, displaying the connected LE audio device on the device management page may include: displaying the connected second LE audio device on the device management page.
[0131] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to perform: in response to a cancel sharing trigger operation for the at least two target audio tracks, controlling the sound output device to play the audio data corresponding to the first audio track of the target audio and video resource according to the current playback progress.
[0132] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device performs: in response to a cancel sharing trigger operation for the at least two target audio tracks, determining whether there is a currently connected target Bluetooth audio device; 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, controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel, and sending the audio data corresponding to the second audio track of the target audio and video resource to the target Bluetooth audio device; if there is no connected target Bluetooth audio device, controlling the sound output device to play the audio data corresponding to the third audio track of the target audio and video resource according to the current playback progress.
[0133] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to execute: the sending of multiple Bluetooth broadcasts based on the at least two target audio tracks may include: controlling the Bluetooth protocol stack to encapsulate the decoded audio data corresponding to the at least two target audio tracks into corresponding BIS streams according to a preset correspondence between the audio tracks and the BIS streams, and sending a Bluetooth broadcast based on the BIS stream.
[0134] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device executes: before sending the decoded audio data to the Bluetooth protocol stack, it may also include: controlling 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 audio track information of the target audio track corresponding to the decoded audio data, and the target header information is used to determine the BIS stream corresponding to the target audio track; accordingly, sending the decoded audio data to the Bluetooth protocol stack may include: sending the processed audio data to the Bluetooth protocol stack.
[0135] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device executes: before the multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, it may also include: setting corresponding BIS streams for the at least two target audio tracks respectively; accordingly, the multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, which may include: controlling the Bluetooth protocol stack to determine the corresponding BIS stream according to the audio track information encapsulated in the target header information of the received processed audio data, and encapsulating the processed audio data into the BIS stream, and issuing a Bluetooth broadcast based on the BIS stream.
[0136] In some embodiments, the processor may include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus, etc.
[0137] The user may input a corresponding command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the input corresponding command through the graphical user interface (GUI). Alternatively, the user may input a corresponding command through a specific voice or gesture, and the user input interface may recognize the voice or gesture through a sensor and receive the input corresponding command.
[0138] 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 format. 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.
[0139] Figure 10 is a schematic diagram of the software system architecture of a display device 200 according to an embodiment of the present application. As shown in Figure 10, the software system may include 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 (Bluetooth Driver).
[0140] The application layer is used to deploy functions related to the display device. For example, the application layer may include at least one or more of display device settings (TVSettings) or display device services (TVService).
[0141] The system framework layer may include: one or more of a Bluetooth interface (Bluetooth API), a Bluetooth application (Bluetooth APK), and an audio (audio) module.
[0142] 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, and the Hearing Aid application specification is a hearing aid application specification based on Bluetooth Low Energy (BLE).
[0143] The dynamic library (Library) may include 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.
[0144] The audio module may include one or more of an audio manager and an audio service. The audio module is primarily responsible for sending audio-related data from Bluetooth applications to the Bluetooth protocol stack. In the embodiment of the present application, the channel audio data of the channel is mainly transmitted through the audio channel between the audio module and the Bluetooth protocol stack. After receiving the channel audio data, the Bluetooth protocol stack encapsulates the channel audio data into a BIS stream.
[0145] The Bluetooth driver is mainly responsible for the Bluetooth connection between the display device and surrounding Bluetooth devices.
[0146] The Bluetooth protocol stack may also include a Generic Audio Framework (GAF); GAF may also include Common Audio Profile (CAP), Common Audio Service (CAS), audio stream transmission management and volume control, wherein audio stream transmission management may include Basic Audio Profile (BAP), Audio Capability Presentation Service (PACS), Audio Stream Control Service (ASCS) and Broadcast Audio Scan Service (BASS). BASS is required for broadcast synchronization in the embodiment of the present application. Volume control includes: Voice Control Profile (VCP), Volume Control Service (VCS), Voice Offset Control Service (VOCS), and Audio Input Control Service (AICS).
[0147] Figure 11 is a hardware configuration block diagram of a scanned device such as an audio receiving device 500 according to an embodiment of the present application. As shown in Figure 11, the Bluetooth device 500 may include: a processor 510, a communication device 520, a user input / output interface 530, a memory 540, and a power supply 550. The communication device 520 is used to communicate with the outside world and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The communication device 220 is used to communicate with the outside world and includes a WIFI chip, a Bluetooth module supporting the LE Audio protocol, NFC or at least one of an alternative module. The user input / output interface 530 includes at least one of a speaker, a microphone, a touchpad, a sensor, a button or an alternative module.
[0148] Corresponding to the scenario diagram shown in FIG8 , the embodiment of the present application provides an audio broadcasting method. FIG12 is a flow chart of an audio broadcasting method according to the embodiment of the present application. As shown in FIG12 , the method may include:
[0149] S1202: Obtain the audio track of the target audio and video resource.
[0150] 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.
[0151] In an embodiment of the present application, 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 an embodiment of the present application, and the audio and video resource being played on the page is the target audio and video resource.
[0152] The target audio and video resource can also be any video resource among the audio and video resources to be played. Figure 14 shows a schematic diagram of an audio and video resource list page according to an implementation of the present application, 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. When a selection operation is received for any audio and video resource to be played, such as audio and video resource B, 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.
[0153] The audio and video resources may include at least one or more of audio resources and video resources. In practical applications, the audio and video resources may be pre-stored on the display device or acquired by the display device according to preset conditions. For example, 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.
[0154] An audio track (also known as an audio track in English) can be used to indicate the audio information that can be included in the target audio / video resource. Different audio tracks correspond to different audio information. There is a one-to-one correspondence between audio tracks and the language of the target audio / video resource. For example, one audio track can correspond to one language, and the audio track can be used to store audio data in the corresponding language. For example, assuming that the target audio / video resource can include multiple languages, such as Chinese, English, and French, the audio / video resource can include three audio tracks, such as Track 1, Track 2, and Track 3. The above audio tracks have a correspondence with the languages. For example, Track 1 corresponds to Chinese, Track 2 corresponds to English, and Track 3 corresponds to French.
[0155] An audio track may include one or more channels (called Channel 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.
[0156] In some embodiments, 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.
[0157] In other embodiments, during the process of playing the target audio and video resources, 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.
[0158] This application can first execute the step of "determining whether the target audio and video resource is in a playback state" and then execute the step of "obtaining the audio track of the target audio and video resource"; it can also add one or more steps before the above steps, for example, before the step of "obtaining the audio track of the target audio and video resource", add the step of "decoding the target audio and video resource" etc., so as to play the decoded target audio resource on the display device.
[0159] S1204. If it is determined that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, after 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 sound output device to mute, and send multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0160] 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.
[0161] In an embodiment of the present application, after obtaining the audio tracks of the target audio and video resources, it is first 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, 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.
[0162] In actual applications, the preset number threshold can be determined based on the performance of the display device's hardware chip. Specifically, the preset number threshold can be positively correlated with the performance of the hardware chip. Currently, the hardware chip can support 2 shared audio tracks (i.e., the preset number threshold is usually set to 2). In actual applications, as the performance of the hardware chip improves, the corresponding preset number threshold can also be set to 3, 4, etc.
[0163] The audio broadcast triggering operation for at least two target audio tracks in the audio tracks of the target audio and video resources may be a triggering operation for switching only the audio broadcast control on a page where the at least two target audio tracks are located.
[0164] In some implementations, before the display device issues multiple Bluetooth broadcasts based on the at least two target audio tracks, the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
[0165] Audio channels can include traditional output channels such as local speaker output channels, Universal Serial Bus (USB) audio output channels, and High Definition Multimedia Interface (HDMI) output channels. They can also include audio output channels established based on a Broadcast Media Sender (BMS). The current audio channel can be any of the above audio output channels.
[0166] In actual application, 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 mute, then switches the current audio channel to the Bluetooth broadcast channel, and after the switch is successful, sends multiple Bluetooth broadcasts based on the at least two target audio tracks. 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 switch is successful, control the sound output device to mute, and send multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0167] In an embodiment of the present application, the step of "controlling the sound output device to mute" may be first executed, and then the step of "switching the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "switching the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the sound output device to mute" may be executed. One or more steps may 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" may be added.
[0168] In the audio broadcasting method provided in the embodiment of the present application, 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 be muted, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks. It can be seen that the embodiment of the present application 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.
[0169] In some embodiments, after obtaining the audio tracks of the target audio and video resource, the display device may further control the display to display a multi-language sharing control upon determining that the number of audio tracks of the target audio and video resource is not less than a preset threshold. Upon receiving a trigger operation for the multi-language sharing control, the display may display the identifiers of at least two 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 display device may control the sound output device to mute and issue multiple Bluetooth broadcasts based on the at least two target audio tracks. The trigger operation for the multi-track sharing control may include, for example, a click operation on the multi-track sharing control.
[0170] For example, assuming that the preset number threshold is 2, it means that the display device can support 2 audio tracks shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resources (for example, 2) is not less than 2, the display is controlled to display a multi-audio track sharing control with the words "Bilingual Sharing".
[0171] FIG15 shows a flow chart of switching from a playback page to a multilingual sharing page according to an embodiment of the present application, wherein 15(a) is a playback page for audio and video resources, on which a target audio and video resource is currently playing. Upon receiving a user's audio track menu call operation for this page, the audio track of the target audio and video resource is obtained. If it is determined that the number of audio tracks of the target audio and video resource (e.g., 2) is not less than a preset threshold of 2, the display is controlled to display the audio track menu page shown in 15(b). The audio track menu page displays a "Bilingual Sharing" control, and the audio track name of the target audio and video resource, such as Chinese, English, Japanese, etc., is also displayed on the audio track menu page.
[0172] When a trigger operation is received for the "Bilingual Sharing" control in 15(b), a multilingual sharing page is displayed to prompt the user that the sound output device is about to be turned off and the audio output channel is switched to the Bluetooth broadcast channel; 15(c) is a schematic diagram of a redundant sharing page according to an embodiment of the present application, 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.
[0173] FIG16 shows a flowchart of switching from a resource list page to a multilingual sharing page according to an embodiment of the present application, wherein 16(a) is a list page of audio and video resources, which displays audio and video resources A, B, and C to be played. When a selection operation is received for audio and video resource B, 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 (e.g., Chinese, English, or Japanese) is obtained. If the number of audio tracks of the target audio and video resource is determined to be no less than a preset number threshold of 2, a multilingual sharing control and the name of the audio track of the target audio and video resource are displayed at a preset position below the target audio and video resource, as shown in 16(b). When a trigger operation is received for the "bilingual sharing" control in 16(b), the multilingual sharing page shown in 16(c) is displayed.
[0174] For example, assuming the preset number threshold is 3, it means that the display device can support 3 audio tracks to be shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resource is not less than 3 (for example, 3), the display is controlled to display a control with the words "Bilingual Sharing" and a control with the words "Trilingual Sharing". The "Bilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in two languages, and the "Trilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in three languages.
[0175] In some embodiments, after obtaining the audio tracks of the target audio and video resource, it is further possible to determine whether the display device supports the LE audio protocol. Specifically, the determination of whether the display device supports the LE audio protocol is performed 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 and video resource currently being played is not less than a first preset threshold, the display is controlled to display a multi-track sharing control.
[0176] In actual applications, in the process of displaying multiple audio tracks supported by the target audio and video on the audio track menu page shown in 13(b), assuming that the audio track currently played by the target audio and video resource is the Chinese corresponding audio track, when a selection operation is received for the English corresponding audio track among the multiple audio tracks, the currently played Chinese audio track is switched to the English corresponding audio track, and at least one Bluetooth broadcast is issued based on the English corresponding audio track.
[0177] In some embodiments, during the process of controlling the display to display a multi-language sharing control, 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; and 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.
[0178] Since 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. At this time, the display device turns off the sound output device and plays all the audio track contents of the target audio and video resources, thereby achieving the effect of muting the local speaker, and at least two sounds are broadcast by Bluetooth.
[0179] In actual applications, while 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 original progress when receiving a cancel sharing trigger operation for at least two target audio tracks.
[0180] In some embodiments, upon receiving a cancel sharing trigger operation for at least two target audio tracks, the sound output device is controlled to play audio data corresponding to the first audio track of the target audio / video resource based on the current playback progress. The first audio track can be any audio track of the acquired target audio / video resource.
[0181] In other embodiments, upon receiving a cancel sharing trigger operation for at least two target audio tracks, the display device may first determine whether there is a currently connected target Bluetooth audio device. If it is determined that there is a connected target Bluetooth device, the Bluetooth module may be controlled to switch the current audio channel to the Bluetooth audio channel and send the audio data corresponding to the second audio track of the target audio and video resource to the target Bluetooth audio device. The second audio track may be any one of the acquired audio tracks of the target audio and video resource.
[0182] In an embodiment of the present application, 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 can include 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.
[0183] In other embodiments, if there is no connected target Bluetooth device, 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.
[0184] In an embodiment of the present application, the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be first executed, 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" may be executed, or 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" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be executed, and one or more steps may 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", steps such as "determining whether there is a target Bluetooth audio device currently connected" may be added.
[0185] Corresponding to the scenario diagram shown in FIG8 , the embodiment of the present application further provides an audio broadcasting method. FIG17 is a flow chart 2 of an audio broadcasting method according to an embodiment of the present application. As shown in FIG17 , the method may include:
[0186] S1702: Obtain the audio track of the target audio and video resource.
[0187] For the specific implementation of this step, please refer to the implementation of the above step S1202.
[0188] S1704: 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, control the display to display a multi-audio track sharing control.
[0189] In the embodiment of the present application, steps S1702-S1704 can be specifically understood with reference to steps S1202-S1204 in the method shown in FIG12 , and are not described in detail here.
[0190] 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.
[0191] S1708: If it is determined that the number of the audio tracks is greater than the preset number threshold, the identifiers of the audio tracks of the target audio and video resources are displayed.
[0192] In an embodiment of the present application, 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.
[0193] For example, assuming that the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resources 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 resources is greater than the preset quantity threshold, and the identifier of the audio track of the target audio and video resources is displayed. Figure 18 is a flow chart of an audio broadcast switching process according to an embodiment of the present application, wherein 18(b) is a schematic diagram of an audio track selection pop-up window according to an embodiment of the present application, and the pop-up window displays the identifier of the audio track of the target audio and video resources, 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. In addition, 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.
[0194] S1710: Receive at least two target audio tracks selected from the audio tracks of the target audio and video resources.
[0195] S1712: 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.
[0196] In an embodiment of the present application, 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, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
[0197] In an embodiment of the present application, 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. For example, upon receiving a selection operation for the Chinese audio track and the English audio track among the three audio tracks shown in 18(b), the Chinese audio track and the English audio track are determined as target audio tracks. In addition, 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.
[0198] In some embodiments, during the process of displaying the audio tracks of the target audio and video resources and the "Confirm Sharing" control on the audio track selection pop-up window, the display device can also jump from the audio track selection pop-up window to the switching mode selection pop-up window shown in 18(c) 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. When receiving the trigger operation for the "Switch to Audio Broadcast" control on the switching mode selection pop-up window, the sound output device is controlled to mute, and multiple Bluetooth broadcasts are sent based on the target audio tracks.
[0199] The embodiment of the present application can first execute 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", and then execute the step of "displaying the identification of at least two target audio tracks in the audio tracks of the target audio and video resources", or first execute the step of "determining whether the number of audio tracks of the target audio and video resources is greater than the preset number threshold", and then execute the step of "displaying the identification of the audio tracks of the target audio and video resources", and can also add one or more steps before the above steps at the same time, for example, before the step of "muting the sound output device", add the step of "switching the current audio channel to the Bluetooth broadcast channel".
[0200] It can be seen that the embodiment of the present application can, in the process of displaying the audio tracks of the target audio and video resources, after receiving the selection operation for at least two target audio tracks in the audio tracks, control the sound output device to mute, and send multiple Bluetooth broadcasts based on at least two target audio tracks, thereby realizing the function of simultaneously broadcasting audio and video resources in two or more languages.
[0201] In actual applications, when the display device controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel, there may be a problem of inconsistency between the audio data and the playback progress of the target audio and video resources. In order to solve the above technical problems or at least partially solve the above technical problems, the embodiment of the present application can also first control the sound output device to mute 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, 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.
[0202] The audio decoder is primarily used to decode compressed audio data into raw digital audio signals. After decoding the target audio and video resources to obtain information such as Chinese and English audio data, the audio decoder can send the decoded audio information to an audio processor or audio output device for playback. The video decoder is used to decode compressed video data into the original video image sequence. Specifically, it can decode the target audio and video resources and restore video data such as the image frame rate and resolution for subsequent video processing and display. The Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
[0203] The playback progress information of the target audio and video resource may include information such as the current playback time of the target audio and video resource. After obtaining the playback progress information of the target audio and video resource, the audio decoder can be controlled to play the target audio and video resource according to the playback progress information, and the decoded audio data can be 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.
[0204] Exemplarily, when an audio broadcast trigger operation for at least two target audio tracks is received, the player is controlled to pause playing the target audio and video resources. Assuming that the target audio and video resources are paused at 30 seconds of playback, when it is determined that the Bluetooth broadcast switch is successful, the audio decoder is restarted and the audio decoder is controlled to start decoding the target audio and video resources from the 30th second, so as to achieve the effect of keeping the playback progress of the audio data and the target audio and video resources consistent.
[0205] In some embodiments, 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 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 switching 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.
[0206] Controlling the audio decoder and the video decoder to decode the target audio and video resources means, when the audio decoder and the video decoder are restarted, controlling the audio decoder to decode the audio data according to the playback progress information, and controlling the video decoder to decode the video data according to the playback progress information.
[0207] In an embodiment of the present application, the step of "controlling the player to pause playing the target audio and video resources" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the player to pause playing the target audio and video resources" may be executed. One or more steps may 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 the video decoder" may be added.
[0208] Figure 19 is a second flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein the page shown in 19(a) displays the audio tracks of the target audio and video resources and the "switch audio broadcast only" control, and the audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources may include a trigger operation for the "switch audio broadcast only" control, etc.; when the trigger operation for the "switch audio broadcast only" control is received, the player is controlled to pause playing the target audio and video resources.
[0209] In actual applications, in order to improve the user experience and make the user have certain expectations about the process of switching to the Bluetooth broadcast channel, when controlling the player to pause playing the target audio and video resources, a pop-up window of "Bluetooth broadcast switching" as shown in 19(b) can be displayed to remind the user that the Bluetooth broadcast channel is currently being switched.
[0210] When it is determined that the Bluetooth broadcast channel has been switched successfully and the target audio and video resources continue to be played, 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 19(c), to indicate that the Bluetooth broadcast switch is successful and the audio and video resources are being broadcast simultaneously in two or more languages.
[0211] It can be seen that the embodiment of the present application 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 audio data and the progress of the target audio and video resources consistent when switching from the current audio channel to the Bluetooth broadcast audio channel.
[0212] In actual applications, in the process of sending multiple Bluetooth broadcasts based on at least two target audio tracks, there may be a situation where the selected target audio track is Chinese, but the actual broadcast heard is English (that is, the audio data heard by the user is not in the same language as the audio track selected by the user). In order to solve the above technical problems or at least partially solve the above technical problems, the embodiment of the present application controls the Bluetooth protocol stack according to the preset correspondence between the audio track and the BIS stream, and encapsulates the decoded audio data corresponding to the at least two target audio tracks into the corresponding BIS stream, and then sends a broadcast based on the BIS stream, so that the Bluetooth broadcast can be sent more accurately.
[0213] In the embodiment of the present application, when one audio track corresponds to one channel, there is a one-to-one correspondence between the audio track and the BIS stream, for example, BIS1 corresponds to audio track 1, and BIS2 corresponds to audio track 2.
[0214] In the case where one audio track corresponds to multiple channels, the correspondence between the audio track and the BIS stream can be represented by a group or set. As shown in Figure 20, a schematic diagram of the mapping relationship between a target audio track and a BIS stream is provided in an embodiment of the present application. Among them, Track 1 and Track 2 respectively identify audio data in different languages obtained by decoding, such as Chinese audio data and English audio data. Track 1 has a corresponding relationship with subgroup 0, and Track 2 has a corresponding relationship with subgroup 1. Subgroup 0 and subgroup 1 are different group identifiers. Subgroup 0 can include BIS0 and BIS1, and subgroup 1 can include BIS2 and BIS3.
[0215] Since there is a corresponding relationship between audio track 1 and subgroup 0, and subgroup 0 can include BIS0 and BIS1, BIS0 can be used to represent the left channel of audio track 1, such as the left channel of Chinese audio data, and BIS1 can be used to represent the right channel of audio track 1; correspondingly, since there is a corresponding relationship between audio track 2 and subgroup 1, and subgroup 1 can include BIS2 and BIS3, BIS2 can be used to represent the left channel of audio track 2, and BIS3 can be used to represent the right channel of audio track 2.
[0216] Exemplarily, when an audio broadcast trigger operation is received for at least two target audio tracks, it indicates that the user wants to perform bilingual sharing or multilingual sharing. First, the audio module is controlled to decode the target audio and video resources to obtain the decoded audio data corresponding to each target audio track, such as the audio data of Chinese (track 1) and the audio data of English (track 2); then the Bluetooth protocol stack is controlled to encapsulate the decoded audio data corresponding to the left channel of track 1 into BIS0, the decoded audio data corresponding to the right channel of track 1 into BIS1, the decoded audio data corresponding to the left channel of track 2 into BIS2, and the decoded audio data corresponding to the right channel of track 2 into BIS3 according to the correspondence shown in Figure 20, and multiple Bluetooth broadcasts are issued based on BIS0, BIS1, BIS2, and BIS3.
[0217] In some embodiments, before sending the decoded audio data to the Bluetooth protocol stack, the display device can also control the audio decoder to add target header information to the decoded audio data to obtain processed audio data carrying the target header information, and further send the processed audio data to the Bluetooth protocol stack.
[0218] Since the target header information can encapsulate the audio information of the target audio track corresponding to the decoded audio data, after receiving the processed audio data, the Bluetooth protocol stack can automatically match the BIS stream corresponding to the target audio track according to the target header information carried in the processed audio data, thereby sending Bluetooth broadcasts more accurately.
[0219] For example, assuming that the target audio track can include two audio tracks, Chinese and English, where the Chinese audio track can include a left channel and a right channel, and the English audio track can include a left channel and a right channel, then 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 the processed audio data carrying the target header information.
[0220] In other embodiments, before sending multiple Bluetooth broadcasts based on at least two target audio tracks, corresponding BIS streams can be set for at least two target audio tracks respectively; further, after sending the processed audio data to the Bluetooth protocol stack, the Bluetooth protocol stack is controlled to determine the corresponding BIS stream based on the audio track information encapsulated in the target header information of the received processed audio data, and the processed audio data is encapsulated into the BIS stream, and a Bluetooth broadcast is sent based on the BIS stream.
[0221] For example, assuming that the target header information of the processed audio data encapsulates audio track information such as "track 1-BIS0, track 2-BIS2", after receiving the above track 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.
[0222] It can be seen that the embodiment of the present application can automatically match the corresponding BIS stream for the target audio track by adding header information to the decoded audio data, thereby issuing a Bluetooth broadcast more accurately.
[0223] In actual applications, after sending multiple Bluetooth broadcasts based on at least two target audio tracks, the display can also be controlled to display the device management page, and the connected LE audio devices can be displayed on the device management page to achieve the function of synchronously playing the audio data of the target audio and video resources (such as Chinese or English) on the audio receiving device connected to the display device.
[0224] Figure 21 is a device configuration flowchart according to an embodiment of the present application, wherein the audio and video playback page shown in 21(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 21(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 21(b) is a schematic diagram of a device management page according to an embodiment of the present application, wherein the page displays connected LE audio devices, such as device A and device B.
[0225] While displaying connected LE audio devices on the device management page, the display device may also receive a target audio track configured for a first LE audio device among the connected LE audio devices and send broadcast source information corresponding to the 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.
[0226] Exemplarily, in the process of displaying connected LE audio devices on the device management page shown in 21(b), when a track configuration trigger operation is received for a first LE audio device (for example, device B), at least two target audio tracks are displayed for device B. 21(c) is a schematic diagram of an audio track selection page according to an embodiment of the present application, on which at least two target audio tracks are displayed, as well as a prompt message of "Please select the audio track to be received by Bluetooth device B" to prompt the user to select the audio track (i.e., Chinese language) to be received for device B (i.e., the first LE audio device); when a selection operation is received for any target audio track, the broadcast source information corresponding to the target audio track is sent to device B, so that device B can receive the Bluetooth broadcast corresponding to the target audio track based on the broadcast source information.
[0227] In some implementations, after the display device controls the display to display the device management page, it may also control the Bluetooth module to perform device scanning and control the display to display the scanned LE audio devices on the device management page.
[0228] In actual applications, the display device 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 in response to the trigger operation of the device scan control while controlling the display to display the device management page and display the connected LE audio devices on the device management page.
[0229] During the process of displaying the scanned LE audio devices on the device management page, upon receiving a connection request for a second LE audio device among the scanned LE audio devices, a connection can be established with the second LE audio device; after successfully establishing a connection with the second LE audio device, the second LE audio device can be displayed as connected on the device management page.
[0230] The second LE audio device may be any one of the scanned LE audio devices, and the second LE audio device may be the same device as the first LE audio device.
[0231] FIG22 is a schematic diagram showing the change in the connection status of a device according to an embodiment of the present application, wherein the device management page shown in FIG22(a) displays LE audio devices scanned by the Bluetooth module, such as device C and device D; upon receiving a connection request for a second LE audio device (e.g., device D), a connection is established with device D. After successfully establishing a connection with device D, the connected device D is displayed in the connected device list on the device management page, as shown in FIG22(b), where device D is now in the connected device list; upon receiving a track configuration trigger operation for device D, a track selection page shown in FIG22(c) is displayed, wherein at least two target tracks are displayed on the page, and upon receiving a selection operation for any target track (e.g., Chinese), the broadcast source information corresponding to the target track (i.e., Chinese) is sent to device D, so that device D can receive the Bluetooth broadcast corresponding to the target track (i.e., Chinese) based on the broadcast source information.
[0232] In this embodiment of the present application, the step of "displaying the connected LE audio device on the device management page" may be performed first, and then the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed. Alternatively, the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed first, and then the step of "displaying the connected LE audio device on the device management page" may be performed. One or more steps may 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", steps such as "establishing a connection with the second LE audio device" may be added.
[0233] Continuing with the airport scenario as an example, the audio broadcasting scenario provided by the embodiment of the present application is introduced. 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 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 as to enable the LE audio devices in different areas to play audio in different languages. Compared with the audio broadcasting method in the related art shown in Figure 1, the audio broadcasting method provided by the embodiment of the present application does not require the deployment of multiple display devices in different areas to play different languages. Instead, the function of simultaneous playback of multiple languages for the same audio and video resources can be achieved by using audio broadcasting through one display device and multiple LE audio devices.
[0234] Figure 23 shows a schematic diagram of a possible broadcast scenario according to an embodiment of the present application. A display device is deployed in the airport hall, and an LE audio device, such as a speaker and headphones, is deployed in four different areas of the airport, area A, area B, area C, and area D. The Bluetooth module of the display device sends multiple Bluetooth broadcasts based on at least two target audio tracks to achieve the effect of LE audio devices in different areas playing different languages.
[0235] Specifically, the display device first obtains the audio tracks of the target audio and video resources, and then determines whether the number of the audio tracks of the target audio and video resources is less than a preset number threshold; if it is determined that the number of the 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 in 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 in the at least two target audio tracks, and multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
[0236] Corresponding to the scenario diagram shown in FIG23 , the embodiment of the present application also provides an audio broadcasting method. FIG24 shows a flow diagram of an audio broadcasting method according to an embodiment of the present application. The method plays the audio data of any target audio track through a sound output device, and issues at least one Bluetooth broadcast for each target audio track, so as to realize the function of simultaneous multi-language playback of the same audio and video resource by means of audio broadcasting. As shown in FIG24 , the method may include:
[0237] S2402: Obtain the audio track of the target audio and video resource.
[0238] For the specific implementation of this step, please refer to the implementation of the above step S1202.
[0239] S2404. If it is determined that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, after 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 sound output device to play the audio data corresponding to the first target audio track among the at least two target audio tracks, and send multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0240] 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.
[0241] In an embodiment of the present application, after obtaining the audio tracks of the target audio and video resources, it is first determined whether the number of audio tracks of the target audio and video resources is not less than a preset first quantity threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset quantity threshold, 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 multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
[0242] In the embodiment of the present application, the first target audio track may be any one of at least two pre-configured target audio tracks.
[0243] In actual applications, the preset number threshold can be determined based on the performance of the display device's hardware chip. Specifically, the preset number threshold can be positively correlated with the performance of the hardware chip. Currently, the hardware chip can support 2 shared audio tracks (i.e., the preset number threshold is usually set to 2). In actual applications, as the performance of the hardware chip improves, the corresponding preset number threshold can also be set to 3, 4, etc.
[0244] In an embodiment of the present application, the audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources can be a trigger operation for switching only the audio broadcast control on the page where the at least two target audio tracks are located.
[0245] In some implementations, before the display device issues multiple Bluetooth broadcasts based on the at least two target audio tracks, the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
[0246] In the embodiment of the present application, the audio channel 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, and may also include an audio output channel established based on a unicast media sender (BMS). The current audio channel may be any of the above audio output channels.
[0247] In actual applications, 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.
[0248] The display device can also first switch the current audio channel to the Bluetooth broadcast channel 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, 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 send multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0249] In an embodiment of the present application, the step of "controlling the sound output device to play the audio data corresponding to the first target audio track among at least two target audio tracks" may be first executed, and then the step of "switching the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "switching the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the sound output device to play the audio data corresponding to the first target audio track among at least two target audio tracks" may be executed. One or more steps may 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 the video decoder" may be added.
[0250] In the audio broadcasting method provided in the embodiment of the present application, 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 multiple Bluetooth broadcasts are issued based on the at least two target audio tracks. It can be seen that the embodiment of the present application plays the audio data of any target audio track through the sound output device, and issues at least one Bluetooth broadcast for each target audio track, so as to realize the function of simultaneous playback of multiple languages for the same audio and video resource by means of audio broadcasting.
[0251] In some embodiments, after obtaining the audio tracks of the target audio and video resource, the display device may further control the display to display a multi-language sharing control upon determining that the number of audio tracks of the target audio and video resource is not less than a preset threshold. Upon receiving a trigger operation for the multi-language sharing control, the display may display the identifiers of at least two of 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 display device may control the sound output device to play audio data corresponding to the first target audio track of the at least two target audio tracks and issue multiple Bluetooth broadcasts based on the at least two target audio tracks. The trigger operation for the multi-track sharing control may include, for example, a click operation on the multi-track sharing control.
[0252] For example, assuming that the preset number threshold is 2, it means that the display device can support 2 audio tracks shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resources (for example, 2) is not less than 2, the display is controlled to display a multi-audio track sharing control with the words "Bilingual Sharing".
[0253] FIG15 shows a flow chart of switching from a playback page to a multilingual sharing page according to an embodiment of the present application, wherein 15(a) is a playback page for audio and video resources, on which a target audio and video resource is currently playing. Upon receiving a user's audio track menu call operation for this page, the audio track of the target audio and video resource is obtained. If it is determined that the number of audio tracks of the target audio and video resource (e.g., 2) is not less than a preset threshold of 2, the display is controlled to display the audio track menu page shown in 15(b). The audio track menu page displays a "Bilingual Sharing" control, and the audio track name of the target audio and video resource, such as Chinese, English, Japanese, etc., is also displayed on the audio track menu page.
[0254] When a trigger operation is received for the "bilingual sharing" control in 15(b), a multilingual sharing page is displayed to prompt the user that the first target audio track will be played by the sound output device and the audio output channel will be switched to the Bluetooth broadcast channel; 15(c) is a schematic diagram of a redundant sharing page according to an embodiment of the present application, 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 the control, the sound output device is controlled to play the first target audio track, such as the Chinese audio track, and multiple Bluetooth broadcasts are issued based on the Chinese audio track and the English audio track.
[0255] FIG16 shows a flow chart of switching from a resource list page to a multilingual sharing page according to an embodiment of the present application, wherein 16(a) is a list page of audio and video resources, which displays audio and video resources A, B, and C to be played. When a selection operation is received for audio and video resource B, audio and video resource B is determined as the target audio and video resource, and the audio tracks of the target audio and video resource (e.g., Chinese, English, or Japanese) are obtained. If the number of audio tracks of the target audio and video resource is determined to be no less than a preset number threshold of 2, a multilingual sharing control and the track names of the target audio and video resource are displayed at a preset position below the target audio and video resource, as shown in 16(b). When a trigger operation is received for the "bilingual sharing" control in 16(b), the multilingual sharing page shown in 16(c) is displayed.
[0256] For example, assuming the preset number threshold is 3, it means that the display device can support 3 audio tracks to be shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resource is not less than 3 (for example, 3), the display is controlled to display a control with the words "Bilingual Sharing" and a control with the words "Trilingual Sharing". The "Bilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in two languages, and the "Trilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in three languages.
[0257] In some embodiments, after obtaining the audio tracks of the target audio and video resource, it is further possible to determine whether the display device supports the LE audio protocol. Specifically, the determination of whether the display device supports the LE audio protocol is performed 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 and video resource currently being played is not less than a first preset threshold, the display is controlled to display a multi-track sharing control.
[0258] In actual applications, in the process of displaying multiple audio tracks supported by the target audio and video on the audio track menu page shown in 16(b), assuming that the audio track currently played by the target audio and video resource is the Chinese corresponding audio track, when a selection operation is received for the English corresponding audio track among the multiple audio tracks, the currently played Chinese audio track is switched to the English corresponding audio track, and at least one Bluetooth broadcast is issued based on the English corresponding audio track.
[0259] In some embodiments, during the process of controlling the display to display a multi-language sharing control, 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; and 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 play audio data corresponding to the first target audio track of at least two target audio tracks, and multiple Bluetooth broadcasts are issued based on the audio track of the target audio and video resource.
[0260] Since the preset quantity 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 quantity 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. At this time, the display device controls the sound output device to play the audio data corresponding to the first target audio track of at least two target audio tracks, and plays all the audio track contents of the target audio and video resources, thereby achieving the effect of playing the audio data of one audio track by the local speaker and broadcasting the audio data of two audio tracks by Bluetooth.
[0261] In actual applications, 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.
[0262] In some embodiments, when a cancel sharing trigger operation is received for at least two target audio tracks, the Bluetooth module is controlled to switch the current audio channel from the Bluetooth broadcast channel, and the sound output device is controlled to continue playing the audio data corresponding to the first target audio track according to the current playback progress.
[0263] In other embodiments, upon receiving a cancel sharing trigger operation for at least two target audio tracks, it is first determined whether the display device currently has a connected target Bluetooth audio device. If it is determined that a connected target Bluetooth device exists, the Bluetooth module is controlled to switch the current audio channel to the Bluetooth audio channel, and the audio data corresponding to the first audio track of the target audio and video resource is sent to the target Bluetooth audio device, and the sound output device is controlled to continue playing the audio data corresponding to the first target audio track according to the current playback progress. The first audio track can be any audio track of the acquired target audio and video resource.
[0264] In an embodiment of the present application, 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 can include 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.
[0265] In other implementations, if there is no connected target Bluetooth 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.
[0266] In an embodiment of the present application, the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be first executed, 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" may be executed, or 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" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be executed, and one or more steps may 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", steps such as "determining whether there is a target Bluetooth audio device currently connected" may be added.
[0267] FIG25 is a fourth flow chart of an audio broadcasting method according to an embodiment of the present application. As shown in FIG25 , the method may include:
[0268] S2502: Obtain the audio track of the target audio and video resource.
[0269] The implementation of this step refers to the implementation of the above step S1202.
[0270] S2504: 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, control the display to display a multi-audio track sharing control.
[0271] Steps S2502-S2504 can be specifically understood with reference to steps S2402-S2404 in the method shown in FIG24 , and are not described in detail here.
[0272] S2506: In response to a triggering operation on the multi-track sharing control, determining whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold.
[0273] S2508: If it is determined that the number of the audio tracks is greater than the preset number threshold, the identifiers of the audio tracks of the target audio and video resources are displayed.
[0274] 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.
[0275] For example, assuming that the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resources 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 resources is greater than the preset quantity threshold, and the identifier of the audio track of the target audio and video resources is displayed. Figure 26 is a third flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein 26(b) is a schematic diagram of an audio track selection pop-up window according to an embodiment of the present application, and the pop-up window displays the identifier of the audio track of the target audio and video resources, 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. In addition, 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.
[0276] S2510: Receive at least two target audio tracks selected from the audio tracks of the target audio and video resources.
[0277] In actual applications, in the process of displaying the identification of the audio track of the target audio and video resource, 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 sends multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0278] S2512: After receiving the audio broadcast trigger operation for the at least two target 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.
[0279] In the process of the display device controlling the display to display the identification of the audio track of the target audio and video resource, at least two target audio tracks selected from the audio tracks of the target audio and video resource are first received; then, 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 of the at least two target audio tracks, and multiple Bluetooth broadcasts are sent based on the at least two target audio tracks.
[0280] 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. For example, upon receiving a selection operation for the Chinese audio track and the English audio track among the three audio tracks shown in 26(b), the Chinese audio track and the English audio track are determined as target audio tracks. In addition, a "Confirm Sharing" control may be displayed on the audio track selection pop-up window. After selecting at least two target audio tracks, upon receiving a triggering operation for the "Confirm Sharing" control, the sound output device may be controlled to play audio data corresponding to any one of the at least two target audio tracks, and multiple Bluetooth broadcasts may be issued based on the at least two target audio tracks.
[0281] In actual applications, after determining at least two target audio tracks to be played using audio broadcasting, the display device can also determine the target audio track corresponding to the audio data currently played by the sound output device as the first target audio track, and after receiving the audio broadcast trigger operation for at least two target audio tracks, control the sound output device to play the first target audio track, and send multiple Bluetooth broadcasts based on the at least two target audio tracks.
[0282] In some embodiments, in a scenario where the display device controls the sound output device to play Chinese audio, while displaying the audio tracks of the target audio and video resources and the "Confirm Sharing" control on the audio track selection pop-up window, the display device can also jump from the audio track selection pop-up window to the Bluetooth broadcast switching pop-up window shown in 26(c) after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources and triggering the "Confirm Sharing" control, and display the prompt words "Bluetooth broadcast switching" and "Default sound output device plays Chinese audio" on the pop-up window to prompt the user that after selecting at least two target audio tracks to be shared, the sound output device will continue to play the currently playing Chinese audio by default.
[0283] In other embodiments, after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources, the display device may further receive a first target audio track selected for the sound output device from the at least two target audio tracks.
[0284] Exemplarily, assuming that the audio tracks of the target audio and video resources may include Chinese, English, Japanese audio tracks, etc., after receiving the Chinese audio track and English audio track selected by the user from the above audio tracks, the Chinese audio track and the English audio track are determined as target audio tracks, and the first target audio track selected by the user for the sound output device from at least two target audio tracks, such as the English audio track, is received.
[0285] Figure 27 shows a fourth flowchart of an audio broadcast switching process according to an embodiment of the present application. When a trigger operation is received for the bilingual sharing control in the audio track menu page shown in 27(a), the audio track selection pop-up window shown in 27(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 the audio track for the speaker"; after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources, such as a Chinese audio track and an English audio track, when a trigger operation is received for the "Select the audio track for the speaker" control, the current pop-up window is switched to the speaker audio track selection pop-up window shown in 27(c). During the process of displaying at least two target audio tracks on the pop-up window, when a selection operation for the English audio track is received, 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.
[0286] The embodiment of the present application can first execute 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", and then execute the step of "displaying the identification of at least two target audio tracks in the audio tracks of the target audio and video resources", or first execute the step of "determining whether the number of audio tracks of the target audio and video resources is greater than the preset number threshold", and then execute the step of "displaying the identification of the audio tracks of the target audio and video resources", and can also add one or more steps before the above steps at the same time, for example, before the step of "the sound output device plays the audio data corresponding to the first target audio track of the at least two target audio tracks", add steps such as "switching the current audio channel to the Bluetooth broadcast channel".
[0287] The embodiment of the present application 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 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.
[0288] In actual applications, when the display device controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel, there may be a problem of inconsistency between the audio data and the playback progress of the target audio and video resources. In order to solve the above technical problems or at least partially solve the above technical problems, the embodiment of the present application 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.
[0289] The audio decoder is primarily used to decode compressed audio data into raw digital audio signals. After decoding the target audio and video resources to obtain information such as Chinese and English audio data, the audio decoder can send the decoded audio information to an audio processor or audio output device for playback. The video decoder is used to decode compressed video data into the original video image sequence. Specifically, it can decode the target audio and video resources and restore video data such as the image frame rate and resolution for subsequent video processing and display. The Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
[0290] The playback progress information of the target audio and video resource may include information such as the current playback time of the target audio and video resource. After obtaining the playback progress information of the target audio and video resource, the audio decoder can be controlled to play the target audio and video resource according to the playback progress information, and the decoded audio data can be 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.
[0291] For example, when an audio broadcast trigger operation for at least two target audio tracks is received, the player is controlled to pause playing the target audio and video resources. Assuming that the target audio and video resources are paused at 30 seconds of playback, when it is determined that the Bluetooth broadcast switch is successful, the audio decoder is restarted and the audio decoder is controlled to start decoding the target audio and video resources from the 30th second, so as to achieve the effect of keeping the playback progress of the audio data and the target audio and video resources consistent.
[0292] In some embodiments, 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 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 switching 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.
[0293] Controlling the audio decoder and the video decoder to decode the target audio and video resources means, when the audio decoder and the video decoder are restarted, controlling the audio decoder to decode the audio data according to the playback progress information, and controlling the video decoder to decode the video data according to the playback progress information.
[0294] In an embodiment of the present application, the step of "controlling the player to pause playing the target audio and video resources" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the player to pause playing the target audio and video resources" may be executed. One or more steps may 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 the video decoder" may be added.
[0295] Figure 19 shows a third flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein the page shown in 19(a) displays the audio tracks of the target audio and video resources and the "switch audio broadcast only" control, and the audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources may include a trigger operation for the "switch audio broadcast only" control, etc.; when receiving the trigger operation for the "switch audio broadcast only" control, the player is controlled to pause playing the target audio and video resources.
[0296] In actual applications, in order to improve the user experience and make the user have certain expectations about the process of switching to the Bluetooth broadcast channel, when controlling the player to pause playing the target audio and video resources, a pop-up window of "Bluetooth broadcast switching" as shown in 19(b) can be displayed to remind the user that the Bluetooth broadcast channel is currently being switched.
[0297] When it is determined that the Bluetooth broadcast channel has been switched successfully and the target audio and video resources continue to be played, 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 19(c), 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.
[0298] It can be seen that the embodiment of the present application 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 audio data and the progress of the target audio and video resources consistent when switching from the current audio channel to the Bluetooth broadcast audio channel.
[0299] In actual applications, in the process of sending multiple Bluetooth broadcasts based on at least two target audio tracks, there may be a situation where the target audio track selected by the user is Chinese, but the actual broadcast heard is an English broadcast (that is, the audio data heard by the user is not in the same language as the audio track selected by the user). In order to solve the above technical problem or at least partially solve the above technical problem, the embodiment of the present application 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.
[0300] When one audio track corresponds to one channel, there is a one-to-one correspondence between the audio track and the BIS stream, for example, BIS1 corresponds to audio track 1, and BIS2 corresponds to audio track 2.
[0301] In the case where one audio track corresponds to multiple channels, the correspondence between the audio track and the BIS stream can be represented by a group or set. Figure 20 shows a schematic diagram of the mapping relationship between a target audio track and a BIS stream according to an embodiment of the present application. Among them, Track 1 and Track 2 respectively identify audio data in different languages obtained by decoding, such as Chinese audio data and English audio data. Track 1 has a corresponding relationship with subgroup 0, and Track 2 has a corresponding relationship with subgroup 1. Subgroup 0 and subgroup 1 are different group identifiers. Subgroup 0 can include BIS0 and BIS1, and subgroup 1 can include BIS2 and BIS3.
[0302] Since there is a corresponding relationship between audio track 1 and subgroup 0, and subgroup 0 can include BIS0 and BIS1, BIS0 can be used to represent the left channel of audio track 1, such as the left channel of Chinese audio data, and BIS1 can be used to represent the right channel of audio track 1; correspondingly, since there is a corresponding relationship between audio track 2 and subgroup 1, and subgroup 1 can include BIS2 and BIS3, BIS2 can be used to represent the left channel of audio track 2, and BIS3 can be used to represent the right channel of audio track 2.
[0303] Exemplarily, when an audio broadcast trigger operation is received for at least two target audio tracks, it indicates that the user wants to perform bilingual sharing or multilingual sharing. First, the audio module is controlled to decode the target audio and video resources to obtain the decoded audio data corresponding to each target audio track, such as the audio data of Chinese (track 1) and the audio data of English (track 2); then the Bluetooth protocol stack is controlled to encapsulate the decoded audio data corresponding to the left channel of track 1 into BIS0, the decoded audio data corresponding to the right channel of track 1 into BIS1, the decoded audio data corresponding to the left channel of track 2 into BIS2, and the decoded audio data corresponding to the right channel of track 2 into BIS3 according to the correspondence shown in Figure 20, and multiple Bluetooth broadcasts are issued based on BIS0, BIS1, BIS2, and BIS3.
[0304] In some embodiments, before sending the decoded audio data to the Bluetooth protocol stack, the display device can also control the audio decoder to add target header information to the decoded audio data to obtain processed audio data carrying the target header information, and further send the processed audio data to the Bluetooth protocol stack.
[0305] Since the target header information can encapsulate the audio information of the target audio track corresponding to the decoded audio data, after receiving the processed audio data, the Bluetooth protocol stack can automatically match the BIS stream corresponding to the target audio track according to the target header information carried in the processed audio data, thereby sending Bluetooth broadcasts more accurately.
[0306] For example, assuming that the target audio track can include two audio tracks, Chinese and English, where the Chinese audio track can include a left channel and a right channel, and the English audio track can include a left channel and a right channel, then 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 the processed audio data carrying the target header information.
[0307] In other embodiments, before sending multiple Bluetooth broadcasts based on at least two target audio tracks, corresponding BIS streams can be set for at least two target audio tracks respectively; further, after sending the processed audio data to the Bluetooth protocol stack, the Bluetooth protocol stack is controlled to determine the corresponding BIS stream based on the audio track information encapsulated in the target header information of the received processed audio data, and the processed audio data is encapsulated into the BIS stream, and a Bluetooth broadcast is sent based on the BIS stream.
[0308] For example, assuming that the target header information of the processed audio data encapsulates audio track information such as "track 1-BIS0, track 2-BIS2", after receiving the above track 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.
[0309] It can be seen that the embodiment of the present application can automatically match the corresponding BIS stream for the target audio track by adding header information to the decoded audio data, thereby issuing a Bluetooth broadcast more accurately.
[0310] In actual applications, after sending multiple Bluetooth broadcasts based on at least two target audio tracks, the display can also be controlled to display the device management page, and the connected LE audio devices can be displayed on the device management page to achieve the function of synchronously playing the audio data of the target audio and video resources (such as Chinese or English) on the audio receiving device connected to the display device.
[0311] Figure 21 shows a device configuration flow chart according to an embodiment of the present application, wherein the audio and video playback page shown in 21(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 21(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; 21(b) is a schematic diagram of a device management page according to an embodiment of the present application, wherein the page displays connected LE audio devices, such as device A and device B.
[0312] In an embodiment of the present application, while displaying connected LE audio devices on the device management page, the display device may also receive a target audio track configured for a first LE audio device among the connected LE audio devices, and send broadcast source information corresponding to the 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.
[0313] Exemplarily, in the process of displaying connected LE audio devices on the device management page shown in 21(b), when a track configuration trigger operation is received for a first LE audio device (for example, device B), at least two target audio tracks are displayed for device B. 21(c) is a schematic diagram of an audio track selection page according to an embodiment of the present application, on which at least two target audio tracks are displayed, as well as a prompt message of "Please select the audio track to be received by Bluetooth device B" to prompt the user to select the audio track (i.e., Chinese language) to be received for device B (i.e., the first LE audio device); when a selection operation is received for any target audio track, the broadcast source information corresponding to the target audio track is sent to device B, so that device B can receive the Bluetooth broadcast corresponding to the target audio track based on the broadcast source information.
[0314] In some implementations, after the display device controls the display to display the device management page, it may also control the Bluetooth module to perform device scanning and control the display to display the scanned LE audio devices on the device management page.
[0315] In actual applications, the display device 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 in response to the trigger operation of the device scan control while controlling the display to display the device management page and display the connected LE audio devices on the device management page.
[0316] During the process of displaying the scanned LE audio devices on the device management page, upon receiving a connection request for a second LE audio device among the scanned LE audio devices, a connection can be established with the second LE audio device; after successfully establishing a connection with the second LE audio device, the second LE audio device can be displayed as connected on the device management page.
[0317] The second LE audio device may be any one of the scanned LE audio devices, and the second LE audio device may be the same device as the first LE audio device.
[0318] FIG22 is a schematic diagram showing a change in a device connection state according to an embodiment of the present application, wherein the device display device management page shown in FIG22(a) displays LE audio devices scanned by the Bluetooth module, such as device C and device D; upon receiving a connection request for a second LE audio device (e.g., device D), a connection is established with device D. After successfully establishing a connection with device D, the connected device D is displayed in the connected device list on the device management page, as shown in FIG22(b), where device D is now in the connected device list; upon receiving a track configuration trigger operation for device D, a track selection page shown in FIG22(c) is displayed, wherein at least two target tracks are displayed on the page, and upon receiving a selection operation for any target track (e.g., Chinese), the broadcast source information corresponding to the target track (i.e., Chinese) is sent to device D, so that device D can receive the Bluetooth broadcast corresponding to the target track (i.e., Chinese) based on the broadcast source information.
[0319] In this embodiment of the present application, the step of "displaying the connected LE audio device on the device management page" may be performed first, and then the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed. Alternatively, the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed first, and then the step of "displaying the connected LE audio device on the device management page" may be performed. One or more steps may 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", steps such as "establishing a connection with the second LE audio device" may be added.
[0320] Continuing with the airport scenario as an example, the audio broadcasting scenario provided by the embodiments of this application is introduced. A display device can be deployed in the airport lobby, 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 lobby. 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, thereby enabling LE audio devices in different areas to play audio in different languages.
[0321] FIG28 is a second schematic diagram of a possible broadcast scenario according to an embodiment of the present application. A display device is deployed in the airport hall, and an LE audio device, such as a speaker and headphones, is deployed in each of the four different areas of the airport, Area A, Area B, Area C, and Area D. The Bluetooth module of the display device sends multiple Bluetooth broadcasts based on at least two target audio tracks to achieve the effect of LE audio devices in different areas playing different languages. Compared to the audio broadcasting method in the related art shown in FIG1 , the audio broadcasting method provided in the embodiment of the present application does not require the deployment of multiple display devices in different areas to play different languages. Instead, the function of simultaneous multi-language playback of the same audio and video resource can be achieved by using audio broadcasting through a single display device and multiple LE audio devices.
[0322] Corresponding to the scenario diagram shown in FIG28, an embodiment of the present application provides an audio broadcasting method. FIG29 is a flowchart diagram 5 of an audio broadcasting method according to an embodiment of the present application. As shown in FIG29, the method may include:
[0323] S2902: Obtain the audio track of the target audio and video resource.
[0324] For the specific implementation of step 2902, please refer to the implementation of the above step S1202.
[0325] S2904. If it is determined that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, after 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 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.
[0326] The one or more second target audio tracks may include target audio tracks other than the first target audio track among the at least two target audio tracks, and each second target audio track corresponds to at least one Bluetooth broadcast, which is used to broadcast audio data of the second target audio track.
[0327] In an embodiment of the present application, after obtaining the audio tracks of the target audio and video resources, it is first determined whether the number of audio tracks of the target audio and video resources is not less than a preset first quantity threshold; if it is determined that the number of audio tracks of the target audio and video resources is not less than the preset quantity threshold, 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.
[0328] In an embodiment of the present application, 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 can include target audio tracks other than the first audio track in the at least two target audio tracks. Exemplarily, assuming that the audio tracks of the target audio and video resources can 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 can 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.
[0329] In actual applications, the preset number threshold can be determined based on the performance of the display device's hardware chip. Specifically, the preset number threshold can be positively correlated with the performance of the hardware chip. Currently, the hardware chip can support 2 shared audio tracks (i.e., the preset number threshold is usually set to 2). In actual applications, as the performance of the hardware chip improves, the corresponding preset number threshold can also be set to 3, 4, etc.
[0330] In an embodiment of the present application, the audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources may include a trigger operation for switching only the audio broadcast control on the page where the at least two target audio tracks are located.
[0331] In some implementations, before the display device issues multiple Bluetooth broadcasts based on the at least two target audio tracks, the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
[0332] In the embodiment of the present application, the audio channel 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, and may also include an audio output channel established based on a unicast media sender (BMS). The current audio channel may be any of the above audio output channels.
[0333] In actual applications, 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, a Bluetooth broadcast is issued based on one or more second target audio tracks among the at least two target audio tracks.
[0334] 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.
[0335] In an embodiment of the present application, the step of "controlling the sound output device to play the audio data corresponding to the first target audio track among at least two target audio tracks" may be first executed, and then the step of "switching the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "switching the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the sound output device to play the audio data corresponding to the first target audio track among at least two target audio tracks" may be executed. One or more steps may 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 the video decoder" may be added.
[0336] In the audio broadcasting method provided in the embodiment of the present application, 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. It can be seen that the embodiment of the present application 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.
[0337] In some embodiments, after obtaining the audio tracks of the target audio and video resource, the display device may further control the display to display a multi-language sharing control upon determining that the number of audio tracks of the target audio and video resource is not less than a preset threshold. Upon receiving a trigger operation for the multi-language sharing control, the display may display the identifiers of at least two of 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 display device may 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 to issue a Bluetooth broadcast based on one or more second target audio tracks of the at least two target audio tracks. The trigger operation for the multi-track sharing control may include, for example, a click operation on the multi-track sharing control.
[0338] For example, assuming that the preset number threshold is 2, it means that the display device can support 2 audio tracks shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resources (for example, 2) is not less than 2, the display is controlled to display a multi-audio track sharing control with the words "Bilingual Sharing".
[0339] FIG15 is a flowchart of switching from a playback page to a multilingual sharing page according to an embodiment of the present application, wherein 15(a) is a playback page for audio and video resources, on which a target audio and video resource is currently playing. Upon receiving a user's audio track menu call operation for this page, the audio track of the target audio and video resource is obtained. If it is determined that the number of audio tracks of the target audio and video resource (e.g., 2) is not less than a preset threshold of 2, the display is controlled to display the audio track menu page shown in 15(b). The audio track menu page displays a "Bilingual Sharing" control, and the audio track name of the target audio and video resource, such as Chinese, English, Japanese, etc., is also displayed on the audio track menu page.
[0340] When a trigger operation is received for the "Bilingual Sharing" control in 15(b), a multilingual sharing page is displayed to prompt the user that the following languages will be played synchronously; 15(c) shows a schematic diagram of a multilingual sharing page according to an embodiment of the present application, 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 the control, the sound output device is controlled to play the first target audio track, such as the Chinese audio track, and to issue a Bluetooth broadcast based on at least one second target audio track, such as an English audio track. In addition, the page also displays the words "The following audio will be played synchronously" to prompt the user that the target audio and video resources will be played synchronously in languages such as Chinese and English.
[0341] FIG16 shows a flow chart of switching from a resource list page to a multilingual sharing page according to an embodiment of the present application, wherein 16(a) is a list page of audio and video resources, which displays audio and video resources A, B, and C to be played. When a selection operation is received for audio and video resource B, audio and video resource B is determined as the target audio and video resource, and the audio tracks of the target audio and video resource (e.g., Chinese, English, or Japanese) are obtained. If the number of audio tracks of the target audio and video resource is determined to be no less than a preset number threshold of 2, a multilingual sharing control and the track names of the target audio and video resource are displayed at a preset position below the target audio and video resource, as shown in 16(b). When a trigger operation is received for the "bilingual sharing" control in 16(b), the multilingual sharing page shown in 16(c) is displayed.
[0342] For example, assuming the preset number threshold is 3, it means that the display device can support 3 audio tracks to be shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resource is not less than 3 (for example, 3), the display is controlled to display a control with the words "Bilingual Sharing" and a control with the words "Trilingual Sharing". The "Bilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in two languages, and the "Trilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in three languages.
[0343] In some embodiments, after obtaining the audio tracks of the target audio and video resource, it is further possible to determine whether the display device supports the LE audio protocol. Specifically, the determination of whether the display device supports the LE audio protocol is performed 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 and video resource currently being played is not less than a first preset threshold, the display is controlled to display a multi-track sharing control.
[0344] In actual applications, in the process of displaying multiple audio tracks supported by the target audio and video on the audio track menu page shown in 15(b) or 16(b), assuming that the audio track currently played by the target audio and video resource is the Chinese corresponding audio track, when a selection operation is received for the English corresponding audio track among the multiple audio tracks, the currently played Chinese audio track is switched to the English corresponding audio track, and at least one Bluetooth broadcast is issued based on the English corresponding audio track.
[0345] In some embodiments, during the process of controlling the display to display a multi-language sharing control, 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; and 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 play audio data corresponding to a first target audio track of 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.
[0346] Since 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. At this time, the display device controls the sound output device to play the audio data corresponding to the first target audio track of at least two target audio tracks, and plays all the audio track contents of the target audio and video resources, thereby achieving the effect of playing the audio data of one of the audio tracks by the local speaker and broadcasting the audio data of the other audio track by Bluetooth.
[0347] In actual applications, 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.
[0348] In some embodiments, when a cancel sharing trigger operation is received for at least two target audio tracks, the Bluetooth module is controlled to switch the current audio channel from the Bluetooth broadcast channel, and the sound output device is controlled to continue playing the audio data corresponding to the first target audio track according to the current playback progress.
[0349] In other embodiments, upon receiving a cancel sharing trigger operation for at least two target audio tracks, it is first determined whether the display device currently has a connected target Bluetooth audio device. If it is determined that a connected target Bluetooth device exists, the Bluetooth module is controlled to switch the current audio channel to the Bluetooth audio channel, and the audio data corresponding to any second audio track of the target audio and video resource is sent to the target Bluetooth audio device, and the sound output device is controlled to continue playing the audio data corresponding to the first target audio track according to the current playback progress. The first audio track can be any audio track of the acquired target audio and video resource.
[0350] In an embodiment of the present application, 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 can include 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.
[0351] In other implementations, if there is no connected target Bluetooth 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.
[0352] In an embodiment of the present application, the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be first executed, 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" may be executed, or 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" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be executed, and one or more steps may 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", steps such as "determining whether there is a target Bluetooth audio device currently connected" may be added.
[0353] Corresponding to the scenario diagram shown in FIG28, the embodiment of the present application further provides an audio broadcasting method. FIG30 is a flow chart of an audio broadcasting method according to an embodiment of the present application. As shown in FIG30, the method may include:
[0354] S3002: Obtain the audio track of the target audio and video resource.
[0355] The implementation of this step refers to the implementation of the above step S1202.
[0356] S3004: 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, control the display to display a multi-audio track sharing control.
[0357] Steps S3002-S3004 can be specifically understood with reference to steps S2902-S2904 in the method shown in FIG29 , and are not described in detail here.
[0358] S3006: In response to a triggering operation on the multi-track sharing control, determining whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold.
[0359] S3008: If it is determined that the number of the audio tracks is greater than the preset number threshold, the identifiers of the audio tracks of the target audio and video resources are displayed.
[0360] 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.
[0361] For example, assuming that the preset quantity threshold is 2 and the number of audio tracks of the target audio and video resources 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 resources is greater than the preset quantity threshold, then the identifier of the audio track of the target audio and video resources is displayed. Figure 31 is a flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein 31(b) is a schematic diagram of an audio track selection pop-up window according to an embodiment of the present application, and the pop-up window displays the identifier of the audio track of the target audio and video resources, 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. In addition, the pop-up window can also display the words "Please select the shared audio track, only Bluetooth devices that support the LE audio protocol" to prompt the user to select multiple languages for sharing.
[0362] S1710: Receive and display at least two target audio tracks selected from the audio tracks of the target audio and video resources.
[0363] In actual applications, in the process of 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 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.
[0364] S1712: After receiving an audio broadcast trigger operation for the at least two target audio tracks, control the sound output device to play audio data corresponding to a 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.
[0365] In the process of the display device controlling the display to display the identification of the audio track of the target audio and video resource, at least two target audio tracks selected from the audio tracks of the target audio and video resource are first received; then, 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 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.
[0366] 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. For example, assuming that the audio played by the sound output device before bilingual sharing is the audio data corresponding to the Chinese audio track, upon receiving a selection operation for the Chinese audio track and the English audio track among the three audio tracks shown in 31(b), the Chinese audio track and the English audio track are determined as the target audio tracks. In addition, a "Confirm Sharing" control may be displayed on the audio track selection pop-up window. After selecting at least two target audio tracks, upon receiving a triggering operation for the "Confirm Sharing" control, 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.
[0367] In actual applications, after determining at least two target audio tracks to be played using audio broadcasting, the display device can also determine any one of the at least two target audio tracks as the first target audio track, and after receiving the audio broadcast trigger operation for the at least two target audio tracks, control the sound output device to play the first target audio track, and issue a Bluetooth broadcast based on one or more second target audio tracks among the at least two target audio tracks.
[0368] In some embodiments, during the process of displaying the audio tracks of the target audio and video resources and the "Confirm Sharing" control on the audio track selection pop-up window, the display device can also jump from the audio track selection pop-up window to the Bluetooth broadcast switching pop-up window shown in 31(c) after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources and triggering the "Confirm Sharing" control, and display the prompt words "Bluetooth broadcast switching" and "Sound output device plays Chinese audio Bluetooth broadcast English audio track" on the pop-up window to prompt the user that after selecting at least two target audio tracks to be shared, the audio data corresponding to the Chinese audio track before bilingual sharing will be played by the sound output device by default, and at least one Bluetooth broadcast based on the English audio track will be issued.
[0369] In other embodiments, after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources, the display device may further receive a first target audio track selected for the sound output device from the at least two target audio tracks.
[0370] Exemplarily, assuming that the audio tracks of the target audio and video resources may include Chinese, English, Japanese audio tracks, etc., after receiving the Chinese audio track and English audio track selected by the user from the above audio tracks, the Chinese audio track and the English audio track are determined as target audio tracks, and the first target audio track selected by the user for the sound output device from at least two target audio tracks, such as the English audio track, is received.
[0371] FIG32 is a flowchart of an audio broadcast switching method according to an embodiment of the present application. When a trigger operation is received for the bilingual sharing control in the audio track menu page shown in 32(a), the audio track selection pop-up window shown in 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 the audio track of the speaker"; after receiving at least two target audio tracks selected from the audio tracks of the target audio and video resource, such as an English audio track and a Japanese audio track, the current pop-up window can also be used to select the audio track of the target audio and video resource when a trigger operation is received for the "Select the audio track of the speaker" control. Switch to the speaker audio track selection pop-up window shown in 32(c); in the process of displaying at least two target audio tracks on the speaker audio track selection pop-up window shown in 32(c), the Japanese audio track can be determined as the first target audio track when a selection operation for the Japanese audio track is received, and when a trigger operation for the "Confirm Sharing" control in the pop-up window is received, the speaker audio selection pop-up window is switched to the Bluetooth broadcast switching pop-up window shown in 32(d), and the sound output device is controlled to play the audio data corresponding to the Japanese audio track, and to send at least one Bluetooth broadcast based on the English audio track.
[0372] The embodiment of the present application can first execute 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", and then execute the step of "displaying the identification of at least two target audio tracks in the audio tracks of the target audio and video resources", or first execute the step of "determining whether the number of audio tracks of the target audio and video resources is greater than the preset number threshold", and then execute the step of "displaying the identification of the audio tracks of the target audio and video resources", and can also add one or more steps before the above steps at the same time, for example, before the step of "the sound output device plays the audio data corresponding to the first target audio track of the at least two target audio tracks", add steps such as "switching the current audio channel to the Bluetooth broadcast channel".
[0373] It can be seen that the embodiment of the present application 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 at least two target audio tracks, and send multiple Bluetooth broadcasts based on at least one second target audio track, so as to realize the function of simultaneous multi-language playback of the same audio and video resource by using the sound output device and audio broadcasting.
[0374] In actual applications, when the display device controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel, there may be a problem of inconsistency between the audio data and the playback progress of the target audio and video resources. In order to solve the above technical problems or at least partially solve the above technical problems, the embodiment of the present application 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.
[0375] The audio decoder is primarily used to decode compressed audio data into raw digital audio signals. After decoding the target audio and video resources to obtain information such as Chinese and English audio data, the audio decoder can send the decoded audio information to an audio processor or audio output device for playback. The video decoder is used to decode compressed video data into the original video image sequence. Specifically, it can decode the target audio and video resources and restore video data such as the image frame rate and resolution for subsequent video processing and display. The Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
[0376] The playback progress information of the target audio and video resource may include information such as the current playback time of the target audio and video resource. After obtaining the playback progress information of the target audio and video resource, the audio decoder can be controlled to play the target audio and video resource according to the playback progress information, and the decoded audio data can be 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.
[0377] For example, when an audio broadcast trigger operation for at least two target audio tracks is received, the player is controlled to pause playing the target audio and video resources. Assuming that the target audio and video resources are paused at 30 seconds of playback, when it is determined that the Bluetooth broadcast switch is successful, the audio decoder is restarted and the audio decoder is controlled to start decoding the target audio and video resources from the 30th second, so as to achieve the effect of keeping the playback progress of the audio data and the target audio and video resources consistent.
[0378] In some embodiments, 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 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 switching 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.
[0379] In an embodiment of the present application, 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.
[0380] In an embodiment of the present application, the step of "controlling the player to pause playing the target audio and video resources" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the player to pause playing the target audio and video resources" may be executed. One or more steps may 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 the video decoder" may be added.
[0381] Figure 19 is a third flow chart of an audio broadcast switching process according to an embodiment of the present application, wherein the page shown in 19(a) displays the audio tracks of the target audio and video resources and the "switch audio broadcast only" control, and the audio broadcast trigger operation for at least two target audio tracks in the audio tracks of the target audio and video resources may include a trigger operation for the "switch audio broadcast only" control, etc.; when receiving the trigger operation for the "switch audio broadcast only" control, the player is controlled to pause playing the target audio and video resources.
[0382] In actual applications, in order to improve the user experience and make the user have certain expectations about the process of switching to the Bluetooth broadcast channel, when controlling the player to pause playing the target audio and video resources, a pop-up window of "Bluetooth broadcast switching" as shown in 19(b) can be displayed to remind the user that the Bluetooth broadcast channel is currently being switched.
[0383] When it is determined that the Bluetooth broadcast channel has been switched successfully and the target audio and video resources continue to be played, 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 19(c), 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.
[0384] It can be seen that the embodiment of the present application 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 audio data and the progress of the target audio and video resources consistent when switching from the current audio channel to the Bluetooth broadcast audio channel.
[0385] In actual applications, in the process of sending multiple Bluetooth broadcasts based on at least two target audio tracks, there may be a situation where the target audio track selected by the user is Chinese, but the actual broadcast heard is an English broadcast (that is, the audio data heard by the user is not in the same language as the audio track selected by the user). In order to solve the above technical problem or at least partially solve the above technical problem, the embodiment of the present application 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.
[0386] In the embodiment of the present application, when one audio track corresponds to one channel, there is a one-to-one correspondence between the audio track and the BIS stream, for example, BIS1 corresponds to audio track 1, and BIS2 corresponds to audio track 2.
[0387] In the case where one audio track corresponds to multiple channels, the correspondence between the audio track and the BIS stream can be represented by a group or set. Figure 20 is a schematic diagram of the mapping relationship between a target audio track and a BIS stream according to an embodiment of the present application. Among them, Track 1 and Track 2 respectively identify audio data in different languages obtained by decoding, such as Chinese audio data and English audio data. Track 1 has a corresponding relationship with subgroup 0, and Track 2 has a corresponding relationship with subgroup 1. Subgroup 0 and subgroup 1 are different group identifiers. Subgroup 0 can include BIS0 and BIS1, and subgroup 1 can include BIS2 and BIS3.
[0388] Since there is a corresponding relationship between audio track 1 and subgroup 0, and subgroup 0 can include BIS0 and BIS1, BIS0 can be used to represent the left channel of audio track 1, such as the left channel of Chinese audio data, and BIS1 can be used to represent the right channel of audio track 1; correspondingly, since there is a corresponding relationship between audio track 2 and subgroup 1, and subgroup 1 can include BIS2 and BIS3, BIS2 can be used to represent the left channel of audio track 2, and BIS3 can be used to represent the right channel of audio track 2.
[0389] Exemplarily, when an audio broadcast trigger operation is received for at least two target audio tracks, it indicates that the user wants to perform bilingual sharing or multilingual sharing. First, the audio module is controlled to decode the target audio and video resources to obtain the decoded audio data corresponding to each target audio track, such as the audio data of Chinese (track 1) and the audio data of English (track 2); then the Bluetooth protocol stack is controlled to encapsulate the decoded audio data corresponding to the left channel of track 1 into BIS0, the decoded audio data corresponding to the right channel of track 1 into BIS1, the decoded audio data corresponding to the left channel of track 2 into BIS2, and the decoded audio data corresponding to the right channel of track 2 into BIS3 according to the correspondence shown in Figure 20, and multiple Bluetooth broadcasts are issued based on BIS0, BIS1, BIS2, and BIS3.
[0390] In some embodiments, before sending the decoded audio data to the Bluetooth protocol stack, the display device can also control the audio decoder to add target header information to the decoded audio data to obtain processed audio data carrying the target header information, and further send the processed audio data to the Bluetooth protocol stack.
[0391] Since the target header information can encapsulate the audio information of the target audio track corresponding to the decoded audio data, after receiving the processed audio data, the Bluetooth protocol stack can automatically match the BIS stream corresponding to the target audio track according to the target header information carried in the processed audio data, thereby sending Bluetooth broadcasts more accurately.
[0392] For example, assuming that the target audio track can include two audio tracks, Chinese and English, where the Chinese audio track can include a left channel and a right channel, and the English audio track can include a left channel and a right channel, then 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 the processed audio data carrying the target header information.
[0393] In other embodiments, before sending multiple Bluetooth broadcasts based on at least two target audio tracks, corresponding BIS streams can be set for at least two target audio tracks respectively; further, after sending the processed audio data to the Bluetooth protocol stack, the Bluetooth protocol stack is controlled to determine the corresponding BIS stream based on the audio track information encapsulated in the target header information of the received processed audio data, and the processed audio data is encapsulated into the BIS stream, and a Bluetooth broadcast is sent based on the BIS stream.
[0394] For example, assuming that the target header information of the processed audio data encapsulates audio track information such as "track 1-BIS0, track 2-BIS2", after receiving the above track 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.
[0395] It can be seen that the embodiment of the present application can automatically match the corresponding BIS stream for the target audio track by adding header information to the decoded audio data, thereby issuing a Bluetooth broadcast more accurately.
[0396] In actual applications, after sending multiple Bluetooth broadcasts based on at least two target audio tracks, the display can also be controlled to display the device management page, and the connected LE audio devices can be displayed on the device management page to achieve the function of synchronously playing the audio data of the target audio and video resources (such as Chinese or English) on the audio receiving device connected to the display device.
[0397] Figure 21 is a device configuration flowchart according to an embodiment of the present application, wherein the audio and video playback page shown in 21(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 21(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; 21(b) is a schematic diagram of a device management page according to an embodiment of the present application, wherein the page displays connected LE audio devices, such as device A and device B.
[0398] While displaying connected LE audio devices on the device management page, 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.
[0399] Exemplarily, in the process of displaying connected LE audio devices on the device management page shown in 21(b), when a track configuration trigger operation is received for a first LE audio device (for example, device B), at least one second target audio track is displayed for device B. 21(c) is a schematic diagram of an audio track selection page according to an embodiment of the present application, on which at least one second target audio track is displayed, as well as a prompt message of "Please select the audio track to be received by Bluetooth device B" to prompt the user to select the audio track (i.e., Chinese language) to be received for device B (i.e., the first LE audio device); when a selection operation is received for any second target audio track, the broadcast source information corresponding to the second target audio track is sent to device B, so that device B can receive the Bluetooth broadcast corresponding to the second target audio track based on the broadcast source information.
[0400] In some implementations, after the display device controls the display to display the device management page, it may also control the Bluetooth module to perform device scanning and control the display to display the scanned LE audio devices on the device management page.
[0401] In actual applications, the display device 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 in response to the trigger operation of the device scan control while controlling the display to display the device management page and display the connected LE audio devices on the device management page.
[0402] During the process of displaying the scanned LE audio devices on the device management page, upon receiving a connection request for a second LE audio device among the scanned LE audio devices, a connection can be established with the second LE audio device; after successfully establishing a connection with the second LE audio device, the second LE audio device can be displayed as connected on the device management page.
[0403] The second LE audio device may be any one of the scanned LE audio devices, and the second LE audio device may be the same device as the first LE audio device.
[0404] FIG22 is a schematic diagram showing a change in a device connection state according to an embodiment of the present application, wherein the device display device management page shown in FIG22(a) displays LE audio devices scanned by the Bluetooth module, such as device C and device D; upon receiving a connection request for a second LE audio device (e.g., device D), a connection is established with device D. After successfully establishing a connection with device D, the connected device D is displayed in the connected device list on the device management page, as shown in FIG22(b), where device D is now in the connected device list; upon receiving a track configuration trigger operation for device D, a track selection page shown in FIG22(c) is displayed, wherein at least one second target track is displayed on the page, and upon receiving a selection operation for any second target track (e.g., Chinese), the broadcast source information corresponding to the second target track (i.e., Chinese) is sent to device D, so that device D can receive the Bluetooth broadcast corresponding to the second target track (i.e., Chinese) based on the broadcast source information.
[0405] In this embodiment of the present application, the step of "displaying the connected LE audio device on the device management page" may be performed first, and then the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed. Alternatively, the step of "controlling the display to display the scanned LE audio device on the device management page" may be performed first, and then the step of "displaying the connected LE audio device on the device management page" may be performed. One or more steps may 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", steps such as "establishing a connection with the second LE audio device" may be added.
[0406] Continuing with the airport scenario as an example, the audio broadcasting scenario provided by the embodiment of the present application is introduced. 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. Specifically, 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, and 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.
[0407] FIG33 shows a third schematic diagram of a possible broadcast scenario according to an embodiment of the present application. A display device is deployed in the airport hall, and an LE audio device, such as a speaker and headphones, is deployed in each of the four different areas of the airport, Area A, Area B, Area C, and Area D. The Bluetooth module of the display device sends multiple Bluetooth broadcasts based on at least two target audio tracks to achieve the effect of LE audio devices in different areas playing different languages. Compared with the audio broadcasting method in the related art shown in FIG1 , the audio broadcasting method provided in the embodiment of the present application does not require the deployment of multiple display devices in different areas to play different languages. Instead, the function of simultaneous multi-language playback of the same audio and video resource can be achieved by using audio broadcasting through a display device and multiple LE audio devices.
[0408] Corresponding to the scenario diagram shown in FIG33, the embodiment of the present application provides an audio broadcasting method as shown in FIG34. FIG34 is a flow chart of an audio broadcasting method according to an embodiment of the present application. As shown in FIG34, the method may include the following steps S3402-S3404:
[0409] S3402. Obtain the audio track of the target audio and video resource.
[0410] The implementation of this step refers to the implementation of the above step S1202.
[0411] S3404. 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, 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 LE audio device on the device management page.
[0412] After obtaining the audio tracks of the target audio and video resources, first determine whether the number of audio tracks of the target audio and video resources is less than the 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, monitor the audio broadcast trigger operation for the audio tracks of the target audio and video resources; after receiving the audio broadcast trigger operation for at least two audio tracks of 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.
[0413] In actual applications, the preset number threshold can be determined based on the performance of the display device's hardware chip. Specifically, the preset number threshold can be positively correlated with the performance of the hardware chip. Currently, the hardware chip can support 2 shared audio tracks (i.e., the preset number threshold is usually set to 2). In actual applications, as the performance of the hardware chip improves, the corresponding preset number threshold can also be set to 3, 4, etc.
[0414] In some embodiments, after obtaining the audio tracks of the target audio and video resources, the display device may further, upon 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; upon 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 upon 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 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.
[0415] For example, assuming that the preset number threshold is 2, it means that the display device can support 2 audio tracks shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resources (for example, 2) is not less than 2, the display is controlled to display a multi-audio track sharing control with the words "Bilingual Sharing".
[0416] FIG15 is a flowchart of switching from a playback page to a multilingual sharing page according to an embodiment of the present application, wherein 15(a) is a playback page for audio and video resources, on which a target audio and video resource is currently playing. Upon receiving a user's audio track menu call operation for this page, the audio track of the target audio and video resource is obtained. If it is determined that the number of audio tracks of the target audio and video resource (e.g., 2) is not less than a preset threshold of 2, the display is controlled to display the audio track menu page shown in 15(b). The audio track menu page displays a "Bilingual Sharing" control, and the audio track name of the target audio and video resource, such as Chinese, English, Japanese, etc., is also displayed on the audio track menu page.
[0417] When a trigger operation is received for the "Bilingual Sharing" control in 15(b), a multilingual sharing page is displayed to prompt the user that the first target audio track will be played by the sound output device and the audio output channel will be switched to the Bluetooth broadcast channel; 15(c) is a schematic diagram of a multi-audio track sharing page according to an embodiment of the present application, 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 "Connect Bluetooth device and switch" control. When a trigger operation is received for the 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.
[0418] FIG16 is a flowchart of switching from a resource list page to a multilingual sharing page according to an embodiment of the present application, wherein 16(a) is a list page of audio and video resources, which displays audio and video resources A, B, and C to be played. When a selection operation is received for audio and video resource B, audio and video resource B is determined as the target audio and video resource, and the audio tracks of the target audio and video resource (e.g., Chinese, English, or Japanese) are obtained. 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 of 2, a multi-track sharing control and the track names of the target audio and video resource are displayed at a preset position below the target audio and video resource, as shown in 16(b). When a trigger operation is received for the "bilingual sharing" control in 16(b), the multilingual sharing page shown in 16(c) is displayed.
[0419] For example, assuming the preset number threshold is 3, it means that the display device can support 3 audio tracks to be shared simultaneously. At this time, if it is determined that the number of audio tracks of the target audio and video resource is not less than 3 (for example, 3), the display is controlled to display a control with the words "Bilingual Sharing" and a control with the words "Trilingual Sharing". The "Bilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in two languages, and the "Trilingual Sharing" control is used to indicate that the display device can simultaneously support the playback of the target audio and video resource in three languages.
[0420] In some embodiments, after obtaining the audio tracks of the target audio and video resource, it is further possible to determine whether the display device supports the LE audio protocol. Specifically, the determination of whether the display device supports the LE audio protocol is performed 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 and video resource currently being played is not less than a first preset threshold, the display is controlled to display a multi-track sharing control.
[0421] In actual applications, in the process of displaying multiple audio tracks supported by the target audio and video on the audio track menu page shown in 15(b) or 16(b), assuming that the audio track currently played by the target audio and video resource is the Chinese corresponding audio track, when a selection operation is received for the English corresponding audio track among the multiple audio tracks, the currently played Chinese audio track is switched to the English corresponding audio track, and at least one Bluetooth broadcast is issued based on the English corresponding audio track.
[0422] In some embodiments, during the process of controlling the display to display a multilingual sharing control, the display device may first determine whether the number of audio tracks of the target audio and video resource is equal to a preset number threshold when receiving a trigger operation for the multilingual sharing control; if it is determined that the number of audio tracks of the target audio and video resource is equal to the preset number threshold, then display the identifier of the audio track of the target audio and video resource; and upon receiving an audio broadcast trigger operation for the audio track of the target audio and video resource, issue a Bluetooth broadcast based on at least two target audio tracks.
[0423] Since 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. At this time, 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.
[0424] The audio broadcast triggering operation for at least two of the target audio and video resource's audio tracks may include, for example, triggering a device configuration control on a multilingual sharing page. Figure 35 is a device configuration flowchart according to an embodiment of the present application. The multilingual sharing page shown in Figure 35(a) displays a device configuration control with the text "Connect Bluetooth device and switch." Upon receiving a triggering operation for this control, the display is controlled to display a device management page, which displays the connected LE audio devices on the device management page, prompting the user to configure the corresponding LE audio device for each audio track.
[0425] 35(b) is a schematic diagram of a device management page according to an embodiment of the present application, wherein the page displays connected LE audio devices, such as device A and device B.
[0426] In an embodiment of the present application, the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be first executed, 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" may be executed, or 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" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth audio channel" may be executed, and one or more steps may 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", steps such as "determining whether there is a target Bluetooth audio device currently connected" may be added.
[0427] S3406: Receive a first target audio track configured for a first LE audio device among the connected LE audio devices.
[0428] The first target audio track belongs to the at least two target audio tracks.
[0429] While displaying connected LE audio devices 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.
[0430] Exemplarily, in the process of displaying connected LE audio devices on the device management page shown in 35(b), when a track configuration trigger operation is received for a first LE audio device (e.g., device B), at least one first target track is displayed for device A. 35(c) is a schematic diagram of a track selection page according to an embodiment of the present application, on which at least one first target track is displayed, as well as a prompt message of "Please select the track to be received by Bluetooth device A", to prompt the user to select the track (i.e., Chinese language) to be received for device A (i.e., the first LE audio device); when a selection operation is received for any first target track, the broadcast source information corresponding to the first target track is sent to device A, so that device A can receive the Bluetooth broadcast corresponding to the first target track based on the broadcast source information.
[0431] The track selection page shown in 35(c) may also display a "Continue to Select Device" control. When a trigger operation is received for this control, the page jumps to the device management page shown in 35(d). Specifically, the page displays the prompt "Chinese Track" for device A to remind the user that the track configuration for device A has been completed. When a trigger operation is received for the track configuration for device B, the page jumps from the current page to the track selection page, where the track configuration for device B is implemented.
[0432] In some implementations, after the display device controls the display to display the device management page, it may also control the Bluetooth module to perform device scanning and control the display to display the scanned LE audio devices on the device management page.
[0433] In actual applications, the display device 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 in response to the trigger operation of the device scan control while controlling the display to display the device management page and display the connected LE audio devices on the device management page.
[0434] While displaying the scanned LE audio devices on the device management page, you can also establish a connection with any of the scanned LE audio devices upon receiving a connection request for the LE audio device; after successfully establishing a connection with the scanned LE audio device, you can also display the LE audio device in the connected device list on the device management page.
[0435] Figure 36 is a schematic diagram of the change in device connection status according to an embodiment of the present application, wherein the multilingual sharing page shown in 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 36(b) displays the 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. After successfully establishing a connection with device D, the connected device D is displayed in the connected device list on the device management page, as shown in part 36(c), and device D is now in the connected device list; when a track configuration trigger operation is received for device D, a track selection page as shown in 36(d) is displayed, wherein at least two target tracks are displayed on the page, and when a selection operation is received for a first target track (e.g., Chinese) among the at least two target tracks, the broadcast source information corresponding to the first target track (i.e., Chinese) is sent to device D, so that device D can receive the Bluetooth broadcast corresponding to the first target track (i.e., Chinese) based on the broadcast source information.
[0436] In the embodiment of the present application, the step of "displaying the connected LE audio device on the device management page" can be performed first, and then the step of "controlling the display to display the scanned LE audio device on the device management page" can be performed. Alternatively, the step of "controlling the display to display the scanned LE audio device on the device management page" can be performed first, and then the step of "displaying the connected LE audio device on the device management page" can be performed. One or more steps can also be added before the above steps. For example, before the step of "displaying the connected scanned LE audio device on the device management page", steps such as "establishing a connection with the scanned LE audio device" can be added.
[0437] S3408. In response to the audio broadcast triggering operation for the at least two target audio tracks, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, and the broadcast information corresponding to the first target audio track is sent to the first LE audio device.
[0438] Each target audio track corresponds to at least one Bluetooth broadcast, the Bluetooth broadcast is used to broadcast the audio data of the corresponding target audio track, and the broadcast information is used to receive the audio data of the first target audio track.
[0439] After displaying the connected LE audio devices on the device management page and configuring a first target audio track for a first LE audio device among the connected LE audio devices, upon receiving an audio broadcast trigger operation for at least two audio tracks, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks.
[0440] The audio broadcast triggering operation for at least two target audio tracks in the audio tracks of the target audio and video resources may be a triggering operation for switching only the audio broadcast control on a page where the at least two target audio tracks are located.
[0441] 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, encryption, broadcast code, rendering delay time, SUB GROUP information, Android version information and other broadcast parameter information.
[0442] After receiving a first target audio track configured for a first LE audio device among the connected LE audio devices, the display device sends broadcast information corresponding to the first target audio track to the first LE audio device when receiving an audio broadcast trigger operation for at least two target audio tracks. Furthermore, the first LE audio device receives audio data of the first target audio track according to the broadcast information corresponding to the first target audio track.
[0443] In some implementations, before the display device issues multiple Bluetooth broadcasts based on the at least two target audio tracks, the display device may further include: controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel.
[0444] Audio channels can include traditional output channels such as local speaker output channels, Universal Serial Bus (USB) audio output channels, and High Definition Multimedia Interface (HDMI) output channels. They can also include audio output channels established based on a Broadcast Media Sender (BMS). The current audio channel can be any of the above audio output channels.
[0445] In actual applications, 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 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.
[0446] The display device can also first switch the current audio channel to the Bluetooth broadcast channel 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, and control the sound output device to mute after the switch is successful, and send multiple Bluetooth broadcasts based on at least two target audio tracks.
[0447] In an embodiment of the present application, the step of "controlling the sound output device to mute" may be first executed, and then the step of "switching the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "switching the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the sound output device to mute" may be executed. One or more steps may 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" may be added.
[0448] In the audio broadcasting method provided in the embodiment of the present application, the audio tracks of the target audio and video resources are first obtained; if it is determined that the number of audio tracks of the target audio and video resources is not less than a preset number threshold, then when the audio track configuration operation for at least two target audio tracks is received, the display is controlled to display the device management page, and the first target audio track configured for the first LE audio device is received; after receiving the audio broadcast trigger operation for at least two target audio tracks, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, and the broadcast information corresponding to the first target audio track is sent to the first LE audio device. It can be seen that the embodiment of the present application issues at least one Bluetooth broadcast for each target audio track, configures the target audio track for the LE audio device, and sends the broadcast information of the target audio track to the LE audio device, so as to realize the function of multi-language synchronous playback for the same audio and video resource by means of audio broadcasting.
[0449] Corresponding to the scenario diagram shown in FIG33, the embodiment of the present application further provides an audio broadcasting method. FIG37 is a flowchart diagram eight of an audio broadcasting method according to an embodiment of the present application. As shown in FIG37, the method may include:
[0450] S3702: Obtain the audio track of the target audio and video resource.
[0451] 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.
[0452] In an embodiment of the present application, the step of "determining whether the target audio and video resource is in a playback state" may be first executed, and then the step of "obtaining the audio track of the target audio and video resource" may be executed; one or more steps may be added before the above steps, for example, before the step of "obtaining the audio track of the target audio and video resource", the step of "decoding the target audio and video resource" may be added, so as to play the decoded target audio resource on the display device.
[0453] S3704: 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, control the display to display a multi-audio track sharing control.
[0454] In the embodiment of the present application, steps S3702-S3704 can be specifically understood by referring to steps S3402-S3404 in the method shown in Figure 34, and will not be described in detail here.
[0455] 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.
[0456] S3708: If it is determined that the number of the audio tracks is greater than the preset number threshold, the identifiers of the audio tracks of the target audio and video resources are displayed.
[0457] In an embodiment of the present application, 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.
[0458] For example, assuming that the preset number threshold is 2 and the number of audio tracks of the target audio and video resources 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 resources is greater than the preset number threshold, and the identifier of the audio track of the target audio and video resources is displayed. Figure 38 is a flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein 38(b) is a schematic diagram of an audio track selection pop-up window according to an embodiment of the present application, and the pop-up window displays the identifier of the audio track of the target audio and video resources, 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 number threshold. In addition, the pop-up window can also display the words "Please select the shared audio track, only Bluetooth devices that support the LE audio protocol" to prompt the user to select multiple languages for sharing.
[0459] S3710: Receive and display at least two target audio tracks selected from the audio tracks of the target audio and video resources.
[0460] In actual applications, in the process of displaying the identification of the audio track of the target audio and video resource, 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.
[0461] S3712: When a track configuration operation for at least two target tracks of the target audio and video resource is received, control the display to display a device management page, and display the connected LE audio device on the device management page.
[0462] After receiving at least two target audio tracks selected by the user from the audio tracks of the target audio and video resource, the display device jumps from the current page to the device management page when receiving an audio track configuration operation for the at least two target audio tracks, and displays the connected LE audio devices on the device management page so that the user can configure the corresponding LE audio devices for the at least two target audio tracks.
[0463] S3714: Receive a first target audio track configured for a first LE audio device among the connected LE audio devices.
[0464] Wherein, the first target audio track includes at least two target audio tracks.
[0465] While displaying connected LE audio devices on 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. Further, upon receiving a selection operation for the first target track, the first target track is configured for the first LE audio device.
[0466] S3716: In response to the audio broadcast triggering operation for the at least two target audio tracks, multiple Bluetooth broadcasts are issued based on the at least two target audio tracks, and the broadcast information corresponding to the first target audio track is sent to the first LE audio device.
[0467] After configuring the first target audio track for the first LE audio device, upon receiving an audio broadcast trigger operation for at least two target audio tracks, multiple Bluetooth broadcasts can be issued based on the at least two target audio tracks, and the broadcast information corresponding to the first target audio track can be sent 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.
[0468] The audio broadcast triggering operation for at least two target audio tracks may include triggering an operation for a confirmation sharing control on the page where the at least two target audio tracks are located. For example, assuming that the audio played by the sound output device before bilingual sharing is audio data corresponding to the Chinese audio track, upon receiving a selection operation for the Chinese audio track and the English audio track among the three audio tracks shown in 38(b), the Chinese audio track and the English audio track are determined as target audio tracks. In addition, a "Confirm Sharing" control may be displayed on the audio track selection pop-up window. After selecting at least two target audio tracks, upon receiving a trigger operation for the "Confirm Sharing" control, at least two Bluetooth broadcasts may be issued based on the Chinese audio track and the English audio track.
[0469] In some embodiments, while displaying the audio tracks of the target audio and video resources and the "Confirm Sharing" control on the audio track selection pop-up window, the display device may 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 on the "Confirm Sharing" control, jump from the audio track selection pop-up window to the multilingual sharing page shown in section 38(c), where a "Connect Bluetooth device and switch" control is displayed. Upon receiving a user trigger operation on the control, the display device jumps from the current page to the device management page shown in section 38(d), displays the connected LE audio devices on the page, and configures the corresponding target audio tracks for the connected LE audio devices.
[0470] In an embodiment of the present application, the step of "determining whether the number of audio tracks of the target audio and video resource is not less than a preset threshold value" may be first executed, and then the step of "displaying the identifiers of at least two target audio tracks among the audio tracks of the target audio and video resource" may be executed. One or more steps may also be added before the above steps. For example, before the step of "issuing multiple Bluetooth broadcasts based on the at least two target audio tracks", steps such as "receiving and displaying at least two target audio tracks selected from the audio tracks of the target audio and video resource" may be added.
[0471] It can be seen that the embodiment of the present application can, during the process of displaying the audio track of the target audio and video resource, after receiving the user's audio broadcast trigger operation for at least two target audio tracks among the audio tracks of the target audio and video resource, issue multiple Bluetooth broadcasts based on 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 as to realize the function of simultaneous multi-language playback of the same audio and video resource by using audio broadcasting.
[0472] In actual applications, when the display device controls the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel, there may be a problem of inconsistency between the audio data and the playback progress of the target audio and video resources. In order to solve the above technical problems or at least partially solve the above technical problems, the embodiment of the present application 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 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.
[0473] The audio decoder is primarily used to decode compressed audio data into raw digital audio signals. After decoding the target audio and video resources to obtain information such as Chinese and English audio data, the audio decoder can send the decoded audio information to an audio processor or audio output device for playback. The video decoder is used to decode compressed video data into the original video image sequence. Specifically, it can decode the target audio and video resources and restore video data such as the image frame rate and resolution for subsequent video processing and display. The Bluetooth protocol stack is used to issue multiple Bluetooth broadcasts based on the decoded audio data.
[0474] The playback progress information of the target audio and video resource may include information such as the current playback time of the target audio and video resource. After obtaining the playback progress information of the target audio and video resource, the audio decoder can be controlled to play the target audio and video resource according to the playback progress information, and the decoded audio data can be 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.
[0475] For example, when an audio broadcast trigger operation for at least two target audio tracks is received, the player is controlled to pause playing the target audio and video resources. Assuming that the target audio and video resources are paused at 30 seconds of playback, when it is determined that the Bluetooth broadcast switch is successful, the audio decoder is restarted and the audio decoder is controlled to start decoding the target audio and video resources from the 30th second, so as to achieve the effect of keeping the playback progress of the audio data and the target audio and video resources consistent.
[0476] In some embodiments, 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 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.
[0477] Controlling the audio decoder and the video decoder to decode the target audio and video resources means, when the audio decoder and the video decoder are restarted, controlling the audio decoder to decode the audio data according to the playback progress information, and controlling the video decoder to decode the video data according to the playback progress information.
[0478] In an embodiment of the present application, the step of "controlling the player to pause playing the target audio and video resources" may be first executed, and then the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be executed, or the step of "controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel" may be first executed, and then the step of "controlling the player to pause playing the target audio and video resources" may be executed. One or more steps may 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 the video decoder" may be added.
[0479] Figure 39 is a flowchart of an audio broadcast switching process according to an embodiment of the present application, wherein the device management page shown in 39(a) displays connected LE audio devices, such as device A and device B. When a track configuration operation for device B is received, the current page jumps to the track selection page, and the corresponding target track is configured for device B on the track selection page.
[0480] 39(b) is a schematic diagram of an audio track selection page according to an embodiment of the present application, on which at least two target audio tracks are displayed. In addition, the page also displays a "Continue to Select Headphones" control and a "Finish and Switch" control; after receiving a user trigger operation on 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; when receiving a user trigger operation on the "Finish and Switch" control, the Bluetooth module is controlled to switch the current audio channel to the Bluetooth broadcast channel.
[0481] In actual applications, in order to improve the user experience and make the user have certain expectations about the process of switching to the Bluetooth broadcast channel, when controlling the Bluetooth module to switch the current audio channel to the Bluetooth broadcast channel, a pop-up window of "Bluetooth broadcast switching" as shown in 39(c) can be displayed to remind the user that the Bluetooth broadcast channel is currently being switched.
[0482] When the Bluetooth broadcast channel switch is confirmed to be successful and playback of the target audio and video resource continues, a prompt message "Bluetooth broadcast has been set" may be displayed on the playback page of the target audio and video resource, as shown in 39(d), to inform the user that the Bluetooth broadcast switch is successful and that 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.
[0483] It can be seen that the embodiment of the present application 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 audio data and the progress of the target audio and video resources consistent when switching from the current audio channel to the Bluetooth broadcast audio channel.
[0484] In actual applications, in the process of sending multiple Bluetooth broadcasts based on at least two target audio tracks, there may be a situation where the target audio track selected by the user is Chinese, but the actual broadcast heard is an English broadcast (that is, the audio data heard by the user is not in the same language as the audio track selected by the user). In order to solve the above technical problem or at least partially solve the above technical problem, the embodiment of the present application 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.
[0485] When one audio track corresponds to one channel, there is a one-to-one correspondence between the audio track and the BIS stream, for example, BIS1 corresponds to audio track 1, and BIS2 corresponds to audio track 2.
[0486] In the case where one audio track corresponds to multiple channels, the correspondence between the audio track and the BIS stream can be represented by a group or set. Figure 20 is a schematic diagram of the mapping relationship between a target audio track and a BIS stream according to an embodiment of the present application. Among them, Track 1 and Track 2 respectively identify audio data in different languages obtained by decoding, such as Chinese audio data and English audio data. Track 1 has a corresponding relationship with subgroup 0, and Track 2 has a corresponding relationship with subgroup 1. Subgroup 0 and subgroup 1 are different group identifiers. Subgroup 0 can include BIS0 and BIS1, and subgroup 1 can include BIS2 and BIS3.
[0487] Since there is a corresponding relationship between audio track 1 and subgroup 0, and subgroup 0 can include BIS0 and BIS1, BIS0 can be used to represent the left channel of audio track 1, such as the left channel of Chinese audio data, and BIS1 can be used to represent the right channel of audio track 1; correspondingly, since there is a corresponding relationship between audio track 2 and subgroup 1, and subgroup 1 can include BIS2 and BIS3, BIS2 can be used to represent the left channel of audio track 2, and BIS3 can be used to represent the right channel of audio track 2.
[0488] Exemplarily, when an audio broadcast trigger operation is received for at least two target audio tracks, it indicates that the user wants to perform bilingual sharing or multilingual sharing. First, the audio module is controlled to decode the target audio and video resources to obtain the decoded audio data corresponding to each target audio track, such as the audio data of Chinese (track 1) and the audio data of English (track 2); then the Bluetooth protocol stack is controlled to encapsulate the decoded audio data corresponding to the left channel of track 1 into BIS0, the decoded audio data corresponding to the right channel of track 1 into BIS1, the decoded audio data corresponding to the left channel of track 2 into BIS2, and the decoded audio data corresponding to the right channel of track 2 into BIS3 according to the correspondence shown in Figure 20, and multiple Bluetooth broadcasts are issued based on BIS0, BIS1, BIS2, and BIS3.
[0489] In some embodiments, before sending the decoded audio data to the Bluetooth protocol stack, the display device can also control the audio decoder to add target header information to the decoded audio data to obtain processed audio data carrying the target header information, and further send the processed audio data to the Bluetooth protocol stack.
[0490] Since the target header information can encapsulate the audio information of the target audio track corresponding to the decoded audio data, after receiving the processed audio data, the Bluetooth protocol stack can automatically match the BIS stream corresponding to the target audio track according to the target header information carried in the processed audio data, thereby sending Bluetooth broadcasts more accurately.
[0491] For example, assuming that the target audio track can include two audio tracks, Chinese and English, where the Chinese audio track can include a left channel and a right channel, and the English audio track can include a left channel and a right channel, then 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 the processed audio data carrying the target header information.
[0492] In other embodiments, before sending multiple Bluetooth broadcasts based on at least two target audio tracks, corresponding BIS streams can be set for at least two target audio tracks respectively; further, after sending the processed audio data to the Bluetooth protocol stack, the Bluetooth protocol stack is controlled to determine the corresponding BIS stream based on the audio track information encapsulated in the target header information of the received processed audio data, and the processed audio data is encapsulated into the BIS stream, and a Bluetooth broadcast is sent based on the BIS stream.
[0493] For example, assuming that the target header information of the processed audio data encapsulates audio track information such as "track 1-BIS0, track 2-BIS2", after receiving the above track 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.
[0494] It can be seen that the embodiment of the present application can automatically match the corresponding BIS stream for the target audio track by adding header information to the decoded audio data, thereby issuing a Bluetooth broadcast more accurately.
[0495] Figure 40 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be the above-mentioned display device, control terminal, or audio receiving device. As shown in Figure 40, the electronic device may include: a processor 4001, a memory 4002, and a computer program stored in the memory 4002 and executable on the processor 4001. 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 executed by a display device.
[0496] The present application provides a computer-readable non-volatile storage medium that stores a computer program. When the computer program is executed by at least one processor, it implements the various processes of the above-mentioned audio broadcasting method and can achieve the same technical effect. To avoid repetition, it is not described here. The computer-readable non-volatile storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0497] An embodiment of the present application provides a computer program product, which may include a computer program. When the computer program is run on a computer, the computer is enabled to implement the above-mentioned audio broadcasting method.
[0498] Audio sharing based on the LE Audio protocol uses periodic advertising (PA) technology based on low-power Bluetooth to achieve audio transmission on the broadcast isochronous channel.
[0499] The broadcast isochronous channel transmits digital audio streams unidirectionally at fixed time intervals on physical channels (a total of 37). A broadcast isochronous group (BIG) can contain up to 31 broadcast isochronous streams (BIS). Each broadcast isochronous stream has a unique access address (Access Address), which is generated according to a unified algorithm based on the seed access address (Seed Access Address) of the broadcast isochronous group to which it belongs. In other words, the LE Audio protocol adds broadcast audio compared to classic Bluetooth technology, allowing a display device to transmit one or more audio streams to an unlimited number of audio receiving devices.
[0500] Although the LE Audio protocol defines that an audio broadcast device can send different broadcast audio to an unlimited number of audio receiving devices, there are currently no examples of its application in display systems.
[0501] The present application provides a display system and an audio broadcasting method, which applies the LE Audio protocol to the display system, so that the display system can simultaneously broadcast audio in different languages, so that users within the coverage area of the broadcast signal can choose to listen to the audio in the language they need through an audio receiving device, and the broadcasting efficiency is high.
[0502] The following describes the display system involved in the embodiments of the present application and the audio receiving device for receiving the broadcast audio of the display system.
[0503] The display system may include at least one display device. The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc.
[0504] Each display device corresponds to at least one Bluetooth device. The Bluetooth device can be a Bluetooth device that supports the LE Audio protocol, so that the display device can broadcast audio in different languages through at least one Bluetooth device. The Bluetooth device mentioned here can be, for example, a Bluetooth module or a Bluetooth speaker.
[0505] That is to say, the display device may have at least one built-in Bluetooth module that supports the LE Audio protocol, so that the display device can broadcast audio in different languages through the at least one Bluetooth module. Alternatively, the display device may be externally connected to at least one Bluetooth speaker that supports the LE Audio protocol, so that the display device can broadcast audio in different languages through the Bluetooth speaker. Alternatively, the display device may have at least one built-in Bluetooth module that supports the LE Audio protocol, and may be externally connected to at least one Bluetooth speaker that supports the LE Audio protocol, so that the display device can broadcast audio in different languages through at least one Bluetooth module and at least one Bluetooth speaker.
[0506] It should be understood that when a display device broadcasts audio in different languages solely through at least one external Bluetooth speaker that supports the LE Audio protocol, the display device itself may or may not have a Bluetooth module. When it has a Bluetooth module, the Bluetooth module may or may not support the LE Audio protocol.
[0507] The display device can broadcast audio in different languages through at least one Bluetooth device based on user operations. Figure 7 is a schematic diagram of a possible broadcast scenario according to an embodiment of the present application.
[0508] FIG9 is a schematic diagram of a possible hardware configuration of a display device according to an embodiment of the present application.
[0509] In some embodiments, the processor 250 is configured to execute computer instructions to cause the display device to perform the following operations: controlling the Wifi module or wired Ethernet module in the communication device 220 to obtain audio to be played from the outside; using its own audio processor to obtain multiple target audio tracks of the audio; and controlling at least one Bluetooth device through the communication device 220 to synchronously broadcast the multiple target audio tracks.
[0510] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to: construct a virtual audio track using its own audio processor; convert multiple target audio tracks of the audio into audio of multiple channels of the virtual audio track; and control at least one Bluetooth device through the communication device 220 to synchronously broadcast the audio of multiple channels of the virtual audio track.
[0511] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to: use its own audio processor to convert a target audio track into audio of one channel of the virtual audio track; or convert a target audio track into audio of a preset number of channels of the virtual audio track.
[0512] In some embodiments, the processor 250 is further configured to execute the computer instructions to cause the display device to: obtain a track selection instruction input by a user via controlling the user interface, and determine multiple target tracks from all audio tracks based on the user's track selection instruction; or obtain a language preference of an audio receiving device within a coverage area via controlling the external device interface 240, and determine multiple target tracks from all audio tracks based on the language preference of the audio receiving device.
[0513] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device executes: obtaining adjustment instructions input by the user by controlling the user interface, and increasing or decreasing the number of target audio tracks for simultaneous broadcasting according to the user's adjustment instructions; or obtaining the language preference of the audio receiving device within the coverage area by controlling the external device interface 240, and increasing or decreasing the number of target audio tracks for simultaneous broadcasting according to the language preference of the audio receiving device; or obtaining audio track attribute adjustment instructions input by the user by controlling the user interface, and modifying the identification of the audio track according to the audio track attribute adjustment instructions.
[0514] In some embodiments, the processor 250 is further configured to execute the computer instructions so that the display device performs: using its own audio processor to mute the speaker in the audio output interface 270 to play the default audio track of the audio; or, controlling at least one Bluetooth device through the communication device 220 to synchronously broadcast mute data.
[0515] The following describes possible hardware configurations for the control device.
[0516] Figure 41 is a schematic diagram of a possible hardware configuration of a control device according to an embodiment of the present application. As shown in Figure 41, the control device 100 may include a processor 110, a communication interface 120, a user input / output interface 130, a memory 140, and a power supply 150.
[0517] In some embodiments, the control device 100 can receive user input operation instructions through the user input / output interface 130, convert the operation instructions into instructions that the display device 200 can recognize and respond to, and send them to the display device 200 to implement the audio broadcasting method provided in this application. In other words, the control device 100 serves as a bridge for interaction between the user and the display device 200.
[0518] The following describes the possible hardware configurations of Bluetooth speakers.
[0519] Figure 42 is a schematic diagram of a possible hardware configuration of a Bluetooth speaker according to an embodiment of the present application. As shown in Figure 42, in some embodiments, the Bluetooth speaker 600 may include: a processor 610, a communication device 620, a user input / output interface 630, a memory 640, and a power supply 650.
[0520] The communication device 620 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, an antenna, or alternative modules. The user input / output interface 630 includes at least one of a speaker, a microphone, a touchpad, an indicator light, a button, or alternative modules. In some embodiments, the Bluetooth speaker 600 can receive the audio to be broadcasted from the display device 200 via the communication device 620, thereby implementing the audio broadcasting method provided herein.
[0521] The following describes possible hardware configurations for audio receiving devices.
[0522] FIG11 is a schematic diagram of a possible hardware configuration of an audio receiving device according to an embodiment of the present application.
[0523] In some embodiments, the audio receiving device 500 can use the broadcast assistant in the display device 200 through the communication device 520 to scan the audio in different languages broadcast by the display device 200 and select the audio to be listened to.
[0524] The above is an introduction to the hardware configuration of the devices that may be involved in this application.
[0525] As previously mentioned, the display system may include at least one display device, each of which corresponds to at least one Bluetooth device. The Bluetooth device may support the LE Audio protocol, allowing each display device to simultaneously broadcast audio to multiple audio receiving devices within the Bluetooth signal coverage area through the corresponding at least one Bluetooth device.
[0526] The following describes a possible architecture of the display system.
[0527] Architecture 1: As shown in Figure 43a, the display system may include a display device with a built-in Bluetooth module that supports LE Audio. In this architecture, the display device can broadcast audio in different languages through its built-in Bluetooth module based on user operations.
[0528] Architecture 2: As shown in Figure 43b, the display system may include a display device and a Bluetooth speaker that supports LE Audio. The display device and the Bluetooth speaker are connected via a wired or wireless connection. In this architecture, the display device can send the audio to be broadcast to the Bluetooth speaker based on user input, enabling audio broadcasting in different languages through the Bluetooth speaker.
[0529] Architecture 3: As shown in Figure 44a, the display system can include a display device and multiple Bluetooth speakers that support LE Audio. Figure 44a is a schematic diagram using three Bluetooth speakers as an example.
[0530] The display device itself does not have a Bluetooth module, or has a Bluetooth module but does not support the LE Audio protocol. In addition, different Bluetooth speakers have different signal coverage ranges, or at least part of their signal coverage ranges are different.
[0531] Under this architecture, the display device can broadcast audio in different languages through multiple Bluetooth speakers that support LE Audio based on user operations.
[0532] When two adjacent Bluetooth speakers are configured to have overlapping signal coverage, the display device can control the Bluetooth speakers to broadcast audio synchronously. That is, each Bluetooth speaker broadcasts the same audio track using the same broadcast channel, or in other words, using the same BIS for broadcasting the same audio track.
[0533] In this way, the mobile audio receiving device can continue to receive the broadcast audio without interruption of broadcast reception due to being out of signal coverage.
[0534] Architecture 4: As shown in Figure 44b, the display system can include a display device and multiple Bluetooth speakers that support LE Audio. Section 8b shows a diagram using three Bluetooth speakers as an example.
[0535] The display device has a built-in Bluetooth module that supports LE Audio. In addition, the Bluetooth module has different signal coverage ranges from multiple Bluetooth speakers, or at least part of the signal coverage ranges are different.
[0536] Under this architecture, the display device can broadcast audio in different languages based on user operations through its built-in Bluetooth module and multiple Bluetooth speakers that support LE Audio.
[0537] When the Bluetooth module and the multiple Bluetooth speakers have at least partial signal coverage different from each other, the display device can control the Bluetooth module to broadcast audio synchronously with the multiple Bluetooth speakers. That is, the Bluetooth module and the multiple Bluetooth speakers use the same broadcast channel to broadcast the same audio track, or in other words, use the same BIS to broadcast the same audio track.
[0538] Architecture 5: As shown in Figure 45a, the display system may include multiple display devices. Each display device has a built-in Bluetooth module. The Bluetooth modules of the multiple display devices may have different signal coverage ranges, or at least partially different signal coverage ranges. Figure 45a is a schematic diagram using four display devices as an example.
[0539] Under this architecture, one of the multiple display devices is the control end of the display system, which is used to control the multiple display devices to realize the function of synchronous broadcasting, that is, the multiple display devices use the same broadcast channel to broadcast the same audio track, or in other words, the BIS used to broadcast the same audio track is the same.
[0540] Taking FIG. 45 a as an example, in addition to the function of broadcasting audio, display device 1 also has the function of synchronously controlling itself and the synchronous broadcasting of the other three display devices.
[0541] Architecture 6: As shown in Figure 46b, the display system may include multiple display devices and a control terminal. Each display device has a built-in Bluetooth module. The Bluetooth modules in these display devices may have different signal coverage ranges, or at least partially different signal coverage ranges. Section 9b shows a schematic diagram using three display devices as an example.
[0542] Under this architecture, the control end is connected to each display device by wire or wirelessly, and is used to control the multiple display devices to realize the function of synchronous broadcasting. The multiple display devices use the same broadcast channel to broadcast the same audio track, or in other words, the BIS used to broadcast the same audio track is the same.
[0543] The control end may be, for example, any electronic device with a control function, such as a control terminal, a server, etc.
[0544] Architecture 7: As shown in Figure 46a, the display system may include multiple display devices and at least one Bluetooth speaker connected to each display device. The display devices themselves may not have Bluetooth modules, or, if they have Bluetooth modules, they may not support the LE Audio protocol. Furthermore, the Bluetooth speakers connected to the multiple display devices may have different signal coverage, or at least partially different signal coverage. Figure 46a is a schematic diagram using three display devices, each connected to two Bluetooth speakers, as an example.
[0545] Under this architecture, one of the multiple display devices is the control end of the display system, which is used to control the multiple display devices to realize the function of synchronous broadcasting, that is, the multiple display devices use the same broadcast channel to broadcast the same audio track through the connected Bluetooth speakers, or in other words, the BIS used to broadcast the same audio track is the same.
[0546] Taking FIG. 46 a as an example, in addition to the function of broadcasting audio, display device 1 also has the function of synchronously controlling itself and the synchronous broadcasting of the other three display devices.
[0547] Architecture 8: As shown in Figure 46b, the display system may include multiple display devices, at least one Bluetooth speaker connected to each display device, and a control terminal. The display devices themselves may not have Bluetooth modules, or, if they do, may have Bluetooth modules but not support the LE Audio protocol. Furthermore, the Bluetooth speakers connected to the multiple display devices may have different signal coverage ranges, or at least partially different signal coverage ranges. Figure 46b is a schematic diagram using two display devices as an example.
[0548] Under this architecture, the control end is connected to each display device by wire or wirelessly, and is used to control the multiple display devices to realize the function of synchronous broadcasting. The multiple display devices use the same broadcast channel to broadcast the same audio track, or in other words, the BIS used to broadcast the same audio track is the same.
[0549] Architecture 9. As shown in Figure 46c, the display system may include multiple display devices. Some display devices have a built-in Bluetooth module that supports the LE Audio protocol; some display devices, in addition to having a built-in Bluetooth module that supports the LE Audio protocol, are also connected to at least one external Bluetooth speaker that supports the LE Audio protocol; and some display devices are connected to at least one external Bluetooth speaker that supports the LE Audio protocol, but the display device itself does not have a Bluetooth module, or has a Bluetooth module that does not support the LE Audio protocol (the Bluetooth module that does not support the LE Audio protocol is not shown in the figure).
[0550] In this architecture, one of the multiple display devices acts as the controller for the display system, controlling the multiple display devices to achieve synchronized broadcasting. This means that the multiple display devices use the same broadcast channel, or in other words, the same BIS, to broadcast the same audio track through their connected Bluetooth speakers. Figure 46c shows an example of three display devices. Display device 1 acts as the controller for the display system.
[0551] Architecture 10. As shown in Figure 46d, a display system may include multiple display devices and a control terminal. Some display devices include a built-in Bluetooth module that supports the LE Audio protocol; some display devices include both a built-in Bluetooth module that supports the LE Audio protocol and at least one external Bluetooth speaker that supports the LE Audio protocol; and some display devices include at least one external Bluetooth speaker that supports the LE Audio protocol but lack a Bluetooth module themselves, or have a Bluetooth module that does not support the LE Audio protocol.
[0552] In this architecture, the control terminal is connected to each display device via a wired or wireless connection, controlling the multiple display devices to achieve synchronized broadcasting. Multiple display devices broadcast the same audio track using the same broadcast channel, or in other words, using the same BIS. Figure 46d shows a schematic diagram using three display devices as an example.
[0553] The following describes how to implement audio broadcasting based on the LE Audio protocol, using the architecture of Figure 43a. Specifically, the following implementation example illustrates a display system that includes a display device with a built-in Bluetooth module supporting the LE Audio protocol. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0554] FIG47 is a flow chart of an audio broadcasting method according to an embodiment of the present application. As shown in FIG47 , the method may include the following steps:
[0555] S4701. Obtain the audio to be played.
[0556] In the embodiment of the present application, the audio to be played may be pre-stored in the display device, or may be obtained by the display device according to preset conditions, for example, downloaded from a multimedia server according to a specific address. The audio to be played may be audio from a separate audio file or audio from a video file.
[0557] S4702. Acquire multiple target audio tracks of the audio; wherein one target audio track includes audio in one language.
[0558] In the embodiments of the present application, an audio track can be used to indicate the audio information that can be included in the audio to be played. Different audio tracks correspond to different audio information. For example, one audio track corresponds to audio in one language, or one audio track corresponds to audio in one language and one channel combination. In other words, the number of audio tracks in an audio can be determined based on the type of audio information that can be included in the audio.
[0559] For example, if an audio file is in multiple languages, such as Chinese, English, and French, the audio file may include three tracks, each of which may include one language. The target track may be the track to be broadcasted, selected from all the tracks of the audio file according to a preset rule. Alternatively, if each language has two channel combinations, one with two channels and one with four channels, the audio file may include six tracks. Taking Chinese as an example, one track of the audio file may include two channels of Chinese audio, and the other track may include four channels of Chinese audio.
[0560] In some implementations, the target audio track may be determined by the display device according to a user's selection instruction.
[0561] For example, Figure 48 is a schematic diagram taking the control device as a remote control as an example. As shown in Figure 48, when the display device obtains the audio to be played, it can parse the audio to be played, obtain all the audio tracks of the audio, and display them in the audio track menu 1201 of the display device.
[0562] If the display device receives a trigger command from the user via the remote control for the "Set Broadcast" control in the track menu 1201, the display device displays a track selection interface 1202. Track selection interface 1202 displays all the audio tracks for the audio, with a checkbox in front of each track. In response to the user selecting one or more checkboxes via the remote control, the display device can mark the corresponding tracks as selected. The selected tracks are the target tracks selected by the user.
[0563] If the display device receives a trigger instruction from the user on the "Confirm" control in the track selection interface 1202 via the remote control, the display device uses the multiple tracks selected by the user as the multiple target tracks.
[0564] In some embodiments, the target audio track can be determined by the display device based on the language preference of the audio receiving device within the coverage range of the corresponding Bluetooth device. For example, the audio receiving device is a Bluetooth headset:
[0565] Exemplarily, the display device may include a broadcast assistant (commander), and the Bluetooth headset may use the broadcast assistant in the display device to scan the audio information broadcast by the display device and select one of the broadcast audio tracks to listen to.
[0566] The Broadcast Assistant can record each Bluetooth headset that has used the display device broadcast assistant and obtain information about each Bluetooth headset, such as the language preference and reception time period of each Bluetooth headset.
[0567] The display device can determine multiple target audio tracks from all audio tracks by obtaining the language preferences of each Bluetooth headset recorded in the broadcast assistant. For example, if the top five language preferences of each Bluetooth headset recorded in the broadcast assistant are Chinese, English, Japanese, French, and German, and the audio can include all audio tracks in Chinese, English, French, German, and Korean, the display device can select the audio tracks corresponding to Chinese, English, French, and German as target audio tracks.
[0568] In some embodiments, the language preference of each Bluetooth headset may further include a channel preference for the corresponding language. For example, the top five language preferences of each Bluetooth headset recorded in the broadcast assistant are: 2-channel Chinese, 4-channel Chinese, 2-channel English, 4-channel Japanese, and 6-channel French. The audio may include all audio tracks corresponding to 2-channel Chinese, 6-channel Chinese, 2-channel English, 6-channel French, 4-channel German, and 4-channel Korean. The display device may select the audio tracks corresponding to 2-channel Chinese, 2-channel English, and 6-channel French as target audio tracks.
[0569] S4703: Play the audio, and use at least one corresponding Bluetooth device to synchronously broadcast the multiple target audio tracks.
[0570] In an embodiment of the present application, after the display device determines each target audio track that needs to be broadcast, the display device can play the audio and send each target audio track to the Bluetooth device at the same time, so that the Bluetooth device can synchronously broadcast each target audio track according to the LE Audio protocol. Among them, the display device uses the Bluetooth device to synchronously broadcast the multiple target audio tracks, which can be implemented by the audio service Audio Server service layer in the audio service framework in the display device. The Bluetooth device in the embodiment of the present application is a built-in Bluetooth module that supports the LE Audio protocol in the display device, and will still be described as a Bluetooth device in the following.
[0571] For example, FIG49 is a schematic diagram of the structure of the Audio Server service layer according to an embodiment of the present application. As shown in FIG49 , it may include: an audio policy execution program Audio Flinger and an audio broadcast program (Audio hardware abstraction layer, Audio HAL). Among them, Audio Flinger is used to change the audio channel of the display device, for example, changing the audio channel of the display device from the local speaker channel to the Bluetooth channel. Audio HAL is used to send the audio track information to be broadcast to the audio channel of the Bluetooth device.
[0572] After the Audio Flinger in the Audio Server service layer obtains each target audio track through the audio service framework, it sets the audio channel of the display device to the Bluetooth channel and sends each target audio track to the audio broadcast program Audio HAL. After receiving each target audio track, the Audio HAL can send each target audio track to the broadcast Audio HAL of the Bluetooth device through the audio service framework.
[0573] After receiving each target audio track, the Bluetooth device's Broadcast Audio HAL forwards it to the Bluetooth device's protocol stack. The protocol stack encodes each received target audio track using LC-3 encoding and sends it to the Bluetooth device's hardware control. The Bluetooth device's hardware control then broadcasts each target audio track synchronously according to the LE Audio protocol. Specifically, each target audio track is broadcast as a BIS.
[0574] In some embodiments, when broadcasting multiple target audio tracks, the display device may not support the broadcasting of multiple audio tracks due to limitations of the corresponding Bluetooth device protocol stack. Therefore, the display device can convert the multiple target audio tracks into multiple channels of one audio track for broadcasting.
[0575] Exemplarily, a virtual audio track is constructed; multiple target audio tracks of the audio are converted into audio of multiple channels of the virtual audio track; and the audio of multiple channels of the virtual audio track are synchronously broadcast using at least one corresponding Bluetooth device, wherein one channel of audio corresponds to one broadcast isochronous stream (BIS).
[0576] For example, if the display device obtains multiple target audio tracks for playback and determines that the corresponding Bluetooth device only supports receiving one audio track, the display device can construct a virtual audio track and use audio processing software, such as MM player, to synthesize the multiple target audio tracks into multiple channels of the virtual audio track. Each channel can be a target audio track corresponding to a language.
[0577] When the display device converts multiple target audio tracks into virtual audio tracks, it can send the virtual audio tracks to a Bluetooth device, which then synchronously broadcasts the multiple channels of audio from the virtual audio tracks according to the LE Audio protocol. Each channel of audio corresponds to a BIS. The specific implementation of broadcasting multiple channels of audio from a virtual audio track using a Bluetooth device is similar to the implementation of broadcasting individual target audio tracks described above and will not be repeated here.
[0578] In some embodiments, when the display device converts multiple target audio tracks into audio of multiple channels of a virtual audio track, one target audio track may be converted into audio of one channel of the virtual audio track; or one target audio track may be converted into audio of a preset number of channels of the virtual audio track.
[0579] For example, if the audio in the target audio track is mono audio, the display device can convert the target audio track into audio of one channel of the virtual audio track. If the audio in the target audio track is multi-channel audio, the left channel audio in the target audio track can be converted into audio of one channel of the virtual audio track according to preset conditions, for example, giving priority to the left channel.
[0580] Alternatively, if the audio in the target audio track is mono audio, the display device may mix the audio to obtain multi-channel audio with a preset number of channels, and convert the multi-channel audio into audio with the preset number of channels for the virtual audio track. For example, the mono audio may be converted into 4-channel audio, and then the 4-channel audio may be converted into 4-channel audio for the virtual audio track, where each channel of audio corresponds to a channel.
[0581] If the audio in the target audio track is multi-channel audio, for example, 4-channel audio, the display device can convert the target audio track into the four channels of the virtual audio track. That is, each channel of the virtual audio track corresponds to a channel of the target audio track. Alternatively, based on preset conditions, the target audio track can be converted into audio with a preset number of channels of the virtual audio track. For example, if the target audio track is 4-channel audio and the preset number of channels that the virtual audio track converts into one target audio track is 2, the display device can select some of the channels in the target audio track for conversion, for example, prioritizing the conversion of the left and right channels.
[0582] In some embodiments, when determining multiple target audio tracks, the display device may obtain whether the corresponding Bluetooth device supports multi-track broadcasting. If the Bluetooth device supports multi-track broadcasting, the display device may send the multiple target audio tracks to the Bluetooth device, so that the Bluetooth device synchronously broadcasts each target audio track according to the LE Audio protocol. If the Bluetooth device does not support multi-track broadcasting, the display device may convert the multiple target audio tracks into multiple channels of virtual audio tracks and send the virtual audio tracks to the Bluetooth device, so that the Bluetooth device synchronously broadcasts the audio in each channel of the virtual audio track according to the LE Audio protocol.
[0583] The audio broadcasting method provided in the embodiment of the present application is that the display device obtains the target audio track that needs to be broadcast in the audio to be played, and sends the target audio track to the Bluetooth device, so that the Bluetooth device uses the LE Audio protocol to synchronously broadcast multiple target audio tracks. The efficiency of the display device in broadcasting audio can be improved. When the Bluetooth device does not support the broadcasting of multiple target audio tracks, the multiple target audio tracks are converted into multiple channels of virtual audio tracks to achieve the broadcasting of multiple target audio tracks. The use scenarios of display devices for multi-track broadcasting are expanded.
[0584] In some implementations, the display device may further change the number of broadcast tracks during the broadcast of the target track.
[0585] For example, the number of target audio tracks for simultaneous broadcasting can be increased or decreased based on the user's adjustment instructions or the language preference of Bluetooth headsets within the coverage area. For example, the display device obtains the user's instructions through interaction with the control device:
[0586] As shown in Figure 50, during the broadcast of the target audio track, the display device increases or decreases the number of audio tracks to be broadcast simultaneously according to the user's adjustment instruction. Figure 50 is a schematic diagram taking the control device as a remote controller as an example.
[0587] If the display device receives a trigger command from the user via the remote control for the "Set Broadcast" control in the track menu 1401, the display device displays a track adjustment interface 1402. Track adjustment interface 1402 may include all tracks of the current audio, a "Modify Broadcast" control, and a "Cancel Broadcast" control. Checkboxes are displayed in front of all tracks of the audio, and the checkboxes of the currently broadcasting tracks are selected.
[0588] If the display device receives a trigger command from the user on the "Modify Broadcast" control via the remote control, the display device displays a track selection interface 1403. The user can use the remote control to add or remove tracks to be broadcast in the track selection interface 1403. In other words, in response to the instruction on one or more checkboxes, the display device can mark the tracks corresponding to the unchecked checkboxes as selected (adding the target track) or set the checked checkboxes to unchecked (removing the target track).
[0589] If the display device receives a trigger instruction from the user on the "Confirm" control in the track selection interface 1403 via the remote control, the display device will determine whether to increase or decrease the number of broadcast tracks based on the target track selected by the user.
[0590] When the number of target audio tracks is increased, the display device may transmit the increased target audio tracks to the Bluetooth device, so that the Bluetooth device broadcasts the increased target audio tracks in a new BIS.
[0591] When reducing the number of target tracks, the display device can stop sending the target tracks to be broadcast to the Bluetooth device, thereby reducing the number of broadcast tracks. Alternatively, the display device can send mute data to the Bluetooth device so that the Bluetooth device broadcasts the mute data in the BIS corresponding to the track, thereby reducing the number of broadcast tracks.
[0592] In some embodiments, when broadcasting multiple target audio tracks, the display device may send the multiple target audio tracks and a preset number of audio tracks without audio information to the Bluetooth device, so that the Bluetooth headset can simultaneously broadcast the multiple target audio tracks and the preset number of audio tracks without audio information. When the user adds a target audio track, the Bluetooth device may directly broadcast the added target audio track in the audio tracks without audio information, thereby improving the efficiency of adding audio tracks.
[0593] In some embodiments, when a user adds a target track, the display device can reconfigure the track information to be broadcast so that the Bluetooth device broadcasts the configured target track. The process of reconfiguring the target tracks to be broadcast is similar to the process of initially broadcasting multiple target tracks and will not be repeated here.
[0594] In some embodiments, if the display device is provided with a broadcast assistant, the display device may also increase or decrease the number of simultaneously broadcast target audio tracks according to the language preferences of audio receiving devices within the coverage area during the broadcast of the target audio tracks.
[0595] For example, the display device can determine the language preferences of each Bluetooth headset within the coverage range of the Bluetooth device based on the broadcast assistant. For example, if the top five language preferences of each Bluetooth headset recorded in the broadcast assistant are Chinese, English, Japanese, French, and German, the target audio track being broadcast by the display device corresponds to Chinese, English, French, and German. If the audio language includes Japanese, the display device can add the corresponding Japanese audio track as the target audio track for broadcast.
[0596] If one or more languages in the currently broadcast target audio track are not among the preferred languages of each Bluetooth headset, the display device can cancel the broadcast of the target audio track corresponding to that language. Alternatively, if a target audio track currently being broadcast has a language preferred by a small number of Bluetooth headsets, the display device can cancel the broadcast of the target audio track corresponding to that language to reduce power consumption.
[0597] In some embodiments, the display device may further adjust the number of channels of each audio track according to a user's channel adjustment instruction or the channel preference corresponding to the language of each Bluetooth headset to adjust the number of target audio tracks for broadcasting.
[0598] For example, if the language corresponding to the target audio track being broadcast by the display device is Chinese 2-channel, the user's channel adjustment instruction is to adjust it to Chinese 4-channel, or the language preference of each Bluetooth headset can include Chinese 4-channel, or, before the broadcast, the language corresponding to a certain audio track is Chinese 2-channel, and the user's target audio track is Chinese 4-channel, then the display device can remix the language of Chinese 2-channel, convert Chinese 2-channel into Chinese 4-channel, or add a language of Chinese 4-channel, and broadcast the target audio track corresponding to the language of Chinese 4-channel.
[0599] Among them, the specific implementation methods of adding target audio tracks to be broadcasted or canceling target audio tracks to be broadcasted can be referred to the implementation method of increasing or decreasing the number of target audio tracks for simultaneous broadcasting according to user adjustment instructions, which will not be repeated here.
[0600] In some implementations, the display device may also increase or decrease the number of channels of the virtual audio track being broadcast simultaneously while broadcasting the audio of multiple channels of the virtual audio track.
[0601] For example, please continue to refer to Figures 48 and 50. When the display device obtains the audio to be played, it can display all the audio tracks of the audio in the audio track menu. When the display device receives the target audio track to be broadcast selected by the user through the remote control, it converts the target audio track selected by the user into multiple channels of audio of a virtual audio track, and then uses the Bluetooth device to synchronously broadcast the multiple channels of audio of the virtual audio track.
[0602] If, during a broadcast, the display device receives a user's remote control command to adjust the number of currently broadcast tracks, it can synchronize the channels of the corresponding virtual tracks based on the user's addition or subtraction of the target tracks. Alternatively, it can synchronize the channels of the corresponding virtual tracks based on the language preferences of Bluetooth headsets within coverage. The specific implementation of this is similar to the implementation for increasing or decreasing the number of simultaneously broadcast tracks and will not be further elaborated here.
[0603] Increasing or decreasing the number of channels in a virtual audio track is similar to increasing or decreasing the number of target audio tracks for simultaneous broadcasts in the display device's user interface. The user only needs to adjust the target audio track, and the display device can complete the conversion of the target audio track to the virtual audio track channels in the background.
[0604] In an embodiment of the present application, by adjusting the number of target audio tracks for simultaneous broadcasting, or adjusting the number of channels of virtual audio tracks for simultaneous broadcasting, through user instructions or the language preference of voice receiving devices within the coverage area, the flexibility of simultaneous broadcasting of display devices can be improved, thereby providing a better broadcasting experience for users receiving the broadcast.
[0605] In some embodiments, after the display device obtains the target audio track and before broadcasting, the identifier of the target audio track can be modified according to user needs. For example, the display device obtains the user's instructions through interaction with the control device:
[0606] For example, when the display device responds to the user triggering the "Confirm" control shown in FIG49 via the remote control, the interface shown in FIG51a may be displayed, which may include a track to be broadcast interface 1501 and a first interface 1502. The track interface 1501 may include a default name for each target track and a "Modify Name" control.
[0607] If the display device receives a user trigger on the "Switch" control in the first interface 1502 via the remote control, it broadcasts the target tracks in the current track interface 1501. If the display device receives a user trigger on the "Cancel" control in the first interface 1502, it returns to the target track selection interface. FIG51 is a schematic diagram illustrating an example in which the control device is a remote control.
[0608] If the user triggers any "Modify Name" control in the audio track interface 1501 through the remote control, the display device enters the editing state and displays the interface shown in b in Figure 51, which may include a name modification box 1503 and a soft keyboard 1504.
[0609] When the display device receives the modified information input by the user on the soft keyboard 1504 via the remote contr...
Claims
1. A display device, comprising: monitor; Bluetooth module; Sound output device; a memory configured to store computer instructions and data associated with a display device; At least one processor is connected to the Bluetooth module, and the at least one processor is configured to execute computer instructions to enable the display device to execute: 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 the audio data of the language corresponding to the audio track; If it is determined that the number of audio tracks of the target audio and video resources 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 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; 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.
2. The display device according to claim 1, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: Before sending out a plurality of Bluetooth broadcasts based on the at least two target audio tracks, the method further includes: The Bluetooth module is controlled to switch the current audio channel to the Bluetooth broadcast channel.
3. The display device of claim 2, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: The method further comprises, after controlling the sound output device to mute when receiving an audio broadcast triggering operation for at least two target audio tracks among the audio tracks of the target audio and video resources, and before sending multiple Bluetooth broadcasts based on the at least two target audio tracks: Control the player to pause playing the target audio and video resource, and obtain the playing progress information of the target audio and video resource; When it is determined that the Bluetooth broadcast channel switch 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 send multiple Bluetooth broadcasts based on the decoded audio data.
4. The display device of claim 2, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: The method further comprises, after controlling the sound output device to mute when receiving an audio broadcast triggering operation for at least two target audio tracks among the audio tracks of the target audio and video resources, and before sending multiple Bluetooth broadcasts based on the at least two target audio tracks: Control the player to pause playing the target audio and video resource, and obtain the playing progress information of the target audio and video resource; When it is determined that the Bluetooth broadcast channel switch is successful, 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 send multiple Bluetooth broadcasts based on the decoded audio data.
5. The display device of claim 1 , wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: If it is determined that the number of audio tracks of the target audio and video resources is not less than a 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, controlling the sound output device to mute, and sending multiple Bluetooth broadcasts based on the at least two target audio tracks, including: 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, controlling the display to display a multi-audio track sharing control; In response to a trigger operation on the multi-track sharing control, displaying identifiers of at least two target audio tracks in the audio tracks of the target audio and video resource; In response to the audio broadcast triggering operation for the at least two target audio tracks, the sound output device is controlled to be muted, and a plurality of Bluetooth broadcasts are issued based on the at least two target audio tracks.
6. The display device of claim 5, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: The step of displaying identifications of at least two target audio tracks in the audio tracks of the target audio and video resources in response to a trigger operation on the multi-audio track sharing control comprises: In response to a trigger operation on the multi-track sharing control, determining whether the number of audio tracks of the target audio and video resource is greater than the preset number threshold; If it is determined that the number of the audio tracks is greater than the preset number threshold, displaying the identifiers of the audio tracks of the target audio and video resources; Receiving at least two target audio tracks selected from the audio tracks of the target audio and video resources; In response to an audio broadcast triggering operation for the at least two target audio tracks, the sound output device is controlled to be muted, and a plurality of Bluetooth broadcasts are issued based on the at least two target audio tracks.
7. The display device of claim 1, wherein the at least one processor is further configured to execute the computer instructions to cause the display device to perform: After sending out a plurality of Bluetooth broadcasts based on the at least two target audio tracks, the method further includes: Control the display to display a device management page, and display the connected LE audio device on the device management page; Receive a target audio track configured for a first LE audio device on the device management page, and send broadcast source information corresponding to the 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.
8. The display device of claim 7, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: After controlling the display to display the device management page, the method further includes: Control the Bluetooth module to scan for devices, and control the display to display the scanned LE audio devices on the device management page; In response to a connection request for a second LE audio device among the scanned LE audio devices, establishing a connection with the second LE audio device; Accordingly, displaying the connected LE audio device on the device management page includes: The connected second LE audio device is displayed on the device management page.
9. The display device of claim 2, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: In response to a cancel sharing trigger operation for the at least two target audio tracks, the sound output device is controlled to play audio data corresponding to the first audio track of the target audio and video resource according to a current playback progress.
10. The display device of claim 2, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: In response to the cancel sharing trigger operation for the at least two target audio tracks, determining whether there is a currently connected target Bluetooth audio device; 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 the second audio track of the target audio and video resource to the target Bluetooth audio device; If there is no connected target Bluetooth audio device, 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.
11. The display device according to claim 3 or 4, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: The sending out multiple Bluetooth broadcasts based on the at least two target audio tracks includes: The Bluetooth protocol stack is controlled 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 to issue a Bluetooth broadcast based on the BIS streams.
12. The display device according to claim 3 or 4, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: Before sending the decoded audio data to the Bluetooth protocol stack, the method further includes: 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 target track corresponding to the decoded audio data, and the target header information is used to determine the BIS stream corresponding to the target track; Accordingly, the decoding of the audio data is sent to the Bluetooth protocol stack, including: The processed audio data is sent to the Bluetooth protocol stack.
13. The display device of claim 12, wherein the at least one processor is further configured to execute the computer instructions so that the display device performs: Before sending out a plurality of Bluetooth broadcasts based on the at least two target audio tracks, the method further includes: Setting corresponding BIS streams for the at least two target audio tracks respectively; Accordingly, the sending of multiple Bluetooth broadcasts based on the at least two target audio tracks includes: Control the Bluetooth protocol stack to determine the corresponding BIS stream according to the audio track information encapsulated in the target header information of the received processed audio data, encapsulate the processed audio data into the BIS stream, and issue a Bluetooth broadcast based on the BIS stream.
14. An audio broadcasting method, comprising: 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 the audio data of the language corresponding to the audio track; If it is determined that the number of audio tracks of the target audio and video resources is not less than a preset threshold number, 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 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.
Citation Information
Patent Citations
Video playing method and device and playing terminal
CN103916692A
Method and device for editing and playing audio-video file, and broadcasting system
CN103947188A
Audio processing method and device
CN108153508A
Screen projection method and device and storage medium
CN114513645A
Audio stream playing method and device, mobile terminal, Bluetooth headset and storage medium
CN115002273A
