Search

CN-117403984-B - Vehicle window control method and device, electronic equipment and readable storage medium

CN117403984BCN 117403984 BCN117403984 BCN 117403984BCN-117403984-B

Abstract

The application relates to the technical field of automobiles, and provides a control method and device for a car window, electronic equipment and a readable storage medium. The method comprises the steps of obtaining running speed of a vehicle, surrounding environment information of the vehicle, personnel image information in the vehicle, sound information in the vehicle and mosquito information in the vehicle, wherein the mosquito information is used for indicating whether mosquitoes exist in the vehicle, determining the activity degree of the mosquitoes outside the vehicle according to the environment information, determining the emotion state of the personnel in the vehicle according to the personnel image information or the sound information in the vehicle, and controlling the opening and closing states of vehicle windows according to at least two of the running speed, the emotion state and the activity degree of the mosquitoes outside the vehicle under the condition that the mosquito information indicates the mosquitoes exist in the vehicle. The embodiment of the application solves the problem of relieving the emotion of the personnel in the vehicle by controlling the opening and closing state of the vehicle window.

Inventors

  • YANG HANGUANG
  • YANG ZHENG
  • Zhang Erlian

Assignees

  • 重庆赛力斯新能源汽车设计院有限公司

Dates

Publication Date
20260505
Application Date
20230928

Claims (9)

  1. 1. A control method of a vehicle window, characterized by comprising: acquiring the running speed of a vehicle, the environmental information around the vehicle, the personnel image information in the vehicle, the sound information in the vehicle and the mosquito information in the vehicle, wherein the mosquito information is used for indicating whether mosquitoes exist in the vehicle; determining the activity degree of the mosquitoes outside the vehicle according to the environmental information; determining the emotional state of the person in the vehicle according to the person image information or the sound information in the vehicle; And controlling the opening and closing states of the vehicle windows according to at least two of the running speed, the emotional state and the activity degree of the mosquitoes outside the vehicle under the condition that the mosquito information indicates that the mosquitoes exist in the vehicle, wherein the method comprises the following steps: if the running speed is greater than a preset speed threshold and the emotion state is a gentle emotion, controlling the opening and closing state of the vehicle window to be a closing state; if the running speed is greater than a preset speed threshold and the emotion state is a fidgeting emotion, controlling the opening and closing state of the vehicle window to be an opening state; if the running speed is smaller than a preset speed threshold, the emotion state is a fidgeting emotion, and the activity degree of the mosquitoes outside the vehicle is low, the opening and closing state of the vehicle window is controlled to be an opening state; If the driving speed is smaller than a preset speed threshold, the activity degree of the mosquitoes outside the vehicle is high, the emotional state is a fidgeting emotion, and the duration time of the fidgeting emotion is smaller than a first preset time, the opening and closing state of the vehicle window is controlled to be in an closing state; if the driving speed is smaller than a preset speed threshold, the activity degree of the mosquitoes outside the vehicle is high, the emotional state is a fidgeting emotion, and the duration time of the fidgeting emotion is longer than a first preset time, the opening and closing state of the vehicle window is controlled to be an opening state; And if the running speed is smaller than a preset speed threshold, the activity degree of the mosquitoes outside the vehicle is medium, and the emotion state is a fidgeting emotion, the opening and closing state of the vehicle window is controlled to be an opening state.
  2. 2. The method for controlling a vehicle window according to claim 1, wherein the environmental information includes position information, temperature information, and humidity information; The determining the activity degree of the mosquito outside the vehicle according to the environmental information comprises the following steps: Detecting whether the current position of the vehicle is a mosquito habitat or not according to the position information; If the current position of the vehicle is a mosquito habitat, determining the activity degree of the mosquitoes outside the vehicle according to the temperature information, the humidity information and the corresponding relation between the preset temperature, humidity and the activity degree of the mosquitoes; wherein the activity level comprises low, medium or high level, and the number of the mosquitoes in an active state corresponding to the low, medium and high level is sequentially increased.
  3. 3. The method for controlling a vehicle window according to claim 2, characterized in that after whether the vehicle is currently located in a mosquito habitat, further comprising: determining the distance required to travel in the path away from the mosquito habitat according to the path navigation information; If the distance is greater than the preset distance, a first prompt message is sent, and the first prompt message is used for prompting whether the vehicle changes a driving path at an adjacent intersection or not; And if a response message which is sent by the driver of the vehicle and is used for determining to change the driving path based on the first prompt message is received, sending second prompt information at the adjacent intersection based on the response message, wherein the second prompt information is used for prompting the driver to change the driving path.
  4. 4. The method according to claim 1, wherein the person image information includes motion information of a person including a hand motion, a body shake amplitude, and a head motion of the person, and facial features including an eye feature, an eyebrow shape, and a mouth angle shape of the person; the determining the emotional state of the person in the vehicle according to the person image information or the sound information in the vehicle comprises at least one of the following steps: Determining that the emotional state of the person is an agitation state under the condition that the eyebrow shape meets the preset eyebrow shape and the mouth angle shape meets the preset mouth angle shape; Determining that the emotional state of the person is an agitation state when the eye feature indicates that the blink frequency of the person is greater than a preset blink frequency or the eye feature indicates that the duration of the person not blinking is greater than a preset duration; and determining the emotional state of the person to be an agitation state when the motion information meets at least one condition, wherein the condition comprises that the repetition number of the hand motion is larger than the preset number, the body shaking amplitude is larger than the preset amplitude, and the motion frequency of the head motion is larger than the preset motion frequency.
  5. 5. The method for controlling a vehicle window according to claim 1, wherein the sound information includes a voice content and decibels of sound; the determining the emotional state of the person in the vehicle according to the person image information or the sound information in the vehicle comprises the following steps: In case the voice content comprises preset content, determining the emotional state of the person as an agitation state, or And under the condition that the decibel of the sound is larger than the preset decibel, determining the emotional state of the person as an agitation state.
  6. 6. The method for controlling a vehicle window according to claim 1, further comprising at least one of the following after the opening/closing state of the vehicle window is controlled to be the open state: if the emotional state is detected to be changed from the fidgeted emotion to the gentle emotion and the second preset time is continued, controlling to close the car window; if the activity degree of the mosquitoes outside the vehicle is detected to be changed from low degree to medium degree or high degree, controlling to close the vehicle window; if the detected emotion state is the duration of the impatient emotion is longer than the second preset time and the running speed is smaller than the preset speed threshold, controlling the vehicle to increase the running speed and controlling a voice assistant of the vehicle to play the music of the soothing type.
  7. 7. A control device for a vehicle window, comprising: the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the running speed of a vehicle, the surrounding environment information of the vehicle, the personnel image information in the vehicle and the mosquito information in the vehicle, and the mosquito information is used for indicating whether mosquitoes exist in the vehicle; the first determining module is used for determining the activity degree of the mosquitoes outside the vehicle according to the environmental information; The second determining module is used for determining the emotion state of the person in the vehicle according to the person image information; The execution module is used for controlling the opening and closing states of the vehicle window according to at least two of the running speed, the emotion state and the activity degree of the mosquitoes outside the vehicle when the mosquito information indicates that the mosquitoes exist in the vehicle, wherein the execution module comprises controlling the opening and closing states of the vehicle window when the running speed is greater than a preset speed threshold and the emotion state is a gentle emotion, controlling the opening and closing states of the vehicle window when the running speed is greater than the preset speed threshold and the emotion state is a fidgety emotion, controlling the opening and closing states of the vehicle window when the running speed is less than the preset speed threshold and the emotion state is a fidgety emotion and the activity degree of the mosquitoes outside the vehicle is a low level, controlling the opening and closing states of the vehicle window when the running speed is less than the preset speed threshold and the emotion state is a high level and the fidgety emotion state is a low level, and controlling the opening and closing states of the vehicle window when the running speed is less than the preset speed threshold and the fidgety state is a high level and the fidgety state is a first preset time, and controlling the opening and closing states of the vehicle window is a fidgety state is a high level and the fidgety state is a high level.
  8. 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 the processor implements the steps of the method according to any of claims 1 to 6 when the computer program is executed.
  9. 9. A readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 6.

Description

Vehicle window control method and device, electronic equipment and readable storage medium Technical Field The present application relates to the field of vehicle technologies, and in particular, to a method and apparatus for controlling a vehicle window, an electronic device, and a readable storage medium. Background Driving and traveling are one of the traveling modes commonly selected by people at present, and automobiles play an increasingly important role in the life of people. The interference of mosquitoes in the vehicle not only can influence the attention of a driver, but also can cause people in the vehicle to feel dysphoria, and the driving danger is further increased. At present, the control of the vehicle window is mainly realized through a button or a switch, and a rider decides whether to open or close the vehicle window or not by himself. While some vehicles have functions for automatically controlling windows, such as a push-to-go window and a remote window, these functions are typically actively operated or preset by a user, rather than being adjusted according to the emotional state of a person. The mosquito interference and the technical problem of relieving the emotion of personnel in the prior art can be seen. Disclosure of Invention In view of the above, the embodiments of the present application provide a method, an apparatus, an electronic device, and a readable storage medium for controlling a vehicle window, so as to solve the problem in the prior art that the mosquito outside the vehicle is active to cause the noise of passengers in the vehicle. In a first aspect of an embodiment of the present application, there is provided a method for controlling a vehicle window, including: acquiring the running speed of a vehicle, the environmental information around the vehicle, the personnel image information in the vehicle, the sound information in the vehicle and the mosquito information in the vehicle, wherein the mosquito information is used for indicating whether mosquitoes exist in the vehicle; determining the activity degree of the mosquitoes outside the vehicle according to the environmental information; determining the emotional state of the person in the vehicle according to the person image information or the sound information in the vehicle; And under the condition that the mosquito information indicates that the mosquitoes exist in the vehicle, controlling the opening and closing states of the vehicle windows according to at least two of the running speed, the emotion state and the activity degree of the mosquitoes outside the vehicle. In a second aspect of an embodiment of the present application, there is provided a control device for a vehicle window, including: the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the running speed of a vehicle, the surrounding environment information of the vehicle, the personnel image information in the vehicle and the mosquito information in the vehicle, and the mosquito information is used for indicating whether mosquitoes exist in the vehicle; the first determining module is used for determining the activity degree of the mosquitoes outside the vehicle according to the environmental information; The second determining module is used for determining the emotion state of the person in the vehicle according to the person image information; And the execution module is used for controlling the opening and closing states of the vehicle windows according to at least two of the running speed, the emotional state and the activity degree of the mosquitoes outside the vehicle under the condition that the mosquito information indicates that the mosquitoes exist in the vehicle. In a third aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program. In a fourth aspect of the embodiments of the present application, there is provided a readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method. Compared with the prior art, the method has the beneficial effects that the running speed of the vehicle and the surrounding environment information of the vehicle, the personnel image information in the vehicle, the sound information in the vehicle and the mosquito information in the vehicle are obtained. The method comprises the steps of determining the active degree of the mosquitoes outside the vehicle according to the environmental information around the vehicle, wherein the active degree of the mosquitoes is related to the environmental factors such as temperature, humidity and the like, and the emotional state of the people can be determined according to the image informat