A method for outputting an audio signal and related devices

By sending bit clocks and synthesized audio signals in the on-board equipment, the compatibility problem between on-board equipment and third-party equipment is solved, and the compatible transmission of digital audio signals and analog audio signals is realized, improving the functions and user experience of on-board equipment.

CN114257918BActive Publication Date: 2025-07-04FIBOCOM WIRELESS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111357860.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-16
Publication Date
2025-07-04
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

When existing vehicle-mounted equipment outputs audio signals to third-party devices, the compatibility is insufficient, and it cannot meet the diversified needs of third-party devices for analog and digital audio signals, resulting in limited functions.

Method used

The first chip of the vehicle-mounted device sends a bit clock to the second chip of the third-party device for initialization, and sends digital audio signals and analog audio signals, synthesizes an audio path for output, solves the limitations of the hardware architecture and realizes compatible transmission of digital audio signals and analog audio signals.

Benefits of technology

It improves the compatibility of on-board equipment with third-party equipment, adds the form of output audio signals, and enhances the functional diversity and user experience of on-board equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114257918B_ABST
    Figure CN114257918B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an audio signal output method and related devices. The method includes: sending a bit clock from a first chip to a second chip of a third-party device, where the bit clock is used to initialize the second chip; sending a digital audio signal and an analog audio signal from the first chip to the second chip. Adopting the embodiments of the present application can implement the function of the in-vehicle device to send analog audio signals and digital audio signals to the third-party device, meet the requirements of various forms of audio signals of the third-party device, and increase the form of the audio signals output by the in-vehicle device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technologies, and in particular, to a method for outputting an audio signal and related devices. Background Art

[0002] With the development of the economy and the progress of society, the automotive field in China has witnessed rapid development in recent years. People have put forward further requirements for automobiles. Correspondingly, the functions that automobiles need to achieve have increased. Among them, in-vehicle devices are installed in automobiles, and a first chip is installed inside the in-vehicle devices. Some functions may need to be realized with the assistance of third-party devices (such as: Bluetooth speakers, mobile phones), such as noise reduction, echo cancellation, simultaneous voice output, etc.

[0003] The in-vehicle device can output an analog audio signal through the first chip under one audio path. Due to the variety of third-party devices, the forms of audio signals received by third-party devices are also different, resulting in some third-party devices being unable to realize specific functions (such as: noise reduction, simultaneous voice output) through the analog audio signal of this one audio path. Therefore, the form of output of this audio signal reduces the compatibility of the in-vehicle device with third-party devices and reduces the functions that third-party devices can achieve. Summary of the Invention

[0004] Embodiments of this application provide a method for outputting an audio signal and related devices, which can be used in the vehicle field to realize the output of a digital audio signal, improve the compatibility of the in-vehicle device with third-party devices, increase the form of the output audio signal of the in-vehicle device, and promote the development of the in-vehicle device.

[0005] In a first aspect, an embodiment of this application provides a method for outputting an audio signal, which is applied to an in-vehicle device. The method includes:

[0006] Sending a bit clock to a second chip of a third-party device through a first chip, where the bit clock is used to initialize the second chip, the third-party device is an audio playback device independent of the in-vehicle device, and the second chip is an audio signal processing chip of the third-party device;

[0007] Sending a digital audio signal and an analog audio signal to the second chip through the first chip.

[0008] Among them, the vehicle-mounted device is configured with a first chip, and the third-party device is configured with a second chip. The third-party device includes, but is not limited to: headphones, mobile phones, and Bluetooth speakers. The first chip can be connected to the third-party device through a hardware path, and the hardware path includes multiple audio paths. Correspondingly, the first chip can also be connected to the third-party device through a wireless communication link based on a wireless communication protocol. The wireless communication protocol includes, but is not limited to, the Bluetooth communication protocol and the Zig-Bee communication protocol, and the wireless communication link includes multiple audio paths. The first chip has its own internal clock. The first chip can generate a bit clock through the internal clock, and moreover, the first chip can also generate the bit clock in other ways. When the bit clock exists in the form of a digital audio signal, the specific manifestation of the bit clock can be a square wave, and the vehicle-mounted device sends the bit clock to the second chip of the third-party device through the communication link via the first chip. The second chip receives the bit clock for initialization. During the initialization process, the bit clock can adjust the time standard of the second chip to make the clock of the second chip consistent with that of the first chip, thus being more conducive to signal transmission.

[0009] Based on the audio signal output method of the first aspect, the output of digital audio signals can be achieved. Since some third-party devices require digital audio signals, this solution meets the requirements of third-party devices for digital audio signals, improves the compatibility of vehicle-mounted devices, and correspondingly increases the diversity of third-party devices, so that vehicle-mounted devices can implement more functions based on third-party devices and enhance the user experience.

[0010] Combined with the first aspect, in the first possible implementation manner of the first aspect, the bit clock is used to supply power to the second chip.

[0011] Among them, the power supply method in which the bit clock supplies power to the second chip can reduce the power consumption of the second chip on the third-party device, increase the usage time of the third-party device, and moreover, the bit clock supplies power to the second chip, thereby enabling the control of the working state of the second chip. Therefore, the vehicle-mounted device can control the working state of the second chip by controlling the sending of the bit clock, playing a role in controlling the second chip.

[0012] Combined with the first aspect or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, after the vehicle-mounted device sends the bit clock to the second chip through the first chip, it further includes: shielding the first software code, and the first software code is used to turn off the bit clock.

[0013] To ensure the normal operation of the second chip, the second chip needs to receive the bit clock sent by the vehicle-mounted device, and this bit clock is used to supply power to the second chip. Therefore, when the second chip is working, if the vehicle-mounted device stops sending the bit clock to the second chip, it will cause the second chip to lose its power source and damage the working state of the second chip. Therefore, when the vehicle-mounted device sends the bit clock to the third-party device, it is necessary to mask the first software code. When the first chip runs to this first software code, this software code is skipped, so that the bit clock remains in the on state, thus ensuring the working state of the second chip.

[0014] Combined with the first aspect or the first possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, before sending the bit clock from the first chip to the second chip, it further includes:

[0015] Receiving, by the first chip, a start-up message, where the start-up message is used to indicate that the third-party device has been started.

[0016] Among them, when the third-party device is started and sends a start-up message to the vehicle-mounted device, when the vehicle-mounted device receives this start-up message through the first chip, the vehicle-mounted device sends a bit clock to the second chip of the third-party device, and this bit clock is used to initialize the second chip. And this start-up message can be sent to the vehicle-mounted device through a wireless link or a wired link. The vehicle-mounted device is a device associated with the vehicle, and when the vehicle is started, the vehicle-mounted device will be started. The third-party device is an electronic device independent of the vehicle and the vehicle-mounted device, and the start of this third-party device can be independent of the start of the vehicle-mounted device. For example, when the vehicle is running, we start the Bluetooth speaker and connect the Bluetooth speaker to the vehicle-mounted device. The time to start the Bluetooth speaker has no direct relationship with the time to start the vehicle. Therefore, to avoid unnecessary waste of energy caused by the vehicle-mounted device repeating the transmission of the bit clock when the third-party device is turned off, the vehicle-mounted device adds a start-up condition for the bit clock, that is: receiving the start-up message of the third-party device.

[0017] Combined with the first aspect or the first possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the sending of the digital audio signal and the analog audio signal from the first chip to the second chip includes:

[0018] Encapsulating, by the first chip, the digital audio signal and the analog audio signal into a composite audio signal of an audio path;

[0019] Sending, by the first chip, the composite audio signal to the second chip of the third-party device.

[0020] Among them, due to the limitations of the hardware architecture inside the first chip, the first chip does not support outputting digital audio signals and analog audio signals separately through two audio channels. The first chip can only provide one audio channel for outputting audio signals. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal, and send the synthesized signal through one audio channel, so as to solve the limitation of audio signal transmission caused by the hardware architecture and meet the requirements of the second chip for various audio signal forms.

[0021] Combined with the fourth possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect, the vehicle-mounted device has four audio channels. Among them, one audio channel is used for inputting audio signals, two audio channels are used for Bluetooth transmission, and one is used for outputting the synthesized audio signal.

[0022] In the scenario of a Bluetooth call, data is transmitted between the vehicle-mounted device and a third-party device through four communication links. Due to the limitations of the Digital Signal Processing (DSP) chip inside the first chip, the four communication links cannot be expanded into five communication links. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal by using the method described in the third possible implementation manner of the first aspect, so as to realize the function of Bluetooth calls.

[0023] Combined with the first aspect or the first possible implementation manner of the first aspect, the first chip is configured with a digital audio signal output module, and the digital audio signal output module is used for the first chip to output digital audio signals. The digital audio signal output module is configured with a control link control;

[0024] The control link is used for data transmission between the port of the Central Processing Unit (CPU) and the port of the codec. Among them, the codec is used for converting digital audio signals and analog audio signals to each other, and the codec is used to provide digital audio signals for the digital audio output module.

[0025] Among them, in terms of the specific configuration of the digital audio signal output module, the digital audio signal output module is not only configured with a control link control, but also configured with a path route and a control interface dai link. The digital audio signal output module is used for the first chip to output digital audio signals;

[0026] The control link is used for data transmission between the port of the CPU and the port of the codec. Among them, the codec is used for converting digital audio signals and analog audio signals to each other, and the codec is used to provide digital audio signals for the digital audio output module;

[0027] The ports of the CPU include multiple data transmission interfaces, and the ports of the codec include multiple data transmission interfaces. The path is used to represent the connection relationship between the multiple data transmission interfaces of the ports of the CPU and the multiple data transmission interfaces of the ports of the codec;

[0028] The control interface is used to represent the connection relationship between the first data transmission interface among the multiple data transmission interfaces of the CPU and the second data transmission interface among the multiple data transmission interfaces of the codec; the first data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec; the second data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec, and the digital audio signal will be transmitted through the configured control interface.

[0029] Through the above configuration, it is possible to provide hardware and software support for the digital audio signal output module, and meet the requirement of the in-vehicle device to output digital audio signals through the first chip.

[0030] In a second aspect, an embodiment of the present application provides an in-vehicle device, including a first chip, a memory, and a communication interface. Among them, the memory is used to store a computer program, and the first chip is used to call the computer program to perform the following operations:

[0031] Send a bit clock to the second chip of the third-party device through the communication interface. The bit clock is used to initialize the second chip. The third-party device is an audio playback device independent of the in-vehicle device, and the second chip is an audio signal processing chip of the third-party device;

[0032] Send a digital audio signal and an analog audio signal to the second chip through the communication interface.

[0033] Among them, the in-vehicle device is configured with a first chip, and the third-party device is configured with a second chip. The third-party device includes, but is not limited to: headphones, mobile phones, and Bluetooth speakers. The first chip can be connected to the third-party device through a hardware path, and the hardware path includes multiple audio paths. Correspondingly, the first chip can also be connected to the third-party device through a wireless communication link based on a wireless communication protocol. The wireless communication protocol includes, but is not limited to, the Bluetooth communication protocol and the Zig-Bee communication protocol, and the wireless communication link includes multiple audio paths. The first chip has its own internal clock, and the first chip can generate a bit clock through the internal clock. Correspondingly, the first chip can also generate the bit clock in other ways. When the bit clock exists in the form of a digital audio signal, the specific manifestation of the bit clock can be a square wave, and the in-vehicle device sends the bit clock to the second chip of the third-party device through the communication link through the first chip. The second chip receives the bit clock for initialization. During the initialization process, the bit clock can adjust the time standard of the second chip to make the clock of the second chip consistent with that of the first chip, thus being more conducive to signal transmission.

[0034] The in-vehicle device based on the output of the audio signal in the second aspect can realize the output of the digital audio signal. Since the third-party device requires the digital audio signal, this solution meets the demand of the third-party device for the digital audio signal, improves the compatibility of the in-vehicle device, and correspondingly, improves the diversity of the third-party device, so that the in-vehicle device can realize more functions based on the third-party device and enhance the user experience.

[0035] Combined with the second aspect, in the first possible implementation manner of the second aspect, the bit clock described in this application is used to supply power to the second chip.

[0036] Among them, the bit clock supplying power to the second chip can reduce the power consumption of the second chip on the third-party device, increase the usage time of the third-party device, and moreover, the bit clock supplying power to the second chip can further control the working time of the second chip by controlling the emission time of the bit clock, thus playing a role in controlling the second chip.

[0037] Combined with the second aspect or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the first chip is further used to shield the first software code, and the first software code is used to turn off the bit clock.

[0038] To ensure the normal operation of the second chip, the second chip needs to receive the bit clock sent by the vehicle-mounted device, which is used to supply power to the second chip. Therefore, when the second chip is working, if the vehicle-mounted device stops sending the bit clock to the second chip, the second chip will lose its power source and the working process of the second chip will be disrupted. Therefore, after the vehicle-mounted device sends the bit clock to the third-party device, it is necessary to mask the first software code. When the first chip runs to this first software code, this software code will be skipped so that the bit clock remains on, thus ensuring the working state of the second chip.

[0039] Combined with the second aspect or the first possible implementation manner of the second aspect, in the third possible implementation manner of the second aspect, the first chip is further configured to receive start information through the communication interface, where the start information is used to indicate that the third-party device has been started.

[0040] Among them, when the third-party device is started and sends start information to the vehicle-mounted device, when the vehicle-mounted device receives this start information through the first chip, the vehicle-mounted device sends a bit clock to the second chip of the third-party device, and this bit clock is used to initialize the second chip. And this start information can be sent to the vehicle-mounted device through a wireless link or a wired link. The vehicle-mounted device is a device associated with the vehicle. When the vehicle is started, the vehicle-mounted device will be started. However, the third-party device is an electronic device independent of the vehicle and the vehicle-mounted device, and the start of this third-party device can be independent of the start of the vehicle-mounted device. For example, when the vehicle is driving, we start a Bluetooth speaker and connect the Bluetooth speaker to the vehicle-mounted device. The time to start the Bluetooth speaker has no direct relationship with the time to start the vehicle, while the vehicle-mounted device needs to be started under the condition that the vehicle is started. Therefore, to avoid the vehicle-mounted device repeating the transmission of the bit clock when the third-party device is turned off, resulting in waste of energy, the vehicle-mounted device adds a start condition for the bit clock, that is: receiving the start information of the third-party device.

[0041] Combined with the second aspect or the first possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, in terms of sending the digital audio signal and the analog audio signal to the second chip through the communication interface, the first chip is specifically configured to:

[0042] Package the digital audio signal and the analog audio signal into a composite audio signal of one audio path;

[0043] Send the composite audio signal to the second chip of the third-party device through the communication interface.

[0044] Among them, due to the limitations of the hardware architecture inside the first chip, the first chip may not support outputting digital audio signals and analog audio signals separately through two audio channels. The first chip can only provide one audio channel for outputting audio signals. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal, and send the synthesized signal through one audio channel, so as to solve the limitation of audio signal transmission brought by the hardware architecture and meet the requirements of the second chip for various audio signal forms.

[0045] Combined with the fourth possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect, the vehicle-mounted device has four audio channels, where one audio channel is used for inputting audio signals, two audio channels are used for Bluetooth transmission, and one is used for outputting the synthesized audio signal.

[0046] In the scenario of a Bluetooth call, data is transmitted between the vehicle-mounted device and a third-party device through four communication links. Due to the limitations of the DSP chip inside the first chip, the four communication links cannot be expanded into five communication links. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal by using the method described in the third possible implementation manner of the second aspect, so as to implement the function of Bluetooth calls.

[0047] Combined with the second aspect or the first possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect, the first chip is configured with a digital audio signal output module, and the digital audio signal output module is used for the first chip to output digital audio signals. The digital audio signal output module is configured with a control link control; the control link is used for data transmission between the port of the CPU and the port of the codec, where the codec is used for converting between digital audio signals and analog audio signals, and the codec is used to provide digital audio signals for the digital audio output module.

[0048] Among them, in terms of the specific configuration of the digital audio signal output module, the digital audio signal output module is not only configured with a control link control, but also configured with a path route and a control interface dai link. The digital audio signal output module is used for the first chip to output digital audio signals;

[0049] The control link is used for data transmission between the port of the CPU and the port of the codec, where the codec is used for converting between digital audio signals and analog audio signals, and the codec is used to provide digital audio signals for the digital audio output module;

[0050] The ports of the CPU include multiple data transmission interfaces, and the ports of the codec include multiple data transmission interfaces. The path is used to characterize the connection relationship between the multiple data transmission interfaces of the ports of the CPU and the multiple data transmission interfaces of the ports of the codec;

[0051] The control interface is used to characterize the connection relationship between the first data transmission interface among the multiple data transmission interfaces of the CPU and the second data transmission interface among the multiple data transmission interfaces of the codec; the first data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec; the second data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec, and the digital audio signal will be transmitted through the configured control interface.

[0052] Through the above configuration, it is possible to provide hardware and software support for the digital audio signal output module, and meet the requirement of the in-vehicle device to output digital audio signals through the first chip.

[0053] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program. When the computer program runs on a processor, it implements the method described in the first aspect or any possible implementation manner of the first aspect.

[0054] In a fourth aspect, an embodiment of the present application provides a computer program product, which is characterized in that when the computer program product runs on a processor, it implements the method described in the first aspect or any possible implementation manner of the first aspect.

[0055] It can be understood that the computer-readable storage medium provided in the above third aspect and the computer program product provided in the fourth aspect are both used to execute the audio signal output method provided in the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the audio signal output matching method provided in the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below.

[0057] Figure 1 is a schematic diagram of the scenario of an audio signal output system provided by an embodiment of the present application;

[0058] Figure 2 is a schematic flowchart of a digital audio signal output method provided by an embodiment of the present application;

[0059] Figure 3It is a schematic diagram of the configuration of the path of a digital audio signal output module provided by an embodiment of the present application;

[0060] Figure 4 It is a schematic diagram of the configuration of the control interface of a digital audio signal output module provided by an embodiment of the present application;

[0061] Figure 5 It is a schematic diagram of the architecture of a vehicle-mounted device provided by an embodiment of the present application. Detailed implementation manners

[0062] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0063] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprise" indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.

[0064] It should also be understood that the terms used in this specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this specification of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0065] It should be further understood that the term "and / or" used in this specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0066] As used in this specification and the appended claims, the term "if" can be interpreted as "when", "once", "in response to determining" or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if detecting [the described condition or event]" can be interpreted as meaning "once determined", "in response to determining", "once detecting [the described condition or event]" or "in response to detecting [the described condition or event]" according to the context.

[0067] See Figure 1 , which is a schematic diagram of the scenario of an audio signal output system provided by an embodiment of the present application. The audio signal output system includes a vehicle-mounted device 101 and a third-party device 102. Among them, the vehicle-mounted device 101 includes a first chip 103, and the third-party device 102 includes a second chip 104. This audio signal output system is specifically applied to the vehicle-mounted field.

[0068] The in-vehicle device 101 is a device with signal transmission function and signal processing function, such as: in-vehicle tablet, in-vehicle host, etc. The in-vehicle device 101 can output digital audio signals and analog audio signals through the first chip 103.

[0069] The third-party device 102 is a device with signal transmission function and signal processing function, such as: Bluetooth speaker, earphone, mobile phone, computer, tablet, etc. The third-party device 102 can receive and process audio signals through the second chip 104. When the third-party device 102 starts up, it can send startup information to the in-vehicle device 101, and the startup information is used to indicate that the third-party device 102 has started up.

[0070] The first chip 103 is a chip with signal transmission function and signal processing function. The in-vehicle device 101 sends a bit clock to the second chip 104 of the third-party device 103 through the first chip 102. The bit clock is used to initialize the second chip 104 and can also be used to supply power to the second chip 104. Alternatively, the in-vehicle device 101 can receive the startup information of the third device 102 through the first chip 103, and when the in-vehicle device 101 receives the startup information, it sends a bit clock to the second chip 104 of the third-party device 102.

[0071] Among them, the third-party device 102 is an electronic device independent of the vehicle and the in-vehicle device, and the startup of the third-party device 102 can be independent of the startup of the in-vehicle device 101. Therefore, to avoid wasting energy due to the in-vehicle device 101 repeatedly transmitting the bit clock when the third-party device 102 is turned off, the in-vehicle device 101 adds a startup condition for the bit clock, that is: receiving the startup information of the third-party device 102.

[0072] In the application scenario of a conventional Bluetooth call, the in-vehicle device 101 has four audio channels. Among them, one audio channel is used to input audio signals, two audio channels are used for Bluetooth transmission, and one audio channel is used to output analog audio signals. In this application, the audio channel for outputting analog audio signals needs to be able to output both analog audio signals and digital audio signals. The in-vehicle device 101 can encapsulate the digital audio signal and the analog audio signal into a composite audio signal of one audio channel through the first chip 103, and the in-vehicle device 101 sends the composite audio signal to the second chip 104 of the third-party device 102 through the first chip 103.

[0073] In the embodiment of the present application, the first chip 103 is configured with a digital audio signal output module, which is used for the first chip 103 to output a digital audio signal. The digital audio signal output module is configured with a control link control. Among them, the control link is used for data transmission between the port of the CPU of the first chip and the port of the codec of the first chip. Among them, the codec is used for the mutual conversion between digital audio signals and analog audio signals, so as to provide digital audio signals for the digital audio output module.

[0074] The second chip 104 is a chip with signal transceiver function and signal processing function. More specifically, it can be a DSP chip or other forms of chips. The third-party device 102 realizes the reception and output of audio signals through the second chip 104.

[0075] The third-party device 102 receives the bit clock sent by the in-vehicle device 101 through the first chip 103 through the second chip 104. The bit clock is used to initialize the second chip 104, and the bit clock can also be used to supply power to the second chip 104.

[0076] Among them, the bit clock supplying power to the second chip 104 can reduce the power consumption of the second chip 104 on the third-party device 102, improve the usage time of the third-party device 102, and moreover, the bit clock supplying power to the second chip 104 can further control the working time of the second chip 104 by controlling the emission time of the bit clock, so as to play a role in controlling the second chip 104.

[0077] The third-party device 102 receives the digital audio signal and analog audio signal sent by the in-vehicle device 101 through the first chip 103 through the second chip 104.

[0078] See Figure 2 , Figure 2 is a schematic flow chart of an audio signal output method provided by an embodiment of the present application. This method can be implemented based on the Figure 1 shown audio signal output system. This method includes but is not limited to the following operations:

[0079] S201: The in-vehicle device sends a bit clock to the third-party device through the first chip.

[0080] Among them, the in-vehicle device is configured with a first chip, which controls the processing and transceiver of the in-vehicle device signals. Moreover, inside the first chip of the in-vehicle device, there is also a built-in DSP chip, and the built-in DSP chip of the in-vehicle device processes the digital audio signals and analog audio signals generated inside the electronic device. The third-party device needs to process the input signals, and depending on the type of the third-party device, the required input signals may vary. In some cases, the type of the third-party device is determined by the type of the chip installed inside the third-party device. The type of the chip installed inside the third-party device can specifically be a DSP chip, and the third-party device may be an electronic device independent of the in-vehicle device and capable of working in cooperation with the in-vehicle device, such as: headphones, mobile phones, tablets, and Bluetooth speakers. The third-party device is installed with a chip, and this chip can be a DSP chip. The third-party device can use this DSP chip to receive digital audio signals and perform corresponding processing on the received digital audio signals, thereby realizing functions such as noise reduction and noise cancellation. For the convenience of subsequent description, we collectively refer to the chips installed inside the third-party device as the second chip.

[0081] The first chip can be connected to the third-party device through a hardware path, and this hardware path includes multiple audio paths. Correspondingly, the first chip can also be connected to the third-party device through a wireless communication link based on a wireless communication protocol. The wireless communication protocol includes, but is not limited to, the Bluetooth communication protocol and the Zig-Bee communication protocol, and this wireless communication link includes multiple audio paths. The first chip has its own internal clock. The first chip can generate a bit clock through the internal clock, and moreover, the first chip can also generate a bit clock in other ways. When the bit clock exists in the form of a digital audio signal, the specific manifestation of the bit clock can specifically be a square wave, and the in-vehicle device sends this bit clock to the second chip of the third-party device through the communication link via the first chip. The second chip receives the bit clock for initialization.

[0082] During the initialization process, the bit clock can adjust the time standard of the second chip to make the clock of the second chip consistent with that of the first chip, thus being more conducive to signal transmission. Under the condition that the second chip receives the bit clock signal, the second chip performs an initialization operation. For example, for certain types of second chips, the specific manifestation of this initialization can be: executing a corresponding function to enable the clock for the port id of AFE_PORT_ID_QUINARY_RX.

[0083] The bit clock can supply power to the second chip, thus ensuring the normal operation of the second chip. Among them, the power supply method of the bit clock supplying power to the second chip can reduce the power consumption of the second chip from a third-party device, improve the usage time of the third-party device, and moreover, the bit clock supplies power to the second chip, thereby enabling the control of the working state of the second chip. Therefore, the vehicle-mounted device can control the working state of the second chip by controlling the transmission of the bit clock, thus playing a role in controlling the second chip. For example: The vehicle-mounted device changes the bit clock to a low level through the first chip and sends it to the second chip, or terminates sending the bit clock to the second chip, thereby achieving the purpose of stopping the second chip from working.

[0084] Among them, the solutions for the vehicle-mounted device to send the bit clock through the first chip include but are not limited to the following three:

[0085] Solution 1:

[0086] When the vehicle-mounted device is started, the vehicle-mounted device sends the bit clock through the first chip. This solution has been widely applied during the debugging process of the vehicle-mounted device.

[0087] Solution 2:

[0088] When the third device is started, the third device sends request connection information to the vehicle-mounted device. The vehicle-mounted device receives the request connection information, and the request connection information is used to indicate that the third-party device requests a connection. The vehicle-mounted device sends the bit clock to the second chip carried by the third-party device through the first chip. When the second chip receives the bit clock, it performs initialization.

[0089] For example: When the mobile phone (third-party device) has been started, the mobile phone sends request connection information to the vehicle-mounted device in response to a user operation. The request connection information is used to indicate that the mobile phone requests to connect to the first chip of the vehicle-mounted device. When the vehicle-mounted device receives the request connection information of the mobile phone through the first chip, it sends the bit clock to the DSP chip (second chip) carried by the mobile phone. When the DSP chip receives the bit clock, it performs initialization.

[0090] Solution 3:

[0091] In Solution 3, the above-mentioned request connection information in Solution 2 is specifically the startup information of the third-party device. Therefore, Solution 3 is specifically: When the third-party device is started, the third-party device sends startup information to the vehicle-mounted device, and the startup information is used to indicate that the third-party device has been started. When the vehicle-mounted device receives the startup information, it can know that the third-party device has been started based on the startup information. Therefore, the vehicle-mounted device sends the bit clock to the second chip carried by the third-party device through the first chip. When the second chip receives the bit clock, it performs initialization.

[0092] For example: when a Bluetooth headset (a third-party device) is started, the Bluetooth headset sends a start message to the in-vehicle device, and the start message is used to indicate that the Bluetooth headset has been started. When the in-vehicle device receives the start message, the in-vehicle device sends a bit clock to the DSP chip (the second chip) carried by the Bluetooth headset, and the second chip initializes when receiving the bit clock.

[0093] The above-mentioned Solution 2 and Solution 3 provide two types of third-party devices existing in life. One type of third-party device is, for example, a mobile phone. When this third-party device is started, it receives an external operation and sends a request connection message to the in-vehicle device. The start action of this third-party device has nothing to do with the request connection message it sends. Another example is a Bluetooth speaker. When this third-party device is started, it sends a start message to the third-party device. To avoid wasting energy due to the in-vehicle device repeatedly transmitting the bit clock when the third-party device is turned off, the in-vehicle device adds a start condition for the bit clock, that is: receiving the start message of the third-party device and / or receiving the request connection message of the third-party device.

[0094] S202: The in-vehicle device shields the first software code through the first chip.

[0095] Among them, the first software code is used to turn off the bit clock. To ensure the normal operation of the second chip, the second chip needs to receive the bit clock sent by the in-vehicle device, and the bit clock is used to supply power to the second chip. Therefore, when the second chip is working, if the in-vehicle device stops sending the bit clock to the second chip, it will cause the second chip to lose its energy source and damage the working state of the second chip. Therefore, when the in-vehicle device sends the bit clock to the third-party device, it is necessary to shield the first software code. When the first chip runs into the first software code, the software code is skipped to avoid turning off the bit clock and keep the bit clock in the on state, thus ensuring the working state of the second chip.

[0096] S203: The in-vehicle device sends a digital audio signal and an analog audio signal to the second chip through the first chip.

[0097] Since the types of third-party devices are different, some third-party devices support the input of analog audio signals, and some third-party devices support the input of digital audio signals. Therefore, after the in-vehicle device is connected to the third-party device through the first chip, the in-vehicle device will judge the form of the audio signal required by the third-party device according to the architecture and supported protocols of the third-party device through the first chip and output the corresponding form of the audio signal. When the signal type supported by the third-party device is a digital audio signal, the in-vehicle device outputs a digital audio signal to the second chip of the third-party device through the first chip.

[0098] Correspondingly, in some possible implementation manners, the in-vehicle device outputs an analog audio signal and a digital audio signal to the second chip through the first chip. For example, in scenarios such as a Bluetooth call scenario and a Bluetooth audio playback scenario, the situation where both an analog audio signal and a digital audio signal need to be output in the Bluetooth scenario will be introduced below.

[0099] For example, in the Bluetooth playback scenario, the in-vehicle device is connected to a third-party device. The in-vehicle device will determine the form of the audio signal required by the third-party device based on the architecture and supported protocols of the third-party device through the first chip. If it is found that the third-party device requires a digital audio signal and an analog audio signal, the in-vehicle device will send the digital audio signal and the analog audio signal to the Bluetooth speaker through the first chip. Moreover, the in-vehicle device may also send the analog audio signal and / or the analog audio signal to another third-party device through the audio path to achieve synchronous playback of multiple third-party devices.

[0100] In this method, the digital audio signal and the analog audio signal output by the in-vehicle device through the first chip are different in form, but at the same time node, the content of the digital audio signal and the analog audio signal output by the in-vehicle device through the first chip is the same. For example, in the above audio playback process, within the same time period, both the analog audio signal and the digital audio signal output by the in-vehicle device through the first chip can enable the third-party device to play the same audio segment.

[0101] In the Bluetooth call scenario: The in-vehicle device is connected to a third-party device through the Bluetooth module of the in-vehicle device. During the call, the in-vehicle device receives the digital audio signal sent by the third-party device (such as a mobile phone) through the first chip, parses the digital audio signal, and then outputs it through the sound-emitting device; the in-vehicle device collects the sound through the sound collection device and sends the digital audio signal and the analog audio signal to the third-party device through the first chip.

[0102] Among them, during a conventional Bluetooth call, four audio paths are working. One is for inputting the audio signal, one is for outputting the analog audio signal, and two are for Bluetooth transmission. In the embodiment of the present application, since the first chip needs to be able to output a digital audio signal and an analog audio signal, five audio paths are required. However, due to the hardware architecture limitation of the first chip, the first chip cannot logically transmit data through five audio paths. Therefore, in the embodiment of the present application, the in-vehicle device can convert the output of the five audio paths into the output of four audio paths through the first chip. The specific implementation manner is as follows:

[0103] A signal synthesis module is configured on the second DSP chip on the first chip. When the first chip needs to transmit digital audio signals and analog audio signals, the signal synthesis module will process and calculate the digital audio signals and analog audio signals, encapsulate the digital audio signals and analog audio signals into a synthesized audio signal, and then the first chip will transmit the synthesized audio signal to the Bluetooth module of the vehicle-mounted device through an audio path. During this process, the digital audio signals and analog audio signals are not actually merged, so there is no need to perform parsing and separation operation steps during subsequent transmission. Thus, the output of five audio paths is transformed into the output of four audio paths on the first chip. By adopting this method of transmitting audio signals, the limitation of audio signal transmission brought by the hardware architecture can be solved, and the second chip of the third device can meet the requirements for various forms of audio signals.

[0104] It should be noted that since the first chip of the vehicle-mounted device could only output one analog audio signal before the present application was proposed, in order to enable the first chip to output digital audio signals, correspondingly, the first chip has been improved, including but not limited to: modifying the code in software, providing technical support for the logic front end, and changing and adding controls in hardware to achieve technical support for the physical back end. Specifically, the first chip has added a digital audio signal output module.

[0105] Among them, in terms of the specific configuration of the digital audio signal output module, the digital audio signal output module is configured with a control link, a route, and a control interface dai link, and the digital audio signal output module is used for the first chip to output digital audio signals.

[0106] The control link is used for data transmission between the port of the CPU and the port of the codec. Among them, the codec is used for the mutual conversion of digital audio signals and analog audio signals, and the codec is used to provide digital audio signals for the digital audio output module.

[0107] The port of the CPU includes multiple data transmission interfaces, the port of the codec includes multiple data transmission interfaces, and the route is used to represent the connection relationship between the multiple data transmission interfaces of the port of the CPU and the multiple data transmission interfaces of the port of the codec. Moreover, one data transmission interface may be connected to multiple data transmission interfaces in terms of the route.

[0108] For example, the CPU port includes at least one analog output signal interface, a Bclk signal interface, a ground signal interface, and a reset signal interface. The codec port includes an IIR interface, a DEC interface, etc. By setting the path of the digital audio signal output module, multiple data transfer interfaces of the CPU can be connected to multiple data transfer interfaces of the codec. Moreover, a data transfer interface of the CPU can be connected to a data transfer interface of the CPU, and a codec interface can be connected to a codec interface.

[0109] See Figure 3 , Figure 3 FIG. is a schematic diagram of the configuration of the control link of a digital audio signal output module 30 provided by the present application. The digital audio output module includes a CPU port 301 and a codec port 302. Among them, the CPU port includes: Interface 1, Interface 2, Interface 3, and the codec port includes: Interface A, Interface B, Interface C, Interface D. Configure the path of the digital audio signal output module so that Interface 1 is connected to Interface A, Interface 1 is connected to Interface C, Interface 2 is connected to Interface A, Interface 2 is connected to Interface C, Interface 3 is connected to Interface D, Interface A is connected to Interface B, Interface B is connected to Interface C, and Interface C is connected to Interface D. Figure 3 The connections of the multiple audio signal interfaces shown are connections at the path level, indicating the possible transmission directions of the digital audio signal. The determination of the specific transmission direction of the digital audio signal requires further configuration of the control interface. And the connections of the above multiple interfaces can be achieved through one-time path configuration.

[0110] The control interface is used to represent the connection relationship between the first data transfer interface among the multiple data transfer interfaces of the CPU and the second data transfer interface among the multiple data transfer interfaces of the codec; the first data transfer interface is any data transfer interface among the multiple data transfer interfaces of the CPU and / or the codec; the second data transfer interface is any data transfer interface among the multiple data transfer interfaces of the CPU and / or the codec, and the digital audio signal will be transmitted through the configured control interface.

[0111] For example: The CPU port includes an analog output interface, and the codec port includes an analog input port. By setting the control interface of the digital audio signal output module, the analog output interface can be connected to the analog input interface.

[0112] See Figure 4 , Figure 4 FIG. is a schematic diagram of the configuration of the control interface of a digital audio signal output module provided by an embodiment of the present application. Among them, Figure 4 is based on Figure 3 configured path pair Figure 3The control interface configuration of the digital audio signal output module shown. Interface 1 is connected to Interface A, Interface 2 is connected to Interface C, Interface 3 is connected to Interface D, Interface A is connected to Interface B, and Interface B is connected to Interface C. Figure 4 The connection of the audio signal interface is at the control interface level. This connection indicates that the digital audio signal is transmitted through the connection path. Only when two data transmission interfaces are connected in the path can they be connected at the control interface.

[0113] Since there are many types of third-party devices, and different types of third-party devices support different protocols, the signal requirements for different types of third-party devices will also be different. This poses a wider range of requirements for the form of the output audio signal of in-vehicle devices. Therefore, this application improves the problem of the single output audio signal of in-vehicle devices. Using this application can enable in-vehicle devices to output digital audio signals, thereby increasing the number and types of third-party devices that in-vehicle devices can support. For example: Third-party devices include different types of electronic devices such as headphones, mobile phones, tablets, and Bluetooth speakers. Among them, when the third-party device is a Bluetooth speaker, the in-vehicle device only needs to output an analog audio signal to the DSP chip of the Bluetooth speaker to achieve audio output. However, when the third-party device is a noise-canceling headphone, the third-party device can output analog and digital signals to the DSP chip of the noise-canceling headphone to achieve the noise-canceling function. The DSP chips of the noise-canceling headphone and the Bluetooth speaker can both process audio signals, but their specific structures are different, and the types of audio signals they process are different. And the structure of the DSP chip of the Bluetooth speaker may change, enabling the Bluetooth speaker to support the input of analog signals. Therefore, a digital audio signal output module needs to be added to meet the requirements of various audio signal forms of third-party devices, enabling third-party devices to achieve more functions.

[0114] See Figure 5 , Figure 5 is a schematic diagram of the architecture of an in-vehicle device 40 provided by an embodiment of this application. The in-vehicle device can specifically be Figure 1 the audio signal output system in, or a module in the audio signal output system. Among them, the in-vehicle device 40 includes a first chip 401, a memory 402, and a communication interface 403. The first chip 401 includes a digital audio signal output module 404. The detailed descriptions of each device are as follows.

[0115] The first chip 401 is a chip with signal transmission and signal processing functions. The first chip 401 can be a CPU, or it can also be other general-purpose processors, DSPs, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0116] The memory 402 can include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A part of the memory 402 can also include a non-volatile random access memory. For example, the memory 402 can also store information about the device type.

[0117] Among them, the communication interface 403 can be the communication interface of a wireless module such as the communication interface of a Bluetooth module or a WIFI module, or a wired communication interface connected to a data line such as a headphone jack. The communication interface 403 may be integrated inside the first chip 401 or outside the first chip 401. When the communication interface 403 is inside the first chip, the communication interface 403 may be connected to the digital audio signal output module 404 and / or integrated with the digital signal output module 404 in the same module.

[0118] The memory 402 is used to store a computer program, and the first chip 401 is used to call the computer program to perform the following operations:

[0119] Send a bit clock to the second chip of a third-party device through the communication interface 403. The bit clock is used to initialize the second chip. The third-party device is an audio playback device independent of the vehicle-mounted device, and the second chip is the audio signal processing chip of the third-party device;

[0120] Send a digital audio signal and an analog audio signal to the second chip through the communication interface 403.

[0121] Among them, the third-party device is configured with a second chip, and the third-party device includes, but is not limited to, mobile phones and Bluetooth speakers. The first chip 401 can be connected to the third-party device through a hardware path, and the hardware path includes multiple audio paths. Correspondingly, the first chip 401 can also be connected to the third-party device through a wireless communication link based on a wireless communication protocol. The wireless communication protocol includes, but is not limited to, Bluetooth communication protocol and Zig-Bee communication protocol, and the wireless communication link includes multiple audio paths. The first chip 401 has its own internal clock. The first chip 401 can generate a bit clock through the internal clock, and can also generate the bit clock in other ways. When the bit clock exists in the form of a digital audio signal, the specific manifestation of the bit clock can be a square wave, and the in-vehicle device 40 sends the bit clock to the second chip of the third-party device through the communication link through the first chip 401. The second chip receives the bit clock for initialization. During the initialization process, the bit clock can adjust the time standard of the second chip to make the clock of the second chip consistent with that of the first chip 401, thus being more conducive to signal transmission.

[0122] Based on the audio signal output method of the first aspect, the output of digital audio signals can be realized. Since the third-party device requires digital audio signals, this solution meets the requirements of the third-party device for digital audio signals, improves the compatibility of the in-vehicle device 40, and correspondingly, improves the diversity of the third-party device, so that the in-vehicle device 40 can implement more functions based on the third-party device and enhance the user experience.

[0123] In a possible implementation manner, the bit clock described in this application is used to supply power to the second chip.

[0124] Among them, the bit clock supplying power to the second chip can reduce the power consumption of the second chip on the third-party device, increase the usage time of the third-party device, and moreover, the bit clock supplying power to the second chip can further control the working time of the second chip by controlling the transmission time of the bit clock, thus playing a role in controlling the second chip.

[0125] In yet another possible implementation manner, the first chip 401 is further used to shield the first software code, and the first software code is used to turn off the bit clock.

[0126] To ensure the normal operation of the second chip, the second chip needs to receive the bit clock sent by the vehicle-mounted device 40, which is used to power the second chip. Therefore, when the second chip is operating, if the vehicle-mounted device 40 stops sending the bit clock to the first chip 401, the second chip will lose its power source and the operation process of the second chip will be disrupted. Therefore, after the vehicle-mounted device 40 sends the bit clock to the third-party device, it is necessary to mask the first software code. When the first chip 401 runs into this first software code, this software code will be skipped so that the bit clock remains in the on state, thus ensuring the operating state of the second chip.

[0127] In another possible implementation, the first chip 401 is further configured to receive startup information through the communication interface 403, where the startup information is used to indicate that the third-party device has been started.

[0128] Wherein, when the third-party device starts up and sends startup information to the vehicle-mounted device 40, and the vehicle-mounted device 40 receives this startup information through the first chip 401, the vehicle-mounted device 40 sends a bit clock to the second chip of the third-party device, and this bit clock is used to initialize the second chip. At the same time, this startup information can be sent to the vehicle-mounted device 40 through a wireless link or a wired link. The vehicle-mounted device 40 is a device associated with the vehicle. When the vehicle starts, the vehicle-mounted device 40 will start up. However, the third-party device is an electronic device independent of the vehicle and the vehicle-mounted device 40, and the startup of this third-party device can be independent of the startup of the vehicle-mounted device 40. For example, during the driving of the vehicle, we start up a Bluetooth speaker and connect the Bluetooth speaker to the vehicle-mounted device 40. The time to start up the Bluetooth speaker has no direct relationship with the time to start up the vehicle, while the vehicle-mounted device 40 needs to start up under the condition that the vehicle starts. Therefore, to avoid the vehicle-mounted device 40 repeatedly transmitting the bit clock when the third-party device is turned off, resulting in waste of energy, the vehicle-mounted device 40 adds a startup condition for the bit clock, that is: receiving the startup information of the third-party device.

[0129] In another possible implementation, in terms of sending digital audio signals and analog audio signals to the second chip through the communication interface 403, the first chip 401 is specifically configured to:

[0130] Package the digital audio signal and the analog audio signal into a composite audio signal on one audio path;

[0131] Send the composite audio signal to the second chip of the third-party device through the communication interface 403.

[0132] Among them, due to the limitations of the internal hardware architecture of the first chip 401, the first chip 401 may not support outputting digital audio signals and analog audio signals separately through two audio channels. The first chip 401 can only provide one audio channel for outputting audio signals. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal, and send the synthesized signal through one audio channel, so as to solve the limitation of audio signal transmission brought by the hardware architecture and meet the requirements of the second chip for various audio signal forms.

[0133] In another possible implementation, the vehicle-mounted device 40 has four audio channels. Among them, one audio channel is used for inputting audio signals, two audio channels are used for Bluetooth transmission, and one is used for outputting the synthesized audio signal.

[0134] In the scenario of a Bluetooth call, data is transmitted between the vehicle-mounted device 40 and a third-party device through four communication links. Due to the limitations of the DSP chip inside the first chip 401, the four communication links cannot be expanded into five communication links. Therefore, it is necessary to synthesize the digital audio signal and the analog audio signal by using the method described in the third possible implementation of the second aspect, so as to implement the function of Bluetooth calls.

[0135] In another possible implementation, the first chip 401 is configured with a digital audio signal output module 404. The digital audio signal output module 404 is used for the first chip 401 to output digital audio signals, and sends the digital audio signals to the communication interface 403 through the digital audio signal output module. The digital audio signal output module 404 is configured with a control link control; the control link is used for data transmission between the port of the CPU and the port of the codec. Among them, the codec is used for converting digital audio signals and analog audio signals into each other, and the codec is used to provide digital audio signals for the digital audio output module.

[0136] In terms of the specific configuration of the digital audio signal output module 404, the digital audio signal output module 404 is not only configured with a control link control, but also configured with a path route and a control interface dai link. The digital audio signal output module 404 is used for the first chip 401 to output digital audio signals;

[0137] The control link is used for data transmission between the port of the CPU and the port of the codec. Among them, the codec is used for converting digital audio signals and analog audio signals into each other, and the codec is used to provide digital audio signals for the digital audio output module;

[0138] The ports of the CPU include multiple data transmission interfaces, the ports of the codec include multiple data transmission interfaces, and the path is used to represent the connection relationship between the multiple data transmission interfaces of the ports of the CPU and the multiple data transmission interfaces of the ports of the codec;

[0139] The control interface is used to represent the connection relationship between the first data transmission interface among the multiple data transmission interfaces of the CPU and the second data transmission interface among the multiple data transmission interfaces of the codec; the first data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec; the second data transmission interface is any one of the multiple data transmission interfaces of the CPU and / or the codec, and the digital audio signal will be transmitted through the configured control interface.

[0140] Through the above configuration, it is possible to provide hardware and software support for the digital audio signal output module, meeting the requirement for the in-vehicle device 40 to output digital audio signals through the first chip 401.

[0141] The embodiment of the present application also provides a computer-readable storage medium. Computer instructions are stored in the above computer-readable storage medium. When the above computer-readable storage medium runs on a processor, it realizes Figure 1 the operations performed by the digital audio signal output system in the shown embodiment.

[0142] The embodiment of the present application also provides a computer program product. When the above computer program product runs on a processor, it realizes Figure 1 the operations performed by the digital audio signal output system in the shown embodiment. Those skilled in the art should understand that the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes. For example, applications (APPs), plug-ins, etc. for service matching.

[0143] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described audio signal output system and vehicle-mounted device can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0145] In several embodiments provided in the present application, it should be understood that the disclosed audio signal output system and vehicle-mounted device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices or units, and can also be electrical, mechanical or other forms of connection.

[0146] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.

[0147] In addition, each functional unit in various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0148] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0149] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. An audio signal output method, characterized in that, Applied to in-vehicle devices, including: Sending a bit clock from a first chip to a second chip of a third-party device, the bit clock being used to initialize the second chip, the third-party device being an audio playback device independent of the in-vehicle device, and the second chip being an audio signal processing chip of the third-party device; the bit clock is also used to power the second chip; Masking a first software code, the first software code being used to turn off the bit clock; Sending a digital audio signal and an analog audio signal from the first chip to the second chip.

2. The method according to claim 1, characterized in that, Before sending the bit clock from the first chip to the second chip of the third-party device, it further includes: Receiving a start-up message through the first chip, where the start-up message is used to indicate that the third-party device has been started.

3. The method according to claim 1 or 2, characterized in that, Sending the digital audio signal and the analog audio signal from the first chip to the second chip includes: Encapsulating the digital audio signal and the analog audio signal into a composite audio signal of one audio path through the first chip; Sending the composite audio signal from the first chip to the second chip.

4. The method according to claim 3, wherein The in-vehicle device has four audio paths, where one audio path is used for inputting audio signals, two audio paths are used for Bluetooth transmission, and one audio path is used for outputting the composite audio signal.

5. The method according to any one of claims 1 or 2, characterized in that The first chip is configured with a digital audio signal output module, the digital audio signal output module is used for the first chip to output the digital audio signal, and the digital audio signal output module is configured with a control link control; where the control link is used for data transmission between the port of the central processing unit (CPU) of the first chip and the port of the codec of the first chip, and the codec is used for converting between digital audio signals and analog audio signals, so as to provide digital audio signals for the digital audio signal output module.

6. A vehicle-mounted device, characterized in that, Including a first chip, a memory, and a communication interface, where the memory is used to store a computer program, and the first chip is used to call the computer program to perform the following operations: Sending a bit clock from the communication interface to a second chip of a third-party device, the bit clock being used to initialize the second chip, the second chip being an audio signal processing chip of the third-party device; the bit clock is also used to power the second chip; Masking a first software code, the first software code being used to turn off the bit clock; Sending a digital audio signal and an analog audio signal from the communication interface to the second chip.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program, and when the computer program runs on a processor, it implements the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Audio data synchronization method and device

    CN113228701A

  • Digital-analog dual-purpose type wireless audio frequency transmitter

    CN202103656U