Voice interaction method and device inside and outside vehicle, electronic equipment and storage medium

Through voiceprint recognition and sound source location analysis, the potential safety hazard of voice assistants in new energy vehicles being manipulated by criminals is solved, ensuring that only authorized users can control the vehicle, improving safety and convenience.

CN118629404APending Publication Date: 2024-09-10CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410873362.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In existing new energy vehicles, voice assistants may be used by criminals to open windows or operate the vehicle through voice control when passengers or drivers in the car are taking a nap or rest, causing safety risks.

Method used

Use voiceprint recognition technology to detect voice requests inside and outside the car, and determine whether the voiceprint is in the preset list. If it is, execute the request; if not, determine whether to execute the request based on the location of the sound source, including triggering seat vibration or playback when outside the car. Tip: When the location is inside the vehicle, the request is executed directly. When the location is outside the vehicle, the vehicle mode is evaluated to decide whether to execute it.

Benefits of technology

Improved vehicle security, ensuring that only authorized users can control the vehicle, preventing unauthorized access or potential security threats, providing a convenient user experience and protecting users' personal information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629404A
    Figure CN118629404A
Patent Text Reader

Abstract

The invention provides an in-vehicle and out-vehicle voice interaction method and device, electronic equipment and a storage medium, and the method comprises the steps: judging whether a target person exists in a target vehicle or not under the condition of detecting that a voice request exists around the target vehicle; if yes, determining whether a voiceprint corresponding to the voice request is in a preset list; when the voiceprint corresponding to the voice request is in the preset list, executing the voice request; and when the voiceprint corresponding to the voice request is in the non-preset list, acquiring a sound source position corresponding to the voice request, and determining whether to execute the voice request according to the sound source position. According to the method, voice interaction is carried out inside and outside the vehicle, voice interaction inside and outside the vehicle is realized according to the list and sound source positioning, and logic judgment of voiceprints and voice request positions under specific conditions is added, so that the safety of voice control is improved, and the vehicle owner is prevented from being controlled by a lawless person through a voice assistant from the outside under the condition that the vehicle owner does not know the situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of automobile technology, and in particular to a method, device, electronic device and storage medium for in-vehicle and out-of-vehicle voice interaction. Background Art

[0002] Vehicle voice intelligence technology is an advanced feature integrated into modern cars that allows drivers to interact with vehicle systems through voice commands, thereby improving driving safety and convenience.

[0003] In related technologies, most of today's new energy vehicles have voice recognition operations, but when the passengers and drivers in the car are taking a nap or resting, if criminals outside the car use voice assistants to open the windows or operate the vehicle, it will cause safety hazards. Summary of the invention

[0004] The embodiments of the present application provide a method, device, system, electronic device and computer-readable storage medium for in-vehicle and out-of-vehicle voice interaction to solve the problem in the related art that opening a window or operating a vehicle through a voice assistant may cause safety hazards.

[0005] In a first aspect, an embodiment of the present application provides a method for in-vehicle and out-of-vehicle voice interaction, the method comprising:

[0006] In the case where a voice request is detected around the target vehicle, determining whether there is a target person inside the target vehicle;

[0007] If so, determining whether the voiceprint corresponding to the voice request is in a preset list;

[0008] When the voiceprint corresponding to the voice request is in a preset list, executing the voice request;

[0009] When the voiceprint corresponding to the voice request is in a non-preset list, the sound source position corresponding to the voice request is obtained, and whether to execute the voice request is determined according to the sound source position.

[0010] Optionally, the sound source position includes a position outside the vehicle;

[0011] The determining whether to execute the voice request according to the sound source position includes:

[0012] When the sound source position is detected to be the position outside the vehicle, obtaining a vehicle mode corresponding to the target vehicle;

[0013] If the vehicle mode corresponding to the target vehicle is the first target mode, the voice request is stopped, and the seat vibration and / or the preset playback device prompt are triggered.

[0014] Optionally, after the step of acquiring the vehicle mode corresponding to the target vehicle, the method includes:

[0015] If the vehicle mode corresponding to the target vehicle is not the first target mode, a voice execution request is sent to the user through the preset playback device.

[0016] Optionally, the sound source position includes a position inside the vehicle;

[0017] The determining whether to execute the voice request according to the sound source position includes:

[0018] When the sound source position is detected to be the position inside the vehicle, the voice request is executed.

[0019] Optionally, after the step of determining whether there is a target person inside the target vehicle, the method includes:

[0020] If not, determining whether the target vehicle is in a locked state;

[0021] If the target vehicle is in an unlocked state, whether to execute the voice request is determined according to the distance between the target key corresponding to the target vehicle and the target vehicle.

[0022] Optionally, determining whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle includes:

[0023] When the distance between the target key corresponding to the target vehicle and the target vehicle is within a preset range, obtaining the sound source position corresponding to the voice request;

[0024] If the sound source position is outside the vehicle, determining whether the voiceprint corresponding to the voice request is in a preset list;

[0025] If not, stop executing the voice request.

[0026] Optionally, after the step of determining whether a target person exists inside the target vehicle, the method includes:

[0027] If not, determining whether the target vehicle is in a second target mode;

[0028] If so, determining whether to execute the voice request is based on the distance between the target key corresponding to the target vehicle and the target vehicle.

[0029] In a second aspect, an embodiment of the present application provides a vehicle-inside-outside voice interaction device, the device comprising:

[0030] A judgment module, used for judging whether there is a target person inside the target vehicle when a voice request is detected around the target vehicle;

[0031] A determination module, configured to determine whether the voiceprint corresponding to the voice request is in a preset list;

[0032] A first execution module, configured to execute the voice request when the voiceprint corresponding to the voice request is in a preset list;

[0033] The second execution module is used to obtain the sound source position corresponding to the voice request when the voiceprint corresponding to the voice request is in a non-preset list, and determine whether to execute the voice request according to the sound source position.

[0034] Optionally, the sound source position includes a position outside the vehicle;

[0035] The second execution module includes:

[0036] A first execution submodule is used to obtain a vehicle mode corresponding to the target vehicle when the sound source position is detected to be the position outside the vehicle;

[0037] The second execution submodule is used to stop executing the voice request and trigger seat vibration and / or preset playback device prompt if the vehicle mode corresponding to the target vehicle is the first target mode.

[0038] Optionally, the second execution module includes:

[0039] The third execution submodule is used to send a voice execution request to the user through the preset playback device if the vehicle mode corresponding to the target vehicle is not the first target mode.

[0040] Optionally, the sound source position includes a position inside the vehicle;

[0041] The second execution module includes:

[0042] The fourth execution submodule is used to execute the voice request when it is detected that the sound source position is the position inside the vehicle.

[0043] Optionally, the device further comprises:

[0044] The first module is used to determine whether the target vehicle is in a locked state if no;

[0045] The second module is used to determine whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle if the target vehicle is in an unlocked state.

[0046] Optionally, the second module includes:

[0047] A first submodule is used for obtaining a sound source position corresponding to the voice request when the distance between the target key corresponding to the target vehicle and the target vehicle is within a preset range;

[0048] The second submodule is used to determine whether the voiceprint corresponding to the voice request is in a preset list if the sound source position is outside the vehicle;

[0049] The third submodule is used for stopping the execution of the voice request if no.

[0050] Optionally, the device further comprises:

[0051] A third module is used to determine whether the target vehicle is in a second target mode if no;

[0052] The fourth module is used to determine whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle.

[0053] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the above-described in-vehicle and out-of-vehicle voice interaction methods.

[0054] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-described in-vehicle voice interaction methods.

[0055] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising the in-vehicle and out-of-vehicle voice interaction device as described above.

[0056] In an embodiment of the present application, when a voice request is detected around a target vehicle, it is determined whether there is a target person inside the target vehicle; if so, it is determined whether the voiceprint corresponding to the voice request is in a preset list; when the voiceprint corresponding to the voice request is in a preset list, the voice request is executed; when the voiceprint corresponding to the voice request is in a non-preset list, the sound source position corresponding to the voice request is obtained, and whether the voice request is executed is determined according to the sound source position. Through voiceprint recognition technology, it can be ensured that only authorized users (i.e. users whose voiceprints are in the preset list) can control the vehicle, thereby improving the safety of the vehicle. For voiceprints in non-preset lists, the sound source position will be further evaluated to prevent unauthorized access or potential security threats. For users in the preset list, voice requests can be responded to and executed quickly, providing a convenient user experience. Users can control the vehicle by voice without manual operation, which is particularly important during driving because it allows the driver to keep his attention on the road. The present application not only relies on voiceprint recognition, but also combines sound source location information to make decisions, which increases the intelligence and flexibility of the vehicle. Through voiceprint recognition and sound source location analysis, the vehicle can provide personalized services without infringing on user privacy. The vehicle will only execute the request when the voiceprint matches the preset list, which helps protect the user's personal information. The vehicle of this application can adapt to different environments and situations, and can effectively handle voice requests whether they are issued inside or outside the vehicle. This adaptability enables the vehicle to provide consistent services in a variety of scenarios. For voiceprints that are not in the preset list, the vehicle will not blindly execute the request, but will evaluate the location of the sound source, which helps prevent misoperation or malicious operation and ensure the safety of the vehicle and passengers. That is, this application conducts voice interaction inside and outside the car, realizes voice interaction inside and outside the car based on the list and sound source positioning, adds logical judgment of voiceprints and voice request locations in specific situations, increases the security of voice control, and prevents car owners from being controlled by criminals from the outside through voice assistants without their knowledge.

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

[0058] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0059] Figure 1This is a flowchart of a method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application;

[0060] Figure 2 is a flowchart of another method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application;

[0061] Figure 3 is a flowchart of another method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application;

[0062] Figure 4 It is a logic block diagram of an in-vehicle and out-of-vehicle voice interaction device provided in an embodiment of the present application;

[0063] Figure 5 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0064] Figure 6 This is a flowchart of an exemplary in-vehicle and out-of-vehicle voice interaction method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0066] It should be noted that in the embodiment of the present application, the voice assistant uses voiceprint recognition technology to identify the voices of different people. Voiceprint recognition is a biometric recognition technology that identifies different sound sources by analyzing the spectrum, waveform and other characteristics of an individual's voice. Everyone's voice characteristics are unique, just like fingerprints, so different individuals can be identified by sound. When the vehicle is unlocked and the voice assistant is awakened, it will begin to listen to the surrounding sounds and use voiceprint recognition technology to determine who is interacting with it. Once the source of the sound is identified as a specific individual, the voice assistant can respond accordingly based on that person's instructions or needs.

[0067] A microphone array is a multi-microphone system composed of a certain number of acoustic sensors (microphones) arranged according to certain rules. Sound source localization based on microphone array refers to picking up sound signals with microphones, and obtaining the location information of one or more sound sources by analyzing and processing the output signals of the microphone array.

[0068] Multiple microphone arrays are set up outside and inside the car. By analyzing the sound signals received by different microphones, the direction and distance of the speaker can be estimated to determine whether the interactor is outside or inside the car. The microphone array is connected to the cockpit controller.

[0069] In an embodiment of the present application, four distributed microphones are respectively arranged near the driver's seat, the co-driver's seat, the 2nd row left seat, and the 2nd row right seat in the vehicle, and four more distributed microphones are respectively arranged near the left rearview mirror, the right rearview mirror, the left rear side window, and the right rear side window outside the vehicle, for a total of eight distributed microphones.

[0070] Figure 1 is a flowchart of a method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application, such as Figure 1 As shown, the method may include:

[0071] Step 101, when a voice request is detected around a target vehicle, determining whether there is a target person inside the target vehicle;

[0072] It should be noted that in the embodiment of the present application, the distributed microphone of the target vehicle can collect voice information around the vehicle. When it is determined that there is a voice request around the target vehicle, it is first determined whether there is a target person inside the target vehicle, that is, whether there is someone inside the target vehicle. If there is, perform the following steps.

[0073] Specifically, the seat sensor can be used to identify whether there are people sitting in the car.

[0074] Step 102: If yes, determine whether the voiceprint corresponding to the voice request is in a preset list;

[0075] Therefore, first determine whether the voiceprint corresponding to the voice request is in the preset list. The preset list can be understood as a whitelist. It should be noted that in the embodiment of the present application, when using the car, after the owner logs into the car account, he can store multiple whitelist voiceprints in the voice assistant settings. The stored whitelist voiceprints have high permissions. When logged in as the car account, no matter what situation the vehicle is in in the subsequent embodiments, the voice request can be executed to increase the user experience.

[0076] First, the system needs to collect the user's voice request, which is usually done through a microphone or other audio input device. The collected voice data should contain enough information for voiceprint recognition.

[0077] Specifically, voiceprint features are extracted from the collected voice data. These features may include pitch, timbre, speaking speed, pronunciation habits, etc., which are key information to distinguish different speakers; the extracted voiceprint features will be compared with the voiceprint features in a preset list. This process usually involves complex algorithms, such as dynamic time warping (DTW), Gaussian mixture model (GMM) or deep learning model, to determine the similarity between the input voiceprint and the voiceprint in the list; if the similarity between the input voiceprint and a voiceprint in the list exceeds a preset threshold, the voiceprint is determined to be in the preset list.

[0078] Specifically, voiceprint features can be extracted in the following ways: first, the collected speech signal is preprocessed, including noise removal, volume standardization, framing and other operations to improve the accuracy of voiceprint feature extraction, and voiceprint features are extracted from the preprocessed speech signal. Among them, commonly used voiceprint features include Mel-frequency cepstral coefficients (MFCC), linear prediction coding (LPC) coefficients, fundamental frequency, formant frequency, etc., which are not specifically limited in the embodiments of the present application. These voiceprint features can represent the unique vocal pattern of the speaker.

[0079] Step 103, when the voiceprint corresponding to the voice request is in the preset list, executing the voice request;

[0080] It should be noted that, in the embodiment of the present application, when the voiceprint corresponding to the voice request is in the preset list, the voice request is executed.

[0081] Step 104: when the voiceprint corresponding to the voice request is in a non-preset list, obtaining the sound source position corresponding to the voice request, and determining whether to execute the voice request according to the sound source position.

[0082] Further, in step 104, the sound source position includes a position outside the vehicle; and determining whether to execute the voice request according to the sound source position includes:

[0083] When the sound source position is detected to be the position outside the vehicle, obtaining a vehicle mode corresponding to the target vehicle;

[0084] If the vehicle mode corresponding to the target vehicle is the first target mode, the voice request is stopped, and the seat vibration and / or the preset playback device prompt are triggered.

[0085] If the vehicle mode corresponding to the target vehicle is not the first target mode, a voice execution request is sent to the user through the preset playback device.

[0086] It should be noted that the first target mode can be a nap mode. When the occupants set the vehicle to nap mode, there is a high probability that the occupants are resting at this time, and the safety level is high. If the cockpit recognizes that a voice request is issued from outside the vehicle through the microphone array, the voice request will not be executed, and the seat vibration and / or preset playback device prompt will be triggered.

[0087] Specifically, the occupants of the vehicle may be reminded by means of seat vibrations and speaker prompts.

[0088] When the occupants have not set the vehicle to be in nap mode, the occupants are most likely conscious and the safety level is low. If the cockpit recognizes that a voice request is issued from outside the vehicle, a voice execution request is sent to the user through the preset playback device.

[0089] Specifically, you can use voice to ask the people in the car whether to execute the request. The operation will only be executed after the people in the car agree to the operation through voice or a pop-up window on the central control screen.

[0090] Further, in step 104, the sound source position includes a position in the vehicle; and determining whether to execute the voice request according to the sound source position includes:

[0091] When the sound source position is detected to be the position inside the vehicle, the voice request is executed.

[0092] It should be noted that in the embodiment of the present application, if the location of the sound source around the vehicle is detected to be inside the vehicle, that is, the sound is made by a person inside the vehicle, and the voiceprint is in the preset list, that is, the white list, the voice request can be executed directly.

[0093] In an embodiment of the present application, when a voice request is detected around a target vehicle, it is determined whether there is a target person inside the target vehicle; if so, it is determined whether the voiceprint corresponding to the voice request is in a preset list; when the voiceprint corresponding to the voice request is in a preset list, the voice request is executed; when the voiceprint corresponding to the voice request is in a non-preset list, the sound source position corresponding to the voice request is obtained, and whether the voice request is executed is determined according to the sound source position. In an embodiment of the present application, through voiceprint recognition technology, it can be ensured that only authorized users (i.e. users whose voiceprints are in the preset list) can control the vehicle, thereby improving the safety of the vehicle. For voiceprints in non-preset lists, the sound source position will be further evaluated to prevent unauthorized access or potential security threats. For users in the preset list, voice requests can be responded to and executed quickly, providing a convenient user experience. Users can control the vehicle by voice without manual operation, which is particularly important during driving because it allows the driver to keep his attention on the road. The present application not only relies on voiceprint recognition, but also combines sound source location information to make decisions, which increases the intelligence and flexibility of the vehicle. Through voiceprint recognition and sound source location analysis, the vehicle can provide personalized services without infringing user privacy. The vehicle will only execute the request when the voiceprint matches the preset list, which helps protect the user's personal information. The vehicle of this application can adapt to different environments and situations, and can effectively handle voice requests whether they are issued inside or outside the vehicle. This adaptability enables the vehicle to provide consistent services in a variety of scenarios. For voiceprints that are not in the preset list, the vehicle will not blindly execute the request, but will evaluate the location of the sound source, which helps prevent misoperation or malicious operation and ensure the safety of the vehicle and passengers. That is, this application conducts voice interaction inside and outside the car, realizes voice interaction inside and outside the car based on the list and sound source positioning, adds logical judgment of voiceprints and voice request locations in specific situations, increases the security of voice control, and prevents car owners from being controlled by criminals from the outside through voice assistants without their knowledge.

[0094] In addition, the sound source location includes inside and outside the vehicle, and is combined with the interaction between vehicle modes to achieve vehicle intelligence.

[0095] Figure 2 is a flowchart of a method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application, such as Figure 2 As shown, the method may include:

[0096] Step 201, when a voice request is detected around a target vehicle, determining whether there is a target person inside the target vehicle;

[0097] It should be noted that in the embodiments of the present application, reference is made to the foregoing discussion and it will not be elaborated here.

[0098] Step 202, if not, determining whether the target vehicle is in a locked state;

[0099] Step 203: If the target vehicle is in an unlocked state, determining whether to execute the voice request is based on the distance between the target key corresponding to the target vehicle and the target vehicle.

[0100] Further, the determining whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle includes:

[0101] When the distance between the target key corresponding to the target vehicle and the target vehicle is within a preset range, obtaining the sound source position corresponding to the voice request;

[0102] If the sound source position is outside the vehicle, determining whether the voiceprint corresponding to the voice request is in a preset list;

[0103] If not, stop executing the voice request.

[0104] It should be noted that in the embodiment of the present application, when there is no one in the car and the car is not locked at this time, where locked car means that the vehicle is in a locked state, and unlocked car means that the vehicle is in an unlocked state, whether to execute the voice request is determined based on the distance between the target key corresponding to the target vehicle and the target vehicle.

[0105] Specifically, when the vehicle sensing key distance has not exceeded the locking distance, if a voice request is recognized to be issued from outside the vehicle, if it is not a whitelist voiceprint, the operation will not be performed, because at this time the owner may have left the vehicle, but has not exceeded the automatic locking distance of the sensing key, so the security level is higher.

[0106] In the embodiment of the present application, through voiceprint recognition technology, it can ensure that only authorized users (i.e. users whose voiceprints are in the preset list) can control the vehicle, thereby improving the safety of the vehicle. For voiceprints not in the preset list, the location of the sound source will be further evaluated to prevent unauthorized access or potential security threats. For users in the preset list, voice requests can be quickly responded to and executed, providing a convenient user experience. Users can control the vehicle by voice without manual operation, which is particularly important during driving because it allows the driver to keep his attention on the road. The present application not only relies on voiceprint recognition, but also combines sound source location information to make decisions, increasing the intelligence and flexibility of the vehicle. Through voiceprint recognition and sound source location analysis, the vehicle can provide personalized services without infringing on user privacy. The vehicle will only execute the request when the voiceprint matches the preset list, which helps protect the user's personal information. The vehicle of the present application can adapt to different environments and situations, and can effectively process voice requests whether they are issued inside or outside the vehicle. This adaptability enables the vehicle to provide consistent services in a variety of scenarios. For voiceprints that are not in the preset list, the vehicle will not blindly execute the request, but will evaluate the location of the sound source, which helps prevent misoperation or malicious operation and ensure the safety of the vehicle and passengers. That is, this application implements voice interaction inside and outside the vehicle based on the list and sound source positioning, adds logical judgment of voiceprints and voice request locations in specific situations, increases the security of voice control, and prevents the vehicle functions from being controlled by criminals from outside through voice assistants without the owner's knowledge.

[0107] In addition, the vehicle's internal personnel detection and smart key are combined to perform voiceprint and positioning matching, and perform multi-strategy logical judgment to ensure the vehicle's intelligence and safety.

[0108] Figure 3 is a flowchart of a method for in-vehicle and out-of-vehicle voice interaction provided by an embodiment of the present application, such as Figure 3 As shown, the method may include:

[0109] Step 301, when a voice request is detected around a target vehicle, determining whether there is a target person inside the target vehicle;

[0110] Step 302, if not, determining whether the target vehicle is in a second target mode;

[0111] Step 303: If yes, determine whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle.

[0112] It should be noted that in an embodiment of the present application, when the vehicle is in the second target mode, wherein the second target mode may refer to the camping mode, when the vehicle is in the camping mode and there is no one in the vehicle, if the vehicle senses that the key has not exceeded the specified range, wherein the specific range can be freely calibrated, voice operation can be performed because the owner is around the vehicle at this time and the safety level is low.

[0113] If the vehicle senses that the key is out of range, the security level is higher and only voice operations for whitelisted voiceprints are executed.

[0114] In the embodiment of the present application, through voiceprint recognition technology, it can ensure that only authorized users (i.e. users whose voiceprints are in the preset list) can control the vehicle, thereby improving the safety of the vehicle. For voiceprints not in the preset list, the location of the sound source will be further evaluated to prevent unauthorized access or potential security threats. For users in the preset list, voice requests can be quickly responded to and executed, providing a convenient user experience. Users can control the vehicle by voice without manual operation, which is particularly important during driving because it allows the driver to keep his attention on the road. The present application not only relies on voiceprint recognition, but also combines sound source location information to make decisions, increasing the intelligence and flexibility of the vehicle. Through voiceprint recognition and sound source location analysis, the vehicle can provide personalized services without infringing on user privacy. The vehicle will only execute the request when the voiceprint matches the preset list, which helps protect the user's personal information. The vehicle of the present application can adapt to different environments and situations, and can effectively process voice requests whether they are issued inside or outside the vehicle. This adaptability enables the vehicle to provide consistent services in a variety of scenarios. For voiceprints that are not in the preset list, the vehicle will not blindly execute the request, but will evaluate the location of the sound source, which helps prevent misoperation or malicious operation and ensure the safety of the vehicle and passengers. That is, this application implements voice interaction inside and outside the vehicle based on the list and sound source positioning, adds logical judgment of voiceprints and voice request locations in specific situations, increases the security of voice control, and prevents the vehicle functions from being controlled by criminals from outside through voice assistants without the owner's knowledge.

[0115] In addition, by combining the vehicle's internal personnel detection with the vehicle mode and smart key, the key can follow the vehicle to ensure vehicle intelligence while ensuring safety.

[0116] Corresponding to the method provided in the embodiment of the in-vehicle voice interaction method of the present application, see Figure 4 The present application also provides a logic block diagram of an in-vehicle voice interaction device. In this embodiment, the device 400 includes:

[0117] The judgment module 401 is used to judge whether there is a target person inside the target vehicle when a voice request is detected around the target vehicle;

[0118] A determination module 402 is used to determine whether the voiceprint corresponding to the voice request is in a preset list;

[0119] A first execution module 403, configured to execute the voice request when the voiceprint corresponding to the voice request is in a preset list;

[0120] The second execution module 404 is configured to obtain a sound source position corresponding to the voice request when the voiceprint corresponding to the voice request is in a non-preset list, and determine whether to execute the voice request according to the sound source position.

[0121] Optionally, the sound source position includes a position outside the vehicle;

[0122] The second execution module includes:

[0123] A first execution submodule is used to obtain a vehicle mode corresponding to the target vehicle when the sound source position is detected to be the position outside the vehicle;

[0124] The second execution submodule is used to stop executing the voice request and trigger seat vibration and / or preset playback device prompt if the vehicle mode corresponding to the target vehicle is the first target mode.

[0125] Optionally, the second execution module includes:

[0126] The third execution submodule is used to send a voice execution request to the user through the preset playback device if the vehicle mode corresponding to the target vehicle is not the first target mode.

[0127] Optionally, the sound source position includes a position inside the vehicle;

[0128] The second execution module includes:

[0129] The fourth execution submodule is used to execute the voice request when it is detected that the sound source position is the position inside the vehicle.

[0130] Optionally, the device further comprises:

[0131] The first module is used to determine whether the target vehicle is in a locked state if no;

[0132] The second module is used to determine whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle if the target vehicle is in an unlocked state.

[0133] Optionally, the second module includes:

[0134] A first submodule is used for obtaining a sound source position corresponding to the voice request when the distance between the target key corresponding to the target vehicle and the target vehicle is within a preset range;

[0135] The second submodule is used to determine whether the voiceprint corresponding to the voice request is in a preset list if the sound source position is outside the vehicle;

[0136] The third submodule is used for stopping the execution of the voice request if no.

[0137] Optionally, the device further comprises:

[0138] A third module is used to determine whether the target vehicle is in a second target mode if no;

[0139] The fourth module is used to determine whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle.

[0140] In summary, an embodiment of the present application provides a device for in-vehicle voice interaction. The present application performs voice interaction inside and outside the vehicle, realizes in-vehicle voice interaction based on a list and sound source positioning, adds logical judgment of voiceprints and voice request locations in specific situations, increases the security of voice control, and prevents the vehicle owner from being controlled by criminals from the outside through a voice assistant without knowing it.

[0141] Figure 5 This is a structural diagram of an electronic device M00 provided in an embodiment of the present application. In the figure, the electronic device M00 includes a processor M01 and a memory M02. The memory M02 stores programs or instructions that can be run on the processor M01. When the program or instructions are executed by the processor M01, the various steps of the above-mentioned in-vehicle and out-of-vehicle voice interaction method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0142] In an embodiment of the present application, the memory M02 can be used to store software programs and various data. The memory M02 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory M02 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (EnhancedSDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory M02 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0143] The processor M01 may include one or more processing units; optionally, the processor M01 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor M01.

[0144] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned in-vehicle and out-of-vehicle voice interaction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0145] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0146] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned in-vehicle and out-of-vehicle voice interaction method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0147] It should be understood that the chip involved in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0148] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned in-vehicle and out-of-vehicle voice interaction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0149] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for in-vehicle and out-of-vehicle voice interaction, characterized in that: The method comprises: In the case where a voice request is detected around the target vehicle, determining whether there is a target person inside the target vehicle; If so, determining whether the voiceprint corresponding to the voice request is in a preset list; When the voiceprint corresponding to the voice request is in a preset list, executing the voice request; When the voiceprint corresponding to the voice request is in a non-preset list, the sound source position corresponding to the voice request is obtained, and whether to execute the voice request is determined according to the sound source position.

2. The method according to claim 1, characterized in that The sound source position includes a position outside the vehicle; The determining whether to execute the voice request according to the sound source position includes: When the sound source position is detected to be the position outside the vehicle, obtaining a vehicle mode corresponding to the target vehicle; If the vehicle mode corresponding to the target vehicle is the first target mode, the voice request is stopped, and the seat vibration and / or the preset playback device prompt are triggered.

3. The method according to claim 2, characterized in that After the step of acquiring the vehicle mode corresponding to the target vehicle, the method includes: If the vehicle mode corresponding to the target vehicle is not the first target mode, a voice execution request is sent to the user through the preset playback device.

4. The method according to claim 1, characterized in that: The sound source position includes a position inside the vehicle; The determining whether to execute the voice request according to the sound source position includes: When the sound source position is detected to be the position inside the vehicle, the voice request is executed.

5. The method according to claim 1, characterized in that After the step of determining whether a target person exists inside the target vehicle, the method includes: If not, determining whether the target vehicle is in a locked state; If the target vehicle is in an unlocked state, whether to execute the voice request is determined according to the distance between the target key corresponding to the target vehicle and the target vehicle.

6. The method according to claim 5, characterized in that The determining whether to execute the voice request according to the distance between the target key corresponding to the target vehicle and the target vehicle comprises: When the distance between the target key corresponding to the target vehicle and the target vehicle is within a preset range, obtaining the sound source position corresponding to the voice request; If the sound source position is outside the vehicle, determining whether the voiceprint corresponding to the voice request is in a preset list; If not, stop executing the voice request.

7. The method according to claim 1, characterized in that After the step of determining whether a target person exists inside the target vehicle, the method includes: If not, determining whether the target vehicle is in a second target mode; If so, determining whether to execute the voice request is based on the distance between the target key corresponding to the target vehicle and the target vehicle.

8. A voice interaction device for inside and outside a vehicle, characterized in that: The device comprises: A judgment module, used for judging whether there is a target person inside the target vehicle when a voice request is detected around the target vehicle; A determination module, configured to determine whether the voiceprint corresponding to the voice request is in a preset list; A first execution module, configured to execute the voice request when the voiceprint corresponding to the voice request is in a preset list; The second execution module is used to obtain the sound source position corresponding to the voice request when the voiceprint corresponding to the voice request is in a non-preset list, and determine whether to execute the voice request according to the sound source position.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the in-vehicle and out-of-vehicle voice interaction method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the in-vehicle and out-of-vehicle voice interaction method as described in any one of claims 1 to 7.