Audio transmission system, electronic equipment and audio transmission method
Patent Information
- Application Number
- CN202480034040.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-23
- Filing Date
- 2024-05-22
- Publication Date
- 2025-12-26
AI Technical Summary
Existing audio transmission systems are difficult to compatible with different audio transmission protocols when switching audio transmission channels, resulting in discontinuous audio signal transmission, affecting the system's audio transmission effect.
An audio transmission system is designed, and a first audio transmission channel is formed between the main control unit and the speaker unit, a second audio transmission channel is formed between the multimedia processing unit and the speaker unit, and a first switch and a second switch are used. Switch the channel when the audio transmission protocol changes to ensure that the audio signal is transmitted normally under different protocols.
The channel switching is realized when the audio transmission protocol changes, avoiding the impact on audio signal transmission during protocol switching, and improving the stability and effect of the audio transmission system.
Smart Images

Figure CN121219672A_ABST
Abstract
Description
Audio transmission system, electronic device and audio transmission method
[0001] This application claims priority to the Chinese invention patent application with application date of May 23, 2023, application number "202310591605.1", and patent name "Audio Transmission System, Electronic Device and Audio Transmission Method", the entire content of which is hereby incorporated by reference. Technical Field
[0002] The embodiments of the present application relate to the field of audio transmission technology, and in particular to an audio transmission system, electronic equipment, and audio transmission method. Background Art
[0003] Some audio transmission systems have multiple audio transmission channels, each of which uses a different audio transmission protocol to receive audio signals from the outside and transmit them to the speakers. To accommodate a wider range of usage scenarios, it is sometimes necessary to switch audio transmission channels to transmit audio signals.
[0004] Therefore, how to conveniently implement audio transmission channel switching in an audio transmission system is a technical problem that needs to be solved.
[0005] Summary of the Invention
[0006] In view of this, embodiments of the present application provide an audio transmission system, an electronic device, and an audio transmission method to at least partially solve the above problems.
[0007] According to a first aspect of an embodiment of the present application, an audio transmission system is provided, including: a main control unit, a multimedia processing unit, a first switch, a second switch and a speaker unit; a first audio transmission channel is formed between the main control unit and the speaker unit, and a second audio transmission channel is formed between the multimedia processing unit and the speaker unit, wherein the first audio transmission channel is used to receive audio signals transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive audio signals transmitted using a second audio transmission protocol; the first switch is set in the second audio transmission channel, and the second switch is set in the first audio transmission channel; the first switch is configured to: when the main control unit obtains an audio signal from the outside through the first audio transmission protocol so that the audio signal is transmitted in the first audio transmission channel, the second audio transmission channel is disconnected; the second switch is configured to: when the multimedia processing unit, under the control of the main control unit, obtains an audio signal from the outside through the second audio transmission protocol so that the audio signal is transmitted in the second audio transmission channel, the first audio transmission channel is disconnected.
[0008] According to a second aspect of an embodiment of the present application, an electronic device is provided, comprising: an audio transmission system as provided in any one of the first aspects above.
[0009] According to a third aspect of an embodiment of the present application, an audio transmission method is provided, which is applied to a main control unit, wherein a first audio transmission channel is formed between the main control unit and a speaker unit, and a second audio transmission channel is formed between the multimedia processing unit and the speaker unit, the first audio transmission channel is used to receive an audio signal transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive an audio signal transmitted using a second audio transmission protocol, a first switch is set on the second audio transmission channel, and a second switch is set on the first audio transmission channel;
[0010] The method includes:
[0011] In response to adopting the first audio transmission protocol to transmit the audio signal, controlling the first switch to be disconnected so that the first audio transmission channel transmits the audio signal;
[0012] In response to adopting the second audio transmission protocol to transmit the audio signal, the second switch is controlled to be open, so that the second audio transmission channel transmits the audio signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0014] FIG1 is a schematic diagram of an exemplary audio transmission system in the present application.
[0015] FIG2 is a schematic diagram of another exemplary audio transmission system in the present application.
[0016] FIG3 is a schematic diagram of another exemplary audio transmission system in the present application.
[0017] FIG4 is a schematic diagram of another exemplary audio transmission system in the present application.
[0018] FIG5 is a schematic diagram of another exemplary audio transmission system in the present application.
[0019] FIG6 is a schematic diagram of another exemplary audio transmission system in the present application.
[0020] FIG7 is a schematic diagram of another exemplary audio transmission system in the present application.
[0021] FIG8 is a schematic diagram of another exemplary audio transmission system in the present application.
[0022] FIG9 is a schematic diagram of an exemplary electronic device in the present application.
[0023] FIG10 is a flowchart of an exemplary audio transmission method in the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art should fall within the scope of protection of the embodiments of the present application. It should be understood that the various steps described in the method implementation mode of the present disclosure can be performed in different orders and / or in parallel. In addition, the method implementation mode may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0025] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "multiple" mentioned in this application are illustrative rather than restrictive. Those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".
[0026] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0027] According to a first aspect of an embodiment of the present application, an audio transmission system is provided. FIG1 is a schematic diagram of an exemplary audio transmission system in the present application. As shown in Figure 1, the audio transmission system 100 may include: a main control unit 10, a multimedia processing unit 20, a first switch K1, a second switch K2 and a speaker unit 30; a first audio transmission channel is formed between the main control unit 10 and the speaker unit 30, and a second audio transmission channel is formed between the multimedia processing unit 20 and the speaker unit 30, wherein the first audio transmission channel is used to receive audio signals transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive audio signals transmitted using a second audio transmission protocol; the first switch K1 is set in the second audio transmission channel, and the second switch K2 is set in the first audio transmission channel; the first switch K1 is configured to: disconnect the second audio transmission channel when the main control unit 10 receives an audio signal from the outside through the first audio transmission protocol so that the audio signal is transmitted in the first audio transmission channel; the second switch K2 is configured to: disconnect the first audio transmission channel when the multimedia processing unit 20, under the control of the main control unit 10, receives an audio signal from the outside through the second audio transmission protocol so that the audio signal is transmitted in the second audio transmission channel.
[0028] The main control unit is configured to receive an audio signal from the outside via a first audio transmission protocol, thereby allowing the external audio signal to enter the first audio channel. The first switch is configured to disconnect the second audio transmission channel when the external audio signal is transmitted within the first audio transmission channel. The multimedia processing unit is configured to receive an audio signal from the outside via a second audio transmission protocol under the control of the main control unit. The second switch is configured to disconnect the first audio transmission channel when the external audio signal is transmitted within the second audio transmission channel.
[0029] Therefore, the audio transmission system provided by the embodiment of the present application has a first audio transmission channel formed between its main control unit and the speaker unit, and a second audio transmission channel formed between the multimedia processing unit and the speaker unit. The first audio transmission channel is used to receive audio signals transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive audio signals transmitted using a second audio transmission protocol; the first switch is set in the second audio transmission channel, and the second switch is set in the first audio transmission channel. When the main control unit obtains an audio signal from the outside through the first audio transmission protocol so that the audio signal is transmitted in the first audio transmission channel, the first switch can disconnect the second audio transmission channel. When the multimedia processing unit is controlled by the main control unit, the second switch disconnects the second audio transmission channel through the second audio transmission protocol. The protocol obtains an audio signal from the outside so that the audio signal is transmitted in the second audio transmission channel. The second switch can disconnect the first audio transmission channel. Therefore, the audio transmission system in the embodiment of the present application can use the first switch and the second switch to switch the first audio transmission channel and the second audio transmission channel when the audio transmission protocol changes, so as to conveniently achieve the purpose of switching the audio transmission channels. The first switch can also avoid the influence of the second audio transmission channel on the normal transmission of the audio signal when the first audio transmission channel is used to transmit the audio signal. The second switch can also avoid the influence of the first audio transmission channel on the normal transmission of the audio signal when the second audio transmission channel is used to transmit the audio signal, thereby improving the audio transmission effect of the audio transmission system.
[0030] The audio transmission system 100 in the present application is described in detail below. It should be understood that the following description is merely an illustrative description of the embodiments of the present application and does not constitute any limitation to the present application.
[0031] The audio transmission system 100 in this application may include any system capable of playing audio. For example, the audio transmission system 100 may be applied to an electronic device 300, which may include, but is not limited to, head-mounted devices such as AR (Augmented Reality) and VR (Virtual Reality), or may include, but is not limited to, mobile phones, tablet computers, laptop computers, personal computers, and vehicle computers. For example, when the electronic device 300 to which the audio transmission system 100 is applied is an AR head-mounted device, it may be AR glasses.
[0032] The main control unit 10 in the present application can realize the functions of data processing and control, for example, it may include but is not limited to MCU (Micro Controller Unit), CPU (Central Processing Unit), DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), etc.
[0033] The speaker unit 30 in the present application can be used to output audio signals. When the audio signal transmitted by the first audio transmission channel or the second audio transmission channel is input to the speaker unit 30, the audio signal can be output from the speaker unit 30, thereby enabling the audio transmission system 100 to play audio. The present application does not impose any restrictions on the specific composition of the speaker unit 30. For example, it may include one or more speakers.
[0034] A first audio transmission channel can be formed between the main control unit 10 and the speaker unit 30 in the present application. The above-mentioned second switch K2 can be set in the path of the first audio transmission channel. The second switch K2 can turn on the first audio transmission channel when closed, and the second switch K2 can turn off the first audio transmission channel when opened. It should be understood that this application does not specifically limit which modules are set in the first audio transmission channel. This can be determined according to needs. Some optional embodiments will be given below, which will not be repeated here. In the present application, the first audio transmission channel can be used to receive audio signals transmitted using the first audio transmission protocol.
[0035] In the present application, a second audio transmission channel can be formed between the multimedia processing unit 20 and the speaker unit 30. The first switch K1 is set in the path of the second audio transmission channel. The first switch K1 can turn on the second audio transmission channel when closed, and can disconnect the second audio transmission channel when the first switch K1 is disconnected. It should be understood that this application does not specifically limit which modules are set in the second audio transmission channel. This can be determined according to needs. Some optional embodiments will be given below, which will not be repeated here. In the present application, the second audio transmission channel is used to receive audio signals transmitted using the second audio transmission protocol.
[0036] In the above embodiment of the present application, when the second switch K2 is opened and the first switch K1 is closed, the audio signal can be directly transmitted through the multimedia processing unit 20 and then output from the speaker unit 30, without being transmitted to the multimedia processing unit 20 through the main control unit 10. In the above embodiment, when the first switch K1 is opened, the audio signal can be transmitted to the main control unit 10, and then transmitted to the multimedia processing unit 20 through the main control unit 10. It can be seen that the solution disclosed in the present application uses different audio transmission channels to transmit audio signals of the first audio transmission protocol and the second audio transmission protocol, and the audio signal can be directly input into the corresponding audio transmission channel without having to pass through, for example, a control module for signal distribution to the corresponding audio transmission channel.
[0037] In some optional embodiments, an audio transmission system is disclosed, including: a first audio channel and a second audio channel; the first audio transmission channel is used to receive an audio signal transmitted from the outside using a first audio transmission protocol and output it from a speaker unit; the second audio transmission channel is used to receive an audio signal transmitted from the outside using a second audio transmission protocol and output it from the speaker unit; the first audio channel is provided with a main control unit and a second switch; the second audio channel is provided with a multimedia processing unit and a first switch; when the second switch is disconnected and the first switch is closed, the external audio signal enters the first audio channel, is transmitted through the multimedia processing unit, and is output from the speaker unit; when the first switch is disconnected and the second switch is closed, the external audio signal enters the second audio channel, is transmitted through the main control unit, and is output from the speaker unit.
[0038] In some optional embodiments, an audio transmission system is disclosed, including: a first audio channel and a second audio channel; the first audio transmission channel is used to receive an audio signal transmitted using a first audio transmission protocol from the outside and output it from a speaker unit; the second audio transmission channel is used to receive an audio signal transmitted using a second audio transmission protocol from the outside and output it from the speaker unit; the first audio channel is provided with a main control unit and a second switch; the second audio channel is provided with a multimedia processing unit and a first switch; when the audio transmission protocol of the external audio signal entering the audio transmission system changes, the first switch and the second switch are used to switch the path of the first audio transmission channel and the second audio transmission channel.
[0039] Optionally, the first switch K1 and the second switch K2 in the present application can be closed and opened under the control of the main control unit 10, or can be closed and opened manually by the user, without specific limitation. Here, the first switch K1 and the second switch K2 can disconnect and connect the signal path, and there is no specific limitation on the form of the first switch K1 and the second switch K2.
[0040] In some optional embodiments, at least one of the first switch K1 and the second switch K2 can be any of the following: an independent switching electronic component, an enable pin of a chip. In the present application, such a first switch K1 and a second switch K2 can meet the requirements of disconnecting or connecting the second audio transmission channel and disconnecting or connecting the first audio transmission channel.
[0041] Optionally, when the switch (first switch K1 or second switch K2) is an independent switch electronic component, the main control unit 10 can control the closing and opening of the switch (first switch K1 or second switch K2). When the switch (first switch K1 or second switch K2) is the enable pin of the chip, the main control unit 10 can control the enable pin of the chip to be disabled to disable the chip (equivalent to disconnecting the switch), thereby disconnecting the audio transmission channel. The main control unit 10 enables the enable pin of the chip to achieve normal operation of the chip (equivalent to closing the switch), thereby turning on the audio transmission channel. Optionally, disabling can be achieved by pulling the enable pin of the chip low.
[0042] The type of the first audio transmission protocol is not limited in this application and can be selected as needed. In some optional embodiments, the first audio transmission protocol is a UAC (USB Audio Class) protocol. Through the UAC protocol, audio signals can be easily obtained from the outside, meeting the usage requirements of the audio transmission system in different scenarios.
[0043] The type of the second audio transmission protocol is not limited in this application and can be selected as needed. In some optional embodiments, the second audio transmission protocol is a DP (DisplayPort) protocol. Through the DP protocol, it is convenient to obtain audio signals from the outside, meeting the use requirements of the audio transmission system in different scenarios.
[0044] Optionally, as shown in Figure 1, the source of the audio signal in the present application may be an external host unit 200. As an example, the host unit 200 and the audio transmission system 100 belong to different electronic devices. For example, the host unit 200 belongs to a mobile terminal such as a mobile phone, and the audio transmission system 100 belongs to AR glasses connected to a mobile terminal such as a mobile phone. The host unit 200 can send an audio signal to the audio transmission system 100 via a first audio transmission protocol and / or a second audio transmission protocol. For the convenience of illustrating the embodiments of the present application, the host unit 200 may include but is not limited to electronic devices such as mobile phones, tablet computers, laptops, personal computers, and car computers. For example, the host unit 200 can directly form a communication connection with the main control unit 10 of the audio transmission system 100 in the present application through a first audio transmission protocol (such as a UAC protocol), and / or form a communication connection with the multimedia processing unit 20 of the audio transmission system 100 in the present application through a second audio transmission protocol (such as a DP protocol). Optionally, the communication connection may be a wired connection or a wireless connection.
[0045] Alternatively, the host unit 200 may also be connected to the audio transmission system 100 via an adapter. Therefore, the audio signal of the host unit 200 may be transmitted to the audio transmission system 100 via an adapter. As an example, the adapter may be a signal converter, which may be a device with an independent hardware interface that allows the hardware interface to be connected to the hardware interface of other electronic devices, or an information interface. At this point, the adapter may transmit the audio signal of the host unit 200 to the audio transmission system 100 via a wireless connection. In this case, the adapter may not support a certain audio transmission protocol (e.g., a first audio transmission protocol), thereby causing the signal transmitted by the adapter to be unable to be transmitted via an existing audio transmission system, and the electronic device may not output audio. However, the adapter transmission may transmit the audio signal via another audio transmission protocol (e.g., a second audio transmission protocol), thereby enabling the audio transmission system 100 to transmit the audio signal. Taking the first audio transmission protocol as the UAC protocol and the second audio transmission protocol as the DP protocol as an example, for a host unit 200 that does not support the UAC protocol, for example, the host unit 200 can be a game console with only an HDMI (High Definition Multimedia Interface) interface, a wireless screen projector without USB function, etc., then a connection can be formed with the main control unit 10 through an HDMI to USB adapter, a wireless to USB adapter, etc. However, since the host unit 200 does not support the UAC protocol, it is impossible to send an audio signal to the main control unit 10 through the UAC protocol. At this time, the audio signal can be sent through the DP protocol to realize the transmission of the audio signal. Of course, this is only a simple example and is not any limitation to the present application. Optionally, the host unit 200 can be connected to the adapter by wire or wirelessly, which is not limited here.
[0046] To facilitate the description of this embodiment, the following description assumes that the source of the audio signal is the external host unit 200 .
[0047] In some optional embodiments, the audio transmission system 100 may include two interfaces, one interface connected to the main control unit 10 via a first audio transmission protocol, and the other interface connected to the multimedia processing unit 20 via a second audio transmission protocol. The host unit 200 can be connected to the two interfaces respectively to send corresponding audio signals to the first audio transmission channel and the second audio transmission channel.
[0048] FIG2 is a schematic diagram of another exemplary audio transmission system in the present application. In other optional embodiments, as shown in FIG2 , the audio transmission system 100 may further include a connection interface 40. The main control unit 10 and the multimedia processing unit 20 may obtain an audio signal from the outside through the connection interface 40. In the present application, an audio signal is obtained from the outside through a connection interface 40 and transmitted on a first audio transmission channel and a second audio transmission channel. The utilization rate of the connection interface is high, and it can meet the needs of sending an audio signal transmitted using the first audio transmission protocol to the main control unit 10 and sending an audio signal transmitted using the second audio transmission protocol to the multimedia processing unit 20.
[0049] The present application does not limit the type of the connection interface 40. In one example, the connection interface 40 may be a USB Type-C interface, which may be a full-function USB Type-C interface and may support both the UAC protocol and the DP protocol.
[0050] For example, when the connection interface 40 is connected to the host unit 200, the connection interface 40 can be plugged into a corresponding socket on the host unit 200. In other optional embodiments, the host unit 200 can also be connected to the connection interface 40 through an adapter, and the connection interface 40 is plugged into a corresponding socket on the adapter.
[0051] In some optional embodiments, as shown in FIG2 , the first audio transmission protocol may be a UAC protocol, and the connection interface 40 may be connected to the main control unit 10 via the UAC protocol. The UAC protocol facilitates obtaining audio signals from the outside via the connection interface 40, thereby meeting the requirements of the audio transmission system 100 for use in different scenarios.
[0052] In some optional embodiments, as shown in FIG2 , the second audio transmission protocol may be a DP protocol, and the connection interface 40 may be connected to the multimedia processing unit 20 via the DP protocol. Through the DP protocol, an audio signal may be conveniently obtained from the outside through the connection interface 40, thereby meeting the use requirements of the audio transmission system 100 in different scenarios.
[0053] Optionally, the multimedia processing unit 20 may be a video chip. The main control unit 10 is connected to the multimedia processing unit 20 (e.g., a video chip) for communication, and the main control unit 10 may control whether the multimedia processing unit 20 receives an audio signal. Therefore, when the multimedia processing unit 20 reports extended display identification data (EDID) with an audio signal to the external host unit 200, the EDID data includes information such as the resolution, refresh rate, and whether audio (aduio) output supported by the multimedia processing unit 20. The external host unit 200 may send video data with an audio signal corresponding to the EDID data through a second audio transmission protocol (e.g., DP protocol), so that the multimedia processing unit 20 obtains the audio signal and transmits the audio signal through the second audio transmission channel.
[0054] Optionally, as shown in FIG2 , the audio transmission system 100 may further include a display unit 60. The display unit 60 may be connected to the multimedia processing unit 20, and the external host unit 200 may send video data with an audio signal through the DP protocol (second audio transmission protocol). The multimedia processing unit 20 separates the video data with the audio signal to obtain an audio signal and a video signal, transmits the audio signal through the second audio transmission channel, and transmits the video signal to the display unit 60 for playback. The display unit 60 is not limited in this application, and it may include a screen to play the video signal to display the video image.
[0055] FIG3 is a schematic diagram of another exemplary audio transmission system in the present application. In some optional embodiments, as shown in FIG3 , the first audio transmission channel may further include a third switch K3. The third switch K3 may be provided between the connection interface 40 and the main control unit 10. The third switch K3 may be configured to disconnect the connection interface 40 from the main control unit 10 when the multimedia processing unit 20, under the control of the main control unit 10, receives an audio signal from the outside via the second audio transmission protocol so that the audio signal is transmitted within the second audio transmission channel.
[0056] With reference to the architecture of the audio transmission system 100 in FIG2 , the present application notes the following situation: due to different priority strategies for the first audio transmission protocol and the second audio transmission protocol in some host units 200, for example, taking the first audio transmission protocol as the UAC protocol and the second audio transmission protocol as the DP protocol as an example, some host units 200 give priority to the first audio transmission protocol (UAC protocol) over the second audio transmission protocol (DP protocol). That is, when the host unit 200 inputs an audio signal into the audio transmission system 100 (in FIG2 , the host unit 200 inputs an audio signal through the connection interface 40), the audio signal will be transmitted preferentially through the first audio transmission protocol (UAC protocol). At this time, if the user accidentally touches and causes the audio transmission system 100 to switch from the first audio transmission channel to the second audio transmission channel to transmit the audio signal (i.e., switch from the UAC protocol to the DP protocol transmission), the audio signal will still be transmitted to the main control unit 10 through the first audio transmission protocol (UAC protocol) from the connection interface 40 due to such a priority strategy, rather than through the second audio transmission protocol (DP protocol). And since the audio transmission channel of the audio transmission system 100 has been switched to the second audio transmission channel, the first switch K1 is closed and the second switch K2 is disconnected at this time, so the host unit 200 will actively transmit the audio signal to the main control unit 10 using the first audio transmission protocol (UAC protocol), and will not use the second audio transmission protocol (DP protocol) to transmit the audio signal to the second audio transmission channel, but at this time due to the disconnection of the second switch K2, the speaker unit 30 cannot play the audio signal.
[0057] Referring again to the architecture of the audio transmission system 100 shown in FIG3 , a third switch K3 is provided between the connection interface 40 and the main control unit 10 in this system architecture. This third switch K3 can disconnect the connection between the connection interface 40 and the main control unit 10, thereby allowing the audio transmission system 100 to expose only one available audio transmission channel to the host unit 200 at any given time. Therefore, if the host unit 200 prioritizes the first audio transmission protocol over the second audio transmission protocol, even if a user accidentally switches the first audio transmission channel to the second audio transmission channel, the exposure of the first audio transmission channel can be avoided, allowing the audio signal to be transmitted only within the second audio transmission channel without entering the main control unit 10. This avoids the problem of the speaker unit 30 being unable to play the audio signal due to an accidental user touch.
[0058] The third switch K3 in this application can be closed and opened under the control of the main control unit 10, or can be closed and closed manually by the user. Here, the third switch K3 can disconnect and connect the signal path, and there is no specific limitation on the form of the third switch K3.
[0059] In some optional embodiments, similar to the first and / or second switches, the third switch K3 can be any of the following: an independent switching electronic component, an enable pin of a chip. In this application, such a third switch K3 can be used to disconnect or connect the connection between the connection interface 40 and the main control unit 10.
[0060] Specifically, when the switch (third switch K3) is an independent electronic switch component, the main control unit 10 can control the closing and opening of the switch (third switch K3) when predetermined conditions are met. When the switch (third switch K3) is an enable pin of a chip, the main control unit 10 can control the chip enable pin to be disabled to disable the chip (equivalent to opening the switch), thereby disconnecting the connection between the connection interface 40 and the main control unit 10. The main control unit 10 enables the chip enable pin to enable normal chip operation (equivalent to closing the switch), thereby reconnecting the connection between the connection interface 40 and the main control unit 10. Optionally, disabling can be achieved by pulling the chip enable pin low.
[0061] Optionally, when the third switch K3 is an enable pin of the chip, it can be an enable pin for the USB function of the main control unit 10. By disabling the enable pin for its own USB function, the main control unit 10 turns off the USB function of the main control unit 10, thereby disconnecting the connection between the connection interface 40 and the main control unit 10. By enabling the enable pin for its own USB function, the main control unit 10 turns on the USB function of the main control unit 10, thereby reconnecting the connection between the connection interface 40 and the main control unit 10. It should be understood that this is merely a simple example and does not constitute any limitation of the present application.
[0062] In the present application, the closing and opening of the first switch K1, the second switch K2, and the third switch K3 can be controlled as needed, and this is not limited here. In some optional embodiments, the audio transmission system 100 further includes a control unit 80; the control unit 80 is connected to the main control unit 10, and the control unit 80 is configured to receive a user operation to generate a first control instruction or a second control instruction, and send the first control instruction or the second control instruction to the main control unit 10, so that the main control unit 10: based on the first control instruction, controls the first switch K1 to be opened, the second switch K2 to be closed, and the third switch K3 to be closed; or based on the second control instruction, controls the first switch K1 to be closed, the second switch K2 to be opened, and the third switch K3 to be opened.
[0063] Based on this, in this application, the control unit 80 can receive the user's long press button operation to generate a first control instruction or a second control instruction, so that the main control unit 10 controls the first switch K1 to be disconnected, the second switch K2 to be closed, and the third switch K3 to be closed based on the first control instruction, so that the first audio transmission channel is turned on and the second audio transmission channel is disconnected; the main control unit 10 controls the first switch K1 to be closed, the second switch K2 to be disconnected, and the third switch K3 to be disconnected based on the second control instruction, so that the first audio transmission channel is disconnected and the second audio transmission channel is turned on, so that the switching of audio transmission channels can be conveniently realized, and in this application, it can be more convenient for users to control the switching of audio transmission channels.
[0064] The specific form of the control unit 80 is not limited in this application, and it may include but is not limited to a button, a remote control device, etc. For example, taking the control unit 80 as a button, it can be a button in the audio transmission system 100 specifically used to switch audio transmission channels, or it can be a button with other functions, such as a volume button, a power off button, etc., to receive user operations to generate the first control instruction and the second control instruction. When the control unit 80 is a button, the first control instruction and the second control instruction can be generated based on the user's pressing operation.
[0065] In some optional embodiments, when the control unit 80 is a button, to prevent the user from accidentally touching the control unit 80 and causing an inadvertent switching of the audio transmission channel, the first control instruction or the second control instruction may be issued to the main control unit 10 after the user has pressed the button for a preset time. The preset time can be set as needed and is not limited here. For example, it can be 3 seconds, 4 seconds, 5 seconds, etc. For example, the preset time is 4 seconds, the control unit 80 is a volume button, and the audio transmission system 100 is currently transmitting audio via the first audio transmission channel. The user can press and hold the volume button for 4 seconds to generate a second control instruction. Based on the second control instruction, the main control unit 10 can control the first switch K1 to close, the second switch K2 to open, and the third switch K3 to open, thereby switching the audio transmission channel to the second audio transmission channel. Similarly, if the audio transmission system 100 is currently transmitting audio via the second audio transmission channel, the user can press and hold the volume button for 4 seconds to generate a first control instruction. Based on the first control instruction, the main control unit 10 can control the first switch K1 to open, the second switch K2 to close, and the third switch K3 to close, thereby switching the audio transmission channel to the first audio transmission channel. It should be understood that this example is not intended to limit the present application.
[0066] FIG4 is a schematic diagram of another exemplary audio transmission system in the present application. In some optional embodiments, as shown in FIG4 , the audio transmission system 100 in the present application further includes: a first audio processing unit 51. The first audio processing unit 51 can be used to perform a first processing on the audio signal input to the first audio processing unit 51. The first audio processing unit 51 can be connected between the main control unit 10 and the speaker unit 30. In this case, the signal output end of the first switch K1 can be connected between the main control unit 10 and the first audio processing unit 51. Based on this, in the present application, the first audio processing unit 51 can be used to perform a first processing on the audio signal transmitted through the first audio transmission channel and the second audio transmission channel of the audio transmission system 100 to improve the playback effect of the audio signal.
[0067] The present application does not limit the specific composition of the first audio processing unit 51, nor the type of first processing performed thereby. For example, in some optional embodiments, the first audio processing unit 51 may include an intelligent power amplifier unit that can amplify the audio signal input to the first audio processing unit 51 (i.e., the first processing may be an amplification process) to increase the volume of the audio played by the speaker unit 30, thereby improving the performance of the audio transmission system 100.
[0068] In some optional embodiments, the first audio processing unit 51 may receive and process audio signals via an I2S bus (Inter-IC Sound bus, an integrated circuit built-in audio bus).
[0069] The first audio processing unit 51 is connected to two I2S buses (located in the first audio transmission channel and the second audio transmission channel respectively). Since the clock lines and data lines of the two I2S buses are physically directly connected, the audio signals input by the two I2S buses usually interfere with each other, resulting in the first audio processing unit 51 (for example, an intelligent power amplifier unit) being unable to recognize the I2S audio signal and unable to perform the first processing on the audio signal normally, which in turn results in no sound from the speaker unit 30.
[0070] Therefore, in the present application, the first switch K1 and the second switch K2 are set to switch the first audio transmission channel and the second audio transmission channel, so that only one audio signal of the I2S bus is input into the first audio processing unit 51 at the same time, thereby avoiding mutual interference between the audio signals of the two I2S channels, so that the first audio processing unit 51 can normally perform the first processing on the audio signal, avoiding the situation where there is no sound in the speaker unit 30, and improving the audio transmission effect of the audio transmission system.
[0071] FIG5 is a schematic diagram of another exemplary audio transmission system in the present application. FIG6 is a schematic diagram of another exemplary audio transmission system in the present application. In some optional embodiments, as shown in FIG5 and FIG6 , the audio transmission system 100 in the present application further includes a second audio processing unit 52. The second audio processing unit 52 can perform a second processing on the audio signal input to the second audio processing unit 52. The second audio processing unit 52 can be connected between the main control unit 10 and the first audio processing unit 51. If the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, the second switch K2 can be connected between the second audio processing unit 52 and the signal output end of the first switch K1, as shown in FIG5 . Alternatively, if the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, the second switch K2 can be connected between the main control unit 10 and the signal output end of the first switch K2, as shown in FIG6 .
[0072] The specific composition of the second audio processing unit 52 and the type of second processing performed by it are not limited in this application. In some optional embodiments, the second audio processing unit 52 may include a sound effect processing unit that can perform sound effect processing on the audio signal input to the second audio processing unit 52 (i.e., the second processing can be sound effect processing). For example, the sound effect processing includes but is not limited to at least one of noise reduction processing, echo cancellation processing, sound enhancement processing, filtering processing, etc. The second audio processing unit 52 can improve the sound effect of the audio played by the speaker unit 30, thereby improving the use effect of the audio transmission system 100.
[0073] Referring to Figure 5 , it illustrates a state where the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, and the second switch K2 is connected between the second audio processing unit 52 and the signal output end of the first switch K1. Based on this optional embodiment, in the present application, the second audio processing unit 52 can be used to perform a second processing on the audio signal transmitted through the first audio transmission channel of the audio transmission system 100 to improve the playback effect of the audio signal.
[0074] Referring to Figure 6 , it illustrates a state where the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, and the second switch K2 is connected between the main control unit 10 and the signal output end of the first switch K2. It should be understood that this is not a limitation of the present application. Based on this optional embodiment, the present application may utilize the second audio processing unit 52 to perform secondary processing on the audio signals transmitted through the first and second audio transmission channels of the audio transmission system 100 to improve the playback quality of the audio signals.
[0075] Alternatively, the second switch K2 in FIG. 5 and FIG. 6 may be an independent switch electronic component, which can be controlled to be closed and opened by the main control unit 10 .
[0076] FIG7 is a schematic diagram of another exemplary audio transmission system in the present application. FIG8 is a schematic diagram of another exemplary audio transmission system in the present application. In some optional embodiments, as shown in FIG7 and FIG8 , the audio transmission system 100 in the present application further includes: a second audio processing unit 52. The second audio processing unit 52 can be used to perform a second processing on the audio signal input to the second audio processing unit 52. The second audio processing unit 52 can be connected between the main control unit 10 and the first audio processing unit 51. If the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, the second switch K2 can be integrated into the second audio processing unit 52. Alternatively, if the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, the second switch K2 can be integrated into the main control unit 10.
[0077] 7 , which illustrates a state in which the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, and the second switch K2 is integrated into the second audio processing unit 52. Based on this optional embodiment, in the present application, the second audio processing unit 52 can be used to perform a second processing on the audio signal transmitted through the first audio transmission channel of the audio transmission system 100 to improve the playback effect of the audio signal.
[0078] Alternatively, the second switch K2 in FIG7 may be an enable pin of a chip in the second audio processing unit 52. The enable pin of the chip in the second audio processing unit 52 is disabled by the main control unit 10, thereby disconnecting the second switch K2. Alternatively, disabling may be achieved by pulling the enable pin of the chip low.
[0079] 8 , which illustrates a state in which the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, and the second switch K2 is integrated into the main control unit 10. Based on this optional embodiment, in the present application, the second audio processing unit 52 can be used to perform second processing on the audio signals transmitted by the first audio transmission channel and the second audio transmission channel of the audio transmission system 100 to improve the playback effect of the audio signals.
[0080] Alternatively, the second switch K2 in FIG8 may be an enable pin of a chip in the main control unit 10. Disabling the enable pin of the chip in the main control unit 10 can disconnect the second switch K2. Alternatively, disabling can be achieved by pulling the chip's enable pin low. It should be understood that, if only the audio transmission function of the main control unit 10 is considered, the function of the second switch K2 can be achieved by processing the corresponding enable pin. However, if the main control unit 10 also needs to implement other functions, the function of the second switch K2 cannot be achieved through the enable pin, and corresponding switching elements must be provided to achieve the function of the second switch K2.
[0081] Optionally, as shown in Figures 5, 6, 7, and 8, the audio transmission system 100 in the present application may further include a sound receiving unit 70 for collecting sound information. The sound receiving unit 70 may be connected to the second audio processing unit 52, and may transmit the collected sound information to the host unit 200 via the second audio processing unit 52, the main control unit 10, and the connection interface 40. Based on this, the audio transmission system 100 in the present application can simultaneously realize the functions of uplink transmission of audio signals (i.e., transmission of audio signals from the sound receiving unit 70 to the host unit 200) and downlink transmission (i.e., transmission of audio signals from the host unit 200 to the speaker unit 30), that is, simultaneously realize the functions of audio playback and recording.
[0082] The present application does not impose any limitation on the specific composition of the sound receiving unit 70. For example, it may include one or more microphones. It should be understood that the sound information that the sound receiving unit 70 can receive includes but is not limited to the user's voice.
[0083] Optionally, the sound receiving unit 70 in the present application can use USB to transmit the collected sound information to the host unit 200. In this case, for the first audio transmission protocol being the UAC protocol and the second audio transmission protocol being the DP protocol, the architecture of the audio transmission system 100 in Figures 5, 6, 7, and 8, since the third switch K3 is located between the connection interface 40 and the main control unit 10, and when the second audio transmission channel is used to implement audio transmission, the third switch K3 is closed, and the uplink transmission of the audio signal cannot be implemented through the UAC protocol; while when the first audio transmission channel is used to implement audio transmission, the uplink and downlink transmission of the audio signal can be implemented through the UAC protocol.
[0084] Next, in conjunction with FIG5 , an exemplary audio transmission system 100 in an embodiment of the present application will be further described in its entirety. It should be understood that the following description does not constitute any limitation to the present application.
[0085] As an example application scenario, the electronic device 300 used by the audio transmission system 100 can be AR glasses. Referring to FIG5 , the audio transmission system 100 includes: a main control unit 10, a multimedia processing unit 20, a first switch K1, a second switch K2, a speaker unit 30, a connection interface 40, a third switch K3, a first audio processing unit 51, a second audio processing unit 52, a display unit 60, a sound receiving unit 70, and a control unit 80. A first audio transmission channel is formed between the main control unit 10 and the speaker unit 30, and a second audio transmission channel is formed between the multimedia processing unit 20 and the speaker unit 30. The first audio transmission channel is used to receive audio signals transmitted using a first audio transmission protocol (UAC protocol), and the second audio transmission channel is used to receive audio signals transmitted using a second audio transmission protocol (DP protocol).
[0086] In this example, the main control unit 10 can be the MCU on the AR glasses; the multimedia processing unit 20 can be the video chip on the AR glasses; the connection interface 40 can be a full-function USB Type-C interface on the AR glasses, supporting both the first audio transmission protocol (UAC protocol) and the second audio transmission protocol (DP protocol); the connection interface 40 can be connected to the external host unit 200 (which can be any electronic device) to obtain audio signals (if the host unit 200 supports both the UAC protocol and the DP protocol, the connection interface 40 can be plugged into the corresponding socket of the host unit 200; if the host unit 200 only supports the DP protocol but not the UAC protocol, the connection interface 40 can be connected to the host unit 200 through an adapter (for example, for ease of understanding, if the electronic device 300 used in the audio transmission system 100 is AR glasses, the host unit 200 can be an electronic device such as a game console with only an HDMI interface, a wireless screen projector without USB function, etc. The user can use AR glasses and the host unit 200 to play games or watch movies, etc., then An HDMI to USB adapter, a wireless to USB adapter, etc. are used to connect the host unit 200 to the connection interface 40); the multimedia processing unit 20 can be a video chip on the AR glasses; the speaker unit 30 can be a speaker on the AR glasses; the display unit 60 can be a screen on the AR glasses; the sound receiving unit 70 can be a microphone on the AR glasses; the control unit 80 can be a button on the AR glasses (taking the volume button as an example); the first audio processing unit 51 can be an intelligent power amplifier unit on the AR glasses, which can perform a first processing (such as amplification processing) on the audio signal input therein; the second audio processing unit 52 can be a sound effect processing unit on the AR glasses, which can perform a second processing (such as sound effect processing) on the audio signal input therein; the first switch K1, the second switch K2, and the third switch K3 can all be enable pins of independent electronic switch units or chips.
[0087] Next, the switching of the two audio transmission channels and the related working process of the audio transmission system 100 (applied to AR glasses) of this example are described:
[0088] Working process 1 (switching from the first audio transmission channel to the second audio transmission channel): After the user presses the volume button of the AR glasses (i.e., the control unit 80) for 4 seconds, the main control unit 10 controls the first switch K1 to be closed, the second switch K2 to be opened, and the third switch K3 to be opened based on the second control instruction generated by the user operation received by the control unit 80, thereby switching the audio transmission channel to the second audio transmission channel; through the connection interface 40, the host unit 200 sends video data with audio signals to the multimedia processing unit 20 through the DP protocol (the host unit 200 can be based on the EDID data reported by the multimedia processing unit 20, to send the corresponding EDID data to the multimedia processing unit 20 through the DP protocol). corresponding video data with audio signals); after receiving the video data with audio signals, the multimedia processing unit 20 separates the video data with audio signals to obtain audio signals and video signals; the multimedia processing unit 20 transmits the audio signal through the second audio transmission channel, and the audio signal is transmitted to the speaker unit 30 (speaker) for playback through the closed first switch K1 and the first audio processing unit 51 in turn, and the video signal is transmitted to the display unit 60 (screen) for playback; after switching to the second audio transmission channel, the sound receiving unit 70 can be in a disabled state; in this way, the function of switching from the first audio transmission channel to the second audio transmission channel is completed, and the normal operation of the AR glasses is realized.
[0089] Working process 2 (switching from the second audio transmission channel to the first audio transmission channel): After the user presses the volume button of the AR glasses (i.e., the control unit 80) for 4 seconds, the main control unit 10 receives the first control instruction generated by the user based on the control unit 80, controls the first switch K1 to be disconnected, the second switch K2 to be closed, and the third switch K3 to be closed, and switches the audio transmission channel to the first audio transmission channel; by means of the connection interface 40 and the closed third switch K3, the host unit 200 sends an audio signal to the main control unit 10 through the UAC protocol; the main control unit 10 transmits the audio signal through the first audio transmission channel, and the audio signal sequentially passes through the second audio processor 40. The processing unit 52, the closed second switch K2, and the first audio processing unit 51 are transmitted to the speaker unit 30 (speaker) for playback; through the connection interface 40, the host unit 200 can also send the video signal to the multimedia processing unit 20 through the DP protocol, and the multimedia processing unit 20 transmits the video signal to the display unit 60 (screen) for playback; after switching to the first audio transmission channel, the sound information can also be collected through the sound receiving unit 70 and transmitted to the host unit 200 through the UAC protocol (provided that the host unit 200 supports the UAC protocol); in this way, the function of switching from the second audio transmission channel to the first audio transmission channel is completed, and the normal operation of the AR glasses is realized.
[0090] It should be understood that for a host unit 200 that supports both the UAC protocol and the DP protocol, the first audio transmission channel or the second audio transmission channel can be selected as needed to transmit the audio signal; and for a host unit 200 that only supports the DP protocol but not the UAC protocol, it is necessary to switch to the second audio transmission channel to transmit the audio signal.
[0091] In addition, when the host unit 200 has different priority strategies for the UAC protocol and the DP protocol, for example, the priority of the UAC protocol is higher than that of the DP protocol, if the first audio transmission channel is selected to transmit the audio signal, the user accidentally touches the first audio transmission channel to switch to the second audio transmission channel. Since the third switch K3 will also disconnect the connection between the connection interface 40 and the main control unit 10 due to an accidental touch, the audio signal can still be transmitted from the second audio transmission channel to the speaker unit 30 (speaker) for playback, preventing the speaker unit 30 (speaker) from not playing any sound, thereby ensuring the normal operation of the AR glasses.
[0092] It should be understood that the above overall description in conjunction with FIG5 is merely an example for facilitating understanding of the present application, and does not constitute any limitation to the present application.
[0093] From the above content, it can be seen that the audio transmission system provided by the embodiment of the present application has a first audio transmission channel formed between its main control unit and the speaker unit, and a second audio transmission channel formed between the multimedia processing unit and the speaker unit. The first audio transmission channel is used to receive audio signals transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive audio signals transmitted using a second audio transmission protocol; the first switch is set in the second audio transmission channel, and the second switch is set in the first audio transmission channel. When the main control unit obtains an audio signal from the outside through the first audio transmission protocol so that the audio signal is transmitted in the first audio transmission channel, the first switch can disconnect the second audio transmission channel. When the multimedia processing unit is controlled by the main control unit, the second switch is used to disconnect the second audio transmission channel through the second audio transmission protocol. When the audio transmission protocol obtains an audio signal from the outside so that the audio signal is transmitted in the second audio transmission channel, the second switch can disconnect the first audio transmission channel. Therefore, the audio transmission system in the embodiment of the present application can use the first switch and the second switch to switch the first audio transmission channel and the second audio transmission channel when the audio transmission protocol changes, so as to conveniently achieve the purpose of switching the audio transmission channels, and the first switch can also avoid the influence of the second audio transmission channel on the normal transmission of the audio signal when the first audio transmission channel is used to transmit the audio signal, and the second switch can also avoid the influence of the first audio transmission channel on the normal transmission of the audio signal when the second audio transmission channel is used to transmit the audio signal, thereby improving the audio transmission effect of the audio transmission system.
[0094] As shown in FIG9 , according to a second aspect of an embodiment of the present application, an electronic device 300 is provided, including: the audio transmission system 100 as provided in any one of the first aspects above.
[0095] As mentioned above, the electronic device 300 in this application may optionally include, but is not limited to, head-mounted devices such as AR (Augmented Reality) and VR (Virtual Reality), and may also include, but is not limited to, electronic devices such as mobile phones, tablet computers, laptop computers, personal computers, and car computers. For example, when the electronic device 300 is an AR head-mounted device, it may be AR glasses.
[0096] It should be noted that the electronic device embodiment in the embodiment of the present application has been described in detail in the aforementioned audio transmission system embodiment, so its relevant content and beneficial effects can be understood with reference to the aforementioned audio transmission system embodiment, and will not be repeated here.
[0097] According to a third aspect of an embodiment of the present application, an audio transmission method is provided. The audio transmission method is applied to a main control unit 10, wherein a first audio transmission channel is formed between the main control unit 10 and the speaker unit 30, and a second audio transmission channel is formed between the multimedia processing unit 20 and the speaker unit 30. The first audio transmission channel is used to receive an audio signal transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive an audio signal transmitted using a second audio transmission protocol. The first switch K1 is set on the second audio transmission channel, and the second switch K2 is set on the first audio transmission channel. Referring to the flowchart shown in FIG10, the audio transmission method includes steps S102 and S104. Specifically,
[0098] Step S102: In response to adopting the first audio transmission protocol to transmit the audio signal, controlling the first switch K1 to be disconnected so that the first audio transmission channel transmits the audio signal;
[0099] Step S104: In response to adopting the second audio transmission protocol to transmit the audio signal, the second switch K2 is controlled to be disconnected, so that the second audio transmission channel transmits the audio signal.
[0100] Optionally, the audio signal is transmitted using a first audio transmission protocol and a first audio transmission channel, and the main control unit 10 can obtain the audio signal from the outside; the audio signal is transmitted using a second audio transmission protocol and a second audio transmission channel, and the multimedia processing unit 20 can obtain the audio signal from the outside.
[0101] In some optional embodiments, before controlling the second switch K2 to disconnect, the audio transmission method further includes: receiving an audio transmission channel switching operation input by the user (for example, the audio transmission channel switching operation can be a long press of a button for a preset time, and the preset time is, for example, 4s), and generating an audio channel switching instruction; wherein the audio channel switching instruction is used to control the second switch K2 to disconnect to disconnect the first audio transmission channel.
[0102] In some optional embodiments, the main control unit 10 and the multimedia processing unit 20 obtain audio signals from the outside through the connection interface 40 .
[0103] In some optional embodiments, the first audio transmission protocol is the UAC protocol, and the connection interface 40 is connected to the main control unit 10 via the UAC protocol.
[0104] In some optional embodiments, the second audio transmission protocol is the DP protocol, and the connection interface 40 is connected to the multimedia processing unit 20 via the DP protocol.
[0105] In some optional embodiments, the first audio transmission channel also includes a third switch K3, which is arranged between the connection interface 40 and the main control unit 10; the audio transmission method also includes: in response to using the second audio transmission protocol to transmit the audio signal, controlling the third switch K3 to be disconnected so that the second audio transmission channel transmits the audio signal.
[0106] In some optional embodiments, the third switch K3 is any one of the following: an independent switching electronic component, an enable pin of a chip.
[0107] In some optional embodiments, at least one of the first switch K1 and the second switch K2 is any one of the following: an independent switch electronic component, an enable pin of a chip.
[0108] In some optional embodiments, a first audio processing unit 51 is connected between the main control unit 10 and the speaker unit 30, and the first audio processing unit 51 is used to perform a first processing on the audio signal input into the first audio processing unit 51; the signal output end of the first switch K1 is connected between the main control unit 10 and the first audio processing unit 51.
[0109] In some optional embodiments, a second audio processing unit 52 is connected between the main control unit 10 and the first audio processing unit 51, and the second audio processing unit 52 is used to perform a second processing on the audio signal input into the second audio processing unit 52; wherein, if the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, the second switch K2 is connected between the second audio processing unit 52 and the signal output end of the first switch K1; or, if the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, the second switch K2 is connected between the main control unit 10 and the signal output end of the first switch K1.
[0110] In some optional embodiments, a second audio processing unit 52 is connected between the main control unit 10 and the first audio processing unit 51, and the second audio processing unit 52 is used to perform second processing on the audio signal input into the second audio processing unit 52; if the signal output end of the first switch K1 is connected between the second audio processing unit 52 and the first audio processing unit 51, the second switch K2 is integrated into the second audio processing unit 52; or, if the signal output end of the first switch K1 is connected between the main control unit 10 and the second audio processing unit 52, the second switch K2 is integrated into the main control unit 10.
[0111] In some optional embodiments, the first audio processing unit 51 is configured to receive and process audio signals via an I2S bus.
[0112] In some optional embodiments, the main control unit 10 is also connected to the control unit 80, which is used to receive user operations to generate a first control instruction or a second control instruction; the audio transmission method also includes: receiving the first control instruction or the second control instruction sent by the control unit 80, and based on the first control instruction, controlling the first switch K1 to be disconnected, the second switch K2 to be closed, and the third switch K3 to be closed; or, based on the second control instruction, controlling the first switch K1 to be closed, the second switch K2 to be disconnected, and the third switch K3 to be disconnected.
[0113] The audio transmission method of this embodiment of the present application is based on the same inventive concept as the audio transmission system 100 provided in the first aspect above, and has the beneficial effects of the corresponding audio transmission system embodiment, and thus will not be further described here. Furthermore, the implementation of each step in the audio transmission method of this embodiment can refer to the corresponding description of the aforementioned audio transmission system embodiment, and thus will not be further described here.
[0114] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the audio transmission method as described in the third aspect is implemented.
[0115] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the audio transmission method as described in the third aspect.
[0116] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". It should be noted that the concepts of "first", "second", etc. mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the modifications of "one" and "a plurality of" mentioned in this application are illustrative rather than restrictive. Those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, and not to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements 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 application.
Claims
1. An audio transmission system, comprising: A main control unit, a multimedia processing unit, a first switch, a second switch and a speaker unit; A first audio transmission channel is formed between the main control unit and the speaker unit, and a second audio transmission channel is formed between the multimedia processing unit and the speaker unit, wherein the first audio transmission channel is used to receive an audio signal transmitted using a first audio transmission protocol, and the second audio transmission channel is used to receive an audio signal transmitted using a second audio transmission protocol; The first switch is set on the second audio transmission channel, and the second switch is set on the first audio transmission channel; The first switch is configured to disconnect the second audio transmission channel when the main control unit obtains an audio signal from the outside through a first audio transmission protocol and the audio signal is transmitted in the first audio transmission channel; The second switch is configured to disconnect the first audio transmission channel when the multimedia processing unit obtains an audio signal from the outside through a second audio transmission protocol under the control of the main control unit and the audio signal is transmitted in the second audio transmission channel.
2. The audio transmission system according to claim 1, wherein: The first audio transmission channel also includes a third switch, which is configured to: when the multimedia processing unit obtains an audio signal from the outside through a second audio transmission protocol under the control of the main control unit, and the external audio signal is transmitted in the second audio transmission channel, disconnect the path of the external audio signal to the main control unit.
3. The audio transmission system according to claim 1, wherein: The audio transmission system further comprises: a connection interface, through which the main control unit and the multimedia processing unit obtain the audio signal from the outside.
4. The audio transmission system according to claim 3, wherein: The first audio transmission channel further includes a third switch, and the third switch is arranged between the connection interface and the main control unit; The third switch is configured to disconnect the connection between the connection interface and the main control unit when the multimedia processing unit, under the control of the main control unit, obtains an audio signal from the outside through a second audio transmission protocol so that the audio signal is transmitted in the second audio transmission channel.
5. The audio transmission system according to claim 3 or 4, wherein: The first audio transmission protocol is the UAC protocol, and the connection interface is connected to the main control unit via the UAC protocol.
6. The audio transmission system according to any one of claims 3 to 5, wherein: The second audio transmission protocol is the DP protocol, and the connection interface is connected to the multimedia processing unit via the DP protocol.
7. The audio transmission system according to claim 1, wherein: At least one of the first switch and the second switch is any one of the following: an independent switch electronic component, an enable pin of a chip.
8. The audio transmission system according to any one of claims 1 to 7, wherein: The audio transmission system further includes: a first audio processing unit, the first audio processing unit being configured to perform a first process on an audio signal input to the first audio processing unit; The first audio processing unit is connected between the main control unit and the speaker unit; The signal output terminal of the first switch is connected between the main control unit and the first audio processing unit.
9. The audio transmission system according to claim 8, wherein: The audio transmission system further includes: a second audio processing unit, the second audio processing unit being configured to perform a second process on an audio signal input to the second audio processing unit; The second audio processing unit is connected between the main control unit and the first audio processing unit; in, If the signal output terminal of the first switch is connected between the second audio processing unit and the first audio processing unit, the second switch is connected between the second audio processing unit and the signal output terminal of the first switch; If the signal output end of the first switch is connected between the main control unit and the second audio processing unit, the second switch is connected between the main control unit and the signal output end of the first switch.
10. The audio transmission system according to claim 8, wherein: The audio transmission system further includes: a second audio processing unit, the second audio processing unit being configured to perform a second process on an audio signal input to the second audio processing unit; The second audio processing unit is connected between the main control unit and the first audio processing unit; in, If the signal output terminal of the first switch is connected between the second audio processing unit and the first audio processing unit, the second switch is integrated in the second audio processing unit; If the signal output terminal of the first switch is connected between the main control unit and the second audio processing unit, the second switch is integrated into the main control unit.
11. The audio transmission system according to claim 8, wherein: The first audio processing unit is used to receive and process audio signals through the I2S bus.
12. The audio transmission system according to claim 2 or 4, wherein: The audio transmission system also includes a control unit; The control unit is connected to the main control unit, and the control unit is used to receive the user's operation to generate a first control instruction, and send the first control instruction to the main control unit so that the main control unit The first control instruction controls the first switch to be opened, the second switch to be closed, and the third switch to be closed.
13. The audio transmission system according to claim 2 or 4, wherein: The audio transmission system also includes a control unit; The control unit is connected to the main control unit, and is used to receive a user's operation to generate a second control instruction, and send the second control instruction to the main control unit, so that the main control unit controls the first switch to be closed, the second switch to be opened, and the third switch to be opened based on the second control instruction.
14. An electronic device comprising: An audio transmission system as claimed in any one of claims 1 to 13.
15. An audio transmission method, applied to a main control unit, wherein: A first audio transmission channel is formed between the main control unit and the speaker unit, and a second audio transmission channel is formed between the multimedia processing unit and the speaker unit, the first audio transmission channel is used to receive an audio signal transmitted using a first audio transmission protocol, the second audio transmission channel is used to receive an audio signal transmitted using a second audio transmission protocol, a first switch is set on the second audio transmission channel, and a second switch is set on the first audio transmission channel; The method comprises: In response to adopting the first audio transmission protocol to transmit the audio signal, controlling the first switch to be disconnected so that the first audio transmission channel transmits the audio signal; In response to adopting the second audio transmission protocol to transmit the audio signal, the second switch is controlled to be disconnected so that the second audio transmission channel transmits the audio signal.
Citation Information
Patent Citations
Bluetooth earphone
CN105100993A
Audio transmission method and electronic equipment
CN113488062A
Terminal peripheral device and audio signal transmission method
WO2019072244A1