Vehicle locking control method, electronic equipment and vehicle

By monitoring and canceling external human voice signals, the safety hazard of waking up the vehicle from the outside while it is still running and locked is resolved, thus improving vehicle safety.

CN120963599APending Publication Date: 2025-11-18GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511312584.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-15
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

If a vehicle is left running and locked, an outsider may wake it up via voice command, posing a safety hazard.

Method used

By monitoring human voice signals in the area outside the vehicle and using sound wave cancellation technology to eliminate these signals, the vehicle is ensured not to be woken up by external sources until it receives a vehicle unlock signal before being unlocked.

Benefits of technology

This effectively prevents the vehicle from being woken up by external voice commands while the engine is running, improving vehicle security and ensuring that only a legitimate vehicle unlocking signal can unlock the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120963599A_ABST
    Figure CN120963599A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle control, and particularly provides a vehicle locking control method, electronic equipment and a vehicle. The method comprises the following steps: acquiring vehicle state data; determining that the vehicle is in a locked state and a non-flameout state according to the vehicle state data, starting an external voice recognition function, and monitoring a human voice signal of an external area of the vehicle; in response to the monitored human voice signal, performing sound wave offset processing on the human voice signal; and turning off the external sound recognition function in response to the received vehicle unlocking signal. In this way, after the vehicle is in the locked state and in the non-flameout state, the external voice recognition function is started, and after an external voice signal is monitored, in order to avoid voice control over the vehicle by the external voice signal, sound wave offset processing is conducted on the voice signal, and the vehicle is unlocked after a vehicle unlocking signal is received. According to the physical noise reduction mode utilizing sound wave counteracting treatment, the situation that the vehicle is awakened by external personnel through voice is effectively avoided, and the safety of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a vehicle locking control method, electronic equipment, and vehicle. Background Technology

[0002] Currently, some users lock their vehicles but leave the engine running in certain situations (such as when running errands, when the weather is too cold or too hot) so that they can quickly restart the vehicle.

[0003] However, in this situation, some outsiders may wake up the vehicle and unlock it via voice commands from outside, posing a certain security risk to the vehicle. Summary of the Invention

[0004] In view of this, the purpose of this application is to propose a vehicle locking control method, electronic device and vehicle to solve the technical problem that external personnel can easily wake up the vehicle when it is locked but not turned off, which poses a safety hazard to the vehicle.

[0005] To achieve the above objectives, this application provides a vehicle locking control method, comprising: Obtain vehicle status data; Based on the vehicle status data, it is determined that the vehicle is locked and the engine is on. The external sound recognition function is then activated to monitor human voice signals in the area outside the vehicle. In response to the detection of the human voice signal, sound wave cancellation processing is performed on the human voice signal; In response to receiving a vehicle unlock signal, the external sound recognition function is turned off.

[0006] In some embodiments, determining that the vehicle is locked and not turned off based on the vehicle status data, and activating the external sound recognition function to monitor human voice signals in the area outside the vehicle, includes: Based on the door status in the vehicle status data, determine whether the door is locked; Based on the powertrain status in the vehicle status data, determine whether the vehicle is in a state of power output with the engine still running. Based on the key status in the vehicle status data, determine whether the key is outside the vehicle; In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0007] In some embodiments, the activation of the external sound recognition function in response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, to monitor human voice signals in the area outside the vehicle includes: In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the vehicle's position change information is detected; Determine whether the vehicle is stationary based on the position change information; When the vehicle is stationary, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0008] In some embodiments, determining that the vehicle is locked and not turned off based on the vehicle status data, and activating the external sound recognition function to monitor human voice signals in the area outside the vehicle, includes: Based on the vehicle status data, it is determined that the vehicle is locked and the engine is on, and user habit data is obtained. Based on the user habit data, determine whether the current time falls within the user's vehicle usage time. In response to determining that the current time is not within the user's vehicle usage time, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0009] In some embodiments, after determining whether the current time falls within the user's vehicle usage time based on the user habit data, the method further includes: In response to determining that the current time falls within the user's vehicle usage time, the target distance between the user and the vehicle is obtained; Determine whether the target distance is less than or equal to a distance threshold; In response to the target distance being greater than the distance threshold, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0010] In some embodiments, after determining whether the target distance is less than or equal to a distance threshold, the method further includes: In response to determining that the target distance is less than or equal to the distance threshold, the ambient noise of the surrounding environment outside the vehicle is acquired; Determine whether the ambient noise is less than or equal to a predetermined noise value; In response to the ambient noise exceeding the predetermined noise value, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0011] In some embodiments, after determining whether the ambient noise is less than or equal to a predetermined noise value, the method further includes: In response to the ambient noise being less than or equal to the predetermined noise value, the voice control function is triggered, and information about the vehicle's surrounding environment is obtained. In response to the vehicle's surrounding environment meeting safety requirements, normal voice recognition processing is performed; or... In response to the fact that the environmental information around the vehicle does not meet the safety conditions, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0012] In some embodiments, the step of performing sound wave cancellation processing on the human voice signal in response to detecting the human voice signal includes: In response to the detection of the human voice signal, the audio parameters of the human voice signal are analyzed; Based on the audio parameters, generate canceled sound wave data; A cancellation sound wave is emitted according to the cancellation sound wave data, and the cancellation sound wave is superimposed on the human voice signal to cancel the human voice signal.

[0013] Based on the same inventive concept, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.

[0014] Based on the same inventive concept, this application also provides a vehicle including the electronic equipment described above.

[0015] As can be seen from the above, the vehicle locking control method, electronic device, and vehicle provided in this application can activate the external sound recognition function after determining that the vehicle is locked and not turned off based on the vehicle status data. This function can monitor human voice signals in the area outside the vehicle. If external human voice signals are detected, sound wave cancellation processing is performed on the human voice signals to prevent them from affecting the vehicle's voice control. This physical method eliminates the corresponding human voice signals, preventing them from being recognized by the vehicle and avoiding situations where the vehicle can be woken up by external personnel through voice, thus improving vehicle security. The vehicle will only be unlocked after the user issues the correct vehicle unlock signal, and the external sound recognition function will be turned off, canceling the human voice signal cancellation processing and restoring the vehicle's normal voice control function. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart of a vehicle locking control method according to an embodiment of this application; Figure 2 This is a flowchart of a vehicle locking control method according to another embodiment of this application; Figure 3 This is an expanded flowchart of S1 in a vehicle locking control method according to another embodiment of this application; Figure 4 This is an expanded flowchart of S3 in a vehicle locking control method according to another embodiment of this application; Figure 5 This is an expanded flowchart of S2' in a vehicle locking control method according to another embodiment of this application; Figure 6 This is a structural block diagram of the vehicle locking control device according to an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0019] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0020] Terminology Explanation: Voiceprint recognition: A biometric technology that identifies a specific individual by analyzing the unique characteristics of a human voice (such as frequency, pitch, timbre, etc.). In the automotive field, it is used for voice control and security verification.

[0021] Sound wave cancellation: A technique that eliminates or weakens a target sound wave by generating a sound wave with the opposite phase to the target sound wave, so that the two sound waves cancel each other out when they are superimposed in space.

[0022] Standby mode: The vehicle is locked but the engine remains running. This mode is mainly used in cold regions to prevent the vehicle from freezing and to facilitate quick restarting.

[0023] Phase cancellation: When two sound waves with the same frequency but a phase difference of 180 degrees meet, their amplitudes cancel each other out, thus eliminating the sound waves.

[0024] User habit data: A dataset used to build user behavior models by learning user usage patterns, time patterns, distance preferences, and other behavioral characteristics.

[0025] In related technologies, some users, due to environmental factors or their own habits, will keep the engine or motor running (standby state) after locking the car to ensure a quick start. This is especially true in cold regions, where vehicles start more slowly in low temperatures. Users are accustomed to keeping the engine or motor running (standby state) after locking the car so that when they drive it again, the vehicle has warmed up and can start quickly.

[0026] While this usage habit improves the convenience of car use, it also brings security risks. In related technologies, vehicles with voice control functions can still be unlocked by external personnel using voice commands even when the car is locked but the engine is not turned off, posing a security risk of vehicle theft.

[0027] Therefore, the disadvantages of the related technology are as follows: Security vulnerability: In cold regions, users' habit of leaving their cars running when locked makes the vehicles vulnerable to being unlocked by external voice commands, posing a security risk.

[0028] User experience conflict: There is a conflict between security and convenience. If voice control is directly canceled to prevent vehicle theft, it will be inconvenient to use. Therefore, there is a conflict between protecting vehicle security and maintaining user convenience.

[0029] Based on the above, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0030] The vehicle locking control method proposed in this application is applied to the vehicle controller, such as... Figure 1 As shown, it includes: Step 101: Obtain vehicle status data.

[0031] In practice, the vehicle controller is equipped with a vehicle status monitoring module, which can be used to monitor vehicle status data.

[0032] The vehicle status data includes parameters related to the vehicle's locked / unlocked status, as well as parameters related to the powertrain's operating status.

[0033] Step 102: Based on the vehicle status data, determine that the vehicle is locked and not turned off, activate the external sound recognition function, and monitor human voice signals in the area outside the vehicle.

[0034] In practice, the key process is as follows: First, parameters related to the vehicle's lock / unlock status can be extracted from the vehicle status data to determine whether the vehicle is locked. Second, parameters related to the powertrain's operating status can be extracted from the vehicle status data. If the powertrain is running, it proves that the vehicle is not turned off; otherwise, it proves that the vehicle is turned off.

[0035] The two key processes mentioned above can be executed sequentially or simultaneously. If executed sequentially, key process one can be executed first, or key process two can be executed first.

[0036] A sound detection module is installed on the exterior of the vehicle. If the vehicle is determined to be unlocked or turned off, the external sound detection module is directly controlled to turn off, stopping the external sound recognition function. If the vehicle is determined to be unlocked and not turned off, the external sound detection module is controlled to turn on, thereby activating the external sound recognition function to detect sounds outside the vehicle (e.g., outside the driver's seat) in real time.

[0037] The human voice signal refers to a human voice signal. The sound detection module installed on the outside of the vehicle will identify the sound signal and determine whether it can recognize a human voice signal.

[0038] Specific human voice signal recognition schemes include at least one of the following: Voiceprint recognition is performed on the sound signal to determine whether the voiceprint features obtained from the voiceprint recognition contain human voiceprint features. If they do, it is determined that a human voice signal has been identified in the sound signal.

[0039] The sound signal is processed using a pre-trained voice recognition model capable of recognizing human voices. The system determines that the sound signal belongs to a human voice and outputs the recognition result as "belongs to a human voice signal." Specifically, a neural network model is pre-built and trained using sound signals labeled with human voices and other sound types as training samples. This continuously improves the accuracy of the neural network model in recognizing human voices. Once the accuracy of the neural network in recognizing human voices exceeds an accuracy threshold, the trained neural network model is used as the human voice recognition model.

[0040] Pre-store template signals of various human voices, match the detected sound signal with the stored template signals of various human voices, and if the matching degree of the sound signal with the template signal of at least one human voice is greater than a set threshold, it is determined that a human voice signal has been identified in the sound signal.

[0041] Step 103: In response to the detection of the human voice signal, sound wave cancellation processing is performed on the human voice signal.

[0042] In practice, a sound detection module monitors external voice signals in real time. If no voice signal is detected, the monitoring continues. If a voice signal is detected, since the vehicle is locked but not turned off, a sound wave interference cancellation module cancels the voice signal to prevent it from activating the vehicle's voice control function. This physically cancels the sound wave, preventing the voice signal from waking up the vehicle's voice control function and effectively avoiding the possibility of the vehicle being unlocked.

[0043] Step 104: In response to receiving the vehicle unlock signal, unlock the vehicle and disable the external sound recognition function.

[0044] In practice, users can send a vehicle unlock signal via key, unlock card, or terminal control. Once the vehicle controller receives the unlock signal, it will unlock the vehicle. At this time, in order to ensure that the vehicle can maintain the voice control function and avoid interference from the external sound recognition function, the external sound recognition function will be turned off.

[0045] The above solution enables the activation of external voice recognition after determining that the vehicle is locked and ignited based on vehicle status data. This function monitors human voice signals from outside the vehicle. If external voice signals are detected, sound wave cancellation is performed to prevent them from interfering with the vehicle's voice control. This physical method eliminates the corresponding voice signals, preventing the vehicle from being recognized and thus avoiding the possibility of the vehicle being woken up by external voice commands, thereby improving vehicle security. The vehicle will only be unlocked after the user issues the correct unlock signal, and the external voice recognition function will be turned off, canceling the voice signal cancellation and restoring the vehicle's normal voice control function.

[0046] In some embodiments, step 102 includes: Step 1021: Determine whether the door is locked based on the door status in the vehicle status data.

[0047] In practice, the parameter related to the vehicle's locking / unlocking status in the vehicle status data is the door status. If the door status is locked and activated, the door is determined to be locked; if the door status is unlocked and activated, the door is determined to be unlocked.

[0048] Step 1022: Determine whether the vehicle is in a powered, active state based on the power system status in the vehicle status data.

[0049] In practice, if the power system status is "running", it means that the vehicle's power system is still running and has not been turned off, but is in standby mode; if the power system status is "stopped", it means that the vehicle's power system has been turned off and is in standby mode.

[0050] Step 1023: Determine whether the key is outside the vehicle based on the key status in the vehicle status data.

[0051] In practice, the key status is determined by whether the vehicle can detect the key signal within a predetermined distance. If the key signal can be detected within the predetermined distance, it proves that the key is inside the vehicle; if the key signal is not detected within the predetermined distance, it proves that the key is outside the vehicle.

[0052] Alternatively, the key status is the distance between the vehicle and the key. If the distance is less than or equal to a distance threshold, it means the key is inside the vehicle; if the distance is greater than the distance threshold, it means the key is outside the vehicle.

[0053] Alternatively, the key status is the key's location, which determines the vehicle's location. If the distance difference between the key's location and the vehicle's location is within a predetermined range, it proves that the key is inside the vehicle. If the distance difference between the key's location and the vehicle's location exceeds the predetermined range, it proves that the key is outside the vehicle.

[0054] Among them, steps 1021 to 1023 can be executed simultaneously or in sequence. If they are executed in sequence, the execution order of these three steps is arbitrary, but the subsequent steps should be executed only after the result of the previous step is "yes". If the result is "no", it means that the conditions for starting the external sound recognition function are not met, and the execution of the scheme can be terminated directly.

[0055] Step 1024: In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0056] In practice, if the car doors are locked, the vehicle is powered on and running, and the key is outside the vehicle, the conditions for activating the external sound recognition function are met. The system will then control the sound detection module to activate the external sound recognition function, continuously monitoring for human voices in the area outside the vehicle. If a human voice signal is detected, the subsequent steps in step 103 will be executed. If no human voice signal is detected, the system will remain in the human voice monitoring state until the vehicle is unlocked, at which point the sound detection module will be deactivated, stopping the external sound recognition function.

[0057] In practice, in addition to the conditions of being locked and the engine running, the external sound recognition function is activated only if the key is outside the vehicle. This is because if the key is inside the vehicle, it indicates that the user has not gone far or will not be away for a long time, and the external sound recognition function does not need to be activated in this case. The external sound recognition function will only be activated if the doors are locked, the vehicle is running with power output, and the key is outside the vehicle. Subsequently, human voice recognition will be performed, and the recognized human voice will be canceled out.

[0058] The above solution adds the condition of the key being outside the vehicle, in addition to the conditions of the locked and ignition-on states. This prevents the external voice recognition function from repeatedly starting and stopping when the key is inside the vehicle and the user may return soon. Only when the doors are locked, the vehicle is in an ignition-on state with power output, and the key is outside the vehicle, indicating that the user will be away from the vehicle for a relatively long time, will the external voice recognition function be activated to prevent an outsider from waking up the vehicle by voice.

[0059] In some embodiments, step 1024 includes: Step 10241: In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, detect the vehicle's position change information.

[0060] In practice, if the car doors are locked, the vehicle is running with the engine powered on, and the key is outside the car—all three conditions must be met—the external sound recognition function still cannot be activated. This is because the vehicle may be in automatic parking or autonomous driving mode. However, automatic parking and autonomous driving heavily rely on voice control. To avoid situations where activating the external sound recognition function would cause sound wave cancellation, preventing automatic parking or autonomous driving from functioning properly, the system will detect changes in the vehicle's position (e.g., detecting the distance the vehicle has moved within a predetermined time period).

[0061] Step 10242: Determine whether the vehicle is stationary based on the position change information.

[0062] In practice, the location change information is the distance the vehicle moves within a predetermined time period. If the distance is less than or equal to a threshold, it indicates that the vehicle is stationary. If the distance is greater than the threshold, it indicates that the vehicle is moving.

[0063] Step 10243: In response to the vehicle being stationary, activate the external sound recognition function to monitor human voice signals in the area outside the vehicle.

[0064] In practice, the vehicle is only considered parked when the vehicle is stationary, provided that the doors are locked, the engine is running and the key is outside the vehicle. This indicates that the user will be away for an extended period of time. In order to prevent outsiders from waking up the vehicle by voice, the external sound recognition function is activated.

[0065] If the vehicle is moving, it means it is not parked. The user may be performing automatic parking or autonomous driving functions from outside the vehicle. In this case, the external sound recognition function will be disabled to prevent it from interfering with the voice control of automatic parking or autonomous driving functions.

[0066] The above solution allows for the addition of a determination of whether the vehicle is stationary, provided that the doors are locked, the vehicle is powered on and running, and the key is outside the vehicle. This ensures that the external sound recognition function is activated only when the vehicle is stationary and parking, and that activating the external sound recognition function will not affect other functions of the vehicle.

[0067] In some embodiments, step 102 includes: Step A1: Determine that the vehicle is locked and not turned off based on the vehicle status data, and obtain user habit data.

[0068] In practice, the vehicle's controller includes a user habit data module to store driving behavior data related to the user's driving habits. This includes data such as usage time, usage duration, driving speed, and driving patterns.

[0069] Step A2: Based on the user habit data, determine whether the current time is within the user's vehicle usage time.

[0070] In practice, the user habit data module can analyze driving behavior based on user habit data to determine whether the current time is within the user's vehicle usage time according to the user's driving habits.

[0071] Step A3: In response to determining that the current time is not within the user's vehicle usage time, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0072] In practice, if the current time is during the user's vehicle usage time (for example, if the user is the driver and the current time is daytime), it means that the current locked and ignition-on states are only temporary, and the user will most likely return soon. If the external sound recognition function is activated, the user will turn it off again when they return to unlock the vehicle. Therefore, to avoid frequent activation and deactivation of the external sound recognition function, it will not be activated in this case.

[0073] If the current time is not within the user's vehicle usage time (for example, if the user is a driver and the current time is 1 a.m. when the user is not driving, the user is parked and sleeping), it proves that the current locked and ignition-on state will continue for a long time, proving that the conditions for starting the external sound recognition function are met. Therefore, the sound detection module will be controlled to start the external sound recognition function to monitor human voices in the external area of ​​the vehicle in real time.

[0074] The above solution, after ensuring the vehicle is locked and ignited, further utilizes user habit data to determine if the current time falls within the user's preferred vehicle usage period. If the locked and ignited states are temporary, the external sound recognition function will not be activated to avoid frequent starts and stops. The activation condition will only be met when the vehicle is locked and ignited, and the user's habit data confirms the current time falls within their preferred vehicle usage period. This improves the intelligence of the external sound recognition function's activation.

[0075] In some embodiments, after step A2, the method further includes: Step A4: In response to determining that the current time is within the user's vehicle usage time, obtain the target distance between the user and the vehicle.

[0076] In practice, if the vehicle is locked and the engine is not turned off, and the current time is after the user's vehicle usage time, the target distance between the user and the vehicle will be obtained in order to further accurately determine whether the external sound recognition function needs to be activated.

[0077] The specific methods for determining distance include: The user will carry a terminal device that communicates with the vehicle's controller. The vehicle's controller can then obtain the location information of the user's terminal device, compare the location information of the terminal device with the location information of the vehicle, and calculate the distance difference between the two locations as the target distance.

[0078] Alternatively, the user can carry a key that communicates with the vehicle's controller. This allows the controller to obtain the key's location information, compare it with the vehicle's location information, and calculate the distance difference between the two locations as the target distance.

[0079] Alternatively, the user carries a key that communicates with the vehicle's controller. The vehicle's controller sends a signal to the key, and the key sends a return signal back to the vehicle's controller after receiving the signal. In this way, the vehicle's controller can calculate the target distance based on the time difference between the sent and returned signals.

[0080] Step A5: Determine whether the target distance is less than or equal to the distance threshold.

[0081] Step A6: In response to the target distance being greater than the distance threshold, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0082] In practice, if the target distance is less than or equal to the distance threshold, it indicates that the user is not far from the vehicle and the vehicle is safe, so there is no need to activate the external sound recognition function. If the target distance is greater than the distance threshold, it indicates that the user is far from the vehicle and the vehicle is unsafe, so the external sound recognition function needs to be activated to monitor human voice signals in the area outside the vehicle.

[0083] The above solution allows for determining whether to activate the external sound recognition function after the vehicle is locked and ignited, and the current time is within the user's vehicle usage time. This is because if the user is close to the vehicle, there is no need to waste resources activating the external sound recognition function. The function is only activated when the user is far away from the vehicle, thus improving the accuracy of the external sound recognition function and more accurately meeting the user's needs.

[0084] In some embodiments, after step A5, the method further includes: Step A7: In response to determining that the target distance is less than or equal to the distance threshold, the ambient noise of the surrounding environment outside the vehicle is acquired.

[0085] In practice, after confirming that the vehicle is locked but not turned off, that the current time is within the user's vehicle usage time, and that the target distance is less than or equal to a distance threshold (the user and vehicle are relatively close), environmental noise can be further assessed. This is because excessive environmental noise can also affect voice control.

[0086] Step A8: Determine whether the ambient noise is less than or equal to a predetermined noise value; Step A9: In response to the ambient noise being greater than the predetermined noise value, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0087] In practice, if the ambient noise is less than or equal to the predetermined noise value, it proves that normal voice control can be performed. If the ambient noise is greater than the predetermined noise value, it proves that the ambient noise is too large, and the voice control will be affected by the ambient noise, making the voice control inaccurate. In order to avoid inaccurate voice control, the external sound recognition function will be activated.

[0088] The above scheme determines that the vehicle is locked and not turned off, that the current time is within the user's vehicle usage time, and that the target distance is less than or equal to the distance threshold. It also adds a process to determine the ambient noise. If the ambient noise is greater than the predetermined noise value, it means that the ambient noise is too loud and will affect the voice control function. Therefore, the external sound recognition function will be activated. After detecting human voice information, the human voice information will be processed to cancel the sound waves to avoid inaccurate voice control execution.

[0089] In some embodiments, after step A8, the method further includes: Step A10: In response to the ambient noise being less than or equal to the predetermined noise value, the voice control function is triggered, and information about the vehicle's surrounding environment is obtained.

[0090] In practice, after determining that the vehicle is locked and not turned off, that the current time is within the user's vehicle usage time, and that the target distance is less than or equal to the distance threshold (the user and the vehicle are relatively close), if the ambient noise is less than or equal to the predetermined noise value, it proves that the ambient noise is low. At this time, voice control is allowed, and for the safety of voice control, information about the vehicle's surrounding environment will also be obtained.

[0091] The specific process for obtaining information about the vehicle's surrounding environment is as follows: Multiple cameras are installed on the exterior of the vehicle. These cameras collect image information, which is information about the vehicle's surrounding environment.

[0092] Alternatively, the vehicle may be equipped with infrared cameras on its exterior. These cameras collect infrared information and determine infrared images based on that information. These infrared images provide information about the vehicle's surrounding environment.

[0093] Alternatively, the vehicle may be equipped with multiple detection radars that emit ultrasonic signals. Based on the echo signals of these ultrasonic signals, the shape of objects around the vehicle can be determined, thereby generating a three-dimensional image of the sound wave detection. This three-dimensional image of the sound wave detection provides information about the vehicle's surrounding environment.

[0094] A neural network model is pre-built, and environmental images around various vehicles are collected. Each safe environmental image is labeled with a safety label, and each unsafe environmental image is labeled with an unsafe factor to form training samples.

[0095] The neural network model consists of an input layer, multiple hidden layers, and an output layer. The input layer includes multiple input ports, which are processed to receive pixel arrays of the surrounding image. The number of hidden layers is related to the number of insecurity factors, and the number of hidden layers is greater than the number of insecurity factors. The output layer incorporates an attention mechanism to process the feedback from the hidden layers and has a predetermined number of output ports, corresponding to the number of insecurity factors, used to output the probabilities corresponding to each insecurity factor.

[0096] Training process: The training samples are input through the input port. Each hidden layer analyzes the environmental image in the training samples. Each hidden layer analyzes the matching index of the corresponding insecurity factor in the environmental image and sends the matching index to the output layer. After each hidden layer analyzes the environmental image in the training samples, the output layer adjusts the matching index sent by each hidden layer using an attention mechanism to determine the probability that the training sample meets the corresponding insecurity factor and outputs it through the corresponding output port.

[0097] Then, the label of the training sample is determined. If the training sample is a safe sample, and the probabilities of various unsafe factors output by the output port exceed the safety threshold, the parameters of each layer of the neural network model will be adjusted. If the training sample is labeled with unsafe factors, the probabilities of various unsafe factors output are compared with the corresponding labeled unsafe factors. If the probability of the labeled unsafe factor is less than the probability threshold, or the probability of other unsafe factors output is greater than the safety threshold, the parameters of each layer of the neural network model will be adjusted.

[0098] A predetermined number of validation samples are collected in advance according to the training sample collection plan. Each time the neural network model is adjusted, the validation samples are processed using the adjusted neural network model to determine the accuracy. If the accuracy is greater than the accuracy threshold, the training of the neural network model will be stopped, and the final adjusted neural network model will be used as the security recognition model.

[0099] This allows the safety recognition model to be used to identify and process the environmental images in the acquired information about the vehicle's surrounding environment, thereby determining whether the safety conditions are met and obtaining a result indicating whether the safety conditions are met.

[0100] Step A11: In response to the fact that the environmental information around the vehicle meets the safety conditions, normal voice recognition processing is performed.

[0101] Alternatively, in step A12, in response to the fact that the environmental information around the vehicle does not meet the safety conditions, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0102] In practice, a recognition model can be used to identify the environmental information surrounding the vehicle to determine whether the environment meets safety requirements. If the safety requirements are not met, it indicates that executing voice control would be dangerous, so the external sound recognition function will be activated. After detecting human voice signals in the area outside the vehicle, sound wave cancellation processing will be performed on the human voice signals to prevent the vehicle from executing voice control under unsafe conditions. Only if the safety requirements are met can normal voice control be performed, and upon receiving a voice command, the corresponding operation will be executed.

[0103] Safety conditions include: location security, absence of dangerous information in the surrounding environment (e.g., images of behaviors that threaten the user's personal safety or property) and / or normal vital signs of the user.

[0104] The above scheme determines that the vehicle is locked but not turned off, the current time is within the user's vehicle usage time, the target distance is less than or equal to a distance threshold, and the ambient noise is less than or equal to a predetermined noise level. To further ensure the safety of voice control, a safety assessment of the vehicle's surrounding environment is performed to determine whether the safety conditions are met. Normal voice recognition processing can only proceed if the safety conditions are met. If the safety conditions are not met, the external sound recognition function is activated. After detecting human voice signals in the area outside the vehicle, sound wave cancellation processing is performed on the human voice signals to prevent the vehicle from executing voice control under unsafe conditions. This ensures the environmental safety of voice control and enhances the security of voice control.

[0105] In some embodiments, step 103 includes: Step 1031: In response to the detection of the human voice signal, analyze the audio parameters of the human voice signal.

[0106] In practice, the audio parameters include: target frequency, target phase, and target amplitude.

[0107] Step 1032: Generate cancellation sound wave data based on the audio parameters.

[0108] In practice, a canceling sound wave frequency that is the same as the target frequency, a canceling sound wave phase that is opposite to the target phase, and a canceling sound wave amplitude that is equal to the target amplitude are generated. The canceling sound wave frequency, canceling sound wave phase, and canceling sound wave amplitude are used as the canceling sound wave data.

[0109] Step 1033: Emit a cancellation sound wave according to the cancellation sound wave data. The cancellation sound wave is superimposed on the human voice signal to cancel the human voice signal.

[0110] In practice, a canceling sound wave is generated according to the canceling sound wave frequency, canceling sound wave phase and canceling sound wave amplitude. Then, the direction of the human voice signal is determined and the canceling sound wave is emitted in the direction of the human voice signal, so that the canceling sound wave and the human voice signal are superimposed and canceled to eliminate the human voice signal.

[0111] The above scheme can generate a canceling sound wave based on the human voice signal, and the canceling sound wave can effectively cancel the human voice signal, thereby eliminating the influence of the human voice signal at the physical level, preventing the vehicle from being controlled by the voice command corresponding to the human voice signal, ensuring that the vehicle will not be woken up by external voice, effectively reducing vehicle safety hazards and improving vehicle safety.

[0112] The locking control method of this application is described below with a specific embodiment, such as... Figure 2 As shown, the execution process is as follows: S1. Use the vehicle status monitoring module to monitor the vehicle status and determine whether the vehicle is locked and not turned off. If yes, proceed to step S2; otherwise, enter the normal control mode. S2, using the sound detection module, activate the external sound recognition function to monitor human voice signals in the area outside the vehicle, and determine whether human voice signals are detected. If yes, proceed to step S3; otherwise, continue monitoring. S3 uses a sound wave interference cancellation module to cancel sound wave interference in human voice signals; S4: Using the vehicle status monitoring module, the vehicle unlock signal is detected, the vehicle is unlocked, and a command to disable the external sound recognition function is sent to the sound detection module so that the external sound recognition function is disabled.

[0113] Before S2 is executed, the following are also included: S2': Utilize the user habit data module to analyze user habit data. If the user habit data meets the triggering conditions, trigger the start of the external sound recognition function and execute S2; otherwise, enter the normal control mode.

[0114] like Figure 3 As shown, the process executed by S1 using the vehicle status monitoring module is as follows: S11. Based on the door status in the vehicle status data, determine whether the door is locked. If yes, proceed to step S12; otherwise, enter the normal control mode.

[0115] S12, based on the power system status (e.g., engine status) in the vehicle status data, determine whether the vehicle is in a state of power output with the engine still running. If yes, proceed to step S13; otherwise, enter the normal control mode.

[0116] S13. Based on the key status in the vehicle status data, determine whether the key is outside the vehicle. If yes, proceed to step S14; otherwise, enter the normal control mode.

[0117] S14: Detect vehicle position change information, determine whether the vehicle is stationary based on the position change information, if yes, proceed to step S2 or S2', otherwise enter normal control mode.

[0118] like Figure 4 As shown, the process executed by S3 using the acoustic interference cancellation module is as follows: S31, Analyze the audio parameters of the human voice signal, including: target frequency, target phase and target amplitude.

[0119] S32, based on the audio parameters, generate cancellation sound wave data, which includes: cancellation sound wave frequency with the same frequency as the target frequency, cancellation sound wave phase with the opposite phase to the target phase, and cancellation sound wave amplitude with the same amplitude as the target amplitude.

[0120] S33, emit a cancellation sound wave according to the cancellation sound wave data, and superimpose the cancellation sound wave with the human voice signal to cancel the human voice signal.

[0121] like Figure 5 As shown, the process executed by S2' using the user habit data module is as follows: S21' After confirming that the vehicle is locked and the engine is not turned off, obtain user habit data; S22': Based on user habit data, determine whether the current time is within the user's vehicle usage time. If yes, proceed to S23'; otherwise, proceed to S2'. S23', Obtain the target distance between the user and the vehicle; S24': Determine if the target distance is less than or equal to the distance threshold. If yes, proceed to S25'; otherwise, proceed to S2'. S25', acquires ambient noise from the surrounding environment outside the vehicle; S26' Determine whether the ambient noise is less than or equal to the predetermined noise value. If yes, proceed to S27'; otherwise, proceed to S2'. S27' triggers the voice control function and obtains information about the vehicle's surrounding environment; S28' Determine whether the environmental information around the vehicle meets the safety conditions. If yes, proceed to S29'; otherwise, proceed to S2. S29', Perform normal speech recognition processing.

[0122] The above solution enables the activation of external voice recognition after determining that the vehicle is locked and ignited based on vehicle status data. This function monitors human voice signals from outside the vehicle. If a human voice signal is detected, it undergoes sound wave cancellation to prevent the vehicle's voice control from being activated. This physical method eliminates the corresponding human voice signal, preventing it from being recognized by the vehicle and thus improving vehicle security. The vehicle will only be unlocked after the user issues the correct unlock signal, and the external voice recognition function will be turned off, canceling the cancellation of detected human voice signals and restoring the vehicle's normal voice control function.

[0123] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0124] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0125] Based on the same inventive concept, corresponding to the vehicle locking control method of any of the above embodiments, this application also provides a vehicle locking control device.

[0126] refer to Figure 6 The vehicle locking control device includes: The acquisition module 201 is configured to acquire vehicle status data; The human voice monitoring module 202 is configured to determine that the vehicle is locked and not turned off based on the vehicle status data, and then activate the external sound recognition function to monitor human voice signals in the external area of ​​the vehicle. The sound wave cancellation processing module 203 is configured to perform sound wave cancellation processing on the human voice signal in response to the detection of the human voice signal. The unlock control module 204 is configured to unlock the vehicle and disable the external sound recognition function in response to receiving a vehicle unlock signal.

[0127] In some embodiments, the voice detection module 202 is specifically configured as follows: Based on the door status in the vehicle status data, determine whether the door is locked; Based on the powertrain status in the vehicle status data, determine whether the vehicle is in a state of power output with the engine still running. Based on the key status in the vehicle status data, determine whether the key is outside the vehicle; In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0128] In some embodiments, the human voice detection module 202 is further configured to: In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the vehicle's position change information is detected; Determine whether the vehicle is stationary based on the position change information; When the vehicle is stationary, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0129] In some embodiments, the voice detection module 202 includes: The user habit data acquisition unit is configured to determine, based on the vehicle status data, that the vehicle is locked and the engine is not turned off, and then acquire user habit data. The vehicle usage time determination unit is configured to determine whether the current time falls within the user's vehicle usage time based on the user habit data; The human voice monitoring unit is configured to activate the external sound recognition function and monitor human voice signals in the area outside the vehicle in response to determining that the current time is not during the user's vehicle usage time.

[0130] The human voice detection module 202, including a distance judgment unit, is configured as follows: After determining whether the current time is within the user's vehicle usage time based on the user habit data, in response to determining that the current time is within the user's vehicle usage time, the target distance between the user and the vehicle is obtained; Determine whether the target distance is less than or equal to a distance threshold; In response to the target distance being greater than the distance threshold, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0131] The human voice monitoring module 202, including a noise determination unit, is configured as follows: After determining whether the target distance is less than or equal to a distance threshold, in response to determining that the target distance is less than or equal to the distance threshold, the ambient noise of the surrounding environment outside the vehicle is acquired; Determine whether the ambient noise is less than or equal to a predetermined noise value; In response to the ambient noise exceeding the predetermined noise value, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0132] The human voice monitoring module 202, including a safety determination unit, is configured as follows: After determining whether the ambient noise is less than or equal to a predetermined noise value, in response to the ambient noise being less than or equal to the predetermined noise value, the voice control function is triggered, and information about the vehicle's surrounding environment is obtained. In response to the vehicle's surrounding environment meeting safety requirements, normal voice recognition processing is performed; or... In response to the fact that the environmental information around the vehicle does not meet the safety conditions, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

[0133] In some embodiments, the acoustic wave cancellation processing module 203 is specifically configured as follows: In response to the detection of the human voice signal, the audio parameters of the human voice signal are analyzed; Based on the audio parameters, generate canceled sound wave data; A cancellation sound wave is emitted according to the cancellation sound wave data, and the cancellation sound wave is superimposed on the human voice signal to cancel the human voice signal.

[0134] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0135] The apparatus of the above embodiments is used to implement the corresponding method in any of the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0136] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the methods described in any of the above embodiments. Figure 7This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0137] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0138] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0139] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0140] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0141] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0142] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0143] The electronic devices described above are used to implement the corresponding methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0144] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to perform the methods described in any of the above embodiments.

[0145] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), other types of random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital video disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0146] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to perform the methods described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0147] Based on the same concept, corresponding to any of the above embodiments, this application also provides a computer program product, including computer program instructions, which, when run on a computer, cause the computer to perform the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0148] Based on the same inventive concept, this application also provides a vehicle including the device or electronic device described in the above embodiments. The beneficial effects of embodiments having corresponding devices or electronic devices will not be elaborated further here.

[0149] It is understood that before using the technical solutions of the various embodiments in this application, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0150] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations described in this application.

[0151] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0152] It is understood that the above notification and user authorization process is merely illustrative and does not limit the implementation of this application. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this application.

[0153] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.

[0154] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0155] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0156] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A vehicle locking control method, characterized in that, include: Obtain vehicle status data; Based on the vehicle status data, it is determined that the vehicle is locked and the engine is on. The external sound recognition function is then activated to monitor human voice signals in the area outside the vehicle. In response to the detection of the human voice signal, sound wave cancellation processing is performed on the human voice signal; In response to receiving a vehicle unlock signal, the vehicle is unlocked and the external sound recognition function is turned off.

2. The method according to claim 1, characterized in that, The step of determining that the vehicle is locked and not turned off based on the vehicle status data, activating the external sound recognition function, and monitoring human voice signals in the area outside the vehicle includes: Based on the door status in the vehicle status data, determine whether the door is locked; Based on the powertrain status in the vehicle status data, determine whether the vehicle is in a state of power output with the engine still running. Based on the key status in the vehicle status data, determine whether the key is outside the vehicle; In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

3. The method according to claim 2, characterized in that, The response to the vehicle door being locked, the vehicle being powered on and running, and the key being outside the vehicle, is to activate the external sound recognition function to monitor human voice signals in the area outside the vehicle, including: In response to the door being locked, the vehicle being powered on and running, and the key being outside the vehicle, the vehicle's position change information is detected; Determine whether the vehicle is stationary based on the position change information; When the vehicle is stationary, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

4. The method according to claim 1, characterized in that, The step of determining that the vehicle is locked and not turned off based on the vehicle status data, activating the external sound recognition function, and monitoring human voice signals in the area outside the vehicle includes: Based on the vehicle status data, it is determined that the vehicle is locked and the engine is on, and user habit data is obtained. Based on the user habit data, determine whether the current time falls within the user's vehicle usage time. In response to determining that the current time is not within the user's vehicle usage time, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

5. The method according to claim 4, characterized in that, After determining whether the current time falls within the user's vehicle usage time based on the user habit data, the method further includes: In response to determining that the current time falls within the user's vehicle usage time, the target distance between the user and the vehicle is obtained; Determine whether the target distance is less than or equal to a distance threshold; In response to the target distance being greater than the distance threshold, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

6. The method according to claim 5, characterized in that, After determining whether the target distance is less than or equal to the distance threshold, the method further includes: In response to determining that the target distance is less than or equal to the distance threshold, the ambient noise of the surrounding environment outside the vehicle is acquired; Determine whether the ambient noise is less than or equal to a predetermined noise value; In response to the ambient noise exceeding the predetermined noise value, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

7. The method according to claim 6, characterized in that, After determining whether the ambient noise is less than or equal to a predetermined noise value, the method further includes: In response to the ambient noise being less than or equal to the predetermined noise value, the voice control function is triggered, and information about the vehicle's surrounding environment is obtained. In response to the vehicle's surrounding environment meeting safety requirements, normal voice recognition processing is performed; or... In response to the fact that the environmental information around the vehicle does not meet the safety conditions, the external sound recognition function is activated to monitor human voice signals in the area outside the vehicle.

8. The method according to claim 1, characterized in that, The step of performing sound wave cancellation processing on the human voice signal in response to detection includes: In response to the detection of the human voice signal, the audio parameters of the human voice signal are analyzed; Based on the audio parameters, generate canceled sound wave data; A cancellation sound wave is emitted according to the cancellation sound wave data, and the cancellation sound wave is superimposed on the human voice signal to cancel the human voice signal.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 8.

10. A vehicle, characterized in that, Includes the electronic device as described in claim 9.