Audio starting device, vehicle, audio starting method and medium
By using the audio startup device in the vehicle audio hardware system, the control module reads the hardware configuration information and determines the matching firmware, the problem of relying on pre-flashed configuration information when starting audio hardware in the prior art is solved, and fast and reliable audio startup is achieved.
Patent Information
- Application Number
- CN202311519575.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2025-05-16
AI Technical Summary
The existing vehicle audio hardware system needs to pre-flash multiple software versions and configuration information when starting, resulting in high maintenance costs and driving errors caused by the hardware information not matching the actual situation, affecting the audio startup effect.
An audio startup device is provided, including a control module, an audio signal processing module and an audio hardware to be started. The control module writes the first firmware after the vehicle is started to drive the audio signal processing module to output a clock signal, and then controls the audio hardware to power on. The control module then reads the hardware configuration information of the audio hardware, and determines the matching second firmware based on this, and writes the audio signal processing module to drive the audio hardware to transmit the audio playback strategy.
Determining the firmware by directly reading the hardware configuration information of the audio hardware avoids dependence on the configuration font library, improves the audio startup speed, and reduces driver errors and maintenance costs.
Smart Images

Figure CN120010941A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of audio technology, and in particular to an audio activation device, a vehicle, an audio activation method and a medium. Background Art
[0002] The audio hardware system on a vehicle is generally composed of a controller, a digital signal processor (DSP), an amplifier, and speakers. The same model is also divided into different configuration levels. Low-end cars generally have one or two amplifiers, which are on the host hardware. High-end cars generally have an external amplifier board, which is connected to the host hardware through the Automotive Audio Bus (A2B) bus. The A2B bus relies on the A2B chip on the host hardware as the master chip. Because high-end cars have more speakers, more audio effect processing needs to be done in the DSP.
[0003] The vehicle is flashed with multiple software versions and corresponding configuration information when it leaves the factory. When the audio needs to be started, the vehicle software generally reads the vehicle configuration information and loads different DSP firmware based on the configuration information to adapt to different vehicle models and hardware configurations. This requires the vehicle to be flashed with multiple software versions and corresponding configuration information in advance, which has high maintenance costs. If the hardware information in the configuration information does not match the actual hardware situation, driver errors may occur, affecting the effect of audio startup. Summary of the invention
[0004] The embodiments of the present disclosure at least provide an audio activation device, a vehicle, an audio activation method, and a medium.
[0005] The embodiment of the present disclosure provides an audio activation device, which includes a control module, an audio signal processing module, and audio hardware to be activated, wherein the control module is connected to the audio signal processing module, and the audio signal processing module is connected to the audio hardware; wherein:
[0006] The control module is used to write a first firmware to the audio signal processing module after the vehicle is started, and the first firmware is used to drive the audio signal processing module to output a clock signal during operation;
[0007] The audio signal processing module is used to run according to the first firmware after startup, and send a clock signal to the connected audio hardware; the clock signal is used to control the audio hardware to enter a power-on state;
[0008] The control module is further used to read the hardware configuration information of the audio hardware after the audio hardware is powered on, and based on the read hardware configuration information, determine the second firmware that matches the hardware configuration information, and write the second firmware to the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
[0009] In an optional implementation manner, the control module is specifically used to:
[0010] Reading audio hardware information of audio hardware connected to the audio signal processing module;
[0011] Based on the audio hardware information, determining first audio hardware connected to the audio signal processing module and second audio hardware connected to the first audio hardware;
[0012] The hardware configuration information is determined based on the first audio hardware and the second audio hardware.
[0013] In an optional implementation, the control module is specifically configured to read the audio hardware information from a register of the audio hardware connected to the audio signal processing module through the first communication interface.
[0014] In an optional implementation manner, the control module is specifically used to:
[0015] Detecting whether target data exists in the audio hardware information, wherein the target data includes at least one of an audio hardware name, an audio hardware version, an audio hardware model, and an audio hardware status;
[0016] If so, determining the first audio hardware indicated by the target data;
[0017] Determine, based on the connection status of the first audio hardware, second audio hardware connected to the first audio hardware;
[0018] Among them, the first audio hardware includes a first power amplifier and a first audio signal transmission hardware. When the first audio hardware is the first power amplifier, the second audio hardware includes a first speaker. When the first audio hardware is the first audio signal transmission hardware, the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier.
[0019] In an optional implementation manner, when the first audio hardware is a first power amplifier and the second audio hardware includes a first speaker, the control module is specifically configured to:
[0020] Determine at least one speaker connected to the first power amplifier, and a first audio channel between each speaker and the first power amplifier;
[0021] For each first audio channel, perform channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel;
[0022] If the first audio channel detection result of the first audio channel indicates that the channel connection is normal, the speaker corresponding to the first audio channel is determined as the first speaker connected to the first power amplifier.
[0023] In an optional implementation, the control module is specifically used to detect whether the first audio channel is in an open circuit state or a short circuit state, and when the first audio channel is not in an open circuit state or a short circuit state, determine that the first audio channel detection result of the first audio channel indicates that the channel connection is normal.
[0024] In an optional implementation, the audio activation device further includes an external power amplifier module, and the external power amplifier module includes a second audio signal transmission hardware, a second power amplifier, and a second speaker;
[0025] In the case where the first audio hardware is first audio signal transmission hardware, and the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier, the control module is specifically used to:
[0026] Reading signal transmission node information for the second audio signal transmission hardware;
[0027] Based on the signal transmission node information, determining at least one second audio signal transmission hardware connected to the first audio signal transmission hardware;
[0028] Reading the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller of the external power amplifier module through the second communication interface;
[0029] Parsing the power amplifier configuration information to obtain a second power amplifier connected to each of the second audio signal transmission hardware;
[0030] Based on the channel connection information, a second speaker connected to the second power amplifier is determined.
[0031] In an optional implementation, the control module is specifically used to read the signal transmission node information from the first audio signal transmission hardware through the first communication interface; or read the signal transmission node information from the onboard audio controller through the second communication interface.
[0032] In an optional implementation manner, the control module is specifically used to:
[0033] Determine, based on the channel connection information, at least one speaker connected to the second power amplifier, and a second audio channel between each speaker and the second power amplifier;
[0034] For each second audio channel, perform channel detection on the second audio channel to obtain a second audio channel detection result of the second audio channel;
[0035] If the second audio channel detection result of the second audio channel indicates that the channel connection is normal, the speaker corresponding to the second audio channel is determined as the second speaker connected to the second power amplifier.
[0036] An embodiment of the present disclosure provides a vehicle, including a vehicle body and an audio activation device as described in any of the above optional implementations.
[0037] The embodiment of the present disclosure also provides an audio activation method, which is applied to a control module included in an audio activation device, and the method includes:
[0038] After the vehicle is started, a first firmware is written into the audio signal processing module, wherein the first firmware is used to drive the audio signal processing module to output a clock signal during operation, and the clock signal is used to control the audio hardware connected to the audio signal processing module to enter a power-on state;
[0039] After the audio hardware is powered on, reading hardware configuration information of the audio hardware;
[0040] Based on the read hardware configuration information, determining a second firmware that matches the hardware configuration information;
[0041] The second firmware is written into the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
[0042] In an optional implementation manner, the reading the hardware configuration information of the audio hardware includes:
[0043] Reading audio hardware information of audio hardware connected to the audio signal processing module;
[0044] Based on the audio hardware information, determining first audio hardware connected to the audio signal processing module and second audio hardware connected to the first audio hardware;
[0045] Determine the hardware configuration information based on the first audio hardware and the second audio hardware
[0046] In an optional implementation manner, the reading audio hardware information of the audio hardware connected to the audio signal processing module includes:
[0047] The audio hardware information is read from a register of the audio hardware connected to the audio signal processing module through the first communication interface.
[0048] In an optional implementation, determining, based on the audio hardware information, the first audio hardware connected to the audio signal processing module and the second audio hardware connected to the first audio hardware includes:
[0049] Detecting whether target data exists in the audio hardware information, wherein the target data includes at least one of an audio hardware name, an audio hardware version, an audio hardware model, and an audio hardware status;
[0050] If so, determining the first audio hardware indicated by the target data;
[0051] Determine, based on the connection status of the first audio hardware, second audio hardware connected to the first audio hardware;
[0052] Among them, the first audio hardware includes a first power amplifier and a first audio signal transmission hardware. When the first audio hardware is the first power amplifier, the second audio hardware includes a first speaker. When the first audio hardware is the first audio signal transmission hardware, the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier.
[0053] In an optional implementation, when the first audio hardware is a first power amplifier and the second audio hardware includes a first speaker, determining the second audio hardware connected to the first audio hardware based on the connection status of the first audio hardware includes:
[0054] Determine at least one speaker connected to the first power amplifier, and a first audio channel between each speaker and the first power amplifier;
[0055] For each first audio channel, perform channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel;
[0056] If the first audio channel detection result of the first audio channel indicates that the channel connection is normal, the speaker corresponding to the first audio channel is determined as the first speaker connected to the first power amplifier.
[0057] In an optional implementation manner, performing channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel includes:
[0058] Detecting whether the first audio channel is in an open circuit state or a short circuit state;
[0059] If not, it is determined that the first audio channel detection result of the first audio channel indicates that the channel connection is normal.
[0060] In an optional implementation, the audio activation device further includes an external power amplifier module, and the external power amplifier module includes a second audio signal transmission hardware, a second power amplifier, and a second speaker;
[0061] In a case where the first audio hardware is first audio signal transmission hardware, and the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier, the determining, based on the connection status of the first audio hardware, the second audio hardware connected to the first audio hardware includes:
[0062] Reading signal transmission node information for the second audio signal transmission hardware;
[0063] Based on the signal transmission node information, determining at least one second audio signal transmission hardware connected to the first audio signal transmission hardware;
[0064] Reading the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller of the external power amplifier module through the second communication interface;
[0065] Parsing the power amplifier configuration information to obtain a second power amplifier connected to each of the second audio signal transmission hardware;
[0066] Based on the channel connection information, a second speaker connected to the second power amplifier is determined.
[0067] In an optional implementation manner, the reading the signal transmission node information for the second audio signal transmission hardware includes:
[0068] Reading the signal transmission node information from the first audio signal transmission hardware through a first communication interface; or
[0069] The signal transmission node information is read from the onboard audio controller through the second communication interface.
[0070] In an optional implementation manner, determining the second speaker connected to the second power amplifier based on the channel connection information includes:
[0071] Determine, based on the channel connection information, at least one speaker connected to the second power amplifier, and a second audio channel between each speaker and the second power amplifier;
[0072] For each second audio channel, perform channel detection on the second audio channel to obtain a second audio channel detection result of the second audio channel;
[0073] If the second audio channel detection result of the second audio channel indicates that the channel connection is normal, the speaker corresponding to the second audio channel is determined as the second speaker connected to the second power amplifier.
[0074] The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned audio startup method are executed.
[0075] The audio starting device, vehicle, audio starting method and medium provided by the embodiments of the present disclosure are as follows: after the vehicle is started, the control module can write a first firmware to the audio signal processing module, the first firmware is used to drive the audio signal processing module to output a clock signal during operation, the audio signal processing module operates according to the first firmware after startup, and sends a clock signal to the connected audio hardware, the clock signal is used to control the audio hardware to enter a power-on state, after the audio hardware is powered on, the control module reads the hardware configuration information of the audio hardware, determines a second firmware matching the hardware configuration information based on the read hardware configuration information, and writes the second firmware to the audio signal processing module, the second firmware is used to drive the audio signal processing module to transmit an audio playback strategy to the audio hardware, in this way, by directly reading the hardware configuration information of the audio hardware to determine the corresponding second firmware, compared with the traditional method of determining the firmware according to the configuration information in the configuration word library, there is no need to rely on the configuration information in the configuration word library to start the audio, which greatly improves the audio startup speed and helps to achieve fast sound.
[0076] Furthermore, since the second firmware is determined according to the real-time hardware configuration information in the audio startup device, there is no need to combine the configuration information pre-stored in the configuration word library, thereby avoiding the driver error caused by the mismatch between the hardware information in the pre-stored configuration information and the actual hardware information due to the configuration information error in the configuration word library, thereby reducing the situation of audio hardware startup errors.
[0077] Furthermore, there is no need to maintain configuration information associated with the audio hardware in the configuration font library, there is no need to obtain the configuration information when using the audio hardware, and there is no need to change the configuration information and the corresponding firmware when the vehicle model and configuration level are updated, which greatly reduces maintenance costs and reduces the consumption of manpower and material resources.
[0078] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure.
[0079] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0081] Figure 1 A principle block diagram of an audio activation device provided by an embodiment of the present disclosure is shown;
[0082] Figure 2 A principle block diagram of another audio activation device provided by an embodiment of the present disclosure is shown;
[0083] Figure 3 A flow chart of an audio startup method provided by an embodiment of the present disclosure is shown;
[0084] Figure 4 A schematic diagram of an audio startup process provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0085] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure more clear, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.
[0086] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0087] When the vehicle leaves the factory, it is flashed with multiple software versions and corresponding configuration information. The configuration information is stored in the configuration font. When the audio needs to be started, the vehicle software generally reads the vehicle configuration information and loads different DSP firmware based on the configuration information to adapt to different vehicle models and hardware configurations. This causes the configuration information in the configuration font to increase with the increase in vehicle models and configuration levels, which increases the cost of software development, debugging and maintenance accordingly. Each increase in vehicle models and configuration levels will cause changes in the software version, which is costly. In addition, if the hardware information in the configuration information does not match the actual hardware information, driver errors may occur, and some audio hardware may be omitted, resulting in the audio hardware that should work not working.
[0088] Although audio startup can be performed in the above manner, in essence, audio startup depends on the pre-written configuration information rather than just on the actual hardware. That is to say, when starting the audio, it is necessary to first read the vehicle model and configuration level, and then determine the configuration information that matches the vehicle model and configuration level from the pre-written multiple configuration information, and then load the corresponding software version according to the configuration information, and then initialize the corresponding hardware according to the configuration information and write the audio processing algorithm in the audio signal processor according to the software version. This process takes a lot of time and may not be able to meet the scenarios that require fast sound.
[0089] Based on the above research, the present disclosure provides a vehicle and an audio starting device and an audio starting method used in the vehicle. After the vehicle is started, the hardware configuration information of the audio system can be directly read to determine the corresponding firmware. Compared with the traditional method of determining the firmware according to the configuration information in the configuration font library, there is no need to rely on the configuration information in the configuration font library to start the audio, which greatly improves the configuration speed and helps to achieve fast sound.
[0090] An audio activation device provided by an embodiment of the present disclosure is described below in conjunction with the accompanying drawings.
[0091] See also Figure 1 , Figure 1 This is a functional block diagram of an audio activation device provided by an embodiment of the present disclosure. Figure 1As shown in , the audio starting device includes a control module, an audio signal processing module and audio hardware to be started, the control module is connected to the audio signal processing module, and the audio signal processing module is connected to the audio hardware.
[0092] The control module may be a system on chip (SoC) or the like, and the audio signal processing module may be a digital signal processor (DSP) or the like.
[0093] Optionally, the audio hardware may be in the form of a chip or other forms.
[0094] In some embodiments, the control module is used to write a first firmware into the audio signal processing module after the vehicle is started, and the first firmware is used to drive the audio signal processing module to output a clock signal during operation.
[0095] The audio signal processing module is used to run according to the first firmware after startup and send a clock signal to the connected audio hardware; the clock signal is used to control the audio hardware to enter a power-on state.
[0096] The control module is further used to read the hardware configuration information of the audio hardware after the audio hardware is powered on, and based on the read hardware configuration information, determine the second firmware that matches the hardware configuration information, and write the second firmware to the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
[0097] When starting the audio, the vehicle needs to be started first, and then the control module writes the first firmware to the audio signal processing module. After the audio signal processing module writes the first firmware, the audio signal processing module can start running and output a clock signal to the outside.
[0098] In a specific implementation, the audio signal processing module can provide a clock signal to the audio hardware connected to the audio signal processing module in the audio starting device. After the audio hardware connected to the audio signal processing module receives the clock signal, the peripheral circuit of the audio hardware starts to be powered and the audio hardware starts to start.
[0099] The first firmware and the second firmware refer to software versions and program codes.
[0100] In some embodiments, the control module is specifically used to read audio hardware information of the audio hardware connected to the audio signal processing module; based on the audio hardware information, determine the first audio hardware connected to the audio signal processing module, and the second audio hardware connected to the first audio hardware; based on the first audio hardware and the second audio hardware, determine the hardware configuration information.
[0101] In the above steps, the hardware configuration information is used to indicate that the audio activation device includes the first audio hardware and the second audio hardware.
[0102] In this way, the first audio hardware and the second audio hardware can be determined by reading the audio hardware information of the audio hardware connected to the audio signal processing module, thereby obtaining the hardware configuration information, which helps to avoid omission of the audio hardware in the audio starting device.
[0103] For example, see Figure 2 , Figure 2 This is a principle block diagram of another audio activation device provided by an embodiment of the present disclosure. Figure 2 As shown in , the audio activation device includes a host system and an external power amplifier module.
[0104] In the host system, the control module is connected to the audio signal processing module, and the audio signal processing module is also connected to the first power amplifier 1, the first power amplifier 2 and the first audio signal transmission hardware.
[0105] Here, the audio signal processing module is used to process the audio signal. After processing the audio signal, the audio signal processing module transmits the processed audio signal to the power amplifier for signal amplification. The signal transmission format is generally time division multiplexing (TDM). Among them, TDM4 means transmitting 4 channels of data, TDM8 means transmitting 8 channels of data, and the number of transmission channels is determined by the number of channels connected to the power amplifier.
[0106] Here, the first power amplifier 1 and the first power amplifier 2 can both be connected to 4 channels, and the first power amplifier 1 and the first power amplifier 2 are both connected to 4 first speakers. Therefore, the audio signal processing module adopts the TDM4 signal transmission format when transmitting audio signals to the first power amplifier 1 and the first power amplifier 2.
[0107] The control module can read the audio hardware information from the first power amplifier 1 , the first power amplifier 2 and the first audio signal transmission hardware through a two-wire serial (Inter-Integrated Circuit, I2C) bus.
[0108] The external power amplifier module is connected to the host system. Specifically, the second audio signal transmission hardware in the external power amplifier module is connected to the first audio signal transmission hardware in the host system, and data can be transmitted bidirectionally between the first audio signal transmission hardware and the second audio signal transmission hardware.
[0109] Exemplarily, the first audio signal transmission hardware may be an A2B master, and the second audio signal transmission hardware may be an A2B slave.
[0110] In the external power amplifier module, the second audio signal transmission hardware is connected to the second power amplifier. Here, the second power amplifier can connect 16 channels, and the second power amplifier is connected to 16 second speakers. Therefore, the audio signal processing module adopts the TDM16 signal transmission format when transmitting audio signals to the first audio signal transmission hardware. Similarly, the first audio signal transmission hardware also adopts the TDM16 signal transmission format when transmitting audio signals to the second audio signal transmission hardware.
[0111] The external power amplifier module further includes an onboard audio controller, and the onboard audio controller can read audio hardware information from the second audio signal transmission hardware and the second power amplifier via an I2C bus.
[0112] In addition, the control module can read the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller via a controller area network (CAN) bus.
[0113] In practical applications, audio start devices can be divided into different configuration levels. For example, taking a low-profile audio start device and a high-profile audio start device as an example, a low-profile audio start device refers to an audio start device with less than or equal to 8 speakers, and a high-profile audio start device refers to an audio start device with more than 8 speakers.
[0114] For a low-profile audio starting device, the audio hardware configuration may be only the first power amplifier 1, without the first power amplifier 2, the first audio signal transmission hardware, the second audio signal transmission hardware, and the second power amplifier; the audio hardware configuration may also be only the first power amplifier 1 and the first power amplifier 2, without the first audio signal transmission hardware, the second audio signal transmission hardware, and the second power amplifier.
[0115] For the high-end audio starting device, the audio hardware configuration may include the first audio signal transmission hardware, the second audio signal transmission hardware and the second power amplifier, excluding the first power amplifier 1 and the first power amplifier 2; the audio hardware configuration may also include the first audio signal transmission hardware, the second audio signal transmission hardware, the second power amplifier and the first power amplifier 1, excluding the first power amplifier 2; the audio hardware configuration may also include the first audio signal transmission hardware, the second audio signal transmission hardware, the second power amplifier, the first power amplifier 1 and the first power amplifier 2.
[0116] In this example, the audio starting device includes one second audio signal transmission hardware. In actual applications, the audio starting device may include multiple second audio signal transmission hardware. When the audio starting device includes multiple second audio signal transmission hardware, each second audio signal transmission hardware is respectively connected to the first audio signal transmission hardware, and each second audio signal transmission hardware is respectively connected to a corresponding second speaker.
[0117] In some embodiments, the control module is specifically configured to read audio hardware information from a register of audio hardware connected to the audio signal processing module through a first communication interface.
[0118] The audio hardware itself has a register, so the audio hardware information can be read from the register of the audio hardware connected to the audio signal processing module.
[0119] Exemplary, combined Figure 2 It can be seen that the audio hardware connected to the audio signal processing module is the first power amplifier 1, the first power amplifier 2 and the first audio signal transmission hardware, so the first communication interface can be an I2C interface. Specifically, the control module is specifically used to read audio hardware information from the registers of the first power amplifier 1, the first power amplifier 2 and the first audio signal transmission hardware through the I2C interface.
[0120] In this way, reading the audio hardware information from the register of the audio hardware connected to the audio signal processing module through the first communication interface helps to ensure the accuracy and effectiveness of the audio hardware information and improve the efficiency of obtaining the audio hardware information.
[0121] In some embodiments, the control module is specifically used to:
[0122] Detecting whether target data exists in the audio hardware information, wherein the target data includes at least one of an audio hardware name, an audio hardware version, an audio hardware model, and an audio hardware status;
[0123] If so, determining the first audio hardware indicated by the target data;
[0124] Based on the connection status of the first audio hardware, second audio hardware connected to the first audio hardware is determined.
[0125] In the above steps, when the control module detects that there is target data in the audio hardware information, it can be considered that the audio hardware corresponding to the target data exists, so that the audio hardware indicated by the target data can be determined as the first audio hardware.
[0126] Here, the target data may also include information of the manufacturer of the audio hardware, for example, the name of the manufacturer of the audio hardware.
[0127] It should be noted that, when the audio hardware status included in the target data is in an available state, the first audio hardware indicated by the target data can be determined. It can be understood that if the audio hardware status included in the target data is in an unavailable state or a faulty state, it means that the audio hardware indicated by the target data cannot be used, and therefore the audio hardware indicated by the target data is not determined as the first audio hardware.
[0128] After determining the first audio hardware, the control module is used to first initialize the first audio hardware, and then determine the second audio hardware connected to the first audio hardware based on the connection status of the first audio hardware after the initialization processing.
[0129] In this way, initializing the first audio hardware helps to ensure the accuracy of the connection status of the first audio hardware, thereby improving the accuracy of determining the second audio hardware.
[0130] Among them, the first audio hardware includes a first power amplifier and a first audio signal transmission hardware. When the first audio hardware is the first power amplifier, the second audio hardware includes a first speaker. When the first audio hardware is the first audio signal transmission hardware, the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier.
[0131] In this way, the first audio hardware can be determined by detecting whether there is target data in the audio hardware information, and then based on the connection status of the first audio hardware, the second audio hardware connected to the first audio hardware can be determined, which helps to ensure the accuracy of the determined first audio hardware.
[0132] When the first audio hardware is a first power amplifier and the second audio hardware includes a first speaker, in some embodiments, the control module is specifically used to:
[0133] Determine at least one speaker connected to the first power amplifier, and a first audio channel between each speaker and the first power amplifier; perform channel detection on each first audio channel to obtain a first audio channel detection result of the first audio channel; if the first audio channel detection result of the first audio channel indicates that the channel connection is normal, determine the speaker corresponding to the first audio channel as the first speaker connected to the first power amplifier.
[0134] In the above steps, after the control module determines the first power amplifier, the control module is used to determine at least one speaker connected to the first power amplifier. Here, the number of the at least one speaker connected to the first power amplifier is determined by the number of channels connected to the first power amplifier. Channel detection can be performed on the first audio channel between the first power amplifier and each connected speaker. When the first audio channel detection result indicates that the channel connection is normal, the first audio channel can be considered to be a valid audio channel. Therefore, the speaker corresponding to the first audio channel can be determined as the first speaker connected to the first power amplifier.
[0135] Exemplarily, the first power amplifier is Figure 2 Taking the first power amplifier 1 in the example as an example, the first power amplifier 1 can be connected to 4 channels, that is, the first power amplifier 1 can be connected to 4 speakers, so the 4 first audio channels connected to the first power amplifier can be respectively detected, and the speaker corresponding to the first audio channel whose first audio channel detection result indicates that the channel is normally connected among the 4 first audio channels is the first speaker connected to the first power amplifier.
[0136] In this way, the first speaker connected to the first power amplifier can be determined based on the first audio channel detection result by performing channel detection on the first audio channel, which helps to improve the efficiency of determining the first speaker.
[0137] In some embodiments, the control module is specifically used to detect whether the first audio channel is in an open circuit state or a short circuit state, and when the first audio channel is not in an open circuit state or a short circuit state, determine that the first audio channel detection result of the first audio channel indicates that the channel connection is normal.
[0138] Here, if the first audio channel is in an open state, it can be considered that the first audio channel detection result of the first audio channel indicates that no speaker is connected; if the first audio channel is in a short-circuit state, it can be considered that the first audio channel detection result of the first audio channel indicates that the connected speaker is faulty. Therefore, when the first audio channel is neither in an open state nor in a short-circuit state, it can be considered that the first audio channel detection result of the first audio channel indicates that the channel connection is normal, and the first audio channel is a valid audio channel.
[0139] In this way, by judging whether the first audio channel is in an open circuit state or a short circuit state, it is helpful to ensure the accuracy of the detection result of the first audio channel.
[0140] Combination Figure 2 As shown, the audio activation device further includes an external power amplifier module, and the external power amplifier module includes a second audio signal transmission hardware, a second power amplifier and a second speaker.
[0141] In the case where the first audio hardware is first audio signal transmission hardware, and the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier, the control module is specifically used to:
[0142] Read the signal transmission node information for the second audio signal transmission hardware; based on the signal transmission node information, determine at least one second audio signal transmission hardware connected to the first audio signal transmission hardware; read the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller of the external power amplifier module through the second communication interface; parse the power amplifier configuration information to obtain the second power amplifier connected to each of the second audio signal transmission hardware; based on the channel connection information, determine the second speaker connected to the second power amplifier.
[0143] The power amplifier configuration information is used to indicate the setting of the power amplifier in the external power amplifier module, and the channel connection information is used to indicate the channel connection of the power amplifier in the external power amplifier module.
[0144] Exemplary, combined Figure 2 It can be seen that in order to read the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller, the second communication interface may be a CAN interface.
[0145] In this way, the second audio signal transmission hardware can be determined based on the signal transmission node information, and then the power amplifier configuration information and channel connection information can be read from the onboard audio controller. The second power amplifier and the second speaker can be determined based on the power amplifier configuration information and the channel connection information, which helps to improve the accuracy of determining the second audio hardware.
[0146] In some embodiments, the control module is specifically used to read the signal transmission node information from the first audio signal transmission hardware through the first communication interface; or read the signal transmission node information from the onboard audio controller through the second communication interface.
[0147] Here, since the first audio signal transmission hardware can scan the signal transmission node information of the second audio signal transmission hardware connected to itself during startup, the signal transmission node information can be read from the first audio signal transmission hardware.
[0148] In addition, since the onboard audio controller is connected to the second audio signal transmission hardware, the signal transmission node information can also be read from the onboard audio controller.
[0149] In this way, signal transmission node information can be obtained in a variety of ways, which helps to improve the flexibility and richness of obtaining signal transmission node information.
[0150] In some embodiments, the control module is specifically used to: determine at least one speaker connected to the second power amplifier and a second audio channel between each speaker and the second power amplifier based on the channel connection information; perform channel detection on each second audio channel to obtain a second audio channel detection result of the second audio channel; if the second audio channel detection result of the second audio channel indicates that the channel connection is normal, determine the speaker corresponding to the second audio channel as the second speaker connected to the second power amplifier.
[0151] In the above steps, after determining the second power amplifier, at least one speaker connected to the second power amplifier can be determined. Here, the number of the at least one speaker connected to the second power amplifier is determined by the number of channels connected to the second power amplifier. Channel detection can be performed on the second audio channel between the second power amplifier and each connected speaker. When the second audio channel detection result indicates that the channel connection is normal, the second audio channel can be considered to be a valid audio channel. Therefore, the speaker corresponding to the second audio channel can be determined as the second speaker connected to the second power amplifier.
[0152] Exemplarily, the second power amplifier is Figure 2Taking the second power amplifier in as an example, the second power amplifier can be connected to 16 channels, that is, the second power amplifier can be connected to 16 speakers, so the 16 second audio channels connected to the second power amplifier can be respectively detected, and the speaker corresponding to the second audio channel whose second audio channel detection result indicates that the channel is normally connected among the 16 second audio channels is the second speaker connected to the second power amplifier.
[0153] In this way, the second speaker connected to the second power amplifier can be determined based on the second audio channel detection result by performing channel detection on the second audio channel, which helps to improve the efficiency of determining the second speaker.
[0154] Specifically, when performing channel detection on the second audio channel, the control module is specifically used to detect whether the second audio channel is in an open circuit state or a short circuit state; if not, determining that the second audio channel detection result of the second audio channel indicates that the channel connection is normal.
[0155] In a specific implementation, after determining the channel connection information, the control module is used to first initialize the second power amplifier, and then determine the second speaker connected to the second power amplifier based on the channel connection information.
[0156] In this way, initializing the second power amplifier helps to improve the accuracy of determining the second speaker.
[0157] After the control module writes the second firmware to the audio signal processing module, the audio signal processing module is used to run according to the second firmware and transmit an audio playback strategy to the audio hardware, and the audio hardware is used to make sound based on the audio playback strategy.
[0158] The audio starting device provided by the embodiment of the present disclosure can, after the vehicle is started, write a first firmware to the audio signal processing module by the control module, the first firmware is used to drive the audio signal processing module to output a clock signal when running, the audio signal processing module runs according to the first firmware after starting, and sends a clock signal to the connected audio hardware, the clock signal is used to control the audio hardware to enter a power-on state, after the audio hardware is powered on, the control module reads the hardware configuration information of the audio hardware, determines a second firmware matching the hardware configuration information based on the read hardware configuration information, and writes the second firmware to the audio signal processing module, the second firmware is used to drive the audio signal processing module to transmit an audio playback strategy to the audio hardware, in this way, by directly reading the hardware configuration information of the audio hardware to determine the corresponding second firmware, compared with the traditional method of determining the firmware according to the configuration information in the configuration word library, there is no need to rely on the configuration information in the configuration word library to start the audio, which greatly improves the audio startup speed and helps to achieve fast sound.
[0159] Furthermore, since the second firmware is determined according to the real-time hardware configuration information in the audio startup device, there is no need to combine the configuration information pre-stored in the configuration word library, thereby avoiding the driver error caused by the mismatch between the hardware information in the pre-stored configuration information and the actual hardware information due to the configuration information error in the configuration word library, thereby reducing the situation of audio hardware startup errors.
[0160] Furthermore, there is no need to maintain configuration information associated with the audio hardware in the configuration font library, there is no need to obtain the configuration information when using the audio hardware, and there is no need to change the configuration information and the corresponding firmware when the vehicle model and configuration level are updated, which greatly reduces maintenance costs and reduces the consumption of manpower and material resources.
[0161] It should be noted that the description of the processing flow of each component in the audio activation device and the interaction flow between each component does not mean that the strict processing flow and interaction flow constitute any limitation on the implementation process. The processing flow and interaction flow of each component should be determined by its function and possible internal logic.
[0162] The embodiment of the present disclosure also provides a vehicle, the vehicle comprising a vehicle body and an audio activation device as in the above embodiment. Here, the vehicle includes but is not limited to a car, a bus, a truck, a tractor, etc., which are not limited here.
[0163] Based on the same inventive concept, an audio start method corresponding to the audio start device is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the audio start method in the embodiment of the present disclosure is similar to that of the above-mentioned audio start device in the embodiment of the present disclosure, the implementation of the method can refer to the implementation of the device, and the repeated parts will not be repeated.
[0164] See also Figure 3 As shown, it is a flow chart of an audio activation method provided by an embodiment of the present disclosure. The audio activation method is applied to the control module included in the aforementioned audio activation device, such as Figure 3 As shown in , the audio activation method provided by the embodiment of the present disclosure includes steps S301 to S304, wherein:
[0165] S301: After the vehicle is started, a first firmware is written into the audio signal processing module, wherein the first firmware is used to drive the audio signal processing module to output a clock signal during operation, and the clock signal is used to control the audio hardware connected to the audio signal processing module to enter a power-on state.
[0166] S302: After the audio hardware is powered on, read the hardware configuration information of the audio hardware.
[0167] S303: Based on the read hardware configuration information, determine a second firmware that matches the hardware configuration information.
[0168] S304: Writing the second firmware into the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
[0169] In an optional implementation manner, the reading the hardware configuration information of the audio hardware includes:
[0170] Reading audio hardware information of audio hardware connected to the audio signal processing module;
[0171] Based on the audio hardware information, determining first audio hardware connected to the audio signal processing module and second audio hardware connected to the first audio hardware;
[0172] Determine the hardware configuration information based on the first audio hardware and the second audio hardware
[0173] In an optional implementation manner, the reading audio hardware information of the audio hardware connected to the audio signal processing module includes:
[0174] The audio hardware information is read from a register of the audio hardware connected to the audio signal processing module through the first communication interface.
[0175] In an optional implementation, determining, based on the audio hardware information, the first audio hardware connected to the audio signal processing module and the second audio hardware connected to the first audio hardware includes:
[0176] Detecting whether target data exists in the audio hardware information, wherein the target data includes at least one of an audio hardware name, an audio hardware version, an audio hardware model, and an audio hardware status;
[0177] If so, determining the first audio hardware indicated by the target data;
[0178] Determine, based on the connection status of the first audio hardware, second audio hardware connected to the first audio hardware;
[0179] Among them, the first audio hardware includes a first power amplifier and a first audio signal transmission hardware. When the first audio hardware is the first power amplifier, the second audio hardware includes a first speaker. When the first audio hardware is the first audio signal transmission hardware, the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier.
[0180] In an optional implementation, when the first audio hardware is a first power amplifier and the second audio hardware includes a first speaker, determining the second audio hardware connected to the first audio hardware based on the connection status of the first audio hardware includes:
[0181] Determine at least one speaker connected to the first power amplifier, and a first audio channel between each speaker and the first power amplifier;
[0182] For each first audio channel, perform channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel;
[0183] If the first audio channel detection result of the first audio channel indicates that the channel connection is normal, the speaker corresponding to the first audio channel is determined as the first speaker connected to the first power amplifier.
[0184] In an optional implementation manner, performing channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel includes:
[0185] Detecting whether the first audio channel is in an open circuit state or a short circuit state;
[0186] If not, it is determined that the first audio channel detection result of the first audio channel indicates that the channel connection is normal.
[0187] In an optional implementation, the audio activation device further includes an external power amplifier module, and the external power amplifier module includes a second audio signal transmission hardware, a second power amplifier, and a second speaker;
[0188] In a case where the first audio hardware is first audio signal transmission hardware, and the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier, the determining, based on the connection status of the first audio hardware, the second audio hardware connected to the first audio hardware includes:
[0189] Reading signal transmission node information for the second audio signal transmission hardware;
[0190] Based on the signal transmission node information, determining at least one second audio signal transmission hardware connected to the first audio signal transmission hardware;
[0191] Reading the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller of the external power amplifier module through the second communication interface;
[0192] Parsing the power amplifier configuration information to obtain a second power amplifier connected to each of the second audio signal transmission hardware;
[0193] Based on the channel connection information, a second speaker connected to the second power amplifier is determined.
[0194] In an optional implementation manner, the reading the signal transmission node information for the second audio signal transmission hardware includes:
[0195] Reading the signal transmission node information from the first audio signal transmission hardware through a first communication interface; or
[0196] The signal transmission node information is read from the onboard audio controller through the second communication interface.
[0197] In an optional implementation manner, determining the second speaker connected to the second power amplifier based on the channel connection information includes:
[0198] Determine, based on the channel connection information, at least one speaker connected to the second power amplifier, and a second audio channel between each speaker and the second power amplifier;
[0199] For each second audio channel, perform channel detection on the second audio channel to obtain a second audio channel detection result of the second audio channel;
[0200] If the second audio channel detection result of the second audio channel indicates that the channel connection is normal, the speaker corresponding to the second audio channel is determined as the second speaker connected to the second power amplifier.
[0201] To clearly demonstrate the process of audio startup, please refer to Figure 4 , Figure 4 FIG. 2 is a schematic diagram showing a process of audio activation provided by an embodiment of the present disclosure. Figure 4As shown in , first start the vehicle, then write the first firmware to the audio signal processing module so that the audio signal processing module can run according to the first firmware, and send a clock signal to the connected audio hardware, and the peripheral circuit of the audio hardware connected to the audio signal processing module starts to be powered. After the audio hardware is powered on, the audio hardware information is read from the register of the audio hardware connected to the audio signal processing module through the first communication interface. When there is target data in the audio hardware information, the first audio hardware indicated by the target data is determined, and then the first audio hardware is initialized. Based on the connection status of the first audio hardware, the second audio hardware connected to the first audio hardware is determined, and then based on the first audio hardware and the second audio hardware, the hardware configuration information is determined. Based on the hardware configuration information, the second firmware matching the hardware configuration information is determined, and then the second firmware is written to the audio signal processing module. Wherein, the description of the specific steps refers to the aforementioned embodiments, which will not be repeated here.
[0202] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0203] The audio startup method provided by the embodiment of the present disclosure can write a first firmware to the audio signal processing module after the vehicle is started, the first firmware is used to drive the audio signal processing module to output a clock signal during operation, the clock signal is used to control the audio hardware connected to the audio signal processing module to enter a power-on state, after the audio hardware is powered on, read the hardware configuration information of the audio hardware, determine the second firmware matching the hardware configuration information based on the hardware configuration information, write the second firmware to the audio signal processing module, the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware, in this way, by directly reading the hardware configuration information of the audio hardware to determine the corresponding second firmware, compared with the traditional method of determining the firmware based on the configuration information in the configuration word library, there is no need to rely on the configuration information in the configuration word library to start the audio, which greatly improves the audio startup speed and helps to achieve fast sound.
[0204] Furthermore, since the second firmware is determined according to the real-time hardware configuration information in the audio startup device, there is no need to combine the configuration information pre-stored in the configuration word library, thereby avoiding the driver error caused by the mismatch between the hardware information in the pre-stored configuration information and the actual hardware information due to the configuration information error in the configuration word library, thereby reducing the situation of audio hardware startup errors.
[0205] Furthermore, there is no need to maintain configuration information associated with the audio hardware in the configuration font library, there is no need to obtain the configuration information when using the audio hardware, and there is no need to change the configuration information and the corresponding firmware when the vehicle model and configuration level are updated, which greatly reduces maintenance costs and reduces the consumption of manpower and material resources.
[0206] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the audio activation method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0207] The present disclosure also provides a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the steps of the audio startup method described in the above method embodiment can be executed. For details, please refer to the above method embodiment, which will not be repeated here.
[0208] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0209] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment and devices can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0210] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0211] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0212] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0213] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. An audio activation device, characterized in that: The audio activation device comprises a control module, an audio signal processing module and audio hardware to be activated, wherein the control module is connected to the audio signal processing module, and the audio signal processing module is connected to the audio hardware; wherein: The control module is used to write a first firmware to the audio signal processing module after the vehicle is started, and the first firmware is used to drive the audio signal processing module to output a clock signal during operation; The audio signal processing module is used to run according to the first firmware after startup, and send a clock signal to the connected audio hardware; the clock signal is used to control the audio hardware to enter a power-on state; The control module is further used to read the hardware configuration information of the audio hardware after the audio hardware is powered on, and based on the read hardware configuration information, determine the second firmware that matches the hardware configuration information, and write the second firmware to the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
2. The audio activation device according to claim 1, characterized in that: The control module is specifically used for: Reading audio hardware information of audio hardware connected to the audio signal processing module; Based on the audio hardware information, determining first audio hardware connected to the audio signal processing module and second audio hardware connected to the first audio hardware; The hardware configuration information is determined based on the first audio hardware and the second audio hardware.
3. The audio activation device according to claim 2, characterized in that: The control module is specifically configured to read audio hardware information from a register of audio hardware connected to the audio signal processing module through the first communication interface.
4. The audio activation device according to claim 2, characterized in that: The control module is specifically used for: Detecting whether target data exists in the audio hardware information, wherein the target data includes at least one of an audio hardware name, an audio hardware version, an audio hardware model, and an audio hardware status; If so, determining the first audio hardware indicated by the target data; Determine, based on the connection status of the first audio hardware, second audio hardware connected to the first audio hardware; Among them, the first audio hardware includes a first power amplifier and a first audio signal transmission hardware. When the first audio hardware is the first power amplifier, the second audio hardware includes a first speaker. When the first audio hardware is the first audio signal transmission hardware, the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier.
5. The audio activation device according to claim 4, characterized in that: When the first audio hardware is a first power amplifier and the second audio hardware includes a first speaker, the control module is specifically used to: Determine at least one speaker connected to the first power amplifier, and a first audio channel between each speaker and the first power amplifier; For each first audio channel, perform channel detection on the first audio channel to obtain a first audio channel detection result of the first audio channel; If the first audio channel detection result of the first audio channel indicates that the channel connection is normal, the speaker corresponding to the first audio channel is determined as the first speaker connected to the first power amplifier.
6. The audio activation device according to claim 5, characterized in that: The control module is specifically configured to detect whether the first audio channel is in an open circuit state or a short circuit state, and when the first audio channel is neither in an open circuit state nor in a short circuit state, determine that the first audio channel detection result of the first audio channel indicates that the channel connection is normal.
7. The audio activation device according to claim 4, characterized in that: The audio activation device further includes an external power amplifier module, which includes a second audio signal transmission hardware, a second power amplifier, and a second speaker; In the case where the first audio hardware is first audio signal transmission hardware, and the second audio hardware includes second audio signal transmission hardware connected to the first audio signal transmission hardware, a second power amplifier connected to the second audio signal transmission hardware, and a second speaker connected to the second power amplifier, the control module is specifically used to: Reading signal transmission node information for the second audio signal transmission hardware; Based on the signal transmission node information, determining at least one second audio signal transmission hardware connected to the first audio signal transmission hardware; Reading the power amplifier configuration information and channel connection information of the external power amplifier module from the onboard audio controller of the external power amplifier module through the second communication interface; Parsing the power amplifier configuration information to obtain a second power amplifier connected to each of the second audio signal transmission hardware; Based on the channel connection information, a second speaker connected to the second power amplifier is determined.
8. The audio activation device according to claim 7, characterized in that: The control module is specifically configured to read the signal transmission node information from the first audio signal transmission hardware through the first communication interface, or read the signal transmission node information from the onboard audio controller through the second communication interface.
9. The audio activation device according to claim 7, characterized in that: The control module is specifically used for: Determine, based on the channel connection information, at least one speaker connected to the second power amplifier, and a second audio channel between each speaker and the second power amplifier; For each second audio channel, perform channel detection on the second audio channel to obtain a second audio channel detection result of the second audio channel; If the second audio channel detection result of the second audio channel indicates that the channel connection is normal, the speaker corresponding to the second audio channel is determined as the second speaker connected to the second power amplifier.
10. A vehicle, characterized in that: It comprises a vehicle body and an audio activation device as described in any one of claims 1-9.
11. An audio activation method, characterized in that: Applied to a control module included in an audio activation device, the method includes: After the vehicle is started, a first firmware is written into the audio signal processing module, wherein the first firmware is used to drive the audio signal processing module to output a clock signal during operation, and the clock signal is used to control the audio hardware connected to the audio signal processing module to enter a power-on state; After the audio hardware is powered on, reading hardware configuration information of the audio hardware; Based on the read hardware configuration information, determining a second firmware that matches the hardware configuration information; The second firmware is written into the audio signal processing module; the second firmware is used to drive the audio signal processing module to transmit the audio playback strategy to the audio hardware.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the audio activation method as claimed in claim 11 are executed.