Sound alarm method, device, equipment, storage medium and program product
By detecting the event to be alarmed in the vehicle and identifying the target speaker, and then performing differentiated control of the speaker, the problem of inaccurate vehicle sound alarms is solved, and the precise location of the event to be alarmed is achieved.
Patent Information
- Application Number
- CN202410607970.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The existing vehicle audible alarm system is not precise enough to accurately pinpoint whether a seatbelt is not fastened in a specific seat.
By detecting the location of the event to be alarmed, the target speaker is identified, and different controls are applied to the target speaker and other speakers to achieve precise location of the sound alarm.
It improves the accuracy of sound alarms, enabling users to identify the location of the target speaker by sound, thereby determining the specific location of the event to be alarmed.
Smart Images

Figure CN118506503B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of sound alarm, and in particular, to a sound alarm method, device, equipment, storage medium and program product. BACKGROUND
[0002] With the development of advanced driving assistance systems, the way of vehicle sound alarm is also more and more.
[0003] In the related art, the vehicle can prompt the user through different kinds of sound alarms, and the user can make a timely response according to the sound alarm.
[0004] However, the current vehicle sound alarm is not accurate enough. For example, when a seat belt sound alarm is issued, the people on the vehicle only know that the seat belt of a certain seat is not fastened, and cannot determine which seat the seat belt is not fastened. SUMMARY
[0005] To solve the problems in the related art, the embodiments of the present disclosure provide a sound alarm method, device, equipment, storage medium and program product. The technical solutions are as follows.
[0006] In a first aspect, a sound alarm method is provided, which is applied to a vehicle-mounted terminal of a target vehicle, the target vehicle includes a plurality of loudspeakers, and the method includes:
[0007] detecting a to-be-alarm event of the target vehicle, determining a target event position corresponding to the to-be-alarm event;
[0008] determining a target loudspeaker corresponding to the target event position in the plurality of loudspeakers;
[0009] controlling the target loudspeaker and other loudspeakers except the target loudspeaker differently to perform sound alarm on the to-be-alarm event.
[0010] In a possible implementation, the type of the to-be-alarm event includes that a passenger does not fasten a seat belt, a window is not closed tightly, or an obstacle is approached.
[0011] In a possible implementation, the determining of the target loudspeaker corresponding to the target event position in the plurality of loudspeakers includes:
[0012] determining the target loudspeaker corresponding to the target event position based on a correspondence between an event position and a loudspeaker.
[0013] In a possible implementation, the controlling of the target loudspeaker and other loudspeakers except the target loudspeaker differently includes:
[0014] determine a target listening position based on a type of the event to be alarmed;
[0015] control a time at which the target speaker and the other speakers except the target speaker start playing the alarm sound, so that the alarm sound of the target speaker reaches the target listening position earlier than the alarm sound of the other speakers.
[0016] In a possible implementation, the different control of the target speaker and the other speakers except the target speaker includes:
[0017] controlling the target speaker to play the alarm sound and controlling the other speakers except the target speaker not to play the alarm sound.
[0018] In a possible implementation, the different control of the target speaker and the other speakers except the target speaker includes:
[0019] controlling the target speaker to play the alarm sound of a first sound type and controlling the other speakers except the target speaker to play the alarm sound of a second sound type.
[0020] In a possible implementation, the different control of the target speaker and the other speakers except the target speaker includes:
[0021] controlling the target speaker to play the alarm sound of a first volume and controlling the other speakers except the target speaker to play the alarm sound of a volume less than the first volume.
[0022] In a second aspect, a device for sound alarm is provided, and the device includes:
[0023] a detection module configured to detect an event to be alarmed of the target vehicle, and determine a target event position corresponding to the event to be alarmed;
[0024] a determination module configured to determine, from the plurality of speakers, a target speaker corresponding to the target event position;
[0025] a control module configured to control the target speaker and the other speakers except the target speaker differently to alarm the event to be alarmed by sound.
[0026] In a possible implementation, the type of the event to be alarmed includes that a passenger is not wearing a seat belt, a window is not closed tightly, or an obstacle is approached.
[0027] In a possible implementation, the determination module is configured to determine the target speaker corresponding to the target event position based on a correspondence between an event position and a speaker.
[0028] In a possible implementation, the control module is configured to:
[0029] determine a target listening position based on a type of the event to be alarmed;
[0030] control the target speaker and the speakers other than the target speaker to start playing the alarm sound at a time point, so that the alarm sound of the target speaker reaches the target listening position earlier than the alarm sound of the other speakers.
[0031] In a possible implementation, the control module is configured to control the target speaker to play the alarm sound, and control the speakers other than the target speaker not to play the alarm sound.
[0032] In a possible implementation, the control module is configured to control the target speaker to play the alarm sound of a first sound type, and control the speakers other than the target speaker to play the alarm sound of a second sound type.
[0033] In a possible implementation, the control module is configured to control the target speaker to play the alarm sound of a first volume, and control the speakers other than the target speaker to play the alarm sound of a volume smaller than the first volume.
[0034] In a third aspect, a computer device is provided, which includes a memory and a processor. The memory is configured to store computer instructions, and the processor is configured to execute the computer instructions stored in the memory, so that the computer device performs the method provided in the first aspect and possible implementation manners thereof.
[0035] In a fourth aspect, a computer readable storage medium is provided, which stores computer program codes. When the computer program codes are executed by a computer device, the computer device performs the method provided in the first aspect and possible implementation manners thereof.
[0036] In a fifth aspect, a computer program product is provided, which includes computer program codes. When the computer program codes are executed by a computer device, the computer device performs the method provided in the first aspect and possible implementation manners thereof.
[0037] By using the method, the position of the target event corresponding to the to-be-alarming event is determined, and then the target speaker corresponding to the target event position is determined, and different controls are performed on the target speaker and the speakers other than the target speaker, so as to perform sound alarming on the to-be-alarming event. In this way, the user can distinguish the position of the target speaker through sound, and then can know the target event position. That is, through the above-mentioned alarming manner, it is helpful for the user to judge the position of the to-be-alarming event, and the accuracy of sound alarming can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0038] Figure 1 is a structural schematic diagram of a vehicle terminal provided by an embodiment of the present disclosure;
[0039] Figure 2 is a processing flow schematic diagram of a sound alarming method provided by an embodiment of the present disclosure;
[0040] Figure 3 is a processing flow schematic diagram of a control manner of a speaker provided by an embodiment of the present disclosure;
[0041] Figure 4 is a schematic diagram of a target vehicle interior provided by an embodiment of the present disclosure;
[0042] Figure 5 is a structural schematic diagram of a sound alarming device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0043] An embodiment of the present disclosure provides a sound alarming method. The method can be applied to a vehicle terminal of a target vehicle, such as Figure 1 As shown in the figure, the vehicle terminal includes a processor 110, a memory 120, an information acquisition component 130, a communication component 140 and a speaker 150.
[0044] The processor 110 can be a central processing unit (CPU) or a system on chip (SoC), etc. The processor 110 can be used to execute various instructions related to the method, such as activation instructions of the sound acquisition component, etc.
[0045] The memory 120 can include various volatile memories or non-volatile memories, such as solid state disks (SSDs), dynamic random access memories (DRAMs), etc. The memory 120 can be used to store pre-stored data, intermediate data and result data in content type conversion and display processing, such as the correspondence between operation signals and operation position information, etc.
[0046] The information collection component 130 can include a sound sensor, a vision sensor, a pressure sensor, a radar sensor, etc., such as a radar sensor for measuring distance, etc.
[0047] The communication component 140 can be a wired network connector, a wireless fidelity (WiFi) module, a Bluetooth module, a cellular network communication module, etc. The communication component 140 can be used to receive various instructions and data, etc. For example, receiving third audio data, etc.
[0048] The speaker 150 is a device that can convert electrical energy into sound waves. A car can generally have multiple speakers distributed at different positions of the car. The speaker 150 can be used to emit prompt sounds, alarm sounds, music, etc. For example, the corresponding speaker of the co-driver emits an alarm sound when the co-driver does not fasten the safety belt, etc.
[0049] There are various types of sound alarms in a car, such as emitting alarm sounds to remind people outside the car, safety belt alarms, overspeed alarms, proximity obstacle alarms, etc., for prompting passengers in the car or pedestrians outside the car to pay attention to driving safety. The present embodiment provides a sound alarm method, which is applied to a vehicle-mounted terminal of a target vehicle. The target vehicle includes multiple speakers. The processing flow of the method can be as shown in Figure 2
[0050] 201, detecting a to-be-alarmed event of the target vehicle, and determining a target event position corresponding to the to-be-alarmed event.
[0051] The type of the to-be-alarmed event can include that a passenger does not fasten the safety belt, a car window is not closed tightly, or a proximity obstacle. When the type of the to-be-alarmed event is that the passenger does not fasten the safety belt, the target event position is the seat identifier where the passenger does not fasten the safety belt. When the type of the to-be-alarmed event is that the car window is not closed tightly, the target event position is the seat identifier corresponding to the car window that is not closed tightly. When the type of the to-be-alarmed event is the proximity obstacle, the target event position is the radar identifier of the identified obstacle.
[0052] For example, the target vehicle can pre-store a corresponding relationship between the type of the to-be-alarmed event and the event position. As shown in Table 1, when the type of the to-be-alarmed event is the proximity obstacle at the right rear, the target event position can be found in Table 1 as the right rear radar.
[0053]
[0054] 202, in the multiple speakers, determining a target speaker corresponding to the target event position.
[0055] Based on the correspondence between the event position and the speaker, a target speaker corresponding to the target event position is determined. The target vehicle can pre-store the correspondence between the event position and the speaker, for example, as shown in Table 2, where A is the identifier of the speaker corresponding to the main driver, B is the identifier of the speaker corresponding to the co-driver, and C is the identifier of the radar at the right rear.
[0056]
[0057] For example, the target event position is that the main driver has a passenger who does not wear a seat belt, and the identifier of the corresponding target speaker can be found in Table 2 as A.
[0058] Alternatively, the speaker closest to the target event position can also be selected as the target speaker corresponding to the target event position.
[0059] Alternatively, the above Table 1 and Table 2 can be combined, i.e., the target vehicle can pre-store the correspondence between the event to be alarmed, the event position, and the speaker, as shown in Table 3. When the type of the event to be alarmed is that the main driver has a passenger who does not wear a seat belt, the target event position is the main driver, and the identifier of the target speaker is A, which can be found in Table 3.
[0060]
[0061] 203, different controls are performed on the target speaker and other speakers except the target speaker to sound alarm for the event to be alarmed.
[0062] The target vehicle can perform different controls on the target speaker and other speakers except the target speaker, and the control modes have the following multiple possibilities.
[0063] Control mode one: controlling the time when the target speaker and other speakers except the target speaker start playing the alarm sound, so that the alarm sound of the target speaker reaches the target listening position earlier than the alarm sound of other speakers.
[0064] For example, for the case that the main driver has a passenger who does not wear a seat belt, the speaker A is controlled as the target speaker to reach the target listening position first, and other speakers reach the target listening position after the target speaker.
[0065] Control mode two: controlling the target speaker to play the alarm sound, and controlling other speakers except the target speaker not to play the alarm sound.
[0066] For example, for the case that the main driver has a passenger who does not wear a seat belt, the speaker A is controlled as the target speaker to play the alarm sound, and other speakers do not play the alarm sound.
[0067] The third control mode controls the target speaker to play an alarm sound of a first sound type, and controls other speakers except the target speaker to play an alarm sound of a second sound type. The sound type can have multiple classifications, for example, classified by tone, the first sound type is a high-pitched alarm sound, and the second sound type is a low-pitched alarm sound.
[0068] For example, for the case that there is a passenger on the driver seat without wearing a seat belt, the speaker A plays a high-pitched alarm sound as the target speaker, and other speakers play a low-pitched alarm sound.
[0069] The fourth control mode controls the target speaker to play an alarm sound of a first volume, and controls other speakers except the target speaker to play an alarm sound smaller than the first volume.
[0070] For example, for the case that there is a passenger on the driver seat without wearing a seat belt, the speaker A plays an alarm sound of 100 decibels as the target speaker, and other speakers play an alarm sound of 70 decibels.
[0071] In a possible implementation, the detailed process flow of the above-mentioned first control mode can be as shown in Figure 3 The detailed process flow of the above-mentioned first control mode can be as shown in
[0072] 301, determining a target listening position based on the type of the event to be alarmed.
[0073] The user or the technician can pre-set the specified type corresponding to the event to be alarmed, and then determine the target listening position according to the type of the event to be alarmed.
[0074] When the type of the event to be alarmed is a first specified type, the seat position of the driver seat is determined as the target listening position. When the type of the event to be alarmed is a second specified type, the seat position corresponding to the target event position is determined as the target listening position. The event to be alarmed of the first specified type is an event that needs to remind the passenger on the driver seat, and the event to be alarmed of the second specified type is an event that needs to remind the passenger on the corresponding seat position. Alternatively, the second specified type is an event that needs to remind the passenger in the corresponding area, and the corresponding relationship between the event and the area can be pre-stored.
[0075] For example, the distance between the front vehicle and the vehicle is less than a preset distance, which needs to remind the passenger on the driver seat to increase the distance from the front vehicle, which is the first specified type. For another example, the window of the front passenger seat is not closed tightly, which needs to remind the passenger on the front passenger seat to close the window, which is the second specified type of the event to be alarmed.
[0076] The event position can be the seat position, or the corresponding seat position in the corresponding relationship between the event position and the seat, or the seat position closest to the event position. For example, as shown in Figure 4As shown, when there is an obstacle at the right rear, the event position can be seat 4, and seat 4 can be determined by looking up the correspondence between the event position and the seat, or seat 4 can be determined by calculating the distance between each seat and the right rear.
[0077] 302, determine the first time length based on the ratio of the distance between the target speaker and the target listening position to the speed of sound.
[0078] The first time length represents the time taken for the alarm sound to reach the target listening position from the target speaker. For example, the speaker and listening position of the target vehicle can be as shown in Figure 4 As shown, A, B, C, and D are four speakers, and 1, 2, 3, and 4 are four listening positions, where C is the target speaker and 1 is the target listening position. The time taken for the alarm sound of each speaker to reach the target listening position can be as shown in Table 4, and the first time length is 1.76 milliseconds.
[0079] 303, for each other speaker, determine a second time length based on the ratio of the distance between the other speaker and the target listening position to the speed of sound, determine the difference obtained by subtracting the second time length from the first time length, and determine the sum of the difference and the preset delay time length as the actual delay time length corresponding to the other speaker.
[0080] The second time length represents the time taken for the alarm sound to reach the target listening position from the other speaker. When the difference obtained by subtracting the second time length from the first time length is positive, it means that the target speaker arrives later than the other speaker. When the difference obtained by subtracting the second time length from the first time length is negative, it means that the target speaker arrives earlier than the other speaker. When the difference obtained by subtracting the second time length from the first time length is zero, it means that the target speaker and the other speaker arrive at the same time.
[0081] For example, as shown in Table 4, the difference for speaker A is 0.88 milliseconds, the difference for speaker B is -1.74 milliseconds, and the difference for speaker D is -2.94 milliseconds.
[0082] The skilled person can pre-store the maximum value of the difference, i.e. the maximum time taken for the alarm sound to reach a listening position from a speaker, and the user or the skilled person can set the preset delay time length to be greater than the maximum value of the difference and belong to the range of positions where the human ear can perceive the undelayed sound (when the sound delay time length is between 5-35 milliseconds, the human ear can perceive the undelayed sound), for example, when the maximum value of the difference is 1 millisecond, the preset delay time length can be 5 milliseconds, 10 milliseconds, etc.
[0083] The difference value is compared with the sum of the preset delay time lengths, and the actual delay time length corresponding to the other speaker is determined. For example, the preset delay time length is 10 milliseconds, the actual delay time length of the speaker A is 10.88 milliseconds, the actual delay time length of the speaker B is 8.26 milliseconds, and the actual delay time length of the speaker D is 7.06 milliseconds.
[0084] 304, controlling the target speaker to start playing the alarm sound.
[0085] 305, for each other speaker, after the target speaker starts playing the alarm sound, the other speaker starts playing the alarm sound after the actual delay time length corresponding to the other speaker.
[0086] In this way, the alarm sound of the target speaker can first reach the target listening position.
[0087] For example, the speakers and the listening positions of the target vehicle can be as shown in Figure 4 A, B, C, and D are four speakers, and 1, 2, 3, and 4 are four listening positions, wherein C is the target speaker, 1 is the target listening position, and the time length for the alarm sound of each speaker to reach the target listening position can be as shown in Table 4.
[0088]
[0089] From Table 4, it can be seen that the maximum value of the difference value is 0.88 milliseconds, the preset delay time length can be 10 milliseconds, the actual delay time length of the speaker A is 10.88 milliseconds, that is, the speaker A starts playing the alarm sound 10.88 milliseconds after the speaker C starts playing the alarm sound, the actual delay time length of the speaker B is 8.26 milliseconds, that is, the speaker B starts playing the alarm sound 8.26 milliseconds after the speaker C starts playing the alarm sound, and the actual delay time length of the speaker D is 7.06 milliseconds, that is, the speaker D starts playing the alarm sound 7.06 milliseconds after the speaker C starts playing the alarm sound.
[0090] In the embodiments of the present disclosure, the target event position corresponding to the to-be-alarmed event is determined, and then the target speaker corresponding to the target event position is determined. Different controls are performed on the target speaker and the other speakers except the target speaker to sound an alarm for the to-be-alarmed event. In this way, the user can distinguish the position of the target speaker through sound, and then can know the target event position. That is, through the above alarm method, it is helpful for the user to judge the position of the to-be-alarmed event, and the accuracy of the sound alarm can be improved.
[0091] All the optional technical solutions described above can be combined to form optional embodiments of the present disclosure, which will not be described one by one here.
[0092] Based on the same technical concept, the present disclosure also provides a device for sound warning, as shown in the accompanying drawings, the device comprises: Figure 5
[0093] The detection module 510 is configured to detect a to-be-warned event of a target vehicle and determine a target event position corresponding to the to-be-warned event. The detection module 510 can realize the processing function of step 601 and other implicit steps.
[0094] The determination module 520 is configured to determine a target speaker corresponding to the target event position from a plurality of speakers. The determination module 520 can realize the processing function of step 601 and other implicit steps.
[0095] The control module 530 is configured to control the target speaker and other speakers except the target speaker differently to perform sound warning on the to-be-warned event. The control module 530 can realize the processing function of step 601 and other implicit steps.
[0096] In a possible implementation, the type of the to-be-warned event includes that a passenger is not wearing a seat belt, a window is not closed tightly, or an obstacle is approached.
[0097] In a possible implementation, the determination module 520 is configured to determine the target speaker corresponding to the target event position based on a correspondence between an event position and a speaker. The determination module 520 can realize the processing function of step 601 and other implicit steps.
[0098] In a possible implementation, the control module 530 is configured to determine a target listening position based on the type of the to-be-warned event, and control a time at which the target speaker and the other speakers except the target speaker start playing a warning sound, so that the warning sound of the target speaker reaches the target listening position earlier than the warning sound of the other speakers. The control module 530 can realize the processing function of step 601 and other implicit steps.
[0099] In a possible implementation, the control module 530 is configured to control the target speaker to play the warning sound and control the other speakers except the target speaker not to play the warning sound. The control module 530 can realize the processing function of step 601 and other implicit steps.
[0100] In a possible implementation, the control module 530 is configured to control the target speaker to play a warning sound of a first sound type and control the other speakers except the target speaker to play a warning sound of a second sound type. The control module 530 can realize the processing function of step 601 and other implicit steps.
[0101] In a possible implementation, the control module 530 is configured to control the target speaker to play the alarm sound at the first volume, and control other speakers except the target speaker to play the alarm sound at a volume less than the first volume. The processing function of step 601 and other implicit steps can be implemented.
[0102] The detection module 510, the determination module 520, and the control module 530 can be implemented by a processor, or implemented by a processor in cooperation with a memory and a display.
[0103] In the embodiments of the present disclosure, the target event position corresponding to the to-be-alarmed event is determined, and then the target speaker corresponding to the target event position is determined. Different controls are performed on the target speaker and other speakers except the target speaker, so as to perform sound alarm on the to-be-alarmed event. In this way, the user can distinguish the position of the target speaker through sound, and then can know the target event position. That is, through the above alarm manner, the user can judge the position of the to-be-alarmed event, and the accuracy of sound alarm can be improved.
[0104] The device for sound alarm provided in the above embodiments is only taken as an example in the division of the above functional modules in the running process. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the electric device is divided into different functional modules to complete all or part of the above described functions. In addition, the device for sound alarm and the method for sound alarm provided in the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be described here.
[0105] The embodiments of the present disclosure further provide a computer-readable storage medium. The computer-readable storage medium can be any available medium or data storage device including one or more available media that can be accessed by a computer device. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk), etc. The computer-readable storage medium includes instructions for instructing the computer device to execute the method for business processing, or for instructing the computer device to execute the method for business processing.
[0106] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of acoustic alerting, characterized by, The method is applied to a vehicle terminal of a target vehicle, the target vehicle comprising a plurality of loudspeakers, and the method comprises: detecting a to-be-alarmed event of the target vehicle, and determining a target event position corresponding to the to-be-alarmed event; determining a target loudspeaker corresponding to the target event position among the plurality of loudspeakers; performing different control on the target loudspeaker and other loudspeakers except the target loudspeaker, so as to perform sound alarm on the to-be-alarmed event; the type of the to-be-alarmed event comprises an unfastened seat belt of a passenger, an unsealed window, or proximity to an obstacle; the different control on the target loudspeaker and other loudspeakers except the target loudspeaker comprises: determining a target listening position based on the type of the to-be-alarmed event; controlling a time point at which the target loudspeaker and other loudspeakers except the target loudspeaker start playing alarm sound, so that alarm sound of the target loudspeaker reaches the target listening position earlier than alarm sound of the other loudspeakers.
2. The method of claim 1, wherein, the determining of the target loudspeaker corresponding to the target event position among the plurality of loudspeakers comprises: determining the target loudspeaker corresponding to the target event position based on a correspondence between an event position and a loudspeaker.
3. A device for acoustic alerting, characterized in that The device is used to execute the method in any one of claims 1-2, and the device comprises: a detection module configured to detect a to-be-alarmed event of the target vehicle, and determine a target event position corresponding to the to-be-alarmed event; a determination module configured to determine a target loudspeaker corresponding to the target event position among the plurality of loudspeakers; a control module configured to perform different control on the target loudspeaker and other loudspeakers except the target loudspeaker, so as to perform sound alarm on the to-be-alarmed event.
4. A computer device, comprising: The computer device comprises a memory and a processor, and the memory is configured to store computer instructions; the processor executes the computer instructions stored in the memory, so that the computer device executes the method in any one of claims 1-2.
5. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer program code, and when the computer program code is executed by a computer device, the computer device executes the method in any one of claims 1-2.
6. A computer program product, characterised in that, The computer program product comprises computer program code, and when the computer program code is executed by a computer device, the computer device executes the method in any one of claims 1-2.
Citation Information
Patent Citations
Alarm method for vehicle and device thereof
CN114043950A
Audio playing method, electronic equipment and storage medium
CN117241176A