Vehicle instrument alarm sound control method, device, vehicle and medium

By updating internal status and determining priority of the alarm sound of the car instrument, the auditory confusion caused by the sound of multiple alarm sounds at the same time is solved, and a single alarm sound playback is realized, improving the driver's auditory experience.

CN114954005BActive Publication Date: 2025-02-21CHINA FAW CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210744512.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2025-02-21
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

When multiple alarms exist at the same time, multiple alarm sounds sound at the same time, resulting in a disordered driver's hearing and inability to accurately distinguish alarm information, causing panic and a bad auditory experience.

Method used

By obtaining the current data information of the vehicle, the alarm playback conditions are determined for each alarm tone, the internal status is updated, the candidate alarm tone that meets the set state conditions are selected, the target alarm tone with the highest priority is determined based on its attribute information, and the alarm is passed The player plays the target alarm sound.

Benefits of technology

Classified arbitration of vehicle instrument alarm sounds is realized, ensuring that only one alarm sound is in the playback state, improving the driver's auditory experience and improving the driver's understanding of alarm sound information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114954005B_ABST
    Figure CN114954005B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method, device, vehicle and medium for vehicle instrument alarm sound, the method comprising: determining the alarm playing condition for each alarm sound according to the current vehicle data information obtained; updating the current internal state of each alarm sound according to the determination result to obtain a new current internal state; selecting candidate alarm sounds whose current internal state meets the set state condition from the alarm sounds that meet the alarm playing condition; determining the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound and updating the current internal state of each candidate alarm sound; the alarm player plays the target alarm sound. By setting multiple different internal states for each alarm sound and updating its internal state, the alarm sound is classified and arbitrated, an alarm sound is determined, and it is ensured that only one alarm sound is in the playing state, thereby improving the driver's auditory experience and improving the driver's understanding of the alarm sound information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method, device, vehicle and medium for controlling a vehicle instrument alarm sound. Background Art

[0002] The alarm sound is one of the important components of the instrument. As cars become more intelligent, the alarms on the car instruments have increased from a dozen to more than 200 types. Each alarm may correspond to a different alarm sound, which warns or notifies the driver through different alarm sounds.

[0003] Most of the existing automobile instruments are LCD instruments. When multiple alarms exist at the same time within a certain period of time, multiple alarm sounds sound at the same time, which will cause auditory confusion to the driver and make it impossible for the driver to accurately distinguish the alarm information. It is easy to cause panic to the driver and bring a bad auditory experience to the driver. Summary of the invention

[0004] The invention provides a method and device for controlling the alarm sound of a vehicle instrument, a vehicle and a medium, so as to realize the control of the alarm sound of the vehicle instrument.

[0005] According to a first aspect of the present invention, a method for controlling a vehicle instrument alarm sound is provided, comprising:

[0006] According to the acquired vehicle current data information, the alarm playing condition is determined for each alarm sound;

[0007] According to the determination result, the current internal state of each of the alarm sounds is updated to obtain a new current internal state;

[0008] Selecting a candidate alarm sound whose current internal state meets the set state condition from the alarm sounds whose judgment result is that they meet the alarm playing condition;

[0009] Determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and update the current internal state of each candidate alarm sound according to the target alarm sound;

[0010] The target alarm sound is played through the alarm player.

[0011] According to a second aspect of the present invention, there is provided a control device for a vehicle instrument alarm sound, comprising:

[0012] A determination module, used to determine the alarm playing conditions for each alarm sound according to the acquired current vehicle data information;

[0013] A state acquisition module, used to update the current internal state of each of the alarm sounds according to the determination result to obtain a new current internal state;

[0014] A selection module is used to select candidate alarm sounds whose current internal state meets the set state conditions from the alarm sounds whose judgment results show that they meet the alarm playing conditions;

[0015] A state updating module, used to determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and to update the current internal state of each candidate alarm sound according to the target alarm sound;

[0016] The playing module is used to play the target alarm sound through the alarm player.

[0017] According to a third aspect of the present invention, there is provided a vehicle, the vehicle comprising:

[0018] one or more controllers;

[0019] A memory in communication with the at least one controller; wherein,

[0020] The memory stores a computer program executable by the at least one controller, and the computer program is executed by the at least one controller so that the at least one controller can execute the vehicle instrument alarm sound control method described in any embodiment of the present invention.

[0021] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the vehicle instrument alarm sound control method described in any embodiment of the present invention when executed.

[0022] The technical solution of the embodiment of the present invention determines the alarm playing condition for each alarm sound according to the current vehicle data information obtained; updates the current internal state of each alarm sound according to the determination result to obtain a new current internal state; selects candidate alarm sounds whose current internal state meets the set state conditions from the alarm sounds that meet the alarm playing condition; determines the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound and updates the current internal state of each candidate alarm sound; the alarm player plays the target alarm sound. By setting multiple different internal states for each alarm sound and updating its internal state, the alarm sound is classified and arbitrated, an alarm sound is determined, and it is ensured that only one alarm sound is in the playing state, which improves the driver's auditory experience and the driver's understanding of the alarm sound information.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0025] Figure 1 is a flow chart of a method for controlling a vehicle instrument alarm sound according to a first embodiment of the present invention;

[0026] Figure 2 is a flow chart of a method for controlling a vehicle instrument alarm sound according to a second embodiment of the present invention;

[0027] Figure 3 This is a flow chart of state update in a method for controlling a vehicle instrument alarm sound provided in accordance with a second embodiment of the present invention;

[0028] Figure 4 This is an example timing diagram of an interruption situation in a method for controlling a vehicle instrument alarm sound according to a second embodiment of the present invention;

[0029] Figure 5 This is an example diagram of internal state transition in a method for controlling a vehicle instrument alarm sound according to a second embodiment of the present invention;

[0030] Figure 6 2 is a schematic diagram of the structure of a vehicle instrument alarm sound control device provided according to Embodiment 3 of the present invention;

[0031] Figure 7 It is a structural schematic diagram of a vehicle provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

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

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof 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 necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] Figure 1 A flowchart of a method for controlling a vehicle instrument alarm sound is provided for the first embodiment of the present invention. This embodiment is applicable to the control of a vehicle instrument alarm sound. The method can be executed by a vehicle instrument alarm sound control device. The vehicle instrument alarm sound control device can be implemented in the form of hardware and / or software. The vehicle instrument alarm sound control device can be configured in a vehicle. Figure 1 As shown, the method includes:

[0036] S110: Determine the alarm playing condition for each alarm sound according to the acquired current vehicle data information.

[0037] In this embodiment, the current data information can be understood as the current state of the device that needs to be monitored in the vehicle transmitted in the form of data information. For example, if the current temperature value of the engine needs to be monitored, the current data information can be the temperature data information of the engine. The alarm sound can be understood as each device is in an abnormal state that requires an alarm to correspond to a corresponding alarm sound. The alarm playing condition can be understood as determining whether the device corresponding to the alarm sound is in an abnormal state that requires an alarm.

[0038] Specifically, the execution subject can obtain data information such as CAN, IO, and system status, where each data information corresponds to an alarm sound, and each alarm sound can be distinguished by setting a corresponding ID. The alarm playback condition determination for each alarm sound can be performed by pre-setting a normal value range and an abnormal value range table for each data information, and comparing each acquired data information with the corresponding value range. If the data information belongs to the normal value range, the device corresponding to the alarm sound is in a normal state; if the data information belongs to the abnormal value range, the device corresponding to the alarm sound is in an abnormal state. If the determination result of the alarm sound is an abnormal state, the alarm playback condition is met; if the determination result of the alarm sound is a normal state, the alarm playback condition is not met.

[0039] S120: Update the current internal state of each alarm sound according to the determination result to obtain a new current internal state.

[0040] It can be known that the executing subject can recognize information in the form of data or code, but cannot directly recognize whether the alarm player is playing the alarm sound through sound. Therefore, it is necessary to use the current internal state to convert the current state of the alarm player into the form of the current internal state that the executing subject can recognize, and synchronize the current state of the alarm player with the current internal state. The executing subject can know the current state of the alarm player based on the current internal state.

[0041] In this embodiment, the current internal state may include: idle state, waiting to play state, suspended state, playing state, stopped state, and abnormal state. Idle state: when the current alarm sound does not meet the playing condition, its current internal state is considered to be idle state; waiting to play state: when the current alarm sound meets the playing condition, but is not the highest priority playing sound, its current internal state is considered to be waiting to play state; suspended state: when the current alarm sound meets the playing condition, but is interrupted by the high priority playing sound during playing, its current internal state is considered to be suspended state; playing state: when the current alarm sound meets the playing condition and the alarm sound is the highest priority, its current internal state is considered to be playing state; stopped state: when the current alarm sound meets the playing condition and is played, its current internal state is considered to be stopped state; abnormal state: abnormal playing state of the alarm sound player, its current internal state is considered to be abnormal state.

[0042] Specifically, the executing entity can determine the playback conditions of each alarm sound in a periodic manner. Based on the determination results, it can be determined whether each alarm sound currently meets the playback conditions. After re-determination, the current alarm sound may be different from the last determination result, so the current internal state of each alarm sound needs to be updated, and the current internal state corresponding to the current determination result needs to be replaced so that the current internal state of each alarm sound can be updated in real time.

[0043] S130 , selecting candidate alarm sounds whose current internal states meet the set state conditions from the alarm sounds whose determination results show that they meet the alarm playing conditions.

[0044] In this embodiment, the candidate alarm sound can be understood as an alarm sound that has an alarm demand and needs to be played by an alarm player. The candidate alarm sound can be one or more.

[0045] The setting state condition includes: the current internal state of the alarm sound is a waiting state, the current internal state of the alarm sound is a suspended state, or the current internal state of the alarm sound is a playing state.

[0046] Specifically, after the alarm playback conditions are determined, the current internal state of the alarm sound that met the playback conditions and whose internal state at the last moment was idle can be updated to a waiting-to-play state; the current internal state of the alarm sound that is currently being played is the playing state; the current internal state of the alarm sound that was being played but was interrupted by the highest priority at the last moment is the suspended state; and the alarm sound whose current internal state is the waiting-to-play state, suspended state, or playing state is considered to be a candidate alarm sound that meets the set state conditions.

[0047] S140: Determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and update the current internal state of each candidate alarm sound according to the target alarm sound.

[0048] In this embodiment, the attribute information can be understood as the attribute information set according to the situation of the device corresponding to each alarm sound, and may include: the playing time, the total playing time, the playing sound effect and the priority, etc. The highest priority can be understood as the alarm sound that needs to be played first. Since the priorities contained in the attribute information of each candidate alarm sound are different, according to the priority sorting, the first priority is the highest priority, and the alarm sound with the highest priority among the current candidate alarm sounds can be determined. The target alarm sound can be understood as the alarm sound that needs to be played immediately.

[0049] Exemplarily, after determining the candidate alarm sounds, the executing entity can obtain the attribute information of each candidate alarm sound, sort the priorities in each attribute information, find the alarm sound with the first priority, and consider that the alarm sound has the highest priority among the current candidate alarm sounds. It is determined as the target alarm sound, and the corresponding alarm sound whose current internal state is the playing state should be suspended, that is, interrupted by the target alarm sound, and its current internal state should be updated to the suspended state.

[0050] S150: Play the target alarm sound through the alarm player.

[0051] In this embodiment, the alarm player can be understood as a device that plays the alarm sound in the vehicle through sound or video, etc. It can be a central control display screen, audio and other equipment.

[0052] Specifically, the alarm player can be connected to the system-level chip, and the system-level chip can be used to control the playback and stop of the alarm player. When the target alarm sound is determined, the playback requirement and playback sound effect of the target alarm sound can be sent to the system-level chip by sending a corresponding playback instruction. After receiving the playback instruction of the target alarm sound, the system-level chip controls the alarm player to play the target alarm sound according to the corresponding playback sound effect.

[0053] A method for controlling a vehicle instrument alarm sound provided in the first embodiment of the present invention sets a plurality of different internal states for each alarm sound. The internal state can be updated only when each alarm sound satisfies one or more conditions, thereby implementing classified arbitration of the alarm sounds. An alarm sound is determined and played according to the set arbitration method, thereby ensuring that only one alarm sound is in the playing state, thereby improving the driver's auditory experience and enhancing the driver's understanding of the alarm sound information.

[0054] As a first optional embodiment of the first embodiment, based on the above embodiment, further optimization includes: after playing the target alarm sound through the alarm player, further including:

[0055] When receiving the playback completion information fed back by the alarm player, the current internal state of the target alarm sound is updated to the stop state.

[0056] In this embodiment, the playback completion information can be understood as the playback duration of the alarm sound currently in the playback state has reached the total playback duration set in the corresponding attribute information, and the playback completion information is generated when the playback is stopped.

[0057] Specifically, when the alarm sound played by the alarm player has reached the specified total playing time, the playing is ended, and the system-level chip generates a playing completion message and feeds it back to the execution body, and the execution body updates the current internal state of the target alarm sound that was in the playing state at the last moment to the stopped state.

[0058] When receiving the stop playing timeout information fed back by the alarm player, the current internal state of the target alarm sound is updated to an abnormal state.

[0059] In this embodiment, the stop playing timeout information can be understood as the timeout of the playing completion information fed back by the system-level chip to the execution body.

[0060] Specifically, if the current target alarm sound has reached the specified total playback time and has not stopped playing, it can be considered that the system-level chip has not fed back the playback completion information to the execution subject at the corresponding stop time. The execution subject can then send a stop playback instruction to the system-level chip, so that the system-level chip controls the alarm player to stop playing. When the system-level chip does not feed back the playback completion information within the set time threshold, a stop playback timeout information is generated and fed back to the execution subject. The execution subject updates the current internal state of the target alarm sound to an abnormal state.

[0061] When it is detected that the alarm player plays the target alarm sound for a timeout, the current internal state of the target alarm sound is updated to an abnormal state.

[0062] Specifically, when the target alarm sound enters the playback state, the execution subject needs to send a playback instruction to the system-level chip so that it controls the alarm player to play. When the alarm player starts playing, the system-level chip automatically generates a playback response message and feeds back the start playback information to the execution subject. When the execution subject does not receive the playback response message fed back by the system-level chip within the set time threshold, the current internal state of the target alarm sound is updated to an abnormal state. When the playback response message fed back by the system-level chip is received within the set time threshold, the alarm player continues to detect whether the total playback time reaches the total playback time specified in the attribute information. If the playback completion message fed back by the system-level chip is not received within the specified total playback time, it is considered that the current total playback time exceeds the specified total playback time, and the current internal state of the target alarm sound is updated to an abnormal state.

[0063] The first optional embodiment of the first embodiment of the present invention adopts such an arrangement, by setting the abnormal state of the alarm sound, distinguishing the abnormal state according to the judgment conditions of the abnormal state, and realizing the judgment that the alarm sound cannot be played, cannot be stopped, and the playback has timed out, so as to achieve the purpose of real-time monitoring of various alarm sounds, realize the distinction of different states of the alarm sound, and facilitate the subsequent control of the alarm sound in different states.

[0064] As a second optional embodiment of the first embodiment, based on the above embodiment, further optimization includes:

[0065] When it is detected that there is an abnormal alarm sound whose current internal state is an abnormal state among the alarm sounds, a reset signal is sent to the abnormal alarm sound, so that the current internal state of the abnormal alarm sound is changed from the abnormal state to the idle state through the reset signal.

[0066] In this embodiment, the reset signal can be understood as a stop playing signal.

[0067] Specifically, when it is detected that there is an abnormal alarm sound whose current internal state is an abnormal state among the alarm sounds, the execution subject sends a reset signal of the corresponding abnormal alarm sound to the system-level chip. When the system-level chip receives the reset signal, it controls the corresponding abnormal alarm sound to stop playing. When the alarm player stops playing the abnormal alarm sound, that is, the system-level chip feeds back idle information to the execution subject, the current internal state of the abnormal alarm sound is changed from the abnormal state to the idle state.

[0068] When the reset timeout information is received, the reset signal sending operation is re-executed until the current internal state of the abnormal alarm sound is updated to the idle state.

[0069] Specifically, when the alarm player continues to play the abnormal alarm sound, that is, the system-level chip does not feed back the idle information to the execution body, a reset timeout information is generated, and the reset timeout information is fed back to the execution body. The execution body sends a reset signal again until the system-level chip feeds back the idle information to the execution body. At this time, the abnormal alarm sound stops playing the abnormal alarm sound. At this time, the current internal state of the abnormal alarm sound is changed from the abnormal state to the idle state.

[0070] The second optional embodiment of the first embodiment can effectively eliminate the abnormal alarm sound by identifying the abnormal alarm sound according to the abnormal state and resetting it through such a setting, so that the alarm player can continue to work normally, thereby achieving the purpose of automatically repairing the abnormality.

[0071] Embodiment 2

[0072] Figure 2 This is a flow chart of a method for controlling a vehicle instrument alarm sound provided by Embodiment 2 of the present invention. This embodiment is a further optimization of the above embodiment. Figure 2 As shown, the method includes:

[0073] S201. Determine the alarm playing conditions for each alarm sound according to the acquired current vehicle data information.

[0074] S202: For each alarm sound, obtain the original current internal state of the alarm sound.

[0075] Specifically, each alarm sound has a corresponding current internal state. Before updating the current internal state, it is necessary to obtain the original current internal state of each alarm sound at the previous moment. The execution subject can obtain the original current internal state of the alarm sound by querying the corresponding alarm sound ID.

[0076] S203: If the alarm sound is determined to not satisfy the alarm playing condition, the idle state is used as the new current internal state of the alarm sound.

[0077] Specifically, the judgment is made based on the current data information of the vehicle. The data information corresponding to the alarm sound can be compared with the normal value range and abnormal value range table of each data information pre-set. When the data information corresponding to the alarm sound is in the normal value range, the device corresponding to the alarm sound is in a normal state, and the alarm sound does not meet the alarm playing condition. It can be considered that there is no need to play the alarm sound. The current internal state of the alarm sound at the last moment may be in the waiting state, playing state, suspended state, stopped state, etc., and the idle state is used as the new current internal state of the alarm sound. If the judgment result when the alarm sound is in the playing state is that the alarm playing condition is not met, the alarm sound is controlled to stop playing. When the alarm sound stops playing, the idle state is used as the new current internal state of the alarm sound.

[0078] S204: If the alarm sound is judged to meet the alarm playing condition.

[0079] S205: When the original current internal state is an idle state, the idle state is adjusted to a waiting-to-play state as a new current internal state.

[0080] Specifically, when it is determined that the alarm sound needs to be played based on the current data information of the vehicle, it is considered that the judgment result of the alarm sound meets the alarm playing conditions. If the original current internal state of the alarm sound is an idle state, it means that the alarm sound did not meet the alarm playing conditions at the previous moment, but currently meets the alarm playing conditions, then the current internal state of the alarm sound is adjusted from the idle state to the waiting to be played state.

[0081] S206: When the original current internal state is the suspended state or the playing state, the original suspended state or the playing state is maintained as the new current internal state.

[0082] Specifically, if the alarm sound's original current internal state is the suspended state, it means that the alarm sound was interrupted by the highest priority alarm sound during the last moment, and the alarm sound still meets the alarm playing conditions and is still not the highest priority alarm sound, then the alarm sound's current internal state is maintained unchanged, and the suspended state is still used as the new current internal state. If the alarm sound's original current internal state is the playing state, it means that the alarm sound was in the process of playing at the last moment, and the set total playing time has not yet been reached, and the alarm sound still meets the alarm playing conditions and is still the highest priority alarm sound, then the alarm sound's current internal state is maintained unchanged, and the playing state is still used as the new current internal state.

[0083] S207: When the original current internal state is the stop state, the stop state is adjusted to the waiting-to-play state as the new current internal state.

[0084] Specifically, if the original current internal state of the alarm sound is the stop state, it means that the alarm sound has been played at the last moment, and the alarm sound still meets the alarm playing condition at present, and the current internal state of the alarm sound is adjusted from the stop state to the waiting to play state.

[0085] S208 , selecting candidate alarm sounds whose current internal states meet the set state conditions from the alarm sounds whose determination results show that they meet the alarm playing conditions.

[0086] S209: Determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and update the current internal state of each candidate alarm sound according to the target alarm sound.

[0087] S210: If there is a play alarm sound whose current internal state is the play state among the candidate alarm sounds, compare the alarm identifier of the play alarm sound with the alarm identifier of the target alarm sound, and update the current internal state of each candidate alarm sound according to the comparison result.

[0088] In this embodiment, the alarm identification can be understood as a mark used to distinguish each alarm sound, and can be in the form of an ID named after the device corresponding to each alarm sound.

[0089] Specifically, when there is a play alarm sound among the candidate alarm sounds whose current internal state is the play state, the executing entity can obtain the alarm identifiers of the alarm sound and the target alarm sound, compare the alarm identifier (such as ID) of the alarm sound with the alarm identifier (such as ID) of the target alarm sound, determine whether the two alarm sounds are the same alarm sound through the alarm identifier, and update the current internal state of each candidate alarm sound according to the comparison result.

[0090] Figure 3 This is a flow chart of state update in a method for controlling a vehicle instrument alarm sound provided in the second embodiment of the present invention, by comparing the alarm identification of an alarm sound whose current internal state is a playing state with the alarm identification of a target alarm sound, and updating the current internal state of each candidate alarm sound according to the comparison result. Figure 3 As shown, the method includes:

[0091] S2101. If there is a play alarm sound whose current internal state is the play state among the candidate alarm sounds, compare the alarm identifier of the play alarm sound with the alarm identifier of the target alarm sound, and update the current internal state of each candidate alarm sound according to the comparison result.

[0092] S2102: If the comparison result shows that the two alarm identifiers are the same, the current internal state of each candidate alarm tone is maintained unchanged.

[0093] Specifically, the execution entity obtains the alarm identifiers of the two alarm sounds and compares them. If the alarm indication of the playback alarm sound whose current internal state among the candidate alarm sounds is the playback state is the same as the alarm identifier of the target alarm sound, it is considered that the playback alarm sound in the playback state continues to be played, and the current internal state of each candidate alarm sound is maintained unchanged.

[0094] For example, the alarm identification (such as ID) of the alarm sound corresponding to the engine temperature can be the FT alarm sound. When the alarm playing condition is determined for the engine temperature data information and it is found that the engine temperature is too high, the FT alarm sound needs to be played for alarm. When the FT alarm sound is already in the playing state at the previous moment and has not reached the set total playing time, and the target alarm sound (i.e., the alarm sound with the highest priority) determined at the current moment is still the FT alarm sound, the FT alarm sound continues to be played, and the current internal state of each candidate alarm sound is maintained unchanged.

[0095] S2103: If the comparison result shows that the two alarm identifiers are different, the current internal state of the target alarm sound is updated to the playing state, and the suspension and resumption information of the playing alarm sound is obtained.

[0096] In this embodiment, the suspend resume information can be understood as being used to distinguish whether the alarm sound can be continued to play after being interrupted, or cannot be resumed to play after being interrupted, and the distinction can be made through a pre-set method.

[0097] Specifically, the executing entity obtains the alarm identifiers of the two alarm sounds and compares them. If the alarm indication of the play alarm sound whose current internal state among the candidate alarm sounds is the play state is different from the alarm identifier of the target alarm sound, then the play alarm sound in the play state does not have the highest priority among the multiple candidate alarm sounds, while the target alarm sound has the highest priority. The target alarm sound should be played first to interrupt the play alarm sound being played. The current internal state of the target alarm sound is updated to the play state. The suspend resume information of the play alarm sound can be obtained by sending a command to the system-level chip to request the suspend resume information of the play alarm sound. According to the suspend resume information, it is determined whether the play alarm sound is an alarm sound that can be resumed after interruption or an alarm sound that cannot be resumed after interruption.

[0098] Exemplarily, the alarm identification (such as ID) of the alarm sound corresponding to the vehicle power level may be CE. When the alarm playback condition is determined for the vehicle power data information and it is found that the vehicle power level is too low, the CE alarm sound needs to be played for alarm, and the attribute information corresponding to the CE alarm sound has the highest priority, and the CE alarm sound is determined as the target alarm sound. At the last moment, the FT alarm sound was already in the playback state and has not reached the set total playback time. At the current moment, the target alarm sound determined is the CE alarm sound, then the current internal state of the CE alarm sound is updated to the playback state, and the suspend and resume information of the CE alarm sound can be obtained by sending a command to the system-level chip to request the suspend and resume information of the CE alarm sound.

[0099] S2104: When the suspension resumption information indicates that the playback can be resumed, the current internal state of the playing alarm sound is updated to the suspension state.

[0100] In this embodiment, resumable playback can be understood as when the alarm sound is interrupted by an alarm sound with a higher priority, the playback is paused, and when there is no alarm sound with a higher priority and the alarm sound still meets the alarm playback condition, the playback can be resumed. Whether each alarm sound can be resumed can be set in a pre-set manner.

[0101] Specifically, when the suspension resumption information corresponding to the interrupted playing alarm sound indicates that the playing can be resumed, the current internal state of the playing alarm sound is updated to the suspension state.

[0102] S2105: When the suspension recovery information indicates that the playback cannot be resumed, the current internal state of the playing alarm sound is updated to a stopped state.

[0103] In this embodiment, non-resumable playback can be understood as when the alarm sound is interrupted by an alarm sound with a higher priority, the playback stops, and when there is no alarm sound with a higher priority and the alarm sound does not meet the alarm playback condition, the playback will not be resumed. Whether each alarm sound cannot be resumed can be set in a pre-set manner.

[0104] Specifically, when the suspension resumption information corresponding to the interrupted playing alarm sound indicates that the playing cannot be resumed, the current internal state of the playing alarm sound is updated to a stopped state.

[0105] S2106. Maintain the current internal states of the candidate alarm sounds other than the target alarm sound and the playing alarm sound.

[0106] Specifically, according to the above steps, the current internal states of the target alarm sound and the playing alarm sound are updated. Since the states of other candidate alarm sounds have not changed, the current internal states of other candidate alarm sounds are maintained unchanged. If the candidate alarm sound originally in the waiting-to-play state is still not the highest priority among the candidate alarm sounds, the waiting-to-play state is maintained unchanged.

[0107] S211 . Otherwise, update the current internal state of the target alarm sound to the playing state, and maintain the current internal states of other candidate alarm sounds unchanged.

[0108] Specifically, if there is no alarm sound in the candidate alarm sounds whose current status is the playing status, that is, no alarm sound is currently being played, the current internal status of the target alarm sound will be updated to the playing status, and the current internal status of other candidate alarm sounds will be maintained unchanged; if the candidate alarm sound that was originally in the waiting-to-play status is still not the highest priority among the candidate alarm sounds, the waiting-to-play status will remain unchanged.

[0109] S212: Use the target alarm sound as a new play alarm sound, and obtain the played time, total play time, and play sound effect in the attribute information corresponding to the play alarm sound.

[0110] In this embodiment, the played time can be understood as the time from the start of the play to the current time. The total play time can be understood as the time the alarm sound needs to be played. The play sound effect can be understood as the play sound effect used to distinguish different alarm sounds.

[0111] Specifically, the target alarm sound is used as the new playback alarm sound, and the execution subject sends a playback instruction for controlling the playback of the target alarm sound to the system-level chip, so that the system-level chip controls the alarm player to play it. When the alarm player starts playing, the system-level chip can feed back the playback response information to the execution subject. When the alarm sound is interrupted, the system-level chip can feed back the interruption information to the execution subject. The execution subject can obtain the elapsed playback time by judging the moment of the playback response information and the moment of the interruption information. The system-level chip sends the total playback time and playback sound effect in the attribute information corresponding to the playback alarm sound to the execution subject, and the execution subject obtains the elapsed playback time, total playback time and playback sound effect in the attribute information corresponding to the playback alarm sound.

[0112] S213: Determine the remaining playing time of the target alarm sound based on the total playing time and the played time.

[0113] In this embodiment, the remaining playback time can be understood as the difference between the total playback time and the played time.

[0114] Specifically, if the current internal state at the last moment of playing the alarm sound is a suspended state and its suspension information indicates that playback can be resumed, the executing entity needs to determine the remaining playback time before resuming playback. The remaining playback time can be obtained by subtracting the playback time from the total playback time obtained.

[0115] S214: Send a play instruction including the play sound effect and the remaining play time to the alarm player.

[0116] Specifically, the execution subject transmits the play instruction including the play sound effect and the remaining play time of the alarm sound to the system-level chip, and the system-level chip controls the alarm player to play according to the play sound effect and the remaining play time.

[0117] Exemplarily, the playback sound effect of the CE alarm sound is "Vehicle battery is too low", the total playback time is 10 seconds, the playback time is 4 seconds, and the remaining playback time is 6 seconds. The system-level chip controls the alarm player to loop the 6-second "Vehicle battery is too low" sound effect.

[0118] S215: If the play response information of the alarm player is received, the target alarm sound is played by the alarm player according to the play instruction.

[0119] In this embodiment, the alarm playing response information can be understood as information for instructing the alarm player to play normally.

[0120] Specifically, when the system-level chip receives the play instruction, it controls the alarm player to play the target alarm sound according to the play instruction, and automatically generates play response information and transmits it to the execution subject, informing the execution subject to start playing the target alarm sound.

[0121] S216: Otherwise, update the current internal state of the target alarm sound to an abnormal state.

[0122] Specifically, when the system-level chip receives a play instruction, it controls the alarm player to play the target alarm sound according to the play instruction. If no play response information is generated and transmitted to the execution subject, the sound may not be played, and the current internal state of the target alarm sound is updated to an abnormal state.

[0123] The second embodiment provides a method for controlling the alarm sound of a vehicle instrument. By setting different internal states for each alarm sound, the current internal state is updated according to conditions. By setting the alarm sound interruption, recovery and abnormal flow process, the alarm sound is controlled according to priority and the abnormal situation is automatically recovered. An alarm sound is determined and played through multiple arbitration methods, thereby improving the driver's auditory experience.

[0124] For example, to facilitate understanding, the situation in which a low-priority alarm sound is interrupted by a high-priority alarm sound while it is being played can be presented in the form of a timing diagram.

[0125] Figure 4 This is an example timing diagram of an interruption situation in a method for controlling a vehicle instrument alarm sound provided in Embodiment 2 of the present invention, such as Figure 4 As shown, the ID corresponding to the low-priority alarm sound can be Lo, and the ID corresponding to the high-priority alarm sound can be Hi. The suspension recovery information corresponding to the low-priority alarm sound is resumable playback, and the total playback time can be set to 350ms, that is, 7 cycles; the total playback time of the high-priority alarm sound can be set to 1 cycle.

[0126] from Figure 4It can be seen that in the third cycle (100ms), the alarm player sends a play instruction for the low-priority alarm sound Lo. Since the transmission of the instruction takes time, it can be one cycle. In the fourth cycle (150ms), the alarm player responds to the play instruction and starts playing Lo. At the same time, the system-level chip feeds back the play response information of Lo to the execution subject. The execution subject receives the play response information of Lo in the fifth cycle (200ms). In the seventh cycle (300ms), the execution subject sends a play instruction for the high-priority alarm sound Hi to the alarm player. After one cycle, in the eighth cycle (350ms), the alarm player responds to the play instruction of Hi, starts playing Hi and stops playing Lo, and feeds back the interruption information of Lo and the play response information of Hi to the execution subject. In the 9th cycle (400ms), the execution subject updates the current internal state of Lo to the suspended state according to the received interruption information of Lo and the play response information of Hi. According to the time of the play response information of Lo and the time of the interruption information of Lo, it is judged that the played time of Lo is 200ms, that is, 4 cycles. According to the total play time and the played time, it can be concluded that the remaining play time is 3 cycles. And in the 9th cycle (400ms), the total play time of Hi is reached, then Hi is stopped, and the system-level chip feeds back the play completion information of Hi to the execution subject. In the 10th cycle (450ms), the execution subject receives the play completion information of Hi, updates the current internal state of Hi to the stopped state, and since the corresponding suspend recovery information of Lo is that the play can be resumed, the play instruction of the execution subject Lo including the remaining play time of 3 cycles is sent to the alarm player. In the 11th cycle (500ns), the alarm player responds to the play instruction of Lo and continues to play Lo. At the 13th cycle (600ms), Lo reaches the total playing time, and the execution subject transmits the stop playing instruction of Lo to the alarm player. At the 14th cycle (650ms), the alarm player responds to the stop playing instruction, stops playing Lo, and feeds back the playing completion information of Lo to the execution subject. When the execution subject receives the playing completion information, it updates the current internal state of Lo to the stop state.

[0127] Figure 5 This is an example diagram of internal state transition in a method for controlling a vehicle instrument alarm sound provided by Embodiment 2 of the present invention, such as Figure 5 As shown, the serial numbers in the figure can be used to indicate the conditions for the internal state transition of the alarm sound. For ease of understanding, the serial numbers and the internal state of the alarm sound in the figure are described in a table.

[0128] Table 1: Serial number description table

[0129] Serial number Description of the internal state transition conditions of the alarm sound ① The alarm sound is detected to meet the alarm playing conditions ② The alarm sound is detected and does not meet the alarm playing conditions ③ The alarm tone is the highest priority alarm tone ④ After the execution subject issues a play command, it does not receive a play response message from the system-level chip. ⑤ System-level chip feedback stop playback timeout information ⑥ The alarm tone is interrupted by a higher priority alarm tone and can be resumed ⑦ System-level chip feedback timeout playback information ⑧ System-level chip feedback playback completion information ⑨ SoC feedback idle state ⑩ System-level chip feedback reset timeout information

[0130] The current internal state can be updated in combination with the alarm sound internal state transition conditions corresponding to the sequence numbers in Table 1.

[0131] Table 2: Alarm sound internal status description

[0132]

[0133] The suspended state in Table 2 is only an exemplary case where playback can be resumed. By setting the internal state of the alarm sound, the current internal state of the alarm sound can be more clearly determined.

[0134] like Figure 5 As shown, for the convenience of expression, detecting whether the alarm sound satisfies the alarm playing condition is simplified to detecting whether the alarm sound is established.

[0135] When the alarm sound is in the idle state, detect whether the alarm sound is established. If ①, update the current internal state to the waiting state, if ②, update the current internal state to the idle state.

[0136] When in the waiting to play state, continue to detect whether the alarm sound is established and determine the priority of the alarm sound. If ③, update the current internal state to the playing state; if ②, update the current internal state to the idle state.

[0137] When in the playing state, continue to detect whether the alarm sound is established and determine the priority of the alarm sound. If ②, update the current internal state to the idle state; if ④ or ⑤, update the current internal state to the abnormal state; if ⑥, update the current internal state to the suspended state; if ⑦ or ⑧, update the current internal state to the stopped state.

[0138] When in the suspended state, continue to detect whether the alarm sound is established and determine the priority of the alarm sound. If ②, update the current internal state to the idle state; if ③, update the current internal state to the playing state; if ⑤, update the current internal state to the abnormal state; if ⑧, update the current internal state to the stopped state.

[0139] When in the stop state, continue to detect whether the alarm sound is established. If ①, update the current internal state to the waiting state; if ②, update the current internal state to the idle state; if ⑤, update the current internal state to the abnormal state.

[0140] When in an abnormal state, a reset command is sent and the idle state is timed. If ⑩, the current internal state is updated to the abnormal state; if ⑨, the current internal state is updated to the idle state.

[0141] Embodiment 3

[0142] Figure 6This is a schematic diagram of the structure of a vehicle instrument alarm sound control device provided by the third embodiment of the present invention. Figure 6 As shown, the device includes: a determination module 51, a state acquisition module 52, a selection module 53, a state update module 54, and a playback module 55. Among them,

[0143] The determination module 51 is used to determine the alarm playing condition for each alarm sound according to the acquired current vehicle data information;

[0144] A state acquisition module 52, used to update the current internal state of each of the alarm sounds according to the determination result to obtain a new current internal state;

[0145] A selection module 53, for selecting a candidate alarm sound whose current internal state meets the set state condition from the alarm sounds whose determination result is that they meet the alarm playing condition;

[0146] A state updating module 54, configured to determine a target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and to update a current internal state of each candidate alarm sound according to the target alarm sound;

[0147] The playing module 55 is used to play the target alarm sound through an alarm player.

[0148] The third embodiment provides a control device for a vehicle instrument alarm sound. By setting multiple different internal states for each alarm sound, each alarm sound can only update the internal state when one or more conditions are met, thereby realizing classified arbitration of the alarm sounds, determining an alarm sound according to the set arbitration method and playing it, ensuring that only one alarm sound is in the playing state, thereby improving the driver's auditory experience and improving the driver's understanding of the alarm sound information.

[0149] Furthermore, the status acquisition module 52 is specifically used for:

[0150] For each alarm sound, the original current internal state of the alarm sound is obtained; if the judgment result of the alarm sound is that the alarm playing condition is not satisfied, the idle state is used as the new current internal state of the alarm sound; if the judgment result of the alarm sound is that the alarm playing condition is satisfied, when the original current internal state is the idle state, the idle state is adjusted to the waiting-to-play state as the new current internal state; when the original current internal state is the suspended state or the playing state, the original suspended state or the playing state is maintained as the new current internal state; when the original current internal state is the stopped state, the stopped state is adjusted to the waiting-to-play state as the new current internal state.

[0151] Furthermore, the status update module 54 includes:

[0152] A first state updating unit, configured to compare the alarm identifier of the played alarm sound with the alarm identifier of the target alarm sound if there is a played alarm sound whose current internal state is a played state among the candidate alarm sounds, and update the current internal state of each of the candidate alarm sounds according to the comparison result;

[0153] The second state updating unit is used for otherwise updating the current internal state of the target alarm sound to a playing state, and maintaining the current internal states of other candidate alarm sounds unchanged.

[0154] Wherein, the first state updating unit is specifically used for:

[0155] If the comparison result is that the two alarm identifiers are the same, the current internal state of each candidate alarm sound is maintained unchanged; if the comparison result is that the two alarm identifiers are different, the current internal state of the target alarm sound is updated to the playing state, and the suspension recovery information of the playing alarm sound is obtained; when the suspension recovery information is that the playback can be resumed, the current internal state of the playing alarm sound is updated to the suspended state; when the suspension recovery information is that the playback cannot be resumed, the current internal state of the playing alarm sound is updated to the stopped state; the current internal state of other candidate alarm sounds except the target alarm sound and the playing alarm sound is maintained unchanged.

[0156] Furthermore, the playing module 55 is specifically used for:

[0157] The target alarm sound is used as a new playback alarm sound, and the playback time, total playback time and playback sound effect in the attribute information corresponding to the playback alarm sound are obtained; based on the total playback time and the playback time, the remaining playback time of the target alarm sound is determined; a playback instruction including the playback sound effect and the remaining playback time is sent to the alarm player; if playback response information of the alarm player is received, the target alarm sound is played by the alarm player according to the playback instruction; otherwise, the current internal state of the target alarm sound is updated to an abnormal state.

[0158] Optionally, the device further includes:

[0159] After playing the target alarm sound through the alarm player, the method further includes:

[0160] The stop state updating module is used to update the current internal state of the target alarm sound to a stop state when receiving the playback completion information fed back by the alarm player.

[0161] The abnormal stop state updating module is used to update the current internal state of the target alarm sound to an abnormal state when receiving the stop play timeout information fed back by the alarm player.

[0162] The abnormal playing state updating module is used to update the current internal state of the target alarm sound to an abnormal state when it is detected that the alarm player plays the target alarm sound for a timeout.

[0163] Optionally, the device further includes:

[0164] The idle state updating module is used to send a reset signal to the abnormal alarm sound when detecting that there is an abnormal alarm sound whose current internal state is an abnormal state among the alarm sounds, so as to change the current internal state of the abnormal alarm sound from the abnormal state to the idle state through the reset signal.

[0165] The execution reset module is used to re-execute the sending operation of the reset signal when receiving the reset timeout information, until the current internal state of the abnormal alarm sound is updated to the idle state.

[0166] The vehicle instrument alarm sound control device provided in the embodiment of the present invention can execute the vehicle instrument alarm sound control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0167] Embodiment 4

[0168] Figure 5 A schematic diagram of the structure of a vehicle provided in the fourth embodiment of the present invention is shown in FIG. Figure 5 As shown, the vehicle includes a controller 61, a memory 62, an input device 63 and an output device 64. The number of the controller 61 and the memory 62 can be one or more. Figure 6 In the figure, a controller 61 and a memory 62 are taken as an example; the controller 61 and the memory 62 in the vehicle can be connected by a bus or other means. Figure 6 The bus connection is taken as an example. The controller refers to the controller of the execution subject in the embodiment of the present invention.

[0169] The memory 62 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the vehicle instrument alarm sound control method in the embodiment of the present invention (for example, the determination module 51, the state acquisition module 52, the selection module 53, the state update module 54, and the playback module 55 in the vehicle instrument alarm sound control device). The controller 61 executes various functional applications and data processing of the vehicle by running the software programs, instructions and modules stored in the memory 62, that is, realizing the above-mentioned vehicle instrument alarm sound control method.

[0170] The memory 62 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the memory 62 may further include a memory remotely arranged relative to the controller 61, and these remote memories may be connected to the vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0171] The input device 63 can be used to receive digital or character information and generate key signal input related to vehicle user settings and function control.

[0172] Output device 64 may include a display device.

[0173] Embodiment 5

[0174] Embodiment 5 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used for a method for controlling a vehicle instrument alarm sound when executed by a computer controller, the method comprising:

[0175] According to the acquired vehicle current data information, the alarm playing condition is determined for each alarm sound;

[0176] According to the determination result, the current internal state of each of the alarm sounds is updated to obtain a new current internal state;

[0177] Selecting a candidate alarm sound whose current internal state meets the set state condition from the alarm sounds whose judgment result is that they meet the alarm playing condition;

[0178] Determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and update the current internal state of each candidate alarm sound according to the target alarm sound;

[0179] The target alarm sound is played through the alarm player.

[0180] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the vehicle instrument alarm sound control method provided in any embodiment of the present invention.

[0181] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0182] It is worth noting that in the embodiment of the above-mentioned vehicle instrument alarm sound control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0183] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0184] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling a vehicle instrument alarm sound, characterized in that: include: According to the acquired vehicle current data information, the alarm playing condition is determined for each alarm sound; For each alarm sound, obtaining the original current internal state of the alarm sound; If the alarm sound is determined to not meet the alarm playing condition, the idle state is used as the new current internal state of the alarm sound; If the alarm sound is judged to meet the alarm playing condition, then When the original current internal state is an idle state, adjusting the idle state to a waiting-to-play state as a new current internal state; When the original current internal state is a suspended state or a playing state, maintaining the original suspended state or the playing state as a new current internal state; When the original current internal state is a stop state, adjusting the stop state to a waiting-to-play state as a new current internal state; Selecting a candidate alarm sound whose current internal state meets the set state condition from the alarm sounds whose judgment result is that they meet the alarm playing condition; Determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and update the current internal state of each candidate alarm sound according to the target alarm sound; The target alarm sound is played through the alarm player.

2. The method according to claim 1, characterized in that The setting state conditions include: The current internal state of the alarm sound is waiting to be played. The current internal state of the alarm tone is suspended, or, The current internal state of the alarm sound is the playing state.

3. The method according to claim 1, characterized in that The updating of the current internal state of each candidate alarm sound according to the target alarm sound comprises: If there is a play alarm sound whose current internal state is the play state among the candidate alarm sounds, the alarm identifier of the play alarm sound is compared with the alarm identifier of the target alarm sound, and the current internal state of each candidate alarm sound is updated according to the comparison result; otherwise, The current internal state of the target alarm sound is updated to a playing state, and the current internal states of other candidate alarm sounds are maintained unchanged.

4. The method according to claim 3, characterized in that The updating of the current internal state of each candidate alarm tone according to the comparison result includes: If the comparison result shows that the two alarm identifiers are the same, the current internal state of each candidate alarm tone is maintained unchanged; If the comparison result is that the two alarm identifiers are different, the current internal state of the target alarm sound is updated to the playing state, and the suspension and resumption information of the playing alarm sound is obtained; When the suspension resumption information indicates that the playback can be resumed, the current internal state of the playing alarm sound is updated to a suspension state; When the suspension resumption information indicates that the playback cannot be resumed, the current internal state of the playing alarm sound is updated to a stopped state; Maintain the current internal states of the candidate alarm sounds other than the target alarm sound and the played alarm sound unchanged.

5. The method according to claim 1, characterized in that The step of playing the target alarm sound through an alarm player includes: The target alarm sound is used as a new play alarm sound, and the play time, total play time and play sound effect in the attribute information corresponding to the play alarm sound are obtained; Determining the remaining playing time of the target alarm sound based on the total playing time and the played time; Sending a play instruction including the play sound effect and the remaining play time to the alarm player; If the play response information of the alarm player is received, the target alarm sound is played by the alarm player according to the play instruction; otherwise, The current internal state of the target alarm sound is updated to an abnormal state.

6. The method according to claim 1, characterized in that After playing the target alarm sound through the alarm player, the method further includes: When receiving the playback completion information fed back by the alarm player, updating the current internal state of the target alarm sound to a stop state; When receiving the stop playing timeout information fed back by the alarm player, updating the current internal state of the target alarm sound to an abnormal state; When it is detected that the alarm player plays the target alarm sound for a timeout, the current internal state of the target alarm sound is updated to an abnormal state.

7. The method according to claim 1, characterized in that Also includes: When it is detected that there is an abnormal alarm sound whose current internal state is an abnormal state among the alarm sounds, a reset signal is sent to the abnormal alarm sound, so as to change the current internal state of the abnormal alarm sound from the abnormal state to the idle state through the reset signal; When the reset timeout information is received, the reset signal sending operation is re-executed until the current internal state of the abnormal alarm sound is updated to the idle state.

8. A vehicle instrument alarm sound control device, characterized in that: include: A determination module, used to determine the alarm playing conditions for each alarm sound according to the acquired current vehicle data information; A state acquisition module, used to update the current internal state of each of the alarm sounds according to the determination result to obtain a new current internal state; A selection module is used to select candidate alarm sounds whose current internal state meets the set state conditions from the alarm sounds whose judgment results show that they meet the alarm playing conditions; A state updating module, used to determine the target alarm sound with the highest current priority according to the attribute information of each candidate alarm sound, and to update the current internal state of each candidate alarm sound according to the target alarm sound; A playback module, used to play the target alarm sound through an alarm player; The status acquisition module is specifically used for: For each alarm sound, the original current internal state of the alarm sound is obtained; if the judgment result of the alarm sound is that the alarm playing condition is not satisfied, the idle state is used as the new current internal state of the alarm sound; if the judgment result of the alarm sound is that the alarm playing condition is satisfied, when the original current internal state is the idle state, the idle state is adjusted to the waiting-to-play state as the new current internal state; when the original current internal state is the suspended state or the playing state, the original suspended state or the playing state is maintained as the new current internal state; when the original current internal state is the stopped state, the stopped state is adjusted to the waiting-to-play state as the new current internal state.

9. A vehicle, characterized in that: include: one or more controllers; a memory in communication with the one or more controllers; wherein, The memory stores a computer program that can be executed by the one or more controllers, and the computer program is executed by the one or more controllers to enable the one or more controllers to execute the vehicle instrument warning sound control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a controller to implement the vehicle instrument alarm sound control method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Prompt tone playing control method, device and engineering mechanical equipment

    CN103050138A