Vehicle deodorization method and device and vehicle

By detecting the type and duration of objects inside the vehicle, and using voice signals and image recognition technology to determine whether to release deodorizer, the problem of odor inside the vehicle is solved, air quality is improved, and user needs are met.

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

Patent Information

Application Number
CN202411160605.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

In existing technologies, the fragrance system inside a vehicle can cause odors and fragrances to mix when the air is polluted, leading to user discomfort. How to effectively remove odors from inside a vehicle has become an urgent problem to be solved.

Method used

By detecting the type of target object inside the vehicle and the duration of its stay, it determines whether deodorization is needed. This includes using voice signals and image recognition technology to identify the object type and releasing deodorant when the stay duration reaches a preset time.

Benefits of technology

It improves the air quality inside the vehicle, avoids the generation of odors, meets the needs of female car owners for the air environment inside the car, and provides flexible and accurate deodorization control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120886631A_ABST
    Figure CN120886631A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle deodorization method and device and a vehicle, the method is applied to the technical field of vehicles, and the method comprises the steps that under the condition that it is detected that a target object exists in the vehicle, whether the object type of the target object is a preset object type or not is determined, and the target object is an object except a driver; the preset object type is an object type of which the interior of the vehicle needs to be deodorized; under the condition that the object type of the target object is a preset object type, whether the residence duration of the target object in the vehicle reaches a preset duration or not is determined; and under the condition that the residence duration reaches the preset duration, the interior of the vehicle is deodorized. According to the method, peculiar smells possibly generated by strange passengers, animals and the like in the vehicle can be removed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, and more particularly, to a vehicle deodorization method and device and vehicle. BACKGROUND

[0002] In recent years, with the increasing number of female drivers, the market demand for female vehicles is growing, and female vehicle owners generally pay more attention to the environment and air quality inside the vehicle.

[0003] In the related art, a fragrance system is configured inside the vehicle to provide a comfortable air environment for the interior space of the vehicle. However, when the air inside the vehicle is polluted, using the vehicle fragrance will cause the odor and fragrance in the vehicle to mix, causing discomfort to the user.

[0004] Therefore, how to remove the odor in the vehicle becomes a problem to be solved. SUMMARY

[0005] The present application provides a vehicle deodorization method, device and vehicle, which can remove the odor in the vehicle.

[0006] In a first aspect, a vehicle deodorization method is provided, which includes:

[0007] In a case where a target object is detected inside the vehicle, determining whether the object type of the target object is a preset object type, the target object being an object other than the driver, and the preset object type being an object type that needs to be deodorized inside the vehicle;

[0008] In a case where the object type of the target object is the preset object type, determining whether the residence duration of the target object inside the vehicle reaches a preset duration;

[0009] In a case where the residence duration reaches the preset duration, deodorizing the interior of the vehicle.

[0010] In the embodiments of the present application, in the case that it is detected that a target object exists in the vehicle, it can be determined whether the object type of the target object is a preset object type; and in the case that the object type of the target object is the preset object type, it is determined whether the target object stays in the vehicle for a preset duration; in the case that the duration of stay reaches the preset duration, the interior of the vehicle is deodorized; in the above method, in the case that it is detected that a target object exists in the vehicle except the driver, it can be determined whether the object type of the target object is an object type that needs to deodorize the vehicle, and in the case that it is determined that the object type of the target object is an object type that needs to deodorize the vehicle, it is further determined whether the target object stays in the vehicle for a long time. Since the interior of the vehicle can be deodorized when the target object stays in the vehicle for a long time, the odor that the target object may generate in the vehicle can be removed, thereby improving the air quality in the vehicle.

[0011] In combination with the first aspect, in some possible implementation manners, the determining, in the case that it is detected that a target object exists in the vehicle, whether the object type of the target object is a preset object type, comprises:

[0012] In the case that it is detected that the target object exists in the vehicle, object information of the target object is acquired;

[0013] Based on the object information, the object type of the target object is determined;

[0014] It is determined whether the object type is the preset object type.

[0015] In the embodiments of the present application, since the object information of the target object can be acquired in the case that it is detected that a target object exists in the vehicle, the object type of the target object can be accurately determined based on the object information, and then it can be accurately determined whether the object type is a preset object type.

[0016] In combination with the first aspect and the above implementation manners, in some possible implementation manners, the determining whether the object type is the preset object type comprises:

[0017] In the case that the object type is a passenger, based on a target feature and a preset feature, it is determined whether the object type is the preset object type; the preset feature is a feature of a passenger that has been recorded and stored by the vehicle;

[0018] In the case that the object type is a passenger, based on a target feature and a preset feature, it is determined whether the object type is the preset object type; the preset feature is a feature of a passenger that has been recorded and stored by the vehicle;

[0019] In the case that the object type is not a passenger, it is determined whether the object type is a preset animal type.

[0020] In the embodiments of the present application, on the one hand, in the case that the object type is a passenger, since it can be determined whether the object type is a preset object type, i.e., whether the target object is a white-listed passenger, based on the target feature and the preset feature, the influence on the vehicle interior environment when the target object is a stranger passenger is avoided; on the other hand, in the case that the object type is not a passenger, since it can be determined whether the object type is a preset animal type, the influence on the vehicle interior environment when the target object is an animal of a certain type is avoided in subsequent deodorization of the vehicle interior.

[0021] In combination with the first aspect and the above implementation manners, in some possible implementation manners, the determining whether the object type is a preset animal type comprises:

[0022] In the case that the object type is an article, inputting the object feature of the object information into a preset object recognition model to classify the target object to obtain a classification result; wherein the classification result is used to indicate an article type.

[0023] Based on the classification result, determining whether the object type is a preset article type.

[0024] In the embodiments of the present application, in the case that the object type is an article, since the object feature of the object information is input into a preset object recognition model to classify the target object to obtain a classification result, it can be determined accurately whether the object type is a preset article type based on the classification result, thereby avoiding the influence on the vehicle interior environment due to the object type being a preset article type.

[0025] In combination with the first aspect and the above implementation manners, in some possible implementation manners, before the deodorizing the vehicle, the method further comprises:

[0026] Determining whether the target object has left the vehicle.

[0027] The deodorizing the vehicle interior comprises:

[0028] In the case that the target object has not left the vehicle, in response to a deodorizing start operation of a user, releasing a deodorizing agent to deodorize the vehicle interior; or,

[0029] In the case that the target object has left the vehicle, automatically releasing a deodorizing agent to deodorize the vehicle interior.

[0030] In the embodiments of the present application, since it can be determined whether the target object has left the vehicle, on the one hand, in the case that the target vehicle has not left the vehicle, the user can trigger the release of the deodorant to deodorize the interior of the vehicle according to actual needs; on the other hand, in the case that the target object has left the vehicle, the deodorant is directly released to deodorize the interior of the vehicle automatically, so that the deodorization function of the interior of the vehicle can be flexibly realized.

[0031] With reference to the first aspect and the above implementation manners, in some possible implementation manners, before the determination of whether the target object has left the vehicle, the method further includes:

[0032] acquiring a second image of the interior of the vehicle through a built-in camera of the vehicle;

[0033] determining whether the target object has left the vehicle, including:

[0034] determining whether the target object has left the vehicle based on whether the second image includes the target object.

[0035] In the embodiments of the present application, since the second image of the interior of the vehicle can be acquired, whether the target object has left the vehicle can be accurately determined based on whether the target includes the target object, and then the interior of the vehicle can be deodorized more flexibly based on whether the target object has left the vehicle.

[0036] With reference to the first aspect and the above implementation manners, in some possible implementation manners, the deodorization of the interior of the vehicle includes:

[0037] determining the number of the target objects;

[0038] determining the release parameter of the deodorant based on the number of the target objects;

[0039] releasing the deodorant according to the release parameter to deodorize the interior of the vehicle.

[0040] In the embodiments of the present application, since the number of the target objects can be determined, the release parameter of the deodorant that meets the current needs can be determined based on the number of the target objects, so that the deodorant can be released according to the current needs to deodorize the interior of the vehicle, and the overuse or underuse of the deodorant is avoided.

[0041] With reference to the first aspect and the above implementation manners, in some possible implementation manners, after the determination of whether the object type of the target object is the preset object type, the method further includes:

[0042] In a case where the object type of the target object is determined to be different from the preset object type, first prompt information is displayed; the first prompt information is used to confirm whether to start a deodorization function of the vehicle.

[0043] In response to a confirmation operation on the first prompt information, deodorant is released to deodorize the interior of the vehicle; or,

[0044] In response to a denial operation on the first prompt information, deodorant is prohibited from deodorizing the interior of the vehicle.

[0045] In the embodiments of the present application, since the first prompt information is displayed in a case where the object type of the target object is determined to be different from the preset object type, in a case where the user thinks that the interior of the vehicle does not need to be deodorized at present, the user can trigger the deodorant to be prohibited from deodorizing the vehicle through a denial operation of the user, and in a case where the user thinks that the interior of the vehicle needs to be deodorized at present, the user can trigger the deodorant to deodorize the vehicle through a confirmation operation of the user, so that in a case where the target object does not produce odor, the user can autonomously select whether to deodorize the interior of the vehicle according to the user's own will.

[0046] In a second aspect, a vehicle deodorization device is provided, which comprises:

[0047] A first determination module is configured to determine whether an object type of a target object is a preset object type in a case where the target object is detected to exist in a vehicle, the target object is an object other than a driver, and the preset object type is an object type that needs to be deodorized in the interior of the vehicle.

[0048] A second determination module is configured to determine whether a residence duration of the target object in the vehicle reaches a preset duration in a case where the object type of the target object is the preset object type.

[0049] A vehicle deodorization module is configured to deodorize the interior of the vehicle in a case where the residence duration reaches the preset duration.

[0050] In a third aspect, a vehicle is provided, which comprises a memory configured to store executable program code;

[0051] A processor is configured to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation manner of the first aspect.

[0052] In a fourth aspect, a computer program product is provided, which comprises computer program code, when the computer program code is run on a computer, the computer program code causes the computer to execute the method in the first aspect or any possible implementation manner of the first aspect.

[0053] In a fifth aspect, a computer-readable storage medium is provided, which stores computer program codes, when the computer program codes are run on a computer, the computer is caused to execute the method in the first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0054] Figure 1 is a flowchart of a method for deodorizing a vehicle provided by an embodiment of the present application;

[0055] Figure 2 is a flowchart of another method for deodorizing a vehicle provided by an embodiment of the present application;

[0056] Figure 3 is a structural diagram of a device for deodorizing a vehicle provided by an embodiment of the present application;

[0057] Figure 4 is a structural diagram of a vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the present application will be described clearly and exhaustively below with reference to the drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B: "and / or" in the text is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone, in addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0059] Hereinafter, the terms "first", "second" are only for descriptive purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features.

[0060] At present, in the related art, a fragrance system is configured in the vehicle to provide a comfortable air environment for the internal space of the vehicle. However, when the air in the vehicle is polluted, using the vehicle fragrance will cause the mixture of the odor and the fragrance in the vehicle, resulting in user discomfort.

[0061] Therefore, how to remove the odor in the vehicle becomes a problem to be solved.

[0062] In view of this, in the embodiments of the present application, in the case where it is detected that a target object exists in the vehicle, it can be determined whether the object type of the target object is a preset object type; and in the case where the object type of the target object is the preset object type, it can be determined whether the target object stays in the vehicle for a preset duration; in the case where the duration of stay reaches the preset duration, the interior of the vehicle is deodorized; in the above method, in the case where it is detected that a target object other than the driver exists in the vehicle, it can be determined whether the object type of the target object is an object type that needs to deodorize the vehicle, and in the case where it is determined that the object type of the target object is an object type that needs to deodorize the vehicle, it is further determined whether the target object stays in the vehicle for a long time. Since the interior of the vehicle can be deodorized when the target object stays in the vehicle for a long time, the odor that the target object may generate in the vehicle can be removed, thereby improving the air quality in the vehicle.

[0063] Figure 1 FIG. 1 is a flowchart of a method for deodorizing a vehicle according to an embodiment of the present application.

[0064] For example, the method can be performed by a vehicle or a chip in the vehicle.

[0065] For example, the above method can include S201 to S203, which are described in detail below.

[0066] S201, in the case where it is detected that a target object exists in the vehicle, determining whether the object type of the target object is a preset object type.

[0067] The target object is an object other than the driver, and the preset object type is an object type that needs to deodorize the interior of the vehicle.

[0068] Optionally, the target object can include living objects and non-living objects. For example, when the target object is a living object, the target object can be a passenger or an animal; for another example, when the target object is a non-living object, the target object can be an article.

[0069] For example, in one way, the image of the interior of the vehicle is collected by the built-in camera of the vehicle, the image is recognized, and in the case where it is recognized that multiple objects exist in the image, it can be determined that a target object other than the driver exists in the vehicle; in another way, the vehicle is detected by the intelligent seat sensor, and if the pressure is detected by the intelligent seat sensor other than the main driver position in the vehicle, it is determined that a target object other than the driver exists in the vehicle.

[0070] Optionally, the object type of the target object can be any of the following: a passenger, an animal, and an article.

[0071] Optionally, the preset object type can include a preset passenger type, a preset animal type, and a preset article type. The preset passenger type refers to a passenger type that is not recorded by the vehicle, the preset animal type refers to all animals in the animal category, and the preset article type refers to an article type that can produce an odor and affect the internal environment of the vehicle.

[0072] Optionally, the preset object type can be set by the vehicle or set by the user according to a custom setting.

[0073] Optionally, in one possible scenario, the presence of the target object in the vehicle can be detected periodically. In another possible scenario, the presence of the target object in the vehicle can be detected when a switching action of a door of the vehicle is detected.

[0074] Optionally, S201, when the presence of the target object in the vehicle is detected, determining whether the object type of the target object is a preset object type, includes:

[0075] When the presence of the target object in the vehicle is detected, obtaining object information of the target object; determining the object type of the target object based on the object information; and determining whether the object type is a preset object type.

[0076] Optionally, the object information refers to information including an object feature used to identify the target object. For example, the object information can be a first image or a voice signal.

[0077] Optionally, when the object information is a first image, the first image is a face image of the target object, and the face image is obtained by cropping an image used to detect the presence of the target object in the vehicle; or the first image is obtained by re-shooting the target object by using an in-vehicle camera.

[0078] For example, when the first image is a face image of the target object, after an image inside the vehicle is collected, a Histogram of Oriented Gradients (HOG) can be used to detect a face position in the image. Specifically, the image can be first grayed, and then the gradient of a pixel in the image is calculated; the image is divided into multiple regions, and the gradient histogram feature of all pixels in each region is calculated; based on a trained classifier, the gradient histogram feature of each region is classified to determine whether the current region includes a face, i.e., to determine the face position in the image; and then, the image can be cropped based on the face position to obtain the first image.

[0079] Exemplarily, taking the target object as a passenger as an example, when the first image is obtained by re-shooting the target object through a camera built in the vehicle, since each seat in the vehicle is configured with a seat sensor, when a certain seat sensor detects pressure, it can be determined that the target object is located on the seat corresponding to the seat sensor; based on the position of the seat corresponding to the seat sensor in the vehicle, the camera is controlled to move to align with the face of the passenger on the seat, and when the camera detects a human face feature, the camera is controlled to automatically focus and shoot to obtain the first image.

[0080] Exemplarily, when the object information is a voice signal, the voice signal is collected by a microphone installed in the vehicle.

[0081] Optionally, after obtaining the object information of the target object, the object information can be preprocessed, and then based on the preprocessed object information, the object type of the target object is determined.

[0082] Optionally, the preprocessing can include but is not limited to denoising, information enhancement, etc.

[0083] Exemplarily, when the object information is a first image, the first image can be denoised, contrast enhanced, brightness and saturation adjusted, etc.; when the first image is a voice signal, the voice signal can be filtered, etc.

[0084] Optionally, the determination of the object type of the target object based on the object information can be understood as extracting an object feature in the object information, and determining the object type of the target object based on the object feature. The object feature is used to identify the type of the target object.

[0085] Exemplarily, when the object information is a first image, and the object feature is a texture feature of the first image, the texture feature in the first image can be extracted by using a local binary pattern (LBP). Specifically, the first image can be divided into a plurality of sub-regions; the LBP value of each pixel point in each sub-region is calculated; the histogram of each sub-region is determined based on the LBP value; and the feature vector composed of the histograms of the plurality of sub-regions represents the texture feature in the first image.

[0086] Exemplarily, the object feature can be analyzed by computer vision technology (such as a deep learning algorithm convolutional neural network) to directly identify that the object type of the target object is a passenger, an animal or an article.

[0087] Exemplarily, the object feature can be identified by an identification algorithm to determine whether the object type of the target object is a passenger; in the case that the object type of the target object is not a passenger, it is further determined whether the object type of the target object is an animal; in the case that the object type of the target object is an article, it is further determined whether the object type of the target object is an article type that can produce an odor to affect the in-vehicle environment.

[0088] In the embodiments of the present application, in the case that the target object is detected in the vehicle, the object information of the target object can be acquired, and since the object feature used for identifying the target object can be extracted from the object information by using the feature extraction algorithm, the object type of the target object can be accurately determined based on the object feature, and further, it can be accurately determined whether the object type is a preset object type.

[0089] Optionally, the step of determining whether the object type of the target object is a preset object type can specifically include the following steps (a) and (b):

[0090] (a) in the case that the object type is a passenger, based on the target feature and the preset feature, it is determined whether the object type is a preset object type.

[0091] Wherein, the object information is a voice signal, and the target feature is a target voiceprint feature of the voice signal; the object information is a first image, and the target feature is a target face feature of the first image; the preset feature is a feature of a passenger that has been registered in the vehicle.

[0092] Optionally, in the case that the target feature is a target voiceprint feature of a voice signal, the preset feature is a preset voiceprint feature; in the case that the target feature is a target face feature of a first image, the preset feature is a preset face feature.

[0093] Optionally, the target voiceprint feature refers to a unique voice characteristic produced by an individual when speaking. The target voiceprint feature can include but is not limited to at least one of the following: tone, loudness, timbre, speech speed or rhythm, etc. The voiceprint feature can be used for the identification and verification of the individual identity.

[0094] Exemplarily, each of the target voiceprint feature and the preset voiceprint feature can be compared; in the case that the target voiceprint feature matches a certain voiceprint feature, it is determined that the object type of the target object is a preset object type, i.e. the target object is a passenger that has been registered in the vehicle (i.e. the target object is a white-list passenger), or in the case that the target voiceprint feature does not match each voiceprint feature, it is determined that the object type of the target object is not a preset object type, i.e. the target object is a passenger that has not been registered in the vehicle (i.e. the target object is a stranger).

[0095] Optionally, the target facial feature refers to a series of visual features in the face image that can be used to identify and distinguish different people. The target facial feature can include, but is not limited to, at least one of the following: eyes, nose, mouth, facial contour, or facial texture, etc.

[0096] Exemplarily, each of the target facial feature and the preset facial feature can be compared; when the target facial feature matches a certain facial feature, it is determined that the object type of the target object is the preset object type, i.e., the target object is a vehicle-stored registered passenger (i.e., the target object is a white-listed passenger), or when the target facial feature does not match each facial feature, it is determined that the object type of the target object is not the preset object type, i.e., the target object is a vehicle-unregistered passenger (i.e., the target object is a stranger passenger).

[0097] Optionally, in the case where the object type is a passenger, the object information of the target object can further include weight and sitting posture; the weight and the sitting posture information can be compared with the stored preset weight and preset sitting posture to determine whether the object type is the preset object type. The preset weight and the preset sitting posture are characteristics of a vehicle-stored registered passenger.

[0098] Exemplarily, a machine learning algorithm is trained by using pressure distribution of different passengers on a seat and sitting postures under different pressure distributions to obtain a sitting posture recognition model, which is used to analyze the sitting posture of a passenger based on the pressure distribution of the passenger on the seat; the weight of the passenger and the pressure distribution on the seat are obtained by detecting through an intelligent seat sensor (e.g., a pressure sensor) of the vehicle; the pressure distribution is input into the trained sitting posture recognition model, and thus the sitting posture of the passenger can be obtained. For example, when the right side pressure on the seat is greater than the left side pressure, the left side pressure and the right side pressure can be input into the sitting posture recognition model at the same time, so that the current sitting posture of the passenger can be analyzed by the sitting posture recognition model as a right-crossed leg.

[0099] (b) in the case where the object type is not a passenger, determining whether the object type is a preset animal type.

[0100] Optionally, determining whether the object type is a preset animal type includes the following two cases:

[0101] Case 1

[0102] It is determined that the object type is the preset animal type.

[0103] In a case where the object type is an animal, each animal type in the preset animal types is compared with the object type of the target object. In a case where there is no animal type in the preset animal types that matches the object type, it is determined that the object type is not the preset animal type. In a case where there is an animal type in the preset animal types that matches the object type, it is determined that the object type is the preset animal type.

[0104] For example, it is assumed that the object type of the target object is a cat. The preset animal types include mammal types, bird types, fish types, and the like. Since the cat belongs to the mammal type, it is determined that the object type is the preset animal type.

[0105] Case 2

[0106] It is determined that the object type is not the preset animal type, that is, the object type is an article.

[0107] In an embodiment of the present application, on the one hand, in a case where the object type is a passenger, since it can be determined whether the object type is the preset object type based on the target feature and the preset feature, that is, it can be determined whether the target object is a white-listed passenger, the influence on the vehicle environment when the target object is a stranger passenger is avoided. On the other hand, in a case where the object type is not a passenger, since it can be determined whether the object type is the preset animal type, the vehicle interior is deodorized when the target object is an animal of a certain type to avoid the influence on the vehicle environment.

[0108] Optionally, the determination of whether the object type is the preset animal type can specifically include:

[0109] In a case where the object type is an article, the object feature of the object information is input into a preset object recognition model to classify the target object and obtain a classification result. The classification result is used to indicate an article type.

[0110] Based on the classification result, it is determined whether the object type is a preset article type.

[0111] Optionally, the object recognition model is obtained based on a large number of article images and article types.

[0112] For example, the object information is an image, and the object feature is an image feature, which can include an image contour, an image color, an image texture, and the like. After the image feature of the image is extracted, the image feature can be input into the object recognition model to classify the target object and obtain a classification result. Each article type in the preset article types is compared with the classification result. In a case where there is no article type in the preset article types that matches the classification result, it is determined that the object type is not the preset article type. In a case where there is an article type in the preset article types that matches the classification result, it is determined that the object type is the preset article type.

[0113] In the embodiments of the present application, in the case where the object type is an article, the object feature of the object information is input into the preset object recognition model to classify the target object and obtain a classification result, so that whether the object type is a preset article type can be accurately determined based on the classification result, thereby avoiding the influence on the vehicle interior environment due to the object type being the preset article type.

[0114] Optionally, after S201, i.e., after the step of determining whether the object type of the target object is a preset object type, the method for deodorizing a vehicle provided in the embodiments of the present application can further include the following steps:

[0115] In the case where the object type of the target object is not the preset object type, a first prompt information is displayed; the first prompt information is used to confirm whether to start the deodorization function of the vehicle;

[0116] In response to the confirmation operation on the first prompt information, the deodorant is released to deodorize the vehicle; or,

[0117] In response to the denial operation on the first prompt information, the deodorant is prohibited from deodorizing the vehicle.

[0118] It should be noted that in the case where the object type of the target object is not the preset object type, the target object is a white-list passenger or an article that does not emit odor, so it is not necessary to automatically deodorize the vehicle interior at this time, and the first prompt information is displayed to enable the driver to determine whether the vehicle interior needs to be deodorized at this time.

[0119] For example, in the case where the object type of the target object is not the preset object type, the message “whether to start deodorization; yes or no” can be displayed on the central control screen of the vehicle; in the case where the user selects “yes”, the deodorant can be released to deodorize the vehicle, or in the case where the user selects “no”, the deodorant can be prohibited from deodorizing the vehicle, i.e., deodorization is not necessary at this time.

[0120] In the embodiments of the present application, in the case where the object type of the target object is not the preset object type, the first prompt information is displayed, so in the case where the user believes that the vehicle interior does not need to be deodorized at this time, the user can trigger the deodorant to be prohibited from deodorizing the vehicle through the denial operation, and in the case where the user believes that the vehicle interior needs to be deodorized at this time, the user can trigger the deodorant to deodorize the vehicle through the confirmation operation, so that in the case where the target object does not emit odor, the user can autonomously select whether to deodorize the vehicle interior according to his / her own will.

[0121] S202, in the case where the object type of the target object is the preset object type, determining whether the residence duration of the target object in the vehicle reaches a preset duration.

[0122] Optionally, in the case where the object type of the target object is the preset object type, a timer can be started to time the duration of the target object staying in the vehicle. It can be understood that when it is detected that the target object leaves the vehicle, the timer can be stopped.

[0123] Optionally, in the case where it is detected that the target object leaves without the residence duration in the vehicle reaching the preset duration, the user can select whether to start the deodorization function according to actual needs to deodorize the interior of the vehicle.

[0124] S203, in the case where the residence duration reaches the preset duration, deodorizing the interior of the vehicle.

[0125] Optionally, the preset duration can be set by the vehicle factory or customized by the user.

[0126] Optionally, deodorizing the interior of the vehicle can include: one way of releasing a deodorant to deodorize the interior of the vehicle; another way of controlling the vehicle window to open to realize deodorization of the interior of the vehicle; and still another way of releasing a deodorant to deodorize the interior of the vehicle and controlling the vehicle window to open.

[0127] Optionally, in the case of releasing a deodorant to deodorize the interior of the vehicle, the deodorant can be installed in a specific space in the vehicle, which is a space for storing fragrance agents by itself, at which time the fragrance agents in the specific space need to be replaced in advance with deodorants, or the specific space is another space different from the space for storing fragrance agents, and the other space is specially used for placing deodorants.

[0128] Optionally, in the case where the residence duration reaches the preset duration, before deodorizing the vehicle, the vehicle deodorization method provided by the embodiments of the present application can further include:

[0129] Determining whether the target object has left the vehicle.

[0130] Optionally, before the above-mentioned determination of whether the target object has left the vehicle, the vehicle deodorization method provided by the embodiments of the present application can further include the following steps:

[0131] Collecting a second image of the interior of the vehicle through a built-in camera of the vehicle;

[0132] Correspondingly, the above-mentioned determination of whether the target object has left the vehicle can specifically include:

[0133] Based on whether the second image includes the target object, determine whether the target object has left the vehicle.

[0134] Optionally, the second image described above is an image of the interior of the vehicle captured by a camera at a wide angle.

[0135] Optionally, by detecting the image features of the second image, if the image features indicate an object other than the driver, it is determined whether the second image includes the target object; if the image features only indicate the driver, it is determined that the second image does not include the target object.

[0136] Furthermore, if the second image does not include the target object, it is determined that the target object has left the vehicle; if the second image includes the target object, it is determined that the target object has not left the vehicle.

[0137] In the embodiments of this application, since a second image of the vehicle interior can be acquired, it is possible to accurately determine whether the target object has left the vehicle based on whether the target includes the target object. Therefore, based on whether the target object has left the vehicle, the vehicle interior can be deodorized more flexibly.

[0138] Accordingly, the above-mentioned deodorization of the vehicle interior may specifically include the following (c) or (d):

[0139] (c) In the absence of the target object leaving the vehicle, in response to the user's deodorization activation operation, release deodorant to deodorize the interior of the vehicle.

[0140] For example, if the driver wants to deodorize the vehicle interior while the target object is still in the vehicle, they can click the deodorization activation control on the vehicle's central control screen; in response to the driver's click operation of the deodorization activation control, the deodorizer is released to deodorize the vehicle interior, thereby achieving the purpose of removing odors from the vehicle interior.

[0141] (d) Automatically release deodorizer to deodorize the vehicle interior after the target object has left the vehicle.

[0142] For example, when the target object has left the vehicle, the deodorizer can be automatically released to deodorize the interior of the vehicle without driver intervention, thereby removing odors from the vehicle interior.

[0143] In the embodiments of this application, since it is possible to determine whether the target object has left the vehicle, on the one hand, if the target vehicle has not left the vehicle, the user can trigger the release of deodorizer to deodorize the interior of the vehicle according to actual needs; on the other hand, if the target object has left the vehicle, the deodorizer is automatically released directly to deodorize the interior of the vehicle, thereby flexibly realizing the deodorization function of the vehicle interior.

[0144] Optionally, in an embodiment, the step of deodorizing the interior of the vehicle can specifically include the following steps:

[0145] determining the number of target objects, determining the release parameter of the deodorant based on the number of target objects, and releasing the deodorant according to the release parameter to deodorize the interior of the vehicle.

[0146] Optionally, in one way, a first image of the target objects can be acquired, and the image features of the first image are detected based on an object detection algorithm to determine the number of individuals in the first image, and then the number of target objects is determined; in another way, each seat in the vehicle is provided with a seat sensor, and whether any individual is present on the current seat can be detected through the seat sensor, so that the number of target objects is obtained based on the detection result of each seat sensor.

[0147] Optionally, the release parameter can include at least one of the release amount and the release concentration.

[0148] Exemplarily, a configuration file can be pre-set, which includes different release parameters of the deodorant corresponding to different numbers of target objects; after the number of target objects is determined, the configuration file can be queried to obtain the release parameter of the deodorant corresponding to the number of target objects.

[0149] Exemplarily, assuming that the target objects are two people, based on the number of target objects, the release amount of the deodorant is determined to be 15 milligrams per hour, so that the deodorant can be released at a rate of 15 milligrams per hour to deodorize the interior of the vehicle.

[0150] In the embodiments of the present application, since the number of target objects can be determined, the release parameter of the deodorant that meets the current demand can be determined based on the number of target objects, so that the deodorant can be released according to the current demand to deodorize the interior of the vehicle, avoiding excessive or insufficient use of the deodorant.

[0151] In the embodiments of the present application, in the case that it is detected that the target object exists in the vehicle, it can be determined whether the object type of the target object is a preset object type; and in the case that the object type of the target object is the preset object type, it is determined whether the residence duration of the target object in the vehicle reaches a preset duration; in the case that the residence duration reaches the preset duration, the interior of the vehicle is deodorized; in the above method, since it is detected that the target object exists in the vehicle except the driver, it can be determined whether the object type of the target object is an object type which needs to deodorize the vehicle, thus when it is determined that the object type of the target object is the object type which needs to deodorize the vehicle, it is further determined whether the target object stays in the vehicle for a long time, and the interior of the vehicle is deodorized when the target object stays in the vehicle for a long time, so as to remove the odor possibly generated by the target object in the vehicle, thereby improving the air quality in the vehicle.

[0152] Figure 2 is a flowchart of another method for deodorizing a vehicle provided by the embodiments of the present application.

[0153] Exemplarily, the method can be executed by the vehicle, or a chip in the vehicle.

[0154] Exemplarily, the above method can include S301 to S309, which are described in detail below.

[0155] S301, in the case that it is detected that the target object exists in the vehicle, it is determined whether the object type of the target object is a passenger.

[0156] If yes, S302 is executed; if no, S305 is executed.

[0157] The target object is an object except the driver.

[0158] Optionally, in one possible scenario, it can be periodically detected whether the target object exists in the vehicle; in another possible scenario, it can be detected whether the target object exists in the vehicle in the case that the opening and closing action of the vehicle door is detected.

[0159] Exemplarily, in one way, the image of the interior of the vehicle is collected by the built-in camera of the vehicle, the image is subjected to image recognition, and in the case that it is recognized that multiple objects exist in the image, it can be determined that the target object except the driver exists in the vehicle; in another way, the detection is performed by the intelligent seat sensor of the vehicle, and if the pressure is detected by the intelligent seat sensor except the intelligent seat sensor at the main driver position in the vehicle, it is determined that the target object except the driver exists in the vehicle.

[0160] S302, it is determined whether the target object belongs to a white list.

[0161] If not, S303 is performed. If yes, S307 is performed.

[0162] Optionally, the whitelist is used to store features of passengers who have been registered by the vehicle.

[0163] S303: Determine whether the residence duration of the target object in the vehicle reaches a preset duration.

[0164] S304: In the case where the residence duration reaches the preset duration, deodorize the interior of the vehicle.

[0165] Optionally, in the case where the residence duration reaches the preset duration, in one way, the deodorizing agent is automatically released to deodorize the interior of the vehicle; in another way, the interior of the vehicle is deodorized in response to a deodorizing start operation of the user.

[0166] S305: Determine whether the object type of the target object belongs to a preset animal type.

[0167] If yes, S303 is performed; if not, S306 is performed.

[0168] S306: Determine whether the object type belongs to a preset article type.

[0169] If yes, S303 is performed; if not, S307 is performed.

[0170] S307: Determine whether to start the deodorizing function.

[0171] If yes, S308 is performed; if not, S309 is performed.

[0172] S308: Release the deodorizing agent to deodorize the interior of the vehicle.

[0173] Exemplarily, the deodorizing agent can be released to deodorize the interior of the vehicle according to preset release parameters.

[0174] S309: Inhibit the release of the deodorizing agent to deodorize the interior of the vehicle.

[0175] For S301 to S309, refer to the detailed description of S201 to S203 in the above embodiments, and the embodiments of the present application will not be repeated here.

[0176] In the embodiments of the present application, since it can be determined whether the object type of the target object is an object type requiring deodorization of the vehicle when it is detected that there is a target object other than the driver in the vehicle, when it is determined that the object type of the target object is an object type requiring deodorization of the vehicle, it is further determined whether the target object stays in the vehicle for a long time, and when the target object stays in the vehicle for a long time, the interior of the vehicle is deodorized to remove the odor that the target object may generate in the vehicle, thereby improving the air quality in the vehicle.

[0177] Figure 3 A structural schematic diagram of a vehicle deodorization device provided in the embodiments of the present application.

[0178] As Figure 3 shown, the device 400 can include:

[0179] A first determination module 401 configured to determine whether the object type of a target object is a preset object type when it is detected that there is the target object in the vehicle, the target object being an object other than the driver, and the preset object type being an object type requiring deodorization of the interior of the vehicle.

[0180] A second determination module 402 configured to determine whether the staying time of the target object in the vehicle reaches a preset time length when the object type of the target object is the preset object type.

[0181] A vehicle deodorization module 403 configured to deodorize the interior of the vehicle when the staying time reaches the preset time length.

[0182] In a possible implementation, the first determination module 401 is specifically configured to acquire object information of the target object when it is detected that there is the target object in the vehicle; determine the object type of the target object based on the object information; and determine whether the object type is the preset object type.

[0183] In a possible implementation, the first determination module 401 is specifically configured to determine whether the object type is the preset object type based on a target feature and a preset feature when the object type is a passenger; the preset feature is a feature of a passenger that has been recorded and stored by the vehicle; and the object information is a voice signal, and the target feature is a target voiceprint feature of the voice signal; or the object information is a first image, and the target feature is a target face feature of the first image.

[0184] In a case where the object type is not a passenger, it is determined whether the object type is a preset animal type.

[0185] In a possible implementation, the first determining module 401, in particular, is configured to, in a case where the object type is an article, input an object feature of the object information into a preset object recognition model, perform classification on the target object, and obtain a classification result; the classification result is used to indicate an article type; and based on the classification result, it is determined whether the object type is a preset article type.

[0186] In a possible implementation, the apparatus 400 further includes:

[0187] The third determining module is configured to determine whether the target object has left the vehicle.

[0188] The vehicle deodorization module 403, in particular, is configured to, in a case where the target object has not left the vehicle, release a deodorant to deodorize the interior of the vehicle in response to a deodorization starting operation of a user; or,

[0189] In a case where the target object has left the vehicle, automatically release the deodorant to deodorize the interior of the vehicle.

[0190] In a possible implementation, the apparatus 400 further includes:

[0191] The image acquisition module is configured to acquire a second image of the interior of the vehicle by using a built-in camera of the vehicle.

[0192] The third determining module, in particular, is configured to determine, based on whether the second image includes the target object, whether the target object has left the vehicle.

[0193] In a possible implementation, the third determining module, in particular, is configured to determine a quantity of the target objects; determine a release parameter of the deodorant based on the quantity of the target objects; and release the deodorant according to the release parameter to deodorize the interior of the vehicle.

[0194] In a possible implementation, the apparatus 400 further includes:

[0195] The information display module is configured to, in a case where it is determined that the object type of the target object is not the preset object type, display first prompt information; the first prompt information is used to confirm whether to start a deodorization function of the vehicle.

[0196] The vehicle deodorization module is further configured to, in response to a confirmation operation on the first prompt information, release the deodorant to deodorize the interior of the vehicle; or,

[0197] The vehicle deodorization module is further configured to, in response to a denial operation on the first prompt information, prohibit the release of the deodorant to deodorize the interior of the vehicle.

[0198] In the embodiment of the present application, since it can be judged whether the object type of the target object is the object type requiring deodorization of the vehicle when it is detected that there is a target object other than the driver in the vehicle, when it is determined that the object type of the target object is the object type requiring deodorization of the vehicle, it is further judged whether the target object stays in the vehicle for a long time, and when the target object stays in the vehicle for a long time, the interior of the vehicle is deodorized to remove the odor that the target object may generate in the vehicle, thereby improving the air quality in the vehicle.

[0199] Figure 4 is a structural schematic diagram of a vehicle provided by an embodiment of the present application.

[0200] For example, as shown in Figure 4 The vehicle 500 includes a memory 501 and a processor 502, wherein the memory 501 stores executable program code 5011, and the processor 502 is configured to call and execute the executable program code 5011 to execute a vehicle deodorization method.

[0201] In addition, the present application also protects a device, which can include a memory and a processor, wherein the memory stores executable program code, and the processor is configured to call and execute the executable program code to execute a vehicle deodorization method provided by an embodiment of the present application.

[0202] The embodiment can divide the device into functional modules according to the above-mentioned method examples, for example, each functional module can be corresponding, or two or more functions can be integrated in one processing module, and the integrated module can be realized in the form of hardware. It should be noted that the division of the modules in the embodiment is illustrative, and is only a logical function division, and another division mode can be used in actual implementation.

[0203] In the case of dividing each functional module corresponding to each function, the device can further include a first determination module, a second determination module, a vehicle deodorization module, an image acquisition module, and an information display module, etc. It should be noted that all related contents of each step involved in the above-mentioned method embodiments can be referred to the function description of the corresponding functional module, which will not be repeated here.

[0204] It should be understood that the device provided by the embodiment is used to execute the above-mentioned vehicle deodorization method, and thus the same effect as the above-mentioned implementation method can be achieved.

[0205] In the case of using an integrated unit, the device can include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute related program codes, etc.

[0206] The processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules, and circuits shown in conjunction with the disclosure of the present application. The processor can also be a combination of computing functions, such as one or more microprocessor combinations, digital signal processing (DSP) and microprocessor combinations, etc. The storage module can be a memory.

[0207] In addition, the device provided by the embodiments of the present application can be a chip, a component or a module, and the chip can include a processor and a memory connected thereto. The memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute the method for deodorizing a vehicle provided by the above embodiments.

[0208] The embodiments also provide a computer-readable storage medium having computer program codes stored therein, which, when executed on a computer, cause the computer to perform the above-mentioned related method steps to implement the method for deodorizing a vehicle provided by the above embodiments.

[0209] The embodiments also provide a computer program product, which, when executed on a computer, causes the computer to perform the above-mentioned related steps to implement the method for deodorizing a vehicle provided by the above embodiments.

[0210] The device, computer-readable storage medium, computer program product or chip provided by the embodiments are used to execute the corresponding method provided above, so the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.

[0211] Through the description of the above embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the above-mentioned division of functional modules is taken as an example for illustration. In actual application, the above-mentioned functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0212] In the embodiments of the present disclosure, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are merely schematic, and the division of the modules or units is merely a logical function division. In actual implementation, another division manner can be adopted, for example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be electrical, mechanical or in other forms.

[0213] The above merely describes specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present disclosure, which should be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A method for deodorizing a vehicle, characterized in that, The method includes: If a target object is detected inside the vehicle, determine whether the object type of the target object is a preset object type. The target object is an object other than the driver, and the preset object type is the type of object that needs to be deodorized inside the vehicle. If the object type of the target object is a preset object type, determine whether the dwell time of the target object in the vehicle reaches the preset time. When the dwell time reaches the preset time, the interior of the vehicle is deodorized.

2. The method according to claim 1, characterized in that, The step of determining whether the object type of the target object is a preset object type when the presence of a target object is detected in the vehicle includes: If the target object is detected to be inside the vehicle, the object information of the target object is obtained; Based on the object information, determine the object type of the target object; Determine whether the object type is the preset object type.

3. The method according to claim 2, characterized in that, Determining whether the object type is the preset object type includes: When the object type is passenger, the system determines whether the object type is the preset object type based on target features and preset features; the preset features are the features of the recorded passengers stored in the vehicle. Wherein, the object information is a speech signal, and the target feature is the target voiceprint feature of the speech signal; the object information is a first image, and the target feature is the target facial feature of the first image; If the object type is not a passenger, determine whether the object type is a preset animal type.

4. The method according to claim 3, characterized in that, Determining whether the object type is a preset animal type includes: When the object type is an item, the object features of the object information are input into a preset object recognition model to classify the target object and obtain a classification result; wherein, the classification result is used to indicate the item type; Based on the classification results, determine whether the object type is a preset item type.

5. The method according to claim 1, characterized in that, Before deodorizing the vehicle, the method further includes: Determine whether the target object has left the vehicle; The deodorization of the vehicle interior includes: If the target object does not leave the vehicle, in response to the user's deodorization activation operation, a deodorizing agent is released to deodorize the interior of the vehicle; or... When the target object has left the vehicle, an automatic deodorizer is released to deodorize the interior of the vehicle.

6. The method according to claim 5, characterized in that, Before determining whether the target object has left the vehicle, the method further includes: A second image of the vehicle's interior is captured using the vehicle's built-in camera; Determining whether the target object has left the vehicle includes: Based on whether the second image includes the target object, it is determined whether the target object has left the vehicle.

7. The method according to claim 1, characterized in that, The deodorization of the vehicle interior includes: Determine the number of the target objects; Based on the number of the target objects, the release parameters of the deodorant are determined; The deodorizer is released according to the release parameters to deodorize the interior of the vehicle.

8. The method according to claim 1, characterized in that, After determining whether the object type of the target object is a preset object type, the method further includes: If it is determined that the object type of the target object is not the preset object type, a first prompt message is displayed; the first prompt message is used to confirm whether to activate the vehicle's deodorization function. In response to confirmation of the first notification message, a deodorizer is released to deodorize the vehicle interior; or, In response to a denial operation on the first prompt message, the release of deodorant to deodorize the vehicle interior is prohibited.

9. A vehicle deodorization device, characterized in that, The device includes: The first determining module is used to determine whether the object type of the target object is a preset object type when a target object is detected inside the vehicle. The target object is an object other than the driver, and the preset object type is an object type that needs to be deodorized inside the vehicle. The second determining module is used to determine whether the dwell time of the target object in the vehicle reaches the preset time when the object type of the target object is a preset object type. The vehicle deodorization module is used to deodorize the interior of the vehicle when the dwell time reaches the preset time.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 8.