Methods, devices, equipment and readable storage media for vehicle-mounted call noise reduction
By acquiring the noise reduction activation file and starting the noise reduction engine to process in-vehicle calls when the vehicle is powered on, the latency and noise issues of in-vehicle calls when running at the offline network layer are resolved, thus achieving the effect of improving audio quality when offline.
Patent Information
- Application Number
- CN202411278392.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In existing technologies, while reducing latency, in-vehicle communication cannot effectively improve audio quality, especially when operating at a non-networked network layer where noise is severe.
The noise reduction engine is activated by acquiring the noise reduction activation file when the vehicle is powered on. Once the file is available, the noise reduction engine is started. After the engine is successfully activated, the in-vehicle call is sent to the noise reduction engine for processing to achieve noise reduction.
Even without an internet connection, it reduces call latency while improving audio quality, ensuring clear and noise-reducing in-vehicle calls.
Smart Images

Figure CN119229887B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle call noise reduction technology, and in particular to a vehicle call noise reduction method, apparatus, device and readable storage medium. Background Technology
[0002] With the development of vehicle technology, in-vehicle communication has become one of the important functions of vehicles. During in-vehicle calls, latency and audio quality are important factors in evaluating call quality. Currently, in order to reduce call latency and improve the security of call data, in-vehicle communication channels usually operate at a non-networked network layer. However, call noise reduction functions often require a network connection to function. Therefore, in traditional technologies, in-vehicle calls usually have relatively serious noise.
[0003] Therefore, how to improve audio quality during a call while reducing call latency is an urgent problem that needs to be solved. Summary of the Invention
[0004] Therefore, it is necessary to provide a vehicle-mounted call noise reduction method, device, equipment, and readable storage medium to address the aforementioned technical problems, which can improve audio quality during calls while reducing call latency.
[0005] Firstly, this application provides a method for noise reduction in vehicle-mounted calls, including:
[0006] If the target vehicle is detected to be powered on, obtain the noise reduction activation file corresponding to the target vehicle;
[0007] Based on the existence of the noise reduction activation file, control the activation of the noise reduction engine of the target vehicle;
[0008] If the noise reduction engine starts successfully, the in-vehicle calls of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0009] In one embodiment, controlling the activation of the noise reduction engine of the target vehicle based on the existence of a noise reduction activation file includes:
[0010] If a noise reduction activation file exists, the noise reduction engine will be activated according to the noise reduction activation file.
[0011] If the noise reduction activation file does not exist, the current availability status of the noise reduction service file corresponding to the target vehicle is determined, and the noise reduction engine is started based on the current availability status.
[0012] In one embodiment, determining the current availability of the noise reduction service file corresponding to the target vehicle includes:
[0013] Obtain the current activation status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current activation status; and / or,
[0014] Obtain the current failure status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current failure status.
[0015] In one embodiment, obtaining the current activation status of the noise reduction service file corresponding to the target vehicle includes:
[0016] If the target vehicle's vehicle identifier exists in the offline license list, determine that the current activation status is activated;
[0017] If the target vehicle's vehicle identifier does not exist in the offline license list, the current activation status is determined to be inactive;
[0018] The offline license list includes vehicle identifiers for vehicles whose corresponding noise reduction service files have been activated.
[0019] In one embodiment, obtaining the current failure status of the noise reduction service file corresponding to the target vehicle includes:
[0020] Obtain the current usage status and validity period of the noise reduction service file corresponding to the target vehicle;
[0021] If the current usage is within the validity period, the current invalidation status is determined to be not invalid;
[0022] If the current usage period has expired, the current invalidation status is determined to be invalid.
[0023] In one embodiment, if the noise reduction engine starts successfully, the vehicle's in-vehicle calls are sent to the noise reduction engine so that the noise reduction engine can perform noise reduction processing on the in-vehicle calls, including:
[0024] If the noise reduction engine starts successfully, input the preset test audio into the noise reduction engine and obtain the audio noise reduction result fed back by the noise reduction engine;
[0025] The noise reduction performance of the noise reduction engine is evaluated based on the matching between the audio noise reduction result and the standard noise reduction result corresponding to the preset test audio.
[0026] If the evaluation is successful, the in-vehicle calls of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0027] In one embodiment, obtaining the noise reduction activation file corresponding to the target vehicle includes:
[0028] Determine the product flow type of the target vehicle based on its vehicle identification.
[0029] Based on the product flow type, determine the target storage location of the noise reduction activation file corresponding to the target vehicle;
[0030] Retrieve the noise reduction activation file from the target storage location.
[0031] Secondly, this application also provides a vehicle-mounted call noise reduction device, comprising:
[0032] The file acquisition module is used to acquire the noise reduction activation file corresponding to the target vehicle when the target vehicle is detected to be powered on.
[0033] The engine start module is used to control the start of the noise-canceling engine of the target vehicle based on the existence of the noise-canceling activation file;
[0034] The call noise reduction module is used to send the vehicle's in-vehicle calls to the noise reduction engine when the noise reduction engine is successfully started, so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0035] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0036] If the target vehicle is detected to be powered on, obtain the noise reduction activation file corresponding to the target vehicle;
[0037] Based on the existence of the noise reduction activation file, control the activation of the noise reduction engine of the target vehicle;
[0038] If the noise reduction engine starts successfully, the in-vehicle calls of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0039] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0040] If the target vehicle is detected to be powered on, obtain the noise reduction activation file corresponding to the target vehicle;
[0041] Based on the existence of the noise reduction activation file, control the activation of the noise reduction engine of the target vehicle;
[0042] If the noise reduction engine starts successfully, the in-vehicle calls of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0043] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0044] If the target vehicle is detected to be powered on, obtain the noise reduction activation file corresponding to the target vehicle;
[0045] Based on the existence of the noise reduction activation file, control the activation of the noise reduction engine of the target vehicle;
[0046] If the noise reduction engine starts successfully, the in-vehicle calls of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0047] The aforementioned vehicle-mounted call noise reduction method, apparatus, device, and readable storage medium, upon detecting that the target vehicle is powered on, acquires the corresponding noise reduction activation file for the target vehicle, and then controls the activation of the target vehicle's noise reduction engine based on the existence of the noise reduction activation file. Further, if the noise reduction engine successfully starts, the vehicle-mounted call is sent to the noise reduction engine so that the engine can perform noise reduction processing on the vehicle-mounted call. In this process, since the noise reduction activation file is used to control the activation of the target vehicle's noise reduction engine, and since the noise reduction activation file can be directly acquired if it exists, the noise reduction engine of the target vehicle can be activated. In other words, the above process does not require network connectivity during the activation of the target vehicle's noise reduction engine and the noise reduction processing of the vehicle-mounted call, and does not cause call delay. Therefore, this application can improve audio quality during calls while reducing call delay. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is a flowchart illustrating a vehicle-mounted call noise reduction method in one embodiment;
[0050] Figure 2 This is a flowchart illustrating the step of controlling the startup of the noise reduction engine in one embodiment;
[0051] Figure 3 This is a flowchart illustrating the noise reduction process in one embodiment;
[0052] Figure 4AThis is a schematic diagram of the architecture of an in-vehicle operating audio system in one embodiment;
[0053] Figure 4B This is a flowchart illustrating the vehicle call noise reduction method in another embodiment;
[0054] Figure 4C This is a flowchart illustrating the noise reduction service file activation step in one embodiment;
[0055] Figure 4D This is a flowchart illustrating the steps of activating the noise reduction engine of a target vehicle in one embodiment.
[0056] Figure 4E This is a flowchart illustrating the vehicle call noise reduction steps in another embodiment;
[0057] Figure 5 This is a structural block diagram of an in-vehicle call noise reduction device in one embodiment;
[0058] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0060] In one embodiment, such as Figure 1 As shown, a method for noise reduction in vehicle-mounted calls is provided. This embodiment illustrates the application of this method to an in-vehicle terminal. It is understood that this method can also be applied to a server, or to a system including both an in-vehicle terminal and a server, and is implemented through the interaction between the in-vehicle terminal and the server. In this embodiment, the method includes the following steps:
[0061] S110: When the target vehicle is detected to be powered on, the noise reduction activation file corresponding to the target vehicle is obtained.
[0062] The target vehicle is a vehicle equipped with call noise reduction function. This application does not limit the type of vehicle of the target vehicle. For example, the target vehicle can be a gasoline vehicle, a hybrid electric vehicle, or an electric vehicle.
[0063] A noise cancellation activation file is a file used to activate the noise cancellation service file corresponding to the noise cancellation function of a target vehicle. It is understood that the noise cancellation service file stores the data processing logic corresponding to the noise cancellation function; if the noise cancellation service file is not activated, the noise cancellation function of the target vehicle cannot be used.
[0064] In one optional implementation, the noise reduction activation file corresponding to the target vehicle is stored in a preset storage location. Accordingly, when the target vehicle is detected to be powered on, the noise reduction activation file corresponding to the target vehicle is retrieved from the preset storage location.
[0065] In one optional implementation, different types of vehicles correspond to different preset storage locations for noise reduction activation files. Accordingly, upon detecting that a target vehicle is powered on, the preset storage location corresponding to the target vehicle is determined based on its vehicle type, and the noise reduction activation file corresponding to the target vehicle is retrieved from the preset storage location. For example, the vehicle type can be distinguished based on the vehicle's product flow type, where the product flow type indicates the vehicle's export status; for example, the product flow type includes export type and domestic sales type. Accordingly, in this case, the product flow type of the target vehicle can be determined based on its vehicle identifier; the target storage location of the noise reduction activation file corresponding to the target vehicle can be determined based on the product flow type; and the noise reduction activation file can be retrieved from the target storage location.
[0066] The vehicle identifier of the target vehicle can represent the unique code of the target vehicle, that is, different vehicles correspond to different vehicle identifiers. The target storage location is used to indicate the actual storage location of the noise reduction activation file corresponding to the target vehicle. In this embodiment, the target storage location can indicate the address information of the storage location. For example, it can be the address information corresponding to a certain file, or the address information corresponding to a certain disk. This application does not make any limitation in this regard.
[0067] Optionally, in this embodiment, a lookup table can be pre-determined between reference vehicle identifiers and reference product flow types (e.g., lookup table 1), and between reference product flow types and reference storage locations (e.g., lookup table 2). The reference product flow type corresponding to the target vehicle's vehicle identifier in lookup table 1 is taken as the target vehicle's product flow type, and the reference storage location corresponding to the target vehicle's product flow type in lookup table 2 is taken as the target storage location for the noise reduction activation file corresponding to the target vehicle. Further, the noise reduction activation file corresponding to the target vehicle is obtained from the target storage location.
[0068] Optionally, this embodiment may not predetermine the product flow type of the target vehicle. When obtaining the noise reduction activation file for the target vehicle, the noise reduction activation file can be obtained from a first preset location. If the noise reduction activation file is not obtained from the first preset location, it can be obtained from a second preset location. Both the first and second preset locations are predetermined as needed, and this application does not impose any limitations on them. For example, the first preset location could be a disk, and the second preset location could be a file.
[0069] It should be noted that, in this embodiment, the activation of the noise cancellation engine can be initiated by the user. For example, when the target vehicle is detected to be powered on, a noise cancellation engine activation button is displayed on the in-vehicle terminal. Upon detecting a touch operation on the noise cancellation engine activation button, such as a click, the corresponding noise cancellation activation file for the target vehicle is obtained. The style of the noise cancellation engine activation button, such as its color and shape, can be set as needed, and this application does not impose any limitations on it.
[0070] S120 controls the activation of the noise reduction engine of the target vehicle based on the existence of the noise reduction activation file.
[0071] The noise reduction engine of the target vehicle can be an engine used to reduce noise in vehicle-to-vehicle calls. In this embodiment, the number of noise reduction engines in the target vehicle can be one or more, and this application does not impose any limitation on this. It is understood that if the noise reduction engine of the target vehicle is not activated, the target vehicle cannot perform noise reduction processing for vehicle-to-vehicle calls.
[0072] Optionally, the existence of the noise reduction activation file can be determined based on whether the noise reduction activation file is obtained. Specifically, if the noise reduction activation file corresponding to the target vehicle is obtained, the existence of the noise reduction activation file is determined to be present; if the noise reduction activation file corresponding to the target vehicle is not obtained, the existence of the noise reduction activation file is determined to be absent.
[0073] For example, in this embodiment, if a noise reduction activation file corresponding to the target vehicle is obtained, that is, if the noise reduction activation file corresponding to the target vehicle exists, the noise reduction engine of the target vehicle is started. If a noise reduction activation file corresponding to the target vehicle is not obtained, that is, if the noise reduction activation file corresponding to the target vehicle does not exist, the operation of starting the noise reduction engine of the target vehicle is not performed.
[0074] S130, when the noise reduction engine is successfully started, sends the vehicle's in-vehicle calls to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0075] The in-vehicle calls in the target vehicle are Bluetooth calls made by the user inside the target vehicle, and the in-vehicle calls include Bluetooth audio data input by the user.
[0076] Specifically, in this embodiment, when the noise reduction engine is successfully started, the Bluetooth audio data generated by the user making a car call in the target vehicle, which is obtained via Bluetooth, is sent to the noise reduction engine so that the noise reduction engine can perform noise reduction processing on the Bluetooth audio data, thereby reducing the noise of the car call in the target vehicle.
[0077] In the aforementioned vehicle-to-everything (V2X) noise reduction method, upon detecting that the target vehicle is powered on, a noise reduction activation file corresponding to the target vehicle is obtained. Then, based on the existence of the noise reduction activation file, the noise reduction engine of the target vehicle is activated. Further, if the noise reduction engine successfully starts, the V2X call is sent to the noise reduction engine so that the engine can perform noise reduction processing on the V2X call. During this process, since the noise reduction activation file is used to control the activation of the target vehicle's noise reduction engine, and since the noise reduction activation file exists, it can be directly obtained, thereby activating the target vehicle's noise reduction engine. In other words, the above process does not require network connectivity during the activation of the target vehicle's noise reduction engine and the noise reduction processing of the V2X call, and does not cause call delay. Therefore, this application can improve audio quality during calls while reducing call delay.
[0078] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the process of controlling the start of the noise-canceling engine of the target vehicle according to the existence of the noise-canceling activation file is refined.
[0079] See Figure 2 The steps shown for controlling the start of the noise reduction engine include:
[0080] S210: If a noise reduction activation file exists, the noise reduction engine will be activated according to the noise reduction activation file.
[0081] Specifically, in this embodiment, if a noise reduction activation file exists, the noise reduction service file corresponding to the target vehicle is obtained, and the noise reduction service file corresponding to the target vehicle is activated according to the noise reduction activation file to control the start of the noise reduction engine.
[0082] S220: If the noise reduction activation file does not exist, determine the current availability status of the noise reduction service file corresponding to the target vehicle, and control the start of the noise reduction engine based on the current availability status.
[0083] The current availability status indicates the validity of the noise reduction service file. It should be noted that some suppliers offer noise reduction service files that can be used indefinitely once activated; however, some suppliers offer noise reduction service files that can be used a preset number of times or for a preset duration after activation. Therefore, it is necessary to determine the current availability status of the noise reduction service file corresponding to the target vehicle, and if the noise reduction service file corresponding to the target vehicle is currently available, control the activation of the target vehicle's noise reduction engine.
[0084] In one optional implementation, the current availability status of the noise reduction service file corresponding to the target vehicle can be pre-stored in a preset storage location. Accordingly, if the noise reduction activation file does not exist, the current availability status of the noise reduction service file corresponding to the target vehicle can be obtained from the preset storage location. Further, if the current availability status is "currently available," the noise reduction engine is activated; otherwise, the operation of activating the noise reduction engine is not performed.
[0085] In one optional implementation, determining the current availability of the noise reduction service file corresponding to the target vehicle can be achieved by: obtaining the current activation status of the noise reduction service file corresponding to the target vehicle, and determining the current availability of the noise reduction service file corresponding to the target vehicle based on the current activation status. The current activation status indicates whether the noise reduction service file has been activated.
[0086] Optionally, the noise reduction service file corresponding to the target vehicle may store an activation identifier, which differs depending on whether the noise reduction service file is activated or not. For example, if activated, the activation identifier is 1; if not activated, it is 0. Accordingly, the current activation status of the noise reduction service file corresponding to the target vehicle can be determined based on the activation identifier. Further, if the current activation status is activated, the current availability status of the noise reduction service file corresponding to the target vehicle is determined to be "currently available"; if the current activation status is not activated, the current availability status is determined to be "currently unavailable".
[0087] Optionally, in this embodiment, the current activation status of the noise reduction service file corresponding to the target vehicle can also be determined in the following ways: if the vehicle identifier of the target vehicle exists in the offline license list, the current activation status is determined to be activated; if the vehicle identifier of the target vehicle does not exist in the offline license list, the current activation status is determined to be inactive; wherein, the offline license list records the vehicle identifiers of vehicles whose corresponding noise reduction service files are activated.
[0088] It should be noted that the noise reduction service file can be activated in engineering mode before the vehicle leaves the factory, and the vehicle identifiers of the activated vehicles in the same batch are stored in the offline license list (i.e., the license file). In other words, if the target vehicle's vehicle identifier exists in the offline license list, it is determined that the corresponding noise reduction service file for the target vehicle has been activated before leaving the factory and can be used directly; if the target vehicle's vehicle identifier does not exist in the offline license list, it is determined that the corresponding noise reduction service file for the target vehicle has not been activated before leaving the factory and cannot be used directly.
[0089] In one optional implementation, when determining the current availability status of the noise reduction service file corresponding to the target vehicle, the following method can also be used: obtain the current failure status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current failure status. The current failure status is used to characterize whether the noise reduction service file is currently invalid.
[0090] Optionally, the noise reduction service file corresponding to the target vehicle may store a failure identifier. This activation identifier differs depending on whether the noise reduction service file corresponding to the target vehicle is expired or not. For example, if it is expired, the activation identifier is displayed as 0; if it is not expired, the activation identifier is displayed as 1. Accordingly, the current failure status of the noise reduction service file corresponding to the target vehicle can be determined based on the failure identifier in the noise reduction service file. Further, if the current failure status is expired, the current availability status of the noise reduction service file corresponding to the target vehicle is determined to be currently unavailable; if the current activation status is not expired, the current availability status of the noise reduction service file corresponding to the target vehicle is determined to be currently available.
[0091] Optionally, in this embodiment, the current failure status of the noise reduction service file corresponding to the target vehicle can also be determined by the following methods: obtaining the current usage status and validity period of the noise reduction service file corresponding to the target vehicle; if the current usage status is within the validity period, determining the current failure status as not failed; if the current usage status is outside the validity period, determining the current failure status as failed.
[0092] The current usage status indicates whether the noise reduction service file corresponding to the target vehicle has been used before the current time, and if it has been used, it also indicates previous usage, such as the number of uses and the duration of each use. The validity period of the noise reduction service file corresponding to the target vehicle can be preset when the noise reduction service file is activated or generated. For example, the validity period can be used to indicate the limited usage time of the noise reduction service file corresponding to the target vehicle, or it can be used to indicate the limited number of uses of the noise reduction service file corresponding to the target vehicle.
[0093] Optionally, if the validity period of the noise reduction service document for the target vehicle indicates a limited usage time, the current usage status can be determined as being within or outside the validity period based on whether the current time falls within or outside that limited usage time. For example, if the current time is September 10, 2024, and the limited usage time is October 1, 2024, then the current usage status is determined to be within the validity period, and the current invalidation status is determined to be "not invalid." If the limited usage time is September 1, 2024, then the current usage status is determined to be outside the validity period, and the current invalidation status is determined to be "invalid."
[0094] Furthermore, if the current available state is "currently available", the noise reduction engine is activated; otherwise, the operation of activating the noise reduction engine is not performed.
[0095] It should be noted that this application can also comprehensively determine the current availability status of the noise reduction service file corresponding to the target vehicle based on its current activation and current inactivation status. Specifically, if the noise reduction service file corresponding to the target vehicle is currently activated and currently inactivating, its current availability status is determined to be "currently available"; otherwise, it is determined to be "currently unavailable".
[0096] In the above embodiments, the process of controlling the activation of the noise reduction engine of the target vehicle based on the existence of the noise reduction activation file has been refined. Specifically, if the noise reduction activation file exists, the noise reduction engine is activated according to the noise reduction activation file; if the noise reduction activation file does not exist, the noise reduction engine is activated according to the current availability of the corresponding noise reduction service file for the target vehicle. This aims to control the activation of the noise reduction engine as much as possible without an internet connection.
[0097] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, when the noise reduction engine is successfully started, the process of sending the vehicle's in-vehicle calls to the noise reduction engine, so that the noise reduction engine can perform noise reduction processing on the in-vehicle calls, is described in detail.
[0098] See Figure 3 The noise reduction processing steps shown include:
[0099] When the noise reduction engine is successfully started, the S310 inputs a preset test audio into the noise reduction engine and obtains the audio noise reduction result fed back by the noise reduction engine.
[0100] The preset test audio can be used to perform functional tests on the noise reduction engine. For example, the preset test audio can be silent audio or recorded audio, and this application does not limit it in any way.
[0101] Specifically, in this embodiment, silent audio can be input into the noise reduction engine to obtain the audio noise reduction result fed back by the noise reduction engine. Alternatively, recorded audio can be input into the noise reduction engine to obtain the audio noise reduction result fed back by the noise reduction engine.
[0102] The S320 evaluates the noise reduction performance of the noise reduction engine based on the matching between the audio noise reduction result and the standard noise reduction result corresponding to the preset test audio.
[0103] The standard noise reduction result indicates the noise-reduced audio corresponding to the preset test audio. For example, the preset test audio can be input into the noise reduction model to obtain the standard noise reduction result corresponding to the preset test audio. It should be noted that if the preset test audio is silent (all audio data are 0),...
[0104] In one optional implementation, if the preset test audio is a silent audio, then if the audio noise reduction results fed back by the noise reduction engine are all 0, it can be determined that the audio noise reduction result matches the standard noise reduction result corresponding to the preset test audio, and the noise reduction performance evaluation of the noise reduction engine is determined to be passed; otherwise, it can be determined that the noise reduction performance evaluation of the noise reduction engine is not passed.
[0105] In one optional implementation, if the preset test audio is a recorded audio file, the noise reduction performance of the noise reduction engine can be evaluated by determining the degree of matching between the audio noise reduction result and the standard noise reduction result corresponding to the preset test audio. For example, the similarity between the audio noise reduction result and the standard noise reduction result can be determined. If the similarity exceeds a preset similarity threshold, the noise reduction performance evaluation of the noise reduction engine is deemed successful; otherwise, the noise reduction performance evaluation of the noise reduction engine is deemed unsuccessful. For example, the noise reduction performance evaluation of the noise reduction engine can also be determined if the audio noise reduction result is completely identical to the standard noise reduction result; otherwise, the noise reduction performance evaluation of the noise reduction engine is deemed unsuccessful. The preset similarity threshold can be determined based on human experience or through extensive experimentation; this application does not impose any limitations on this.
[0106] It's important to note that after the noise reduction engine successfully starts but before it can perform normal noise reduction processing, it needs to connect to the cloud server. Connecting to the cloud server takes time. Therefore, initially, after inputting silent audio into the noise reduction engine, the engine will show a noise reduction result of 0, indicating normal silent audio, even though the engine hasn't actually connected to the cloud server yet. Therefore, to improve the accuracy of evaluating the noise reduction engine's performance, the noise reduction performance evaluation should only be considered successful if the noise reduction feedback result for all silent audio data is 0.
[0107] If the evaluation is successful, the S330 will send the vehicle's in-vehicle calls to the noise reduction engine so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0108] Specifically, if the noise reduction performance evaluation of the noise reduction engine is passed, the in-vehicle call of the target vehicle will be sent to the noise reduction engine so that the noise reduction engine can process the in-vehicle call for noise reduction and obtain the call noise reduction result fed back by the noise reduction engine after processing the in-vehicle call, and then output the call noise reduction result to the voice receiving end.
[0109] It should be noted that if the evaluation fails, the noise reduction engine activation is considered to have failed.
[0110] It should be noted that when the noise reduction engine activation button is displayed on the in-vehicle terminal, if the evaluation passes, an activation success message will be displayed on the in-vehicle terminal; if the evaluation fails, an activation failure message will be displayed on the in-vehicle terminal, along with the reason for the failure. The activation success and activation failure messages can be set based on human experience, and this application does not impose any limitations on them.
[0111] In the above embodiments, the process of sending the vehicle's in-vehicle calls to the noise reduction engine after successful engine startup, so that the noise reduction engine can perform noise reduction processing on the in-vehicle calls, is described in detail. Specifically, before using the noise reduction engine to perform noise reduction processing on the in-vehicle calls, the noise reduction performance of the noise reduction engine is evaluated, and only if the evaluation passes is it determined that the noise reduction engine has truly started successfully; otherwise, it is determined that the noise reduction engine has failed to start.
[0112] Based on the technical solutions of the above embodiments, this application also provides an optional embodiment. In this optional embodiment, the vehicle call noise reduction method provided by this application is applied to, for example... Figure 4A Taking the in-vehicle operating audio system shown as an example, the in-vehicle call noise reduction method provided in this application is described in detail.
[0113] See Figure 4AThe diagram shows the architecture of the in-vehicle audio system. The engineering mode application (APP) is at the top with the longest link. The Android Audio Framework is the default audio framework. Audio HAL is the hardware abstraction layer, also a manufacturer-customized layer. The audio loop for Bluetooth calls is established at this layer, and soft noise reduction algorithms are integrated here. The Audio-kernel is the audio driver, used for connecting the sound card and receiving instructions from the Digital Signal Processing (DSP). In this embodiment, the Bluetooth chip and the in-vehicle DSP are generally connected via an integrated circuit built-in audio bus (Inter-IC Sound, I2S), and the DSP determines whether to open or close the in-vehicle communication channel.
[0114] See Figure 4B The in-vehicle call noise reduction method shown includes:
[0115] S410B, in engineering mode, activates the noise reduction service file for the target vehicle;
[0116] S420B, upon detecting that the target vehicle is powered on, controls the start of the target vehicle's noise reduction engine;
[0117] S430B controls the noise reduction engine to reduce noise during in-vehicle calls when the noise reduction engine is successfully started.
[0118] Furthermore, the steps of S410B are described in detail; see [link to documentation]. Figure 4C The noise reduction service file activation steps shown include:
[0119] S410C retrieves the vehicle identifier (i.e., unique code) of each vehicle in the same batch of vehicles.
[0120] S420C sends the vehicle identification of each vehicle to the noise reduction service file algorithm supplier so that the algorithm supplier can process the accounting and activate the filing.
[0121] S430C, obtains the vehicle identifier of the activated vehicle from the noise reduction service file fed back by the algorithm supplier;
[0122] S440C generates an offline license list based on the vehicle identifier of the vehicle for which the noise reduction service file has been activated;
[0123] The S450C stores the noise reduction activation file corresponding to the vehicle identification of each vehicle in a preset location.
[0124] It should be noted that storing the noise cancellation activation file in the default location is for offline activation in scenarios where internet access is inconvenient, such as after-sales service or vehicle assembly plants after the product goes overseas. Placing the noise cancellation activation file in an address that won't be erased after a factory reset requires granting Audio-Hal and the engineering mode access permissions to this address. It's important to note that only the engineering mode has deletion permissions.
[0125] Furthermore, for a detailed explanation of the S420B steps, please refer to [link / reference]. Figure 4D The steps shown for starting the noise-reducing engine of the target vehicle include:
[0126] S410D acquires the vehicle identifier of the target vehicle, and upon detecting a user's click on the activation button, determines whether the noise reduction activation file corresponding to the target vehicle exists based on the vehicle identifier.
[0127] It should be noted that if the vehicle identifier of the target vehicle is not obtained, the activation button will not be clickable. At the same time, the display of the activation button will be updated, for example, the activation button will be changed to gray.
[0128] S420D, if the noise reduction activation file corresponding to the target vehicle does not exist, will start the noise reduction engine by taking the offline license list, the vehicle identifier of the target vehicle and the license result file.
[0129] The noise reduction engine does not have a separate activation interface; it only has three interfaces: create (i.e., start) the engine, process the data, and destroy the engine.
[0130] It should be noted that during the engine startup process, there is no need to determine the current invalidation status (i.e., license status) of the noise reduction service file. The current invalidation status of the noise reduction service file is only determined when the noise reduction engine is processing data. If the noise reduction engine cannot be started, it will be started over the network by connecting to the algorithm server.
[0131] S430D inputs the preset test audio to the noise reduction engine. Based on the noise reduction result fed back by the noise reduction engine, it determines whether the noise reduction engine has been successfully started. If yes, it executes S460D; otherwise, it executes S440D.
[0132] S440D, delete cache files, and when connected to the internet, retrieve the target vehicle's vehicle identification and license result files, and activate the noise reduction engine online;
[0133] S450D inputs the preset test audio to the noise reduction engine. Based on the noise reduction result fed back by the noise reduction engine, it determines whether the noise reduction engine has been successfully started. If yes, it executes S460D; otherwise, it executes S470D.
[0134] S460D, the vehicle terminal displays a message indicating successful activation;
[0135] S470D, the vehicle terminal displays an activation failure message;
[0136] Specifically, based on the activation result of the noise cancellation service file transmitted when the target vehicle left the factory, and the existence of the noise cancellation activation file, the reason for activation failure is returned. It should be noted that if the noise cancellation engine fails to activate, the noise cancellation function can still be activated online by initializing another noise cancellation engine. In this case, the noise cancellation engine that failed to activate needs to be destroyed before initializing the other noise cancellation engine to avoid memory leaks.
[0137] Furthermore, for a detailed explanation of the S430B steps, please refer to [link / reference]. Figure 4E The in-vehicle call noise reduction steps shown include:
[0138] S410E, acquires in-vehicle call data input by the user;
[0139] S420E inputs the vehicle call data to the noise reduction engine and determines whether the noise reduction engine has been successfully started. If yes, then execute S430E; otherwise, execute S440E.
[0140] S430E controls the noise reduction engine to reduce noise in in-vehicle call data and provides feedback on the noise-reduced frequency.
[0141] S440E, obtains the trial number of Audio-Hal resource configuration, controls the noise reduction engine to reduce noise in the vehicle call data within the trial period, and feeds back the noise-reduced frequency;
[0142] The trial period can represent the number of trials or the trial duration. For example, it can be 3 trials or 16 minutes of trial.
[0143] When the S450E exceeds the trial period, it stops controlling the noise reduction engine to reduce noise in the vehicle call data and directly outputs the vehicle call data to the voice receiver.
[0144] It should be noted that when the noise cancellation function of the noise cancellation engine is not turned on, you need to stop inputting in-vehicle call data to the noise cancellation engine; otherwise, the reference tone will also be transmitted to the phone, causing an echo phenomenon that is even more serious than not having noise cancellation.
[0145] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0146] Based on the same inventive concept, this application also provides a vehicle-mounted call noise reduction device for implementing the aforementioned vehicle-mounted call noise reduction method. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more vehicle-mounted call noise reduction device embodiments provided below can be found in the limitations of the vehicle-mounted call noise reduction method described above, and will not be repeated here.
[0147] In one exemplary embodiment, such as Figure 5 As shown, a vehicle-mounted call noise reduction device is provided, including: a file acquisition module 510, an engine start module 520, and a call noise reduction module 530, wherein:
[0148] The file acquisition module 510 is used to acquire the noise reduction activation file corresponding to the target vehicle when the target vehicle is detected to be powered on.
[0149] Engine start module 520 is used to control the start of the noise reduction engine of the target vehicle based on the existence of the noise reduction activation file.
[0150] The call noise reduction module 530 is used to send the vehicle's in-vehicle calls to the noise reduction engine when the noise reduction engine is successfully started, so that the noise reduction engine can process the in-vehicle calls for noise reduction.
[0151] In one embodiment, the engine start module 520 includes a first start unit, configured to start the noise reduction engine according to the noise reduction activation file if the noise reduction activation file exists; and a second start unit, configured to determine the current availability status of the noise reduction service file corresponding to the target vehicle and start the noise reduction engine according to the current availability status if the noise reduction activation file does not exist.
[0152] In one embodiment, the second activation unit includes a first determining subunit, configured to obtain the current activation state of the noise reduction service file corresponding to the target vehicle, and determine the current availability state of the noise reduction service file corresponding to the target vehicle based on the current activation state; and / or, the second determining subunit, configured to obtain the current failure state of the noise reduction service file corresponding to the target vehicle, and determine the current availability state of the noise reduction service file corresponding to the target vehicle based on the current failure state.
[0153] In one embodiment, the first determining subunit is specifically used to determine that the current activation state is activated if the vehicle identifier of the target vehicle exists in the offline license list; and to determine that the current activation state is inactive if the vehicle identifier of the target vehicle does not exist in the offline license list; wherein the offline license list records the vehicle identifiers of vehicles whose corresponding noise reduction service files are activated.
[0154] In one embodiment, the second determining subunit is specifically used to obtain the current usage status and validity period of the noise reduction service file corresponding to the target vehicle; if the current usage status is within the validity period, the current failure status is determined to be not invalid; if the current usage status is outside the validity period, the current failure status is determined to be invalid.
[0155] In one embodiment, the call noise reduction module 530 includes a first acquisition unit, configured to input a preset test audio into the noise reduction engine and acquire the audio noise reduction result fed back by the noise reduction engine when the noise reduction engine is successfully started; a performance evaluation unit, configured to evaluate the noise reduction performance of the noise reduction engine based on the matching between the audio noise reduction result and the standard noise reduction result corresponding to the preset test audio; and a data transmission unit, configured to send the vehicle call of the target vehicle to the noise reduction engine if the evaluation is passed, so that the noise reduction engine can perform noise reduction processing on the vehicle call.
[0156] In one embodiment, the file acquisition module 510 includes a type determination unit for determining the product flow type of the target vehicle based on the vehicle identifier of the target vehicle; a location determination unit for determining the target storage location of the noise reduction activation file corresponding to the target vehicle based on the product flow type; and a file acquisition unit for acquiring the noise reduction activation file from the target storage location.
[0157] The modules in the aforementioned vehicle-mounted call noise reduction device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0158] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a vehicle-mounted call noise reduction method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0159] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0160] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0161] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0162] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0163] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0164] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0165] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for noise reduction in vehicle-mounted calls, characterized in that, The method includes: When the target vehicle is detected to be powered on, the noise reduction activation file corresponding to the target vehicle is obtained; the noise reduction activation file is a file used to activate the noise reduction service file corresponding to the noise reduction function of the target vehicle; the noise reduction service file is used to store the data processing logic corresponding to the noise reduction function, and the noise reduction function of the target vehicle cannot be used if the noise reduction service file is not activated. Based on the existence of the noise reduction activation file, control the activation of the noise reduction engine of the target vehicle; If the noise reduction engine is successfully started, the vehicle call of the target vehicle is sent to the noise reduction engine so that the noise reduction engine can perform noise reduction processing on the vehicle call; The step of controlling the start of the noise reduction engine of the target vehicle based on the existence of the noise reduction activation file includes: if the noise reduction activation file exists, then controlling the start of the noise reduction engine based on the noise reduction activation file; if the noise reduction activation file does not exist, then determining the current availability status of the noise reduction service file corresponding to the target vehicle, and controlling the start of the noise reduction engine based on the current availability status.
2. The method according to claim 1, characterized in that, Determining the current availability status of the noise reduction service file corresponding to the target vehicle includes: Obtain the current activation status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current activation status; and / or, Obtain the current failure status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current failure status.
3. The method according to claim 2, characterized in that, The step of obtaining the current activation status of the noise reduction service file corresponding to the target vehicle includes: If the vehicle identifier of the target vehicle exists in the offline license list, the current activation status is determined to be activated; If the vehicle identifier of the target vehicle does not exist in the offline license list, the current activation status is determined to be inactive; The offline license list contains the vehicle identifiers of vehicles for which the corresponding noise reduction service files have been activated.
4. The method according to claim 2, characterized in that, The step of obtaining the current failure status of the noise reduction service file corresponding to the target vehicle includes: Obtain the current usage status and validity period of the noise reduction service file corresponding to the target vehicle; If the current usage is within the validity period, the current failure status is determined to be not invalid; If the current usage is outside the validity period, the current failure status is determined to be invalid.
5. The method according to claim 1, characterized in that, If the noise reduction engine is successfully started, the in-vehicle call of the target vehicle is sent to the noise reduction engine so that the noise reduction engine can perform noise reduction processing on the in-vehicle call, including: If the noise reduction engine is successfully started, a preset test audio is input into the noise reduction engine, and the audio noise reduction result fed back by the noise reduction engine is obtained. The noise reduction performance of the noise reduction engine is evaluated based on the matching between the audio noise reduction result and the standard noise reduction result corresponding to the preset test audio. If the evaluation is successful, the in-vehicle call of the target vehicle is sent to the noise reduction engine so that the noise reduction engine can perform noise reduction processing on the in-vehicle call.
6. The method according to claim 1, characterized in that, The step of obtaining the noise reduction activation file corresponding to the target vehicle includes: Based on the vehicle identification of the target vehicle, determine the product flow type of the target vehicle; Based on the product flow type, determine the target storage location of the noise reduction activation file corresponding to the target vehicle; The noise reduction activation file is obtained from the target storage location.
7. A vehicle-mounted call noise reduction device, characterized in that, The device includes: The file acquisition module is used to acquire the noise reduction activation file corresponding to the target vehicle when the target vehicle is detected to be powered on; the noise reduction activation file is a file used to activate the noise reduction service file corresponding to the noise reduction function of the target vehicle; the noise reduction service file is used to store the data processing logic corresponding to the noise reduction function, and the noise reduction function of the target vehicle cannot be used if the noise reduction service file is not activated. An engine start module is used to control the start of the noise reduction engine of the target vehicle based on the existence of the noise reduction activation file. The call noise reduction module is used to send the vehicle call of the target vehicle to the noise reduction engine when the noise reduction engine is successfully started, so that the noise reduction engine can perform noise reduction processing on the vehicle call. The engine start module includes a first start unit, which is used to control the start of the noise reduction engine according to the noise reduction activation file if the noise reduction activation file exists; and a second start unit, which is used to determine the current availability status of the noise reduction service file corresponding to the target vehicle and control the start of the noise reduction engine according to the current availability status if the noise reduction activation file does not exist.
8. The apparatus according to claim 7, characterized in that, The second startup unit includes: The first determining subunit is used to obtain the current activation state of the noise reduction service file corresponding to the target vehicle, and determine the current availability state of the noise reduction service file corresponding to the target vehicle based on the current activation state; and / or, The second determining subunit is used to obtain the current failure status of the noise reduction service file corresponding to the target vehicle, and determine the current availability status of the noise reduction service file corresponding to the target vehicle based on the current failure status.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-6.
Citation Information
Patent Citations
Voice processing method, terminal equipment and vehicle
CN114071318A
Authority management method for vehicle function, vehicle end and engine
CN116244668A