Audio receiving device, audio distribution method and related apparatus
Patent Information
- Application Number
- CN202310611232.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-24
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-05-24
AI Technical Summary
但是,在音频接收端设置两个3.5mm音频座会占有比较大的布板面积,从而导致音频接收端的体积较大,影响携带便捷性
[0052]本申请提出的音频接收设备,包括:蓝牙主控器以及与蓝牙主控器相连的音频座;蓝牙主控器判断音频接收设备的终端设备连接组件是否处于数据传输工作模式;若终端设备连接组件未处于数据传输工作模式,蓝牙主控器控制蓝牙主控器与音频座之间的线性输出通道导通,线性输出通道用于将蓝牙主控器接收的音频信号传输至音频座;若终端设备连接组件处于数据传输工作模式,蓝牙主控器控制蓝牙主控器与音频座之间的监听通道导通,监听通道用于将蓝牙主控器接收的音频信号转换为适于监听的音频信号并传输至音频座。采用本申请的技术方案,根据终端设备连接组件是否处于数据传输工作模式,实现音频座线性输出与监听的功能切换,从而能够通过设置一个音频座,实现音频座的线性输出与监听两种功能,减少了音频座设置数量,减小了音频接收设备的布板面积,从而减小了音频接收设备的体积,提高了携带便捷性。
Smart Images

Figure CN116847247B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio processing technology, and in particular to an audio receiving device, an audio distribution method, and related apparatus. Background Technology
[0002] With the rapid development of internet technology, short videos, as an emerging information dissemination medium, have attracted significant traffic. Short videos, characterized by high traffic, high capacity, and rapid dissemination, are poised to become a top choice for advertising media. Wireless microphones are the audio recording devices used in the shooting process of short videos. A wireless microphone consists of a microphone head and an audio receiver. The microphone head captures sound and transmits the captured audio information wirelessly to the audio receiver via Bluetooth. Users can then listen in through the audio receiver or connect it to a terminal device to transmit audio information to that device.
[0003] Traditional wireless microphones typically use two 3.5mm audio jacks for the audio receiver. One jack serves as the Lineout port, through which an audio cable is plugged to transmit the received audio to a connected device. The other jack acts as a monitoring port, allowing users to listen to the audio received by the receiver using wired headphones. However, using two 3.5mm audio jacks on the receiver occupies a significant amount of fabric, resulting in a bulky receiver that is less portable. Summary of the Invention
[0004] Based on the defects and shortcomings of the prior art, this application proposes an audio receiving device, an audio distribution method, and related apparatus, which can reduce the number of audio jacks, reduce the board area of the audio receiving device, thereby reducing the size of the audio receiving device and improving portability.
[0005] The technical solution proposed in this application is as follows:
[0006] According to a first aspect of the embodiments of this application, an audio receiving device is provided, including: a Bluetooth host and an audio dock connected to the Bluetooth host;
[0007] The Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission working mode;
[0008] If the terminal device connection component is not in data transmission mode, the Bluetooth master controller controls the linear output channel between the Bluetooth master controller and the audio dock to be turned on. The linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock.
[0009] If the terminal device connection component is in data transmission mode, the Bluetooth master controller controls the monitoring channel between the Bluetooth master controller and the audio dock to be turned on. The monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock.
[0010] Optionally, a headphone amplifier assembly is provided in the monitoring channel;
[0011] The headphone amplifier assembly is used to amplify the audio signal output by the Bluetooth host and transmit it to the audio dock.
[0012] Optionally, the audio receiving device may also include: an audio analog switch;
[0013] The Bluetooth host controller is connected to the audio socket via the audio analog switch;
[0014] The audio analog switch is used to activate the linear transmission channel between the Bluetooth master controller and the audio dock, or to activate the monitoring channel between the Bluetooth master controller and the audio dock, based on the control of the Bluetooth master controller.
[0015] Optionally, the terminal device connection assembly includes: a connection adapter and a terminal device adapter;
[0016] The connection adapter is used to connect the Bluetooth host controller and the terminal device adapter, and to realize signal transmission between the Bluetooth host controller and the terminal device adapter;
[0017] The terminal device adapter is used to connect to a terminal device that is compatible with the terminal adapter and to transmit the audio signal sent by the Bluetooth host to the terminal device.
[0018] Optionally, the Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission mode, including:
[0019] The Bluetooth master controller receives a voltage divider signal sent by the connection adapter, and the voltage divider signal is different when the connection adapter is connected to the terminal device adapter and when the connection adapter is not connected to the terminal device adapter;
[0020] The Bluetooth master controller determines whether the terminal device adapter is connected to the connection adapter based on the voltage divider signal;
[0021] If the terminal device adapter is connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is in data transmission working mode;
[0022] If the terminal device adapter is not connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is not in data transmission mode.
[0023] Optionally, the terminal device adapter includes: a first terminal device adapter or a second terminal device adapter;
[0024] The first terminal device adapter is provided with a first resistor, and the second terminal device adapter is provided with a second resistor;
[0025] If the Bluetooth master controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the first pressure range, then it determines that the first terminal device adapter is connected to the connection adapter.
[0026] If the Bluetooth master controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the second pressure range, then it determines that the second terminal device adapter is connected to the connection adapter.
[0027] If the Bluetooth master controller determines that the pressure value corresponding to the voltage divider signal sent by the connection adapter is the original voltage, then it determines that the connection adapter is not connected to the terminal device adapter.
[0028] Wherein, the first pressure range is the voltage value range of the original voltage after being divided by the first resistor, and the second pressure range is the voltage value range of the original voltage after being divided by the second resistor.
[0029] Optionally, the first terminal device adapter takes a digital audio signal as input, and the second terminal device adapter takes an analog audio signal as input;
[0030] The Bluetooth host controller receives digital audio signals sent by the audio transmitter;
[0031] If the first terminal device adapter is connected to the connection adapter, the Bluetooth master controller transmits the digital audio signal to the first terminal device adapter through the connection adapter.
[0032] If the second terminal device adapter is connected to the connection adapter, the Bluetooth master controller converts the digital audio signal into an analog audio signal and transmits the analog audio signal to the second terminal device adapter through the connection adapter.
[0033] Optionally, the terminal device connection component includes: a device socket;
[0034] The device socket is used to connect a terminal device via a transmission cable adapted to the device socket, and to output the audio signal sent by the Bluetooth host to the terminal device.
[0035] Optionally, the Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission mode, including:
[0036] The Bluetooth master controller determines whether the device socket is connected to a terminal device based on the USB enumeration signal corresponding to the device socket.
[0037] If the device socket is connected to a terminal device, the Bluetooth host controller determines that the terminal device connection component is in data transmission mode;
[0038] If the device socket is not connected to a terminal device, the Bluetooth controller determines that the terminal device connection component is not in data transmission mode.
[0039] Optionally, the audio receiving device may also include: a USB analog switch;
[0040] The terminal device connection component includes: a connection adapter, a first terminal device adapter, and a device socket; wherein, both the first terminal device adapter and the device socket accept digital audio signals as input;
[0041] The first terminal device adapter is connected to the USB analog switch via the connection adapter;
[0042] The USB analog switch is connected to the Bluetooth host and the device socket respectively;
[0043] The USB analog switch receives a voltage signal from the first terminal device adapter sent by the connection adapter. If the voltage signal indicates no voltage, it controls the connection between the Bluetooth host and the device socket to be open. If the voltage signal indicates a preset voltage, it controls the connection between the Bluetooth host and the connection adapter to be open. The preset voltage is the voltage value corresponding to the voltage signal received by the USB analog switch when the first terminal device adapter is connected to the terminal device.
[0044] According to a second aspect of the embodiments of this application, an audio distribution method is provided, applied to a Bluetooth master controller in an audio receiving device, wherein the audio receiving device further includes an audio dock connected to the Bluetooth master controller;
[0045] The audio allocation method includes:
[0046] Determine whether the terminal device connection component of the audio receiving device is in data transmission working mode;
[0047] If the terminal device connection component is not in data transmission mode, the linear output channel between the Bluetooth master controller and the audio dock is turned on, and the linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock;
[0048] If the terminal device connection component is in data transmission mode, it controls the monitoring channel between the Bluetooth master controller and the audio dock to be turned on. The monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock.
[0049] According to a third aspect of the embodiments of this application, an electronic device is provided, including: a memory and a processor;
[0050] The memory is connected to the processor and is used to store programs;
[0051] The processor is used to implement the above-described audio allocation method by running the program in the memory.
[0052] The audio receiving device proposed in this application includes: a Bluetooth master controller and an audio dock connected to the Bluetooth master controller; the Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission mode; if the terminal device connection component is not in data transmission mode, the Bluetooth master controller controls the linear output channel between the Bluetooth master controller and the audio dock to be turned on, and the linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock; if the terminal device connection component is in data transmission mode, the Bluetooth master controller controls the monitoring channel between the Bluetooth master controller and the audio dock to be turned on, and the monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock. By adopting the technical solution of this application, the function switching between linear output and monitoring of the audio dock is realized according to whether the terminal device connection component is in data transmission mode. This allows for the realization of both linear output and monitoring functions of the audio dock by setting up a single audio dock, reducing the number of audio docks required, reducing the board area of the audio receiving device, thereby reducing the size of the audio receiving device and improving portability. Attached Figure Description
[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0054] Figure 1 This is a schematic diagram of the structure of an audio receiving device provided in an embodiment of this application;
[0055] Figure 2 This is a schematic diagram of another audio receiving device provided in an embodiment of this application;
[0056] Figure 3 This is a circuit connection diagram of the audio analog switch provided in an embodiment of this application;
[0057] Figure 4 This is a schematic diagram of another audio receiving device provided in an embodiment of this application;
[0058] Figure 5 This is a circuit connection diagram between the terminal device adapter and the Bluetooth host provided in the embodiments of this application;
[0059] Figure 6 This is a schematic diagram of another audio receiving device provided in an embodiment of this application;
[0060] Figure 7 This is a circuit connection diagram of the USB analog switch provided in an embodiment of this application;
[0061] Figure 8 This is a flowchart illustrating an audio allocation method provided in an embodiment of this application;
[0062] Figure 9 This is a schematic diagram of the structure of an audio distribution device provided in an embodiment of this application;
[0063] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0064] Figure 11 This is a schematic diagram of the structure of a wireless audio system provided in an embodiment of this application. Detailed Implementation
[0065] Application Overview
[0066] The technical solution of this application embodiment is applicable to the application scenario of audio processing of audio receiving devices. By adopting the technical solution of this application embodiment, the function of switching between linear output and monitoring of the audio socket can be realized according to whether the terminal device connection component in the audio receiving device is in the data transmission working mode. Thus, by setting up an audio socket, both linear output and monitoring functions of the audio socket can be realized, reducing the number of audio sockets, reducing the board area of the audio receiving device, thereby reducing the size of the audio receiving device and improving portability.
[0067] In the currently popular short video field, wireless audio systems are the audio recording devices required for short video shooting. Wireless audio systems are usually equipped with an audio acquisition end and an audio receiving end. For example, wireless microphone products use the audio acquisition end (i.e., the microphone head) to collect the audio information emitted by the user and transmit the audio information wirelessly to the audio receiving end via Bluetooth. The audio receiving end can be used to monitor the audio information or transmit the received audio information to a terminal device connected to the audio receiving end so that the terminal device can perform related operations on the audio information (such as storing or editing the audio information).
[0068] Traditional wireless audio systems use two 3.5mm audio jacks at the audio receiver. One 3.5mm audio jack serves as a monitoring port, allowing wired headphones to be plugged in for listening to the audio received by the receiver. The other 3.5mm audio jack serves as a lineout port, connecting to terminal devices. For example, it can be connected to the Linein port of devices such as cameras, mixers, and sound cards via a 3.5mm TRS to TRS audio cable, or connected to terminal devices with a MICIN interface such as computers and mobile phones via a 3.5mm TRS to TRS audio cable, or first connected to a Type-C to 3.5mm audio adapter cable, and then connected to the Type-C port of terminal devices such as Android phones via a 3.5mm TRS to TRS audio cable.
[0069] It can be seen that in order to enable the audio receiver of a wireless audio system to both monitor audio and output audio linearly to the terminal device, two 3.5mm audio sockets need to be set on the audio receiver. However, two 3.5mm audio sockets will occupy a large area on the PCB board of the audio receiver, so a larger PCB board is required, which will increase the size of the audio receiver and affect its portability.
[0070] Based on this, this application proposes an audio receiving device. This technical solution can switch between the linear output function and the monitoring function of the audio socket by determining whether the terminal device connection component in the audio receiving device is in the data transmission working mode. Thus, it can achieve two functions by setting up an audio socket, thereby solving the problem that the existing audio receiving devices have a large board area, resulting in a large size and low portability.
[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0072] Exemplary device
[0073] This application provides an audio receiving device, see [link to relevant documentation]. Figure 1 As shown, the audio receiving device includes a Bluetooth host controller 101 and an audio jack 102, which are connected. Both the Bluetooth host controller 101 and the audio jack 102 can be mounted on the PCB board of the audio receiving device, and their connection is achieved through the wiring on the PCB board. The audio receiving device also includes a terminal device connection component 103, through which the audio receiving device can connect to a terminal device, enabling data transmission between the audio receiving device and the terminal device.
[0074] In this embodiment, the Bluetooth master controller 101 in the audio receiving device is wirelessly connected to the audio transmitter in the matching audio acquisition device. After acquiring audio information, the audio acquisition device sends the corresponding audio signal to the Bluetooth master controller 101 using the audio transmitter. This audio signal is a digital audio signal. The state of the terminal device connection component 103 in the audio receiving device includes a data transmission working mode and a static mode. The Bluetooth master controller 101 can determine whether the terminal device connection component 103 is in the data transmission working mode based on the connection signal corresponding to the terminal device connection component 103. For example, if the terminal device connection component 103 is a terminal device adapter, then the Bluetooth master controller 101 determines whether the terminal device adapter is inserted into the audio receiving device. If the terminal device adapter is inserted, it means that audio signals need to be transmitted to the terminal device using the terminal device adapter. At this time, it is determined that the terminal device connection component 103 is in the data transmission working mode. If the terminal device connection component 103 is a device socket, the Bluetooth master controller 101 determines whether the device socket is connected to the terminal device through a matching cable. If the device socket is connected to the terminal device, it means that audio signals need to be transmitted to the terminal device using the device socket. At this time, it is determined that the terminal device connection component 103 is in the data transmission working mode.
[0075] When the terminal device connection component 103 is in data transmission mode, the Bluetooth master controller 101 can directly transmit the received audio signal to the terminal device using the terminal device connection component 103. At this time, audio monitoring can be achieved using the audio dock 102. Therefore, the monitoring channel b between the Bluetooth master controller 101 and the audio dock 102 needs to be established. Since the audio dock 102 receives analog signals, while the Bluetooth master controller 101 receives digital audio signals, the Bluetooth master controller 101 needs to use its integrated audio ADC module to convert the digital audio signal into an analog audio signal, and then transmit this analog audio signal to the monitoring channel b. The monitoring channel b can convert the audio signal into an audio signal suitable for monitoring, and then transmit this audio signal to the audio dock 102. At this time, a matching monitoring device can be inserted into the audio dock 102 to achieve audio monitoring. For example, when the terminal device connection component 103 is in data transmission mode, a wired headphone with a plug compatible with the audio dock 102 can be inserted into the audio dock 102 to achieve audio monitoring. In this embodiment, the monitoring channel b converts the audio signal into an audio signal suitable for monitoring. This conversion can be performed using a corresponding signal conversion component or a controller that can perform the conversion. This embodiment does not impose any specific limitations, as long as the audio signal in the monitoring channel b can be converted into an audio signal suitable for monitoring.
[0076] When the terminal device connection component 103 is in static mode, i.e., not in data transmission mode, the Bluetooth master controller 101 needs to use the audio dock 102 to transmit audio signals with the terminal device. Therefore, the linear output channel a between the Bluetooth master controller 101 and the audio dock 102 needs to be activated. The Bluetooth master controller 101 uses the linear output channel a to transmit the audio signal (i.e., analog audio signal) to the audio dock 102. At this time, a cable matching the audio dock 102 can be used to connect the audio dock 102 and the terminal device. The audio dock 102 transmits the received analog audio signal from the terminal device connection component 103 to the terminal device through the cable. For example, if the audio connector 102 is a 3.5mm audio connector, when not in data transmission mode, it can be connected to the Linein interface of terminal devices such as cameras, mixers, and sound cards using a 3.5mm TRS to TRS audio cable. It can also be connected to terminal devices with MICIN interfaces such as computers and mobile phones using a 3.5mm TRS to TRS audio cable. Alternatively, it can be connected to a Type-C to 3.5mm TRS audio adapter cable first, and then connected to the Type-C port of terminal devices such as Android phones.
[0077] In this embodiment, the linear output channel a between the Bluetooth master controller 101 and the audio dock 102, and the monitoring channel b between the Bluetooth master controller 101 and the audio dock 102, can be switched between the two channels by setting a switch. For example, a first switch is set in the linear output channel a, and a second switch is set in the monitoring channel b. When it is necessary to conduct the linear output channel a, the Bluetooth master controller 101 controls the first switch to close and the second switch to open, so as to conduct the linear output channel a. When it is necessary to conduct the monitoring channel b, the Bluetooth master controller 101 controls the second switch to close and the first switch to open, so as to conduct the monitoring channel b. This embodiment can also utilize the connection between different pins of the Bluetooth master controller 101 and the audio jack 102 to control the output of audio signals from different pins, thereby enabling the conduction of different channels. For example, the connection between the first output pin of the Bluetooth master controller 101 and the audio jack 102 is a linear output channel a, and the connection between the second output pin of the Bluetooth master controller 101 and the audio jack 102 is a monitoring channel b. When linear output channel a needs to be activated, the Bluetooth master controller 101 controls the first output pin to output an audio signal, thus enabling linear output channel a. When monitoring channel b needs to be activated, the Bluetooth master controller 101 controls the second output pin to output an audio signal, thus enabling monitoring channel b. This embodiment does not specifically limit the specific method of switching between linear output channel a and monitoring channel b, as long as it enables monitoring channel b when the terminal device connection component 103 is in data transmission mode and linear output channel a when the terminal device connection component 103 is not in data transmission mode.
[0078] The audio receiving device in this embodiment switches between linear output and monitoring functions of the audio dock 102 depending on whether the terminal device connection component 103 is in data transmission mode. This allows the audio dock 102 to perform both linear output and monitoring functions by setting up one audio dock 102, reducing the number of audio docks 102 required, reducing the board area of the audio receiving device, and thus reducing the size of the audio receiving device and improving its portability.
[0079] As an optional implementation method, such as Figure 2As shown in another embodiment of this application, a headphone amplifier assembly 104 and a headphone amplifier are provided in the monitoring channel b of the audio receiving device. The headphone amplifier assembly 104 can amplify the received audio signal so that the audio signal transmitted to the audio dock 102 is suitable for the monitoring device connected to the audio dock 102. Specifically, when the Bluetooth master controller 101 determines that the terminal device connection assembly 103 is in the data transmission working mode, the Bluetooth master controller 101 controls the monitoring channel b between the Bluetooth master controller 101 and the audio dock 102 to be turned on. The Bluetooth master controller 101 transmits the audio signal (i.e., analog audio signal) through the monitoring channel b to the headphone amplifier assembly 104 provided in the monitoring channel b. The headphone amplifier assembly 104 amplifies the received audio signal and then outputs the amplified audio signal. The amplified audio signal continues to be transmitted to the audio dock 102 through the monitoring channel b so that the monitoring device connected to the audio dock 102 can receive the amplified audio signal and realize audio monitoring.
[0080] As an optional implementation method, such as Figure 2 As shown in another embodiment of this application, the audio receiving device further includes an audio analog switch 105. The Bluetooth master controller 101 is connected to the audio dock 102 via the audio analog switch 105. The audio analog switch 105 is used to, based on the control of the Bluetooth master controller 101, either activate the linear transmission channel a between the Bluetooth master controller 101 and the audio dock 102, or activate the monitoring channel b between the Bluetooth master controller 101 and the audio dock 102. Specifically, when the Bluetooth master controller 101 determines that the terminal device connection component 103 is in data transmission mode, the Bluetooth master controller 101 controls the audio analog switch 105 to activate the monitoring channel b between the Bluetooth master controller 101 and the audio dock 102; when the Bluetooth master controller 101 determines that the terminal device connection component 103 is not in data transmission mode, the Bluetooth master controller 101 controls the audio analog switch 105 to activate the linear transmission channel a between the Bluetooth master controller 101 and the audio dock 102.
[0081] For example, the audio analog switch 105 in this embodiment can be a double-pole double-throw switch, or a chip capable of simulating a double-pole double-throw switch function. Figure 3As shown, the audio signals received by the Bluetooth master controller 101 include a left channel audio signal L0 and a right channel audio signal R0. Therefore, the ADC pins of the Bluetooth master controller 101 include left channel pins and right channel pins. The left channel pins of the Bluetooth master controller 101 are connected to the NC1 pin of the audio analog switch 105 and the headphone amplifier assembly 104, respectively. The right channel pins of the Bluetooth master controller 101 are connected to the NC2 pin of the audio analog switch 105 and the headphone amplifier assembly 104. The audio dock 102 and the headphone amplifier assembly 104 also include left channel pins and right channel pins. The left channel pin of the audio dock 102 is connected to the COM1 pin of the audio analog switch 105, and the right channel pin of the audio dock 102 is connected to the COM2 pin of the audio analog switch 105. The left channel pin of the headphone amplifier assembly 104 is connected to the NO1 pin of the audio analog switch 105, and the right channel pin of the headphone amplifier assembly is connected to the NO2 pin of the audio analog switch 105. The GPIO pins of the Bluetooth host controller 101 are connected to pins IN1 and IN2 of the audio analog switch 105, respectively.
[0082] When the Bluetooth master controller 101 determines that the terminal device connection component 103 is in the data transmission working mode, the Bluetooth master controller 101 outputs a first signal through the GPIO pin. This first signal is transmitted to the IN1 and IN2 pins of the audio analog switch 105, so that the IN1 pin controls the conduction between the COM1 and NO1 pins of the audio analog switch based on the first signal, and the IN2 pin controls the conduction between the COM2 and NO2 pins of the audio analog switch based on the first signal. This enables the conduction between the left channel pin of the audio dock 102 and the left channel pin of the headphone amplifier component 104, as well as the conduction between the right channel pin of the audio dock 102 and the right channel pin of the headphone amplifier component 104. At this time, the left channel audio signal L0 output from the left channel pin of the Bluetooth master controller 101 is amplified by the headphone amplifier assembly 104. The amplified left channel audio signal L1 is output from the left channel pin of the headphone amplifier assembly 104. The amplified left channel audio signal L1 is transmitted to the left channel pin of the audio dock 102 through the path formed by pin NO1 and pin COM1 of the audio analog switch 105, and serves as the left channel audio signal L received by the audio dock 102. The right channel audio signal R0 output from the right channel pin of the Bluetooth master controller 101 is amplified by the headphone amplifier assembly 104. The amplified right channel audio signal R1 is output from the right channel pin of the headphone amplifier assembly 104. The amplified right channel audio signal R1 is transmitted to the right channel pin of the audio dock 102 through the path formed by pin NO2 and pin COM2 of the audio analog switch 105, and serves as the right channel audio signal R received by the audio dock 102.
[0083] When the Bluetooth master controller 101 determines that the terminal device connection component 103 is not in data transmission mode, the Bluetooth master controller 101 outputs a second signal through the GPIO pin. This second signal is transmitted to pins IN1 and IN2 of the audio analog switch 105, so that pin IN1 controls the conduction between pins COM1 and NC1 of the audio analog switch based on the second signal, and pin IN2 controls the conduction between pins COM2 and NC2 of the audio analog switch based on the second signal. This enables the conduction between the left channel pin of the audio dock 102 and the left channel pin of the Bluetooth master controller 101, as well as the conduction between the right channel pin of the audio dock 102 and the right channel of the Bluetooth master controller 101. At this time, the left channel audio signal L0 output by the left channel pin of the Bluetooth master controller 101 is transmitted to the left channel pin of the audio dock 102 through the path formed by pins NC1 and COM1 of the audio analog switch 105, serving as the left channel audio signal L received by the audio dock 102. The right channel audio signal R0 output from the right channel pin of the Bluetooth host controller 101 is transmitted to the right channel pin of the audio dock 102 through the path formed by the pins NC2 and COM2 of the audio analog switch 105, and is received by the audio dock 102 as the right channel audio signal R.
[0084] As an optional implementation method, such as Figure 4 As shown in another embodiment of this application, a terminal device connection component 103 in an audio receiving device includes a connection adapter 1031 and a terminal device adapter 1032. The first end of the connection adapter 1031 is connected to the Bluetooth host controller 101. The terminal device adapter 1032 is an independently configured module. When it is necessary to use the terminal device adapter 1032 to establish a connection between the Bluetooth host controller 101 and a terminal device, the terminal device adapter 1032 can be inserted into the audio receiving device to connect the second end of the connection adapter 1031. This allows the Bluetooth host controller 101 to connect to the terminal device adapter 1032 via the connection adapter 1031, enabling signal transmission between the Bluetooth host controller 101 and the terminal device adapter 1032. The terminal device adapter 1032 connects to a terminal device that is compatible with it, thereby transmitting the audio signal sent by the Bluetooth host controller 101 to the terminal device.
[0085] As an optional implementation, if the terminal device connection component includes a connection adapter 1031 and a terminal device adapter 1032, and the terminal device adapter 1032 is provided with a resistor, when the terminal device adapter 1032 is inserted into the audio receiving device and connected to the second end of the connection adapter 1031, the connection adapter 1031 sends the voltage signal emitted by the Bluetooth master controller 101 to the terminal device adapter. The resistor provided in the terminal device adapter 1032 will divide the voltage signal and feed back the divided voltage signal to the Bluetooth master controller 101. That is, the connection adapter 1031 transmits the divided voltage signal fed back by the terminal device adapter 1032 to the Bluetooth master controller 101. When the terminal device adapter 1032 is not inserted into the audio receiving device, since there is no resistor in the terminal device adapter 1032 to divide the voltage signal emitted by the Bluetooth master controller 101, the voltage division signal fed back to the Bluetooth master controller 101 by the connection adapter 1031 will necessarily be different from the voltage division signal fed back to the Bluetooth master controller 101 when the terminal device adapter 1032 is inserted into the audio receiving device and connected to the second end of the connection adapter 1031.
[0086] The Bluetooth master controller 101 can receive the voltage divider signal sent by the connection adapter 1031 and determine whether the terminal device adapter 1032 is plugged into the audio receiving device and connected to the second end of the connection adapter 1031 based on the voltage divider signal. When the difference between the voltage value corresponding to the voltage divider signal received by the Bluetooth master controller 101 and the voltage value corresponding to the voltage signal pre-sent by the Bluetooth master controller 101 is within a preset voltage difference range, it indicates that the voltage signal pre-sent by the Bluetooth master controller 101 has not been divided, and therefore it is determined that the terminal device adapter 1032 is not connected to the connection adapter 1031. When the difference between the voltage value corresponding to the voltage divider signal received by the Bluetooth master controller 101 and the voltage value corresponding to the voltage signal pre-sent by the Bluetooth master controller 101 exceeds the preset voltage difference range, it indicates that the voltage signal pre-sent by the Bluetooth master controller 101 has been divided, and therefore it is determined that the terminal device adapter 1032 is connected to the connection adapter 1031. If the terminal device adapter 1032 is connected to the connection adapter 1031, the Bluetooth master controller 101 determines that the terminal device connection component 103 is in the data transmission working mode; if the terminal device adapter 1032 is not connected to the connection adapter 1031, the Bluetooth master controller 101 determines that the terminal device connection component 103 is not in the data transmission working mode.
[0087] This embodiment, by setting up a terminal device adapter 1032, allows the terminal device adapter to be directly inserted into the terminal device's jack when connected to a terminal device, eliminating the need for cable connections and improving the convenience of the audio receiving device.
[0088] As an optional implementation method, such as Figure 4 and Figure 5 As shown in another embodiment of this application, the terminal device adapter 1032 includes either a first terminal device adapter 10321 or a second terminal device adapter 10322. Since only one adapter 1031 is provided in this embodiment, the first terminal device adapter 10321 and the second terminal device adapter 10322 cannot be simultaneously inserted into the audio receiving device; only one can be selected and inserted into the audio receiving device to connect to the adapter 1031. The first terminal device adapter 10321 is provided with a first resistor R1, and the second terminal device adapter 10322 is provided with a second resistor R2, wherein the resistance values of the first resistor R1 and the second resistor R2 are different. Because the two resistors have different resistance values, their voltage division capabilities are also different. Therefore, the voltage value corresponding to the voltage division signal fed back by the first terminal device adapter 10321 after receiving the voltage signal sent by the connection adapter 1031 will inevitably be different from the voltage value corresponding to the voltage division signal fed back by the second terminal device adapter 10322 after receiving the voltage signal sent by the connection adapter 1031. In this embodiment, a first pressure range and a second pressure range are preset. The voltage corresponding to the voltage signal sent by the Bluetooth master controller 101 is the original voltage. The first pressure range is the range of voltage values after the original voltage is divided by the first resistor R1, and the second pressure range is the range of voltage values after the original voltage is divided by the second resistor R2. If the pressure value corresponding to the voltage divider signal sent by the connection adapter 1031 received by the Bluetooth master controller 101 is within the first pressure range, it is determined that the first terminal device adapter 10321 is connected to the connection adapter 1031; if the pressure value corresponding to the voltage divider signal sent by the connection adapter 1031 received by the Bluetooth master controller 101 is within the second pressure range, it is determined that the second terminal device adapter 10322 is connected to the connection adapter 1031; if the pressure value corresponding to the voltage divider signal sent by the connection adapter 1031 received by the Bluetooth master controller 101 is the original voltage, it is determined that the connection adapter 1031 is not connected to the terminal device adapter. In this embodiment, different types of terminal device adapters may require different parameter information in the audio signal. Therefore, by identifying the terminal device adapter connected to the connection adapter 1031, the Bluetooth master controller 101 can configure the parameter information in the transmitted audio signal according to the type of the connected terminal device adapter, such as volume parameters, thereby improving the matching degree between the audio signal transmitted by the Bluetooth master controller 101 and the terminal device adapter.
[0089] Specifically, pins DEC1_CTRL of the first terminal device adapter 10321 and the second terminal device adapter 10322 can both be connected to pin DEC1_CTRL of the connection adapter 1031. The GPIO pin of the Bluetooth master controller 101 is connected to the connection adapter 1031. The Bluetooth master controller 101 is connected to the power supply V via resistor R3.
[0090] For example, the resistance of the first resistor R1 is set to 100K, the resistance of the second resistor R2 is set to 10K, the resistance of the third resistor R3 is set to 100K, and the voltage of the power supply V is set to 3.1V. When the pin DEC1_CTRL of the first terminal device adapter 10321 is connected to the pin DEC1_CTRL of the connection adapter 1031, the voltage received by the GPIO pin of the Bluetooth master controller 101 is 1.55V, and the first pressure range is set to ±10% of 1.55V. When the pin DEC1_CTRL of the second terminal device adapter 10322 is connected to the pin DEC1_CTRL of the connection adapter 1031, the voltage received by the GPIO pin of the Bluetooth master controller 101 is 0.28V, and the second pressure range is set to ±10% of 0.28V. When adapter 1031 is used as a terminal device adapter, the voltage received by the GPIO pin of Bluetooth master controller 101 is 3.1V, and the original voltage is set to 3.1V. At this time, the type of terminal device adapter connected to adapter 1031 can be determined based on the pressure value corresponding to the voltage divider signal received by Bluetooth master controller 101.
[0091] As an optional implementation, another embodiment of this application discloses that the first terminal device adapter 10321 takes a digital audio signal as input, and the second terminal device adapter 10322 takes an analog audio signal as input. The Bluetooth master controller 101 receives the digital audio signal sent by the audio transmitter. If the first terminal device adapter 10321 is inserted into the audio receiving device and connected to the connection adapter 1031, the Bluetooth master controller 101 uses its integrated USB module to directly transmit the digital audio signal to the first terminal device adapter 10321 through the connection adapter 1031. If the second terminal device adapter 10322 is inserted into the audio receiving device and connected to the connection adapter 1031, the Bluetooth master controller 101 uses its integrated ADC module to convert the digital audio signal into an analog audio signal and transmits the analog audio signal to the second terminal device adapter 10322 through the connection adapter 1031. This embodiment can support the transmission of both digital and analog audio signals, improving the compatibility of audio receiving devices. Furthermore, by using digital audio formats to transmit audio signals, it can increase the anti-interference capability of audio signals during transmission.
[0092] As an optional implementation, another embodiment of this application discloses that the terminal device connection component 103 includes a device socket 1033. This device socket 1033 is connected to the Bluetooth host 101 and can connect to a terminal device via a transmission cable adapted to the device socket 1033, outputting audio signals sent by the Bluetooth host 101 to the terminal device. The device socket 1033 can be a socket that accepts digital audio signals as input or a socket that accepts analog audio signals as input.
[0093] The Bluetooth host controller 101 can obtain the USB enumeration signal corresponding to the device socket 1033 via the USB protocol. Based on this USB enumeration signal, it determines whether the device socket 1033 has been successfully enumerated via USB. If the USB enumeration is successful, it means that the device socket 1033 is connected to the terminal device; if the USB enumeration is unsuccessful, it means that the device socket 1033 is not connected to the terminal device. If the device socket 1033 is connected to the terminal device, the Bluetooth host controller 101 determines that the terminal device connection component 103 is in the data transmission working mode; if the device socket 1033 is not connected to the terminal device, the Bluetooth host controller 101 determines that the terminal device connection component 103 is not in the data transmission working mode.
[0094] In this embodiment, the device socket 1033 can also be connected to the power supply component in the audio receiving device. The power supply component in the audio receiving device can be charged through the connection of the device socket 1033 to an external power source.
[0095] As an optional implementation method, such as Figure 6As shown in another embodiment of this application, the audio receiving device further includes a USB analog switch 106. The terminal device connection component 103 includes a connection adapter 1031, a first terminal device adapter 10321, and a device socket 1033. Both the first terminal device adapter 10321 and the device socket 1033 accept digital audio signals as input. The first terminal device adapter 10321 is connected to the USB analog switch 106 via the connection adapter 1031. The USB analog switch 106 is connected to both the Bluetooth host controller 101 and the device socket 1033. The first terminal device adapter 10321 is inserted into the audio receiving device and connected to the connection adapter 1031. When the first terminal device adapter 10321 is connected to the terminal device, it sends a voltage signal carrying a preset voltage to the USB analog switch 106. This voltage signal causes the USB analog switch 106 to open the path between the first terminal device adapter 10321 and the Bluetooth host controller 101. When the first terminal device adapter 10321 is not connected to the terminal device, or when the connection adapter 1031 is not connected to the terminal device adapter, the voltage signal received by the USB analog switch 106 indicates no voltage. In this case, the USB analog switch 106 opens the path between the device socket 1033 and the Bluetooth host controller 101. The preset voltage is the voltage value corresponding to the voltage signal received by the USB analog switch 106 when the first terminal device adapter 10321 is connected to the terminal device.
[0096] For example, the USB analog switch 106 in this embodiment can be a double-pole double-throw switch, or a chip capable of simulating a double-pole double-throw switch function. Figure 7 As shown, the Bluetooth host controller 101 is connected to pins COM1 and COM2 of the USB analog switch 106. The digital audio signal output by the Bluetooth host controller 101 includes a DP signal and a DM signal. The DP signal is input to pin COM1 of the USB analog switch 106, and the DM signal is input to pin COM2 of the USB analog switch 106. Pin DP of the device socket 1033 is connected to pin NC1 of the USB analog switch 106, and pin DM of the device socket 1033 is connected to pin NC2 of the USB analog switch 106. Pin DP of the first terminal device adapter 10321 is connected to pin NO1 of the USB analog switch 106, and pin DM of the first terminal device adapter 10321 is connected to pin NO2 of the USB analog switch 106. Specifically, pin DP of the first terminal device adapter 10321 is connected to pin NO1 of the USB analog switch 106 via adapter 1031, and pin DM of the first terminal device adapter 10321 is connected to pin NO2 of the USB analog switch 106 via adapter 1031. Figure 7 (Not shown). The VBUS pin of the first terminal device adapter 10321 is grounded through the fourth resistor R4 and the fifth resistor R5. The S pin of the USB analog switch 106 is connected to the fourth resistor R4 and the fifth resistor R5, respectively. The resistance of the fourth resistor R4 is 68KΩ, and the resistance of the fifth resistor R5 is 100KΩ. A 5.1KΩ resistor is connected to GND on the CC pin of the first terminal device adapter 10321. Figure 7 Not shown in the image.
[0097] like Figure 7 As shown, when the first terminal device adapter 10321 is connected to the terminal device, the voltage value of the VBUS pin of the first terminal device adapter 10321 is 5V. After being divided by the voltage divider circuit formed by the fourth resistor R4 and the fifth resistor R5, a voltage of 3.1V is obtained. This voltage signal is transmitted to the pin S of the USB analog switch 106 to set the pin S of the USB analog switch 106 to 1. The logic gate LOGIC controls the pin COM1 of the USB analog switch 106 to connect to the pin NO1, and the pin COM2 of the USB analog switch 106 to connect to the pin NO2, thereby realizing the conduction of the path between the first terminal device adapter 10321 and the Bluetooth host controller 101. When the first terminal device adapter 10321 is not connected to a terminal device, its pin VBUS has no voltage. Therefore, the voltage signal transmitted to pin S of the USB analog switch 106 also indicates no voltage. At this time, pin S of the USB analog switch 106 is set to 0. The logic gate LOGIC controls pin COM1 of the USB analog switch 106 to connect to pin NC1, and pin COM2 to connect to pin NC2, thus establishing a conductive path between device socket 1033 and Bluetooth host controller 101. When the first terminal device adapter 10321 is connected to a terminal device, and device socket 1033 is also connected to the terminal device via a transmission cable, only the path between the first terminal device adapter 10321 and Bluetooth host controller 101 is established, while the path between device socket 1033 and Bluetooth host controller 101 is disconnected. This ensures that the path priority of the first terminal device adapter 10321 is higher than that of device socket 1033.
[0098] In this embodiment, the USB analog switch 106 can automatically trigger a switching action based on whether the first terminal device adapter 10321 is connected to the terminal device, thus realizing that the path priority of the first terminal device adapter 10321 is greater than that of the device socket 1033. This allows the device socket to be used when the terminal device adapter can be used, thereby reducing the need to connect the terminal device with a cable and improving the convenience of the audio receiving device.
[0099] Furthermore, in this embodiment, the connector 1031 preferably uses a Pogopin connector, the first terminal device connector 10321 preferably uses a Type-C connector, the second terminal device connector 10322 preferably uses a Lightning connector, and the device socket 1033 includes a Type-C socket, a USB socket, etc., preferably using a Type-C socket. The Type-C connector takes a digital audio signal as input and directly transmits the digital audio signal to the connected terminal device. The Lightning connector takes an analog audio signal as input, converts the analog audio signal to a digital audio signal, and then transmits the digital audio signal to the connected terminal device. The Pogopin connector includes eight contacts: MIC, AGND, GND, DEC1_CTRL, VBUS, CC, DP, and DM. The first end of the Type-C adapter is the Type-C end, used for insertion into the Type-C jack of the terminal device. The second end of the Type-C adapter has eight contacts: NC, NC, GND, DEC1_CTRL, VBUS, CC, DP, and DM. The same contacts on the second end of the Type-C adapter are interconnected with those on the Pogopin adapter. The first end of the Lightning adapter is the Lightning end, used for insertion into the Lightning jack of the terminal device. The second end of the Lightning adapter has four contacts: AGND, MIC, GND, and DEC1_CTRL. The same contacts on the second end of the Lightning adapter are interconnected with those on the Pogopin adapter. The connections of the contacts in these adapters have been shown in the circuit diagram above and will not be described in detail in this embodiment.
[0100] Exemplary methods
[0101] This application provides an audio allocation method, which can be executed by the Bluetooth host 101 in the audio receiving device of the above embodiments. The audio receiving device also includes an audio dock 102 connected to the Bluetooth host 101. See also... Figure 8 As shown, the method includes:
[0102] S801. Determine whether the terminal device connection component of the audio receiving device is in data transmission mode. If yes, proceed to step S803; if no, proceed to step S802.
[0103] S802: Enables the linear output channel between the Bluetooth host and the audio dock. The linear output channel transmits the audio signal received by the Bluetooth host to the audio dock.
[0104] S803: Controls the connection of the monitoring channel between the Bluetooth host and the audio dock. The monitoring channel is used to convert the audio signal received by the Bluetooth host into a suitable audio signal for monitoring and transmit it to the audio dock.
[0105] The audio distribution method in this embodiment switches between linear output and monitoring functions of the audio socket based on whether the terminal device connection component is in data transmission mode. This allows for the use of a single audio socket to perform both linear output and monitoring functions, reducing the number of audio sockets required and the board area of the audio receiving device. Consequently, the size of the audio receiving device is reduced, and its portability is improved.
[0106] As an optional implementation, another embodiment of this application discloses that a headphone amplifier component is provided in the monitoring channel for amplifying the audio signal output by the Bluetooth master controller and transmitting it to the audio dock.
[0107] As an optional implementation, another embodiment of this application discloses that the audio receiving device also includes an audio analog switch; the Bluetooth master controller is connected to the audio socket through the audio analog switch.
[0108] In the above audio distribution method, step S802, controlling the linear output channel between the Bluetooth host and the audio dock to be connected, includes:
[0109] The control audio analog switch enables the linear transmission channel between the Bluetooth host and the audio dock.
[0110] Step S803 in the above audio distribution method, controlling the connection of the monitoring channel between the Bluetooth host and the audio dock, includes:
[0111] Control the audio analog switch to enable the monitoring channel between the Bluetooth host and the audio dock.
[0112] As an optional implementation, another embodiment of this application discloses a terminal device connection component, including: a connection adapter and a terminal device adapter;
[0113] A connector adapter is used to connect the Bluetooth host and the terminal device adapter, and to enable signal transmission between the Bluetooth host and the terminal device adapter.
[0114] A terminal device adapter is used to connect to a terminal device that is compatible with the adapter, and to transmit audio signals sent by the Bluetooth host to the terminal device.
[0115] In the above audio distribution method, step S801, determining whether the terminal device connection component of the audio receiving device is in data transmission working mode, includes:
[0116] The Bluetooth master controller receives a voltage divider signal sent by the connection adapter. The voltage divider signal is different when the connection adapter is connected to the terminal device adapter and when the connection adapter is not connected to the terminal device adapter.
[0117] The Bluetooth master controller determines whether the terminal device adapter is connected to the connection adapter based on the voltage divider signal;
[0118] If the terminal device adapter is connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is in data transmission working mode;
[0119] If the terminal device adapter is not connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is not in data transmission mode.
[0120] As an optional implementation, another embodiment of this application discloses that the terminal device adapter includes: a first terminal device adapter or a second terminal device adapter; the first terminal device adapter is provided with a first resistor, and the second terminal device adapter is provided with a second resistor;
[0121] The Bluetooth controller determines whether the terminal device adapter is connected to the connection adapter based on the voltage divider signal, including:
[0122] If the Bluetooth master controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the first pressure range, then it determines that the first terminal device adapter is connected to the connection adapter.
[0123] If the Bluetooth controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the second pressure range, then it determines that the second terminal device adapter is connected to the connection adapter.
[0124] If the Bluetooth controller determines that the pressure value corresponding to the voltage divider signal sent by the connection adapter is the original voltage, then it determines that the connection adapter is not connected to the terminal device adapter.
[0125] The first pressure range is the voltage range after the original voltage is divided by the first resistor, and the second pressure range is the voltage range after the original voltage is divided by the second resistor.
[0126] As an optional implementation, another embodiment of this application discloses that the first terminal device adapter takes a digital audio signal as input, and the second terminal device adapter takes an analog audio signal as input;
[0127] The audio allocation method in this embodiment also includes:
[0128] The Bluetooth host receives digital audio signals sent by the audio transmitter;
[0129] If the first terminal device adapter is connected to the connection adapter, the Bluetooth master controller will transmit the digital audio signal to the first terminal device adapter through the connection adapter.
[0130] If the second terminal device adapter is connected to the connection adapter, the Bluetooth master controller converts the digital audio signal into an analog audio signal and transmits the analog audio signal to the second terminal device adapter through the connection adapter.
[0131] As an optional implementation, another embodiment of this application discloses a terminal device connection component, including: a device socket for connecting a terminal device via a transmission cable adapted to the device socket, and outputting audio signals sent by the Bluetooth master controller to the terminal device.
[0132] In the above audio distribution method, step S801, determining whether the terminal device connection component of the audio receiving device is in data transmission working mode, includes:
[0133] The Bluetooth host controller determines whether the device socket is connected to the terminal device based on the USB enumeration signal corresponding to the device socket.
[0134] If the device socket is connected to the terminal device, the Bluetooth host will determine that the terminal device connection component is in data transmission working mode;
[0135] If the device socket is not connected to the terminal device, the Bluetooth controller determines that the terminal device connection component is not in data transmission mode.
[0136] As an optional implementation, another embodiment of this application discloses that the audio receiving device further includes: a USB analog switch;
[0137] The terminal device connection component includes: a connection adapter, a first terminal device adapter, and a device socket; wherein, both the first terminal device adapter and the device socket accept digital audio signals as input;
[0138] The first terminal device adapter is connected to a USB analog switch via a connection adapter;
[0139] The USB analog switch is connected to both the Bluetooth host and the device socket.
[0140] The USB analog switch receives a voltage signal from the first terminal device adapter sent by the connection adapter. If the voltage signal indicates no voltage, it controls the connection between the Bluetooth host and the device socket to be open. If the voltage signal indicates a preset voltage, it controls the connection between the Bluetooth host and the connection adapter to be open. The preset voltage is the voltage value corresponding to the voltage signal received by the USB analog switch when the first terminal device adapter is connected to the terminal device.
[0141] As an optional implementation, another embodiment of this application discloses that the first terminal device adapter includes a Type-C adapter, and the second terminal device adapter includes a Lightning adapter.
[0142] As an optional implementation, another embodiment of this application discloses that the device socket includes a Type-C socket.
[0143] The audio distribution method provided in this embodiment belongs to the same application concept as the audio receiving device provided in the above embodiments of this application. For technical details not described in detail in this embodiment, please refer to the specific processing content of the audio receiving device provided in the above embodiments of this application, which will not be repeated here.
[0144] Exemplary devices, equipment, systems, storage media, and computer program products
[0145] Corresponding to the above-described audio distribution method, this application also discloses an audio distribution device applied to a Bluetooth master controller in an audio receiving device. The audio receiving device further includes an audio dock connected to the Bluetooth master controller. See also Figure 9 As shown, the device includes:
[0146] The judgment module 100 is used to determine whether the terminal device connection component of the audio receiving device is in the data transmission working mode.
[0147] Control module 110 is used to control the linear output channel between the Bluetooth master controller and the audio dock to be turned on if the terminal device connection component is not in the data transmission working mode. The linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock.
[0148] The control module 110 is also configured to, if the terminal device connection component is in data transmission mode, control the monitoring channel between the Bluetooth master controller and the audio dock to be turned on, wherein the monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock.
[0149] The audio distribution device in this embodiment switches between linear output and monitoring functions of the audio socket based on whether the terminal device connection component is in data transmission mode. This allows for the use of a single audio socket to perform both linear output and monitoring functions, reducing the number of audio sockets required and the board area of the audio receiving device. Consequently, the size of the audio receiving device is reduced, and its portability is improved.
[0150] The audio distribution device provided in this embodiment belongs to the same concept as the audio distribution method provided in the above embodiments of this application. It can execute the audio distribution method provided in any of the above embodiments of this application and has the corresponding functional modules and beneficial effects for executing the audio distribution method. Technical details not described in detail in this embodiment can be found in the specific processing content of the audio distribution method and audio receiving device provided in the above embodiments of this application, and will not be repeated here.
[0151] Corresponding to the above-described audio allocation method, this application also discloses an electronic device, see [link to relevant documentation]. Figure 10 As shown, the electronic device includes:
[0152] Memory 200 and processor 210;
[0153] The memory 200 is connected to the processor 210 and is used to store programs;
[0154] The processor 210 is configured to implement the audio allocation method disclosed in any of the above embodiments by running a program stored in the memory 200.
[0155] Specifically, the aforementioned electronic device may further include: a bus, a communication interface 220, an input device 230, and an output device 240.
[0156] The processor 210, memory 200, communication interface 220, input device 230, and output device 240 are interconnected via a bus. Among them:
[0157] A bus can include a pathway for transmitting information between various components of a computer system.
[0158] The processor 210 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0159] Processor 210 may include a main processor, as well as a baseband chip, modem, etc.
[0160] The memory 200 stores a program for executing the technical solution of this application, and may also store an operating system and other critical business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 200 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.
[0161] Input device 230 may include a device for receiving user input data and information, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.
[0162] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0163] The communication interface 220 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0164] The processor 210 executes the program stored in the memory 200 and calls other devices, which can be used to implement the various steps of the audio distribution method provided in the above embodiments of this application.
[0165] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the audio allocation method according to embodiments of this application described in the "Exemplary Methods" section of this specification.
[0166] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0167] Furthermore, embodiments of this application may also be storage media storing a computer program, which is executed by a processor from the steps of the audio allocation methods according to various embodiments of this application described in the "Exemplary Methods" section above.
[0168] Another embodiment of this application provides a storage medium storing a computer program that, when executed by a processor, implements the various steps of the audio allocation method provided in any of the above embodiments.
[0169] This application also discloses a wireless audio system, see [link to relevant documentation] Figure 11 As shown, the wireless audio system includes an audio acquisition device 300 and an audio receiving device 310 as described in the above embodiment. The audio transmitter 301 in the audio acquisition device 300 is connected to the audio receiving device 310 via a wireless signal.
[0170] The audio acquisition device 300 is used to acquire the user's audio information and transmits the acquired audio information to the audio receiving device 310 via wireless signal transmission using the audio transmitter 301. Specifically, it can be a wireless microphone device that acquires the user's audio information through the microphone head and then transmits the audio information through the audio transmitter 301.
[0171] The functions and specific processing procedures of the audio receiving device 310, as well as the functions and technical effects that the wireless audio system can achieve, can all be found in the above-described embodiments of the audio receiving device.
[0172] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0173] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0174] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.
[0175] The modules and sub-modules in the apparatus and terminal in the various embodiments of this application can be merged, divided, and deleted according to actual needs.
[0176] It should be understood, in the several embodiments provided in this application, that the disclosed terminals, devices, and methods can be implemented in other ways. For example, the terminal embodiments described above are merely illustrative; for instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0177] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.
[0178] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.
[0179] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0180] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0181] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0182] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An audio receiving device, characterized in that, include: Bluetooth host and audio dock connected to the Bluetooth host; The Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission working mode; If the terminal device connection component is not in data transmission mode, the Bluetooth master controller controls the linear output channel between the Bluetooth master controller and the audio dock to be turned on. The linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock. If the terminal device connection component is in data transmission mode, the Bluetooth master controller controls the monitoring channel between the Bluetooth master controller and the audio dock to be turned on. The monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock.
2. The audio receiving device according to claim 1, characterized in that, The monitoring channel is equipped with a headphone amplifier component; The headphone amplifier assembly is used to amplify the audio signal output by the Bluetooth host and transmit it to the audio dock.
3. The audio receiving device according to claim 1, characterized in that, Also includes: Audio analog switch; The Bluetooth host controller is connected to the audio socket via the audio analog switch; The audio analog switch is used to activate the linear transmission channel between the Bluetooth master controller and the audio dock, or to activate the monitoring channel between the Bluetooth master controller and the audio dock, based on the control of the Bluetooth master controller.
4. The audio receiving device according to claim 1, characterized in that, The terminal device connection component includes: a connection adapter and a terminal device adapter; The connection adapter is used to connect the Bluetooth host controller and the terminal device adapter, and to realize signal transmission between the Bluetooth host controller and the terminal device adapter; The terminal device adapter is used to connect to a terminal device that is compatible with the terminal device adapter, and to transmit the audio signal sent by the Bluetooth host to the terminal device.
5. The audio receiving device according to claim 4, characterized in that, The Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission mode, including: The Bluetooth master controller receives a voltage divider signal sent by the connection adapter, and the voltage divider signal is different when the connection adapter is connected to the terminal device adapter and when the connection adapter is not connected to the terminal device adapter; The Bluetooth master controller determines whether the terminal device adapter is connected to the connection adapter based on the voltage divider signal; If the terminal device adapter is connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is in data transmission working mode; If the terminal device adapter is not connected to the connection adapter, the Bluetooth master controller determines that the terminal device connection component is not in data transmission mode.
6. The audio receiving device according to claim 4, characterized in that, The terminal device adapter includes: a first terminal device adapter or a second terminal device adapter; The first terminal device adapter is provided with a first resistor, and the second terminal device adapter is provided with a second resistor; If the Bluetooth master controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the first pressure range, then it determines that the first terminal device adapter is connected to the connection adapter. If the Bluetooth master controller determines that the pressure value corresponding to the pressure divider signal sent by the connection adapter is within the second pressure range, then it determines that the second terminal device adapter is connected to the connection adapter. If the Bluetooth master controller determines that the pressure value corresponding to the voltage divider signal sent by the connection adapter is the original voltage, then it determines that the connection adapter is not connected to the terminal device adapter. Wherein, the first pressure range is the voltage value range of the original voltage after being divided by the first resistor, and the second pressure range is the voltage value range of the original voltage after being divided by the second resistor.
7. The audio receiving device according to claim 6, characterized in that, The first terminal device adapter takes a digital audio signal as input, while the second terminal device adapter takes an analog audio signal as input. The Bluetooth host controller receives digital audio signals sent by the audio transmitter; If the first terminal device adapter is connected to the connection adapter, the Bluetooth master controller transmits the digital audio signal to the first terminal device adapter through the connection adapter. If the second terminal device adapter is connected to the connection adapter, the Bluetooth master controller converts the digital audio signal into an analog audio signal and transmits the analog audio signal to the second terminal device adapter through the connection adapter.
8. The audio receiving device according to claim 1, characterized in that, The terminal device connection component includes: a device socket; The device socket is used to connect a terminal device via a transmission cable adapted to the device socket, and to output the audio signal sent by the Bluetooth host to the terminal device.
9. The audio receiving device according to claim 8, characterized in that, The Bluetooth master controller determines whether the terminal device connection component of the audio receiving device is in data transmission mode, including: The Bluetooth master controller determines whether the device socket is connected to a terminal device based on the USB enumeration signal corresponding to the device socket. If the device socket is connected to a terminal device, the Bluetooth host controller determines that the terminal device connection component is in data transmission mode; If the device socket is not connected to a terminal device, the Bluetooth controller determines that the terminal device connection component is not in data transmission mode.
10. The audio receiving device according to claim 1, characterized in that, Also includes: USB analog switch; The terminal device connection component includes: a connection adapter, a first terminal device adapter, and a device socket; wherein, both the first terminal device adapter and the device socket accept digital audio signals as input; The first terminal device adapter is connected to the USB analog switch via the connection adapter; The USB analog switch is connected to the Bluetooth host and the device socket respectively; The USB analog switch receives a voltage signal from the first terminal device adapter sent by the connection adapter. If the voltage signal indicates no voltage, it controls the connection between the Bluetooth host controller and the device socket to be open. If the voltage signal indicates a preset voltage, it controls the connection between the Bluetooth host controller and the connection adapter to be open. The preset voltage is the voltage value corresponding to the voltage signal received by the USB analog switch when the first terminal device adapter is connected to the terminal device.
11. An audio allocation method, characterized in that, A Bluetooth master controller for use in an audio receiving device, the audio receiving device further including an audio dock connected to the Bluetooth master controller; The audio allocation method includes: Determine whether the terminal device connection component of the audio receiving device is in data transmission working mode; If the terminal device connection component is not in data transmission mode, the linear output channel between the Bluetooth master controller and the audio dock is turned on, and the linear output channel is used to transmit the audio signal received by the Bluetooth master controller to the audio dock; If the terminal device connection component is in data transmission mode, it controls the monitoring channel between the Bluetooth master controller and the audio dock to be turned on. The monitoring channel is used to convert the audio signal received by the Bluetooth master controller into an audio signal suitable for monitoring and transmit it to the audio dock.
12. An electronic device, characterized in that, include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is configured to implement the audio allocation method as described in claim 11 by running a program in the memory.
Citation Information
Patent Citations
Microphone assembly and audio output control method thereof
CN117579968A