A control method and device of a vehicle window, an electronic device and a readable storage medium

By acquiring information about the vehicle's speed, environment, and passengers' emotional state, the system automatically adjusts the window settings to address mosquito infestation and passenger anxiety, resulting in reduced mosquito activity and improved emotional well-being.

CN117403984BActive Publication Date: 2026-05-05CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
Filing Date
2023-09-28
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing window control systems cannot automatically adjust to the level of mosquito activity and the emotional state of passengers, leading to problems such as mosquito disturbance and passenger anxiety.

Method used

By acquiring vehicle speed, environmental information, personnel image information, and mosquito information, the system determines the level of mosquito activity and passenger emotional state, and automatically controls the opening and closing of the windows to reduce the number of mosquitoes and alleviate passenger anxiety.

Benefits of technology

It effectively reduces the number of mosquitoes in the car, soothes passengers' emotions, and improves driving safety and passenger comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117403984B_ABST
    Figure CN117403984B_ABST
Patent Text Reader

Abstract

This application relates to the field of automotive technology and provides a method, device, electronic device, and readable storage medium for controlling vehicle windows. The method includes: acquiring vehicle speed, environmental information surrounding the vehicle, image information of occupants inside the vehicle, sound information inside the vehicle, and information about mosquitoes inside the vehicle, wherein the mosquito information indicates the presence of mosquitoes inside the vehicle; determining the activity level of mosquitoes outside the vehicle based on the environmental information; determining the emotional state of the occupants based on the image information of occupants or the sound information inside the vehicle; and, when the mosquito information indicates the presence of mosquitoes inside the vehicle, controlling the opening and closing state of the vehicle window based on at least two of the driving speed, emotional state, and the activity level of mosquitoes outside the vehicle. This application's embodiments solve the problem of alleviating the emotional state of occupants inside a vehicle by controlling the opening and closing state of the vehicle window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a method, device, electronic device, and readable storage medium for controlling vehicle windows. Background Technology

[0002] Driving is a popular mode of transportation, and cars play an increasingly important role in people's lives. The disturbance of insects inside the car not only affects the driver's concentration but also makes passengers feel anxious, further increasing the risk of accidents. Currently, car windows are mainly controlled by buttons or switches, allowing passengers to decide whether to open or close them. Although some vehicles have automatic window control functions, such as one-touch power windows and remote windows, these functions are usually manually operated or preset by the user, rather than adjusted based on the passenger's emotional state.

[0003] It is evident that existing technologies present technical challenges in addressing mosquito interference and alleviating human anxiety. Summary of the Invention

[0004] In view of this, embodiments of this application provide a method, device, electronic device, and readable storage medium for controlling vehicle windows, in order to solve the problem in the prior art where the activity of mosquitoes outside the vehicle causes anxiety among passengers inside the vehicle.

[0005] A first aspect of this application provides a method for controlling a vehicle window, including:

[0006] The vehicle's speed, the environment around the vehicle, the image information of the people inside the vehicle, the sound information inside the vehicle, and the mosquito information inside the vehicle are acquired. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle.

[0007] The activity level of mosquitoes outside the vehicle is determined based on the environmental information.

[0008] The emotional state of the people inside the vehicle is determined based on the image information of the people or the sound information inside the vehicle.

[0009] When the mosquito information indicates the presence of mosquitoes inside the vehicle, the window opening / closing status is controlled based on at least two of the following: driving speed, emotional state, and the activity level of mosquitoes outside the vehicle.

[0010] A second aspect of this application provides a vehicle window control device, comprising:

[0011] The acquisition module is used to acquire the vehicle's driving speed, environmental information around the vehicle, image information of people inside the vehicle, and mosquito information inside the vehicle. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle.

[0012] The first determining module is used to determine the activity level of mosquitoes outside the vehicle based on the environmental information.

[0013] The second determining module is used to determine the emotional state of the people inside the vehicle based on the personnel image information;

[0014] An execution module is configured to, when the mosquito information indicates the presence of mosquitoes inside the vehicle, control the opening and closing state of the vehicle windows based on at least two of the following: the driving speed, the emotional state, and the activity level of the mosquitoes outside the vehicle.

[0015] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described method.

[0016] A fourth aspect of this application provides a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.

[0017] The beneficial effects of this application embodiment compared with the prior art are as follows: By acquiring vehicle speed and surrounding environmental information, image information of people inside the vehicle, sound information inside the vehicle, and information on mosquitoes inside the vehicle, the activity level of mosquitoes is determined based on environmental information such as temperature and humidity, since the activity level of mosquitoes is related to environmental factors such as temperature and humidity. Furthermore, since people's emotional state is obtained through body movements, facial expressions, and changes in voice, the emotional state of people inside the vehicle can be determined based on image information of people inside the vehicle or sound information inside the vehicle. In the case of mosquitoes inside the vehicle, the opening and closing of the windows is controlled based on the vehicle speed, the emotional state of the people, and the activity level of mosquitoes outside the vehicle, thereby reducing the number of mosquitoes inside the vehicle and easing the emotions of the people inside. Attached Figure Description

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

[0019] Figure 1 This is a flowchart illustrating a method for controlling a vehicle window provided in an embodiment of this application;

[0020] Figure 2 This is an architecture diagram of a vehicle window control method provided in an embodiment of this application;

[0021] Figure 3 This is a schematic diagram of the structure of a vehicle window control device provided in an embodiment of this application;

[0022] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0023] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0024] A method and apparatus for controlling a vehicle window according to an embodiment of this application will now be described in detail with reference to the accompanying drawings.

[0025] Figure 1 This is a flowchart illustrating a method for controlling a vehicle window according to an embodiment of this application. Figure 1 As shown, the control method for this car window includes:

[0026] Step 101: Obtain the vehicle's driving speed, environmental information around the vehicle, image information of people inside the vehicle, and information on mosquitoes inside the vehicle. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle.

[0027] Specifically, the vehicle's speed is indirectly obtained by acquiring wheel rotation speed through Hall effect sensors. Environmental information surrounding the vehicle includes external temperature, humidity, light intensity, wind speed, and odor information. Images of people inside the vehicle are acquired through an in-vehicle camera, and information about mosquitoes inside the vehicle can be obtained and identified through the in-vehicle camera. Alternatively, sound data acquired through a microphone array deployed inside the vehicle can be used to identify the sounds produced by mosquitoes during flight. Because mosquitoes can vibrate their wings hundreds or even thousands of times per second during flight, these high-frequency wing vibrations cause vibrations in the surrounding air, thus producing sound. The buzzing sound produced by mosquitoes during flight typically ranges from 200 to 1000 Hz. Since the microphone array inside the vehicle captures different levels of mosquito sound intensity, it can be used to determine the mosquito's location during flight and its final landing position.

[0028] By acquiring information about the vehicle's speed, the surrounding environment, the people inside the vehicle, and the mosquitoes inside the vehicle, it is possible to determine the activity level of the mosquitoes and the emotional state of the people inside the vehicle based on the information obtained.

[0029] Step 102: Determine the activity level of mosquitoes outside the vehicle based on environmental information.

[0030] Specifically, the activity level of mosquitoes outside vehicles is related to their living habits. The activity level can be determined based on environmental information obtained from these habits. For example, a correlation can be established between environmental information suitable for mosquito life, such as temperature, humidity, and light intensity, and the activity level of mosquitoes.

[0031] By using the correlation between mosquito habits and the environment, the accuracy of determining the activity level of mosquitoes outside vehicles based on the acquired environmental information was achieved.

[0032] Step 103: Determine the emotional state of the people inside the vehicle based on the personnel image information.

[0033] Specifically, the image information of the people is obtained through cameras inside the vehicle. A person's emotional state is generally expressed through facial expressions, body movements, and voice changes. Because facial expressions can subtly display different types of emotions, they are a primary indicator for identifying emotions. Therefore, the emotional state of people inside the vehicle can be determined by recognizing facial features. For example, when anxious, facial muscles twitch, eyebrows furrow, pupils dilate, the sympathetic nervous system is activated, leading to facial blood vessel dilation and causing facial redness; facial features when happy... A smile is characterized by upturned corners of the mouth, raised cheeks with wrinkles, contracted eyelids, and crow's feet at the corners of the eyes. A sad expression is characterized by furrowed brows, downturned corners of the mouth, and a raised or tucked chin. A fearful expression is characterized by open mouth and eyes, raised eyebrows, and flared nostrils. An angry expression is characterized by drooping eyebrows, a furrowed forehead, and tense eyelids and lips. A disgusted expression is characterized by a sneer, raised upper lip, drooping eyebrows, and squinting eyes. A surprised expression is characterized by a drooping jaw, relaxed lips and mouth, wide eyes, and slightly raised eyelids and eyebrows. Body language includes clapping for excitement, rubbing hands for anxiety, spreading hands for helplessness, pounding the chest for pain, and rubbing hands, stamping feet, or sitting still to indicate restlessness.

[0034] By acquiring personnel image information, and because people's emotional states are expressed differently in facial and body movements, it is possible to determine the emotional state of people inside the vehicle based on their facial features and body movements.

[0035] Step 104: When the mosquito information indicates that there are mosquitoes inside the vehicle, control the opening and closing status of the car windows based on at least two of the following: driving speed, emotional state, and the activity level of mosquitoes outside the vehicle.

[0036] Specifically, car windows include door windows and sunroofs, and the open / closed status of car windows can include whether the windows are open or closed, as well as the size of the open window.

[0037] According to the technical solution provided in this application, the vehicle's speed, surrounding environmental information, images of people inside the vehicle, and information about mosquitoes inside the vehicle are acquired. The activity level of mosquitoes is affected by environmental factors, thus the activity level can be determined by acquiring the surrounding environmental information. The emotional state of people inside the vehicle is determined by recognizing their facial expressions, actions, and other information based on the images of people inside the vehicle. The presence of mosquitoes inside a vehicle often causes anxiety. Since low temperatures or good ventilation can alleviate anxiety, the opening status of the car windows can be controlled based on the vehicle's speed, mosquito activity level, and the emotional state of the people inside the vehicle, thereby reducing mosquitoes inside the vehicle and alleviating the anxiety of the people inside.

[0038] In some embodiments, determining the activity level of mosquitoes outside the vehicle based on environmental information includes:

[0039] Based on location information, detect whether the vehicle's current location is a mosquito habitat;

[0040] If the vehicle is currently located in a mosquito habitat, the activity level of mosquitoes outside the vehicle is determined based on temperature and humidity information, as well as the pre-set correspondence between temperature, humidity and mosquito activity.

[0041] The activity level is categorized into low, medium, and high levels, with the number of active mosquitoes increasing sequentially from low to high.

[0042] Specifically, mosquito habitats are suitable locations for mosquito growth and reproduction. These are determined by factors such as water sources, climate, light conditions, and vegetation growth. Regarding water sources, mosquitoes need water to survive and reproduce; any form of stagnant water can become a breeding ground, such as ditches, plant containers, puddles, pools, water tanks, and flowerpots. Because mosquitoes grow and develop quickly, their numbers increase in environments with prolonged stagnant water. In terms of climate, mosquitoes thrive in humid and warm conditions. High temperatures and high humidity provide favorable conditions for their growth. Regarding light conditions, mosquitoes prefer shady environments to grow and reproduce. As for vegetation growth, lush vegetation requires abundant water, and dense vegetation creates shady and humid environments, which are suitable for mosquito growth. Based on the vehicle's geographical location, information such as the water source and vegetation growth status of the location can be obtained. For example, based on the obtained location information, it can be determined that the vehicle is near a swamp. Since the swamp environment is rich in water and has good vegetation growth, it provides a dark and humid environment for mosquitoes to grow, so the location can be identified as a mosquito habitat.

[0043] The pre-defined relationship between mosquito activity levels and temperature and humidity is determined based on mosquito habits. Temperature is a crucial factor affecting mosquito larval growth; higher temperatures lead to faster larval growth, but also higher mortality rates. Below a certain temperature, mosquito growth and development stagnate. Secondly, because mosquitoes cannot regulate their body temperature, they are significantly influenced by air temperature. Between 11°C and 25°C, mosquito activity increases with rising temperature, reaching its peak between 26°C and 36°C. Therefore, mosquito activity levels can be determined based on the current ambient temperature. Humidity is also a key factor influencing mosquito activity. The optimal humidity for mosquitoes is between 60% and 80%. Under suitable temperature conditions, lower humidity results in shorter mosquito lifespans and fewer mosquitoes in the environment, leading to lower activity levels. Conversely, higher humidity results in longer mosquito lifespans and a larger mosquito population, leading to higher activity levels. The activity level of mosquitoes corresponds to the number of mosquitoes in an active state. The activity level of mosquitoes is determined by the number of mosquitoes in an active state.

[0044] According to the technical solution provided in the embodiments of this application, the habitat of mosquitoes is determined based on the location of the vehicle. After determining that the location of the vehicle is the habitat of mosquitoes, since there are a large number of mosquitoes in the habitat, the activity level of mosquitoes can be determined by pre-setting the correspondence between temperature, humidity and activity level of mosquitoes based on the living habits of mosquitoes, thereby improving the accuracy of judging the activity level of mosquitoes.

[0045] Furthermore, in some embodiments, after the vehicle's current location is a mosquito habitat, the following is also included:

[0046] Determine the distance required to leave the mosquito habitat along the route based on the route navigation information;

[0047] If the distance is greater than the preset distance, a first prompt message will be issued. The first prompt message is used to prompt the vehicle whether to change its driving route at the adjacent intersection.

[0048] If a response message confirming a change in road conditions is received from the driver based on the first prompt message, a second prompt message is issued at the adjacent intersection based on the response message. The second prompt message is used to prompt the driver to change the driving route.

[0049] Specifically, the habitat range is determined based on geographical location, and the distance the vehicle travels from that range is determined by the route traveled in the navigation information. The methods for issuing the first prompt include, but are not limited to, displaying text prompts on the central control screen, and / or issuing voice prompts to remind the driver to change the driving route; this embodiment does not impose any limitations on this.

[0050] According to the technical solution provided in this embodiment, when the vehicle's current location is a mosquito habitat, the navigation distance for leaving the habitat is obtained. If the distance determined by the route navigation information is greater than a preset distance, a prompt message is sent to the driver to prevent the vehicle from traveling for too long in the mosquito habitat, prompting the driver to change the driving route based on the first prompt message. Upon receiving this prompt message, the driver is prompted to change the driving route according to the route plan to leave the mosquito habitat as soon as possible, effectively preventing mosquitoes from entering the vehicle due to prolonged travel in the mosquito habitat.

[0051] In some embodiments, the person image information includes the person's motion information and facial features, wherein the motion information includes the person's hand movements, body swaying amplitude, and head movements, and the facial features include the person's eye features, eyebrow shape, and mouth corner shape; determining the emotional state of the occupants in the vehicle based on the person image information or the vehicle's internal sound information includes at least one of the following:

[0052] If the shape of the eyebrows meets the preset eyebrow shape and the shape of the corners of the mouth meets the preset corners of the mouth shape, the person's emotional state is determined to be anxious.

[0053] If the blinking frequency of the person indicated by the eye feature is greater than the preset blinking frequency, or if the duration of the person indicated by the eye feature does not blink is greater than the preset duration, the person's emotional state is determined to be agitated.

[0054] The emotional state of a person is determined to be agitated when the action information meets at least one of the following conditions: the number of repetitions of hand movements is greater than the preset number, the amplitude of body swaying is greater than the preset amplitude, and the frequency of head movements is greater than the preset frequency.

[0055] Specifically, hand movements include clenching fists and rubbing hands together. Anxious people may rub their hands back and forth or clench their fists repeatedly; these movements represent inner tension or unease. Body movements include leg movements. When a person is anxious or dissatisfied with something, they often shake their legs frequently. This frequent shaking indicates that psychological tension or anxiety has reached a certain level, prompting the legs to react. Head movements include nodding and shaking the head. Anxious people may frequently nod or shake their heads, or turn their heads to one side; these movements may represent inner unease or distress. When people feel anxious, their brows often furrow because the brain processes negative emotions, causing facial muscles to contract. Anxious people may blink frequently or stare at something for a long time, their eyes possibly showing unease or tension. Facial muscles may appear more tense, which may cause the face to look stiff or unnatural. Anxious people may tightly close their mouths or have downturned corners of their mouths, which makes their faces look more tense and conveys the presence of pressure. Anxiety can manifest as changes in facial color, such as flushing, paleness, or purpleness.

[0056] According to the technical solution provided in this embodiment, the action information and facial features of a person are obtained by acquiring image information. By analyzing the action information and facial features of the person, if the action information and facial features of the person match the action and facial features of an agitated state, it can be determined that the currently identified person is in an agitated state, thus improving the accuracy of identifying the agitated state.

[0057] In some embodiments, the sound information includes speech content and sound decibels; determining the emotional state of occupants in the vehicle based on occupant image information or sound information inside the vehicle includes:

[0058] If the voice content includes preset content, determine that the person's emotional state is agitated; or,

[0059] If the volume of the sound exceeds the preset volume, the person's emotional state is determined to be agitated.

[0060] Specifically, when people feel anxious or uneasy, they raise their pitch, making their voices sharper or harsher. This is because emotional states affect the muscles around the vocal cords, causing changes in voice. Anxious people speak faster because they may feel pressed for time and need to express their emotions or fears as quickly as possible. Anxious people's voices tremble due to tension or fear, usually because the body produces a shivering response when facing stress. Anxious people may experience a dry throat or hoarseness because emotional states affect the nerves and muscles in the throat. Anxious people may also experience rapid or shallow breathing due to the influence of their emotions, as emotional states affect the nerves and muscles of the respiratory system.

[0061] According to the technical solution provided in this embodiment, the sound information obtained by the sound receiving device in the vehicle is used to identify the voice information of a person. When the voice information is identified, the person's pitch and decibel increase, which are consistent with the sound changes of a person being anxious, it is determined that the person is in an anxious state, thus improving the accuracy of identifying the person's anxious state.

[0062] In some embodiments, controlling the opening and closing state of the vehicle windows based on at least two of the following: driving speed, emotional state, and the activity level of mosquitoes outside the vehicle, including:

[0063] If the driving speed is greater than the preset speed threshold and the emotional state is calm, then the window opening / closing state will be closed.

[0064] If the driving speed exceeds the preset speed threshold and the emotional state is agitated, the window opening / closing state will be set to open.

[0065] If the driving speed is less than the preset speed threshold, the emotional state is anxious, and the activity level of mosquitoes outside the vehicle is low, then the window opening / closing state will be set to open.

[0066] If the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is high, the emotional state is anxious and the duration of the anxiety is less than the first preset time, then the window opening and closing state is controlled to be closed.

[0067] If the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is high, the emotional state is anxious and the duration of the anxious state is greater than the first preset time, then the window opening and closing state is controlled to be open.

[0068] If the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is moderate, and their emotional state is anxious, then the window opening / closing state will be set to open.

[0069] Specifically, the preset speed threshold is set based on the airflow speed when the vehicle is in motion. The airflow outside the vehicle is faster, while the air inside is relatively still. When the windows are open, the airflow speed outside the vehicle is greater than the airflow speed inside, resulting in a greater air pressure outside the vehicle than inside, creating a negative pressure. This negative pressure draws air out of the vehicle, creating airflow that blows mosquitoes out of the vehicle and prevents mosquitoes from entering from the outside. Since mosquitoes cannot fly normally in a wind speed of 4 m / s, as an example, the preset speed threshold can be set to 18 km / h. This prevents mosquitoes from entering the vehicle from the outside and blows mosquitoes from the inside out, achieving a mosquito-repelling effect and preventing mosquitoes from causing anxiety for the occupants. The first preset time can be set according to the actual situation. For example, the first preset time can be set to 5 minutes. Within 5 minutes, due to the presence of mosquitoes inside the vehicle, the people inside the vehicle will become anxious. In a state of anxiety, the mosquitoes inside the vehicle will continue to disturb the people inside the vehicle, and the level of anxiety will continue to increase, which may lead to irrational behavior. In order to prevent the accumulation of anxiety, even if the vehicle speed does not reach the preset speed, the window opening state can be selected to be open, which can allow the people inside the vehicle to drive away the mosquitoes and effectively alleviate their anxiety.

[0070] According to the technical solution provided in this application embodiment, by acquiring information on driving speed, emotional state, and mosquito activity level, when the vehicle speed exceeds a preset speed threshold, the high speed of the vehicle causes a rapid airflow from inside the vehicle to the outside, preventing mosquitoes from entering the vehicle. Therefore, the activity level of mosquitoes outside the vehicle does not need to be considered. That is, when the vehicle speed exceeds the preset speed threshold, the emotional state of the people inside the vehicle is calm, and the windows are kept closed to reduce the interference of the external environment on the people inside the vehicle, thus maintaining a calm emotional state. When the people inside the vehicle are anxious, the windows are opened to ventilate the vehicle and blow mosquitoes away from the vehicle, thus alleviating the anxiety of the people inside the vehicle.

[0071] When the vehicle's speed is lower than the preset speed, the airflow between the inside and outside of the vehicle is slower when the windows are open, allowing mosquitoes to enter. Therefore, the window opening / closing is controlled based on the emotional state of the occupants and the activity level of mosquitoes outside the vehicle. When the occupants are anxious, the activity level of mosquitoes outside the vehicle is low, reducing the probability of mosquitoes entering the vehicle, thus keeping the windows open and alleviating their anxiety. Conversely, when the occupants are anxious, the activity level of mosquitoes outside the vehicle is high, increasing the likelihood of mosquitoes entering the vehicle and exacerbating their anxiety. When the duration of agitation among occupants is less than a preset time, the windows are kept closed to prevent mosquitoes from entering the vehicle and increasing their agitation. When the duration of agitation exceeds the preset time, as agitation accumulates, the windows are opened to allow occupants to expel mosquitoes and release their emotions, effectively alleviating anxiety. When occupants are agitated and mosquito activity is moderate, the probability of mosquitoes entering the vehicle is low; therefore, the windows are kept open to alleviate their anxiety.

[0072] In addition, in some embodiments, after controlling the window to be in the open state, at least one of the following is also included:

[0073] If the system detects a change in emotional state from agitation to calmness that lasts for a second preset time, it will control the windows to close.

[0074] If the activity level of mosquitoes outside the vehicle changes from low to medium or high, the windows will be closed.

[0075] If the detected emotional state of being anxious lasts for more than a second preset time and the driving speed is less than a preset speed threshold, the vehicle will be controlled to increase its speed and the vehicle's voice assistant will be controlled to play soothing music.

[0076] Specifically, the second preset time is the period during which the emotional state of the occupants in the vehicle changes from anxious to calm. After the second preset time, it indicates that the occupants are in a calm and stable emotional state. Soothing music can help people relax and reduce stress and tension. This effect is achieved through the rhythm and melody of the music, which works on the brain and body. Specifically, slow-paced, gentle music can lower heart rate and blood pressure, reduce the secretion of stress hormones, and help people relax and relieve anxiety and tension.

[0077] According to the technical solution provided in this application embodiment, after the car window is opened, the emotional state of the people inside the vehicle changes from an agitated state to a calm state. If the calm state lasts for a second preset time, the emotions of the people inside the vehicle are considered stable. The car window is then closed to reduce the interference of the external environment on the emotions, which is conducive to maintaining a calm emotional state. After the car window is opened, the activity level of mosquitoes changes from low to medium or high. To prevent mosquitoes from entering the vehicle, the car window is closed to prevent mosquitoes from entering the vehicle and interfering with the emotions of the people inside the vehicle. If the time of agitation lasts longer than the second preset time, and opening the car window has not alleviated the emotions of the people inside the vehicle, the vehicle is accelerated and soothing music is played to alleviate the emotions of the people and prevent the occurrence of excessive behavior caused by agitation.

[0078] Figure 2 This is an architecture diagram of a vehicle window control method provided in an embodiment of this application, such as... Figure 2 As shown in the diagram, the architecture of the window control system includes: a vehicle controller, an exterior camera, an interior camera, an interior microphone, and the windows.

[0079] The vehicle controller is a crucial component of a car. It receives and processes signals from the driver and other components, issuing control commands to regulate various vehicle parts, including the engine, braking system, and steering system. Vehicle controllers are generally classified into two types: centralized and distributed. A centralized vehicle controller receives and processes signals from all sensors and issues control commands to various components based on these signals. A distributed vehicle controller, on the other hand, assigns different control functions to different controllers, such as the engine controller and brake controller. In this embodiment, the vehicle controller acquires information about the vehicle's surrounding environment, vehicle speed, images of occupants, sound information from inside the vehicle, and information about insects inside the vehicle. It then controls the opening and closing of the windows based on the vehicle speed and the occupant's emotional state determined by the image and sound information.

[0080] Exterior and interior cameras are used to acquire image information of the vehicle's exterior and interior. The exterior images provide information about the vehicle's surrounding environment, while the interior images provide information about people and insects inside the vehicle. There are no restrictions on the type of camera; for example, an infrared camera can be used. Infrared cameras work by emitting infrared light to illuminate objects, which is then diffusely reflected and received by the camera to form an image. This allows for image acquisition even in the dark, providing information about the vehicle's interior.

[0081] The in-vehicle microphone is used to acquire sound information inside the vehicle. Specifically, the microphone array can be used to acquire sound information inside the vehicle and obtain information about mosquitoes inside the vehicle. Based on the different speeds of sound propagation, the location information of mosquitoes can be obtained if there are mosquitoes inside the vehicle.

[0082] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0083] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0084] Figure 3 This is a schematic diagram of a vehicle window control device provided in an embodiment of this application. Figure 3 As shown, the control device for the car window includes:

[0085] The acquisition module is used to acquire the vehicle's driving speed, environmental information around the vehicle, image information of people inside the vehicle, and information on mosquitoes inside the vehicle. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle.

[0086] The first determining module is used to determine the activity level of mosquitoes outside the vehicle based on environmental information;

[0087] The second determining module is used to determine the emotional state of the people inside the vehicle based on the personnel image information;

[0088] The execution module is used to control the opening and closing of the car windows based on at least two of the following: driving speed, emotional state, and the activity level of mosquitoes outside the vehicle, when the mosquito information indicates that there are mosquitoes inside the vehicle.

[0089] In some embodiments, the first determining module is further configured to detect whether the current location of the vehicle is a mosquito habitat based on the location information; if the current location of the vehicle is a mosquito habitat, the activity level of mosquitoes outside the vehicle is determined based on the temperature information, humidity information, and a pre-set correspondence between temperature, humidity and mosquito activity level; wherein the activity level includes low, medium or high, and the number of active mosquitoes corresponding to low, medium and high levels increases sequentially.

[0090] Furthermore, in some embodiments, after determining whether the vehicle's current location is a mosquito habitat, a prompting module is also included. This prompting module is used to determine the distance required to leave the mosquito habitat on the driving route based on the route navigation information. If the distance is greater than a preset distance, a first prompting message is issued to prompt the vehicle whether to change the driving route at an adjacent intersection. If a response message confirming the change of driving route is received from the vehicle's driver based on the prompting message, a second prompting message is issued at an adjacent intersection based on the response message. The second prompting message is used to prompt the driver to change the driving route.

[0091] In some embodiments, the second determining module is specifically used to determine that the person's emotional state is agitated when the eyebrow shape meets a preset eyebrow shape and the corner of the mouth shape meets a preset corner of the mouth shape; to determine that the person's emotional state is agitated when the blinking frequency indicated by eye features is greater than a preset blinking frequency, or when the duration of the person's non-blinking is greater than a preset duration; and to determine that the person's emotional state is agitated when the action information meets at least one of the following conditions: the number of repetitions of hand movements is greater than a preset number, the amplitude of body swaying is greater than a preset amplitude, and the frequency of head movements is greater than a preset frequency.

[0092] In some embodiments, the second determining module is specifically used to determine that the person's emotional state is agitated when the voice content includes preset content; or, to determine that the person's emotional state is agitated when the volume of the sound is greater than a preset volume.

[0093] In some embodiments, the execution module is specifically configured to: If the driving speed is greater than a preset speed threshold and the emotional state is calm, control the window to be closed; if the driving speed is greater than the preset speed threshold and the emotional state is agitated, control the window to be open; if the driving speed is less than the preset speed threshold, the emotional state is agitated, and the activity level of mosquitoes outside the vehicle is low, control the window to be open; if the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is high, the emotional state is agitated, and the duration of agitation is less than a first preset time, control the window to be closed; if the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is high, the emotional state is agitated, and the duration of agitation is greater than a first preset time, control the window to be open; if the driving speed is less than the preset speed threshold, the activity level of mosquitoes outside the vehicle is moderate, and the emotional state is agitated, control the window to be open.

[0094] Furthermore, in some embodiments, after controlling the window to be in the open state, the execution module is also used to control the window to close if it detects that the emotional state changes from anxious to calm and lasts for a second preset time; control the window to close if it detects that the activity level of mosquitoes outside the vehicle changes from low to medium or high; and control the vehicle to increase its speed and control the vehicle's voice assistant to play soothing music if it detects that the emotional state has been anxious for a longer than the second preset time and the driving speed is less than a preset speed threshold.

[0095] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0096] Figure 4 This is a schematic diagram of the electronic device 4 provided in an embodiment of this application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, it implements the steps in the various method embodiments described above. Alternatively, when the processor 401 executes the computer program 403, it implements the functions of each module / unit in the various device embodiments described above.

[0097] Electronic device 4 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 4 may include, but is not limited to, processor 401 and memory 402. Those skilled in the art will understand that... Figure 4 This is merely an example of electronic device 4 and does not constitute a limitation on electronic device 4. It may include more or fewer components than shown, or different components.

[0098] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0099] The memory 402 can be an internal storage unit of the electronic device 4, such as a hard disk or RAM of the electronic device 4. The memory 402 can also be an external storage device of the electronic device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the electronic device 4. The memory 402 can also include both internal and external storage units of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.

[0100] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0101] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0102] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for controlling a vehicle window, characterized in that, include: The vehicle's speed, the environment around the vehicle, the image information of the people inside the vehicle, the sound information inside the vehicle, and the mosquito information inside the vehicle are acquired. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle. The activity level of mosquitoes outside the vehicle is determined based on the environmental information. The emotional state of the people inside the vehicle is determined based on the image information of the people or the sound information inside the vehicle. When the mosquito information indicates that there are mosquitoes inside the vehicle, the window opening / closing status is controlled based on at least two of the driving speed, the emotional state, and the activity level of mosquitoes outside the vehicle. These include: If the driving speed is greater than a preset speed threshold and the emotional state is calm, then the window opening / closing state is controlled to be closed. If the driving speed is greater than a preset speed threshold and the emotional state is agitated, then the window is controlled to be open. If the driving speed is less than a preset speed threshold, the emotional state is anxious, and the activity level of mosquitoes outside the vehicle is low, then the window opening state is controlled to be open. If the driving speed is less than a preset speed threshold, the activity level of the mosquitoes outside the vehicle is high, the emotional state is anxious and the duration of the anxious state is less than a first preset time, then the window opening and closing state is controlled to be closed. If the driving speed is less than a preset speed threshold, the activity level of the mosquitoes outside the vehicle is high, the emotional state is anxious and the duration of the anxious state is greater than a first preset time, then the window opening state is controlled to be open. If the driving speed is less than a preset speed threshold, the activity level of mosquitoes outside the vehicle is moderate, and the emotional state is anxious, then the window opening / closing state will be set to open.

2. The method for controlling vehicle windows according to claim 1, characterized in that, The environmental information includes location information, temperature information, and humidity information; Determining the activity level of mosquitoes outside the vehicle based on the environmental information includes: Based on the location information, it is detected whether the current location of the vehicle is a mosquito habitat; If the vehicle is currently located in a mosquito habitat, the activity level of mosquitoes outside the vehicle is determined based on the temperature information, the humidity information, and the pre-set correspondence between temperature, humidity, and mosquito activity level. The activity level is categorized as low, medium, or high, with the number of active mosquitoes corresponding to low, medium, and high activity levels increasing sequentially.

3. The method for controlling vehicle windows according to claim 2, characterized in that, After determining whether the vehicle's current location is a mosquito habitat, the following is also included: The distance required to leave the mosquito habitat is determined based on the route navigation information. If the distance is greater than the preset distance, a first prompt message is issued, which is used to prompt the vehicle whether to change its driving route at the adjacent intersection. If a response message confirming a change of driving route is received from the driver of the vehicle based on the first prompt message, a second prompt message is issued at the adjacent intersection based on the response message. The second prompt message is used to prompt the driver to change the driving route.

4. The method for controlling a vehicle window according to claim 1, characterized in that, The personnel image information includes the personnel's motion information and facial features, wherein the motion information includes the person's hand movements, body swaying amplitude, and head movements, and the facial features include the person's eye features, eyebrow shape, and mouth corner shape. Determining the emotional state of the occupants of the vehicle based on the occupant image information or the vehicle interior sound information includes at least one of the following: If the shape of the eyebrows meets the preset eyebrow shape and the shape of the corners of the mouth meets the preset corners of the mouth shape, then the emotional state of the person is determined to be anxious. If the eye features indicate that the person's blinking frequency is greater than a preset blinking frequency, or if the eye features indicate that the person has not blinked for a longer period of time than a preset duration, then the person's emotional state is determined to be a state of agitation. The emotional state of the person is determined to be agitated when the action information meets at least one of the following conditions: the number of repetitions of the hand movements is greater than a preset number, the amplitude of the body swaying is greater than a preset amplitude, and the frequency of the head movements is greater than a preset frequency.

5. The method for controlling vehicle windows according to claim 1, characterized in that, The sound information includes the speech content and the decibel level of the sound; Determining the emotional state of the occupants of the vehicle based on the occupant image information or the vehicle's internal sound information includes: If the voice content includes preset content, the person's emotional state is determined to be a state of agitation. or, If the volume of the sound exceeds a preset decibel level, the person's emotional state is determined to be a state of agitation.

6. The method for controlling a vehicle window according to claim 1, characterized in that, After the control of the window switch state is set to the open state, it also includes at least one of the following: If the emotional state is detected to change from anxious to calm and last for a second preset time, then the window is closed. If the activity level of mosquitoes outside the vehicle changes from low to medium or high, the vehicle window is closed. If the detected emotional state of being anxious lasts for a longer than a second preset time and the driving speed is less than a preset speed threshold, then the vehicle is controlled to increase its driving speed, and the vehicle's voice assistant is controlled to play soothing music.

7. A control device for a vehicle window, characterized in that, include: The acquisition module is used to acquire the vehicle's driving speed, environmental information around the vehicle, image information of people inside the vehicle, and mosquito information inside the vehicle. The mosquito information is used to indicate whether there are mosquitoes inside the vehicle. The first determining module is used to determine the activity level of mosquitoes outside the vehicle based on the environmental information. The second determining module is used to determine the emotional state of the people inside the vehicle based on the personnel image information; An execution module is configured to, when the mosquito information indicates the presence of mosquitoes inside the vehicle, control the opening and closing state of the vehicle windows based on at least two of the following: the driving speed, the emotional state, and the activity level of the mosquitoes outside the vehicle. This includes: if the driving speed is greater than a preset speed threshold and the emotional state is calm, then the window is controlled to be closed; if the driving speed is greater than the preset speed threshold and the emotional state is agitated, then the window is controlled to be open; if the driving speed is less than the preset speed threshold, the emotional state is agitated, and the activity level of mosquitoes outside the vehicle is low, then the window is controlled to be open; if the driving speed is less than the preset speed threshold and the activity level of mosquitoes outside the vehicle is high. If the emotional state is agitated and the duration of the agitation is less than a first preset time, then the window is controlled to be closed; if the driving speed is less than a preset speed threshold, the activity level of mosquitoes outside the vehicle is high, the emotional state is agitated and the duration of the agitation is greater than the first preset time, then the window is controlled to be open; if the driving speed is less than a preset speed threshold, the activity level of mosquitoes outside the vehicle is moderate, and the emotional state is agitated, then the window is controlled to be open.

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

9. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Control system for repelling mosquitoes in vehicle

    CN112208291A

  • In-vehicle insect expelling control method and device

    CN114287417A