Volume speed-following test method and device for vehicle-mounted sound equipment and new energy automobile
By using automated testing methods, the shortcomings of manual testing for the volume speed-sensitive adjustment function of in-vehicle audio systems have been addressed. This has enabled efficient and accurate volume speed-sensitive testing, provided rich data support, and improved testing consistency and efficiency.
Patent Information
- Application Number
- CN202511537463.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2026-01-23
AI Technical Summary
In existing technologies, the testing of the speed-sensitive volume adjustment function of car audio systems relies on manual testing, which is highly subjective, has low test consistency, is inefficient, lacks objective data support, and makes it difficult to provide quantitative data, thus affecting the optimization effect.
An automated testing method is used. By reading the vehicle audio software version and obtaining preset data, a safety check is performed, and then a test script is executed to control the vehicle's movement and record speed and volume changes, thereby automatically generating test results.
It has enabled the automation and sustainability of speed-dependent volume testing for in-vehicle audio systems, improved test consistency and efficiency, provided more data support, and ensured the accuracy and reliability of test results.
Smart Images

Figure CN121397445A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of vehicle audio and volume control technology, in particular, relates to a vehicle audio volume speed test method, device, new energy vehicle and electronic equipment. BACKGROUND
[0002] With the increasing demand of users for vehicle entertainment system experience, the volume speed adjustment function has become an indispensable core function in modern car audio system. The implementation of the above function is to dynamically adjust the output gain of the power amplifier based on the real-time driving speed of the vehicle without changing the user's preset volume value, thereby effectively compensating for the environmental noise interference caused by the increase in vehicle speed.
[0003] However, the existing technology for volume speed adjustment function detection mainly relies on manual testing scheme, that is, the tester drives the vehicle to different speeds and evaluates the volume compensation effect under each sensitivity level through subjective listening. Obviously, this method has obvious limitations, such as strong subjectivity, difficult to quantify, individual differences in the sensitivity of human ears to different frequency bands, and the tester's hearing level, fatigue level, and even personal preferences may affect the evaluation results, resulting in low test consistency; the difference in listening of different gain effects is small, and multiple tests are needed to distinguish, which is low in test efficiency and time-consuming and labor-intensive; the above scheme can only rely on subjective measurement and recording, lacks objective data support, and is prone to draw wrong conclusions. Manual testing can only rely on qualitative description and cannot provide quantitative data of the volume gain curve, which is not conducive to problem cause analysis and optimization. SUMMARY
[0004] The purpose of the present application is to provide a vehicle audio volume speed test method, device, new energy vehicle and electronic equipment, which can realize automatic and sustainable volume speed test without relying on manual detection, has high test consistency and higher efficiency, can realize multiple accurate tests, and provides more data support for vehicle audio adjustment.
[0005] In a first aspect, the present application provides a vehicle audio volume speed test method, which comprises: reading the audio software version corresponding to the vehicle; obtaining preset data corresponding to the audio software version; performing safety detection on the vehicle, and executing a pre-set test script when the vehicle is in a safe state; performing volume speed adjustment test on the vehicle according to the test script to obtain test data; comparing the test data with the preset data to obtain test results.
[0006] In the implementation process, the vehicle is automatically subjected to a volume-speed adjustment test according to the test script, and the obtained test data is compared with preset data to obtain a volume-speed test result of the vehicle audio, so that the volume-speed test can be automatically and continuously performed without relying on manual detection, the test consistency is high, the efficiency is higher, and multiple accurate tests can be performed to provide more data support for adjustment of the vehicle audio.
[0007] Further, the step of detecting the safety of the vehicle comprises: obtaining a CAN bus signal of the vehicle; detecting whether the safety belt, the door, the trunk and the front hood of the vehicle are in a closed state according to the CAN bus signal; if yes, determining that the vehicle is in a safe state; if no, determining that the vehicle is in an unsafe state and cannot be subjected to the volume-speed test.
[0008] In the implementation process, the safety state of the vehicle is detected before the volume-speed test is performed, so as to avoid that noise hidden dangers in the driving process of the vehicle affect the test, avoid unnecessary noise, and provide environmental support for extraction of volume data.
[0009] Further, the step of performing the volume-speed adjustment test on the vehicle according to the test script to obtain test data comprises: controlling the vehicle audio of the vehicle to play audio according to an audio playing instruction; adjusting the volume of the audio according to the test script, and adjusting the volume to a preset volume; controlling the vehicle to drive according to a vehicle driving instruction, and controlling the vehicle to drive from 0 to a preset vehicle speed to obtain first change data of the vehicle speed changing with time; obtaining second change data of the volume of the vehicle audio changing with time during the process that the vehicle drives from 0 to the preset vehicle speed; obtaining the test data according to the first change data and the second change data.
[0010] In the implementation process, the vehicle speed is controlled to change from 0 to a preset vehicle speed, and the change data of the vehicle speed changing with time and the data of the volume changing with time during the process are obtained, both of which take time as a measurement standard, so that the speed measurement process is more accurate.
[0011] Further, the step of obtaining the test data according to the first change data and the second change data comprises: obtaining third change data of the volume changing with the vehicle speed according to the first change data; obtaining fourth variation data of volume variation sensitivity changing with vehicle speed according to the first variation data; obtaining the test data according to the third variation data and the fourth variation data.
[0012] In the implementation process, the data of volume changing with vehicle speed and the data of volume variation sensitivity changing with vehicle speed are extracted according to time, so that the change characteristics of volume can be more intuitively presented, and the test result is guaranteed.
[0013] Further, the step of obtaining third variation data of volume changing with vehicle speed according to the first variation data comprises: obtaining a preset speed resolution; splitting the first variation data according to the speed resolution to obtain time corresponding to each speed point; extracting first volume detection data at the time corresponding to each speed point in the second variation data; generating the third variation data of volume changing with vehicle speed according to each speed point and the first volume detection data.
[0014] In the implementation process, the driving speed of the vehicle is positioned to a specific speed point according to the preset speed resolution, and then the volume change corresponding to each speed point is extracted, so that the test efficiency of volume changing with speed can be improved, the volume change is accurately corresponded to the vehicle speed, and the error is reduced.
[0015] Further, the step of obtaining fourth variation data of volume variation sensitivity changing with vehicle speed according to the first variation data comprises: obtaining a preset volume variation sensitivity; splitting the first variation data according to the volume variation sensitivity to obtain time corresponding to each change of volume variation sensitivity; extracting second volume detection data at the time corresponding to each change of volume variation sensitivity in the second variation data; generating the fourth variation data of volume variation sensitivity changing with vehicle speed according to each volume variation sensitivity and the second volume detection data.
[0016] In the implementation process, the time node corresponding to each volume variation sensitivity is extracted according to the preset volume variation sensitivity and time binding, so that the extraction accuracy of volume variation sensitivity can be improved, and the change degree of volume can be more easily captured.
[0017] Further, the step of obtaining the test data according to the third variation data and the fourth variation data comprises: comparing the third change data and the fourth change data according to time, to obtain the test data; The test data includes a preset volume-speed change curve, an actual volume-speed change curve, a volume-speed gain curve of different sensitivities, and a preset volume and actual volume-speed change comparison curve.
[0018] In the above implementation process, comparing the third change data and the fourth change data according to time can clearly and explicitly obtain the change trend and degree of volume-speed change, thereby providing data support for subsequent volume adjustment and analysis.
[0019] Further, before the step of adjusting the volume-speed of the vehicle according to the test script to obtain test data, the method further includes: Turning off the volume-speed adjustment function of the vehicle.
[0020] In the above implementation process, the volume-speed adjustment function of the vehicle is turned off to avoid the influence of the extraction of the volume and the capture of the volume change sensitivity of the vehicle during driving.
[0021] In a second aspect, the embodiments of the present application also provide a volume-speed test device for a vehicle audio, the device comprising: a reading module configured to read a corresponding audio software version of the vehicle; a data obtaining module configured to obtain preset data corresponding to the audio software version; a safety detection module configured to perform safety detection on the vehicle, and execute a pre-set test script when the vehicle is in a safe state; a test module configured to perform volume-speed adjustment test on the vehicle according to the test script to obtain test data, and further configured to compare the test data with the preset data to obtain a test result.
[0022] In the above implementation process, the vehicle is automatically tested for volume-speed adjustment according to the test script, and the obtained test data is compared with the preset data to obtain the test result of the volume-speed test of the vehicle audio, so that the automatic and sustainable volume-speed test can be realized, the test consistency is high, the efficiency is higher, and the accurate test can be realized for multiple times, thereby providing more data support for the adjustment of the vehicle audio.
[0023] In a third aspect, the embodiments of the present application provide a new energy vehicle comprising the volume-speed test device for a vehicle audio of the second aspect.
[0024] In a fourth aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the steps of the method according to any one of the first aspect when running the computer program.
[0025] In a fifth aspect, a computer readable storage medium is provided, and the storage medium stores instructions, and the instructions, when running on a computer, cause the computer to perform the method according to any one of the first aspect.
[0026] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent to those skilled in the art, or can be learned by practice of the present disclosure as set forth in the claims and preceding description.
[0027] And can be implemented in accordance with the contents of the specification, the following with the preferred embodiments of the present application and cooperate with the drawings as follows. BRIEF DESCRIPTION OF DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application, it should be understood that the following drawings only show some embodiments of the present application, therefore, should not be regarded as limiting the scope, for those skilled in the art, without paying the creative labor, can also obtain other related drawings according to these drawings.
[0029] Figure 1 The flowchart of the volume-speed test method of the car audio provided by the embodiments of the present application is shown in the figure; Figure 2 The structural composition schematic diagram of the volume-speed test device of the car audio provided by the embodiments of the present application is shown in the figure; Figure 3 The structural composition schematic diagram of the electronic device provided by the embodiments of the present application is shown in the figure. DETAILED DESCRIPTION
[0030] The technical solutions of the embodiments of the present application will be described below in combination with the drawings in the embodiments of the present application.
[0031] It should be noted that: similar signs and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present application, the terms "first", "second" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0032] The specific embodiments of the present application are described in further detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application, but are not used to limit the scope of the present application.
[0033] The prior art relies on manual testing for the detection of the volume with speed adjustment function, which is highly subjective, the results are difficult to quantify, and the test consistency is low. The difference in listening feeling of different gain effects is small, and multiple tests are needed to distinguish, which is low in test efficiency and time-consuming and labor-intensive. There is a lack of objective data support, which is easy to draw wrong conclusions. Manual testing can only rely on qualitative description and cannot provide quantitative data of the volume gain curve, which is not conducive to problem cause analysis and optimization.
[0034] The present application directly reads the vehicle speed signal and controls the vehicle to enter the target speed through automatic script, eliminates manual operation errors, and records the mapping relationship between the vehicle speed and the volume in real time through timestamp alignment without manual intervention, and realizes the full-automatic test process.
[0035] Embodiment one Figure 1 The flowchart of the volume with speed test method of the vehicle-mounted audio provided by the embodiment of the present application is shown in FIG. 1, which comprises the following steps: Figure 1 S1, reading the corresponding audio software version of the vehicle; S2, obtaining the preset data corresponding to the audio software version; S3, performing safety detection on the vehicle, and executing the pre-set test script when the vehicle is in a safe state; S4, performing volume with speed adjustment test on the vehicle according to the test script to obtain test data; S5, comparing the test data with the preset data to obtain the test result.
[0036] In the above implementation process, the vehicle is automatically tested for volume with speed adjustment according to the test script, and the obtained test data is compared with the preset data to obtain the test result of the volume with speed of the vehicle-mounted audio. The automatic and sustainable volume with speed test can be realized without relying on manual detection, the test consistency is high, the efficiency is higher, and multiple accurate tests can be realized to provide more data support for the adjustment of the vehicle-mounted audio.
[0037] In S1, the vehicle information and the audio software version are identified, and the audio software version is read to obtain the preset data corresponding to the audio software version.
[0038] In the present application, the vehicle information identification mainly performs vehicle information detection, controller software version identification (such as audio software version), software information input, etc. The frame number information of the vehicle and the software version information of the audio system controller are read through the CANoe tool.
[0039] The embodiment of the application is realized by a test device (a decibel tester, a notebook computer), and the test device is arranged at a fixed position in the vehicle.
[0040] Further, S3 comprises: obtaining a CAN bus signal of the vehicle; detecting, according to the CAN bus signal, whether a seat belt, a door, a trunk and a front hood of the vehicle are in a closed state; if yes, determining that the vehicle is in a safe state; if no, determining that the vehicle is in an unsafe state, and the volume-speed test cannot be performed.
[0041] In the implementation process, the safety state of the vehicle is detected before the volume-speed test is performed, so as to avoid that noise hidden dangers in the vehicle driving process affect the test, avoid unnecessary noise, and provide environmental support for extraction of volume data.
[0042] When the tester clicks the program to start the test, it is detected through the CAN signal whether the driver has fastened the seat belt, the four doors, the trunk and the front hood are closed, to ensure the safety of the tester, and when the safety state is ensured, the test script based on the CAN bus is started.
[0043] Further, S4 comprises: controlling the vehicle audio to play audio according to an audio playing instruction; adjusting the volume of the audio according to the test script, to a preset volume; controlling the vehicle to drive according to a vehicle driving instruction, to obtain first change data of the vehicle speed changing with time from 0 to a preset vehicle speed; obtaining second change data of the volume of the vehicle audio changing with time during the process that the vehicle drives from 0 to the preset vehicle speed; obtaining test data according to the first change data and the second change data.
[0044] In the implementation process, the vehicle speed is controlled to increase from 0 to the preset vehicle speed, and the change data of the vehicle speed changing with time and the data of the volume changing with time during the process are obtained, both of which take time as a measurement standard, so that the speed test process is more accurate.
[0045] The audio playing instruction is obtained through the CANoe tool, and the volume of the audio is adjusted to a preset volume. The vehicle driving instruction is sent by an automatic program of the test script, the vehicle speed is controlled to increase from 0 to the preset vehicle speed according to the set vehicle speed ladder, and the change information of the speed with time (first change data) is recorded. The automatic program controls the decibel tester to detect the volume information in the vehicle, and the change information of the volume with time (second change data) is recorded.
[0046] Further, the step of obtaining the test data according to the first change data and the second change data comprises: obtaining third change data of the volume change with the vehicle speed according to the first change data; obtaining fourth change data of the volume change sensitivity change with the vehicle speed according to the first change data; obtaining the test data according to the third change data and the fourth change data.
[0047] In the above implementation process, the data of the volume change with the vehicle speed and the data of the volume change sensitivity change with the vehicle speed are extracted according to time, which can more intuitively show the volume change characteristics and provide guarantee for the test results.
[0048] Further, the step of obtaining the third change data of the volume change with the vehicle speed according to the first change data comprises: obtaining a preset speed resolution; splitting the first change data according to the speed resolution to obtain the time corresponding to each speed point; extracting the first volume detection data at the time corresponding to each speed point in the second change data; generating the third change data of the volume change with the vehicle speed according to each speed point and the first volume detection data.
[0049] In the above implementation process, the driving speed of the vehicle is positioned to a specific speed point according to the preset speed resolution, and then the volume change corresponding to each speed point is extracted, which can improve the test efficiency of the volume change with the speed, accurately correspond the volume change to the vehicle speed, and reduce the error.
[0050] According to the preset speed resolution, the volume detection information corresponding to each speed point is found out to form the third change data of the volume change with the vehicle speed.
[0051] Further, the step of obtaining the fourth change data of the volume change sensitivity change with the vehicle speed according to the first change data comprises: obtaining a preset volume change sensitivity; splitting the first change data according to the volume change sensitivity to obtain the time corresponding to each volume change sensitivity change; extracting the second volume detection data at the time corresponding to each volume change sensitivity change in the second change data; generating the fourth change data of the volume change sensitivity change with the vehicle speed according to each volume change sensitivity and the second volume detection data.
[0052] In the implementation process, the time node corresponding to each volume change sensitivity is extracted according to the preset volume change sensitivity and time binding, which can improve the extraction accuracy of the volume change sensitivity and more easily capture the degree of volume change.
[0053] The volume change sensitivity is set to low, medium and high, and the fourth change data of the volume change with the vehicle speed under different volume change sensitivities is generated, which can meet the design requirements of the volume gain intensity under different sensitivities.
[0054] Further, the step of obtaining test data according to the third change data and the fourth change data comprises: comparing the third change data and the fourth change data according to time to obtain test data; The test data includes a preset volume change curve with vehicle speed, an actual volume change curve with vehicle speed, a volume change gain curve with vehicle speed under different sensitivities, and a comparison curve of preset volume and actual volume change with vehicle speed.
[0055] In the implementation process, the third change data and the fourth change data are compared according to time, and the change trend and degree of volume change with vehicle speed can be clearly and explicitly obtained, which provides data support for subsequent volume adjustment and analysis.
[0056] According to the volume-speed change information under the condition that the volume-speed adjustment function is closed, and combining the preset gain size of low, medium and high sensitivity input by the test personnel, the preset volume-speed change curve under different sensitivities is automatically calculated and compared with the actual measured volume-speed change under low, medium and high sensitivity.
[0057] Further, before the step of obtaining test data by testing the volume-speed adjustment of the vehicle according to the test script, it further comprises: Close the volume-speed adjustment function of the vehicle.
[0058] In the implementation process, the volume-speed adjustment function of the vehicle is closed to avoid the influence of the extraction of the volume and the capture of the volume change sensitivity during the driving of the vehicle.
[0059] In this application, the test script can automatically complete the test tasks of opening and closing the volume-speed adjustment function, sensitivity switching, automatic control of vehicle speed and synchronous acquisition of the volume detection results of the decibel tester. By analyzing the vehicle speed information of CANoe and the volume information of the decibel tester, the volume-speed adjustment function is closed.
[0060] In S5, the test result synchronously stores the vehicle information and the test result, compares and analyzes the test data of the sound gain at different vehicle speeds with the preset data, and outputs the test result of the sound gain at different vehicle speeds in the form of a volume gain comparison curve and a test report, that is, the test result includes two parts of test data and a test report.
[0061] The application writes the vehicle information, the preset volume change curve with the vehicle speed, the actual volume change curve with the vehicle speed, the volume gain curve with the vehicle speed at different sensitivities, the preset volume change comparison curve with the vehicle speed, and the actual volume change comparison curve with the vehicle speed into the data storage, and outputs the test result through the display screen according to the display mode setting.
[0062] The above test data can be switched in the display screen, and finally the vehicle information and the test data are written into the test report to generate the test report.
[0063] Embodiment Two In order to perform the method corresponding to the above-mentioned embodiment one, to realize the corresponding functions and technical effects, the following provides a volume speed test device for vehicle-mounted sound equipment, as shown in Figure 2 The device comprises: A reading module 1 for reading the corresponding sound equipment software version of the vehicle; A data obtaining module 2 for obtaining preset data corresponding to the sound equipment software version; A safety detection module 3 for performing safety detection on the vehicle, and executing a pre-set test script when the vehicle is in a safe state; A test module 4 for adjusting the volume with the speed of the vehicle according to the test script to obtain test data, and for comparing the test data with the preset data to obtain a test result.
[0064] In the above implementation process, the vehicle is automatically adjusted in volume with speed according to the test script, and the obtained test data is compared with the preset data to obtain the test result of the volume speed test of the vehicle-mounted sound equipment, which can realize automatic and sustainable volume speed test, does not need to rely on manual detection, has high test consistency and higher efficiency, can realize multiple accurate tests, and provides more data support for the adjustment of the vehicle-mounted sound equipment.
[0065] Further, the safety detection module 3 is further used for: obtaining the CAN bus signal of the vehicle; detecting whether the safety belt, the door, the trunk and the front hood of the vehicle are in a closed state according to the CAN bus signal; if yes, determining that the vehicle is in a safe state; if no, determining that the vehicle is in an unsafe state and cannot be tested in volume with speed.
[0066] In the implementation process, the safety state of the vehicle is detected before the volume-speed test is performed, so as to avoid the influence of noise hidden dangers in the vehicle driving process on the test, avoid unnecessary noise, and provide environmental support for the extraction of volume data.
[0067] Further, the test module 4 is further used for: controlling the vehicle-mounted audio to play audio according to the audio playing instruction; adjusting the volume of the audio according to the test script, and adjusting the volume to a preset volume; controlling the vehicle to drive according to the vehicle driving instruction, controlling the vehicle to drive from 0 to a preset vehicle speed, and obtaining first change data of the change of the vehicle speed with time; obtaining second change data of the change of the volume of the vehicle-mounted audio with time during the driving of the vehicle from 0 to the preset vehicle speed; obtaining test data according to the first change data and the second change data.
[0068] In the implementation process, the change data of the vehicle speed with time and the data of the change of the volume with time during the process of controlling the vehicle speed from 0 to the preset vehicle speed are obtained, and both of them take time as the measurement standard, so that the speed test process is more accurate.
[0069] Further, the test module 4 is further used for: obtaining third change data of the change of the volume with the vehicle speed according to the first change data; obtaining fourth change data of the change of the volume change sensitivity with the vehicle speed according to the first change data; obtaining test data according to the third change data and the fourth change data.
[0070] In the implementation process, the data of the change of the volume with the vehicle speed and the data of the change of the volume change sensitivity with the vehicle speed are extracted according to time, which can more intuitively show the change characteristics of the volume and provide protection for the test results.
[0071] Further, the test module 4 is further used for: obtaining a preset speed resolution; splitting the first change data according to the speed resolution to obtain time corresponding to each speed point; extracting first volume detection data at the time corresponding to each speed point in the second change data; generating third change data of the change of the volume with the vehicle speed according to each speed point and the first volume detection data.
[0072] In the implementation process, the driving speed of the vehicle is positioned to a specific speed point according to a preset speed resolution, and then the volume change corresponding to each speed point is extracted, which can improve the test efficiency of the volume change with speed, accurately correspond the volume change to the vehicle speed, and reduce the error.
[0073] Further, the test module 4 is further used for: obtaining a preset volume change sensitivity; According to the volume change sensitivity, the first change data is split to obtain the time corresponding to each volume change sensitivity change; extracting the second volume detection data under the time corresponding to each volume change sensitivity change in the second change data; According to each volume change sensitivity and the second volume detection data, the fourth change data of the volume change sensitivity change with the vehicle speed is generated.
[0074] In the implementation process, the volume change sensitivity is bound to the time according to the preset, and then the time node corresponding to each volume change sensitivity is extracted, which can improve the extraction accuracy of the volume change sensitivity and more easily capture the volume change degree.
[0075] Further, the test module 4 is further used for: comparing the third change data and the fourth change data according to time to obtain test data; The test data includes a preset volume change curve with vehicle speed, an actual volume change curve with vehicle speed, a different sensitivity volume change gain curve with vehicle speed, and a preset volume and actual volume change comparison curve with vehicle speed.
[0076] In the implementation process, the third change data and the fourth change data are compared according to time, which can clearly and explicitly obtain the change trend and degree of the volume change with the vehicle speed, and provide data support for subsequent volume adjustment and analysis.
[0077] Further, the device further comprises a closing module for: closing the volume adjustment function of the vehicle with speed.
[0078] In the implementation process, the volume adjustment function of the vehicle with speed is closed, which avoids the influence of the extraction of the volume and the capture of the volume change sensitivity during the driving process of the vehicle.
[0079] The above-mentioned volume change with speed test device of the vehicle-mounted audio can implement the method of the above-mentioned embodiment one. The options in the above-mentioned embodiment one are also applicable to this embodiment, which will not be described in detail here.
[0080] The remaining contents of this embodiment can be referred to the contents of Embodiment 1 above, and will not be repeated in this embodiment.
[0081] Example 3 This application provides a new energy vehicle, including the vehicle audio volume speed-sensitive testing device of Embodiment 2.
[0082] Example 4 This application provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor runs the computer program to enable the electronic device to perform the speed-dependent volume testing method for a vehicle audio system according to Embodiment 1.
[0083] Alternatively, the aforementioned electronic device may be a server.
[0084] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating the structural composition of an electronic device provided in an embodiment of this application. The electronic device may include a processor 31, a communication interface 32, a memory 33, and at least one communication bus 34. The communication bus 34 is used to enable direct communication between these components.
[0085] Optionally, the electronic device may also include a storage controller and an input / output unit. The memory 33, storage controller, processor 31, peripheral interface, and input / output unit are electrically connected to each other directly or indirectly to realize data transmission or interaction.
[0086] Input / output units are used to enable users to create tasks and set optional start periods or preset execution times for those tasks, facilitating user-server interaction. Input / output units can be, but are not limited to, a mouse and keyboard.
[0087] Understandable. Figure 3 The structure shown is for illustrative purposes only; the electronic device may also include components that are more advanced than those shown. Figure 3 The more or fewer components shown, or having the same Figure 3 Different configurations are shown. Additionally, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the speed-sensitive volume control method for a vehicle audio system as described in Embodiment 1.
[0088] This application also provides a computer program product that, when run on a computer, causes the computer to perform the method described in the method embodiment.
[0089] The above merely provides an example of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, and thus, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings.
[0090] The above merely provides an example of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, and thus, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings.
[0090] The above merely provides an example of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, and thus, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings.
Claims
1. A method for testing the volume with speed of a car audio, characterized in that, The method comprises: reading the sound software version corresponding to the vehicle; obtaining preset data corresponding to the sound software version; safety detection of the vehicle, when the vehicle is in a safe state, executing a pre-set test script; volume speed adjustment test of the vehicle according to the test script, obtaining test data; comparing the test data with the preset data, obtaining test results.
2. The method of claim 1, wherein the volume level of the car audio is increased in response to an increase in the speed of the vehicle. The step of safety detection of the vehicle comprises: acquiring CAN bus signals of the vehicle; detecting whether the safety belt, door, trunk and front hood of the vehicle are in a closed state according to the CAN bus signals; if yes, determining that the vehicle is in a safe state; if no, determining that the vehicle is in a non-safe state and cannot perform volume speed test.
3. The method of claim 1, wherein the step of determining the volume level of the audio system is performed by a user. The step of volume speed adjustment test of the vehicle according to the test script, obtaining test data, comprises: controlling the vehicle audio of the vehicle to play audio according to audio playing instructions; adjusting the volume of audio to a preset volume according to the test script; controlling the vehicle to travel according to vehicle travel instructions, controlling the vehicle to travel from 0 to a preset vehicle speed, obtaining first change data of vehicle speed change over time; obtaining second change data of volume change over time of the vehicle audio during the process that the vehicle travels from 0 to the preset vehicle speed; obtaining the test data according to the first change data and the second change data.
4. The method of claim 3, wherein the step of determining the volume level of the audio system is performed by a user. The step of obtaining the test data according to the first change data and the second change data comprises: obtaining third change data of volume change over speed according to the first change data; obtaining fourth change data of volume change sensitivity change over speed according to the first change data; obtaining the test data according to the third change data and the fourth change data.
5. The method of claim 4, wherein the step of determining the volume level of the audio system is performed by a user. The step of obtaining the third change data of volume change over speed according to the first change data comprises: acquiring a pre-set speed resolution; splitting the first change data according to the speed resolution, obtaining time corresponding to each speed point; extracting first volume detection data at the time corresponding to each speed point in the second change data; generating the third change data of volume change over speed according to each speed point and the first volume detection data.
6. The method of claim 4, wherein the step of determining the volume level of the audio system is performed by a user. The step of obtaining the fourth change data of volume change sensitivity change over speed according to the first change data comprises: acquiring a pre-set volume change sensitivity; splitting the first change data according to the volume change sensitivity, obtaining time corresponding to each volume change sensitivity change; extracting second volume detection data at the time corresponding to each volume change sensitivity change in the second change data; generating the fourth change data of volume change sensitivity change over speed according to each volume change sensitivity and the second volume detection data.
7. The method of claim 4, wherein the step of determining the volume level of the audio system is performed by a user. The step of obtaining the test data according to the third change data and the fourth change data comprises: comparing the third change data and the fourth change data according to time, obtaining the test data; The test data includes a preset volume-speed curve, an actual volume-speed curve, a volume-speed gain curve of different sensitivities, and a preset volume-speed curve and an actual volume-speed curve comparison curve.
8. The method of claim 4, wherein the step of determining the volume level of the audio system is performed by a user. Before the step of adjusting the volume-speed of the vehicle according to the test script to obtain test data, the method further includes: Turning off the volume-speed adjustment function of the vehicle.
9. A device for testing the volume of a car audio system according to speed, characterized in that, The device includes: a reading module configured to read a corresponding audio software version of the vehicle; a data obtaining module configured to obtain preset data corresponding to the audio software version; a safety detection module configured to perform safety detection on the vehicle, and execute a pre-set test script when the vehicle is in a safe state; a test module configured to perform volume-speed adjustment test on the vehicle according to the test script to obtain test data, and compare the test data with the preset data to obtain test results.
10. A new energy vehicle, characterized in that, The volume-speed test device for the vehicle audio system includes the vehicle audio system of claim 8.
11. An electronic device, comprising: includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the method of claims 1-8.
12. A storage medium, characterized by The storage medium has instructions stored thereon, and when the instructions are executed on a computer, the computer executes the method of claims 1-8.