In-vehicle switch operation sound control method and device and storage medium

By collecting user behavior data and real-time detection of environmental information, the timbre and mixing of the switch operation sounds in the car are dynamically adjusted, solving the problem that traditional switch sounds cannot adapt to different scenarios and improving the user's driving experience.

CN120716616APending Publication Date: 2025-09-30CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The operating sound of traditional in-car operating switches cannot be dynamically adjusted according to environmental noise or user habits, resulting in harsh sounds in quiet environments and unclear sounds in noisy environments. In addition, the fixed tone parameters cannot adapt to different functional attributes or usage scenarios, affecting the user experience.

Method used

By collecting user behavior data to determine the tone base, detecting the user's fatigue status and external environment in real time, and dynamically adjusting the basic acoustic parameters and mixing ratio of the switch, dynamic control of the operating sound is achieved.

Benefits of technology

It improves the adaptability of in-car operating sounds, ensures clear and distinguishable sounds in different scenarios, enhances the user's driving experience, and achieves dynamic balance of volume and smoothness of the auditory experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120716616A_ABST
    Figure CN120716616A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automobiles, and particularly discloses an in-vehicle switch operation sound control method and device and a storage medium, and the method comprises the steps: determining the tone ground tone of in-vehicle sound playing based on user behavior data collected in a preset unit time; the method comprises the following steps: presetting acoustic basic parameters of switches in a vehicle based on a tone ground tone played by sound in the vehicle; the acoustic basic parameters at least comprise audio, waveform and amplitude; detecting a user fatigue state and external environment information in real time in a vehicle driving process; based on the fatigue state of the user and the external environment information, a dynamic evaluation method is adopted to adjust acoustic basic parameters of each switch in the vehicle so as to obtain target timbre parameters of each switch of the vehicle at the current moment; and defining a mapping relation between the operation sound priority and the weight, and adjusting a sound mixing proportion so as to control each switch of the vehicle at the current moment to carry out voice playing. The voice playing of the operation sound can be dynamically adjusted by matching the application scene so as to adapt to different application scenes, and the driving experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automotive technology, and in particular to a method, device, and storage medium for controlling the operating sound of a switch in a vehicle. Background Art

[0002] Traditionally, the operating sound produced when operating switches in a car is mainly emitted by the microswitch and speaker built into the switch itself. The volume is fixed due to the speaker power and circuit design itself, and cannot be dynamically adjusted according to ambient noise or user habits. During operation, the sound may be harsh in a quiet environment and unclear in a noisy environment. Moreover, since the tone parameters are fixed, they cannot be dynamically adjusted according to the functional attributes or usage scenarios of the switch. As a result, the user's expectation that switches with the same functions, such as air conditioning and headlight control buttons, should provide similar auditory feedback is dashed, which brings a very bad user experience.

[0003] Based on the above content, there is an urgent need for a method, device and storage medium for controlling the switch operation sound in a vehicle, which can dynamically adjust the voice playback of each switch operation factor to adapt to different application scenarios, increase the perception performance of the entire vehicle, and improve the user's driving experience. Summary of the Invention

[0004] The purpose of the present invention is to provide a method, device, and storage medium for controlling the operating sound of a switch in a vehicle, which can dynamically adjust the voice playback of the operating sound during driving to adapt to different application scenarios and enhance the user's driving experience. The specific solution is as follows:

[0005] A method for controlling the operating sound of a switch in a vehicle, the method comprising the following steps:

[0006] S1: Determine the tone of the sound played in the car based on the user behavior data collected within a preset unit time;

[0007] S2: Presetting basic acoustic parameters of each switch in the vehicle based on the timbre and tone of the sound played in the vehicle; the basic acoustic parameters include at least: audio frequency, waveform, and amplitude;

[0008] S3: Real-time detection of user fatigue status and external environment information during vehicle driving;

[0009] S4: Based on the user's fatigue status and external environment information, a dynamic evaluation method is used to adjust the basic acoustic parameters of each switch in the vehicle to obtain the target timbre parameters of each switch at the current moment;

[0010] S5: Define the priority and weight mapping relationship of the operation sound, adjust the mixing ratio, and control the voice playback of each switch in the vehicle at the current moment.

[0011] Optionally, the step S1 specifically includes:

[0012] The user behavior data includes: audio stream data and video stream data played in the car;

[0013] Analyze the audio stream data and video stream data played in the car to obtain the target audio stream data and target video stream data with the longest playback time;

[0014] Analyze and judge based on the music style of the acquired target audio stream data and the dubbing style of the acquired target video stream data;

[0015] Based on the judgment result, the timbre base tone of the sound played in the car is determined.

[0016] Optionally, determining the timbre base tone of the in-car sound playback according to the judgment result specifically includes:

[0017] If the judgment results are consistent, the timbre and tone of the in-car sound playback are determined based on the dubbing style of the target video stream data;

[0018] If the judgment results are different and the target audio stream data is longer than the target video stream data, the musical style of the target audio stream data determines the timbre of the sound played in the car.

[0019] Optionally, step S4 includes:

[0020] Acquire user facial information and external environment information in real time, and output the current dynamic evaluation results through a pre-trained multi-dimensional evaluation model; the dynamic evaluation results include: user's driving fatigue level and environmental conditions;

[0021] The environmental conditions include at least: light intensity, ambient noise, weather conditions, and road conditions; wherein the road conditions include: slope conditions and steep road conditions;

[0022] Based on the user's current driving fatigue state and environmental conditions, the target timbre parameters of each switch at the current moment are obtained through a preset fatigue level-environment level-timbre parameter mapping table;

[0023] Based on the target timbre parameters, control each switch to play the voice.

[0024] Optionally, step S5 includes:

[0025] When multiple operation sound signals are received, the mixing ratio is dynamically adjusted through a weighted method based on the priority of each operation sound signal to output the target mixed sound;

[0026] Based on target mixing, control the coordinated playback of different vehicle operation sounds.

[0027] Optionally, based on the priority of each operation sound signal, the mixing ratio is dynamically adjusted through a weighted method to output the target mix, including:

[0028] When a high-priority switch operation sound is triggered, the operation sound is played according to the priority level, and the weight coefficient of the high-priority operation sound is increased, and the weight coefficient of the low-priority operation sound is reduced to output the target mixed sound;

[0029] When the high-priority operation sound trigger ends, the weight coefficients of other operation sounds are restored to the basic weight according to the preset curve, and are played based on the restored weight.

[0030] Optionally, after step S5, the following steps are further included:

[0031] In response to a user operation instruction, triggering the generation of a timbre control instruction;

[0032] Based on the tone control instruction, the speaker of the corresponding switch is turned off and the main tone signal is triggered to be generated;

[0033] Based on the main tone signal, the vehicle equipment is controlled to play the operation sound of each switch.

[0034] A device for controlling the operating sound of a switch in a vehicle, comprising:

[0035] a base tone determination module configured to determine the base tone of the sound played in the vehicle based on user behavior data collected within a preset unit time;

[0036] A parameter setting module is configured to pre-set basic acoustic parameters of various switches in the vehicle based on the timbre of the sound played in the vehicle;

[0037] The basic acoustic parameters include at least: audio, waveform and amplitude;

[0038] A detection module configured to obtain in real time the user's fatigue status and external environment information during vehicle driving within a preset unit time;

[0039] A dynamic evaluation module is configured to adjust the basic acoustic parameters of each switch in the vehicle using a dynamic evaluation method based on the user's fatigue status and external environment information to obtain the target timbre parameters of each switch in the vehicle at the current moment;

[0040] The audio mixing adjustment module is configured to define a mapping relationship between the priority and weight of the operating sound, and adjust the audio mixing ratio to control the voice playback of each switch of the vehicle at the current moment.

[0041] A computer device comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method.

[0042] A computer-readable storage medium stores a computer program / instruction thereon, which implements the steps of the method when executed by a processor.

[0043] Through the above solution, the following beneficial technical effects are achieved:

[0044] The present application provides a method, device and storage medium for controlling the operation sound of switches in a vehicle. First, user behavior data is collected, and then the content with the longest playback time is screened to suit the user's preferences, and the timbre base of the sound playback in the vehicle is determined to suit the user's preferences; based on the background of the timbre base, the basic acoustic parameters of each operation switch can be set in advance to distinguish the usage functions of each operation switch, so that the basic acoustic parameters can be dynamically adjusted for subsequent changes in vehicle scenarios; during driving, the user's fatigue status and external environment information in real time per unit time are used to obtain the target timbre parameters of each operation switch in the usage scenario corresponding to the current moment of the vehicle by a dynamic evaluation method, and control the operation sound playback of each switch; when multiple operation sound signals appear at the same time, or when operation sound and non-operation sound appear together, the operation sound with high priority is played first by adjusting the mixing ratio, and the loudness of the priority sound is reduced to achieve a dynamic balance of volume while ensuring the smoothness of the auditory experience and the effectiveness of information communication, thereby satisfying the user's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a flow chart of the method for controlling the operating sound of a switch in a vehicle provided by this application.

[0046] Figure 2 This is a block diagram of the structure of the switch operation sound control device in the car. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of this application clearer, the following Figure 1-2 This application is further described in detail. Obviously, the embodiments described are only a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

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

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

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

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

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

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

[0054] The optional embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0055] Figure 1 The present invention provides a method for controlling the operating sound of a switch in a vehicle, the method comprising the following steps:

[0056] S1: Determine the tone of the sound played in the car based on the user behavior data collected within a preset unit time;

[0057] S2: Based on the timbre of the sound played in the car, the basic acoustic parameters of each switch in the car are pre-set;

[0058] The basic acoustic parameters include at least: pitch, waveform and amplitude;

[0059] S3: Real-time detection of user fatigue status and external environment information during vehicle driving;

[0060] S4: Based on the user's fatigue status and external environment information, a dynamic evaluation method is used to adjust the basic acoustic parameters of each switch in the vehicle to obtain the target timbre parameters of each switch at the current moment;

[0061] S5: Define the priority and weight mapping relationship of the operation sound, adjust the mixing ratio, and control the voice playback of each switch in the vehicle at the current moment.

[0062] Specifically, this application collects user behavior data within a preset unit time and uses this as a basis for judgment and analysis of user preferences to determine the timbre of the in-car sound. For example, user behavior data from the past month is collected for analysis. At the same time, in order to promptly respond to user preferences, user behavior data can be collected periodically. For example, in the first month, the user's preferred dubbing style is determined based on the user behavior data, and the timbre of the dubbing style is extracted and used as the timbre of the in-car sound playback. Based on the timbre, the user can pre-set the acoustic basic parameters for different switch functions or use the system default acoustic basic parameters. At the same time, a custom function window is retained, and the user can adjust the acoustic basic parameters according to their selection. Furthermore, during driving, the user's fatigue state and external environmental information are detected in real time to timely assess the user's fatigue level and environmental conditions at the current moment, thereby dynamically adjusting the acoustic basic parameters to suit the current usage scenario and controlling the playback of the operation sounds of each switch. Based on the pre-defined operation sound priority and weight mapping relationship, the mixing ratio is adjusted to achieve a dynamic balance of volume while ensuring the smoothness of the listening experience and the effectiveness of information transmission.

[0063] Furthermore, through the custom function window, users can choose to adjust the basic acoustic parameters while presetting the function window on the vehicle computer screen. For example, in the vehicle computer sound setting interface, by adding a "turn off button sound" option, when the user clicks this option, the vehicle computer transmits the shutdown command to the air conditioning switch via the CAN bus. After receiving the command, the main MCU inside the air conditioning switch turns off the switch speaker. At this time, the switch becomes a pure touch switch and no longer emits the operation sound.

[0064] For example, by adding a "key tone adjustment" option to the car computer sound setting interface, after the user operates this option, the car computer transmits the tone adjustment instruction to the air-conditioning switch through the CAN bus. After the air-conditioning switch receives it, the main MCU inside the switch turns off the sound drive of the speaker. At this time, the switch becomes a pure touch switch. At the same time, the host receives the air-conditioning switch operation signal and transmits the signal to the entire vehicle audio equipment. The switch operation sound is emitted by the entire vehicle audio to achieve different tones. This allows the entire vehicle to emit different tones by operating the air-conditioning switch.

[0065] In some specific embodiments, step S1 specifically includes:

[0066] The user behavior data includes: audio stream data and video stream data played in the car;

[0067] Analyze the audio and video stream data played in the car (e.g., using audio spectrum analysis and video dubbing style recognition algorithms) to obtain the target audio and video stream data with the longest playback time;

[0068] Analyze and judge based on the music style of the acquired target audio stream data and the dubbing style of the acquired target video stream data;

[0069] Based on the judgment result, the timbre base tone of the sound played in the car is determined.

[0070] Furthermore, determining the timbre base tone of the sound played in the car based on the judgment result specifically includes:

[0071] If the judgment results are consistent, the timbre and tone of the in-car sound playback are determined based on the dubbing style of the target video stream data;

[0072] If the judgment results are different and the playback time of the target audio stream data is longer than the playback time of the target video stream data, the timbre base tone of the in-car sound playback is determined based on the music style of the target audio stream data.

[0073] Specifically, the timbre base is determined by extracting style feature data, playback duration, etc. of the audio and video stream data. The style feature data includes: music style parameters and dubbing style parameters;

[0074] Among them, the music style parameters include at least: main frequency range, dynamic range, instrument type; dubbing style parameters include: fundamental frequency, emotional label, speaking speed, voiceprint characteristics, etc.

[0075] Based on the extracted style parameters, determine whether the music style is consistent with the dubbing style.

[0076] Specifically, by extracting the style feature data of the audio stream data and the video stream data (such as the main frequency in the music style parameters is concentrated in 5-15kHz, the dynamic compression is strong; the fundamental frequency in the dubbing style parameters is about 300Hz, the speaking speed is fast, etc.) and the playback time, mapping them to the preset timbre background parameter template (such as mainly mid-low frequencies, dynamic and natural, warm and solemn) to obtain the timbre background.

[0077] For example, if the target audio stream data is classical music and the dubbing in the data content of the target video stream is a steady male voice, the two styles are consistent. Therefore, according to the dubbing style of the target video stream, the timbre base tone is determined to be: mainly mid-low frequency, dynamic and natural, warm and solemn.

[0078] For example, if a user listens to electronic dance music (5-15kHz main frequency, strong dynamic compression) while watching an 2D video (300Hz dubbing base frequency, with cute interjections), the styles are inconsistent. If the electronic dance music plays longer than the video, the electronic style tone (high-frequency emphasis, strong mechanical feel) will be adopted.

[0079] Step S2: Based on the timbre and tone of the in-car sound playback, pre-set the basic acoustic parameters for each in-car switch. These basic acoustic parameters include at least pitch, waveform, and amplitude. These parameter settings ensure that different switch sounds maintain consistency within the timbre and tone framework while also meeting the differentiated needs of different functional scenarios, such as requiring a sharp waveform for warning sounds and a soft waveform for normal operation sounds.

[0080] Step S3: Real-time detection of the user's fatigue state and external environmental information during vehicle driving; by judging the driver's fatigue state and environmental conditions, intelligently adjust the in-vehicle system, such as switching the music style to a style with light rhythm and lively melody.

[0081] S4: Based on the user's fatigue status and external environment information, a dynamic evaluation method is used to adjust the basic acoustic parameters of each switch in the vehicle to obtain the target timbre parameters of each switch at the current moment in the vehicle. Specifically, the following are included:

[0082] Acquire user facial information and external environment information in real time, and output dynamic assessment results at the current moment through a pre-trained multi-dimensional assessment model. The dynamic assessment results include: user's driving fatigue level and environmental conditions; such as fatigue status levels: awake, mild fatigue, moderate fatigue, severe fatigue;

[0083] The environmental conditions include at least: light intensity, ambient noise, weather conditions, and road conditions; wherein the road conditions include: slope conditions and steep road conditions;

[0084] Based on the user's fatigue driving state and environmental conditions at the current moment, the target timbre parameters of each switch at the current moment are obtained through a preset fatigue level-environment level-timbre parameter mapping table; wherein, the target timbre parameters are based on the basic acoustic parameters, and the basic acoustic parameters are adjusted in combination with the dynamic evaluation results to obtain the target timbre parameters at the current moment.

[0085] Based on the target timbre parameters, control each switch to play the voice.

[0086] Based on the target tone parameters, the car audio system controls the prompt tone playback of various switches (such as air conditioning, navigation, and headlights) to ensure that the sound signal is clear and meets the needs of the current scene.

[0087] When moderate fatigue is detected, the switch prompt tone is adjusted to a high-frequency sharp tone (such as from "dong" to "ding") to enhance the attention awakening effect; when the microphone array analyzes the environment as a noisy environment, the volume and high-frequency components of the prompt tone are automatically enhanced to ensure that the operation feedback can still be clearly perceived in a noisy environment above 80dB; for example, when driving at night, the volume and high-frequency components of the prompt tone are reduced to avoid fatigue of strong light sensitive receptors (such as cone cells) and reduce visual interference.

[0088] In a specific embodiment, S5: defining a mapping relationship between an operation sound priority and a weight, and adjusting a mixing ratio to control the voice playback of each switch of the vehicle at the current moment, includes:

[0089] When multiple operation sound signals are received, the mixing ratio is dynamically adjusted through a weighted method based on the priority of each operation sound signal to output the target mixed sound;

[0090] Based on target mixing, control the coordinated playback of different vehicle operation sounds.

[0091] It can be understood that when the vehicle receives multiple operation sound signals at the same time, the operation sound is played according to the signal priority, and the mixing ratio is dynamically adjusted through the weighted method to output the target mixing sound.

[0092] Furthermore, based on the priority of each operation sound signal, the mixing ratio is dynamically adjusted through a weighted method to output the target mixing, including:

[0093] When a high-priority switch operation sound is triggered, the operation sound is played according to the priority level, and the weight coefficient of the high-priority operation sound is increased, and the weight coefficient of the low-priority operation sound is reduced to output the target mixed sound;

[0094] When the high-priority operation sound trigger ends, the weight coefficients of other operation sounds are restored to the basic weight according to a preset curve (such as an exponential curve), and are played based on the restored weight.

[0095] Specifically, by pre-defining the priority and weight mapping relationship of each operation sound, when multiple operation audio signals are received, the mixing ratio is dynamically adjusted through a weighted method to output the target mix, achieving a dynamic balance of volume while ensuring the smoothness of the listening experience and the effectiveness of information transmission. The following table shows the priority and weight mapping relationship of an example:

[0096]

[0097]

[0098] When the switch operation signal is not triggered, the basic mix is ​​played, the operation sound is muted, and the total volume = 0.6C + 0.5D

[0099] When operation sounds A and B are triggered at the same time, operation sound A is played first, and the total volume = A×W A +B×W B +C×W C +D×W D =1A+0.6B+0.5C+0D;

[0100] At this time, operation sound A becomes dominant, operation sound B gives way, music C is reduced to the original 0.5, and music D is muted; when operation sound A finishes playing, operation sound B becomes dominant and gradually recovers to the basic weight of 0.7 according to an exponential curve (for example, a time constant of 0.6s), music C is reduced to the original 0.5, and music D is muted; when operation sound B finishes playing, music C and music D gradually recover according to the exponential curve, ensuring the smoothness of the auditory experience and the effectiveness of information communication, and adapting to the current application scenario.

[0101] It can be understood that when a high-priority operation sound is triggered, the weight of operation sound A is adjusted from 0.8 to the maximum value of 1, and the weight of medium-priority sounds, such as operation sound B, is reduced from 0.7 to the lower limit of the basic value 0.6; low-priority sounds, such as music C, are reduced from a weight of 0.6 to 0.5, and the weight of music D is 0, that is, silent; after the high priority ends, other sounds return to the basic weight according to the exponential curve to avoid sudden changes in volume.

[0102] Furthermore, after step S5, the following steps are also included:

[0103] In response to a user operation instruction, triggering the generation of a timbre control instruction;

[0104] Based on the tone control instruction, the speaker controlled by the corresponding switch is turned off, and the main tone signal is triggered to be generated;

[0105] Based on the main tone signal, the vehicle equipment is controlled to play the operation sound of each switch.

[0106] It can be understood that this application can turn off the sound function of the independent speakers of each module through user operation instructions, and instead play the operation sound centrally through the entire vehicle audio system; the advantage is that by turning off the independent speakers of each switch (such as the door switch sound, air conditioning adjustment sound and other scattered sound points), the operation sound is played uniformly through the entire vehicle audio, eliminating the sound field confusion and frequency interference caused by the simultaneous sound of speakers in different positions, and centrally adjusting the volume through the entire vehicle audio system, avoiding the need for users to adjust the speakers of each module separately.

[0107] On the other hand, the present application provides a device for controlling the operating sound of a switch in a vehicle, comprising:

[0108] a base tone determination module configured to determine the base tone of the sound played in the vehicle based on user behavior data collected within a preset unit time;

[0109] A parameter setting module is configured to pre-set basic acoustic parameters of various switches in the vehicle based on the timbre of the sound played in the vehicle;

[0110] The basic acoustic parameters include at least: audio, waveform and amplitude;

[0111] A detection module configured to detect in real time the user's fatigue state and external environment information during vehicle driving;

[0112] A dynamic evaluation module is configured to adjust the basic acoustic parameters of each switch in the vehicle using a dynamic evaluation method based on the user's fatigue status and external environment information to obtain the target timbre parameters of each switch in the vehicle at the current moment;

[0113] The audio mixing adjustment module is configured to define a mapping relationship between the priority and weight of the operating sound, and adjust the audio mixing ratio to control the voice playback of each switch of the vehicle at the current moment.

[0114] It is worth noting that although the present system only discloses a base tone determination module, a parameter setting module, an acquisition module, a dynamic evaluation module and a mixing adjustment module, it does not mean that the present device is limited to the above-mentioned basic functional modules. Rather, what the present invention wants to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the existing technology to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the above-mentioned basic functional modules.

[0115] On the other hand, the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method.

[0116] On the other hand, the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements the steps of the method when the computer program / instruction is executed by a processor.

[0117] On the other hand, the present application provides a computer program product, comprising a computer program / instruction, which implements the steps of the method when executed by a processor.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling the operating sound of a switch in a vehicle, characterized in that: The method comprises the following steps: S1: Determine the tone of the sound played in the car based on the user behavior data collected within a preset unit time; S2: Presetting basic acoustic parameters of each switch in the vehicle based on the timbre and tone of the sound played in the vehicle; the basic acoustic parameters include at least: audio frequency, waveform, and amplitude; S3: Real-time detection of user fatigue status and external environment information during vehicle driving; S4: Based on the user's fatigue status and external environment information, a dynamic evaluation method is used to adjust the basic acoustic parameters of each switch in the vehicle to obtain the target timbre parameters of each switch at the current moment; S5: Define the priority and weight mapping relationship of the operation sound, adjust the mixing ratio, and control the voice playback of each switch in the vehicle at the current moment.

2. The method for controlling the operating sound of a switch in a vehicle according to claim 1, wherein: The step S1 specifically includes: The user behavior data includes: audio stream data and video stream data played in the car; Analyze the audio stream data and video stream data played in the car to obtain the target audio stream data and target video stream data with the longest playback time; Analyze and judge based on the music style of the acquired target audio stream data and the dubbing style of the acquired target video stream data; Based on the judgment result, the timbre base tone of the sound played in the car is determined.

3. The method for controlling the in-vehicle switch operation sound according to claim 2, wherein: Determining the timbre base tone of the in-car sound playback according to the judgment result specifically includes: If the judgment results are consistent, the timbre and tone of the in-car sound playback are determined based on the dubbing style of the target video stream data; If the judgment results are different and the playback time of the target audio stream data is longer than the playback time of the target video stream data, the timbre base tone of the in-car sound playback is determined based on the music style of the target audio stream data.

4. The method for controlling the operating sound of a switch in a vehicle according to claim 3, wherein: The step S4 comprises: Acquire user facial information and external environment information in real time, and output the current dynamic evaluation results through a pre-trained multi-dimensional evaluation model; the dynamic evaluation results include: user's driving fatigue level and environmental conditions; The environmental conditions include at least: light intensity, ambient noise, weather conditions, and road conditions; wherein the road conditions include: slope conditions and steep road conditions; Based on the user's current driving fatigue state and environmental conditions, the target timbre parameters of each switch at the current moment are obtained through a preset fatigue level-environment level-timbre parameter mapping table; Based on the target timbre parameters, control each switch to play the voice.

5. The method for controlling the operating sound of a switch in a vehicle according to claim 4, wherein: The step S5 comprises: When multiple operation sound signals are received, the mixing ratio is dynamically adjusted through a weighted method based on the priority of each operation sound signal to output the target mixed sound; Based on target mixing, control the coordinated playback of different vehicle operation sounds.

6. The method for controlling the operating sound of a switch in a vehicle according to claim 5, wherein: Based on the priority of each operation sound signal, the mixing ratio is dynamically adjusted through a weighted method to output the target mix, including: When a high-priority switch operation sound is triggered, the operation sound is played according to the priority level, and the weight coefficient of the high-priority operation sound is increased, and the weight coefficient of the low-priority operation sound is reduced to output the target mixed sound; When the high-priority operation sound trigger ends, the weight coefficients of other operation sounds are restored to the basic weight according to the preset curve, and are played based on the restored weight.

7. The method for controlling the operating sound of a switch in a vehicle according to claim 6, wherein: After step S5, the following steps are also included: In response to a user operation instruction, triggering the generation of a timbre control instruction; Based on the tone control instruction, the speaker of the corresponding switch is turned off and the main tone signal is triggered to be generated; Based on the main tone signal, the vehicle equipment is controlled to play the operation sound of each switch.

8. A device for controlling the operating sound of a switch in a vehicle, characterized in that: The method as claimed in any one of claims 1 to 7, comprising: a base tone determination module configured to determine the base tone of the sound played in the vehicle based on user behavior data collected within a preset unit time; A parameter setting module is configured to pre-set basic acoustic parameters of various switches in the vehicle based on the timbre of the sound played in the vehicle; The basic acoustic parameters include at least: audio, waveform and amplitude; A detection module configured to detect in real time the user's fatigue state and external environment information during vehicle driving; A dynamic evaluation module is configured to adjust the basic acoustic parameters of each switch in the vehicle using a dynamic evaluation method based on the user's fatigue status and external environment information to obtain the target timbre parameters of each switch in the vehicle at the current moment; The audio mixing adjustment module is configured to define a mapping relationship between the priority and weight of the operating sound, and adjust the audio mixing ratio to control the voice playback of each switch of the vehicle at the current moment.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program / instruction stored thereon, wherein the computer program / instruction, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.