Audio fault processing method, system, vehicle and storage medium
By detecting audio signals and return signals, the type of audio fault is determined and dealt with, which solves the problem of audio playback system faults requiring delivery to the factory for repair, achieves rapid fault location and automatic recovery, and saves maintenance costs and time.
Patent Information
- Application Number
- CN202010681573.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-07-15
AI Technical Summary
In the existing technology, when the audio playback system fails, it needs to be sent to the factory for repair, resulting in maintenance costs and time waste.
By sending the audio signal to the external power amplifier module, the returned signal is detected, the fault type is determined, and corresponding processing methods are adopted according to the fault type, including wake-up signals, reminder messages, etc., to achieve automatic recovery or troubleshooting.
Quickly locate audio faults, avoid unnecessary sending to the factory for repairs, save time and costs, and achieve automatic fault recovery or eliminate faults that cannot be automatically restored in advance.
Smart Images

Figure CN113949982B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio fault processing. Specifically, the present application relates to an audio fault processing method, system, vehicle and storage medium. Background Art
[0002] With the development of intelligent driving cockpit, audio playback system is becoming more and more complex and more and more important. Users' attention to audio playback system is also increasing.
[0003] Once a traditional audio playback system fails, there is usually no sound. When a failure occurs, the user can only drive the vehicle to the car factory for repair. For users, if there is a problem with the audio playback system, they will send the vehicle to the car factory for repair. This method of sending the vehicle to the car factory for repair without analyzing the audio failure not only costs repair fees, but is also time-consuming and labor-intensive. Summary of the invention
[0004] In view of the shortcomings of the existing methods, the present application proposes an audio fault processing method, system, vehicle and storage medium to solve the existing technical problems of sending the vehicle to the factory for repair without analyzing the audio fault condition, resulting in maintenance costs and time-consuming and labor-intensive technical problems.
[0005] In a first aspect, an embodiment of the present application provides an audio fault processing method, comprising the following steps:
[0006] Sending the first audio signal to the external power amplifier module, so that the external power amplifier module processes the first audio signal to obtain a second audio signal, and returns the second audio signal;
[0007] Determine whether a second audio signal and a third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting the collected sound signal, and the sound signal is output by the external power amplifier module through the speaker based on the second audio signal;
[0008] Determine how to handle the audio fault based on the type of the audio fault.
[0009] In a possible implementation, determining whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determining the type of the audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module includes:
[0010] If the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module fails;
[0011] If the second audio signal and the third audio signal are not detected, and the first audio signal is in a normal state of sending audio to the external power amplifier module, it is determined that the external power amplifier module fails;
[0012] If the second audio signal and the third audio signal are not detected, and the first audio signal sending the audio to the external power amplifier module is in an abnormal state, it is determined that a signal link sending the first audio signal to the external power amplifier module fails.
[0013] In a possible implementation, determining a processing method for the audio fault according to the type of the audio fault includes:
[0014] If the external power amplifier module fails, a wake-up signal is sent to the external power amplifier module to reset and restart the external power amplifier module; and,
[0015] After sending a wake-up signal to the external power amplifier module, the following steps are also included:
[0016] If it is further determined that the external power amplifier module fails, a first reminder message is issued, and the first reminder message includes voice playback or display of information that the external power amplifier module fails and needs to be repaired.
[0017] In a possible implementation, determining a processing method for the audio fault according to the type of the audio fault includes:
[0018] If a signal link that sends the first audio signal to the external power amplifier module fails, a second reminder message is issued, and the second reminder message includes voice playback or display of information that the signal link that sends the first audio signal to the external power amplifier module fails and needs maintenance.
[0019] In a second aspect, an embodiment of the present application further provides an audio fault processing device, comprising:
[0020] A first sending module, used to send the first audio signal to the external power amplifier module, so that the external power amplifier module processes the first audio signal to obtain a second audio signal, and returns the second audio signal;
[0021] a fault determination module, used to determine whether a second audio signal and a third audio signal returned by the external power amplifier module are detected, and determine the type of the audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting the collected sound signal, and the sound signal is output by the external power amplifier module through the speaker based on the second audio signal;
[0022] The fault processing module is used to determine the processing method of the audio fault according to the type of the audio fault.
[0023] In one possible implementation, the fault determination module is specifically used to determine that the external power amplifier module has a fault if the second audio signal is detected and the third audio signal is not detected; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in a normal state, then determine that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in an abnormal state, then determine that the signal link sending the first audio signal to the external power amplifier module has a fault.
[0024] In a third aspect, an embodiment of the present application further provides a host, including:
[0025] The controller is used to send a first audio signal to an external power amplifier module, determine whether a second audio signal and a third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is converted from the collected sound signal, and the sound signal is output by the external power amplifier module through a speaker based on the second audio signal; and determine the processing method of the audio fault according to the type of the audio fault.
[0026] In a fourth aspect, an embodiment of the present application further provides an audio fault processing system, comprising: an external power amplifier module and a host in communication connection;
[0027] A host, configured to send a first audio signal to an external power amplifier module;
[0028] An external power amplifier module, used for processing a first audio signal received from a host to obtain a second audio signal, outputting an acoustic signal based on the second audio signal through a speaker, and returning the second audio signal to the host;
[0029] The host is used to determine whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is converted from the collected sound signal; and the processing method of the audio fault is determined according to the type of audio fault.
[0030] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising a host as in the third aspect or an audio fault handling system as in the fourth aspect.
[0031] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, which is used to store computer instructions. When the computer instructions are executed on a computer, the audio fault processing method of the first aspect is implemented.
[0032] The beneficial technical effects brought about by the technical solution provided by the embodiment of the present application are:
[0033] The embodiment of the present application determines whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determines the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; and then determines the processing method of the audio fault according to the type of audio fault, so that the situation of the audio fault can be analyzed, the problem can be quickly located, and different processing methods can be adopted according to different situations, thereby avoiding the problem of expensive repair costs and time and effort caused by sending the audio playback system to the factory for repair as long as the audio playback system does not make sound.
[0034] When the embodiment of the present application determines that the type of audio fault can be automatically recovered by an automatic recovery mechanism, the fault can be automatically recovered first. If the fault cannot be automatically recovered or the fault still cannot be recovered after using the automatic recovery mechanism, the fault can be sent to the factory for repair, which can save time, effort and money.
[0035] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0037] Figure 1 A schematic diagram of the structure of an audio fault processing system provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of another audio fault processing system structure provided in an embodiment of the present application;
[0039] Figure 3 A flowchart of an audio fault processing method provided in an embodiment of the present application;
[0040] Figure 4 A flowchart of another audio fault processing method provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of the structure of an audio fault processing device provided in an embodiment of the present application;
[0042] Figure 6 A flowchart of another audio fault processing method provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of the structure of another audio fault processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The present application is described in detail below, and examples of embodiments of the present application are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar components or components with the same or similar functions. In addition, if the detailed description of the known technology is unnecessary for the features of the present application shown, it will be omitted. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0045] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0046] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0047] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments.
[0048] The present application embodiment provides an audio fault processing system 100, see Figure 1 As shown, the audio fault processing system 100 includes: an external power amplifier module 120 and a host 110 which are communicatively connected.
[0049] The host 110 is used to send the first audio signal to the external power amplifier module 120 .
[0050] The external power amplifier module 120 is used to process the first audio signal received from the host 110 to obtain a second audio signal, output a sound signal based on the second audio signal through a speaker, and return the second audio signal to the host 110.
[0051] The host 110 is used to determine whether the second audio signal and the third audio signal returned by the external power amplifier module 120 are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120; the third audio signal is converted from the collected sound signal; and the processing method of the audio fault is determined according to the type of audio fault.
[0052] Optionally, the host 110 is specifically used to determine that the external power amplifier module 120 has failed if the second audio signal is detected and the third audio signal is not detected; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in a normal state, then it is determined that the external power amplifier module 120 has failed; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in an abnormal state, then it is determined that the signal link sending the first audio signal to the external power amplifier module 120 has failed.
[0053] Optionally, the host 110 includes at least one sound detector, which detects the sound signal of the vehicle speaker in real time and converts the sound signal into an electrical signal, that is, a third audio signal.
[0054] Optionally, the state of sending the first audio signal to the external power amplifier module 120 includes a normal state and an abnormal state. When the state of sending the first audio signal to the external power amplifier module 120 is a normal state, the display screen of the host 110 displays that the audio file is in a normal playing state, for example: the indicator mark showing the playing progress is moving forward. Correspondingly, if the indicator mark showing the playing progress does not move, the state of sending the first audio signal to the external power amplifier module 120 is in an abnormal state.
[0055] Optionally, the host 110 includes a playback alarm module, which sends an alarm signal when it is detected that the host 110 cannot send the first audio signal to the external power amplifier module 120. If the alarm signal is received, it is determined that the first audio signal is sent to the external power amplifier module 120 in an abnormal state; if the alarm signal is not received, it is determined that the first audio signal is sent to the external power amplifier module 120 in a normal state.
[0056] Optionally, the host 110 is also used to send a wake-up signal to the external power amplifier module 120 if the external power amplifier module 120 fails, so as to reset and restart the external power amplifier module 120; after sending the wake-up signal to the external power amplifier module 120, if it is continued to be determined that the external power amplifier module 120 fails, a first reminder message is issued, and the first reminder message includes voice playback or display of information that the external power amplifier module 120 has failed and needs to be repaired; if the second audio signal and the third audio signal are detected, it is determined that the fault is rectified, and there is no need to remind the owner to go to the factory for repair.
[0057] Optionally, the host 110 is also used to issue a second reminder message if a signal link that sends the first audio signal to the external power amplifier module 120 fails. The second reminder message includes voice playback or display of information that the signal link that sends the first audio signal to the external power amplifier module 120 fails and requires maintenance.
[0058] Optionally, the host 110 is further used to decode the audio file to obtain a decoded audio signal; output the decoded audio signal in a time division multiplexing mode, and perform mixing processing to obtain a preset channel audio signal; and process the preset channel audio signal to obtain a first audio signal.
[0059] As a possible implementation, see Figure 2 As shown, the host 110 includes a first SOC (System-on-a-Chip) module, a first MCU (Microcontroller Unit) module, a first DSP (Digital Signal Processing) module, a speech recognition module 112, a switching module 114, and a first A2B (Automotive Audio Bus) codec module. Specifically, the first DSP module 111 is connected to the speech recognition module 112, the first SOC module 113, the switching module 114, and the first A2B codec module 115, and the first MCU module 116 is connected to the first A2B codec module 115. The host 110 can select a HU (headunit) host 110.
[0060] Optionally, the first SOC module 113 is used to decode the audio file to obtain a decoded audio signal, and transmit the decoded audio signal to the first DSP module 111 via TDM (Time Division Multiplexing).
[0061] The first DSP module 111 is used to perform mixing processing on the decoded audio signal to obtain a preset channel audio signal, and output the preset channel audio signal to the first A2B codec module 115 .
[0062] The first A2B codec module 115 is used to process the preset channel audio signal to obtain a first audio signal, and output the first audio signal to the external power amplifier module 120. The first A2B codec module 115 is communicatively connected to the external power amplifier module 120 via a connector.
[0063] The first MCU module 116 is used to receive instructions from the speech recognition module 112 or the first DSP module 111, and send a wake-up signal to the external power amplifier module 120. The first MCU module 116 is connected to the external power amplifier module 120 through a connector. Specifically, the first MCU module 116 is connected to the second MCU module 121.
[0064] The switching module 114 is in communication with the sound detector and the speech recognition module 112, and is used to switch the output path of the signal output by the sound detector between the speech recognition module 112 and the first DSP module 111. The sound detector outputs an acoustic signal corresponding to the third audio signal.
[0065] The speech recognition module 112 is in communication with the first DSP module 111 and is used for converting the acoustic signal into an electrical signal.
[0066] The speech recognition module 112 or the first DSP module 111 may be equivalent to the controller 101 of the host 110 , and may be used to execute any audio fault processing method of the host 110 of the embodiments of the present application.
[0067] Optionally, the external power amplifier module 120 is electrically connected to a speaker, and the speaker is used to output a sound signal based on the second audio signal so that the audio is played externally.
[0068] Optionally, the external power amplifier module 120 is used to receive a wake-up signal sent by the host 110 to perform a reset and restart.
[0069] Alternatively, see Figure 2 As shown, the external power amplifier module 120 includes a second MCU module 121, a second DSP module 122, a second A2B codec module 123, a first P.AMP module 124, and a second P.AMP module 125. Specifically, the second A2B codec module 123 is connected to the first A2B codec module 115 through a connector, the second A2B codec module 123 is connected to the second MCU module 121, and the second DSP module 122 is connected to the second A2B codec module 123, the first P.AMP module 124, and the second P.AMP module 125. The external power amplifier module 120 may also include a power module, which is electrically connected to the second MCU module 121 to supply power to the entire external power amplifier module 120. The first P.AMP module 124 and the second P.AMP module 125 are power amplifier ICs (Integrated Circuits).
[0070] Optionally, the second A2B codec module 123 is used to receive the first audio signal output by the first A2B codec module 115 , process the first audio signal, and send the processed first audio signal to the second DSP module 122 .
[0071] The second DSP module 122 is used to perform sound effect processing on the processed first audio signal to obtain a second audio signal. The second DSP module 122 is also used to output the second audio signal to the speech recognition module 112 through the second A2B codec module 123, the first A2B codec module 115 and the first DSP module 111 in sequence.
[0072] Optionally, the audio fault processing system 100 further includes a speaker. Two speakers may be provided, namely a first speaker 131 and a second speaker 132 ; the first speaker 131 and the second speaker 132 are electrically connected to the first P.AMP module 124 and the second P.AMP module 125 , respectively.
[0073] Optionally, when the external power amplifier module 120 is in a fault state, the received signal is pulled low, the external power amplifier module 120 is shut down, the wake-up signal is a high-level signal, and a high-level signal is output to the external power amplifier module 120, so that the signal received by the external power amplifier module 120 is pulled high, thereby restarting the external power amplifier module 120.
[0074] The embodiment of the present application can analyze the situation of audio faults, quickly locate the problem, and adopt different processing methods according to different situations. Determine whether to use the automatic recovery mechanism according to the fault situation, and send a wake-up signal to the external power amplifier module 120 to reset and restart the external power amplifier module 120. That is, the user of the embodiment of the present application can perform automatic fault recovery, and send the factory for repair if the fault cannot be automatically recovered or the fault cannot be recovered after the automatic recovery mechanism is adopted, thereby further avoiding the repair costs and time-consuming and labor-intensive problems caused by sending the audio playback system to the factory for repair as long as the audio playback system does not make sound, which can save time, labor and money.
[0075] The embodiment of the present application can be implemented based on the solution of digital audio signal transmission. At the same time, the embodiment of the present application can also be implemented based on analog audio signals. It only needs to add a wiring harness so that the external power amplifier module 120 sends the second audio signal to the host 110. The principles of other fault handling methods are the same.
[0076] Based on the same inventive concept, the present application embodiment also provides a host 110, see Figure 1 As shown, the host 110 includes: a controller 101.
[0077] The controller 101 is used to send the first audio signal to the external power amplifier module 120, determine whether the second audio signal and the third audio signal returned by the external power amplifier module 120 are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120; the third audio signal is converted from the collected sound signal, and the sound signal is output by the external power amplifier module 120 through the speaker based on the second audio signal; according to the type of audio fault, determine the processing method of the audio fault.
[0078] Optionally, the controller 101 is also used to determine that the external power amplifier module 120 has failed if the second audio signal is detected and the third audio signal is not detected; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in a normal state, then determine that the external power amplifier module 120 has failed; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in an abnormal state, then determine that the signal link sending the first audio signal to the external power amplifier module 120 has failed.
[0079] Optionally, the controller 101 is also used to send a wake-up signal to the external power amplifier module 120 to reset and restart the external power amplifier module 120 if a fault occurs in the external power amplifier module 120; after sending the wake-up signal to the external power amplifier module 120, if it is continued to be determined that the external power amplifier module 120 has failed, a first reminder message is issued, and the first reminder message includes voice playback or display of information that the external power amplifier module 120 has failed and needs to be repaired; if a second audio signal and a third audio signal are detected, it is determined that the fault is rectified, and there is no need to remind the owner to go to the factory for repair.
[0080] Optionally, the controller 101 is also used to issue a second reminder message if a signal link that sends the first audio signal to the external power amplifier module 120 fails, and the second reminder message includes voice playback or display of information that the signal link that sends the first audio signal to the external power amplifier module 120 fails and requires maintenance.
[0081] Based on the same inventive concept, an embodiment of the present application further provides a vehicle, comprising a host 110 as in any one of the embodiments of the present application or an audio fault processing system 100 as in any one of the embodiments of the present application.
[0082] Based on the same inventive concept, the present application embodiment provides an audio fault processing method, combined with Figure 1 and Figure 3 As shown, the following steps are included:
[0083] S301: The host 110 sends a first audio signal to the external power amplifier module 120, so that the external power amplifier module 120 processes the first audio signal to obtain a second audio signal, and returns the second audio signal.
[0084] Before sending the first audio signal to the external power amplifier module 120, the process includes: decoding the audio file to obtain a decoded audio signal; outputting the decoded audio signal in a time division multiplexing mode, and performing mixing processing to obtain a preset channel audio signal; and processing the preset channel audio signal to obtain the first audio signal.
[0085] S302, the host 110 determines whether the second audio signal and the third audio signal returned by the external power amplifier module 120 are detected, and determines the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120; the third audio signal is converted from the collected sound signal, and the sound signal is output by the external power amplifier module 120 through the speaker based on the second audio signal.
[0086] In some embodiments, the host 110 determines whether the second audio signal and the third audio signal returned by the external power amplifier module 120 are detected, and determines the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120, including:
[0087] If the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module 120 fails;
[0088] If the second audio signal and the third audio signal are not detected, and the first audio signal is in a normal state of sending audio to the external power amplifier module 120, it is determined that the external power amplifier module 120 fails;
[0089] If the second audio signal and the third audio signal are not detected, and the first audio signal is in an abnormal state of sending audio to the external power amplifier module 120, it is determined that a signal link for sending the first audio signal to the external power amplifier module 120 fails.
[0090] Optionally, the host 110 includes at least one sound detector, which detects the sound signal of the vehicle speaker in real time and converts the sound signal into an electrical signal, that is, a third audio signal.
[0091] Optionally, the state in which the host 110 sends the first audio signal to the external power amplifier module 120 includes a normal state and an abnormal state. When the state in which the first audio signal is sent to the external power amplifier module 120 is a normal state, the display screen of the host 110 displays that the audio file is in a normal playing state, for example, the indicator mark showing the playing progress is moving forward. Correspondingly, if the indicator mark showing the playing progress does not move, the state in which the first audio signal is sent to the external power amplifier module 120 is in an abnormal state.
[0092] Optionally, the host 110 includes a playback alarm module, which sends an alarm signal when it is detected that the host 110 cannot send the first audio signal to the external power amplifier module 120. If the alarm signal is received, it is determined that the first audio signal is sent to the external power amplifier module 120 in an abnormal state; if the alarm signal is not received, it is determined that the first audio signal is sent to the external power amplifier module 120 in a normal state.
[0093] S303: The host 110 determines a processing method for the audio fault according to the type of the audio fault.
[0094] In some embodiments, the method for handling audio failures includes: sending a wake-up signal to the external power amplifier module 120, and displaying or voice playing a reminder message; the wake-up signal is used to reset and restart the external power amplifier module 120, and the reminder message includes information that the external power amplifier module 120 has a fault and needs maintenance, or information that the signal link sent by the first audio signal to the external power amplifier module 120 has a fault and needs maintenance.
[0095] In some embodiments, the host 110 determines a method for handling the audio fault according to the type of the audio fault, including:
[0096] If the external power amplifier module 120 fails, a wake-up signal is sent to the external power amplifier module 120 to reset and restart the external power amplifier module 120; and,
[0097] After sending the wake-up signal to the external power amplifier module 120, the method further includes:
[0098] If it is further determined that the external power amplifier module 120 fails, a first reminder message is issued, and the issuance of the first reminder message includes voice playback or display of information that the external power amplifier module 120 fails and needs to be repaired.
[0099] If the second audio signal and the third audio signal are detected, it is determined that the fault is eliminated and there is no need to remind the vehicle owner to go to the factory for repair.
[0100] In some embodiments, the host 110 determines a method for handling the audio fault according to the type of the audio fault, including:
[0101] If a signal link that sends the first audio signal to the external power amplifier module 120 fails, a second reminder message is issued, and the second reminder message includes voice playback or display of information that the signal link that sends the first audio signal to the external power amplifier module 120 fails and needs maintenance.
[0102] As a possible implementation, see Figure 1 and Figure 4 As shown, the embodiment of the present application provides an audio fault processing method, comprising the following steps:
[0103] S401: The host 110 sends a first audio signal to the external power amplifier module 120, so that the external power amplifier module 120 processes the first audio signal to obtain a second audio signal, and returns the second audio signal.
[0104] S402 : The host 110 determines whether a second audio signal returned by the external power amplifier module 120 is detected.
[0105] S403 : The host 110 determines whether a third audio signal is detected.
[0106] Optionally, the host 110 includes at least one sound detector, which detects the sound signal of the vehicle speaker in real time and converts the sound signal into an electrical signal, that is, a third audio signal.
[0107] S404: The host 110 determines whether the state of sending the first audio signal to the external power amplifier module 120 is normal.
[0108] Optionally, the host 110 includes a playback alarm module, which sends an alarm signal when it is detected that the host 110 cannot send the first audio signal to the external power amplifier module 120. If the alarm signal is received, it is determined that the first audio signal is sent to the external power amplifier module 120 in an abnormal state; if the alarm signal is not received, it is determined that the first audio signal is sent to the external power amplifier module 120 in a normal state.
[0109] According to the contents of the three determined steps of step S402, step S403 and step S404, step S405, step S408 and step S409 are executed.
[0110] S405: If the second audio signal is detected but the third audio signal is not detected, the host 110 determines that the external power amplifier module 120 fails.
[0111] S406 : The host 110 sends a wake-up signal to the external power amplifier module 120 to reset and restart the external power amplifier module 120 .
[0112] S407: If it is still determined that the external power amplifier module 120 fails, the host 110 sends a first reminder message, which includes voice playback or display of information indicating that the external power amplifier module 120 fails and needs to be repaired.
[0113] Optionally, if the second audio signal and the third audio signal are detected, it is determined that the fault is rectified, and there is no need to remind the vehicle owner to go to the factory for repair.
[0114] S408: If the second audio signal and the third audio signal are not detected, and the first audio signal is in a normal state of sending audio to the external power amplifier module 120, the host 110 determines that the external power amplifier module 120 fails.
[0115] S409: If the second audio signal and the third audio signal are not detected, and the first audio signal is in an abnormal state of sending audio to the external power amplifier module 120, the host 110 determines that a signal link for sending the first audio signal to the external power amplifier module 120 fails.
[0116] S410: The host 110 issues a second reminder message, where the second reminder message includes voice playback or display of information indicating that a signal link of the first audio signal sent to the external power amplifier module 120 fails and needs to be repaired.
[0117] S411, no fault.
[0118] Based on the same inventive concept, the embodiment of the present application also provides an audio fault processing device, combined with Figure 1 and Figure 5 As shown, applied to the host 110, the audio fault processing device 500 includes: a first sending module 501, a fault determination module 502 and a fault processing module 503.
[0119] The first sending module 501 is used to send the first audio signal to the external power amplifier module 120, so that the external power amplifier module 120 processes the first audio signal to obtain a second audio signal, and returns the second audio signal;
[0120] The fault determination module 502 is used to determine whether the second audio signal and the third audio signal returned by the external power amplifier module 120 are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120; the third audio signal is formed by converting the collected sound signal, and the sound signal is output by the external power amplifier module 120 through the speaker based on the second audio signal;
[0121] The fault processing module 503 is used to determine a processing method for the audio fault according to the type of the audio fault.
[0122] In some embodiments, the fault determination module 502 is specifically used to determine that the external power amplifier module 120 has a fault if the second audio signal is detected and the third audio signal is not detected; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in a normal state, then it is determined that the external power amplifier module 120 has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module 120 is in an abnormal state, then it is determined that the signal link sending the first audio signal to the external power amplifier module 120 has a fault.
[0123] In some embodiments, the fault processing module 503 is specifically used to send a wake-up signal to the external power amplifier module 120 if the external power amplifier module 120 fails, so as to reset and restart the external power amplifier module 120; after sending the wake-up signal to the external power amplifier module 120, if it is still determined that the external power amplifier module 120 fails, a first reminder message is issued, and the first reminder message includes voice playback or display of information that the external power amplifier module 120 fails and needs maintenance; and / or,
[0124] The fault handling module 503 is specifically used to issue a second reminder message if a signal link that sends the first audio signal to the external power amplifier module 120 fails. The second reminder message includes voice playback or display of information that the signal link that sends the first audio signal to the external power amplifier module 120 fails and requires maintenance.
[0125] Based on the same inventive concept, the present application embodiment also provides an audio fault processing method, which is applied to the external power amplifier module 120, combined with Figure 1 and Figure 6 As shown, the audio fault processing method includes the following steps:
[0126] S601 : The external power amplifier module 120 processes a first audio signal received from the host 110 to obtain a second audio signal.
[0127] S602, the external power amplifier module 120 outputs a sound signal based on the second audio signal through the speaker, and returns the second audio signal to the host 110; the host 110 determines whether the second audio signal and the third audio signal are detected, and determines the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module 120; determines the processing method of the audio fault according to the type of audio fault, and the third audio signal is converted from the collected sound signal from the speaker.
[0128] In some embodiments, after the external power amplifier module 120 uses a speaker to play the second audio signal and returns the second audio signal to the host 110, the following steps are further included:
[0129] The external power amplifier module 120 receives the wake-up signal sent by the host 110 to perform a reset and restart.
[0130] Based on the same inventive concept, the embodiment of the present application also provides an audio fault processing device, combined with Figure 1 and Figure 7 As shown, applied to the external power amplifier module 120 , the audio fault processing device 700 includes: a processing module 701 and a second sending module 702 .
[0131] The processing module 701 is used to process the first audio signal received from the host 110 to obtain a second audio signal.
[0132] The second sending module 702 is used to play the second audio signal using a speaker and return the second audio signal to the host 110; the host 110 is used to determine whether the second audio signal and the third audio signal are detected, and determine the type of audio fault based on the detection result and the state of sending the audio to the external power amplifier module 120 with the first audio signal; the third audio signal is an audio signal formed when the external power amplifier module 120 uses a speaker to play the second audio signal, and the audio fault handling method is determined according to the type of audio fault.
[0133] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, which is used to store computer instructions. When the computer instructions are executed on a computer, any audio fault processing method as in the embodiments of the present application is implemented.
[0134] It should be noted that the computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0135] The computer-readable medium of the embodiment of the present application may be included in the electronic device; or may exist independently without being assembled into the electronic device.
[0136] Alternatively, the computer-readable medium of an embodiment of the present application carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; selects an Internet Protocol address from at least two Internet Protocol addresses; returns the selected Internet Protocol address; wherein the received Internet Protocol address indicates an edge node in the content distribution network.
[0137] The computer program code for performing the operation of the embodiment of the present application can be written in one or more programming languages or a combination thereof, and the above-mentioned programming languages include but are not limited to object-oriented programming languages-such as Java, Smalltalk, C++, and also include conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0138] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0139] The modules or units involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of a module or unit does not, in some cases, limit the unit itself.
[0140] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0141] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0142] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
[0143] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0144] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0145] The above is only a partial implementation of the embodiments of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the protection scope of the embodiments of the present application.
Claims
1. A method for handling audio faults, characterized in that: The steps include: Sending the first audio signal to the external power amplifier module, so that the external power amplifier module processes the first audio signal to obtain a second audio signal, and returns the second audio signal; Determine whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting the collected sound signal, and the sound signal is output by the external power amplifier module through the speaker based on the second audio signal; Determining a processing method for the audio fault according to the type of the audio fault; Among them, the determining whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determining the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module, includes: if the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in a normal state, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in an abnormal state, it is determined that the signal link sending the first audio signal to the external power amplifier module has a fault.
2. The audio fault processing method according to claim 1, characterized in that: The determining, according to the type of the audio fault, a method for handling the audio fault includes: If the external power amplifier module fails, a wake-up signal is sent to the external power amplifier module to reset and restart the external power amplifier module; and, After sending the wake-up signal to the external power amplifier module, the method further includes: If it is further determined that the external power amplifier module fails, a first reminder message is issued, wherein the issuing of the first reminder message includes voice playing or displaying information indicating that the external power amplifier module fails and needs to be repaired.
3. The audio fault processing method according to claim 1, characterized in that: The determining, according to the type of the audio fault, a method for handling the audio fault includes: If a signal link that sends the first audio signal to the external power amplifier module fails, a second reminder message is issued, wherein the issuing of the second reminder message includes voice playback or display of information indicating that a signal link that sends the first audio signal to the external power amplifier module fails and requires maintenance.
4. An audio fault processing device, characterized in that: include: a first sending module, configured to send a first audio signal to an external power amplifier module, so that the external power amplifier module processes the first audio signal to obtain a second audio signal, and returns the second audio signal; a fault determination module, used to determine whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting the collected sound signal, and the sound signal is output by the external power amplifier module through the speaker based on the second audio signal; if the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal is in a normal state of sending audio to the external power amplifier module, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal is in an abnormal state of sending audio to the external power amplifier module, it is determined that the signal link that sends the first audio signal to the external power amplifier module has a fault; The fault processing module is used to determine a processing method for the audio fault according to the type of the audio fault.
5. A host, characterized in that: include: A controller, configured to send a first audio signal to an external power amplifier module, determine whether a second audio signal and a third audio signal returned by the external power amplifier module are detected, and determine a type of audio fault according to a detection result and a state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting a collected acoustic signal, and the acoustic signal is output by the external power amplifier module through a speaker based on the second audio signal; and determine a processing method for the audio fault according to the type of the audio fault; Among them, the determining whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determining the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module, includes: if the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in a normal state, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in an abnormal state, it is determined that the signal link sending the first audio signal to the external power amplifier module has a fault.
6. An audio fault processing system, characterized in that: include: Communication-connected external power amplifier module and host; The host is used to send the first audio signal to the external power amplifier module; The external power amplifier module is used to process the first audio signal received from the host to obtain a second audio signal, output an acoustic signal based on the second audio signal through a speaker, and return the second audio signal to the host; The host is used to determine whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determine the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module; the third audio signal is formed by converting the collected sound signal; and determine the processing method of the audio fault according to the type of the audio fault; Among them, the determining whether the second audio signal and the third audio signal returned by the external power amplifier module are detected, and determining the type of audio fault according to the detection result and the state of sending the first audio signal to the external power amplifier module, includes: if the second audio signal is detected and the third audio signal is not detected, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in a normal state, it is determined that the external power amplifier module has a fault; if the second audio signal and the third audio signal are not detected, and the first audio signal sending audio to the external power amplifier module is in an abnormal state, it is determined that the signal link sending the first audio signal to the external power amplifier module has a fault.
7. A vehicle, characterized in that: Includes the host as described in claim 5 or the audio fault processing system as described in claim 6.
8. A computer-readable storage medium, characterized in that: The computer storage medium is used to store computer instructions. When the computer instructions are executed on a computer, the audio fault processing method according to any one of claims 1 to 3 is implemented.
