CN111078184A - Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment - Google Patents

Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111078184A
CN111078184A CN201911345427.4A CN201911345427A CN111078184A CN 111078184 A CN111078184 A CN 111078184A CN 201911345427 A CN201911345427 A CN 201911345427A CN 111078184 A CN111078184 A CN 111078184A
Authority
CN
China
Prior art keywords
volume
compensation
current
playing
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911345427.4A
Other languages
Chinese (zh)
Inventor
于双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Hubei Ecarx Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Ecarx Technology Co Ltd filed Critical Hubei Ecarx Technology Co Ltd
Priority to CN201911345427.4A priority Critical patent/CN111078184A/en
Publication of CN111078184A publication Critical patent/CN111078184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/13Acoustic transducers and sound field adaptation in vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a car machine volume compensation method, which comprises the following steps: acquiring the current speed of the vehicle in real time; acquiring the current playing volume of the vehicle audio in real time; acquiring the current compensation level of the vehicle, and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among the vehicle speed parameter, the playing volume parameter and the volume compensation information; processing the current vehicle speed and the current playing volume according to the volume compensation table, and acquiring corresponding volume compensation information from the volume compensation table according to a processing result; compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume; and playing the vehicle audio according to the actual playing volume. The invention also discloses a vehicle volume compensation method and device, a storage medium and electronic equipment. By adopting the method and the device, the problem of poor experience effect on audio output caused by tire noise, engine noise, wind noise and the like in the driving process can be solved.

Description

Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment
Technical Field
The present invention relates to a vehicle audio processing method, and in particular, to a vehicle audio volume compensation method, device, storage medium, and electronic device.
Background
With the rapid development of automobile electronics, the updating of vehicle-mounted systems is also changing day by day, and higher requirements are put forward for entertainment. The user pays more attention to the user experience while using the in-vehicle entertainment system. When the car machine plays multimedia music, if a car runs at a high speed, tire noise, engine noise, wind noise and the like can make a user not clearly hear sound output by the car-mounted loudspeaker, at the moment, the user needs to manually adjust the car-mounted loudspeaker to improve the volume, but the car speed is changed constantly, the noise can also change along with the change of the car speed, so that the user needs to continuously adjust the system volume to find the best experience, and obviously, the manual adjustment mode is not very convenient. In addition, in the process of driving, if the center console is frequently operated, a hidden danger exists for the driving safety.
Disclosure of Invention
In order to solve the technical problem, in a first aspect, the present invention discloses a car machine volume compensation method, where the volume compensation method includes:
acquiring the current speed of the vehicle;
acquiring the current playing volume of the vehicle audio;
acquiring the current compensation level of the vehicle, and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among a vehicle speed parameter, a play volume parameter and volume compensation information;
processing the current vehicle speed and the current playing volume according to the volume compensation table, and acquiring corresponding volume compensation information from the volume compensation table according to a processing result;
compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume;
and playing the vehicle audio according to the actual playing volume.
Optionally, the volume compensation method further includes:
acquiring current road condition information of the vehicle;
determining road condition compensation information according to the current road condition information and the current compensation grade;
and compensating the current playing volume according to the road condition compensation information and the volume compensation information to obtain the actual playing volume.
Optionally, the volume compensation method further includes:
acquiring current environmental information around the vehicle;
determining environmental compensation information according to the current environmental information and the current compensation grade;
and compensating the current playing volume according to the environment compensation information and the volume compensation information to obtain the actual playing volume.
Optionally, the volume compensation method further includes:
acquiring current road condition information of the running vehicle and current environment information around the vehicle;
determining road condition compensation information according to the current road condition information and the current compensation grade, and determining environment compensation information according to the current environment information and the current compensation grade;
and compensating the current playing volume according to the road condition compensation information, the environment compensation information and the volume compensation information to obtain the actual playing volume.
Further, the volume compensation method further includes:
judging whether a user sets a volume compensation range, wherein the volume compensation range comprises a compensation lower limit and a compensation upper limit for carrying out volume compensation on the current playing volume;
if the user sets a volume compensation range, acquiring the volume compensation range set by the user;
judging the volume gain of the vehicle audio after compensation according to the current playing volume and the actual playing volume;
judging whether the volume gain is within the volume compensation range;
if the volume gain is within the volume compensation range, controlling the vehicle audio to be played according to the actual playing volume;
if the volume gain is lower than the compensation lower limit, controlling the vehicle audio to play according to the volume compensated by the compensation lower limit;
and if the volume gain is higher than the upper compensation limit, controlling the vehicle audio to play according to the volume compensated by the upper compensation limit.
Further, the volume compensation method further includes:
judging whether a volume compensation switch is turned on or not;
if the volume compensation switch is not turned on, the current playing volume is not compensated;
and if the volume compensation switch is turned on, compensating the current playing volume.
Further, the volume compensation method further includes:
judging whether the actual playing volume reaches the maximum value of the vehicle output volume or not;
if the actual playing volume reaches the maximum value of the output volume of the car machine, playing the car audio according to the maximum value of the output volume of the car machine and keeping the car audio;
and if the actual playing volume does not reach the maximum value of the car output volume, playing the car audio according to the actual playing volume.
Further, the playing the vehicle audio according to the actual playing volume comprises:
acquiring the category of the vehicle audio;
and outputting the vehicle audio to corresponding playing equipment for playing according to the category of the vehicle audio.
Further, the obtaining of the current playing volume of the vehicle audio in real time includes:
acquiring the output voltage of the playing equipment when the vehicle audio is played;
and calculating the current playing volume according to the rated voltage of the playing equipment and the output voltage.
In a second aspect, the present invention further provides a car-mounted device volume compensation apparatus, where the volume compensation apparatus includes:
the vehicle speed acquisition module is used for acquiring the current vehicle speed of the vehicle;
the playing volume acquisition module is used for acquiring the current playing volume of the vehicle audio;
the volume compensation table determining module is used for acquiring the current compensation level of the vehicle and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among a vehicle speed parameter, a play volume parameter and volume compensation information;
the volume compensation information acquisition module is used for processing the current vehicle speed and the current playing volume according to the volume compensation table and acquiring corresponding volume compensation information from the volume compensation table according to a processing result;
the actual playing volume determining module is used for compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume;
and the playing module is used for playing the vehicle audio according to the actual playing volume.
In a third aspect, the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, at least one program, a code set, or a set of instructions is loaded by a processor and executes the car body volume compensation method according to any one of the above descriptions.
In a fourth aspect, the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the car body volume compensation method according to any one of the above embodiments.
By adopting the technical scheme, the invention has the following beneficial effects: the volume of multimedia output by the vehicle machine can be changed along with the change of the vehicle speed, and when the engine stops running, the strategy for compensating the volume is invalid. The problem of in the driving process, because tire noise, engine noise and wind noise etc. cause experience effect poor to audio output can be solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a car-mounted device volume compensation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an audio management system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a car-mounted device volume compensation method according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an implementation manner of step S110 according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an implementation manner of step S120 according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an implementation manner of step S160 according to the embodiment of the present invention;
fig. 7 is a schematic flow chart illustrating another car-mounted device volume compensation method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart illustrating another car-mounted device volume compensation method according to an embodiment of the present invention;
fig. 9 is a schematic flow chart illustrating another car-mounted device volume compensation method according to an embodiment of the present invention;
fig. 10 is a schematic flow chart illustrating another car-mounted device volume compensation method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a car-mounted device volume compensation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic may be included in at least one implementation of the invention. In the description of the present invention, it is to be understood that the terms "upper", "lower", "top", "bottom", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Moreover, the terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Example (b):
referring to fig. 1, a schematic view of an application scenario of a car-mounted device volume compensation method according to an embodiment of the present invention is shown, where the car-mounted device volume compensation method is applied to a car-mounted system with an audio management function. As shown in fig. 1, the in-vehicle system 100 includes an audio management system 110. Further, as shown in fig. 2, the audio management system includes a connection module 111, a control module 112, and an audio output module 113.
The connection module 111 is used for managing audio input sources, such as playing music or making a call through a bluetooth headset, playing usb sound sources, playing local sound sources, and the like. Specifically, the connection module 111 is used to connect the local disk and the bluetooth mobile phone to perform audio input, such as multimedia music input source, system sound, or input of the bluetooth mobile phone. The control module 112 is configured to set an audio control policy, that is, to control which sound source can be output, detect related information, and execute a volume policy of the currently played sound source according to the related information; the related information is mainly information for determining volume compensation. The audio output module 113 is mainly an output device for controlling the current audio, and is usually referred to as a vehicle speaker for output. The sound output by the vehicle speakers generally includes: navigation, answering/making calls, radio, playing music, news voice broadcast, VR voice recognition, vehicle warning tones, system alert tones, and the like. The car machine volume compensation method mainly compensates for the output sound types.
Referring to fig. 3, a car-mounted device volume compensation method is shown, wherein the volume compensation method includes:
s110: the current speed of the vehicle is obtained.
In some possible embodiments, as shown in fig. 4, the step S110 may include the following steps:
s111: judging whether the speed of the vehicle changes or not;
s112: and if the speed of the vehicle changes, acquiring the current speed of the vehicle.
Further, the current vehicle speed can be detected through a control module of the audio management system, and if the vehicle speed changes, an external Electronic Control Unit (ECU) sends the current vehicle speed to the control module through network Remote Procedure Call (RPC) communication. The vehicle speed range detected by the control module can be 0-200 KM/h.
S120: and acquiring the current playing volume of the vehicle audio.
In some possible embodiments, as shown in fig. 5, the step S120 may include:
s121: acquiring the output voltage of the playing equipment when the vehicle audio is played;
s122: and calculating the current playing volume according to the rated voltage of the playing equipment and the output voltage.
In an embodiment of the present invention, the volume may be expressed in a logarithmic manner following Weber's law and fisher's law (Weber-Fechnerlaw). In the Android system, the volume may also be called loudness and intensity, which refers to the subjective feeling of the human ear on the magnitude of the heard sound, and the objective evaluation scale is the amplitude of the sound. This sensation is derived from the pressure, i.e. sound pressure, generated when the object vibrates. The object vibrates through different media, conducting its vibrational energy away. In order to quantify the perception of sound as a monitorable indicator, one divides the sound pressure into "levels" -sound pressure levels, so that the intensity of the sound can be objectively represented in units called "decibels" (dB).
Wherein dB is defined as 20lg (Volume), wherein Volume is Volume, and can be understood as the ratio of the voltage output by the loudspeaker to the rated voltage (representing the range between 0 and 1); namely Volume ═ exp ((dB × ln 10)/20). Specifically, the voltage varies with the change in decibels, and the relationship between the two conforms to a logarithmic curve, which is a volume curve, and the volume curve described below has a dB range of (-99 to 0dB) and an output voltage range of (0v to 5 v).
S130: and acquiring the current compensation level of the vehicle, and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among the vehicle speed parameter, the playing volume parameter and the volume compensation information.
It will be appreciated that the compensation for volume may be set to a number of levels, each level having its corresponding compensation policy, based on user-defined settings or product provider presets.
For example, in some possible embodiments, the compensation levels may include a High level (High), a medium level (Mid), and a Low level (Low), in which case the compensation amount of the High level is greater than that of the medium level. Therefore, the user can select the corresponding compensation grade to compensate according to the requirement of the user, and better use experience is obtained. Of course, according to the actual situation, only the high level, the medium level and the low level can be set, and other self-defined levels can be set to meet the actual requirements. In the embodiment of the present invention, only the high, medium and low compensation levels are described. In addition, in actual operation, a certain grade may be selected as a default grade, for example, a middle grade may be selected as a default grade, or a grade frequently used by a user may be automatically selected as a default grade.
In some possible embodiments, the volume compensation information may be an offset of the audio volume, that is, the volume that needs to be increased or decreased based on the current volume.
Specifically, as shown in tables 1 to 3, there are a compensated volume table at a low level of compensation, a compensated volume table at a medium level of compensation, and a compensated volume table at a high level of compensation, respectively. In the table, the longitudinal direction represents the vehicle speed parameter (taking the detection range of 0-200 KM/h as an example), the transverse direction represents the dB value of the playing volume parameter, and the content in the table unit represents the offset of the audio dB value increased according to the playing volume parameter and the vehicle speed parameter. In addition, the compensation volume table may be a data structure imported at initialization of the audio management system.
TABLE 1
Figure BDA0002333206080000081
TABLE 2
Figure BDA0002333206080000082
Figure BDA0002333206080000091
TABLE 3
Figure BDA0002333206080000092
S140: and processing the current vehicle speed and the current playing volume according to the volume compensation table, and acquiring the corresponding volume compensation information from the volume compensation table according to the processing result.
In some possible embodiments, the processing of the current vehicle speed and the current playing volume may be quantization processing; the quantization processing can be understood as that the current vehicle speed is judged to be in an interval range corresponding to a certain two vehicle speed parameters, the difference value between the current vehicle speed and two end points of the interval is compared, and the end point value with the smaller difference value is selected as the vehicle speed parameter for selecting the volume compensation information from the volume compensation table. Similarly, judging that the current playing volume is in an interval range corresponding to a certain two playing volume parameters according to the current playing volume, comparing the absolute value of the difference value between the current playing volume and two endpoints of the interval, and selecting the endpoint value with smaller absolute value of the difference value as the playing volume parameter for selecting volume compensation information from a volume compensation table.
Taking the above table as an example, for example, if the current compensation level of the vehicle is obtained as the middle level, the corresponding volume compensation table is determined as the compensation table of the middle level compensation level, that is, table 2. And if the obtained current vehicle speed is 87km/h and the current playing volume is-48 dB, respectively carrying out quantization processing on the current vehicle speed and the current playing volume. The current vehicle speed is quantized to judge that the current vehicle speed is 87km/h in a vehicle speed parameter 80 km/h-vehicle speed parameter 90km/h interval, the absolute value of the difference between the current vehicle speed 87km/h and the vehicle speed parameter 80km/h is 7, the absolute value of the difference between the current vehicle speed 87km/h and the vehicle speed parameter 90km/h is 3, and then 90km/h is selected as an actual vehicle speed parameter; the quantization processing of the current playing volume can be that-48 dB of the current playing volume is judged to be in the interval of-45 dB of the playing volume parameter and-50 dB of the playing volume parameter, the absolute value of the difference value between the current playing volume-48 dB and the playing volume parameter-45 dB is 3, the absolute value of the difference value between the current vehicle speed-48 dB and the playing volume parameter-50 dB is 2, and then-50 dB is selected as the actual playing volume parameter. Therefore, in the compensation table of the middle-level compensation level, the vehicle speed parameter is 90km/h, the playing volume parameter is-50 dB, and the 15dB offset is obtained as volume compensation information.
Further, if the current vehicle speed or the current playing volume is a median, a larger parameter is taken as a vehicle speed parameter or a playing volume parameter. For example, if the current vehicle speed is 85km/h, the current playing volume is-47.5 dB, which is the median of the vehicle speed parameter and the playing volume parameter, respectively, i.e., the absolute value of the difference between the current vehicle speed 85km/h and the vehicle speed parameter 80km/h is equal to the absolute value of the difference between the current vehicle speed 90km/h and the absolute value of the difference between the current playing volume-47.5 dB and the playing volume parameter-45 dB is equal to the absolute value of the difference between the current playing volume-50 dB and the playing volume parameter-45 dB. Then, 90km/h is selected as an actual vehicle speed parameter, 45dB is selected as an actual playing volume parameter, and 12dB offset is obtained according to the actual playing volume parameter to serve as volume compensation information.
The corresponding volume compensation information can be dynamically searched from the corresponding volume compensation table through the current vehicle speed and the current playing volume acquired in real time, so that the volume compensation can be compensated along with the actual working condition.
S150: and compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume.
S160: and playing the vehicle audio according to the actual playing volume.
In some possible embodiments, as shown in fig. 6, the step S160 further includes:
s161: acquiring the category of the vehicle audio;
s162: and outputting the vehicle audio to corresponding playing equipment for playing according to the category of the vehicle audio.
It will be appreciated that there are many audio categories in the car system, such as navigation, answering/making calls, radio, playing music, news voice broadcasts, VR voice recognition, vehicle warning tones, system alert tones, etc. The way it is played is different for different classes of audio.
In some possible embodiments, the audio may be output to the corresponding playback device through Policy. Specifically, the Policy policies mainly include Policy1 Policy and Policy2 Policy. Wherein, Policy1 is to output audio such as multimedia music/radio to the front and back rows of the automobile; policy2 means that in addition to other audio in Policy1 (e.g., multimedia music, radio, etc.) as described above, such as navigation, telephone, alarm, etc., audio can be output at the front row of the car. And an output module of the audio management system judges and implements an output Policy strategy of the audio management system according to the type of the currently played sound, so that the corresponding sound is output at a proper position.
Through the mode, the volume of multimedia output by the vehicle can be changed along with the change of the vehicle speed, and when the engine stops running, the strategy for volume compensation is invalid. The problem of in the driving process, because tire noise, engine noise and wind noise etc. cause experience effect poor to audio output can be solved.
The actual driving road conditions of the vehicle are complex, for example, the external noise may be different when the vehicle is driven on a highway, an urban area, a rural area, a rainy or snowy day, a windy day, a clear sky, etc. Specifically, for the road conditions, the road conditions on a common expressway are better, and the wind noise and the tire noise are consistent with the situations; the noise of the urban road also takes the noise of the environment into consideration besides the tire noise and the wind noise; the rural roads have the condition of uneven gravel road and the like, and the tire noise can be increased. For the weather, the wind noise is smaller in clear sky and breeze; wind noise increases in windy days; and the tire noise is reduced in rainy and snowy days. Among them, the snow tire noise is reduced because a water film is formed between the tire and the road surface to separate friction between the tire and the road surface, so that the noise is reduced. The same factor exists in snowy weather, snow and tire friction is reduced, and tire noise is naturally reduced. Therefore, the following solutions are provided in the embodiments of the present invention for different road conditions and weather.
In some possible embodiments, as shown in fig. 7, the influence of the road condition on the volume compensation is mainly considered, and the volume compensation method may further include:
s210: acquiring current road condition information of the vehicle;
s220: determining road condition compensation information according to the current road condition information and the current compensation grade;
s230: and compensating the current playing volume according to the road condition compensation information and the volume compensation information to obtain the actual playing volume.
Before step S210, the implementation steps of steps S110 to S140 may be further included, and step S150 may be implemented by step S230.
It is understood that the road condition compensation information may be different for different road condition information and different current compensation levels. Specifically, the traffic compensation information may be a specific volume compensation value. For example, if the current volume compensation level is medium and the road condition of the vehicle is a highway, the road condition compensation value is 0, that is, the volume compensation gain is compensated according to the above table 2. If the road condition of the vehicle is urban road, the road condition compensation value is set to be 3dB, namely 3dB is added on the basis of the volume compensation value in the table 2. If the road condition of the vehicle is a country road and the vehicle speed is lower than 60KM/h, the road condition compensation value is set to 2dB, that is, 2dB is added on the basis of the volume compensation value in table 2.
In other possible embodiments, as shown in fig. 8, mainly considering the influence of weather on the volume compensation, the volume compensation method may further include:
s310: acquiring current environmental information around the vehicle;
s320: determining environmental compensation information according to the current environmental information;
s330: and compensating the current playing volume according to the environment compensation information and the volume compensation information to obtain the actual playing volume.
Before step S310, the implementation steps of steps S110 to S140 may be further included, and step S150 may be implemented by step S330.
It will be appreciated that the environmental compensation information may also be different for different environmental information, mainly the weather conditions around the vehicle while it is running, and different current compensation levels. Specifically, the traffic compensation information may be a specific volume compensation value. For example, if the current volume compensation level is medium and the environment around the vehicle is breeze in a sunny day, the environment compensation value is 0, that is, the volume compensation gain is compensated as shown in table 2. If the environment around the vehicle is windy, the environment compensation value is set to be 3dB, namely 3dB is added on the basis of the volume compensation value in the table 2. Wherein, the grade of blowing can be regarded as the strong wind weather at 5 ~ 7 grades. If the environment around the vehicle is rainy or snowy weather, setting the environmental compensation value to be 2dB, namely reducing the environmental compensation value by 2dB on the basis of the volume compensation value in the table 2; but the actual volume value after the reduction is larger than the volume value before the uncompensation, that is, the volume value when the volume compensation function is turned off.
In some possible embodiments, as shown in fig. 9, considering the influence of road conditions and weather on the volume compensation, the volume compensation method may further include:
s410: acquiring current road condition information of the running vehicle and current environment information around the vehicle;
s420: determining road condition compensation information according to the current road condition information and determining environment compensation information according to the current environment information;
s430: and compensating the current playing volume according to the road condition compensation information, the environment compensation information and the volume compensation information to obtain the actual playing volume.
Before step S410, the implementation steps of steps S110 to S140 may be further included, and step S150 may be implemented by step S430.
The compensation mode is the same as the two compensation modes which respectively consider road condition information and environment information, and the compensation mode comprehensively considers two factors of the road condition and the environment to compensate the volume, so that the compensation mode can adapt to the requirements of different road conditions and environments.
In some possible embodiments, as shown in fig. 10, the volume compensation method further includes:
s510: judging whether a user sets a volume compensation range, wherein the volume compensation range comprises a compensation lower limit and a compensation upper limit for carrying out volume compensation on the current playing volume;
s520: if the user sets a volume compensation range, acquiring the volume compensation range set by the user;
s530: judging the volume gain of the vehicle audio after compensation according to the current playing volume and the actual playing volume;
s540: judging whether the volume gain is within the volume compensation range;
s550: if the volume gain is within the volume compensation range, controlling the vehicle audio to be played according to the actual playing volume;
s560: if the volume gain is lower than the compensation lower limit, controlling the vehicle audio to play according to the volume compensated by the compensation lower limit;
s570: and if the volume gain is higher than the upper compensation limit, controlling the vehicle audio to play according to the volume compensated by the upper compensation limit.
By the above-described embodiment, operability of user participation can be improved. In actual use, multi-level upper and lower limit values of gain can be provided for users according to needs.
For example, the user sets a compensation lower limit of 10% and a compensation upper limit of 50% for the volume compensation. If the volume gain is lower than 10%, controlling the vehicle audio to play after being compensated according to 10% gain, namely playing according to 110% of the actual playing volume; if the volume gain is higher than 50%, controlling the vehicle audio to play after being compensated according to 50% of the gain, namely playing according to 150% of the actual playing volume; and if the volume gain is between 10% and 50%, playing according to the actual playing volume.
Typically, the lower and upper compensation limits are between 10% and 100%.
In some possible embodiments, the volume compensation method further includes:
judging whether a volume compensation switch is turned on or not;
if the volume compensation switch is not turned on, the current playing volume is not compensated;
and if the volume compensation switch is turned on, compensating the current playing volume.
The volume compensation switch may be a physical button or a virtual button disposed on the display screen. And if the volume compensation switch is turned on, the current playing volume can be compensated in any one of the above modes.
In some possible embodiments, the volume compensation method further includes:
judging whether the actual playing volume reaches the maximum value of the vehicle output volume or not;
if the actual playing volume reaches the maximum value of the output volume of the car machine, playing the car audio according to the maximum value of the output volume of the car machine and keeping the car audio;
and if the actual playing volume does not reach the maximum value of the car output volume, playing the car audio according to the actual playing volume.
In some possible embodiments, the volume compensation method further includes:
judging whether the vehicle audio stops playing; if the playback is stopped, the above-mentioned arbitrary volume compensation method is ended.
An embodiment of the present invention further provides a car-mounted device volume compensation apparatus, as shown in fig. 11, the volume compensation apparatus 100 includes:
the vehicle speed obtaining module 101 is used for obtaining the current vehicle speed of the vehicle;
the playing volume acquiring module 102 is used for acquiring the current playing volume of the vehicle audio;
the volume compensation table determining module 103 is configured to obtain a current compensation level of the vehicle, and determine a corresponding volume compensation table according to the current compensation level, where the volume compensation table stores a corresponding relationship between a vehicle speed parameter, a play volume parameter, and volume compensation information;
a volume compensation information obtaining module 104, configured to process the current vehicle speed and the current playing volume according to the volume compensation table, and obtain corresponding volume compensation information from the volume compensation table according to a processing result;
an actual playing volume determining module 105, configured to compensate the current playing volume of the vehicle audio according to the volume compensation information to obtain an actual playing volume;
and the playing module 106 is configured to play the vehicle audio according to the actual playing volume.
Furthermore, the car volume compensation device can be integrated in the control module.
The embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded by a processor and executes any one of the above-mentioned car-mounted device volume compensation methods.
The embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement any one of the above car-mounted device volume compensation methods.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, system and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. The car machine volume compensation method is characterized by comprising the following steps:
acquiring the current speed of the vehicle;
acquiring the current playing volume of the vehicle audio;
acquiring the current compensation level of the vehicle, and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among a vehicle speed parameter, a play volume parameter and volume compensation information;
processing the current vehicle speed and the current playing volume according to the volume compensation table, and acquiring corresponding volume compensation information from the volume compensation table according to a processing result;
compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume;
and playing the vehicle audio according to the actual playing volume.
2. The car machine volume compensation method according to claim 1, wherein the volume compensation method further comprises:
acquiring current road condition information of the vehicle;
determining road condition compensation information according to the current road condition information and the current compensation grade;
and compensating the current playing volume according to the road condition compensation information and the volume compensation information to obtain the actual playing volume.
3. The car machine volume compensation method according to claim 1, wherein the volume compensation method further comprises:
acquiring current environmental information around the vehicle;
determining environmental compensation information according to the current environmental information and the current compensation grade;
and compensating the current playing volume according to the environment compensation information and the volume compensation information to obtain the actual playing volume.
4. The car machine volume compensation method according to claim 1, wherein the volume compensation method further comprises:
acquiring current road condition information of the running vehicle and current environment information around the vehicle;
determining road condition compensation information according to the current road condition information and the current compensation grade, and determining environment compensation information according to the current environment information and the current compensation grade;
and compensating the current playing volume according to the road condition compensation information, the environment compensation information and the volume compensation information to obtain the actual playing volume.
5. The car machine volume compensation method according to any one of claims 1 to 4, wherein the volume compensation method further comprises:
judging whether a user sets a volume compensation range, wherein the volume compensation range comprises a compensation lower limit and a compensation upper limit for carrying out volume compensation on the current playing volume;
if the user sets a volume compensation range, acquiring the volume compensation range set by the user;
judging the volume gain of the vehicle audio after compensation according to the current playing volume and the actual playing volume;
judging whether the volume gain is within the volume compensation range;
if the volume gain is within the volume compensation range, controlling the vehicle audio to be played according to the actual playing volume;
if the volume gain is lower than the compensation lower limit, controlling the vehicle audio to play according to the volume compensated by the compensation lower limit;
and if the volume gain is higher than the upper compensation limit, controlling the vehicle audio to play according to the volume compensated by the upper compensation limit.
6. The car machine volume compensation method according to any one of claims 1 to 4, wherein the volume compensation method further comprises:
judging whether a volume compensation switch is turned on or not;
if the volume compensation switch is not turned on, the current playing volume is not compensated;
and if the volume compensation switch is turned on, compensating the current playing volume.
7. The car machine volume compensation method according to any one of claims 1 to 4, wherein the volume compensation method further comprises:
judging whether the actual playing volume reaches the maximum value of the vehicle output volume or not;
if the actual playing volume reaches the maximum value of the output volume of the car machine, playing the car audio according to the maximum value of the output volume of the car machine and keeping the car audio;
and if the actual playing volume does not reach the maximum value of the car output volume, playing the car audio according to the actual playing volume.
8. The in-vehicle volume compensation method according to claim 1, wherein the playing the vehicle audio according to the actual playing volume comprises:
acquiring the category of the vehicle audio;
and outputting the vehicle audio to corresponding playing equipment for playing according to the category of the vehicle audio.
9. The car-mounted device volume compensation method according to claim 1, wherein the obtaining of the current playing volume of the car audio in real time comprises:
acquiring the output voltage of the playing equipment when the vehicle audio is played;
and calculating the current playing volume according to the rated voltage of the playing equipment and the output voltage.
10. The utility model provides a car machine volume compensation arrangement which characterized in that, volume compensation arrangement includes:
the vehicle speed acquisition module is used for acquiring the current vehicle speed of the vehicle;
the playing volume acquisition module is used for acquiring the current playing volume of the vehicle audio;
the volume compensation table determining module is used for acquiring the current compensation level of the vehicle and determining a corresponding volume compensation table according to the current compensation level, wherein the volume compensation table stores the corresponding relation among a vehicle speed parameter, a play volume parameter and volume compensation information;
the volume compensation information acquisition module is used for processing the current vehicle speed and the current playing volume according to the volume compensation table and acquiring corresponding volume compensation information from the volume compensation table according to a processing result;
the actual playing volume determining module is used for compensating the current playing volume of the vehicle audio according to the volume compensation information to obtain the actual playing volume;
and the playing module is used for playing the vehicle audio according to the actual playing volume.
11. A computer-readable storage medium having stored thereon at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded by a processor and executes the method of compensating for vehicle volume as claimed in any one of claims 1-9.
12. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the car machine volume compensation method according to any one of claims 1 to 9.
CN201911345427.4A 2019-12-24 2019-12-24 Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment Pending CN111078184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345427.4A CN111078184A (en) 2019-12-24 2019-12-24 Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345427.4A CN111078184A (en) 2019-12-24 2019-12-24 Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111078184A true CN111078184A (en) 2020-04-28

Family

ID=70317148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345427.4A Pending CN111078184A (en) 2019-12-24 2019-12-24 Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111078184A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422913A (en) * 2022-01-27 2022-04-29 中国第一汽车股份有限公司 Volume adjusting method and device, central control equipment, vehicle and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931936A (en) * 2012-11-12 2013-02-13 刘沛 Vehicle-loaded sound source sound volume adjustment method and system thereof
CN104980789A (en) * 2015-02-12 2015-10-14 深圳市腾讯计算机系统有限公司 Method for adjusting media playing volume, media player and electronic equipment
CN207910993U (en) * 2018-01-30 2018-09-25 北京长城华冠汽车技术开发有限公司 A kind of car audio system and motor vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931936A (en) * 2012-11-12 2013-02-13 刘沛 Vehicle-loaded sound source sound volume adjustment method and system thereof
CN104980789A (en) * 2015-02-12 2015-10-14 深圳市腾讯计算机系统有限公司 Method for adjusting media playing volume, media player and electronic equipment
CN207910993U (en) * 2018-01-30 2018-09-25 北京长城华冠汽车技术开发有限公司 A kind of car audio system and motor vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422913A (en) * 2022-01-27 2022-04-29 中国第一汽车股份有限公司 Volume adjusting method and device, central control equipment, vehicle and storage medium

Similar Documents

Publication Publication Date Title
CN109147815B (en) System and method for selective volume adjustment in a vehicle
EP1067682A2 (en) Ambient adjusted volume control for in-vehicle messages
US8340308B2 (en) Method and apparatus for automatic noise compensation used with audio reproduction equipment
US20080071400A1 (en) Audio processing system
CN112397084B (en) Method for adaptively adjusting multimedia volume, vehicle-mounted terminal and computer storage medium
CN110599989B (en) Audio processing method, device and storage medium
CN101151800B (en) A method of and a device for processing audio data, a program element and a computer-readable medium
CN114103850B (en) System for realizing active sound enhancement of automobile
CN105721004A (en) Vehicular radio control method and device, vehicular radio and vehicle
CN114194128A (en) Vehicle volume control method, vehicle, and storage medium
CN111078184A (en) Vehicle-mounted machine volume compensation method and device, storage medium and electronic equipment
CN110789478B (en) Vehicle-mounted sound parameter auxiliary adjusting method and device and audio processor
CN101373959A (en) Apparatus and method for regulating warning tone based on circumstance
CN110525450B (en) Method and system for adjusting sensitivity of vehicle-mounted voice
CN113270098B (en) Voice control method, vehicle, cloud and storage medium
CN111427535A (en) Audio playing method, device, terminal and computer readable storage medium
JP2002232247A (en) Adaptive sound quality and sound volume controller, audio system using adaptive sound quality and sound volume controller, communication terminal device and information terminal device
CN116980804A (en) Volume adjustment method, device, equipment and readable storage medium
JP2010141468A (en) Onboard acoustic apparatus
KR20080054254A (en) Car media player
CN111009251B (en) Vehicle-mounted sound mixing method and device
CN111739496B (en) Audio processing method, device and storage medium
CN114727374A (en) Control method and device of electric automobile and vehicle-mounted audio system
CN112235001B (en) Vehicle-mounted radio noise suppression method and device
KR0165230B1 (en) Automatic volume controlling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220413

Address after: 430056 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: No.c101, chuanggu start up zone, taizihu cultural Digital Industrial Park, No.18 Shenlong Avenue, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200428