Method and device for quickly playing alarm sound, electronic equipment, medium and vehicle

By pre-unmuting the default directional speakers when the car computer is turned on and directly playing the alarm sound according to the abnormal signal, the problem of alarm sound delay caused by the time-consuming CAN communication is solved, and the timeliness of the alarm sound and user experience are improved.

CN120708327APending Publication Date: 2025-09-26CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510684435.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

In existing vehicles, in scenarios with high latency requirements, the alarm sound is not played in a timely manner due to the long CAN communication time, affecting user experience and safety.

Method used

By pre-muting the speaker in the default position when the car computer is turned on, and determining its alarm position when receiving an abnormal signal, the alarm sound is directly played using the speaker in the default position, and then unmuted after completion, avoiding the time-consuming operations of sending signals and unmuting in traditional methods.

Benefits of technology

It effectively reduces the playback delay of the alarm sound, improves the user's car safety and experience, especially in emergency situations, it can quickly respond to the alarm sound and reduce the danger caused by delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120708327A_ABST
    Figure CN120708327A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for quickly playing alarm sound, electronic equipment, a medium and a vehicle, and belongs to the technical field of audio. The method comprises the following steps: in response to starting of a vehicle machine, sending an alarm signal to an external power amplifier so as to enable the external power amplifier to execute a mute relieving operation on a horn located in a default direction; in response to the acquisition of the current abnormal signal, judging whether the alarm direction of the alarm sound corresponding to the current abnormal signal is a default direction or not; if yes, controlling a loudspeaker located in a default direction to broadcast a corresponding alarm sound based on the current abnormal signal; and after the alarm sound is broadcasted, the alarm signal is sent to the external power amplifier again, so that the external power amplifier carries out mute relieving operation on the loudspeaker located in the default direction and waits for obtaining the abnormal signal in the next round. The method can effectively reduce the playing delay when playing the alarm sound in the default direction, accelerates the playing of the alarm sound, facilitates the guarantee of the vehicle use safety of a user, and improves the vehicle use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of audio technology, and more particularly to a method, device, electronic device, medium, and vehicle for quickly playing an alarm sound. Background Art

[0002] In the field of automotive research and development, different devices need to communicate with each other to perform collaborative work to achieve at least one in-vehicle function. CAN communication is one such communication method. For functional development scenarios in the automotive safety domain, in addition to focusing on the safety of the vehicle's materials, reminding the driver to pay attention to safety is also an important functional development project. Playing alarm sounds is one of these functions, that is, playing certain audio to remind the driver to pay attention to the vehicle's status and driving safety. Products (especially those with external power amplifiers) often use CAN bus communication when playing audio. The vehicle's own SOC chip needs to exchange information with the external power amplifier via the CAN bus, thereby achieving collaborative work between the two devices and playing the alarm sound according to the correct alarm direction.

[0003] However, the CAN bus communication method also has certain limitations, one of which is that it takes a long time. Compared with the direct connection of chips soldered on the same device, the transmission of information between two devices often requires a certain period of time, about tens to hundreds of milliseconds for the CAN signal to be sent and responded once. If the time period is too short, the chip will not be able to process and respond to a large amount of data information in a short period of time, and data information will be lost with probability; on the contrary, if the time period is too long, it will affect the alarm sound playback experience and will not be able to respond in time. After receiving the CAN signal, the relevant equipment also needs a certain amount of time to respond to the corresponding logic and effects. For example, it takes a certain amount of time to switch the alarm direction.

[0004] Because safety domain functionality is crucial for vehicles, balancing the user experience with the effectiveness and accuracy of warning sound playback is crucial. The excessively long warning delays associated with existing CAN bus communication significantly shorten the driver's reaction time, severely impacting user experience and even the safety of life and property. Given this, and given the long CAN communication latency, the ability to quickly play these important warning sounds is crucial and highly sensitive.

[0005] It should be noted that the aforementioned CAN is the abbreviation of Controller Area Network, which is translated as controller local area network; the aforementioned SOC is the abbreviation of System on Chip, which is translated as system on chip. Summary of the Invention

[0006] The embodiments of the present invention provide a method, device, electronic device, medium and vehicle for quickly playing an alarm sound, so as to at least solve the problem of untimely alarm sound playback caused by the long CAN communication time in some existing vehicles in some scenarios with high delay requirements. It can effectively reduce the playback delay of the alarm sound, speed up the playback of the alarm sound, and help ensure the safety of users' vehicles and improve the user experience of using the vehicle.

[0007] In a first aspect, an embodiment of the present invention provides a method for quickly playing an alarm sound, the method comprising at least the following steps:

[0008] S1. In response to the vehicle computer being turned on, sending an alarm signal to an external power amplifier, so that the external power amplifier performs an unmuting operation on a speaker located in a default position;

[0009] S2. In response to obtaining the current abnormal signal, determining whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position;

[0010] S3. If yes, then based on the current abnormal signal, control the speaker located at the default position to broadcast the corresponding alarm sound; and after the alarm sound is broadcast, re-send the alarm signal to the external power amplifier, so that the external power amplifier performs the unmute operation on the speaker located at the default position and waits for the next round of abnormal signal acquisition.

[0011] Optionally, after step S2, the method further comprises at least:

[0012] S4. If not, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located at the corresponding position according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located at the corresponding position broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs the unmute operation on the speaker located at the default position, and waits for the next round of abnormal signal acquisition.

[0013] Optionally, the default orientation is at least the orientation of the driver.

[0014] Optionally, the abnormal signal includes at least one of an instrument abnormal signal, a seat belt abnormal signal, a turn signal abnormal signal, a radar collision detection abnormal signal and a distraction alarm abnormal signal.

[0015] In a second aspect, an embodiment of the present invention further provides a device for quickly playing an alarm sound, comprising at least:

[0016] a mute release module, configured to send an alarm signal to an external power amplifier in response to the vehicle computer being turned on, so that the external power amplifier performs an unmute operation on the speaker located in a default position;

[0017] a direction determination module, configured to determine, in response to acquisition of a current abnormal signal, whether the alarm direction of the alarm sound corresponding to the current abnormal signal is the default direction;

[0018] The first playback processing module is at least used to control the speaker located at the default position to broadcast the corresponding alarm sound based on the current abnormal signal when the alarm position of the alarm sound corresponding to the current abnormal signal is the default position; and after the alarm sound is broadcast, re-send the alarm signal to the external power amplifier, so that the external power amplifier performs the unmute operation on the speaker located at the default position and waits for the next round of abnormal signal acquisition.

[0019] Optionally, it also includes at least:

[0020] The second playback processing module is at least used to re-send the alarm signal to the external power amplifier when the alarm position of the alarm sound corresponding to the current abnormal signal is not the default position, so that the external power amplifier performs an unmute operation on the speaker located at the corresponding position according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located at the corresponding position broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, send the alarm signal to the external power amplifier again, so that the external power amplifier performs the unmute operation on the speaker located at the default position, and waits for the next round of abnormal signal acquisition.

[0021] Optionally, the default orientation is at least the orientation of the driver.

[0022] In a third aspect, an embodiment of the present invention further provides an electronic device comprising a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method for quickly playing an alarm sound as described in any one of the first aspects are executed.

[0023] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method for quickly playing an alarm sound as described in any one of the first aspects.

[0024] In a fifth aspect, an embodiment of the present invention further provides a vehicle, comprising: at least one electronic device, at least one processor; and a storage medium communicatively connected to the at least one processor;

[0025] The storage medium stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor to enable the at least one electronic device to perform the steps in the method for quickly playing an alarm sound as described in any one of the first aspects.

[0026] The embodiments of the present invention provide a method, device, electronic device, medium, and vehicle for quickly playing an alarm sound. First, in response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on the speaker located in the default position; then, in response to the acquisition of the current abnormal signal, it is determined whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position. If so, the speaker located in the default position is controlled to broadcast the corresponding alarm sound based on the current abnormal signal; finally, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an un-mute operation on the speaker located in the default position, and waits for the next round of abnormal signal acquisition. It is understandable that the above method process can be, but is not limited to, executed by the vehicle computer software; specifically, the speaker located in the default position is un-muted after the vehicle computer is turned on. If the vehicle sensor receives an abnormal signal, and the alarm position of the alarm sound corresponding to the abnormal signal happens to be the aforementioned default position, the vehicle computer software can directly use the speaker to play the alarm sound. After the embodiment of the present invention is configured in this way, when the vehicle processes an abnormal signal, it is not necessary to perform time-consuming operations such as first sending the alarm signal to the external amplifier and then having the external amplifier unmute the corresponding speaker as in the existing alarm sound playback process described in the background technology, thereby effectively reducing the alarm sound playback delay.

[0027] To sum up, the embodiment of the present invention can effectively reduce the playback delay when playing the alarm sound in the default direction. If applied to the car cabin, it can at least solve the problem of untimely alarm sound playback in some existing vehicles in some scenarios with high delay requirements due to the long CAN communication time. It is beneficial to speed up the playback of the alarm sound, ensure the safety of users' cars, and improve the user's car experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0029] Figure 1 This is a flowchart of an existing alarm sound playback provided by an embodiment of the present invention;

[0030] Figure 2This is a flow chart of a method for quickly playing an alarm sound provided by an embodiment of the present invention;

[0031] Figure 3 This is a flow chart of another method for quickly playing an alarm sound provided by an embodiment of the present invention;

[0032] Figure 4 This is a flow chart of another method for quickly playing an alarm sound provided by an embodiment of the present invention;

[0033] Figure 5 This is a schematic structural diagram of a device for quickly playing an alarm sound provided by an embodiment of the present invention;

[0034] Figure 6 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] To make the objectives, technical solutions, and advantages of this application more clear, this application will be further described in detail below with reference to the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0036] The terms used in the examples of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a," "the," and "the" used in the examples of this application and the appended claims are also intended to include plural forms, and unless the context clearly indicates otherwise, "a plurality" generally includes at least two.

[0037] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0038] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0039] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0040] It should also be noted that the terms "include," "comprises," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a product or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or device. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the product or device comprising the element.

[0041] It should be noted in particular that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.

[0042] As mentioned in the background technology, under the influence of the long time consumption of CAN communication, how to quickly play important alarm sounds is very critical and highly sensitive. Specifically, Figure 1 This is a flowchart of an existing alarm sound playback provided by an embodiment of the present invention, such as Figure 1 As shown, the existing alarm sound playing process mainly includes the following steps:

[0043] A1. In response to the vehicle sensor detecting an abnormal signal, the current abnormal signal is sent to the vehicle computer software.

[0044] A2. In response to the acquisition of the current abnormal signal, the vehicle computer software sends an alarm signal to the external power amplifier, so that the external power amplifier performs an un-mute operation on the speakers in the corresponding direction.

[0045] A3. Based on the current abnormal signal, the external power amplifier controls the speakers in the corresponding direction to play the alarm sound.

[0046] Understandably, in the automotive safety domain, delays in the playback of certain alarm sounds with high real-time requirements can have negative consequences, such as turn signal warnings, distraction warnings, and radar collision warnings. These warning sounds reflect the dangers of driving in the current driver's driving environment. If these warning sounds are delayed in playback, it will directly affect the driver's judgment of the current driving environment. During high-speed driving, if emergency avoidance scenarios such as emergency maneuvers and fatigue driving occur, the driver needs to react as quickly as possible. The average person's reaction time is approximately 300ms. If an emergency occurs and the corresponding alarm sound is not played in time, the driver has less time to react and avoid danger, and the danger is more likely to occur. Therefore, ensuring low latency in alarm sound playback is very important. In other words, if the delay in alarm sound playback can be effectively reduced, driver safety can be improved. Moreover, in some non-emergency avoidance scenarios, the low latency of the alarm sound playback also needs to be guaranteed. For example, before the vehicle starts, there are alarm sounds for doors and windows not being closed, and reminders for not fastening seat belts. Although the vehicle is not in motion at this time, it is very necessary to quickly feedback the current vehicle status through the alarm sound. It can not only objectively reflect the vehicle's computer response speed, but also reflect whether the performance of the vehicle's sensors is good and sensitive, etc., which is conducive to improving users' evaluation of the car's quality and driving experience. After careful research, the inventor found that the main reason for the alarm sound delay lies in the hardware. The transmission of the interactive signals between different devices on the CAN harness and the response of the chip itself usually takes tens to hundreds of milliseconds. The material selection, processing technology, wiring design, electromagnetic interference, etc. of the different hardware circuits themselves will affect the length of time, which in turn affects the playback delay when playing the alarm sound.

[0047] In view of this, under the influence of the aforementioned hardware delay, the inventors intend to perform technical improvements at the software level to shorten the total time required for CAN signal transmission and chip response, thereby achieving the purpose of quickly playing the safety domain alarm tone, and have come up with the following solution:

[0048] The embodiment of the present invention provides a method for quickly playing an alarm sound. Figure 2 This is a flow chart of a method for quickly playing an alarm sound provided by an embodiment of the present invention. This embodiment is applicable to playback scenarios of various types of vehicle alarm sounds, such as left and right turn signal prompt sounds, reversing radar prompt sounds of different frequencies, thermal runaway vehicle alarm sounds, unfastened seatbelt prompt sounds, engine failure alarm sounds, distraction alarm sounds, etc. in fuel vehicles, pure electric vehicles, hybrid vehicles, plug-in hybrid vehicles, extended-range electric vehicles, driverless vehicles and other types of vehicles. The method for quickly playing an alarm sound can be, but is not limited to, executed by the quickly playing alarm sound device in the embodiment of the present invention as the execution subject, and the execution subject can be implemented in software and / or hardware. Figure 2 As shown, the method for quickly playing the alarm sound includes at least the following steps:

[0049] S1. In response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on a speaker located in a default position.

[0050] The vehicle computer startup action may refer to the user turning the vehicle computer key to start the vehicle computer. The alarm signal may be a CAN signal. For example, after the external amplifier receives the alarm signal, it will perform an unmuting operation on the speakers in a certain direction. The unmuting operation may refer to setting the speakers in the corresponding direction to a standby state. The speakers in the standby state can play the alarm sound at any time.

[0051] S2. In response to the acquisition of the current abnormal signal, determine whether the alarm position of the alarm sound corresponding to the current abnormal signal is a default position.

[0052] Among them, the current abnormal signal may refer to a CAN signal, Ethernet signal, etc. used to indicate that an emergency situation has occurred in the vehicle at the current moment, or that the driver and / or passenger are in an abnormal state. The signal can be utilized by the power amplifier device and enable the speaker in the corresponding direction to play the corresponding alarm sound.

[0053] In a specific embodiment, optionally, the abnormal signal includes at least one of an instrument abnormal signal, a seat belt abnormal signal, a turn signal abnormal signal, a radar collision detection abnormal signal, and a distraction alarm abnormal signal.

[0054] S3. If yes, then based on the current abnormal signal, control the speaker located in the default position to broadcast the corresponding alarm sound; and after the alarm sound is broadcast, resend the alarm signal to the external power amplifier so that the external power amplifier performs an unmute operation on the speaker located in the default position and waits for the next round of abnormal signal acquisition.

[0055] Among them, for example, if the abnormal signal detected by the vehicle sensor is caused by the user not wearing a seat belt, the current abnormal signal may be a seat belt abnormality signal; if the position of not wearing a seat belt is the default position, the seat belt abnormality alarm sound may be directly played using the speaker in the default position.

[0056] The technical solution provided by this embodiment is as follows: first, in response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on the speaker located in the default position; then, in response to the acquisition of the current abnormal signal, it is determined whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position. If so, the speaker located in the default position is controlled to broadcast the corresponding alarm sound based on the current abnormal signal; finally, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an un-mute operation on the speaker located in the default position, and waits for the next round of abnormal signal acquisition.

[0057] It is understandable that, because the speaker in the default position is unmuted after the car computer is turned on, if the vehicle sensor receives an abnormal signal, and the alarm position of the alarm sound corresponding to the abnormal signal happens to be the aforementioned default position, the car computer software can directly use the speaker to play the alarm sound. After the embodiment of the present invention is configured in this way, when the vehicle processes the abnormal signal, it does not need to perform time-consuming operations such as first sending the alarm signal to the external amplifier and then having the external amplifier unmute the corresponding speaker as in the existing alarm sound playback process described in the background technology, thereby effectively reducing the alarm sound playback delay. In summary, this embodiment can effectively reduce the playback delay when playing the alarm sound in the default position. If applied to the car cockpit, it can at least solve the problem of untimely alarm sound playback in some existing vehicles in some scenarios with high delay requirements due to the long CAN communication time. It is beneficial to speed up the playback of the alarm sound, ensure the safety of users, and improve the user experience of using the car.

[0058] It should be noted that, in addition to car cabins, the embodiments of the present invention can also be applied to the rapid playback of alarm sounds in transportation vehicles such as airplanes and ships, or warehouse material management scenarios to reduce the alarm sound playback delay, which will not be described in detail.

[0059] Based on the above embodiments or implementations, this embodiment supplements and refines the method for quickly playing an alarm sound in the above embodiments, but does not limit the present invention. In a specific implementation, after step S2, the method further includes:

[0060] S4. If not, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located in the corresponding direction according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located in the corresponding direction broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located in the default direction, and waits for the next round of abnormal signal acquisition.

[0061] Based on the technical solutions provided by the above implementation methods, Figure 3This is a flow chart of another method for quickly playing an alarm sound provided by an embodiment of the present invention. Figure 3 As shown, the method for quickly playing the alarm sound specifically includes the following steps:

[0062] S1. In response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on a speaker located in a default position.

[0063] S2. In response to the acquisition of the current abnormal signal, determine whether the alarm position of the alarm sound corresponding to the current abnormal signal is a default position.

[0064] S3. If yes, then based on the current abnormal signal, control the speaker located in the default position to broadcast the corresponding alarm sound; and after the alarm sound is broadcast, resend the alarm signal to the external power amplifier so that the external power amplifier performs an unmute operation on the speaker located in the default position and waits for the next round of abnormal signal acquisition.

[0065] S4. If not, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located in the corresponding direction according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located in the corresponding direction broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located in the default direction, and waits for the next round of abnormal signal acquisition.

[0066] The corresponding direction changes based on the current abnormal signal. For example, if the user is not wearing a seatbelt, the corresponding direction will be the front passenger's direction when the seatbelt abnormality signal is triggered. If the user is a rear passenger, the corresponding direction will be adjusted to the rear passenger's direction when the seatbelt abnormality signal is triggered.

[0067] In a specific embodiment, optionally, the default direction is at least the direction where the driver is located. It is understandable that at the beginning of the vehicle product design, the default alarm direction of most alarm sounds is the direction where the driver is located. While the corresponding alarm sound is playing, the corresponding warning light on the instrument screen in front of the driver will also flash, so as to inform the driver of the current vehicle status and vehicle hazard information. It is understandable that there are still individual alarm sounds that will appear in the direction where the passengers are located. The scenes corresponding to such alarm sounds are usually non-emergency scenes, which are mainly used to remind passengers of their behavior. For example, if a passenger does not fasten his seat belt after getting on the car, the direction corresponding to the unfastened seat belt alarm sound is the location of the corresponding passenger. Based on this, setting the default direction to the direction where the driver is located can effectively reduce the playback delay of most alarm sounds.

[0068] In another specific embodiment, Figure 4 This is another flow chart of a method for quickly playing an alarm sound provided by an embodiment of the present invention, see Figure 4 , taking the driver's position as the default position as an example. First, the user turns the car computer key to start the car computer. Further, the car computer software sends a CAN signal (i.e., the aforementioned alarm signal) to the power amplifier device through the car computer. Further, the power amplifier device responds to the aforementioned CAN signal and performs the operation of unmuting the speaker in the driver's position (i.e., the aforementioned default position), so that the speaker is in a standby state and is ready to play the alarm sound at any time. Further, after the vehicle sensor detects that the user in the car is not wearing a seat belt, the vehicle sensor sends an abnormal signal to the car computer representing that one or more users are not wearing a seat belt. Further, after the car computer receives one or more abnormal signals, the car computer software determines whether the alarm position corresponding to each current abnormal signal is the driver's position (i.e., whether it is necessary to use the speaker in the driver's position to play the alarm sound). Further, after determining that the playback position is only the driver's position, the car computer software can directly use the speaker in the driver's position to play the unfastened seat belt alarm sound. Furthermore, if the car computer software determines that the playback direction is only the direction where the co-pilot is located, the car computer software can first send a CAN signal (i.e. the aforementioned alarm signal) to the power amplifier device to unmute the speaker in the direction where the co-pilot is located (i.e. the corresponding direction). Furthermore, the power amplifier device performs an unmute operation on the speaker in the co-pilot position. Furthermore, after the speaker in the co-pilot position is unmuted, the power amplifier device controls the speaker in the co-pilot position to play the unfastened seat belt alarm sound. Furthermore, after the unfastened seat belt alarm sound is played (i.e. the current abnormal signal processing is completed), the car computer software re-sends a CAN signal (i.e. the aforementioned alarm signal) to the power amplifier device, notifying the power amplifier device to respond to the CAN signal, unmute the speaker in the driver's position, and be ready to play the alarm sound at any time.

[0069] In summary, the technical solution provided by this embodiment, on the one hand, because the speaker in the default position (driver's position) is unmuted when the vehicle computer is turned on, if the vehicle sensor receives an abnormal signal, and the alarm position of the alarm sound corresponding to the abnormal signal happens to be the aforementioned default position, the vehicle computer software can directly use the speaker to play the alarm sound. It can be understood that the time-consuming operation of the power amplifier device to unmute the speaker in the default position is designed in advance before the vehicle sensor detects the abnormal signal, thereby ensuring that the vehicle can quickly respond to the subsequent alarm scenario. In this way, when processing the abnormal signal, this embodiment does not need to perform the time-consuming operations such as first sending the alarm signal to the external power amplifier and then having the external power amplifier unmute the corresponding speaker, thereby effectively reducing the alarm sound playback delay. If applied to the car cockpit, it can at least solve the problem of delayed alarm sound playback in some existing vehicles in some scenarios with high latency requirements due to the long CAN communication time. It is conducive to speeding up the playback of alarm sounds, ensuring user safety and improving the user experience.

[0070] On the other hand, optimizing the alarm sound delay by improving the hardware itself (e.g., by selecting higher-quality materials) will not significantly improve the performance, but will significantly increase hardware costs, undoubtedly placing a heavier financial burden on manufacturers and users. This embodiment solves this technical problem through vehicle-mounted software, effectively reducing costs for manufacturers and users.

[0071] The embodiment of the present invention also provides a device for quickly playing an alarm sound. Figure 5 This is a structural diagram of a device for quickly playing an alarm sound provided by an embodiment of the present invention. This embodiment is applicable to scenarios in which alarm sounds are quickly played in various types of vehicles, such as fuel vehicles, pure electric vehicles, hybrid vehicles, plug-in hybrid vehicles, extended-range electric vehicles, driverless vehicles and other types of vehicles, including left and right turn signal prompt sounds, reversing radar prompt sounds of different frequencies, thermal runaway vehicle alarm sounds, unfastened seatbelt prompt sounds, engine failure alarm sounds, etc. The device can be implemented by software and / or hardware, and the device can be integrated into the vehicle by being integrated into the vehicle computer. Figure 5 As shown, the device 100 for quickly playing an alarm sound includes:

[0072] The mute release module 110 is at least configured to send an alarm signal to an external amplifier in response to the vehicle computer being turned on, so that the external amplifier performs an unmute operation on the speaker located in a default position.

[0073] The direction determination module 120 is at least configured to determine, in response to the acquisition of the current abnormal signal, whether the alarm direction of the alarm sound corresponding to the current abnormal signal is a default direction.

[0074] The first playback processing module 130 is at least used to control the speaker located at the default position to broadcast the corresponding alarm sound based on the current abnormal signal when the alarm position of the alarm sound corresponding to the current abnormal signal is the default position; and after the alarm sound is broadcast, re-send the alarm signal to the external power amplifier so that the external power amplifier performs an unmute operation on the speaker located at the default position and waits for the next round of abnormal signal acquisition.

[0075] Optionally, it also includes at least:

[0076] The second playback processing module 140 is at least used to re-send the alarm signal to the external power amplifier when the alarm position of the alarm sound corresponding to the current abnormal signal is not the default position, so that the external power amplifier performs an un-mute operation on the speaker located at the corresponding position according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located at the corresponding position broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, send the alarm signal to the external power amplifier again, so that the external power amplifier performs an un-mute operation on the speaker located at the default position, and waits for the next round of abnormal signal acquisition.

[0077] Optionally, the default orientation is at least the orientation of the driver.

[0078] Optionally, the abnormal signal includes at least one of an instrument abnormal signal, a seat belt abnormal signal, a turn signal abnormal signal, a radar collision detection abnormal signal and a distraction alarm abnormal signal.

[0079] This embodiment provides a device for quickly playing an alarm sound. First, in response to the vehicle computer being turned on, the mute release module sends an alarm signal to an external power amplifier, causing the external power amplifier to perform an unmute operation on the speaker located in the default position. Then, in response to the acquisition of the current abnormal signal, the position determination module determines whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position. Finally, when the alarm position of the alarm sound corresponding to the current abnormal signal is the default position, the first playback processing module controls the speaker located in the default position to play the corresponding alarm sound based on the current abnormal signal. After the alarm sound is played, the alarm signal is resent to the external power amplifier, causing the external power amplifier to perform an unmute operation on the speaker located in the default position and wait for the acquisition of the next abnormal signal.

[0080] It can be understood that because the speaker located in the default position is unmuted after the car computer is turned on, if the vehicle sensor receives an abnormal signal, and the alarm position of the alarm sound corresponding to the abnormal signal happens to be the aforementioned default position, the car computer software can directly use the speaker to play the alarm sound. After the present embodiment is configured in this way, when the vehicle processes the abnormal signal, it is not necessary to perform time-consuming operations such as first sending the alarm signal to the external power amplifier and then having the external power amplifier unmute the corresponding speaker as in the existing alarm sound playback process described in the background technology, thereby effectively reducing the alarm sound playback delay.

[0081] To sum up, this embodiment can effectively reduce the playback delay when playing the alarm sound in the default direction. If applied to the car cabin, it can at least solve the problem of untimely alarm sound playback in some existing vehicles in some scenarios with high delay requirements due to the long CAN communication time. It is conducive to speeding up the playback of the alarm sound, ensuring the safety of users' cars, and improving the user's car experience.

[0082] This embodiment provides an electronic device, Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 6 The electronic device 1000 includes a processor 1001 and a memory 1002. The memory 1002 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 1001, the steps in any one of the above methods for quickly playing an alarm sound are executed. Through the above technical solution, the processor 1001 and the memory 1002 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not marked), and the memory 1002 stores a computer program executable by the processor. When the electronic device 1000 is running, the processor 1001 executes the computer program to execute the method for quickly playing the alarm sound in any optional implementation of the above embodiment to at least achieve the following functions: in response to the vehicle computer being turned on, sending the alarm signal to the external power amplifier so that the external power amplifier performs an un-mute operation on the speaker located in the default position; in response to the acquisition of the current abnormal signal, determining whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position, and if so, controlling the speaker located in the default position to broadcast the corresponding alarm sound based on the current abnormal signal; after the alarm sound is broadcast, re-sending the alarm signal to the external power amplifier so that the external power amplifier performs an un-mute operation on the speaker located in the default position, and waiting for the next round of abnormal signal acquisition.

[0083] The present embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for quickly playing an alarm sound as provided in all the inventive embodiments of the present application: in response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on the speaker located in a default position; in response to the acquisition of a current abnormal signal, it is determined whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position, and if so, the speaker located in the default position is controlled to broadcast the corresponding alarm sound based on the current abnormal signal; after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an un-mute operation on the speaker located in the default position, and waits for the next round of abnormal signal acquisition.

[0084] An embodiment of the present invention also provides a vehicle, comprising: at least one electronic device, at least one processor; and a storage medium communicatively connected to the at least one processor; wherein the storage medium stores instructions executable by a processor, and the instructions are executed by the at least one processor so that the at least one electronic device can execute the method steps of the above embodiment: in response to the vehicle computer being turned on, an alarm signal is sent to an external power amplifier, so that the external power amplifier performs an un-mute operation on a speaker located in a default position; in response to the acquisition of a current abnormal signal, it is determined whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position, and if so, the speaker located in the default position is controlled to broadcast the corresponding alarm sound based on the current abnormal signal; after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an un-mute operation on the speaker located in the default position, and waits for the next round of abnormal signal acquisition.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for quickly playing an alarm sound, characterized in that: The method comprises at least the following steps: S1. In response to the vehicle computer being turned on, sending an alarm signal to an external power amplifier, so that the external power amplifier performs an unmuting operation on a speaker located in a default position; S2. In response to obtaining the current abnormal signal, determining whether the alarm position of the alarm sound corresponding to the current abnormal signal is the default position; S3. If yes, then based on the current abnormal signal, control the speaker located at the default position to broadcast the corresponding alarm sound; and after the alarm sound is broadcast, re-send the alarm signal to the external power amplifier, so that the external power amplifier performs the unmute operation on the speaker located at the default position and waits for the next round of abnormal signal acquisition.

2. The method for quickly playing an alarm sound according to claim 1, characterized in that: After step S2, the method further comprises: S4. If not, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs an unmute operation on the speaker located at the corresponding position according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located at the corresponding position broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, the alarm signal is sent to the external power amplifier again, so that the external power amplifier performs the unmute operation on the speaker located at the default position, and waits for the next round of abnormal signal acquisition.

3. The method for quickly playing an alarm sound according to claim 1, characterized in that: The default orientation is at least the orientation of the driver.

4. The method for quickly playing an alarm sound according to claim 1, characterized in that: The abnormal signal includes at least one of an instrument abnormal signal, a seat belt abnormal signal, a turn signal abnormal signal, a radar collision detection abnormal signal and a distraction alarm abnormal signal.

5. A device for quickly playing an alarm sound, characterized in that: At least: a mute release module, configured to send an alarm signal to an external power amplifier in response to the vehicle computer being turned on, so that the external power amplifier performs an unmute operation on the speaker located in a default position; a direction determination module, configured to determine, in response to acquisition of a current abnormal signal, whether the alarm direction of the alarm sound corresponding to the current abnormal signal is the default direction; The first playback processing module is at least used to control the speaker located at the default position to broadcast the corresponding alarm sound based on the current abnormal signal when the alarm position of the alarm sound corresponding to the current abnormal signal is the default position; and after the alarm sound is broadcast, re-send the alarm signal to the external power amplifier, so that the external power amplifier performs the unmute operation on the speaker located at the default position and waits for the next round of abnormal signal acquisition.

6. The device for quickly playing an alarm sound according to claim 5, characterized in that: At least include: The second playback processing module is at least used to re-send the alarm signal to the external power amplifier when the alarm position of the alarm sound corresponding to the current abnormal signal is not the default position, so that the external power amplifier performs an unmute operation on the speaker located at the corresponding position according to the alarm position of the alarm sound corresponding to the current abnormal signal, and makes the speaker located at the corresponding position broadcast the corresponding alarm sound; and, after the alarm sound is broadcast, send the alarm signal to the external power amplifier again, so that the external power amplifier performs the unmute operation on the speaker located at the default position, and waits for the next round of abnormal signal acquisition.

7. The device for quickly playing an alarm sound according to claim 5, characterized in that: The default orientation is at least the orientation of the driver.

8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the method for quickly playing an alarm sound according to any one of claims 1 to 4 are executed.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for quickly playing an alarm sound according to any one of claims 1 to 4 is implemented.

10. A vehicle, characterized in that: The vehicle comprises: at least one electronic device, at least one processor; and a storage medium communicatively connected to the at least one processor; The storage medium stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor to enable the at least one electronic device to perform the steps in the method for quickly playing an alarm sound according to any one of claims 1 to 4.