Method and device for adjusting audio to be output, equipment and storage medium

By dynamically determining the target adjustment parameters and combining the current and historical audio signal quality, the inadaptability and jitter problems of audio adjustment to be output in the existing technology are solved, and the audio signal quality and user experience are improved.

CN119314521AActive Publication Date: 2025-01-14CHENGDU CELIS TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411420383.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-14
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

In the prior art, the adjustment process of the audio to be output depends on fixed default parameters and cannot be adjusted adaptively, resulting in poor audio signal quality, jitter, and reducing user auditory experience.

Method used

By dynamically determining the target adjustment parameters based on the quality parameters and historical evaluation level of the current audio signal, using preset adjustment parameters between the current and historical evaluation levels, adjusting the output audio to avoid too high or too low adjustment force. Achieve adaptive adjustment.

Benefits of technology

It effectively avoids jitter in the audio to be output, improves the user's auditory experience, and ensures the matching and stability of the audio signal quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119314521A_ABST
    Figure CN119314521A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of audio, and discloses a to-be-output audio adjustment method and device, equipment and a storage medium, and the method comprises the steps: determining a current evaluation grade corresponding to the quality parameter of a current audio signal according to the quality parameter of the current audio signal and a preset grade evaluation function; determining a target adjustment parameter according to the high-low relationship between the signal quality represented by the current evaluation level corresponding to the quality parameter and the signal quality represented by the historical evaluation level, and adjusting the audio to be output based on the target adjustment parameter; if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, taking a preset adjustment parameter corresponding to the target evaluation level as a target adjustment parameter, adjusting the audio to be output, and updating the historical evaluation level to the target evaluation level; wherein the target evaluation grade is between the current evaluation grade and the historical evaluation grade of the quality parameter, so as to improve the experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio technology, and in particular to a method, device, equipment and storage medium for adjusting audio to be output. Background Art

[0002] The worse the audio signal quality of the audio to be output, the greater the audio noise and the more blurred the content. Currently, a static configuration filter is generally used to filter the noise, that is, a fixed default adjustment parameter is used to adjust the output audio. The audio adjustment process is relatively mechanical and cannot adaptively adjust the output audio.

[0003] In particular, if the adjustment strength of the fixed default adjustment parameters is too high, the adjusted audio to be output will cause obvious jitter, which reduces the user's auditory experience. Summary of the invention

[0004] In view of the above problems, the present application provides a method, device, equipment and storage medium for adjusting audio to be output, which are used to improve the jitter of the adjusted audio to be output, so as to improve the user's auditory experience.

[0005] According to one aspect of the present application, a method for adjusting audio to be output is provided, the adjustment method comprising: determining a current evaluation level corresponding to the quality parameter of the current audio signal according to a quality parameter of the current audio signal and a preset level evaluation function; determining a target adjustment parameter according to a high-low relationship between a signal quality represented by the current evaluation level corresponding to the quality parameter and a signal quality represented by a historical evaluation level, and adjusting the audio to be output based on the target adjustment parameter; if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, using the preset adjustment parameter corresponding to the target evaluation level as the target adjustment parameter, adjusting the audio to be output, and updating the historical evaluation level to the target evaluation level; wherein the target evaluation level is between the current evaluation level of the quality parameter and the historical evaluation level.

[0006] In an optional manner, the target adjustment parameter is determined based on the relationship between the signal quality represented by the current evaluation level of the quality parameter and the signal quality represented by the historical evaluation level, and the audio to be output is adjusted based on the target adjustment parameter, further including: if the signal quality represented by the current evaluation level of the quality parameter is equal to or lower than the signal quality represented by the historical evaluation level, the preset adjustment parameter corresponding to the current evaluation level is used as the target adjustment parameter, the audio to be output is adjusted, and the historical evaluation level is updated to the current evaluation level.

[0007] In an optional manner, the quality parameters include a signal level strength parameter, a multipath reflection interference parameter, and a signal white noise parameter; the target adjustment parameter is determined based on the relationship between the signal quality represented by the current evaluation level of the quality parameter and the signal quality represented by the historical evaluation level, further comprising: if the signal quality represented by the current evaluation level of the target quality parameter is higher than the signal quality represented by the target historical evaluation level, then the preset adjustment parameter corresponding to the designated evaluation level is used as the first adjustment parameter to obtain a corresponding number of first adjustment parameters; wherein the target quality parameter is any one of the level strength parameter, the multipath reflection interference parameter, and the signal white noise parameter, and the designated evaluation level is between the current evaluation level corresponding to the target quality parameter and the target historical evaluation level; if the signal quality represented by the current evaluation level of the target quality parameter is equal to or lower than the signal quality represented by the target historical evaluation level, then the preset adjustment parameter corresponding to the current evaluation level of the target quality parameter is used as the second adjustment parameter to obtain a corresponding number of second adjustment parameters; and the target adjustment parameter is determined based on the corresponding number of first adjustment parameters and the corresponding number of second adjustment parameters.

[0008] In an optional manner, determining the target adjustment parameter based on the corresponding number of first adjustment parameters and the corresponding number of second adjustment parameters further includes: merging all first adjustment parameters and all second adjustment parameters into initial target adjustment parameters; determining the same adjustment parameters in the initial target adjustment parameters, and the numerical values ​​of each same adjustment parameter; determining the same adjustment parameter with the largest numerical value from each same adjustment parameter, and deleting other same adjustment parameters, so as to deduplicate the initial target adjustment parameter to obtain the target adjustment parameter.

[0009] In an optional manner, the target adjustment parameters include a first target adjustment parameter corresponding to the level intensity parameter, a second target adjustment parameter corresponding to the multipath reflection interference parameter, and a third target adjustment parameter corresponding to the signal white noise parameter; adjusting the output audio based on the target adjustment parameters further includes: adjusting the output audio in different threads based on the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter; wherein the target adjustment parameters corresponding to each thread are different.

[0010] In an optional manner, determining the current evaluation level corresponding to the quality parameters of the current audio signal based on the quality parameters of the current audio signal and a preset grade evaluation function further includes: inputting the quality parameters of the current audio signal into a preset grade evaluation function to calculate a grade evaluation score; determining a target grade evaluation score interval to which the grade evaluation score belongs, and using the preset evaluation level corresponding to the target grade evaluation score interval as the current evaluation level corresponding to the quality parameters of the current audio signal.

[0011] In an optional manner, the adjustment method also includes: calculating multiple grade evaluation scores based on quality parameters of multiple historical audio signals and the preset grade evaluation function; determining multiple grade evaluation score intervals based on the multiple grade evaluation scores, and making each grade evaluation score interval correspond to a preset evaluation level; wherein, the higher the preset evaluation level representing the signal quality, the higher the adjustment parameter corresponding to the adjustment strength.

[0012] According to another aspect of the present application, there is provided an adjustment device for audio to be output, the adjustment device comprising: an evaluation level module, for determining a current evaluation level corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset level evaluation function; a target adjustment parameter determination module, for determining a target adjustment parameter according to the relationship between the signal quality represented by the current evaluation level corresponding to the quality parameter and the signal quality represented by the historical evaluation level, and adjusting the audio to be output based on the target adjustment parameter; a first adjustment submodule, for adjusting the audio to be output using the preset adjustment parameter corresponding to the target evaluation level as the target adjustment parameter if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, and updating the historical evaluation level to the target evaluation level; wherein the target evaluation level is between the current evaluation level of the quality parameter and the historical evaluation level.

[0013] According to one aspect of the present application, an electronic device is provided, including: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above-mentioned adjustment method is executed.

[0014] According to one aspect of the present application, a computer-readable storage medium is also provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the above-mentioned adjustment method.

[0015] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned adjustment method.

[0016] The present application compares the evaluation level of the quality parameter of the current audio signal with the historical evaluation level to determine the change in signal quality, thereby determining the target adjustment parameters for adjusting the audio to be output. Among them, if it is determined that the current signal quality is higher than the historical signal quality, it indicates that a higher adjustment intensity adjustment parameter is required to adjust the audio to be output. The present application adopts the preset adjustment parameters corresponding to the target evaluation level between the current evaluation level and the historical evaluation level to avoid the default adjustment parameters being too high or too low in adjustment intensity, and being unable to adaptively adjust the audio to be output. The present application adopts a method of dynamically adapting the adjustment parameters to avoid jitter in the audio to be output after adjustment based on the adjustment parameters, thereby improving the user's auditory experience.

[0017] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 It is a flowchart of a method for adjusting audio to be output shown in an exemplary embodiment of the present application.

[0020] Figure 2 is based on Figure 1 The exemplary embodiment shown is a schematic flow chart of another method for adjusting audio to be output.

[0021] Figure 3 is based on Figure 1 The exemplary embodiment shown is a schematic flow chart of another method for adjusting audio to be output.

[0022] Figure 4It is a flow chart of a method for adjusting the audio to be output in a preferred embodiment of the present application.

[0023] Figure 5 It is a schematic diagram of the application scenario of the information processing method of this application.

[0024] Figure 6 It is a structural schematic diagram of an adjustment device for audio to be output shown in an exemplary embodiment of the present application.

[0025] Figure 7 It is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0026] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0029] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0030] Currently, a static configuration filter is generally used to filter noise, that is, a fixed default adjustment parameter is used to adjust the output audio. The audio adjustment process is relatively mechanical and cannot adaptively adjust the output audio.

[0031] In particular, if the adjustment strength of the fixed default adjustment parameters is too high, the adjusted audio to be output will have obvious jitter; if the adjustment strength is too low, the noise problem of the audio to be output cannot be effectively improved, reducing the user's auditory experience.

[0032] To this end, one aspect of the present application provides a method for adjusting the audio to be output. Figure 1 , Figure 1 FIG. 1 is a flow chart of an exemplary embodiment of the present application showing a method for adjusting the audio to be output. The adjustment method at least includes S110 to S130, which are described in detail as follows:

[0033] S110: Determine a current evaluation level corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset level evaluation function.

[0034] The current audio signal is the audio signal at the current moment, and its quality parameters can characterize parameters such as audio noise and content ambiguity. The quality parameters are input into a preset grade evaluation function, and the corresponding score values ​​are calculated to match the corresponding evaluation grade. This embodiment digitizes the quality parameters to intuitively display the quality of the audio signal.

[0035] Exemplarily, the quality parameter of the current audio signal is input into a preset grade evaluation function to calculate the grade evaluation score; the target grade evaluation score interval to which the grade evaluation score belongs is determined, and the preset evaluation grade corresponding to the target grade evaluation score interval is used as the current evaluation grade corresponding to the quality parameter of the current audio signal. Among them, each grade evaluation score interval is an interval determined based on the evaluation score of the historical audio signal. Specifically, according to the quality parameters of multiple historical audio signals and the preset grade evaluation function, multiple grade evaluation scores are calculated. For example, the corresponding quality parameters are input into the preset grade evaluation function to calculate the corresponding grade evaluation score.

[0036] According to the multiple level evaluation scores, multiple level evaluation score intervals are determined, and each level evaluation score interval corresponds to a preset evaluation level; wherein the preset evaluation level representing a higher signal quality corresponds to an adjustment parameter with a higher adjustment strength. For example, cluster analysis is performed on each level evaluation score to determine multiple cluster clusters, so as to determine the level evaluation score range of each cluster cluster, thereby obtaining multiple level evaluation score intervals.

[0037] If there are multiple quality parameters, a corresponding number of preset grade evaluation functions are adapted, and each quality parameter is input into the corresponding preset grade evaluation function to obtain the current evaluation grade corresponding to each quality parameter. In some embodiments, the evaluation grades corresponding to each quality parameter can be weighted and summed to obtain a current evaluation grade. In some other embodiments, all quality parameters can be fused and input into a preset evaluation function to calculate the current evaluation grade.

[0038] The evaluation level is an evaluation index that characterizes the quality of the quality parameters, and different evaluation levels represent different degrees of quality. For example, the higher the evaluation level, the better the quality represented by the quality parameters, that is, the higher the audio signal quality; or, the higher the evaluation level, the worse the quality represented by the quality parameters, that is, the lower the audio signal quality.

[0039] S120: Determine a target adjustment parameter according to the relationship between the signal quality represented by the current evaluation level corresponding to the quality parameter and the signal quality represented by the historical evaluation level, and adjust the output audio based on the target adjustment parameter.

[0040] The historical evaluation level is a level determined based on the historical quality parameters of the historical audio signal. This embodiment compares it with the current evaluation level, so that the quality change of the current audio signal compared with the historical audio signal can be intuitively known. For example, the higher the evaluation level, the worse the quality of the audio signal represented. If the current evaluation level is lower than the historical evaluation level, the signal quality represented by the current level is higher than the historical signal quality.

[0041] The target adjustment parameter is the preset adjustment parameter corresponding to the corresponding evaluation level, and the adjustment strength of the preset adjustment parameter corresponding to different evaluation levels is different. For example, the lower the evaluation level, the higher the quality of the characterization signal, the higher the adjustment strength requirement of the corresponding adjustment parameter, the more types of adjustment parameters involved, and the wider the adjustment range, in order to ensure that the quality of the audio to be output matches the quality of the audio signal.

[0042] This embodiment selects appropriate adjustment parameters to adjust the audio to be output. Compared with the existing static adjustment (i.e., adjustment using fixed default adjustment parameters), it can better adapt to real-time scene requirements to improve the situation where the audio to be output is over-adjusted or the adjustment force is insufficient.

[0043] S130: If the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, the preset adjustment parameter corresponding to the target evaluation level is used as the target adjustment parameter to adjust the output audio, and the target evaluation level is updated to the historical evaluation level; wherein the target evaluation level is between the current evaluation level and the historical evaluation level of the quality parameter.

[0044] If the current signal quality is higher than the historical signal quality, it indicates that the current signal quality has improved. The better the signal quality, the higher the output quality requirement of the corresponding audio to be output, which makes it necessary to adjust the adjustment parameters of the audio to be output with greater force. If the adjustment parameters corresponding to the historical evaluation level are still used for adjustment, the adjustment force of the audio to be output will be insufficient, resulting in the inability of the adjusted audio to be output to match the audio signal, the output sound quality is poor, and the user's auditory experience is reduced.

[0045] If the adjustment intensity is greatly increased, resulting in a large deviation in the sound quality of the current audio to be output and the historical audio output, the audio will be obviously jittery. For this reason, this embodiment does not directly use the adjustment parameter corresponding to the current evaluation level, but selects the adjustment parameter corresponding to the evaluation level between the current evaluation level and the historical evaluation level, so as to adjust the audio to be output by using the adjustment parameter of the relaxation intensity to improve the smoothness of the audio to be output.

[0046] Exemplarily, the worse the signal quality is, the higher the evaluation level is, and the lower the adjustment strength of the corresponding adjustment parameters is. If the current evaluation level is level 2 and the historical evaluation level is level 5, that is, the signal quality represented by the current evaluation level is higher than the signal quality represented by the historical evaluation level, then the adjustment parameters corresponding to the evaluation level of level 4 are selected to adjust the audio to be output. Among them, if the adjustment parameters corresponding to the evaluation level of 2 are directly used to adjust the audio to be output, and the historical evaluation level is updated from level 5 to level 4. Because there is a large difference between the historical adjustment parameters and the current adjustment parameters, the adjusted audio to be output will have obvious jitters, and the adjustment parameters corresponding to the evaluation level one level lower than the historical evaluation level are selected, that is, the adjustment strength is increased by one level to achieve smooth adjustment of the audio to be output.

[0047] Furthermore, if the current evaluation level is level 2 and the historical evaluation level is level 3, that is, there is no intermediate level between the current evaluation level and the historical evaluation level, the current evaluation level is directly used as the target evaluation level, and its corresponding adjustment parameters are used as target adjustment parameters to adjust the output audio, and the historical evaluation level is updated from level 3 to level 2.

[0048] It is worth noting that each time the output audio is adjusted, the target evaluation level needs to be updated to the current evaluation level of the quality parameter, so as to compare it with the evaluation level corresponding to the next moment.

[0049] This embodiment compares the evaluation level of the quality parameter of the current audio signal with the historical evaluation level to determine the change in signal quality, thereby determining the target adjustment parameter for adjusting the audio to be output. Among them, if it is determined that the current signal quality is higher than the historical signal quality, it indicates that a higher adjustment intensity adjustment parameter is required to adjust the audio to be output. This embodiment adopts the preset adjustment parameter corresponding to the target evaluation level between the current evaluation level and the historical evaluation level to avoid the default adjustment parameter being too high or too low in adjustment intensity, and being unable to adaptively adjust the audio to be output. This application adopts a method of dynamically adapting the adjustment parameters to avoid jitter in the audio to be output after adjustment based on the adjustment parameters, so that the user's auditory experience is improved.

[0050] In another exemplary embodiment of the present application, another adjustment method for the audio to be output is described in detail. Figure 2 , Figure 2 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for adjusting the audio to be output. Figure 1 The S120 shown further includes S210, which is described in detail as follows:

[0051] S210: If the signal quality represented by the current evaluation level of the quality parameter is equal to or lower than the signal quality represented by the historical evaluation level, the preset adjustment parameter corresponding to the current evaluation level is used as the target adjustment parameter to adjust the output audio, and the historical evaluation level is updated to the current evaluation level.

[0052] Exemplarily, the worse the signal quality is, the higher the evaluation level is, and the lower the adjustment strength of the corresponding adjustment parameters is. If the current evaluation level is level 3 and the historical evaluation level is level 1, that is, the signal quality represented by the current evaluation level is lower than the signal quality represented by the historical evaluation level, then the adjustment parameters corresponding to the level 3 evaluation level are selected to adjust the output audio, and the historical evaluation level is updated from level 1 to level 3. Among them, when the current signal quality is lower than the historical signal quality, that is, the signal quality deteriorates, no matter how the intensity of the adjustment parameters is increased, the poor sound effect of the output audio caused by the poor quality of the audio signal itself cannot be improved. Therefore, in order to better adapt the adjustment parameters to the audio signal, the adjustment parameters corresponding to the current evaluation level can be directly used as the target adjustment parameters to adjust the output audio.

[0053] This embodiment provides another adjustment method for the audio to be output. If the current signal quality is equal to or lower than the historical signal quality, in order to better adapt the current audio signal, the preset adjustment parameters corresponding to the current evaluation level are directly used as the target adjustment parameters to adjust the audio to be output, and the historical evaluation level is updated to the current evaluation level.

[0054] In another exemplary embodiment of the present application, a method for determining a target adjustment parameter under multiple quality parameters is described in detail. Figure 3 , Figure 3 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for adjusting the audio to be output. Figure 1 The S120 shown further includes S310 to S330; wherein the quality parameters include a signal level strength parameter, a multipath reflection interference parameter, and a signal white noise parameter, which are described in detail as follows:

[0055] S310: If the signal quality represented by the current evaluation level of the target quality parameter is higher than the signal quality represented by the target historical evaluation level, the preset adjustment parameter corresponding to the specified evaluation level is used as the first adjustment parameter to obtain a corresponding number of first adjustment parameters; wherein the target quality parameter is any one of a level strength parameter, a multipath reflection interference parameter, and a signal white noise parameter, and the specified evaluation level is between the current evaluation level corresponding to the target quality parameter and the target historical evaluation level.

[0056] S320: If the signal quality represented by the current evaluation level of the target quality parameter is equal to or lower than the signal quality represented by the target historical evaluation level, the preset adjustment parameter corresponding to the current evaluation level of the target quality parameter is used as the second adjustment parameter to obtain a corresponding number of second adjustment parameters.

[0057] The quality parameters of this embodiment cover at least three different types of quality parameters, and corresponding preset grade evaluation functions are configured to determine the current evaluation grades of various quality parameters, which are compared with their corresponding historical evaluation grades to determine corresponding adjustment parameters.

[0058] Exemplarily, the evaluation levels include 1 to 8, and a higher level indicates a lower signal quality.

[0059] If the current evaluation level of the level strength parameter is 4 and its corresponding historical evaluation level is 6, that is, the signal quality represented by the current evaluation level of the level strength parameter is higher than the signal quality represented by the historical evaluation level of the level strength parameter, then the preset adjustment parameter corresponding to level 5 (that is, the specified evaluation level) is used as the first adjustment parameter, and so on, to obtain the corresponding number of first adjustment parameters.

[0060] If the current evaluation level of the multipath reflection interference parameter is 4 and its corresponding historical evaluation level is 2, that is, the signal quality represented by the current evaluation level of the multipath reflection interference parameter is lower than the signal quality represented by the historical evaluation level of the multipath reflection interference parameter, then the preset adjustment parameter corresponding to level 4 is used as the second adjustment parameter, and so on, to obtain the corresponding number of second adjustment parameters.

[0061] S330: Determine a target adjustment parameter according to a corresponding number of first adjustment parameters and a corresponding number of second adjustment parameters.

[0062] The total number of the first adjustment parameters and the second adjustment parameters corresponds to the type of the quality parameter, that is, the total number is the same as the total number of quality parameter types.

[0063] Exemplarily, all first adjustment parameters and all second adjustment parameters are merged into initial target adjustment parameters; the same adjustment parameters in the initial target adjustment parameters and the numerical values ​​of each same adjustment parameter are determined; the same adjustment parameter with the largest numerical value is determined from each same adjustment parameter, and other same adjustment parameters are deleted to deduplicate the initial target adjustment parameters and obtain the target adjustment parameters.

[0064] Among them, the merging method can be a simple data classification merger, and the parameters themselves are not modified, that is, the initial target adjustment parameters are a parameter set, which may have adjustment parameters of the same type but different values. The same type of adjustment parameters are merged to retain the adjustment parameter with the largest value of each type (the larger the value, the greater the adjustment strength) to ensure the adjustment strength, thereby completing the deduplication processing of the initial target adjustment parameters and obtaining the target adjustment parameters. Obviously, the number of parameters represented by the target adjustment parameters is multiple.

[0065] In another exemplary embodiment, the target adjustment parameter includes a first target adjustment parameter corresponding to the level intensity parameter, a second target adjustment parameter corresponding to the multipath reflection interference parameter, and a third target adjustment parameter corresponding to the signal white noise parameter, that is, the target adjustment parameter includes three different types of adjustment parameters. Based on the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter, the output audio is adjusted in different threads; wherein each thread corresponds to a different target adjustment parameter.

[0066] This example shows that the output audio can be adjusted simultaneously by different threads to improve the efficiency of the adjustment process to ensure the timeliness of the adjustment process. In some embodiments, the output audio can also be adjusted in sequence based on the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter to reduce the number of processing threads to achieve the purpose of thread optimization.

[0067] See also Figure 4 , Figure 4 : is a flow chart of a method for adjusting the audio to be output in a preferred embodiment of the present application. The quality parameters of the audio signal include:

[0068] RSSI (Received Signal Strength Indicator) is an indicator for measuring the strength of wireless signals. It is commonly used in wireless communication systems such as Wi-Fi, Bluetooth, wireless broadcasting, and cellular networks. The unit of RSSI is decibel milliwatt (dBm). Decibel milliwatt is a relative measurement unit used to express the ratio of signal power to 1 milliwatt (mW), expressed in 10 times logarithmic form. RSSI is the most important and important quality indicator parameter for wireless signal strength.

[0069] MPI (Multipath Interference) refers to the fact that wireless signals reach the receiving end through different paths during transmission, such as reflected signals from buildings. Due to the difference in arrival time, these signal components may interfere with each other and cause signal distortion or errors. This phenomenon is particularly common in wireless communications, because wireless communications use free space as a transmission medium, and electromagnetic waves carrying information will reach the receiving end through multiple paths, thus causing multipath interference. Multipath interference is a common problem in wireless communications, and its main cause is the phase change and interference caused by the signal reaching the receiving end through different paths during transmission. The MPI quality indicator parameter is generally expressed in percentage.

[0070] USN (Signal White Noise Parameter) is used to characterize the noise and signal percentages.

[0071] like Figure 4 As shown, the evaluation level calculation functions of different types of quality parameters are different. The current evaluation level of various quality parameters can be compared with the corresponding historical evaluation level to determine the corresponding target adjustment parameters, so as to obtain the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter. They can be configured in the audio DSP filter simultaneously or in this way to adjust the output audio and delay it by X milliseconds to avoid the car radio occupying too many data processing resources.

[0072] In another exemplary embodiment of the present application, the application scenario of the above-mentioned method for adjusting the multiple audios to be output is exemplarily described. Figure 5 , Figure 5 1 is a schematic diagram of an application scenario of the method for adjusting the audio to be output in the present application, wherein the vehicle 100, the cloud 200 and the server 300 are connected by wireless communication, and the present application does not limit the connection method between them.

[0073] The server can Figure 5 As shown in the vehicle 100, the server 300 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, wherein multiple servers can form a blockchain, and the server is a node on the blockchain. The server 300 can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms, and there is no restriction on this here.

[0074] The server 300 may be used as an execution subject of the adjustment method shown in any of the above exemplary embodiments to execute any of the above adjustment methods, and the exemplary description is as follows:

[0075] The server 300 determines the current evaluation level corresponding to the quality parameter of the current audio signal based on the quality parameter of the current audio signal and a preset level evaluation function; the server 300 determines the target adjustment parameter based on the relationship between the signal quality represented by the current evaluation level corresponding to the quality parameter and the signal quality represented by the historical evaluation level, and adjusts the output audio based on the target adjustment parameter; if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, the server 300 uses the preset adjustment parameter corresponding to the target evaluation level as the target adjustment parameter, adjusts the output audio, and updates the historical evaluation level to the target evaluation level; wherein the target evaluation level is between the current evaluation level and the historical evaluation level of the quality parameter.

[0076] Another aspect of the present application also provides a device for adjusting the audio to be output, such as Figure 6 As shown, Figure 6 It is a structural schematic diagram of an adjustment device for audio to be output shown in an exemplary embodiment of the present application.

[0077] The adjustment device 600 comprises:

[0078] An evaluation level module 610, configured to determine a current evaluation level corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset level evaluation function;

[0079] A target adjustment parameter determination module 630 is used to determine a target adjustment parameter according to a relationship between a signal quality represented by a current evaluation level corresponding to a quality parameter and a signal quality represented by a historical evaluation level, and adjust the output audio based on the target adjustment parameter;

[0080] The first adjustment submodule 650 is used to adjust the output audio using the preset adjustment parameter corresponding to the target evaluation level as the target adjustment parameter if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, and update the historical evaluation level to the target evaluation level; wherein the target evaluation level is between the current evaluation level of the quality parameter and the historical evaluation level.

[0081] In another exemplary embodiment, the target adjustment parameter determination module 630 further includes:

[0082] The second adjustment submodule 650 is used to adjust the output audio using the preset adjustment parameter corresponding to the current evaluation level as the target adjustment parameter if the signal quality represented by the current evaluation level of the quality parameter is equal to or lower than the signal quality represented by the historical evaluation level, and update the historical evaluation level to the current evaluation level.

[0083] In another exemplary embodiment, the quality parameters include a signal level strength parameter, a multipath reflection interference parameter, and a signal white noise parameter; the target adjustment parameter determination module 630 further includes:

[0084] A first adjustment parameter determination unit is used for, if the signal quality represented by the current evaluation level of the target quality parameter is higher than the signal quality represented by the target historical evaluation level, using the preset adjustment parameter corresponding to the designated evaluation level as the first adjustment parameter to obtain a corresponding number of first adjustment parameters; wherein the target quality parameter is any one of a level intensity parameter, a multipath reflection interference parameter, and a signal white noise parameter, and the designated evaluation level is between the current evaluation level corresponding to the target quality parameter and the target historical evaluation level;

[0085] a second adjustment parameter determination unit, configured to use a preset adjustment parameter corresponding to the current evaluation level of the target quality parameter as a second adjustment parameter if the signal quality represented by the current evaluation level of the target quality parameter is equal to or lower than the signal quality represented by the target historical evaluation level, so as to obtain a corresponding number of second adjustment parameters;

[0086] The target adjustment parameter determination unit is used to determine the target adjustment parameter according to a corresponding number of first adjustment parameters and a corresponding number of second adjustment parameters.

[0087] In another exemplary embodiment, the target adjustment parameter determination unit further comprises:

[0088] A merging section, used to merge all first adjustment parameters and all second adjustment parameters into initial target adjustment parameters;

[0089] The determination section is used to determine the same adjustment parameters in the initial target adjustment parameters, as well as the numerical values ​​of each of the same adjustment parameters;

[0090] The deduplication section is used to determine the same adjustment parameter with the largest value from various same adjustment parameters, and delete other same adjustment parameters to perform deduplication processing on the initial target adjustment parameters to obtain the target adjustment parameters.

[0091] In another exemplary embodiment, the target adjustment parameter includes a first target adjustment parameter corresponding to the level intensity parameter, a second target adjustment parameter corresponding to the multipath reflection interference parameter, and a third target adjustment parameter corresponding to the signal white noise parameter;

[0092] The target adjustment parameter determination module 630 further includes:

[0093] The adjustment unit is used to adjust the output audio in different threads based on the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter; wherein each thread corresponds to a different target adjustment parameter.

[0094] In another exemplary embodiment, the evaluation level module 610 further includes:

[0095] An evaluation unit, used for inputting the quality parameter of the current audio signal into a preset grade evaluation function to calculate a grade evaluation score;

[0096] The evaluation grade unit is used to determine the target grade evaluation score interval to which the grade evaluation score belongs, and use the preset evaluation grade corresponding to the target grade evaluation score interval as the current evaluation grade corresponding to the quality parameter of the current audio signal.

[0097] In another exemplary embodiment, the adjustment device 600 further includes:

[0098] A historical valuation calculation module, used to calculate multiple level evaluation scores based on the quality parameters of multiple historical audio signals and a preset level evaluation function;

[0099] The preset evaluation level determination module is used to determine multiple level evaluation score intervals based on multiple level evaluation scores, and make each level evaluation score interval correspond to a preset evaluation level; wherein, the preset evaluation level representing higher signal quality corresponds to an adjustment parameter with higher adjustment strength.

[0100] The adjustment device of the present application compares the evaluation level of the quality parameter of the current audio signal with the historical evaluation level to determine the change in signal quality, thereby determining the target adjustment parameter for adjusting the audio to be output. Among them, if it is determined that the current signal quality is higher than the historical signal quality, it indicates that an adjustment parameter with a higher adjustment strength is required to adjust the audio to be output. The adjustment device of the present application adopts a preset adjustment parameter corresponding to a target evaluation level between the current evaluation level and the historical evaluation level to avoid the default adjustment parameter being too high or too low in adjustment strength, and being unable to adaptively adjust the audio to be output. The present application adopts a method of dynamically adapting the adjustment parameters, which can avoid jitter in the audio to be output after adjustment based on the adjustment parameters, thereby improving the user's auditory experience.

[0101] It should be noted that the adjustment device provided in the above embodiment and the adjustment method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.

[0102] Another aspect of the present application provides an electronic device, including: a controller; a memory for storing one or more programs, and when the one or more programs are executed by the controller, the above-mentioned adjustment method is executed.

[0103] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of a computer system of an electronic device shown in an exemplary embodiment of the present application, which shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application.

[0104] It should be noted that Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0105] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method in the above embodiment. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, ROM 702 and RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0106] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0107] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.

[0108] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0109] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0111] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the adjustment method as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0112] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the adjustment method provided in each of the above embodiments.

[0113] According to one aspect of an embodiment of the present application, a computer system is also provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. In RAM, various programs and data required for system operation are also stored. CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0114] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.

[0115] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.

Claims

1. A method for adjusting audio to be output, characterized in that: The adjustment method comprises: Determining a current evaluation level corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset level evaluation function; Determine a target adjustment parameter according to a relationship between a signal quality represented by a current evaluation level corresponding to the quality parameter and a signal quality represented by a historical evaluation level, and adjust the output audio based on the target adjustment parameter; If the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, the preset adjustment parameter corresponding to the target evaluation level is used as the target adjustment parameter to adjust the audio to be output, and the historical evaluation level is updated to the target evaluation level; wherein the target evaluation level is between the current evaluation level of the quality parameter and the historical evaluation level.

2. The adjustment method according to claim 1, characterized in that: The step of determining a target adjustment parameter based on a relationship between a signal quality represented by a current evaluation level of the quality parameter and a signal quality represented by a historical evaluation level, and adjusting the output audio based on the target adjustment parameter, further includes: If the signal quality represented by the current evaluation level of the quality parameter is equal to or lower than the signal quality represented by the historical evaluation level, the preset adjustment parameter corresponding to the current evaluation level is used as the target adjustment parameter to adjust the audio to be output, and the historical evaluation level is updated to the current evaluation level.

3. The adjustment method according to claim 1, characterized in that: The quality parameters include signal level strength parameters, multipath reflection interference parameters, and signal white noise parameters; The determining of the target adjustment parameter according to the relationship between the signal quality represented by the current evaluation level of the quality parameter and the signal quality represented by the historical evaluation level further includes: If the signal quality represented by the current evaluation level of the target quality parameter is higher than the signal quality represented by the target historical evaluation level, the preset adjustment parameter corresponding to the designated evaluation level is used as the first adjustment parameter to obtain a corresponding number of first adjustment parameters; wherein the target quality parameter is any one of the level strength parameter, the multipath reflection interference parameter, and the signal white noise parameter, and the designated evaluation level is between the current evaluation level corresponding to the target quality parameter and the target historical evaluation level; If the signal quality represented by the current evaluation level of the target quality parameter is equal to or lower than the signal quality represented by the target historical evaluation level, then using the preset adjustment parameter corresponding to the current evaluation level of the target quality parameter as the second adjustment parameter to obtain a corresponding number of second adjustment parameters; A target adjustment parameter is determined according to the corresponding number of first adjustment parameters and the corresponding number of second adjustment parameters.

4. The adjustment method according to claim 3, characterized in that: The determining of the target adjustment parameter according to the corresponding number of first adjustment parameters and the corresponding number of second adjustment parameters further includes: Combining all first adjustment parameters and all second adjustment parameters into initial target adjustment parameters; Determining the same adjustment parameters in the initial target adjustment parameters, and the numerical values ​​of each of the same adjustment parameters; The same adjustment parameter with the largest value is determined from the same adjustment parameters, and other same adjustment parameters are deleted, so as to perform deduplication processing on the initial target adjustment parameter to obtain the target adjustment parameter.

5. The adjustment method according to claim 3, characterized in that: The target adjustment parameters include a first target adjustment parameter corresponding to the level strength parameter, a second target adjustment parameter corresponding to the multipath reflection interference parameter, and a third target adjustment parameter corresponding to the signal white noise parameter; The adjusting the output audio based on the target adjustment parameter further includes: Based on the first target adjustment parameter, the second target adjustment parameter, and the third target adjustment parameter, the output audio is adjusted in different threads; wherein each thread corresponds to a different target adjustment parameter.

6. The adjustment method according to claim 1, characterized in that: The step of determining a current evaluation level corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset level evaluation function further includes: Inputting the quality parameter of the current audio signal into a preset grade evaluation function to calculate a grade evaluation score; A target grade evaluation score interval to which the grade evaluation score belongs is determined, and a preset evaluation grade corresponding to the target grade evaluation score interval is used as a current evaluation grade corresponding to the quality parameter of the current audio signal.

7. The adjustment method according to any one of claims 1 to 6, characterized in that: The adjustment method further comprises: Calculating a plurality of grade evaluation scores according to the quality parameters of the plurality of historical audio signals and the preset grade evaluation function; A plurality of level assessment score intervals are determined according to the plurality of level assessment scores, and each level assessment score interval corresponds to a preset assessment level; wherein a preset assessment level representing a higher signal quality corresponds to an adjustment parameter with a higher adjustment strength.

8. A device for adjusting audio to be output, characterized in that: The adjusting device comprises: An evaluation grade module, used to determine a current evaluation grade corresponding to the quality parameter of the current audio signal according to the quality parameter of the current audio signal and a preset grade evaluation function; a target adjustment parameter determination module, configured to determine a target adjustment parameter according to a relationship between a signal quality represented by a current evaluation level corresponding to the quality parameter and a signal quality represented by a historical evaluation level, and to adjust the output audio based on the target adjustment parameter; The first adjustment submodule is used to adjust the audio to be output by using the preset adjustment parameter corresponding to the target evaluation level as the target adjustment parameter if the signal quality represented by the current evaluation level of the quality parameter is higher than the signal quality represented by the historical evaluation level, and update the historical evaluation level to the target evaluation level; wherein the target evaluation level is between the current evaluation level of the quality parameter and the historical evaluation level.

9. An electronic device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by the controller, enables the controller to implement the adjustment method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the adjustment method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Sound signal processing method and terminal equipment

    CN113840034A

  • Audio output control method and device and electronic equipment

    CN113867680A

  • Audio signal processing method and system for suppressing echoes

    CN114697785A

  • Voice gain control method and device, voice control equipment and storage medium

    CN116721671A

  • Sound processing method and electronic equipment

    CN117334207A