Alarm audio playing frequency switching method, device and equipment and vehicle

By detecting the alarm level update in the vehicle and setting the countdown parameters of the timer, low-latency alarm audio playback frequency switching is achieved, and the safety hazards caused by the delay in alarm audio switching in the prior art are solved.

CN120010811APending Publication Date: 2025-05-16ECARX (HUBEI) TECHCO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510109561.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, there is a delay in switching the alarm audio playback frequency, which leads to the driver's misjudgment of the distance between obstacles and poses a safety hazard.

Method used

When an alarm level update is detected during the process of playing the alarm audio at the preset time interval, the preset duration corresponding to the interval duration and the new alarm level is determined, and the countdown parameters of the timer are set to realize low-latency alarm audio playback frequency switching.

Benefits of technology

It realizes low latency for switching alarm audio playback frequency, ensuring that the driver can accurately judge the distance between obstacles and improve driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010811A_ABST
    Figure CN120010811A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm audio playing frequency switching method, device and equipment and a vehicle. The method comprises the following steps: when it is detected that an alarm level is updated in a process of playing a preset alarm audio with a first preset duration as an interval, determining an interval duration between a moment when the alarm level is detected to be updated and a starting moment when the preset alarm audio is played last time and a second preset duration corresponding to a new alarm level; and setting a countdown parameter of a timer based on the interval duration and a second preset duration so as to play the preset alarm audio at an interval of the second preset duration, the timer starting countdown when the setting of the countdown parameter is completed, and starting to play the preset alarm audio when the countdown is completed every time. According to the application, the playing time of the preset alarm audio is controlled based on the timer, so that the preset alarm audio is played according to the required frequency, and low delay of switching of the playing frequency is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment, parking distance control system, vehicle and computer-readable storage medium for switching alarm audio playback frequency. Background Art

[0002] During the parking process, the auxiliary device detects the distance between the front / rear of the vehicle and obstacles, and issues corresponding sound prompts based on the distance to alert the driver.

[0003] At present, three types of alarm audio are generally configured, among which the length of audio 1 is 500ms, the length of audio 2 is 250ms, and the length of audio 3 is 2000ms. When the distance is far, audio 1 is played at a playback frequency of 2Hz; when the distance is medium, audio 2 is played at a playback frequency of 4Hz; when the distance is close, audio 3 is played continuously. As the distance changes, the alarm audio needs to be switched. For example, audio 1 is played at a playback frequency of 2Hz at the beginning. As the distance decreases, it becomes a medium distance at time t1. Since audio 1 needs to be played first before audio 2 can be played at a playback frequency of 4Hz, the time difference between time t2 and time t1 when audio 2 starts to be played at a playback frequency of 4Hz is between 0 and 500ms, that is, there is a delay of 0 to 500ms in switching the alarm audio playback frequency; similarly, when the medium distance changes to the long distance / close distance, there is a delay of 0 to 250ms in switching the alarm audio playback frequency; when the close distance changes to the medium distance, there is a delay of 0 to 2000ms in switching the alarm audio playback frequency.

[0004] When the delay in switching the alarm audio playback frequency is too large, it may cause the driver to misjudge the distance to the obstacle, posing a safety hazard. Summary of the invention

[0005] The present application provides a method, device, equipment, parking distance control system, vehicle and computer-readable storage medium for switching the alarm audio playback frequency, which can solve the technical problem of excessive delay in switching the alarm audio playback frequency in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a method for switching an alarm audio playback frequency, the method comprising:

[0007] When an alarm level update is detected during the process of playing the preset alarm audio at intervals of the first preset duration, determining the interval between the moment when the alarm level update is detected and the start moment of the most recent playback of the preset alarm audio and the second preset duration corresponding to the new alarm level;

[0008] The countdown parameters of the timer are set based on the interval duration and the second preset duration so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

[0009] In combination with the first aspect, in one implementation, setting a countdown parameter of a timer based on the interval duration and the second preset duration includes:

[0010] Calculating the time difference between the second preset duration and the interval duration;

[0011] If the time difference is greater than or equal to zero, setting the countdown parameter of the timer to the time difference;

[0012] When the timer counts down to the end of the time difference, setting the countdown parameter of the timer to the second preset duration;

[0013] When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

[0014] In combination with the first aspect, in an implementation manner, after calculating the time difference between the second preset duration and the interval duration, the method further includes:

[0015] If the time difference is less than zero, the preset alarm audio is played, and the countdown parameter of the timer is set to the second preset duration;

[0016] When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

[0017] In combination with the first aspect, in one implementation, the warning level is determined based on the distance between the vehicle and the obstacle.

[0018] In combination with the first aspect, in one implementation, the closer the distance between the vehicle and the obstacle is, the higher the corresponding alarm level is, and the higher the alarm level is, the shorter the corresponding preset time is.

[0019] In a second aspect, an embodiment of the present application provides an alarm audio playback frequency switching device, the alarm audio playback frequency switching device comprising:

[0020] A determination module, configured to determine, when an alarm level update is detected during the process of playing a preset alarm audio at intervals of a first preset duration, an interval between the time when the alarm level update is detected and the start time of the most recent playback of the preset alarm audio, and a second preset duration corresponding to the new alarm level;

[0021] A setting module is used to set the countdown parameters of the timer based on the interval duration and a second preset duration, so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

[0022] In a third aspect, an embodiment of the present application provides a parking distance control system, which includes the alarm audio playback frequency switching device as described in the second aspect.

[0023] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising a parking distance control system as described in the third aspect.

[0024] In the fifth aspect, an embodiment of the present application provides an alarm audio playback frequency switching device, which includes a processor, a memory, and an alarm audio playback frequency switching program stored in the memory and executable by the processor, wherein when the alarm audio playback frequency switching program is executed by the processor, the steps of the alarm audio playback frequency switching method described in the first aspect are implemented.

[0025] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which an alarm audio playback frequency switching program is stored, wherein when the alarm audio playback frequency switching program is executed by a processor, the steps of the alarm audio playback frequency switching method described in the first aspect are implemented.

[0026] The beneficial effects brought by the technical solution provided by the embodiments of the present application include:

[0027] In an embodiment of the present application, when an alarm level update is detected during the process of playing a preset alarm audio at intervals of a first preset duration, the interval between the moment when the alarm level update is detected and the start moment of the most recent playback of the preset alarm audio and the second preset duration corresponding to the new alarm level are determined; the countdown parameters of the timer are set based on the interval and the second preset duration, so that the preset alarm audio is played at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown. Through the embodiment of the present application, the timing of playing the preset alarm audio is controlled based on the timer, which not only achieves the playback of the preset alarm audio at the required frequency, but also ensures low latency in switching the playback frequency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is a flow chart of an embodiment of a method for switching the alarm audio playback frequency of the present application;

[0029] Figure 2 A schematic diagram of a switching scenario of the alarm audio playback frequency in an embodiment;

[0030] Figure 3 A schematic diagram of a scenario in which the alarm audio playback frequency is switched in another embodiment;

[0031] Figure 4 A schematic diagram of a switching scenario of the alarm audio playback frequency in another embodiment;

[0032] Figure 5 This is a functional module diagram of an embodiment of the alarm audio playback frequency switching device of the present application;

[0033] Figure 6 This is a schematic diagram of the hardware structure of the alarm audio playback frequency switching device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0036] In a first aspect, an embodiment of the present application provides a method for switching an alarm audio playback frequency.

[0037] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of the method for switching the alarm audio playback frequency of the present application. Figure 1 As shown, the alarm audio playback frequency switching method includes:

[0038] Step S10, when an alarm level update is detected during the process of playing the preset alarm audio at intervals of the first preset duration, determining the interval between the moment when the alarm level update is detected and the start moment of the most recent playback of the preset alarm audio and the second preset duration corresponding to the new alarm level;

[0039] In this embodiment, taking the vehicle parking scene as an example, the vehicle is equipped with a parking distance control system. Through the parking distance control system, the distance between the front / rear of the vehicle and the obstacle is detected in real time, so as to determine the alarm level, that is, the alarm level is determined based on the distance between the vehicle and the obstacle. Further, the interval for playing the preset alarm audio is determined based on the alarm level. Among them, for the convenience of explanation, the distance S is divided into long distance (1m<S≤2m), medium distance (0.5m<S≤1m) and close distance (S≤0.5m); the long distance corresponds to the first alarm level, the medium distance corresponds to the second alarm level, and the close distance corresponds to the third alarm level, that is, the closer the distance between the vehicle and the obstacle, the higher the corresponding alarm level; the higher the alarm level, the shorter the corresponding preset duration, for example, the preset duration corresponding to the first alarm level is 500ms, the preset duration corresponding to the second alarm level is 250ms, and the preset duration corresponding to the third alarm level is 50ms. It should be noted that the above numerical values ​​are only for schematic description and do not constitute a limitation of this embodiment.

[0040] When the parking distance control system is activated, if it is detected that the distance between the vehicle and the obstacle is a long distance, it is determined to be the first alarm level, and the preset alarm audio is first played at intervals of the first preset duration (e.g., 500ms); in the process of playing the preset alarm audio at intervals of the first preset duration (e.g., 500ms), as the vehicle moves, the distance between the vehicle and the obstacle also changes. When it is detected at time t1 that the distance between the vehicle and the obstacle becomes a medium distance, the alarm level is updated to the second alarm level. According to the correspondence between the preset alarm level and the preset duration, it can be determined that the second preset duration corresponding to the new alarm level (e.g., the second alarm level) is 250ms. Further, according to the audio playback record, it is determined that the start time of the most recent playback of the preset alarm audio is t0, and the interval duration is (t1-t0).

[0041] Similarly, when the parking distance control system is activated and detects that the distance between the vehicle and the obstacle is a medium distance, the second alarm level is determined, and the preset alarm audio is first played at intervals of the first preset duration (e.g., 250ms); in the process of playing the preset alarm audio at intervals of the first preset duration (e.g., 250ms), as the vehicle moves, the distance between the vehicle and the obstacle also changes. When it is detected at time t1 that the distance between the vehicle and the obstacle becomes a long distance, the alarm level is updated to the first alarm level. According to the correspondence between the preset alarm level and the preset duration, it can be determined that the second preset duration corresponding to the new alarm level (e.g., the first alarm level) is 500ms. Furthermore, according to the audio playback record, the starting time of the most recent playback of the preset alarm audio is determined to be t0, and the interval duration is (t1-t0)

[0042] Step S20, setting the countdown parameters of the timer based on the interval duration and the second preset duration, so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

[0043] In this embodiment, when setting the countdown parameter for the first time, it is necessary to make relevant judgments based on the specific values ​​of the interval duration and the second preset duration, and set the countdown parameter of the timer to a certain value; and set the countdown parameter to the second preset duration each time thereafter. For example, when setting the countdown parameter of the timer for the first time, the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of the countdown of 100ms, and each time the preset alarm audio starts to be played, the countdown parameter of the timer is set to the second preset duration, thereby playing the preset alarm audio at intervals of the second preset duration.

[0044] Further, in one embodiment, setting the countdown parameters of the timer based on the interval duration and the second preset duration includes:

[0045] Step S201, calculating the time difference between the second preset duration and the interval duration;

[0046] Step S202, if the time difference is greater than or equal to zero, setting the countdown parameter of the timer to the time difference;

[0047] Step S203, when the timer counts down to the end of the time difference, setting the countdown parameter of the timer to the second preset duration;

[0048] Step S204: when the timer finishes counting down to the second preset time length, resetting the countdown parameter of the timer to the second preset time length.

[0049] In this embodiment, for the sake of convenience, it is assumed that the length of the preset alarm audio is 100ms, the first preset duration is 500ms, the second preset duration is 250ms, and the start time of the most recent playback of the preset alarm audio is t0. Then, the interval T between the time t1 when the alarm level update is detected and the start time t0 of the most recent playback of the preset alarm audio may be greater than 250ms, or may be less than or equal to 250ms. Figure 2 , Figure 2 Schematic diagram of the alarm audio playback frequency switching scenario in one embodiment. Figure 2As shown, when T≤250ms, 250ms-T≥0, the countdown parameter of the timer is set to (250ms-T), and when the timer finishes counting down with (250ms-T), the preset alarm audio starts to be played (the time is recorded as t2). It can be seen that the interval between t2 and t0 is 250ms; the countdown parameter of the timer is set to 250ms at time t2, and when the timer ends counting down with 250ms, the countdown parameter of the timer is reset to 250ms. Since the preset alarm audio starts to be played at the end of each countdown, it is equivalent to detecting at time t1 that the preset alarm audio needs to be played at intervals of the second preset time length. According to the scheme of this embodiment, the preset alarm audio is played at intervals of the second preset time length from time t0, and there is no delay in switching the alarm audio playback frequency.

[0050] In another embodiment, when the first preset duration is 250ms, the second preset duration is 500ms, and the start time of the most recent playing of the preset alarm audio is t0, the interval T between the time t1 when the alarm level update is detected and the start time t0 of the most recent playing of the preset alarm audio is at most 250ms, that is, 500ms-T>0. Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a switching scenario of the alarm audio playback frequency in another embodiment. Figure 3 As shown, the countdown parameter of the timer is set to (500ms-T). When the timer finishes counting down with (500ms-T), the preset alarm audio starts to be played (the time is recorded as t2). It can be seen that the interval between t2 and t0 is 500ms; the countdown parameter of the timer is set to 500ms at time t2, and when the timer ends counting down with 500ms, the countdown parameter of the timer is reset to 500ms. Since the preset alarm audio starts to be played at the end of each countdown, it is equivalent to detecting at time t1 that the preset alarm audio needs to be played at intervals of the second preset time length. According to the scheme of this embodiment, the preset alarm audio is played at intervals of the second preset time length starting from time t0, and there is no delay in switching the alarm audio playback frequency.

[0051] Furthermore, in one embodiment, after step S201, the method further includes:

[0052] Step S205: if the time difference is less than zero, play the preset alarm audio, and set the countdown parameter of the timer to the second preset duration;

[0053] Step S206: When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

[0054] In this embodiment, Figure 4 FIG. 1 is a schematic diagram of a switching scenario of the alarm audio playback frequency in another embodiment. Figure 4 As shown, Figure 2 Corresponding to the scenario shown, when T>250ms, 250ms-T<0, the preset alarm audio is played directly. It is assumed that the alarm level update is detected at time t1, and the time required for intermediate data processing is ignored, that is, the preset alarm audio is deemed to be played at time t1, and the countdown parameter of the timer is set to 250ms, and when the timer ends the countdown of 250ms, the countdown parameter of the timer is reset to 250ms. Since the preset alarm audio starts to be played at the end of each countdown, it is equivalent to detecting at time t1 that the preset alarm audio needs to be played at intervals of the second preset time length. According to the scheme of this embodiment, the preset alarm audio is played at intervals of the second preset time length starting from time t1, and there is no delay in switching the alarm audio playback frequency.

[0055] In an embodiment of the present application, when an alarm level update is detected during the process of playing a preset alarm audio at intervals of a first preset duration, the interval between the moment when the alarm level update is detected and the start moment of the most recent playback of the preset alarm audio and the second preset duration corresponding to the new alarm level are determined; the countdown parameters of the timer are set based on the interval and the second preset duration, so that the preset alarm audio is played at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown. Through the embodiment of the present application, the timing of playing the preset alarm audio is controlled based on the timer, which not only achieves the playback of the preset alarm audio at the required frequency, but also ensures low latency in switching the playback frequency.

[0056] In a second aspect, an embodiment of the present application further provides an alarm audio playback frequency switching device.

[0057] In one embodiment, referring to Figure 5 , Figure 5 This is a functional module diagram of an embodiment of the alarm audio playback frequency switching device of the present application. Figure 5 As shown, the alarm audio playback frequency switching device includes:

[0058] A determination module 10 is used to determine, when an alarm level update is detected during the process of playing a preset alarm audio at intervals of a first preset duration, the interval between the moment when the alarm level update is detected and the start moment of the most recent playback of the preset alarm audio, and a second preset duration corresponding to the new alarm level;

[0059] The setting module 20 is used to set the countdown parameters of the timer based on the interval duration and the second preset duration, so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

[0060] Furthermore, in one embodiment, a module 20 is provided for:

[0061] Calculating the time difference between the second preset duration and the interval duration;

[0062] If the time difference is greater than or equal to zero, setting the countdown parameter of the timer to the time difference;

[0063] When the timer counts down to the end of the time difference, setting the countdown parameter of the timer to the second preset duration;

[0064] When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

[0065] Furthermore, in one embodiment, a module 20 is provided for:

[0066] If the time difference is less than zero, the preset alarm audio is played, and the countdown parameter of the timer is set to the second preset duration;

[0067] When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

[0068] Furthermore, in one embodiment, the warning level is determined based on the distance between the vehicle and the obstacle.

[0069] Furthermore, in one embodiment, the closer the distance between the vehicle and the obstacle is, the higher the corresponding alarm level is, and the higher the alarm level is, the shorter the corresponding preset time is.

[0070] Among them, the functional implementation of each module in the above-mentioned alarm audio playback frequency switching device corresponds to the various steps in the above-mentioned alarm audio playback frequency switching method embodiment, and its functions and implementation processes are no longer repeated here.

[0071] In a third aspect, an embodiment of the present application provides a parking distance control system.

[0072] In the embodiment of the present application, the parking distance control system includes the alarm audio playback frequency switching device as described above.

[0073] In a fourth aspect, an embodiment of the present application provides a vehicle.

[0074] In an embodiment of the present application, the vehicle includes the parking distance control system as described above.

[0075] In a fifth aspect, an embodiment of the present application provides an alarm audio playback frequency switching device.

[0076] Reference Figure 6 , Figure 6 Schematic diagram of the hardware structure of the alarm audio playback frequency switching device involved in the embodiment of the present application. In the embodiment of the present application, the alarm audio playback frequency switching device may include a processor, a memory, a communication interface and a communication bus.

[0077] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0078] The communication interface includes an input / output (I / O) interface, a physical interface, and a logical interface, which are used to interconnect the components inside the alarm audio playback frequency switching device, and an interface used to interconnect the alarm audio playback frequency switching device with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, an optical fiber interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0079] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0080] The processor may be a general-purpose processor, and the general-purpose processor may call the alarm audio playback frequency switching program stored in the memory and execute the alarm audio playback frequency switching method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the alarm audio playback frequency switching program is called may refer to the various embodiments of the alarm audio playback frequency switching method of the present application, and will not be repeated here.

[0081] Those skilled in the art will understand that Figure 6 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0082] In a sixth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0083] The computer-readable storage medium of the present application stores an alarm audio playback frequency switching program, wherein when the alarm audio playback frequency switching program is executed by a processor, the steps of the alarm audio playback frequency switching method as described above are implemented.

[0084] Among them, the method implemented when the alarm audio playback frequency switching program is executed can refer to the various embodiments of the alarm audio playback frequency switching method of the present application, and will not be repeated here.

[0085] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0086] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0087] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0088] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0089] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0091] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for switching the frequency of alarm audio playback, characterized in that: The alarm audio playback frequency switching method comprises: When an alarm level update is detected during the process of playing the preset alarm audio at intervals of the first preset duration, determining the interval between the time when the alarm level update is detected and the start time of the most recent playback of the preset alarm audio and the second preset duration corresponding to the new alarm level; The countdown parameters of the timer are set based on the interval duration and the second preset duration so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

2. The alarm audio playback frequency switching method according to claim 1, characterized in that: The countdown parameters of the timer are set based on the interval duration and the second preset duration, including: Calculating the time difference between the second preset duration and the interval duration; If the time difference is greater than or equal to zero, setting the countdown parameter of the timer to the time difference; When the timer counts down to the end of the time difference, setting the countdown parameter of the timer to the second preset duration; When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

3. The alarm audio playback frequency switching method according to claim 2, characterized in that: After calculating the time difference between the second preset duration and the interval duration, the method further includes: If the time difference is less than zero, the preset alarm audio is played, and the countdown parameter of the timer is set to the second preset duration; When the timer finishes counting down to the second preset time length, the countdown parameter of the timer is reset to the second preset time length.

4. The alarm audio playback frequency switching method according to any one of claims 1 to 3, characterized in that: The warning level is determined based on the distance between the vehicle and the obstacle.

5. The alarm audio playback frequency switching method according to claim 4, characterized in that: The closer the distance between the vehicle and the obstacle, the higher the corresponding alarm level, and the higher the alarm level, the shorter the corresponding preset time.

6. An alarm audio playback frequency switching device, characterized in that: The alarm audio playback frequency switching device comprises: A determination module, configured to determine, when an alarm level update is detected during the process of playing a preset alarm audio at intervals of a first preset duration, an interval between the time when the alarm level update is detected and the start time of the most recent playback of the preset alarm audio, and a second preset duration corresponding to the new alarm level; A setting module is used to set the countdown parameters of the timer based on the interval duration and a second preset duration, so as to play the preset alarm audio at intervals of the second preset duration, wherein the timer starts the countdown when the countdown parameter setting is completed, and starts playing the preset alarm audio at the end of each countdown.

7. A parking distance control system, characterized in that: The parking distance control system includes the alarm audio playback frequency switching device as described in claim 6.

8. A vehicle, characterized in that: The vehicle includes a parking distance control system as claimed in claim 7.

9. An alarm audio playback frequency switching device, characterized in that: The alarm audio playback frequency switching device includes a processor, a memory, and an alarm audio playback frequency switching program stored in the memory and executable by the processor, wherein when the alarm audio playback frequency switching program is executed by the processor, the steps of the alarm audio playback frequency switching method as described in any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an alarm audio playback frequency switching program, wherein when the alarm audio playback frequency switching program is executed by the processor, the steps of the alarm audio playback frequency switching method according to any one of claims 1 to 5 are implemented.