Vehicle control method and device based on pet mode, vehicle, equipment and medium
By detecting the water content of pets in the vehicle and automatically turning on the hot air drying function, the problem of pets' comfort and safety in humid conditions is solved, and more comprehensive in-car service is achieved.
Patent Information
- Application Number
- CN202311244188.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
AI Technical Summary
How to provide pets with more comfortable and safe services in the scenario of traveling with pets, especially when the pet is in a wet state.
By detecting that when a pet enters a vehicle, the camera is used to obtain the real-time image of the pet, perform image recognition processing, and detect hair moisture content. If the hair moisture content exceeds the preset threshold, set the corresponding drying parameters and control the drying device to turn on the hot air drying function.
It realizes the automatic hot air drying function when the pet is humid, ensuring that the pet has a comfortable and safe environment in the car, avoids cold and sickness, and improves the functional diversity provided by the vehicle for pets.
Smart Images

Figure CN119682679A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle control technology, and in particular, relates to a vehicle control method, device, vehicle, equipment and medium based on a pet mode. Background Art
[0002] With the development of social economy and the continuous improvement of living standards, people's emotional sustenance has shown a diversified trend. More and more people are willing to give their emotions to pets, and keeping pets has become a trend. With the popularization of cars, driving private cars has become a popular way of travel, and taking pets with you in the car has gradually become the norm.
[0003] Based on this, how to provide pets with more comfortable and safe services when traveling with pets is an issue that needs to be urgently addressed. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a vehicle control method and device based on a pet mode, which can promptly turn on the hot air drying function when the pet is in a wet state, so as to automatically perform hot air drying on the pet and provide comfortable and safe in-car services for the pet.
[0005] In a first aspect, an embodiment of the present application provides a vehicle control method based on a pet mode, the method comprising: when a pet is detected entering a vehicle, obtaining a first image of the pet taken in real time by a camera; performing image recognition processing on the first image to obtain a first recognition result of the pet, the first recognition result being used to characterize the moisture content of the pet's hair; when the moisture content of the hair is greater than a first preset moisture content threshold, setting drying parameters based on the moisture content of the hair, and controlling the drying device to turn on a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
[0006] In some implementations of the first aspect, when the moisture content of the hair is greater than a first preset moisture content threshold, drying parameters are set based on the moisture content of the hair, including: when the moisture content of the hair is greater than the first preset moisture content threshold, performing image recognition processing on the first image to obtain a second recognition result of the pet, the second recognition result being used to characterize the pet volume of the pet; setting the drying time and / or drying air volume based on the moisture content of the hair and the volume of the pet; wherein the drying time and the drying air volume are positively correlated with the moisture content of the hair and / or the volume of the pet.
[0007] In some implementations of the first aspect, after setting the drying parameters based on the moisture content of the hair, the method further includes: obtaining a second image of the pet taken in real time by the camera at a target time, wherein the target time is a preset time before the end of the drying time set for the first time; performing image recognition processing on the second image to obtain a third recognition result of the pet, and the third recognition result is used to characterize the moisture content of the hair of the pet at the target time; when the moisture content of the hair at the target time is greater than a second preset moisture content threshold, extending the drying time based on the moisture content of the hair, and controlling the camera to take a picture of the pet based on a preset frequency; obtaining a real-time image taken by the camera based on the preset frequency; performing image recognition processing on the real-time image to obtain a real-time recognition result of the pet; after the real-time moisture content of the pet's hair represented by the real-time recognition result is less than or equal to the second preset moisture content threshold, controlling the drying device to turn off the hot air drying function.
[0008] In some possible implementations of the first aspect, after obtaining a first image of the pet taken in real time by a camera, the method further includes: when the moisture content of the hair is less than or equal to a first preset moisture content threshold, detecting the pet's body temperature through a temperature sensor; when the body temperature is less than the preset temperature threshold, setting drying parameters based on the body temperature, and controlling the drying device to turn on the hot air drying function based on the drying parameters.
[0009] In some implementations of the first aspect, the vehicle includes an interception device located between a luggage compartment and a rear seat, and the method further includes: obtaining status information of the vehicle; and when the status information meets a preset status condition, controlling the interception device to rise to limit the activity area of the pet.
[0010] In some possible implementations of the first aspect, the status information includes received operation instruction information and / or an in-vehicle environment image, the preset status conditions include a first status condition and a second status condition, and when the status information satisfies the preset status conditions, the interception device is controlled to be raised, including: when the received operation instruction information is used to instruct to raise the interception device, it is determined that the status information satisfies the first status condition, and only the interception device is controlled to be raised; when the recognition result of the in-vehicle environment image is used to characterize that only the pet is in the vehicle, it is determined that the status information satisfies the second status condition, the interception device is controlled to be raised, and the vehicle's display screen is controlled to display target prompt information, and the display screen is controlled to rotate a preset angle so that the display screen faces the outside of the window, wherein the target prompt information is used to characterize that the pet has not been forgotten by the owner.
[0011] In a second aspect, an embodiment of the present application provides a vehicle control device based on a pet mode, the device comprising: an acquisition module, for acquiring a first image of the pet taken in real time by a camera when a pet is detected entering the vehicle; a recognition module, for performing image recognition processing on the first image to obtain a first recognition result of the pet, the first recognition result being used to characterize the moisture content of the pet's hair; a control module, for setting drying parameters based on the moisture content of the hair when the moisture content of the hair is greater than a first preset moisture content threshold, and controlling the drying device to turn on a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
[0012] In some possible implementations of the second aspect, the control module includes: an identification unit, used to perform image recognition processing on the first image when the moisture content of the hair is greater than a first preset moisture content threshold, to obtain a second identification result of the pet, and the second identification result is used to characterize the pet volume of the pet; a setting unit, used to set the drying time and / or drying air volume based on the moisture content of the hair and the volume of the pet; wherein the drying time and the drying air volume are positively correlated with the moisture content of the hair and / or the volume of the pet.
[0013] In some implementations of the second aspect, the device also includes: an acquisition module, which is also used to acquire a second image of the pet taken in real time by the camera at a target time after setting the drying parameters based on the moisture content of the hair, wherein the target time is a preset time before the end of the drying time set for the first time; the recognition module is also used to perform image recognition processing on the second image to obtain a third recognition result of the pet, and the third recognition result is used to characterize the moisture content of the hair of the pet at the target time; the control module is also used to extend the drying time based on the hair moisture content when the moisture content of the hair at the target time is greater than a second preset moisture content threshold, and control the camera to take pictures of the pet based on a preset frequency; the acquisition module is also used to acquire a real-time image taken by the camera based on a preset frequency; the recognition module is also used to perform image recognition processing on the real-time image to obtain a real-time recognition result of the pet; the control module is also used to control the drying device to turn off the hot air drying function after the real-time moisture content of the pet represented by the real-time recognition result is less than or equal to the second preset moisture content threshold.
[0014] In some possible implementations of the second aspect, the device also includes: a detection module, which is used to detect the pet's body temperature through a temperature sensor after acquiring a first image of the pet taken in real time by a camera when the moisture content of the hair is less than or equal to a first preset moisture content threshold; a control module, which is also used to set drying parameters based on the body temperature when the body temperature is less than a preset temperature threshold, and control the drying device to turn on the hot air drying function based on the drying parameters.
[0015] In some implementations of the second aspect, the vehicle includes an interception device, which is located between the luggage compartment and the rear seats. The device also includes: an acquisition module, which is also used to obtain status information of the vehicle; and a control module, which is also used to control the interception device to rise when the status information meets preset status conditions to limit the activity area of the pet.
[0016] In some possible implementations of the second aspect, the status information includes received operation instruction information and / or an in-vehicle environment image, the preset status condition includes a first status condition and a second status condition, and the control module is specifically used to: when the received operation instruction information is used to instruct to raise the interception device, determine that the status information satisfies the first status condition, and then only control the interception device to be raised; when the recognition result of the in-vehicle environment image is used to characterize that only the pet is in the vehicle, determine that the status information satisfies the second status condition, control the interception device to be raised, and control the vehicle's display screen to display target prompt information, and control the display screen to rotate a preset angle so that the display screen faces the outside of the window, wherein the target prompt information is used to characterize that the pet has not been forgotten by the owner.
[0017] In a third aspect, an embodiment of the present application provides a vehicle, comprising: an acquisition module, for acquiring a first image of the pet taken in real time by a camera when a pet is detected entering the vehicle; an identification module, for performing image recognition processing on the first image to obtain a first identification result of the pet, wherein the first identification result is used to characterize the moisture content of the pet's hair; a control module, for setting drying parameters based on the moisture content of the hair when the moisture content of the hair is greater than a first preset moisture content threshold, and controlling the drying device to turn on a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the pet mode-based vehicle control method as in the first aspect are implemented.
[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the steps of the pet mode-based vehicle control method of the first aspect are implemented.
[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the steps of the pet mode-based vehicle control method as in the first aspect.
[0021] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the pet mode-based vehicle control method as in the first aspect.
[0022] The present application provides a vehicle control method, device, vehicle, equipment and medium based on pet mode. When a pet is detected to enter the vehicle, the pet's hair moisture content is detected by identifying a first image taken of the pet, and when the hair moisture content is greater than a first preset moisture content threshold, a drying parameter is set based on the hair moisture content, and a drying device is controlled to start a hot air drying function that matches the drying parameter, so that the hot air drying function can adapt to the current wet state of the pet. In this way, after the pet wades in water or the owner cleans the pet outdoors, the owner can automatically start the hot air drying function in time by bringing the pet into the luggage compartment, and automatically dry the pet with hot air, so as to prevent the pet from getting cold and getting sick, improve the diversity of functions provided by the vehicle for pets, and provide comprehensive, comfortable and safe in-vehicle services for pets. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application.
[0024] Figure 1 is a flow chart of a vehicle control method based on a pet mode provided in an embodiment of the present application;
[0025] Figure 2 is a flow chart of a vehicle control method based on a pet mode provided by another embodiment of the present application;
[0026] Figure 3 is a flow chart of a vehicle control method based on a pet mode provided in yet another embodiment of the present application;
[0027] Figure 4 is a flow chart of a vehicle control method based on a pet mode provided in yet another embodiment of the present application;
[0028] Figure 5 is a flow chart of a vehicle control method based on a pet mode provided in yet another embodiment of the present application;
[0029] Figure 6 is a structural schematic diagram of a vehicle control device based on a pet mode provided in an embodiment of the present application;
[0030] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0032] The embodiment of the present application provides a vehicle control method, device, vehicle, equipment and medium based on pet mode. When a pet is detected to enter the vehicle, the moisture content of the pet's hair is detected by identifying the first image taken of the pet, and when the moisture content of the hair is greater than the first preset moisture content threshold, the drying parameters are set based on the moisture content of the hair, and the drying device is controlled to start the hot air drying function that matches the drying parameters, so that the hot air drying function can adapt to the current wet state of the pet. In this way, after the pet wades in water or the owner cleans the pet outdoors, the owner can automatically start the hot air drying function in time by bringing the pet into the luggage compartment, and automatically dry the pet with hot air, so as to prevent the pet from getting cold and getting sick, improve the diversity of functions provided by the vehicle for pets, and provide comprehensive, comfortable and safe in-vehicle services for pets.
[0033] The pet mode-based vehicle control method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0034] Figure 1 It is a flow chart of a pet mode-based vehicle control method provided in one embodiment of the present application. The executor of the pet mode-based vehicle control method may be a vehicle or a vehicle control device in the vehicle, and the vehicle control device is a pet mode-based vehicle control device.
[0035] The following uses the vehicle as an example to illustrate the vehicle control method based on pet mode. It should be noted that the above-mentioned execution subjects and application scenarios do not constitute limitations on the present application.
[0036] like Figure 1 As shown, the pet mode-based vehicle control method provided in the embodiment of the present application may include steps 110 to 130.
[0037] Step 110, when a pet is detected to enter the vehicle, a first image of the pet captured in real time by a camera is obtained;
[0038] Step 120, performing image recognition processing on the first image to obtain a first recognition result of the pet, where the first recognition result is used to characterize the moisture content of the pet's hair;
[0039] Step 130, when the moisture content of the hair is greater than the first preset moisture content threshold, setting drying parameters based on the moisture content of the hair, and controlling the drying device to start a hot air drying function that matches the drying parameters.
[0040] The pet mode-based vehicle control method provided in the embodiment of the present application, when a pet is detected to enter the vehicle, detects the moisture content of the pet's hair by identifying the first image obtained by photographing the pet, and when the moisture content of the hair is greater than the first preset moisture content threshold, sets the drying parameters based on the moisture content of the hair, and controls the drying device to start the hot air drying function that matches the drying parameters, so that the hot air drying function can adapt to the current wet state of the pet. In this way, after the pet wades in water or the owner cleans the pet outdoors, the owner can automatically start the hot air drying function in time by bringing the pet into the luggage compartment, and automatically dry the pet with hot air, so as to prevent the pet from getting cold and getting sick, improve the diversity of functions provided by the vehicle for pets, and provide comprehensive, comfortable and safe in-vehicle services for pets.
[0041] The specific implementation of the above steps will be described in detail below in conjunction with specific embodiments.
[0042] In step 110, when a pet is detected to enter the vehicle, a first image of the pet captured by a camera in real time is obtained.
[0043] Specifically, the camera can detect the environment inside the vehicle, and when it is detected that a pet has entered the vehicle, the camera can take a real-time photo of the pet to obtain a first image.
[0044] In step 120, image recognition processing is performed on the first image to obtain a first recognition result of the pet.
[0045] Specifically, the image recognition model is used to identify the moisture content of the pet's hair in the image. In the present application, the first image can be processed by the image recognition model. The image recognition model is pre-trained using a training sample data set. The training sample data set may include a large number of training sample images. The image content of the training sample images is all pets. A large number of training sample images may involve pets in different moisture states. Each training sample image can be manually labeled. Therefore, the image recognition model can be obtained by taking the training sample images as input and the labels corresponding to the training sample images as output to perform model training.
[0046] Involving step 130, when the moisture content of the hair is greater than a first preset moisture content threshold, a drying parameter is set based on the moisture content of the hair, and the drying device is controlled to start a hot air drying function that matches the drying parameter.
[0047] Specifically, when the moisture content of the hair is greater than the first preset moisture content threshold, it can be considered that the moisture content of the pet's hair is high, so the drying parameters can be set and the hot air drying function can be turned on. The drying parameters include drying time and drying air volume, which are positively correlated with the moisture content of the hair, that is, the higher the moisture content of the hair, the longer the drying time and the greater the drying air volume. The wind direction can also move with the pet's dynamics.
[0048] The first preset moisture content threshold can be set according to specific needs, for example, to 30%, 50% or other values, and this application does not make any specific limitation on this.
[0049] In some embodiments, the drying parameters may also include a drying mode. Different drying modes may be selected based on different moisture contents of the hair. For example, the drying modes may include a gentle drying mode and a quick drying mode. In the gentle drying mode, the tailgate of the vehicle may be opened and the drying air volume may be small. In the quick drying mode, the tailgate of the vehicle may be closed and the drying air volume may be large.
[0050] In some embodiments of the present application, the drying device may include a booster fan and a negative ion generator. The above step 130 controls the drying device to turn on the hot air drying function that matches the drying parameters, which may specifically include: turning on the hot air drying function and the static electricity elimination function by controlling the operation of the booster and the negative ion generator.
[0051] In some embodiments, when the hot air drying function ends, if the pet is detected to have left the luggage compartment, the vehicle may provide a self-cleaning function for the luggage compartment cover. After a voice prompt of "self-cleaning mode starts" and a 10-second countdown, a cleaning brush is extended from the rear sill to scrape with the midpoint of the rear sill as the center.
[0052] In some embodiments of the present application, Figure 2 FIG. 1 is a flow chart of a vehicle control method based on a pet mode provided in another embodiment of the present application. Figure 2 As shown, after step 120 , the method may further include steps 210 and 220 .
[0053] Step 210, when the moisture content of the hair is less than or equal to the first preset moisture content threshold, detecting the body temperature of the pet by means of a temperature sensor;
[0054] Step 220, when the perceived temperature is less than a preset temperature threshold, setting drying parameters based on the perceived temperature, and controlling the drying device to start the hot air drying function based on the drying parameters.
[0055] Among them, the preset temperature threshold can be set according to specific needs. For example, the body temperature of mammals is usually between 36°C and 38°C, so the preset temperature threshold can be set to 35°C or other values. This application does not make specific limitations on this.
[0056] In an embodiment of the present application, when the moisture content of the pet's hair is low, if the pet's body temperature is low at this time, the vehicle can also automatically turn on the hot air drying function for it to prevent the pet from catching a cold and getting sick due to the pet's body temperature being too low.
[0057] In some embodiments of the present application, Figure 3 is a flow chart of a vehicle control method based on a pet mode provided in another embodiment of the present application. Step 130 may include Figure 3 Steps 310 and 320 are shown.
[0058] Step 310, when the moisture content of the hair is greater than a first preset moisture content threshold, performing image recognition processing on the first image to obtain a second recognition result of the pet, the second recognition result being used to characterize the pet volume of the pet;
[0059] Step 320, setting the drying time and / or drying air volume based on the moisture content of the hair and the size of the pet.
[0060] Specifically, the drying time and drying air volume are positively correlated with the moisture content of the hair and the size of the pet. After acquiring the pet image, the vehicle can analyze and identify the pet image to estimate the pet's volume.
[0061] In an embodiment of the present application, by calculating the size of the pet, a larger drying air volume and a longer drying time can be allocated to large pets, providing more intelligent pet services without the need for manual settings by the user.
[0062] In some embodiments of the present application, Figure 4 is a flow chart of a vehicle control method based on a pet mode provided by another embodiment of the present application. After setting the drying parameters based on the moisture content of the hair in step 130, the method may further include: Figure 4 Steps 410 - 460 are shown.
[0063] Step 410, obtaining a second image captured by the camera of the pet in real time at the target time;
[0064] Step 420, performing image recognition processing on the second image to obtain a third recognition result of the pet, the third recognition result is used to characterize the moisture content of the pet's hair at the target time;
[0065] Step 430, when the hair moisture content at the target time is greater than the second preset moisture content threshold, the drying time is extended based on the hair moisture content, and the camera is controlled to take a photo of the pet based on a preset frequency;
[0066] Step 440, obtaining a real-time image captured by a camera based on a preset frequency;
[0067] Step 450, performing image recognition processing on the real-time image to obtain a real-time recognition result of the pet;
[0068] Step 460, after the real-time moisture content of the pet's hair represented by the real-time identification result is less than or equal to the second preset moisture content threshold, control the drying device to turn off the hot air drying function.
[0069] Specifically, the target moment is a preset moment before the first set drying time ends. The preset moment can be a moment with a fixed time interval from the drying time end moment, for example, setting the countdown to the end of the drying time to 10s or 20s as the target moment. After acquiring the pet image at the target moment, the vehicle can analyze and identify the pet image to determine the current moisture content of the pet's hair. The second preset moisture content threshold is less than the first preset moisture content threshold and can be set according to specific needs. For example, the second preset moisture content threshold can be a moisture content of 10% or other values, and this application does not make specific limitations on this.
[0070] In the embodiment of the present application, if the moisture content of the pet's hair is greater than the second preset moisture content threshold value near the end of drying, it can be considered that the pet is still relatively damp, so the drying time can be extended at this time to increase the drying time for the pet, so as to ensure that the pet can be dried before the end of drying. In addition, by acquiring the real-time image captured by the camera based on the preset frequency, the moisture content of the pet's hair can be monitored in real time. When the real-time moisture content of the pet's hair is less than or equal to the second preset moisture content threshold value, the drying device is controlled to turn off the hot air drying function, so as to ensure that the hot air drying function can be turned off in time after the pet is dried, thereby saving power resources.
[0071] In some embodiments, step 430 may specifically include: when the moisture content of the hair at the target moment is greater than a second preset moisture content threshold, the drying time may be extended and the drying air volume may be increased based on the moisture content of the hair.
[0072] In some embodiments of the present application, the method may further include: when the hot air drying function ends, controlling the disinfection device to start the disinfection function to disinfect the pet.
[0073] Specifically, the disinfection device may be, for example, an ultraviolet disinfection lamp, an air disinfection machine, an infrared disinfection machine, or the like, which is used to kill bacteria, viruses, and molds on pets.
[0074] In some embodiments, the air outlet of the drying device may be located on both sides of the luggage compartment of the vehicle, and the disinfection device may be located on the top of the luggage compartment of the vehicle.
[0075] In some embodiments of the present application, the vehicle may further include a combing device, which is located on both sides of the luggage compartment. The method may further include: when controlling the disinfection device to turn on the disinfection function, controlling the combing device to turn on the hair combing function to comb the pet's hair.
[0076] In some embodiments of the present application, the vehicle may include an interception device, which is located between the luggage compartment and the rear seats. Figure 5 is a flow chart of a vehicle control method based on a pet mode provided in another embodiment of the present application, and the method may also include Figure 5 Steps 510 and 520 are shown.
[0077] Step 510, obtaining vehicle status information;
[0078] Step 520, when the status information meets the preset status conditions, control the interception device to rise to limit the activity area of the pet.
[0079] Specifically, the interception device may be, for example, a barrier net, a railing, etc. By raising the interception device, the pet can be prevented from slipping into the front seat when the owner is not present and accidentally touching switches or buttons in the car.
[0080] In some embodiments, the vehicle can send communication instructions to the drying device, the disinfection device, and the interception device through an electronic control unit or a controller area network (CAN) bus to control the drying device, the disinfection device, and the interception device to start working.
[0081] In some embodiments of the present application, the state information may include received operation instruction information and / or an in-vehicle environment image, the preset state condition may include a first state condition and a second state condition, and the above step 520 may specifically include the following steps:
[0082] In the case where the received operation instruction information is used to instruct to raise the interception device, it is determined that the state information satisfies the first state condition, then only the interception device is controlled to be raised;
[0083] When the recognition result of the in-vehicle environment image is used to characterize that only the pet is in the vehicle, it is determined that the status information meets the second status condition, the interception device is controlled to rise, and the vehicle's display screen is controlled to display the target prompt information, and the display screen is controlled to rotate a preset angle so that the display screen faces the outside of the vehicle window.
[0084] Specifically, the target prompt information is used to indicate that the pet has not been forgotten by the owner. When the camera detects that only the pet is in the car, the pet unattended mode can be turned on. By upgrading the interception device in the pet unattended mode, the pet can be prevented from slipping into the front seat when the owner is not present and accidentally touching switches and buttons in the car. By controlling the display screen of the vehicle to display the target prompt information, and by controlling the display screen to rotate to a preset angle, the display screen can be directed to the outside of the window so that pedestrians can see the prompt information, preventing pedestrians from contacting the owner when the owner is away for a short time. The vehicle is highly intelligent and has comprehensive pet functions.
[0085] In some embodiments of the present application, the method may further include: in the pet unattended mode, turning on the anti-accidental touch mode through the vehicle electronic control unit ECU, at which time the vehicle regards any touch operation as invalid to prevent the pet from accidentally touching.
[0086] In some embodiments of the present application, the method may also include: starting a third pet mode when the vehicle's continuous driving time reaches a preset time threshold and the presence of a pet is detected in the vehicle through a camera; in the third pet mode, raising the windows, turning on the air conditioner, and lowering the multimedia volume by 30% to provide a comfortable environment for the pet; increasing the storage space under the luggage compartment cover and in the front cabin to prevent large pets from occupying the storage space in the luggage compartment; lowering the armrest at the rear middle seat position to increase storage space behind the rear middle seat to facilitate the taking of pet supplies while driving.
[0087] It is understandable that the vehicle control method based on pet mode provided in the embodiment of the present application can be executed by a vehicle, or a device in a vehicle control device based on pet mode for executing the vehicle control method based on pet mode. The vehicle control device based on pet mode is described in detail below.
[0088] Figure 6 is a schematic diagram of the structure of a vehicle control device based on a pet mode provided in an embodiment of the present application. The device can be applied to vehicles, such as Figure 6 As shown, the pet mode-based vehicle control device 600 may include: an acquisition module 610 , a recognition module 620 and a control module 630 .
[0089] Among them, the acquisition module 610 is used to obtain a first image of the pet taken in real time by the camera when a pet is detected entering the vehicle; the recognition module 620 is used to perform image recognition processing on the first image to obtain a first recognition result of the pet, and the first recognition result is used to characterize the moisture content of the pet's hair; the control module 630 is used to set drying parameters based on the moisture content of the hair when the moisture content of the hair is greater than a first preset moisture content threshold, and control the drying device to start a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
[0090] In some embodiments of the present application, the control module 630 includes: an identification unit, used to perform image recognition processing on the first image when the hair moisture content is greater than a first preset moisture content threshold, to obtain a second identification result of the pet, and the second identification result is used to characterize the pet volume of the pet; a setting unit, used to set the drying time and / or drying air volume based on the hair moisture content and the pet volume; wherein the drying time and the drying air volume are positively correlated with the hair moisture content and / or the pet volume.
[0091] In some embodiments of the present application, the device also includes: an acquisition module 610, which is also used to acquire a second image of the pet captured in real time by the camera at a target time after setting the drying parameters based on the moisture content of the hair, wherein the target time is a preset time before the end of the drying time set for the first time; an identification module 620, which is also used to perform image recognition processing on the second image to obtain a third identification result of the pet, and the third identification result is used to characterize the moisture content of the hair of the pet at the target time; a control module 630, which is also used to extend the drying time based on the moisture content of the hair when the moisture content of the hair at the target time is greater than a second preset moisture content threshold, and control the camera to capture the pet based on a preset frequency; the acquisition module 610 is also used to acquire a real-time image captured by the camera based on a preset frequency; the identification module 620 is also used to perform image recognition processing on the real-time image to obtain a real-time identification result of the pet; the control module 630 is also used to control the drying device to turn off the hot air drying function after the real-time moisture content of the pet represented by the real-time identification result is less than or equal to the second preset moisture content threshold.
[0092] In some embodiments of the present application, the device also includes: a detection module, which is used to detect the pet's body temperature through a temperature sensor after acquiring a first image of the pet taken in real time by the camera when the moisture content of the hair is less than or equal to a first preset moisture content threshold; a control module 630, which is also used to set drying parameters based on the body temperature when the body temperature is less than the preset temperature threshold, and control the drying device to turn on the hot air drying function based on the drying parameters.
[0093] In some embodiments of the present application, the vehicle includes an interception device, which is located between the luggage compartment and the rear seats. The device also includes: an acquisition module 610, which is also used to obtain status information of the vehicle; a control module 630, which is also used to control the interception device to rise when the status information meets preset status conditions to limit the pet's activity area.
[0094] In some embodiments of the present application, the status information includes received operation instruction information and / or the in-vehicle environment image, and the preset status conditions include a first status condition and a second status condition. The control module 630 is specifically used to: when the received operation instruction information is used to instruct to raise the interception device, determine that the status information satisfies the first status condition, and then only control the interception device to be raised; when the recognition result of the in-vehicle environment image is used to characterize that only the pet is in the vehicle, determine that the status information satisfies the second status condition, control the interception device to be raised, and control the vehicle's display screen to display the target prompt information, and control the display screen to rotate a preset angle so that the display screen faces the outside of the window, wherein the target prompt information is used to characterize that the pet has not been forgotten by the owner.
[0095] The vehicle control device based on the pet mode provided in the embodiment of the present application can realize Figure 1-Figure 5 The various processes implemented by the vehicle in the method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0096] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0097] like Figure 7 As shown, the electronic device 700 in this embodiment may include a processor 701 and a memory 702 storing computer program instructions.
[0098] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0099] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory. The memory may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) having software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to the embodiments of the present application.
[0100] The processor 701 implements any one of the pet mode-based vehicle control methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0101] In one example, the electronic device 700 may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.
[0102] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0103] Bus 710 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0104] The electronic device provided in the embodiment of the present application can realize Figure 1-Figure 5 The various processes implemented by the electronic device in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
[0105] In combination with the vehicle control method based on the pet mode in the above-mentioned embodiment, the embodiment of the present application can provide a vehicle to implement, and the vehicle includes: an acquisition module, which is used to acquire a first image of the pet taken by the camera in real time when a pet is detected entering the vehicle; a recognition module, which is used to perform image recognition processing on the first image to obtain a first recognition result of the pet, and the first recognition result is used to characterize the moisture content of the pet's hair; a control module, which is used to set drying parameters based on the moisture content of the hair when the moisture content of the hair is greater than a first preset moisture content threshold, and control the drying device to start a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume. The vehicle provided by the embodiment of the present application can achieve Figure 1-Figure 5 The various processes in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described again here.
[0106] In combination with the pet mode-based vehicle control method in the above embodiments, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, the steps of any one of the pet mode-based vehicle control methods in the above embodiments are implemented.
[0107] In combination with the pet mode-based vehicle control method in the above embodiments, the present application embodiment can provide a computer program product for implementation. The (computer) program product is stored in a non-volatile storage medium, and when the program product is executed by at least one processor, the steps of any one of the pet mode-based vehicle control methods in the above embodiments are implemented.
[0108] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned pet mode-based vehicle control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0109] It should be understood that the chip mentioned 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.
[0110] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0111] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0112] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0113] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0114] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A vehicle control method based on pet mode, characterized in that: The method comprises: When a pet is detected to enter the vehicle, a first image of the pet captured by a camera in real time is obtained; Performing image recognition processing on the first image to obtain a first recognition result of the pet, wherein the first recognition result is used to characterize the moisture content of the pet's hair; When the moisture content of the hair is greater than a first preset moisture content threshold, drying parameters are set based on the moisture content of the hair, and the drying device is controlled to turn on a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
2. The method according to claim 1, characterized in that: When the moisture content of the hair is greater than a first preset moisture content threshold, setting the drying parameters based on the moisture content of the hair includes: When the moisture content of the hair is greater than a first preset moisture content threshold, performing image recognition processing on the first image to obtain a second recognition result of the pet, wherein the second recognition result is used to characterize the pet volume of the pet; Setting the drying time and / or the drying air volume based on the moisture content of the hair and the volume of the pet; The drying time and drying air volume are positively correlated with the moisture content of the hair and / or the volume of the pet.
3. The method according to claim 1, characterized in that After setting the drying parameters based on the moisture content of the hair, the method further includes: Acquire a second image of the pet captured in real time by the camera at a target time, wherein the target time is a preset time before the first set drying time ends; Performing image recognition processing on the second image to obtain a third recognition result of the pet, wherein the third recognition result is used to characterize the moisture content of the hair of the pet at the target moment; When the moisture content of the hair at the target moment is greater than a second preset moisture content threshold, the drying time is extended based on the moisture content of the hair, and the camera is controlled to take a photo of the pet based on a preset frequency; Acquire a real-time image captured by the camera based on the preset frequency; Performing image recognition processing on the real-time image to obtain a real-time recognition result of the pet; After the real-time moisture content of the pet's hair represented by the real-time recognition result is less than or equal to the second preset moisture content threshold, the drying device is controlled to turn off the hot air drying function.
4. The method according to claim 1, characterized in that After obtaining the first image captured by the camera of the pet in real time, the method further includes: When the moisture content of the hair is less than or equal to the first preset moisture content threshold, detecting the body temperature of the pet by a temperature sensor; When the body temperature is lower than a preset temperature threshold, the drying parameter is set based on the body temperature, and the drying device is controlled to start a hot air drying function based on the drying parameter.
5. The method according to claim 1, characterized in that: The vehicle includes an interception device, the interception device is located between the luggage compartment and the rear seats, and the method further includes: Acquiring status information of the vehicle; When the status information meets a preset status condition, the interception device is controlled to rise to limit the activity area of the pet.
6. The method according to claim 5, characterized in that The state information includes the received operation instruction information and / or the in-vehicle environment image, the preset state condition includes a first state condition and a second state condition, and when the state information satisfies the preset state condition, controlling the interception device to rise includes: In the case where the received operation instruction information is used to instruct to raise the interception device, it is determined that the state information satisfies the first state condition, then only the interception device is controlled to be raised; When the recognition result of the in-vehicle environment image is used to represent that only the pet is in the vehicle, it is determined that the status information satisfies the second status condition, the interception device is controlled to rise, and the display screen of the vehicle is controlled to display target prompt information, and the display screen is controlled to rotate a preset angle so that the display screen faces the outside of the vehicle window, wherein the target prompt information is used to represent that the pet has not been forgotten by the owner.
7. A vehicle control device based on pet mode, characterized in that: The device comprises: An acquisition module, configured to acquire a first image captured by a camera of the pet in real time when a pet is detected to have entered the vehicle; A recognition module, configured to perform image recognition processing on the first image to obtain a first recognition result of the pet, wherein the first recognition result is used to characterize the moisture content of the pet's hair; A control module is used to set drying parameters based on the hair moisture content when the hair moisture content is greater than a first preset moisture content threshold, and control the drying device to start a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
8. A vehicle, characterized in that: include: An acquisition module, configured to acquire a first image captured by a camera of the pet in real time when a pet is detected to have entered the vehicle; A recognition module, configured to perform image recognition processing on the first image to obtain a first recognition result of the pet, wherein the first recognition result is used to characterize the moisture content of the pet's hair; A control module is used to set drying parameters based on the hair moisture content when the hair moisture content is greater than a first preset moisture content threshold, and control the drying device to start a hot air drying function that matches the drying parameters, wherein the drying parameters include drying time and drying air volume.
9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the pet mode-based vehicle control method as described in any one of claims 1-6 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the steps of the pet mode-based vehicle control method as described in any one of claims 1-6.