Multi-track audio distribution method and system of set top box
The multi-track audio distribution method and system for set-top boxes addresses the issue of inconsistent audio playback by identifying and matching audio content to the capabilities of connected devices, enhancing audio quality and user experience.
Patent Information
- Application Number
- CN202411524514.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-03
AI Technical Summary
Set-top boxes cannot identify the audio playback capabilities of connected devices, leading to suboptimal audio output and inconsistent user experiences across multiple playback devices.
A multi-track audio distribution method and system that identifies the audio playback capabilities of connected devices through HDMI and Bluetooth interfaces, updates a device information table, and distributes audio files or streams accordingly to maximize the capabilities of each device.
Enhances audio quality by matching audio content to the capabilities of each playback device, improving user experience and optimizing bandwidth utilization.
Smart Images

Figure CN119255038A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of audio processing, and in particular relates to a multi-track audio distribution method and system for a set-top box. Background Art
[0002] As a kind of converter, the set-top box is used to receive digital broadcast signals transmitted through wired and wireless transmission channels, and convert the received digital broadcast signals into a displayable format through image output devices such as televisions. Set-top boxes are devices without speakers, and audio needs to be played through the playback device connected to it. However, the audio output capabilities of other devices connected to the set-top box are different. For example, the audio output capabilities of the TV connected to the set-top box through HDMI, the speakers connected through Bluetooth, and the audio connected through SPD IF are different. In addition, different brands and models of TVs, speakers, and audio systems support different numbers of channels under the same connection method. In the audio and video production stage, the existing technology can encode the audio and video of these different channels into different audio tracks together, or they can be independent as different audio files and sent to the set-top box through the network transmission protocol. At present, most of the devices with audio playback capabilities are connected to the set-top box through HDMI and Bluetooth. In the HDMI and Bluetooth standard protocols, there is an interaction of device model information, which can obtain the device type and name. The HDMI protocol has a description of the maximum number of audio streams received by the audio playback device in the Audio Data Block field, but does not describe its playback capability. Since the set-top box cannot determine the audio playback capability of the device connected to it, the set-top box usually downloads the lowest level of 2-channel audio from the service platform and passes it to the subsequent audio playback device to adapt to the most types. For this reason, the set-top box has lost high-quality audio from the source, reducing the ability of the high-end device connected to it to play high-end audio. In addition, due to the different brands of devices that can play audio in the user's home, the audio playback capability is also uneven. In the application scenario where there are many playback devices connected to the set-top box, the set-top box cannot provide the highest-end audio playback solution for each connected device according to the user's home device connection situation, and the user experience is not good. Summary of the invention
[0003] To solve the above problems, the present invention provides a multi-track audio distribution method and system for a set-top box, so as to solve the problem that the existing set-top box cannot identify the audio playback capability of the connected audio device, and cannot provide the highest-end audio playback solution for each connected device in the application scenario of connecting multiple playback devices, resulting in a poor user experience.
[0004] A multi-track audio distribution method for a set-top box, comprising:
[0005] Get the device information and number of channels of the currently connected device;
[0006] Analyze the device with the greatest audio playback capability among the currently connected devices based on device information and the number of channels;
[0007] Get the audio file or audio stream corresponding to the connected device;
[0008] Determine whether the connected device supports decoding, and send the audio file or audio stream to the connected device according to the determination result.
[0009] According to a specific embodiment of the present invention, obtaining device information and the number of channels of the currently connected device includes:
[0010] Obtain the device information of the currently connected device through the HDMI interface or Bluetooth interface, the device information includes the device model and device type;
[0011] Read the device channel database, and query the channel number corresponding to the device information from the device channel database.
[0012] According to a specific embodiment of the present invention, the connected device with the largest audio playback capability among the currently connected devices analyzed based on the device information and the number of channels includes:
[0013] Update the currently connected device information table based on the device information and the number of channels;
[0014] Analyze the connected device with the greatest audio playback capability in the current connected device information table;
[0015] The currently connected device information table includes the device model, device type, device interface and audio decoding identifier of the currently connected device, and the device interface includes a Bluetooth interface and / or an HDMI interface.
[0016] According to a specific embodiment of the present invention, updating the currently connected device information table based on the device information and the number of channels further includes:
[0017] Determine whether the number of channels of the currently connected device is stored in the connection device information table, and if so, update the currently connected device information table;
[0018] If not stored, the device information of the currently connected device is added to the connection device information table, and the currently connected device information table and the device channel database are updated.
[0019] According to a specific embodiment of the present invention, the connection device information table includes the device model, device type, device interface and audio decoding identifier of the connection device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
[0020] According to a specific embodiment of the present invention, analyzing the connection device with the largest audio playback capability in the current connection device information table includes:
[0021] The number of channels of each connected device in the current connected device information table is analyzed and compared, and the connected device corresponding to the maximum number of channels is used as the connected device with the greatest audio playback capability.
[0022] According to a specific embodiment of the present invention, obtaining an audio file or an audio stream corresponding to a connected device includes:
[0023] Obtain the media description file or media stream of the online video through the streaming protocol;
[0024] Determine whether there are audio files with multiple audio tracks or mixed audio and video data streams in the media description file or media stream.
[0025] If there are multiple audio files with multiple tracks, then download the audio files corresponding to the connected device according to the current connected device information table;
[0026] If there is an audio and video mixed data stream, the audio and video mixed data stream is decoded, and it is determined whether there are multiple audio streams of different channels in the decoded audio and video mixed data stream. If so, the audio stream corresponding to the connected device is downloaded according to the current connected device information table.
[0027] According to a specific embodiment of the present invention, determining whether the connected device supports decoding, and sending the audio file or the audio stream to the connected device according to the determination result includes:
[0028] Get the audio decoding identifier of the connected device from the current connected device information table, and determine whether the connected device supports decoding based on the audio decoding identifier.
[0029] If decoding is supported, the device model, device type and device interface of the connected device are obtained from the connected device information table, and the audio file is sent to the connected device through the device interface.
[0030] If decoding is not supported, the decoded audio stream is sent to the connected device through the device interface.
[0031] A multi-track audio distribution system for a set-top box, comprising:
[0032] The information collection module is used to obtain the device information and number of channels of the currently connected device. The device information includes the device model and device type;
[0033] The streaming media interaction module is used to obtain the audio file or audio stream corresponding to the currently connected device;
[0034] An audio analysis module, used to analyze the connected device with the greatest audio playback capability among the currently connected devices based on device information and the number of channels;
[0035] The decision and distribution module is used to determine whether the currently connected device supports decoding, and send the audio file or audio stream to the connected device with the greatest audio playback capability based on the determination result.
[0036] According to a specific embodiment of the present invention, the system further includes:
[0037] The device channel database is used to store a connection device information table, including the device model, device type, device interface, audio decoding identifier and corresponding number of channels of the connected device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
[0038] Compared with the prior art, the multi-track audio distribution method and system of a set-top box provided by the present invention has the following advantages:
[0039] 1. The present invention obtains the device type and the number of supported channels of the currently connected device, analyzes the connected device with the largest audio playback capability among the currently connected devices, and obtains the audio file corresponding to the current optimal audio playback solution from the content service platform and transmits it to the current optimal playback device. Compared with the prior art that only transmits 2-channel low-specification audio solutions, the present invention can accurately transmit audio files that match the capabilities of the connected audio playback device from the source into the home according to the capabilities of the connected audio playback device, thereby improving the audio specifications and effectively utilizing the bandwidth to avoid transmitting audio specifications that do not match the capabilities of the connected audio playback device.
[0040] 2. The present invention analyzes the audio playback capabilities of different devices, determines the best playback solution, and transmits the corresponding audio file or code stream to the best audio playback device to play the best audio effect, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 The present invention is a flowchart of a method for distributing multi-track audio to a set-top box according to an embodiment of the present invention.
[0043] Figure 2 The present invention is a flowchart of a method for obtaining device information and the number of channels of a currently connected device according to an embodiment of the present invention.
[0044] Figure 3 It is a flow chart of a method for analyzing a connected device with the greatest audio playback capability among currently connected devices provided according to an embodiment of the present invention.
[0045] Figure 4 It is a flow chart of a method for updating the currently connected device information table provided according to an embodiment of the present invention.
[0046] Figure 5 The present invention is a flowchart of a method for obtaining an audio file or an audio stream corresponding to a connected device according to an embodiment of the present invention.
[0047] Figure 6 It is a flow chart of a method for determining whether a connected device supports decoding and sending an audio file or an audio stream to the connected device according to an embodiment of the present invention.
[0048] Figure 7 The present invention is a block diagram of a multi-track audio distribution system for a set-top box provided according to an embodiment of the present invention.
[0049] Figure 8 It is a schematic diagram of a multi-track audio distribution system for a set-top box according to an embodiment of the present invention.
[0050] Reference numerals:
[0051] 01-Device channel database; 02-Information acquisition module; 03-Streaming media interaction module; 04-Audio analysis module; 05-Decision-making and distribution module. DETAILED DESCRIPTION
[0052] In order to make those skilled in the art understand the concept and thought of the present invention more clearly, the present invention is described in detail below in conjunction with specific embodiment.It should be understood that the embodiment provided herein is only a part of all embodiments that the present invention may have.Those skilled in the art, after reading the specification of the application, have the ability to make improvements, transformations, or replacements to part or the whole of the following embodiments, and these improvements, transformations, or replacements are also included in the scope of the present invention.
[0053] In this article, the terms "first", "second" and other similar words are not intended to imply any order, quantity and importance, but are only used to distinguish different elements. In this article, the terms "one", "an" and other similar words are not intended to indicate that there is only one thing, but to indicate that the relevant description is only for one of the things, and the thing may have one or more. In this article, the terms "comprise", "include" and other similar words are intended to indicate logical mutual relations, and cannot be regarded as indicating spatial structural relations. For example, "A includes B" is intended to indicate that B belongs to A logically, but does not mean that B is located inside A in space. In addition, the meanings of the terms "comprise", "include" and other similar words should be regarded as open, rather than closed. For example, "A includes B" is intended to indicate that B belongs to A, but B does not necessarily constitute the whole of A, and A may also include other elements such as C, D, and E.
[0054] In this document, the terms "embodiment", "this embodiment", "one embodiment", and "an embodiment" do not mean that the relevant description is only applicable to a specific embodiment, but rather that the description may also be applicable to one or more other embodiments. Those skilled in the art should understand that in this document, any description of a certain embodiment can be replaced, combined, or combined in other ways with the relevant descriptions in one or more other embodiments, and the new embodiments generated by the replacement, combination, or combination in other ways are easily conceivable by those skilled in the art and fall within the scope of protection of the present invention.
[0055] Example 1
[0056] Additional aspects and advantages of embodiments of the present invention will be described in part in the following description, and will become apparent from the following description, or will be learned through practice of embodiments of the present invention. Figure 1-Figure 6 The embodiment of the present invention provides a multi-track audio distribution method for a set-top box, comprising:
[0057] S1: Get the device information and number of channels of the currently connected device.
[0058] S2: Analyze the connected device with the greatest audio playback capability among the currently connected devices based on the device information and the number of channels.
[0059] S3: Get the audio file or audio stream corresponding to the connected device.
[0060] S4: Determine whether the connected device supports decoding, and send the audio file or audio stream to the connected device according to the determination result.
[0061] A multi-track audio distribution method for a set-top box provided in an embodiment of the present invention is a method for distributing audio to other audio playback devices connected to the set-top box when the set-top box receives online multi-track multi-channel audio. The method is mainly applied to converged terminals, set-top boxes, and other audio playback devices connected to the set-top box. When the set-top box is connected to the audio playback device, the device type can be obtained through Bluetooth or HDMI protocol to remind the user to set the audio capability. After the set-top box is turned on, it identifies the information of the audio playback device connected to itself through Bluetooth or HDMI, and determines the current optimal audio playback solution. Finally, the set-top box obtains the audio file corresponding to the current optimal audio playback solution from the content service platform through the streaming media protocol, and transmits it to the current optimal playback device.
[0062] Specifically, step S1 of obtaining device information and the number of channels of the currently connected device includes:
[0063] S11: Obtain device information of the currently connected device through the HDMI interface or the Bluetooth interface, where the device information includes the device model and device type.
[0064] S12: Read the device channel database, and query the number of channels corresponding to the device information from the device channel database.
[0065] In a specific embodiment of the present invention, when the external connection device is connected to the set-top box via an HDMI interface, the set-top box exchanges data with the ED ID information of the connection device, thereby obtaining the device model and device type of the connection device. When the external connection device is connected to the set-top box via a Bluetooth interface, the set-top box exchanges data with the ACL information and SDP information of the connection device, thereby obtaining the device model and device type of the connection device. The embodiment of the present invention can obtain the device model and device type of the connection device in any of the above two ways.
[0066] In a specific embodiment of the present invention, a device channel database is preset in the device system. A connection device information table is stored in the device channel database. The connection device information table stores the device model, device type, device interface, audio decoding identifier and corresponding number of channels of the connected device. The device model and device type of each connected device are associated with the number of channels supported by the device. Therefore, the number of channels of the connected device can be obtained by reading the device channel database to query the device model and device type of the connected device.
[0067] Specifically, step S2 analyzes the connected devices with the greatest audio playback capability among the currently connected devices based on the device information and the number of channels, including:
[0068] S21: Update the currently connected device information table based on the device information and the number of channels.
[0069] S22: Analyze the connected device with the greatest audio playback capability in the current connected device information table.
[0070] Step S21 further includes updating the currently connected device information table based on the device information and the number of channels:
[0071] S211: Determine whether the number of channels of the currently connected device is stored in the connection device information table. If so, execute step S212; if not, execute step S213.
[0072] S212: Update the current connection device information table.
[0073] S213: Add the device information of the currently connected device to the connected device information table, and update the currently connected device information table and the device channel database.
[0074] Among them, the connected device information table includes the device model, device type, device interface and audio decoding identifier of the connected device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface, and the currently connected device information table includes the device model, device type, device interface and audio decoding identifier of the currently connected device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
[0075] In a specific embodiment of the present invention, if the device model and device type of the connected device are queried in the device channel database, the currently connected device information table is updated. If the device model and device type of the connected device are not queried in the device channel database, a prompt box pops up to prompt the user to set the number of channels of the newly added device model and confirm whether the connected device supports audio decoding. After the user operates, the currently connected device information table and the device channel database are updated.
[0076] Specifically, step S22 analyzes the connected device with the largest audio playback capability in the current connected device information table further includes:
[0077] The number of channels of each connected device in the current connected device information table is analyzed and compared, and the connected device corresponding to the maximum number of channels is used as the connected device with the greatest audio playback capability.
[0078] In a specific embodiment of the present invention, the corresponding number of channels in the device channel database is searched according to the device model and device type listed in the current connection device information table, the number of channels of each connection device is compared, and the connection device with the largest number of channels is found as the connection device with the largest audio playback capability, and it is confirmed whether the connection device supports audio decoding. For example, from the current connection device information table, the device type a of the device model A is obtained, which supports 2.1 channels, the device type b of the device model B supports 5.1 channels, and the device type c of the device model C supports 2 channels. After analysis and comparison, the device type b of the device model B supports the largest number of channels, so it is determined that the device type b of the device model B is the connection device with the largest audio playback capability.
[0079] Specifically, step S3 of obtaining the audio file or audio stream corresponding to the connected device includes:
[0080] S31: Obtain a media description file or a media stream of an online video through a streaming protocol.
[0081] S32: Determine whether there are audio files with multiple audio tracks or audio and video mixed data streams in the media description file or media stream. If there are audio files with multiple audio tracks, execute step S33; if there are audio and video mixed data streams, execute step S34.
[0082] S33: Downloading the audio file corresponding to the connected device according to the current connected device information table.
[0083] S34: Decode the audio and video mixed data stream, and determine whether there are multiple audio streams of different channels in the decoded audio and video mixed data stream. If so, execute step S35.
[0084] S35: Download the audio stream corresponding to the connected device according to the current connected device information table.
[0085] In a specific embodiment of the present invention, after the user selects an online video, the set-top box interacts with the content service platform through a streaming protocol (including but not limited to HLS and DASH information interaction) to obtain a media description file or a media stream, and determine whether there are audio files with multiple audio tracks or audio-video mixed data streams in the media description file or the media stream. If there are audio files with multiple audio tracks, the corresponding audio files are downloaded according to the device information in the current connection device information table. If there is an audio-video mixed data stream, the audio-video mixed data stream is first decoded, and then it is determined whether there are multiple audio streams with different channels in the decoded audio-video mixed data stream. If so, the corresponding audio stream is downloaded according to the device information in the current connection device information table. For example, by interacting with the content service platform, it is found that the content service platform has audio files with three audio tracks of 2 channels, 2.1 channels and 5.1 channels. If there are two connected devices A and B in the current connection device information table, which support 2.1 channels and 5.1 channels respectively, the corresponding audio files with two audio tracks of 2.1 channels and 5.1 channels are downloaded.
[0086] Specifically, step S4 determines whether the connected device supports decoding, and sends the audio file or audio stream to the connected device according to the determination result, further comprising:
[0087] S41: Obtain the audio decoding identifier of the connected device from the current connected device information table, and determine whether the connected device supports decoding according to the audio decoding identifier. If decoding is supported, execute step S42; if decoding is not supported, execute step S43.
[0088] S42: Obtain the device model, device type and device interface of the connected device in the current connected device information table, and send the audio file to the connected device through the device interface.
[0089] S43: Send the decoded audio stream to the connected device through the device interface.
[0090] In a specific embodiment of the present invention, the audio decoding identifier of the currently connected device is searched according to the device model and device type listed in the currently connected device information table, thereby determining whether the currently connected device supports audio decoding. If the currently connected device supports audio decoding, the device interface of the connected device is obtained from the currently connected device information table, and the downloaded audio file is sent to the connected device through the corresponding device interface. If the currently connected device does not support audio decoding, the audio stream is transmitted to the connected device after decoding by the set-top box.
[0091] Example 2
[0092] Combination Figure 7 and Figure 8 The embodiment of the present invention further provides a multi-track audio distribution system for a set-top box, comprising:
[0093] The device channel database 01 is used to store a connection device information table, including the device model, device type, device interface, audio decoding identifier and corresponding number of channels of the connected device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
[0094] The information collection module 02 is used to obtain the device information and the number of channels of the currently connected device. The device information includes the device model and device type.
[0095] The streaming media interaction module 03 is used to obtain the audio file or audio stream corresponding to the currently connected device.
[0096] The audio analysis module 04 is used to analyze the connected device with the greatest audio playback capability among the currently connected devices based on the device information and the number of channels.
[0097] The decision and distribution module 05 is used to determine whether the currently connected device supports decoding, and send the audio file or audio stream to the connected device with the greatest audio playback capability according to the determination result.
[0098] In a specific embodiment of the present invention, a device channel database 01 is preset in the device system. A connection device information table is stored in the device channel database 01. The connection device information table stores the device model, device type, device interface, audio decoding identifier and corresponding number of channels of the connected device. The device model and device type of each connected device are associated with the number of channels supported by the device. Therefore, the information acquisition module 02 can obtain the number of channels of the connected device by reading the device channel database 01 to query the device model and device type of the connected device.
[0099] In a specific embodiment of the present invention, the information acquisition module 02 obtains the device model and device type of the currently connected device through the HDMI interface or the Bluetooth interface, and queries the number of channels corresponding to the device information from the device channel database 01. When the external connection device is connected to the set-top box through the HDMI interface, the set-top box exchanges data with the ED ID information of the connection device, thereby obtaining the device model and device type of the connection device. When the external connection device is connected to the set-top box through the Bluetooth interface, the set-top box exchanges data with the ACL information and SDP information of the connection device, thereby obtaining the device model and device type of the connection device. The embodiment of the present invention can obtain the device model and device type of the connection device in any of the above two ways.
[0100] In a specific embodiment of the present invention, after the user selects an online video, the streaming media interaction module 03 interacts with the content service platform through the streaming media protocol, obtains a media description file or a media stream, and determines whether there are audio files with multiple audio tracks or audio-video mixed data streams in the media description file or the media stream. If there are audio files with multiple audio tracks, the corresponding audio files are downloaded according to the device information in the current connection device information table. If there is an audio-video mixed data stream, the audio-video mixed data stream is first decoded, and then it is determined whether there are multiple audio streams with different channels in the decoded audio-video mixed data stream. If so, the corresponding audio stream is downloaded according to the device information in the current connection device information table. For example, by interacting with the content service platform, it is found that the content service platform has audio files with three audio tracks of 2 channels, 2.1 channels and 5.1 channels. If there are two connection devices A and B in the current connection device information table, which support 2.1 channels and 5.1 channels respectively, the corresponding audio files with two audio tracks of 2.1 channels and 5.1 channels are downloaded from the content service platform.
[0101] In a specific embodiment of the present invention, the audio analysis module 04 first determines whether the number of channels of the currently connected device is stored in the connection device information table. If the device model and device type of the connected device are found in the connection device information table, the current connection device information table is updated. If the device model and device type of the connected device are not found in the connection device information table, a prompt box pops up to prompt the user to set the number of channels of the newly added device model and confirm whether the connected device supports audio decoding. After the user's operation, the current connection device information table and the device channel database are updated. Then, the audio analysis module 04 analyzes and compares the number of channels of each connected device in the current connection device information table, and finds the connection device corresponding to the maximum number of channels as the connection device with the greatest audio playback capability. That is, according to the device model and device type listed in the current connection device information table, the corresponding number of channels in the device channel database is searched, the number of channels of each connected device is compared, and the connection device with the largest number of channels is found as the connection device with the greatest audio playback capability. For example
[0102] In a specific embodiment of the present invention, the decision and distribution module 05 first obtains the audio decoding identifier of the connected device from the currently connected device information table, and determines whether the connected device supports decoding based on the audio decoding identifier. If decoding is supported, the device model, device type and device interface of the connected device are obtained from the currently connected device information table, and the downloaded audio file is sent to the connected device through the device interface. If decoding is not supported, the decoded audio stream is sent to the connected device through the device interface.
[0103] In summary, the multi-track audio distribution method and system of a set-top box provided by the present invention has the following advantages:
[0104] 1. The present invention obtains the device type and the number of supported channels of the currently connected device, analyzes the connected device with the largest audio playback capability among the currently connected devices, and obtains the audio file corresponding to the current optimal audio playback solution from the content service platform and transmits it to the current optimal playback device. Compared with the prior art that only transmits 2-channel low-specification audio solutions, the present invention can accurately transmit audio files that match the capabilities of the connected audio playback device from the source into the home according to the capabilities of the connected audio playback device, thereby improving the audio specifications and effectively utilizing the bandwidth to avoid transmitting audio specifications that do not match the capabilities of the connected audio playback device.
[0105] 2. The present invention analyzes the audio playback capabilities of different devices, determines the best playback solution, and transmits the corresponding audio file or code stream to the best audio playback device to play the best audio effect, thereby improving the user experience.
[0106] The above describes in detail the concepts, principles and ideas of the present invention in conjunction with specific implementation methods (including embodiments and examples). Those skilled in the art should understand that the implementation methods of the present invention are not limited to the forms given above. After reading this application document, those skilled in the art can make any possible improvements, substitutions and equivalent forms to the steps, methods, systems and components in the above implementation methods. These improvements, substitutions and equivalent forms should be deemed to fall within the scope of the present invention, and the protection scope of the present invention is subject only to the claims.
Claims
1. A multi-track audio distribution method for a set-top box, characterized in that: include: Get the device information and number of channels of the currently connected device; Analyzing the connected device with the greatest audio playback capability among the currently connected devices based on the device information and the number of channels; Obtaining an audio file or an audio stream corresponding to the connected device; Determine whether the connected device supports decoding, and send the audio file or audio stream to the connected device according to the determination result.
2. The multi-track audio distribution method of a set-top box according to claim 1, characterized in that: The obtaining of device information and the number of channels of the currently connected device includes: Obtain device information of the currently connected device through the HDMI interface or the Bluetooth interface, wherein the device information includes the device model and device type; A device channel database is read, and the number of channels corresponding to the device information is queried from the device channel database.
3. The multi-track audio distribution method of a set-top box according to claim 1, characterized in that: The analyzing, based on the device information and the number of channels, the connected device with the greatest audio playback capability among the currently connected devices comprises: Update the currently connected device information table based on the device information and the number of channels; Analyze the connected device with the greatest audio playback capability in the currently connected device information table; The currently connected device information table includes the device model, device type, device interface and audio decoding identifier of the currently connected device, and the device interface includes a Bluetooth interface and / or an HDMI interface.
4. The multi-track audio distribution method of a set-top box according to claim 3, characterized in that: The updating of the currently connected device information table based on the device information and the number of channels further comprises: Determine whether the number of channels of the currently connected device is stored in the connection device information table, and if so, update the currently connected device information table; If not stored, then the device information of the currently connected device is added to the connection device information table, and the currently connected device information table and the device channel database are updated.
5. The multi-track audio distribution method of a set-top box according to claim 4, characterized in that: The connection device information table includes the device model, device type, device interface and audio decoding identifier of the connection device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
6. The multi-track audio distribution method of a set-top box according to claim 3, characterized in that: The connecting device with the largest audio playback capability in the currently connected device information table is analyzed to include: The number of channels of each connected device in the current connected device information table is analyzed and compared, and the connected device corresponding to the maximum number of channels is used as the connected device with the greatest audio playback capability.
7. The multi-track audio distribution method of a set-top box according to claim 1, characterized in that: The obtaining of the audio file or audio stream corresponding to the connected device comprises: Obtain the media description file or media stream of the online video through the streaming protocol; Determine whether there is an audio file or an audio-video mixed data stream with multiple audio tracks in the media description file or the media stream, If there are multiple audio files with multiple tracks, download the audio files corresponding to the connected devices according to the current connected device information table; If there is an audio and video mixed data stream, the audio and video mixed data stream is decoded, and it is determined whether there are multiple audio streams of different channels in the decoded audio and video mixed data stream. If so, the audio stream corresponding to the connected device is downloaded according to the current connected device information table.
8. The multi-track audio distribution method of a set-top box according to claim 1, characterized in that: The determining whether the connected device supports decoding, and sending the audio file or the audio stream to the connected device according to the determination result comprises: Acquire the audio decoding identifier of the connected device from the currently connected device information table, and determine whether the connected device supports decoding according to the audio decoding identifier, If decoding is supported, the device model, device type and device interface of the connected device are obtained in the connected device information table, and the audio file is sent to the connected device through the device interface. If decoding is not supported, the decoded audio stream is sent to the connected device through the device interface.
9. A multi-track audio distribution system for a set-top box, characterized in that: include: An information collection module is used to obtain device information and the number of channels of the currently connected device, wherein the device information includes the device model and device type; A streaming media interaction module, used to obtain the audio file or audio stream corresponding to the currently connected device; An audio analysis module, configured to analyze the connected device with the greatest audio playback capability among the currently connected devices based on the device information and the number of channels; The decision and distribution module is used to determine whether the currently connected device supports decoding, and send the audio file or audio stream to the connected device with the greatest audio playback capability according to the determination result.
10. The multi-track audio distribution system for a set-top box according to claim 9, characterized in that: The system further comprises: The device channel database is used to store a connection device information table, including the device model, device type, device interface, audio decoding identifier and corresponding number of channels of the connected device, wherein the device interface includes a Bluetooth interface and / or an HDMI interface.
