Audio control method and device, computer device and storage medium

By using low-power Bluetooth pairing and control commands between the set-top box and the playback device, the problem of audio source contention between multiple audio devices is solved, thus improving the user experience.

CN116056058BActive Publication Date: 2026-02-17SHENZHEN SEN5 TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310107098.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-16
Publication Date
2026-02-17
Estimated Expiration
2043-01-16

AI Technical Summary

Technical Problem

Competition for audio sources among multiple audio devices can negatively impact the customer experience.

Method used

After successful pairing via Bluetooth Low Energy, the set-top box sends control commands to the playback device, receives them, and controls the audio input source of the playback device based on the audio playback information.

Benefits of technology

It enables flexible control of the audio input source of the playback device, avoids audio source competition, and optimizes the customer experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116056058B_ABST
    Figure CN116056058B_ABST
Patent Text Reader

Abstract

The application discloses an audio control method and device, computer equipment and a storage medium. When the set top box and the playing device are successfully paired through low-power Bluetooth, the set top box sends a control instruction to the playing device. The set top box receives audio playing information returned by the playing device based on the control instruction. The set top box controls the audio input source of the playing device based on the audio playing information. Thus, the audio input source of the playing device is flexibly controlled, audio source competition between multiple audio input sources is avoided, and customer experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of voice technology, and in particular to an audio control method, apparatus, computer device, and storage medium. Background Technology

[0002] Bluetooth is a wireless technology that supports short-range communication (generally within 10 meters) between devices, enabling wireless information exchange between numerous devices including mobile phones, PDAs, wireless headsets, laptops, and related peripherals. Bluetooth technology effectively simplifies communication between mobile audio devices, making data transmission faster and more efficient, thus paving the way for wireless communication. Therefore, Bluetooth technology makes wireless speakers possible. Currently, users want to listen to audio from audio devices via Bluetooth and experience the convenience of wireless applications. However, if multiple input audio sources are involved, such as mobile phones, tablets, or other set-top boxes, audio source competition can occur between the devices, potentially impacting the user experience. Summary of the Invention

[0003] This invention provides an audio control method, apparatus, computer device, and storage medium to solve the problem of audio source competition among multiple audio devices, which affects customer experience.

[0004] An audio control method, comprising:

[0005] Once the set-top box and the playback device are successfully paired via Bluetooth Low Energy, the set-top box sends control commands to the playback device.

[0006] The set-top box receives audio playback information returned by the playback device based on the control command;

[0007] The set-top box controls the audio input source of the playback device based on the audio playback information.

[0008] An audio control device, comprising:

[0009] The sending module is used to send control commands from the set-top box to the playback device after the set-top box and the playback device are successfully paired via Bluetooth Low Energy.

[0010] A receiving module is used for the set-top box to receive audio playback information returned by the playback device based on the control command;

[0011] A control module is used by the set-top box to control the audio input source of the playback device based on the audio playback information.

[0012] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described audio control method.

[0013] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described audio control method.

[0014] The aforementioned audio control method, apparatus, computer equipment, and storage medium, when the set-top box and the playback device are successfully paired via Bluetooth Low Energy, the set-top box sends a control command to the playback device; the set-top box receives audio playback information returned by the playback device based on the control command; the set-top box controls the audio input source of the playback device based on the audio playback information; thereby achieving flexible control of the audio input source of the playback device, avoiding the problem of audio source competition between multiple audio devices, and optimizing the customer experience. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram of an application environment for an audio control method according to an embodiment of the present invention;

[0017] Figure 2 This is a schematic diagram of an audio control device according to an embodiment of the present invention;

[0018] Figure 3 This is another schematic diagram of the audio control device in one embodiment of the present invention;

[0019] Figure 4 This is another schematic diagram of the audio control device in one embodiment of the present invention;

[0020] Figure 5 This is a flowchart of an audio control method according to an embodiment of the present invention;

[0021] Figure 6 This is another flowchart of an audio control method in one embodiment of the present invention;

[0022] Figure 7 This is another flowchart of an audio control method in one embodiment of the present invention;

[0023] Figure 8This is another flowchart of an audio control method in one embodiment of the present invention;

[0024] Figure 9 This is a flowchart of an audio control device according to an embodiment of the present invention;

[0025] Figure 10 This is another flowchart of the audio control device in one embodiment of the present invention;

[0026] Figure 11 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] The audio control method provided in this embodiment of the invention can be applied to, for example... Figure 1 The application environment is shown. Specifically, this audio control method is applied in an audio control system, which includes, for example, [examples of such systems]. Figure 1 The playback device and set-top box shown communicate via Bluetooth to resolve the issue of audio source contention between multiple audio devices, which negatively impacts the user experience. The set-top box features built-in dual-mode Bluetooth (BLE Low Energy Bluetooth + BT Classic Bluetooth). In this embodiment, the set-top box serves not only as an audio output source but also as the control center for the playback device. The playback device can be a speaker, TV, computer, or other similar device.

[0029] In one embodiment, such as Figure 5 As shown, an audio control method is provided, which is applied to... Figure 1 Taking a set-top box as an example, the explanation includes the following steps:

[0030] S10: After the set-top box and the playback device are successfully paired via Bluetooth Low Energy, the set-top box sends a control command to the playback device.

[0031] Set-top boxes convert compressed digital signals into audio content, which is then played through playback devices. As a transitional product that converts digital signals into analog signals, set-top boxes have become indispensable electronic devices in households. The solution provided in this invention can be applied to set-top boxes based on the Android system. As an open system, Android is increasingly being used as the underlying operating system platform for embedded devices (such as set-top boxes). Therefore, software developed based on the Android platform can be used on Android set-top boxes. Android-based set-top boxes offer a wealth of functionalities, including Bluetooth.

[0032] For reference Figure 2-4 As shown, the set-top box in this embodiment can serve not only as an audio and video output source but also as a control center for playback devices. Specifically, the set-top box has built-in dual-mode Bluetooth (BLE Low Energy Bluetooth + BT Classic Bluetooth) and audio and video playback apps (e.g., YouTube / Netflix). Its form can be divided into OTT box and speaker device. When used as a speaker device, it has a two-channel switching mechanism: outputting its own audio (Local Speaker) and outputting TV audio (TVSpeaker) when connected to a TV. Here, an OTT box refers to a high-definition audio device that allows users to watch online videos (e.g., HD TV live broadcasts, TV dramas, movies, variety shows, etc.) via an internet connection.

[0033] The playback device is a device that can output and play audio signals. For example, the playback device can be a speaker, television, or loudspeaker. In this embodiment, the playback device is preferably a Bluetooth speaker. Specifically, the playback device has built-in dual-mode Bluetooth (BLE Low Energy Bluetooth + BT Classic Bluetooth). When the set-top box acts as a control center, the playback device communicates with the set-top box via BLE Low Energy Bluetooth. When the set-top box acts as an audio output source, the playback device can also receive audio signals output by the set-top box via BT Classic Bluetooth. Furthermore, the playback device can also receive audio signals from other audio devices (e.g., mobile phones, tablets, etc.) via BT Classic Bluetooth, or transmit audio signals to other speaker devices for playback via BT Classic Bluetooth.

[0034] Bluetooth Low Energy (BLE), also known as Bluetooth Low Energy or Bluetooth Low Power, is a personal local area network (PLAN) technology designed and marketed by the Bluetooth Special Interest Group (SIG). It is designed for emerging applications in healthcare, sports and fitness, beacons, security, and home entertainment. Compared to classic Bluetooth, BLE aims to significantly reduce power consumption and cost while maintaining the same communication range. Most mobile operating systems, including iOS, Android, Windows Phone, and BlackBerry, as well as desktop operating systems such as macOS, Linux, Windows 8, and Windows 10, natively support BLE.

[0035] Preferably, in this embodiment, the playback device can receive audio signals output by the set-top box, or receive audio signals from other audio devices (e.g., mobile phones, tablets, etc.), or transmit audio signals to other audio devices using the Bluetooth Audio Transmission Specification (A2DP). The Bluetooth Audio Transmission Specification (A2DP) specifies the protocol stack software and usage methods for transmitting high-quality music file data using the Bluetooth asynchronous transmission channel. Based on this protocol, high-quality stereo music can be transmitted via Bluetooth. Versions 1.1 and 1.2 exist; as long as both parties support the A2DP protocol, audio signals can be transmitted at 16 bits and 44.1 kHz quality. If one party does not support A2DP, only a hands-free profile transmission mode at 8 bits and 8 kHz quality is possible, resulting in a significant reduction in sound quality.

[0036] The control commands are instructions used to direct the playback device to perform specific operations. For example, the control commands may be connection commands, disconnection commands, receive commands, or playback commands. In one specific embodiment, the set-top box maintains a connection and dynamic interaction with the playback device via Bluetooth Low Energy (BLE). After the set-top box and the playback device are successfully paired via BLE, the set-top box sends control commands to the playback device to instruct the playback device to return the current audio playback information.

[0037] S20: The set-top box receives audio playback information returned by the playback device based on the control command.

[0038] In one specific embodiment, reference is made to the following Figure 2-4As shown, after receiving a control command from the set-top box, the playback device will return corresponding audio playback information to the set-top box based on the control command. This audio playback information indicates the current playback status of the playback device. For example, the audio playback information includes the audio playback status and the audio source access status.

[0039] S20: The set-top box controls the audio input source of the playback device based on the audio playback information.

[0040] In one specific embodiment, reference is made to the following Figure 2-4 As shown, after the set-top box receives audio playback information from the playback device, it determines the current audio playback status of the playback device based on this information, thereby controlling the audio input source of the playback device. Understandably, in this embodiment, the set-top box acts as the control center of the playback device, controlling its audio input source. For example, when the playback device has multiple audio devices, the set-top box can control which audio device the playback device ultimately selects as the final audio input source. Alternatively, when the playback device receives a connection request from a new audio device, the set-top box can control whether the playback device switches its audio input source.

[0041] In this embodiment, after the set-top box and the playback device are successfully paired via Bluetooth Low Energy, the set-top box sends a control command to the playback device; the set-top box receives audio playback information returned by the playback device based on the control command; the set-top box controls the audio input source of the playback device based on the audio playback information; thereby achieving flexible control of the audio input source of the playback device, avoiding audio source competition between multiple audio input sources, and optimizing the customer experience.

[0042] In one embodiment, such as Figure 6 As shown, the audio playback information includes audio source access information. The set-top box controls the audio input source of the playback device based on the audio playback information, specifically including the following steps:

[0043] S301: When the set-top box receives the audio source access information returned by the playback device based on the control command, it detects whether there is currently an output first audio signal.

[0044] The audio source access information refers to the instruction sent by the playback device to the set-top box to determine the audio source when multiple audio devices request to establish a connection with the playback device. In one example, when the set-top box receives the audio source access information returned by the playback device based on the control instruction, it checks whether a first audio signal is currently being output. The first audio signal is the audio signal output by the set-top box when it acts as an audio output source. Specifically, when the set-top box acts as an audio output source, it outputs the first audio signal using the Bluetooth Audio to Display Protocol (A2DP). Optionally, the set-top box has a speaker and audio playback function; therefore, the set-top box can either play the first audio signal itself or send the first audio signal to the playback device for playback.

[0045] S302: If the first audio signal is not currently being output, a first indication message is sent to the playback device, the first indication message being used to indicate that other audio devices are allowed to access.

[0046] As an example, if the set-top box is not currently outputting a first audio signal as an audio output source, it responds to the audio source access information by sending first indication information to the playback device. This first indication information indicates that the audio device to be accessed is allowed to connect. It is understood that the set-top box can act as both the control center of the playback device and an audio output source. Generally, the set-top box is preferred as the audio output source. The audio device to be accessed (e.g., Figure 2 The audio devices A, B, and X shown are devices capable of outputting audio signals. Each audio device serves as the audio input source for the playback device, outputting audio signals for playback. For example, the audio device can be a smartphone, tablet, television, or other smart device. It should be noted that in this embodiment, there can be one or more audio devices.

[0047] In one specific embodiment, reference is made to the following Figure 2-4 As shown, both the audio device to be connected and the playback device have built-in classic Bluetooth modules. Therefore, the audio device to be connected and the playback device communicate using the Bluetooth Audio Transmission Standard (A2DP), and the audio device to be connected sends audio signals to the playback device.

[0048] S303: Display the identification information of each audio device to be connected on the display interaction interface, and generate the first page operation instruction in response to the user's first page operation behavior on the display interaction interface.

[0049] The display interface is the user interface of the set-top box. When the set-top box acts as the control center of the playback device, the user can interact with the set-top box through this display interface, and can control or set settings on the display interface.

[0050] In one specific embodiment, reference is made to the following Figure 2-4 As shown, when multiple audio devices are to be connected, a final target audio device needs to be selected from these devices and connected to the playback device. The playback device then plays the target audio signal from the target audio device. This embodiment displays the identification information of each audio device to be connected on the interactive display interface, allowing the user to select the final target audio device from the multiple devices based on this information.

[0051] Furthermore, in response to the user's first page operation behavior on the display interaction interface, a first page operation instruction is generated. The first page operation behavior is the user's action of selecting a target audio device from multiple audio devices to be connected on the display interaction interface. Optionally, the first page operation behavior can be an operation performed by the user on the display interaction interface, such as touching, clicking, swiping, or inputting. In response to the user's first page operation behavior on the display interaction interface, a first page operation instruction is generated, which includes a trigger location. The trigger location refers to the specific location where the first page operation behavior occurs. For example, if the display interaction interface displays the identification information of a first audio device to be connected, the identification information of a second audio device to be connected, and the identification information of a third audio device to be connected, when the user clicks the "confirmation control" corresponding to the first audio device to be connected on the display interaction interface, the set-top box will respond to the user's click operation and generate a first page operation instruction.

[0052] S304: Based on the first page operation instructions, determine the target audio device from the audio devices to be accessed.

[0053] The target audio device is the audio device selected by the user from multiple audio devices to be connected. This target audio device can establish a communication connection with the playback device, enabling the playback device to output the target audio signal of the target audio device. Specifically, when a first page operation instruction is generated, the target audio device can be determined from the multiple audio devices to be connected through the trigger position corresponding to the first page operation instruction. Each trigger position has a corresponding associated audio device. Based on the trigger position of the first page operation instruction, the target audio device associated with that trigger position can be obtained.

[0054] S305: Control the playback device to play the target audio signal of the target audio device.

[0055] In one specific embodiment, after a target audio device is determined from the plurality of audio devices to be accessed, the target audio device establishes a communication connection with the playback device. The target audio device sends a target audio signal to the playback device using the Bluetooth Audio Transmission Standard (A2DP), and the playback device plays the target audio signal (e.g., [the audio]). Figure 3 The target audio signal shown is 40).

[0056] In this embodiment, when the set-top box receives audio source access information returned by the playback device based on the control command, it detects whether a first audio signal is currently being output. If no first audio signal is currently being output, it responds to the audio source access information by sending first indication information to the playback device, the first indication information indicating that the audio device to be accessed is allowed to access. The identification information of each audio device to be accessed is displayed on the interactive display interface. A first page operation command is generated in response to the user's first page operation behavior on the interactive display interface. Based on the first page operation command, a target audio device is determined from the audio devices to be accessed. The playback device is controlled to play the target audio signal of the target audio device. When multiple audio devices are competing, the user can determine the target audio device from the multiple audio devices to be accessed according to custom settings, thereby enabling flexible switching and custom selection of the input audio source for the playback device, improving the user experience.

[0057] In one embodiment, such as Figure 7 As shown, after detecting whether a first audio signal is being output, the audio control method further includes the following steps:

[0058] S306: If a first audio signal is detected, an information prompt window will pop up on the display interface. The information prompt window is used to prompt the user whether to allow access to the candidate audio device.

[0059] In one specific embodiment, reference is made to the following Figure 2-4As shown, if the set-top box is detected as currently outputting a first audio signal as an audio output source, an information prompt window will pop up on the display interface. This window prompts the user whether to allow access to candidate audio devices. The candidate audio device is the device requesting the playback device to play the audio signal. Optionally, the candidate audio device can be an audio device such as a mobile phone, tablet, computer, or television. When the set-top box is detected as currently outputting a first audio signal as an audio output source, an information prompt window will pop up on the display interface to remind the user whether to allow access to other audio devices, i.e., candidate audio devices.

[0060] S307: In response to the user's operation on the second page of the information prompt window, generate a second page operation instruction.

[0061] The second page operation refers to the user's action on the interactive display interface to determine whether to allow access to a candidate audio device. Optionally, the second page operation can be an operation performed by the user on the interactive display interface, such as touching, clicking, swiping, or inputting. In one example, after the user performs a second page operation on the information prompt window, the set-top box will respond to the user's second page operation on the information prompt window and generate a second page operation instruction. The second page operation instruction includes a trigger location. The trigger location refers to the specific location where the second page operation occurs. For example, if the information prompt window displays two controls, "Allow Access" and "Deny Access," when the user clicks on the control corresponding to "Allow Access" on the information prompt window, the set-top box will respond to the user's click operation and generate an allow access instruction.

[0062] S308: If the second page operation instruction is an access permission instruction, then a connection instruction is sent to the playback device so that the playback device plays the audio signal of the candidate audio device.

[0063] As an example, if the second page operation instruction is an access permission instruction, that is, after the user clicks the control corresponding to "Access Permission" on the information prompt window, a connection instruction will be sent to the playback device so that the playback device and the candidate audio device can complete the pairing connection and play the audio signal of the candidate audio device.

[0064] S309: If the second page operation instruction is a rejection instruction, then a rejection instruction is sent to the playback device so that the playback device fails to pair with the candidate audio device.

[0065] As an example, if the second page operation instruction is a denial instruction, that is, the user clicks on the control corresponding to "deny access" on the information prompt window, then a denial instruction is sent to the playback device so that the playback device fails to pair with the candidate audio device.

[0066] In this embodiment, if a first audio signal is detected being output, an information prompt window pops up on the display interface to prompt the user whether to allow access to the candidate audio device. Responding to the user's second-page operation in the information prompt window, a second-page operation instruction is generated. If the second-page operation instruction is an "allow access" instruction, a connection instruction is sent to the playback device, causing the playback device to output the audio signal from the candidate audio device. If the second-page operation instruction is an "reject access" instruction, a rejection instruction is sent to the playback device, causing the playback device to fail to pair with the candidate audio device. This allows for flexible switching and customized selection of the audio input source for the playback device, improving the user experience.

[0067] In one specific embodiment, reference is made to the following Figure 8 As shown, after controlling the playback device to output the target audio signal of the target audio device, the audio control method further includes the following steps:

[0068] S31: If the set-top box sends an audio playback request to the playback device via classic Bluetooth, then control the playback device to switch the connected audio device.

[0069] S32: The set-top box sends a first audio signal to the playback device to control the playback device to output the first audio signal.

[0070] In one specific embodiment, reference is made to the following Figure 2-4 As shown, when other audio devices successfully connect to the playback device and play audio signals from other audio devices (e.g., mobile phones, tablets, computers, or TVs) through the playback device, if the set-top box sends an audio playback request to the playback device via classic Bluetooth, the playback device will automatically switch its audio input source, causing it to play the first audio signal output by the set-top box. Understandably, the first audio signal output by the set-top box has the highest priority. Users can manually set the highest priority of the first audio signal output by the set-top box through the user interface.

[0071] As an example, see below Figure 2-4As shown, if the set-top box sends an audio playback request to the playback device via classic Bluetooth, it controls the playback device to switch the connected audio device. The set-top box sends a first audio signal to the playback device to control the output of the first audio signal. The audio playback request is a request sent to the playback device when the set-top box is acting as an audio output source and wants to play an audio signal through the playback device. By default, if the playback device receives the audio playback request, it will directly switch the current audio device, causing the playback device to play the first audio signal output by the set-top box.

[0072] In this embodiment, if the set-top box sends an audio playback request to the playback device via classic Bluetooth, it controls the playback device to switch the connected audio device. The set-top box sends a first audio signal to the playback device to control the output of the first audio signal, thereby enabling flexible switching and custom selection of the audio input source of the playback device and improving the user experience.

[0073] In one specific embodiment, reference is made to the following Figure 2-4 As shown, the playback device includes a main speaker and an auxiliary speaker. The main speaker includes a Bluetooth Low Energy module and a Bluetooth Classic module, and the auxiliary speaker includes a Bluetooth Classic module. The main speaker receives control commands sent by the set-top box through the Bluetooth Low Energy module and returns the audio playback information to the set-top box. The main speaker and the auxiliary speaker communicate with each other through the Bluetooth Classic module and output audio signals through the Bluetooth Classic module.

[0074] In this embodiment, to provide users with a better listening experience, the playback device includes a TWS main speaker and a TWS auxiliary speaker. The TWS main speaker has a built-in Bluetooth Low Energy (BLE) module and a Bluetooth Classic module. It communicates with the set-top box via the BLE module. Specifically, the TWS main speaker receives control commands from the set-top box through the BLE module and returns audio playback information to the set-top box, thus facilitating the set-top box's control over the input audio source of the playback device. The TWS main speaker communicates with the auxiliary speaker and the audio device via the Bluetooth Classic module using A2DP and is used to play audio signals. The auxiliary speaker has a built-in Bluetooth Classic module and communicates with the main speaker via the Bluetooth Classic module using A2DP and is also used to play audio signals.

[0075] TWS (True Wireless Stereo) refers to true wireless stereo sound, and TWS technology is also based on the development of Bluetooth chip technology. In terms of its working principle, the phone connects to the main earphone, which then wirelessly connects to the secondary earphone, achieving true wireless separation of the left and right channels via Bluetooth. When the secondary speaker is not connected, the main speaker reverts to mono sound quality.

[0076] In a specific instance, refer to the following example. Figure 4 As shown, the set-top box includes at least two audio source output channels (such as...). Figure 1 As shown in X1 and X2), the different audio source output channels are used to output different audio signals, and the different audio source output channels can be switched according to a preset strategy.

[0077] In this embodiment, the set-top box not only serves as the control center for the playback device but also as an audio / video output source. Specifically, the set-top box has built-in dual-mode Bluetooth (BLE Low Energy Bluetooth + BT Classic Bluetooth) and audio / video playback apps (e.g., YouTube / Netflix). Its form can be divided into OTT box and speaker device. When used as a speaker device, it has two channel switching mechanisms: outputting its own speaker audio (Local Speaker) and outputting TV audio (TV Speaker) when connected to a TV. Therefore, the set-top box has multiple different audio source output channels, each used to output different audio signals. These different audio source output channels can be switched according to a preset strategy. For example, when the set-top box is used as a speaker device, it has an output channel for outputting its own speaker audio (Local Speaker) and an output channel for outputting TV audio (TV Speaker) when connected to a TV, and these two channels can be switched. In this embodiment, the input / output source switching is controlled by the SEI-developed core server module (CoreService) built into the set-top box.

[0078] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0079] In one embodiment, an audio control device is provided, which corresponds one-to-one with the audio control methods described in the above embodiments. For example... Figure 9 As shown, the audio control device includes a transmitting module 10, a receiving module 20, and a control module 30. Detailed descriptions of each functional module are as follows:

[0080] The sending module 10 is used to send control commands from the set-top box to the playback device after the set-top box and the playback device are successfully paired via Bluetooth Low Energy.

[0081] The receiving module 20 is used for the set-top box to receive audio playback information returned by the playback device based on the control command;

[0082] The control module 30 is used by the set-top box to control the audio input source of the playback device based on the audio playback information.

[0083] Furthermore, such as Figure 10 As shown, the control module 30 includes:

[0084] The detection unit 301 is used to detect whether there is a first audio signal being output when the set-top box receives audio source access information returned by the playback device based on the control command;

[0085] The first sending unit 302 is used to send a first indication message to the playback device when the set-top box is not currently outputting the first audio signal. The first indication message is used to indicate that access of other audio devices is allowed.

[0086] Display unit 303 is used to display the identification information of each audio device to be connected on the display interaction interface of the set-top box, and to generate a first page operation command in response to the user's first page operation behavior on the display interaction interface.

[0087] The determining unit 304 is used to determine the target audio device from the audio devices to be accessed according to the first page operation instruction;

[0088] The first control unit 305 is used to control the playback device to play the target audio signal of the target audio device.

[0089] Furthermore, the control module 30 also includes:

[0090] The pop-up unit is used to pop up an information prompt window on the display interaction interface when the set-top box is currently outputting the first audio signal. The information prompt window is used to prompt the user whether to allow access to the candidate audio device.

[0091] The generation unit is used to generate second-page operation instructions in response to the user's second-page operation behavior in the information prompt window.

[0092] The sending unit is configured to send a connection instruction to the playback device when the second page operation instruction is an access permission instruction, so that the playback device plays the candidate audio signal of the candidate audio device;

[0093] The sending unit is used to send a rejection instruction to the playback device when the second page operation instruction is a rejection access instruction, so that the playback device fails to pair with the candidate audio device.

[0094] Furthermore, the control module 30 also includes:

[0095] The control unit is used to control the playback device to switch the connected audio device when the set-top box sends an audio playback request to the playback device via classic Bluetooth;

[0096] The transmitting unit is used to send a first audio signal from the set-top box to the playback device to control the playback device to play the first audio signal.

[0097] For specific limitations regarding the audio control device, please refer to the limitations on the audio control method above, which will not be repeated here. Each module in the aforementioned audio control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.

[0098] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores the data used in implementing the above embodiments. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements an audio control method.

[0099] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the audio control method in the above embodiment.

[0100] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the audio control method described in the above embodiments.

[0101] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0102] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0103] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. An audio control method, characterized by, The audio control method is applied to a set top box, the set top box is used as a control center of an audio and video output source and a playing device, and the audio control method comprises: After the set top box and the playing device are successfully paired through low-power Bluetooth, the set top box sends a control instruction to the playing device; When the set top box receives audio source access information returned by the playing device based on the control instruction, it is detected whether the first audio signal is currently output, the first audio signal being an audio signal output by the set top box as an audio output source; If the set top box does not currently output the first audio signal, first indication information is sent to the playing device, the first indication information being used to indicate that the access of other audio devices is allowed; Identification information of each audio device to be accessed is displayed on a display interactive interface of the set top box, and a first page operation instruction is generated in response to a first page operation behavior of a user on the display interactive interface; According to the first page operation instruction, a target audio device is determined from the audio devices to be accessed; The playing device is controlled to play a target audio signal of the target audio device; If the set top box currently outputs the first audio signal, an information prompt window is popped up on the display interactive interface, the information prompt window being used to prompt the user whether to allow the access of a candidate audio device; a second page operation instruction is generated in response to a second page operation behavior of the user on the information prompt window, the second page operation behavior being an operation of the user on the display interactive interface to determine whether to allow the access of the candidate audio device; if the second page operation instruction is an access allowing instruction, a connection instruction is sent to the playing device, so that the playing device plays a candidate audio signal of the candidate audio device; if the second page operation instruction is an access refusing instruction, a refusal instruction is sent to the playing device, so that the playing device fails to pair with the candidate audio device.

2. The audio control method of claim 1, wherein, After the playing device is controlled to play the target audio signal of the target audio device, the audio control method further comprises: If the set top box sends an audio playing request to the playing device through classic Bluetooth, the playing device is controlled to switch the accessed audio device; The set top box sends the first audio signal to the playing device to control the playing device to play the first audio signal.

3. The audio control method of claim 1, wherein, The playing device comprises a main sound box and an auxiliary sound box, the main sound box comprises a low-power Bluetooth module and a classic Bluetooth module, the auxiliary sound box comprises a classic Bluetooth module, the main sound box receives the control instruction sent by the set top box through the low-power Bluetooth module and returns the audio source access information to the set top box, the main sound box and the auxiliary sound box communicate through the classic Bluetooth module and play an audio signal through the classic Bluetooth module.

4. The audio control method of claim 2, wherein, The set top box comprises at least two audio source output channels, different audio source output channels are used to output different audio signals, and the set top box is configured to switch different audio source output channels.

5. An audio control device, characterized by Comprise: The sending module is configured to send a control instruction to the playback device when the set-top box and the playback device are successfully paired via Bluetooth low energy, and the set-top box serves as an audio-video output source and a control center of the playback device. The receiving module is configured to receive audio playback information returned by the playback device based on the control instruction. The control module is configured to control an audio input source of the playback device based on the audio playback information. The control module includes: The detection unit is configured to detect whether the first audio signal is currently output when the set-top box receives the audio source access information returned by the playback device based on the control instruction, the first audio signal being an audio signal output by the set-top box as an audio output source. The first sending unit is configured to send first indication information to the playback device when the set-top box does not currently output the first audio signal, the first indication information being used to indicate that access of other audio devices is allowed. The display unit is configured to display each audio device to be accessed on a display interactive interface of the set-top box, and generate a first page operation instruction in response to a first page operation behavior of a user on the display interactive interface. The determination unit is configured to determine a target audio device from the audio devices to be accessed according to the first page operation instruction. The first control unit is configured to control the playback device to play a target audio signal of the target audio device. The pop-up unit is configured to pop up an information prompt window on the display interactive interface when the set-top box currently outputs the first audio signal, the information prompt window being used to prompt the user whether to allow access of a candidate audio device. The generation unit is configured to generate a second page operation instruction in response to a second page operation behavior of the user on the information prompt window, the second page operation behavior being an operation of the user on the display interactive interface to determine whether to allow access of the candidate audio device. The sending unit is configured to send a connection instruction to the playback device to enable the playback device to play a candidate audio signal of the candidate audio device when the second page operation instruction is an access permission instruction, and to send a rejection instruction to the playback device to cause the playback device to fail to pair with the candidate audio device when the second page operation instruction is a rejection instruction.

6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the audio control method according to any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 6. The computer program is executed by the processor to implement the audio control method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Bluetooth connection method, device and system

    CN110191442A

  • Audio stream playing method and device, mobile terminal, Bluetooth headset and storage medium

    CN115002273A