A vehicle-mounted audio playing control method, device and storage medium
By monitoring the cockpit audio system to switch to the passenger cabin audio player when the volume in the driver's cabin decreases, and adjusting the audio parameters according to the passenger's position, the problem of disconnected audio playback between the driver's cabin and the passenger cabin is solved, achieving a balance between safety and entertainment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN NOSIO ELECTRONICS CO LTD
- Filing Date
- 2025-05-27
- Publication Date
- 2026-05-01
AI Technical Summary
In traditional in-vehicle audio playback systems, the audio playback in the driver's cabin and passenger cabin lacks proper connection and intelligent control, resulting in a disjointed audio playback experience and failing to meet the different needs of different areas.
When the cockpit audio player volume is detected to decrease, a control command is generated to turn off the cockpit audio player and turn on the passenger cabin audio player, and the sound field radiation direction and playback volume of the passenger cabin audio player are adjusted according to the passenger position distribution.
It enables a smooth switching between cockpit and passenger cabin audio, ensuring the continuity and stability of the passenger cabin audio experience, while avoiding driver distraction and ensuring driving safety.
Smart Images

Figure CN120547471B_ABST
Abstract
Description
A method, device and storage medium for controlling in-vehicle audio playback Technical Field
[0001] This invention relates to the field of in-vehicle audio playback technology, specifically to an in-vehicle audio playback control method, device, and storage medium. Background Technology
[0002] With the increasing demand for intelligent and comfortable vehicles, in-vehicle audio playback systems, as a key component in enhancing the driving experience, are facing diverse and sophisticated challenges. Traditional in-vehicle audio playback modes mostly use a single audio player to output audio, making it difficult to cater to the different audio needs in the cockpit and passenger compartment. In the cockpit, the driver's audio needs during driving focus on information acquisition (such as navigation prompts) and moderate entertainment; while passengers in the passenger compartment expect a more immersive and personalized audio experience.
[0003] In related technologies, there is a lack of reasonable connection and intelligent control mechanism between the audio playback in the cockpit (such as the driver actively lowering the volume or the need to lower the volume due to specific scenarios such as answering important calls) and the audio playback status in the passenger cabin. This easily leads to a sense of disjointed audio playback and fails to create a coherent, comfortable audio environment that meets the needs of different areas for the occupants of the vehicle. Summary of the Invention
[0004] The main objective of this invention is to provide a vehicle-mounted audio playback control method, device, and storage medium, aiming to solve the technical problem in the prior art where the audio playback in the driver's cabin and the audio playback in the passenger cabin lacks a reasonable connection and intelligent control mechanism, which easily leads to a sense of disconnect in audio playback.
[0005] To achieve the above objectives, in a first aspect, this application provides a vehicle-mounted audio playback control method, applied to a vehicle-mounted audio playback device, the vehicle-mounted audio playback device including a first audio player located in the driver's cabin and a second audio player located in the passenger cabin, the method comprising:
[0006] In response to the volume of the first audio player decreasing from the initial volume value to a first threshold at a preset decreasing rate, a first control command is generated;
[0007] The first control command is used to turn off the first audio player and to turn on the second audio player.
[0008] The initial playback volume of the second audio player is determined based on the initial volume value of the first audio player; wherein the initial playback volume of the second audio player is positively correlated with the initial volume value of the first audio player.
[0009] The second audio player is controlled to play audio at the initial playback volume, and the playback parameters of the second audio player are adjusted according to the passenger position distribution in the passenger cabin. The playback parameters include at least one of the sound field radiation direction and playback volume.
[0010] In one possible implementation, before adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger compartment, the method further includes:
[0011] Acquire pressure monitoring data from pressure sensors on each seat in the passenger compartment;
[0012] If the first pressure data corresponding to the left-side seating space is greater than or equal to the pressure threshold and the duration is greater than or equal to the duration threshold, it is determined that there is a passenger in the left-side seating space.
[0013] If the second pressure data corresponding to the right-side seating space is greater than or equal to the pressure threshold and the duration is greater than or equal to the duration threshold, it is determined that there is a passenger in the right-side seating space.
[0014] In one possible implementation, adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin includes:
[0015] When there are passengers in the left or right seating space of the passenger compartment, the sound field radiation direction of the second audio player is adjusted to face the target seating space, and the initial playback volume is reduced by a first preset ratio to obtain the first target playback volume; wherein, the target seating space is the left or right seating space where passengers are present.
[0016] In one possible implementation, adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin includes:
[0017] When there are passengers in both the left and right seating areas of the passenger cabin, the second audio player is controlled to adjust the sound field radiation direction to cover both the left and right seating areas of the passenger cabin, and the initial playback volume is reduced by a second preset ratio to obtain a second target playback volume.
[0018] When there are no passengers in the left and right seating areas of the passenger compartment, a second control command is generated, and the second audio player is turned off according to the second control command.
[0019] In one possible implementation, controlling the second audio player to adjust the sound field radiation direction to cover the left and right seating areas of the passenger cabin includes:
[0020] The sound field radiation center axis of the second audio player is aligned with the separation position between the left and right seating spaces; or,
[0021] The second audio player is controlled to periodically switch the sound field radiation direction so that the sound field radiation of the second audio player alternately faces the left and right seating spaces.
[0022] In one possible implementation, controlling the second audio player to periodically switch the sound field radiation direction includes:
[0023] The opening status detection signals of the corresponding windows in the left and right passenger spaces are acquired in real time.
[0024] When the opening status detection signal indicates that the target side window is open, the duration of the sound field radiation from the second audio player toward the target side passenger space is shortened by a preset ratio; wherein, the target side is the side of the passenger space on the left or right side where the window is open.
[0025] In one possible implementation, shortening the duration of the sound field radiation from the second audio player toward the target side of the seating space by a preset ratio includes:
[0026] The real-time moving distance of the target side window is obtained by the Hall sensor of the window lifting mechanism, and the opening area of the window is calculated.
[0027] The preset ratio is dynamically adjusted based on the ratio of the window opening area to the maximum window opening area.
[0028] In one possible implementation, determining the initial playback volume of the second audio player based on the initial volume value of the first audio player includes:
[0029] Based on the current sound field model of the first audio player, calculate the first sound pressure level at the geometric center point of the passenger cabin for its initial volume value;
[0030] Based on the sound field propagation model of the second audio player, the initial playback volume required to satisfy the second sound pressure value at the geometric center point is determined by a reverse deduction algorithm; wherein the difference between the second sound pressure value and the first sound pressure value does not exceed a preset threshold.
[0031] In one possible implementation, the step of generating a first control command in response to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate includes:
[0032] The vehicle's speed is obtained when the volume of the first audio player decreases from its initial volume value to a first threshold at a preset decreasing rate.
[0033] Once the vehicle speed is determined to be less than or equal to a speed threshold, a first control command is generated.
[0034] In one possible implementation, after responding to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate, the method further includes:
[0035] The vehicle's speed is obtained, and if it is determined to be greater than a speed threshold, a third control command is generated.
[0036] The third control command controls the first audio player to turn off and keeps the second audio player in a turned-off state.
[0037] Secondly, this application also provides an in-vehicle audio playback device, including:
[0038] A first audio player is located in the cockpit, which is situated in the front row of the vehicle.
[0039] A second audio player is located in the passenger compartment, which is situated in the rear passenger space of the vehicle; and
[0040] A memory and a processor, wherein the memory is used to store program code; and the processor is used to invoke the program code to execute the method as described in the first aspect.
[0041] Thirdly, this application also provides a readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0042] Unlike existing technologies, this application provides a vehicle audio playback control method. This method is applied to a vehicle audio playback device equipped with a first audio player in the driver's cabin and a second audio player in the passenger cabin. First, when the volume of the first audio player is detected to decrease from its initial volume value to a first threshold at a preset decreasing rate, a first control command is generated. Then, the first audio player is turned off and the second audio player is turned on according to the first control command. Next, the initial playback volume of the second audio player is determined based on the initial volume value of the first audio player. Subsequently, the second audio player is controlled to play audio at this initial volume, and at least one playback parameter of the second audio player, such as the sound field radiation direction and playback volume, is adjusted according to the passenger position distribution in the passenger cabin. In actual use, the driver can adjust the volume of the primary audio player according to safety needs. When the volume drops rapidly to the threshold, the system automatically switches the audio playback device to prevent the driver from being distracted by excessive volume in the cockpit and to ensure driving safety. At the same time, since the audio playback switches from the cockpit to the passenger cabin, the audio playback in the passenger cabin is not excessively affected by the volume adjustment in the cockpit. This allows the system to provide passengers with stable and high-quality audio services while ensuring driving safety, achieving a balance between driving safety needs and passenger entertainment experience. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0044] Figure 1 is a flowchart illustrating the in-vehicle audio playback control method in some embodiments of this application;
[0045] Figure 2 is a flowchart illustrating step S100 of the vehicle audio playback control method in some embodiments of this application;
[0046] Figure 3 is a flowchart illustrating step S300 of the vehicle audio playback control method in some embodiments of this application;
[0047] Figure 4 is a schematic diagram of the arrangement of the vehicle audio player in some embodiments of this application;
[0048] Figure 5 is a schematic diagram of the current sound field model curve of the audio player in some embodiments of this application;
[0049] Figure 6 is a schematic diagram of the installation structure of the second audio player in some embodiments of this application;
[0050] Figure 7 is a schematic diagram of the hardware structure of the in-vehicle audio playback device in some embodiments of this application.
[0051] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0053] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.
[0054] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the term "and / or" throughout the text includes three solutions; taking A and / or B as an example, it includes technical solution A, technical solution B, and a technical solution that simultaneously satisfies A and B. Furthermore, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of a person skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0055] With the increasing demand for intelligent and comfortable vehicles, in-vehicle audio playback systems, as a key component in enhancing the driving experience, are facing diverse and sophisticated challenges. Traditional in-vehicle audio playback methods often use a single audio player to uniformly output audio, making it difficult to cater to the different audio needs in the driver's cabin and passenger cabin. In the driver's cabin, the driver's audio needs during driving focus on information acquisition (such as navigation prompts) and moderate entertainment; while passengers in the passenger cabin expect a more immersive and personalized audio experience.
[0056] In related technologies, there is a lack of reasonable connection and intelligent control mechanism between the audio playback in the cockpit (such as the driver actively lowering the volume or the need to lower the volume due to specific scenarios such as answering important calls) and the audio playback status in the passenger cabin. This easily leads to a sense of disjointed audio playback and fails to create a coherent, comfortable audio environment that meets the needs of different areas for the occupants of the vehicle.
[0057] As shown in Figures 1-5, the following description uses an in-vehicle audio playback device as an example to illustrate the in-vehicle audio playback control method. The in-vehicle audio playback device can be an audio system integrated into the vehicle, specifically including a first audio player 100 located in the driver's cabin, a second audio player 200 located in the passenger cabin, and corresponding controllers and sensors, etc. The driver's cabin is located in the front space of the vehicle, and the passenger cabin is located in the rear space of the vehicle. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here. Please refer to Figure 1. The method includes the following steps S100-S400:
[0058] Step S100: In response to the volume of the first audio player decreasing from the initial volume value to the first threshold at a preset decreasing rate, a first control command is generated.
[0059] It is understandable that when a driver uses rapid, continuous pressing or sustained long-pressing of the volume control button, it indicates that the driver urgently needs to reduce the volume of the cockpit audio player. This type of operation usually indicates that the driver is facing a high-priority scenario that requires immediate attention, such as answering an important call or needing to pay immediate attention to an external emergency. Conversely, if the driver uses low-frequency, intermittent pressing or slow, gradual adjustment of the button, it indicates that the driver's operation is a routine volume adjustment need, indicating that the driver is seeking to gradually optimize the audio output to a suitable listening intensity.
[0060] Therefore, in this embodiment of the application, the driver's operation is determined as an emergency or routine need based on the volume reduction adjustment rate of the first audio player. When the volume reduction adjustment rate of the first audio player is greater than the adjustment rate threshold and the volume value is reduced to below the first threshold (the first threshold can be 30% of the maximum volume), it indicates that the driver's operation is an emergency volume adjustment need; when the volume reduction adjustment rate of the first audio player is not greater than the adjustment rate threshold, it indicates that the driver's operation is a routine volume adjustment need.
[0061] If the system detects that the volume of the first audio player is decreasing from the initial volume value to the first threshold at a preset relatively fast rate, the system determines that the driver's operation is an emergency volume adjustment request. The driver wants the audio volume in the cockpit to not affect high-priority temporary needs (such as answering important calls or paying attention to external emergencies). At this time, the system generates a first control command, which is used to control the switching between the cockpit audio player and the passenger cabin audio player.
[0062] If the system detects that the volume of the first audio player has decreased to the first threshold, but the volume adjustment rate is slow, the system determines that the driver's operation is a routine volume adjustment request. The driver wants the audio volume in the cockpit to be reduced to a suitable intensity range. At this time, the first audio player continues to play audio at the adjusted volume.
[0063] In other embodiments, if the driver adjusts the volume of the first audio player to a second threshold (such as 0 volume), the first audio player is turned off directly, and the second audio player is not turned on. In this way, the shutdown of both audio players can be controlled.
[0064] To ensure passengers are alert to changes in in-vehicle audio while the vehicle is traveling at high speed, thereby improving driving safety, in one embodiment, step S100: in response to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate, a first control command is generated, including:
[0065] S110. When the volume of the first audio player decreases from the initial volume value to the first threshold at a preset decreasing rate, the vehicle's driving speed is obtained.
[0066] S120. Determine that the vehicle speed is less than or equal to the speed threshold, and generate the first control command.
[0067] In another embodiment, after the volume of the first audio player decreases from an initial volume value to a first threshold at a preset decreasing rate, the method further includes: acquiring the vehicle's driving speed, determining that the vehicle's driving speed is greater than a speed threshold, generating a third control command; and controlling the first audio player to turn off and keeping the second audio player in a turned-off state according to the third control command.
[0068] Specifically, when the system detects that the volume of the first audio player in the cockpit is decreasing from its initial value to a first threshold at a preset rate, it acquires the vehicle's speed. When the vehicle speed is less than or equal to the speed threshold, it indicates that the vehicle is in a relatively low-speed driving state, and the probability of a safety hazard is low. At this time, the system generates a first control command to control the switching between the cockpit audio player and the passenger cabin audio player. In low-speed driving conditions, when the driver performs a temporary emergency operation (such as lowering the volume to focus on external communication, checking navigation, or answering a phone call), the system can quickly and smoothly transfer audio playback from the cockpit to the passenger cabin. This avoids excessive impact on the passenger cabin audio experience due to changes in cockpit volume, allowing passengers to continue enjoying stable and high-quality audio services, while also preventing the driver's attention from being distracted by excessively loud cockpit audio volume. Thus, it balances driving safety with passenger entertainment needs.
[0069] The volume of the first audio player in the cockpit decreases from its initial value to a first threshold at a preset rate. If the vehicle speed exceeds the threshold, it indicates that the vehicle is traveling at a relatively high speed, increasing the probability of a safety hazard. At this point, the system generates a third control command, which executes a specific operation: turning off the first audio player in the cockpit and keeping the second audio player in the passenger compartment off. During high-speed driving, any action by the driver can significantly impact driving safety. If the passenger compartment audio player is on while the driver is temporarily lowering the volume, passengers may become engrossed in the audio content and overlook potential dangers. This solution, by keeping the passenger compartment audio player off, sends a potential safety warning signal to passengers, prompting them to pay more attention to the vehicle's movement and increasing their awareness of potential hazards. Simultaneously, turning off the cockpit audio player avoids audio interference affecting the driver's attention, further ensuring driving safety at high speeds.
[0070] In another embodiment, the system can also analyze the driver's gaze direction using an in-vehicle camera. If the system detects that the driver is frequently looking at the central control screen (such as the navigation interface) or the rearview mirror, and the volume of the first audio player rapidly decreases to a first threshold, the system determines that there is dangerous driving behavior. At this time, the system turns off the first audio player while keeping the second audio player off. This can send a potential safety warning signal to passengers, prompting them to pay more attention to the vehicle's driving status and increasing their awareness of potential dangers. If the system detects that the driver is frequently looking ahead, and the volume of the first audio player rapidly decreases to a first threshold, the system determines that there is no dangerous driving behavior. At this time, the system controls the switching between the driver's cabin audio player and the passenger cabin audio player.
[0071] Step S200: Control the first audio player to turn off and control the second audio player to turn on according to the first control command;
[0072] In step S100, if the system generates a first control command based on the volume adjustment parameters of the first audio player and the vehicle's speed, it indicates that the system determines an audio switch is required. At this point, the system controls the first audio player to close and the second audio player to open according to the first control command, thereby completing the audio switch between the driver's cabin and the passenger cabin. This transfers the audio content to be played from the first audio player in the driver's cabin to the second audio player in the passenger cabin for continued playback. This not only preserves the integrity of the audio content but also ensures playback continuity, avoiding audio interruptions or loss due to the switching operation, and providing passengers with an uninterrupted, high-quality audio experience.
[0073] Step S300: Determine the initial playback volume of the second audio player based on the initial volume value of the first audio player; wherein, the initial playback volume of the second audio player is positively correlated with the initial volume value of the first audio player;
[0074] It is understandable that when the driver temporarily adjusts the volume of the first audio player in the cockpit, in order to ensure that the audio experience in the passenger cabin remains consistent and uniform, the system needs to accurately determine the initial playback volume of the second audio player in the passenger cabin, so that the difference in audio volume before and after the adjustment is minimal at the passenger cabin location, thereby minimizing the impact on the passenger's audio experience.
[0075] In one embodiment, step S300: determining the initial playback volume of the second audio player based on the initial volume value of the first audio player includes:
[0076] S310. Calculate the first sound pressure level at the geometric center point of the passenger cabin based on the current sound field model of the first audio player.
[0077] S320. Based on the sound field propagation model of the second audio player, the initial playback volume required to satisfy the second sound pressure value of the geometric center point is determined by a reverse deduction algorithm; wherein the difference between the second sound pressure value and the first sound pressure value does not exceed a preset threshold.
[0078] Specifically, a current sound field model for the first audio player can be pre-constructed based on its physical location, speaker characteristics (such as frequency response and directivity), and the acoustic environment within the vehicle cabin (such as material absorption coefficient and space dimensions). Similarly, a current sound field model for the second audio player can be constructed based on its physical location, speaker characteristics (such as frequency response and directivity), and the acoustic environment within the vehicle cabin (such as material absorption coefficient and space dimensions). The current sound field model for the first audio player describes the propagation characteristics of its audio signal within the vehicle, including sound wave attenuation. Similarly, the current sound field model for the second audio player describes the propagation characteristics of its audio signal within the vehicle, including sound wave attenuation.
[0079] Then, based on the constructed sound field model, the system calculates the first sound pressure level generated by the initial volume value of the first audio player at the geometric center point of the passenger cabin (usually referring to the center position of the passenger cabin, representing the average listening position of the passengers).
[0080] Finally, based on the sound field propagation model of the second audio player, the system employs a reverse calculation algorithm to calculate the required initial playback volume, with the goal that the difference between the second sound pressure level and the first sound pressure level at the geometric center point of the passenger cabin does not exceed a preset threshold. Specifically, the algorithm iteratively adjusts the initial volume value of the second audio player until the difference between the second sound pressure level and the first sound pressure level at the geometric center point reaches a preset tolerance range (e.g., ±1dB), thereby determining the optimal initial playback volume.
[0081] For example, as shown in Figure 5, Figure 5 is a schematic diagram of the current sound field model curve of the audio player in some embodiments of this application; in Figure 5, the dashed curve F1 is the current sound field model curve of the first audio player, and the solid curve F2 is the current sound field model curve of the second audio player; the horizontal axis is the attenuation distance, and the vertical axis is the attenuation coefficient. As shown in Figure 4, Figure 4 is a schematic diagram of the arrangement of the vehicle audio player in one embodiment of this application. Assume that the distance from the first audio player to the geometric center point of the passenger compartment is L1, and the distance from the second audio player to the geometric center point of the passenger compartment is L2. At this time, according to the distance L1, by querying the current sound field model curve of the first audio player, the volume attenuation coefficient of the audio volume of the first audio player to the geometric center point of the passenger compartment is Q1; according to the distance L2, by querying the current sound field model curve of the second audio player, the volume attenuation coefficient of the audio volume of the second audio player to the geometric center point of the passenger compartment is Q2. Assume the initial volume of the first audio player is D1 and the initial volume of the second audio player is D2. The sound pressure level (SPL) of the first audio player after attenuation to the geometric center of the passenger compartment is D1*Q1, and the SPL of the second audio player after attenuation is D2*Q2. For ease of calculation, assume the audio volume is the same before and after adjustment at the passenger compartment location, i.e., D1*Q1 = D2*Q2. Since D1, Q1, and Q2 are all known values, the initial volume value D2 of the second audio player can be obtained using the above expression.
[0082] Step S400: Control the second audio player to play audio at the initial playback volume, and adjust the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin. The playback parameters include at least one of the sound field radiation direction and playback volume.
[0083] After obtaining the initial playback volume of the second audio player, playing audio at that initial playback volume can ensure stable and consistent audio in the passenger cabin, and the audio volume received by passengers does not change much, thereby improving passengers' experience of stable audio.
[0084] To further improve passengers' experience of stable audio and reduce the impact of audio in the passenger cabin on the driver, this embodiment adjusts the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin. For example, when there is a passenger on the left seat and no passenger on the right seat, the sound field radiation direction of the second audio player is controlled to be biased towards the passenger.
[0085] In one embodiment, before adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger compartment, the method further includes: acquiring pressure monitoring data from each seat pressure sensor in the passenger compartment; determining that there is a passenger in the left seating space if the first pressure data corresponding to the left seating space is greater than or equal to a pressure threshold and the duration is greater than or equal to a duration threshold; and determining that there is a passenger in the right seating space if the second pressure data corresponding to the right seating space is greater than or equal to a pressure threshold and the duration is greater than or equal to a duration threshold.
[0086] Specifically, in this embodiment, high-precision pressure sensors are installed under the seats in the left and right passenger compartments. These sensors can monitor pressure changes on the seat surface in real time and convert the pressure data into electrical signals. The system continuously collects pressure monitoring data from each seat pressure sensor at a preset frequency (e.g., once per second) to ensure the real-time performance and accuracy of the data. The system compares the first pressure data corresponding to the left passenger compartment with a preset pressure threshold. This pressure threshold is set based on the average weight of a person in a normal sitting posture and can effectively distinguish between a passenger and an empty passenger. If the first pressure data is greater than or equal to the pressure threshold, the system starts a timer to continuously monitor the state. Only when the pressure data remains greater than or equal to the threshold for a preset duration threshold (e.g., 5 seconds) does the system determine that a passenger exists in the left passenger compartment. The detection logic for the right passenger compartment is completely consistent with that of the left. The system compares the second pressure data with the same pressure threshold and verifies the duration to ensure the accuracy of the passenger presence determination on the right side.
[0087] In other embodiments, data from other sensors such as cameras and infrared sensors can be combined to perform multi-source information fusion, further improving the accuracy and robustness of passenger location detection.
[0088] In one embodiment, adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin includes:
[0089] When there are passengers in the left or right seating space of the passenger compartment, the sound field radiation direction of the second audio player is adjusted to face the target seating space, and the initial playback volume is reduced by a first preset ratio to obtain the first target playback volume; wherein, the target seating space is the left or right seating space where passengers are present.
[0090] When there are passengers in both the left and right seating areas of the passenger cabin, the second audio player is controlled to adjust the sound field radiation direction to cover both the left and right seating areas of the passenger cabin, and the initial playback volume is reduced by a second preset ratio to obtain a second target playback volume.
[0091] When there are no passengers in the left and right seating areas of the passenger compartment, a second control command is generated, and the second audio player is turned off according to the second control command.
[0092] Specifically, in this embodiment, when a passenger is detected in the left or right seating area (i.e., only one side has a passenger), the system immediately controls the second audio player to adjust the sound field radiation direction, making it precisely face the target seating area (i.e., the side with the passenger). This adjustment can be achieved through beamforming technology of the speaker array or mechanical structure steering, ensuring that the audio signal directly radiates to the area where the passenger is located, reducing the ineffective diffusion of sound waves in the cabin. While adjusting the sound field direction, the system reduces the initial playback volume of the second audio player by a first preset ratio (e.g., 20%) to obtain the first target playback volume. In this way, because the sound field of the second audio player is focused towards the target seating area (i.e., the side with the passenger), the initial audio effect can be achieved at a lower volume, ensuring that while passengers enjoy directional audio services, the impact of the second audio player's audio on the driver can be further reduced.
[0093] When passengers are detected in both the left and right passenger areas, the system controls the second audio player to adjust the sound field radiation direction to cover the entire passenger compartment, meaning it simultaneously covers both left and right areas, or can cover both left and right areas for a certain time period. While expanding the sound field coverage, the system reduces the initial playback volume by a second preset ratio (e.g., 30%) to obtain the second target playback volume. The second preset ratio can be the same as or different from the first preset ratio.
[0094] When the system detects that there are no passengers in the left and right passenger compartments, it immediately generates a second control command and shuts down the second audio player accordingly. This effectively prevents the audio player from operating unnecessarily when there are no passengers, saves vehicle power, and extends the equipment's lifespan.
[0095] In one embodiment, as shown in Figure 6, a mounting plate 300 is provided in the passenger compartment, and a side motor 400 is mounted on the mounting plate 300. One side of the second audio player 200 is disposed on the side motor 400. Thus, the sound field radiation direction of the second audio player 200 can be adjusted by the side motor 400. The side motor 400 and the second audio player 200 can achieve the side-swing movement through direct drive or gear transmission; the specific transmission method is not limited here.
[0096] Thus, in this embodiment of the application, the playback parameters of the second audio player are dynamically adjusted according to the positional distribution of passengers in the passenger cabin, which can improve the passenger audio experience and achieve optimized resource allocation.
[0097] In one embodiment, controlling the second audio player to adjust the sound field radiation direction to cover the left and right passenger compartments of the passenger cabin includes:
[0098] The sound field radiation center axis of the second audio player is aligned with the separation position between the left and right seating spaces; or,
[0099] The second audio player is controlled to periodically switch the sound field radiation direction so that the sound field radiation of the second audio player alternately faces the left and right seating spaces.
[0100] Specifically, when there are passengers on both the left and right sides of the passenger compartment, the sound field radiation center axis of the second audio player can be aligned with the dividing line between the left and right seating areas. This ensures that the sound field radiation center axis of the second audio player is oriented towards the boundary line between the left and right seats (i.e., the middle of the rear seats), thus ensuring that the second audio player can cater to passengers on both sides. The sound field radiation direction can also be adjusted alternately at preset intervals (e.g., 5 minutes), maintaining a fixed duration (e.g., 5 minutes) after each switch to ensure a high-quality audio experience for passengers on both sides. Furthermore, the sound field coverage time ratio can be dynamically allocated based on changes in the pressure of the left and right seats. For example, when the pressure on the left seat is constantly changing, it indicates that the left passenger is active, and the sound field coverage time on that side can be extended. When the pressure on the right seat is not significantly changing, it indicates that the right passenger is resting, and the sound field coverage time on that side can be reduced.
[0101] In in-vehicle audio systems, opening windows leads to sound wave leakage and sound pressure level attenuation, significantly impacting the passenger's audio experience. Therefore, in other embodiments, controlling the second audio player to periodically switch the sound field radiation direction includes: acquiring in real-time the opening status detection signals of the windows corresponding to the left and right passenger spaces; when the opening status detection signal indicates that the target side window is open, shortening the duration of the sound field radiation from the second audio player toward the target side passenger space by a preset ratio; wherein, the target side is the side of the left or right passenger space where the window is open.
[0102] Specifically, the system monitors the opening status detection signals of the windows corresponding to the left and right passenger spaces in real time. When the opening status detection signal indicates that the window on the target side is open, the duration of the sound field radiation from the second audio player toward the target passenger space is shortened by a preset ratio.
[0103] For example, when the left window is open and the right window is closed, the system determines that the right-side passenger space is acoustically enclosed, meeting the conditions for an immersive audio experience. At this time, the system shortens the duration of the sound field radiation from the second audio player towards the left-side passenger space according to a preset ratio. Conversely, it increases the duration of the sound field radiation from the second audio player towards the right-side passenger space. This distributes more sound energy to the enclosed side, ensuring the integrity of the sound field cycle on both sides while allowing acoustic resources to be focused on demand, thus guaranteeing that the side with the better conditions receives more immersive audio experience time.
[0104] Furthermore, in scenarios where the left-side window is open and the right-side window is closed, and it is necessary to shorten the duration of the sound field radiation from the second audio player towards the left-side passenger space, the time reduction ratio can be dynamically adjusted based on the opening area of the left-side window. Specifically, the larger the opening area of the left-side window, the higher the reduction ratio. In particular, when the left-side window is fully open, the duration of the sound field radiation from the second audio player towards the left-side passenger space is shortened to zero; that is, the sound field radiation direction of the second audio player will no longer be towards the left-side passenger space. This concentrates more sound energy into the relatively enclosed right-side space, enhancing the directivity and audio value of the sound.
[0105] In one embodiment, the real-time movement distance of the target side window can be obtained first through a Hall sensor in the window lifting mechanism to calculate the window opening area; then, the preset ratio is dynamically adjusted based on the ratio of the window opening area to the maximum window opening area. The larger the ratio of the window opening area to the maximum window opening area, the larger the opening ratio of the corresponding window. In this case, the duration of the sound field radiation from the second audio player towards that side of the passenger space will be shorter, i.e., the greater the reduction in duration.
[0106] Based on this, the present application provides an in-vehicle audio playback control method. First, when the volume of a first audio player decreases from its initial value to a first threshold at a preset rate, a first control command is generated. Then, the first audio player is turned off and a second audio player is turned on according to the first control command. Next, the initial playback volume of the second audio player is determined based on the initial volume value of the first audio player. Subsequently, the second audio player is controlled to play audio at this initial volume, and at least one playback parameter, such as the sound field radiation direction and playback volume, is adjusted according to the passenger position distribution in the passenger compartment. In practical applications, the driver can adjust the volume of the first audio player independently according to safety needs. When the volume rapidly decreases to the threshold, the system automatically switches the audio playback device, preventing the driver from being distracted by excessive volume in the driver's cabin and ensuring driving safety. Simultaneously, since audio playback switches from the driver's cabin to the passenger compartment, the audio playback in the passenger compartment is not excessively affected by the driver's cabin volume adjustment, providing passengers with stable and high-quality audio services while ensuring driving safety, thus achieving a balance between driving safety needs and passenger entertainment experience.
[0107] As shown in Figure 7, which is a schematic diagram of the hardware structure of an in-vehicle audio playback device in some embodiments of this application, the in-vehicle audio playback device provided in the embodiments of this application also includes a memory 1000 and a processor 2000. The memory 1000 is used to store computer-readable instructions, and the processor 2000 is used to call the computer-readable instructions to execute the in-vehicle audio playback control method as described above.
[0108] The processor 2000 provides computing and control capabilities to control the in-vehicle audio playback device to perform corresponding tasks, such as controlling the in-vehicle audio playback device to perform the in-vehicle audio playback control method in any of the above method embodiments. The method includes: generating a first control command in response to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate; controlling the first audio player to turn off and controlling the second audio player to turn on according to the first control command; determining the initial playback volume of the second audio player based on the initial volume value of the first audio player; wherein the initial playback volume of the second audio player is positively correlated with the initial volume value of the first audio player; controlling the second audio player to play audio at the initial playback volume, and adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger compartment, wherein the playback parameters include at least one of sound field radiation direction and playback volume.
[0109] The processor 2000 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0110] The memory 1000, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the vehicle audio playback control method in the embodiments of this application. The processor 2000 can implement the vehicle audio playback control method in any of the above method embodiments by running the non-transitory software programs, instructions, and modules stored in the memory 1000.
[0111] Specifically, memory 1000 may include volatile memory (VM), such as random access memory (RAM); memory 1000 may also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), solid-state drive (SSD), or other non-transitory solid-state storage devices; memory 1000 may also include combinations of the above types of memory.
[0112] In summary, the in-vehicle audio playback device of this application adopts the technical solution of any of the above-described embodiments of the in-vehicle audio playback control method. Therefore, it has at least the beneficial effects brought about by the technical solutions of the above embodiments, which will not be elaborated further here.
[0113] This application also provides a computer-readable storage medium, such as a memory including program code, which can be executed by a processor to complete the in-vehicle audio playback control method described above. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CDROM), magnetic tape, floppy disk, or optical data storage device, etc.
[0114] This application also provides a computer program product comprising one or more lines of program code stored in a computer-readable storage medium. The processor of the warning system reads the program code from the computer-readable storage medium and executes the program code to complete the steps of the in-vehicle audio playback control method provided in the above embodiments.
[0115] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program or program code related to hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0116] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or of course, using hardware. Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0118] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A vehicle-mounted audio playback control method, applied to a vehicle-mounted audio playback device, characterized in that, The in-vehicle audio playback device includes a first audio player located in the driver's cabin and a second audio player located in the passenger cabin. The method includes: generating a first control command in response to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate; controlling the first audio player to turn off and controlling the second audio player to turn on according to the first control command; determining an initial playback volume of the second audio player based on the initial volume value of the first audio player; wherein the initial playback volume of the second audio player is positively correlated with the initial volume value of the first audio player; controlling the second audio player to play audio at the initial playback volume, and adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin, wherein the playback parameters include at least one of sound field radiation direction and playback volume.
2. The in-vehicle audio playback control method as described in claim 1, characterized in that, Before adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger compartment, the method further includes: acquiring pressure monitoring data from each seat pressure sensor in the passenger compartment; if the first pressure data corresponding to the left seating space is greater than or equal to the pressure threshold and the duration is greater than or equal to the duration threshold, it is determined that there is a passenger in the left seating space; if the second pressure data corresponding to the right seating space is greater than or equal to the pressure threshold and the duration is greater than or equal to the duration threshold, it is determined that there is a passenger in the right seating space.
3. The in-vehicle audio playback control method as described in claim 2, characterized in that, The step of adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin includes: when there are passengers in the left or right seating space of the passenger cabin, controlling the sound field radiation direction of the second audio player to be adjusted towards the target seating space, and simultaneously reducing the initial playback volume by a first preset ratio to obtain a first target playback volume; wherein, the target seating space is the left or right seating space where passengers are present.
4. The in-vehicle audio playback control method as described in claim 2, characterized in that, The step of adjusting the playback parameters of the second audio player according to the passenger position distribution in the passenger cabin includes: when there are passengers in both the left and right seating spaces of the passenger cabin, controlling the second audio player to adjust the sound field radiation direction to cover both the left and right seating spaces of the passenger cabin, and simultaneously reducing the initial playback volume by a second preset ratio to obtain a second target playback volume; when there are no passengers in either the left or right seating spaces of the passenger cabin, generating a second control command, and turning off the second audio player according to the second control command.
5. The in-vehicle audio playback control method as described in claim 4, characterized in that, The control of the second audio player to adjust the sound field radiation direction to cover the left and right passenger spaces of the passenger cabin includes: controlling the sound field radiation center axis of the second audio player to align with the separation position of the left and right passenger spaces; or, controlling the second audio player to periodically switch the sound field radiation direction so that the sound field radiation of the second audio player alternately faces the left and right passenger spaces.
6. The in-vehicle audio playback control method as described in claim 5, characterized in that, The method of controlling the second audio player to periodically switch the sound field radiation direction includes: acquiring in real time the opening status detection signals of the windows corresponding to the left and right passenger spaces; when the opening status detection signal indicates that the window on the target side is open, shortening the duration of the sound field radiation of the second audio player toward the target passenger space by a preset ratio; wherein, the target side is the side of the left or right passenger space where the window is open.
7. The in-vehicle audio playback control method as described in claim 6, characterized in that, The step of shortening the duration of the sound field radiation of the second audio player toward the target side of the passenger space by a preset ratio includes: obtaining the real-time moving distance of the window on the target side through the Hall sensor of the window lifting mechanism, calculating the window opening area; and dynamically adjusting the preset ratio according to the ratio of the window opening area to the maximum window opening area.
8. The in-vehicle audio playback control method as described in claim 1, characterized in that, Determining the initial playback volume of the second audio player based on the initial volume value of the first audio player includes: calculating the first sound pressure level (SPL) of the first audio player at the geometric center point of the passenger cabin based on the current sound field model of the first audio player; determining the initial playback volume required to satisfy the second SPL at the geometric center point through a reverse derivation algorithm based on the sound field propagation model of the second audio player; wherein the difference between the second SPL and the first SPL does not exceed a preset threshold.
9. The in-vehicle audio playback control method as described in claim 1, characterized in that, The step of generating a first control command in response to the volume of the first audio player decreasing from an initial volume value to a first threshold at a preset decreasing rate includes: obtaining the vehicle's driving speed when the volume of the first audio player decreases from an initial volume value to the first threshold at a preset decreasing rate; determining that the vehicle's driving speed is less than or equal to a speed threshold; and generating the first control command.
10. The in-vehicle audio playback control method as described in claim 1, characterized in that, After the volume of the first audio player decreases from the initial volume value to the first threshold at a preset decreasing rate, the method further includes: acquiring the vehicle's driving speed, determining that the vehicle's driving speed is greater than the speed threshold, generating a third control command; and controlling the first audio player to turn off and keeping the second audio player in a turned-off state according to the third control command.
11. A vehicle-mounted audio playback device, characterized in that, include: A first audio player is located in the cockpit, which is situated in the front row of the vehicle. A second audio player is located in the passenger compartment, which is situated in the rear passenger space of the vehicle; And a memory and a processor, wherein the memory is used to store program code; The processor is used to call the program code to perform the method as described in any one of claims 1 to 10.
12. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for controlling sound level of audio device in vehicles
CN102035488A
Video playing method and device based on vehicle, equipment and storage medium
CN117061801A