Sun shield control method and vehicle

Through the sun visor control method based on driver behavior, glare events and adjust the sun visor angle are determined, which solves the misoperation problem in traditional automatic adjustment technology, improves the accuracy and flexibility of control, and enhances driving safety and comfort.

CN120207068APending Publication Date: 2025-06-27DEEPAL AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510532278.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The automatic adjustment technology of traditional sun visors has problems with misoperation and cannot fully capture the driver's needs, resulting in insufficient control and flexibility.

Method used

Through a method based on driver behavior, determine whether a glare event occurs, and adjust the angle of the visor according to the glare height angle, fully capture the driver's needs, and adjust the visor angle adaptively.

Benefits of technology

Improves the accuracy and flexibility of visor control, reduces misoperation and enhances driving safety and comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120207068A_ABST
    Figure CN120207068A_ABST
Patent Text Reader

Abstract

The invention relates to a sun visor control method and a vehicle, relates to the technical field of vehicle control, can reduce control misoperation of a sun visor and improve control accuracy, and is characterized in that whether a glare event occurs or not is determined based on behaviors of a driver; under the condition that a glare event occurs, a glare elevation angle is determined; the glare elevation angle is a height included angle of the glare light source relative to the sight line horizontal line of the driver; the angle of the visor is adjusted based on the glare elevation angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle control, and particularly relates to a sun visor control method and a vehicle. Background Art

[0002] With the continuous development of automotive technology, as an important part of automotive interiors, the functions and designs of sun visors are constantly being optimized. Traditional sun visors are mostly manually operated. During driving, the driver needs to manually adjust the position of the sun visor, which not only increases the complexity of driving but also may pose safety hazards due to distracted operation. To improve driving safety and comfort, automotive manufacturers and related technology R & D enterprises have begun to explore technologies for automatically adjusting sun visors.

[0003] In related technologies for automatically adjusting sun visors, one approach is to install a photosensitive sensor on the sun visor and automatically adjust the position of the sun visor by detecting the light intensity of the front windshield. When the light intensity exceeds a set threshold, the system automatically flips the sun visor to block the strong light from interfering with the driver. Another approach is to continuously monitor the light intensity and the position of the driver's eyes, and then adjust the angle of the sun visor. The determination conditions set for determining the sun visor adjustment method in the above practices are fixed, and there may be problems of incorrect operation of the sun visor. Summary of the Invention

[0004] The present invention provides a sun visor control method and a vehicle, relating to the technical field of vehicle control, which can reduce incorrect operation of sun visor control and improve the accuracy of control.

[0005] In a first aspect, a sun visor control method is provided. The method includes: determining whether a glare event occurs based on the driver's behavior; in the case of a glare event occurring, determining the glare elevation angle; the glare elevation angle is the height angle between the glare light source and the driver's line of sight horizontal line; adjusting the angle of the sun visor based on the glare elevation angle.

[0006] According to the above technical means, determining a glare event based on the driver's behavior and adjusting the angle of the sun visor according to the glare elevation angle, this method can use the driver's behavior as the basis for determining a glare event, fully capture the driver's needs, and thus adaptively adjust the angle of the sun visor, which can enhance flexibility and accuracy and reduce incorrect operation.

[0007] As a possible implementation, determining whether a glare event occurs based on the driver's behavior includes: determining that a glare event occurs in the case of determining that the driver exhibits a preset behavior; wherein the preset behavior is an involuntary behavior of the human body when being stimulated by glare.

[0008] According to the above technical means, by using the driver's preset behaviors (such as squinting, frequent blinking, etc.) as the basis for judging glare events, the occurrence of glare can be identified more accurately. Since these preset behaviors are the natural responses of the human body to glare stimuli, with high recognition and reliability, using these behaviors as the judgment criteria can enable the system to adjust the sun visor only when glare actually occurs, improving the accuracy and stability of the system and reducing unnecessary operations and interference.

[0009] As a possible implementation, determining that the driver exhibits a preset behavior includes: obtaining the driver's behavior data; based on the driver's behavior data and the behavior recognition model, determining whether the driver exhibits a preset behavior; wherein, the behavior recognition model is used to determine whether the driver exhibits a preset behavior according to the driver's behavior data.

[0010] According to the above technical means, by obtaining the driver's behavior data and combining the behavior recognition model to judge glare events, the image recognition technology is utilized to accurately capture the driver's behavior data, enabling the system to respond to glare events more quickly and accurately, providing a reliable basis for subsequent sun visor adjustment.

[0011] As a possible implementation, the behavior recognition model is trained based on training samples, wherein the training samples include sample data and sample labels; the sample data includes the driver's historical behavior data, and the sample labels include the labeled data obtained by performing preset behavior annotation on the driver's historical behavior data.

[0012] According to the above technical means, using the driver's historical behavior data and its corresponding labeled data as training samples to train the behavior recognition model, through continuous accumulation and analysis of these data, the model can better adapt to the behavior characteristics and driving environments of different drivers, improving its generalization ability and recognition accuracy, thereby improving the accuracy of the sun visor control method.

[0013] As a possible implementation, the driver's behavior data includes the driver's image data.

[0014] According to the above technical means, by using the driver's image data as behavior data, a richer information source is provided for the behavior recognition model.

[0015] As a possible implementation, the preset behavior includes at least one of the following: squinting, frequent blinking, head deflection, hand occlusion.

[0016] According to the above technical means, listing multiple preset behaviors (such as squinting, frequent blinking, head deflection, hand occlusion, etc.) can more comprehensively cover the driver's responses in different glare scenarios, reducing misjudgments that may be caused by single-behavior judgment, thereby improving the adaptability and generality of the method.

[0017] As a possible implementation, determining the glare elevation angle includes: determining the glare elevation angle based on multimodal information; wherein, the multimodal information includes at least one of the following: vehicle position information, vehicle attitude information, and time information.

[0018] According to the above technical means, by determining the glare elevation angle based on multimodal information (such as vehicle position, attitude, and time information), various factors affecting glare can be considered more comprehensively, so as to more accurately determine the position and angle of the glare light source, improving the accuracy of the method.

[0019] As a possible implementation, adjusting the angle of the sun visor based on the glare elevation angle includes: adjusting the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor intersects the glare light path, wherein the glare light path is used to reflect the trajectory of light propagating from the glare light source to the driver's eyes.

[0020] According to the above technical means, dynamically adjusting the angle of the sun visor according to the glare elevation angle and making the sun visor intersect the glare light path to directly block the glare light can quickly adjust the angle of the sun visor according to different glare scenarios, improving the flexibility and adaptability of the method and effectively reducing the interference of glare on the driver's line of sight.

[0021] As a possible implementation, adjusting the angle of the sun visor based on the glare elevation angle includes: adjusting the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor is perpendicular to the glare light path.

[0022] According to the above technical means, the adjustment angle of the sun visor is further optimized to be perpendicular to the glare light path, which can maximize the shielding area, improve the shielding efficiency of the sun visor, and further reduce the interference of glare on the driver's line of sight.

[0023] As a possible implementation, the method further includes: when it is determined that the glare event has disappeared, adjusting the sun visor to the initial position.

[0024] According to the above technical means, by automatically adjusting the sun visor to the initial position after the glare event disappears, it is possible to avoid the sun visor remaining in the shielding state when it is not needed, causing interference to the driver. This method can better adapt to changes in the driving environment, further optimize the driving experience, and improve the overall intelligent level.

[0025] As a possible implementation, determining whether a glare event occurs based on the driver's behavior includes: when the preset conditions are met, determining whether a glare event occurs based on the driver's behavior; wherein, the preset conditions include at least one of the following: a driver is seated in the driver's seat, and the ambient light intensity where the vehicle is located is greater than or equal to a second preset threshold.

[0026] According to the above technical means, by performing glare event judgment and sun visor adjustment only when preset conditions are met (such as a driver is sitting in the driver's seat and the ambient light intensity is greater than or equal to a second preset threshold), unnecessary operations can be avoided when they are not needed, improving the reliability of the method while reducing the overall energy consumption of the vehicle.

[0027] In a second aspect, a sun visor control device is provided for implementing the sun visor control method provided in the first aspect. The sun visor control device includes: a processing module and a control module; the processing module is configured to determine whether a glare event occurs based on the driver's behavior; the processing module is further configured to determine the glare elevation angle in the case of a glare event; the glare elevation angle is the height angle between the glare light source and the driver's line of sight horizontal line; the control module is configured to adjust the angle of the sun visor based on the glare elevation angle.

[0028] As a possible implementation, the processing module is specifically configured to determine that a glare event occurs when it determines that the driver exhibits a preset behavior; wherein the preset behavior is an unconscious behavior of the human body when stimulated by glare.

[0029] As a possible implementation, the processing module is specifically configured to obtain the driver's behavior data; and determine whether the driver exhibits a preset behavior based on the driver's behavior data and a behavior recognition model; wherein the behavior recognition model is used to determine whether the driver exhibits a preset behavior according to the driver's behavior data.

[0030] As a possible implementation, the behavior recognition model is trained based on training samples, wherein the training samples include sample data and sample labels; the sample data includes the driver's historical behavior data, and the sample labels include the annotation data obtained by performing preset behavior annotation on the driver's historical behavior data.

[0031] As a possible implementation, the driver's behavior data includes the driver's image data.

[0032] As a possible implementation, the preset behavior includes at least one of the following: squinting, frequent blinking, head deflection, hand occlusion.

[0033] As a possible implementation, the processing module is specifically configured to determine the glare elevation angle based on multimodal information; wherein the multimodal information includes at least one of the following: vehicle position information, vehicle attitude information, time information.

[0034] As a possible implementation, the control module is specifically configured to adjust the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor intersects the glare light path, wherein the glare light path is used to reflect the trajectory of light propagating from the glare light source to the driver's eyes.

[0035] As a possible implementation, the control module is specifically configured to adjust the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor is perpendicular to the glare light path.

[0036] As a possible implementation, the control module is further configured to adjust the sun visor to the initial position when it is determined that the glare event has disappeared.

[0037] As a possible implementation, the processing module is specifically configured to determine whether a glare event occurs based on the driver's behavior when preset conditions are met; wherein the preset conditions include: a driver is seated in the driver's seat and the ambient light intensity of the vehicle is greater than or equal to a second preset threshold.

[0038] In a third aspect, a vehicle is provided, which includes: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method of the first aspect above.

[0039] In a fourth aspect, a computer-readable storage medium is provided, which includes: computer software instructions; when the computer software instructions run in an electronic device, the electronic device implements the method of the first aspect above.

[0040] In a fifth aspect, a computer program product is provided, which includes a computer program; when the computer program runs in an electronic device, the electronic device implements the method of the first aspect above.

[0041] For the beneficial effects of the second to fifth aspects above, reference may be made to the corresponding descriptions of the first aspect and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0043] Figure 1 It is a schematic structural diagram of a sun visor control system provided by an embodiment of the present application;

[0044] Figure 2 It is a flowchart of a sun visor control method provided by an embodiment of the present application;

[0045] Figure 3 It is a flowchart of another sun visor control method provided by an embodiment of the present application;

[0046] Figure 4 Flow chart of yet another sun visor control method provided by an embodiment of this application;

[0047] Figure 5 Flow chart of yet another sun visor control method provided by an embodiment of this application;

[0048] Figure 6 Flow chart of yet another sun visor control method provided by an embodiment of this application;

[0049] Figure 7 Flow chart of yet another sun visor control method provided by an embodiment of this application;

[0050] Figure 8 Schematic structural diagram of a sun visor control device provided by an embodiment of this application;

[0051] Figure 9 Schematic structural diagram of a vehicle provided by an embodiment of this application.

[0052] Reference signs:

[0053] Sun visor control system 100, acquisition device 101, processing device 102, control device 103. Detailed implementation manners

[0054] The following will describe in detail a sun visor control method provided by this application with reference to the accompanying drawings.

[0055] The term "and / or" in this document is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.

[0056] Terms such as "first" and "second" in the description and drawings of this application are used to distinguish different objects or different processes for the same object, rather than to describe a specific order of the objects.

[0057] In addition, the terms "include" and "have" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0058] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.

[0059] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and roles. Those skilled in the art can understand that the words such as "first" and "second" do not limit the quantity and execution order.

[0060] In the description of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more.

[0061] Next, specific introductions to the embodiments provided by the present application will be made in conjunction with the accompanying drawings of the specification.

[0062] The sun visor control method provided by the present application can be applied to a sun visor control system as Figure 1 shown, and the sun visor control system can be deployed in a vehicle.

[0063] Referring to Figure 1 , the sun visor control system 100 includes: a collection device 101, a processing device 102, and a control device 103. Among them, the collection device 101 is connected to the processing device 102, and the processing device 102 is connected to the control device 103.

[0064] In some embodiments, the collection device 101 is used to obtain the behavior data of the driver and send the behavior data of the driver to the processing device 102.

[0065] Among them, the above-mentioned behavior data of the driver is used to determine whether a glare event occurs.

[0066] In some embodiments, the behavior data of the driver includes the image data of the driver.

[0067] Exemplarily, the collection device 101 may be a camera device, such as an optical lens camera, an infrared camera, a high-definition camera, etc.

[0068] In some embodiments, the collection device 101 can also be used to obtain the multi-modal data of the vehicle and send the multi-modal data of the vehicle to the processing device 102.

[0069] Among them, the multi-modal data of the vehicle includes vehicle position information, vehicle attitude information, and time information, and the multi-modal data is used to determine the adjustment method and adjustment angle of the sun visor.

[0070] Exemplarily, the acquisition device 101 may also be a vehicle-mounted positioning unit (such as a GPS module), a gyroscope, a time acquisition unit, etc.

[0071] In some embodiments, the processing device 102 is configured to determine whether a glare event occurs based on the driver's behavior data.

[0072] In some embodiments, the processing device 102 is further configured to, when it is determined that a glare event occurs, determine the adjustment method and the adjustment angle of the sun visor based on the multi-modal information of the vehicle.

[0073] Exemplarily, the processing device 102 may be a processor of the vehicle.

[0074] In some embodiments, the control device 103 is configured to generate a control signal according to the adjustment method and the adjustment angle of the sun visor, so as to control the sun visor to adjust the angle.

[0075] Exemplarily, the control device 103 may be a vehicle controller.

[0076] It should be noted that the system architecture described in the embodiments of the present application is for more clearly explaining the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the system architecture, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0077] The sun visor control method provided by the embodiments of the present application will be introduced below with reference to the accompanying drawings.

[0078] See Figure 2 , which is a flowchart of the first sun visor control method provided by the embodiments of the present application, and is applied to the processing device 102 in the sun visor control system as Figure 1 shown. As Figure 2 shown, the sun visor control method provided by the present application includes the following steps S100-S300.

[0079] S100. Determine whether a glare event occurs based on the driver's behavior.

[0080] Exemplarily, the driver's behavior may be the driver's actions, facial expressions, etc.

[0081] It should be noted that glare will cause discomfort to the driver's eyes. In order to reduce the stimulation of light to the eyes, the driver will subconsciously make some actions to relieve the discomfort of the eyes. Therefore, it is possible to determine whether a glare event occurs based on the driver's behavior.

[0082] S200. Determine the glare elevation angle when a glare event occurs.

[0083] Among them, the glare elevation angle is the elevation angle between the glare light source and the driver's line of sight horizontal line.

[0084] S300. Adjust the angle of the sun visor based on the glare elevation angle.

[0085] It can be understood that the sun visor control method provided by this application takes the driver's behavior as the judgment basis to determine whether a glare event occurs, and then adjusts the angle of the sun visor subsequently. It can adapt to different driving scenarios, more accurately judge whether the glare has an actual impact on the driver, avoid misjudging the glare event due to factors such as light intensity, and thus more effectively ensure driving safety.

[0086] It should be understood that since the impact of glare on the driver is subjective, different people have different sensitivities and response methods to glare. By monitoring the driver's behavior, the subconscious reaction to glare can be captured, so as to accurately judge whether the glare has an actual impact on him.

[0087] Specifically, referring to Figure 3 , the above step S100 can be implemented as the following step S101.

[0088] S101. When it is determined that the driver exhibits a preset behavior, determine that a glare event occurs.

[0089] Among them, the above preset behavior is the subconscious behavior of the human body when being stimulated by glare.

[0090] In some embodiments, the above preset behavior includes at least one of the following: squinting, frequent blinking, head deflection, and hand occlusion.

[0091] In some embodiments, the process of determining that the driver exhibits a preset behavior includes the following steps S401 - S402.

[0092] S401. Obtain the driver's behavior data.

[0093] In some embodiments, the driver's behavior data includes the driver's image data.

[0094] Exemplarily, the driver's behavior data can be the image data of the driver during driving.

[0095] Exemplarily, the driver's behavior data can be the image data of the driver's vehicle in a stationary state.

[0096] S402. Based on the driver's behavior data and the behavior recognition model, determine whether the driver exhibits a preset behavior.

[0097] Among them, the above-mentioned behavior recognition model is used to determine whether a driver exhibits a preset behavior based on the driver's behavior data.

[0098] In some embodiments, the behavior recognition model is trained based on training samples.

[0099] Among them, the training samples include sample data and sample labels.

[0100] In some embodiments, the sample data includes the driver's historical behavior data, and the sample labels include the annotation data obtained by performing preset behavior annotation on the driver's historical behavior data.

[0101] In some embodiments, the driver's historical behavior data includes image data, video data, etc. of the driver in different driving scenarios.

[0102] In some embodiments, the behavior recognition model can be trained in the following way: collect a large amount of the driver's historical behavior data, annotate these historical behavior data to generate sample labels, mark the preset behaviors exhibited by the driver during the annotation process, such as squinting, frequent blinking, head deflection, hand occlusion, etc., and then combine the sample data with the corresponding sample labels to form complete training samples. Finally, use these training samples to train the behavior recognition model, enabling the model to learn the association between the driver's behavior and glare events, and continuously optimize the parameters of the model according to the recognition results of the behavior recognition model.

[0103] It can be understood that the behavior recognition model is trained based on training samples, and the training samples include sample data and sample labels. The sample data is the driver's historical behavior data, and the sample labels are the annotation data obtained by performing preset behavior annotation on these historical behavior data. The behavior recognition model trained in this way has high accuracy and reliability, can effectively identify the preset behaviors of the driver, and provides strong support for the judgment of glare events.

[0104] In some embodiments, the above process of determining the glare elevation angle includes the following steps S500.

[0105] S500. Determine the glare elevation angle based on multimodal information.

[0106] In some embodiments, the multimodal information includes at least one of the following: vehicle position information, vehicle attitude information, time information.

[0107] Exemplarily, the vehicle position information can be the vehicle's longitude and latitude coordinates, and the vehicle position information can be obtained through the vehicle navigation system or the GPS module.

[0108] Exemplarily, the vehicle attitude information may be the pitch angle, roll angle, and yaw angle of the vehicle, and the vehicle attitude information may be obtained by a vehicle inertial measurement unit (IMU) or an attitude sensor.

[0109] Exemplarily, the time information may be the current date and time, and the time information may be obtained by a vehicle clock module.

[0110] In a possible time method, the solar hour angle and solar declination are calculated according to the time information, and then combined with the address latitude in the vehicle position information to calculate the solar altitude angle, and then the solar altitude angle is adjusted according to the vehicle attitude information, and the adjusted angle is the final glare altitude angle.

[0111] It should be understood that in the case of a glare event, the glare light becomes the main factor affecting the driver's line of sight. Therefore, it is necessary to adjust the angle of the sun visor so that the sun visor intersects the glare light path, thereby blocking the light that affects the driver's line of sight.

[0112] Specifically, referring to Figure 4 above, the above step S300 may be specifically implemented as the following step S301.

[0113] S301. Based on the glare altitude angle, adjust the angle of the sun visor so that the adjusted sun visor intersects the glare light path.

[0114] Among them, the glare light path is used to reflect the trajectory of the light propagating from the glare light source to the driver's eyes.

[0115] Exemplarily, the glare light path may be the trajectory of the sunlight source propagating to the driver's eyes.

[0116] Exemplarily, the glare light path may be the trajectory of the sunlight shining on the vehicle windshield and from the irradiation point on the windshield to the driver's eyes.

[0117] In a possible implementation manner, based on the glare altitude angle, adjust the angle of the sun visor so that the adjusted sun visor is perpendicular to the glare light path.

[0118] It can be understood that adjusting the sun visor to be perpendicular to the glare light path can block the light to the greatest extent, effectively reduce the interference of glare on the driver's line of sight, make the driver's field of vision clearer, and improve driving safety and visual comfort.

[0119] In some embodiments, referring to Figure 5 the sun visor control method provided by the embodiments of the present application further includes the following step S600.

[0120] S600. When it is determined that the glare event has disappeared, adjust the sun visor to the initial position.

[0121] Exemplarily, adjusting the sun visor to the initial position may be to control the sun visor to close or fold.

[0122] In some embodiments, the method for determining the disappearance of the glare event includes: determining that the glare event disappears when the glare elevation angle is less than or equal to the first preset threshold.

[0123] The embodiment of the present application does not limit the value of the first preset threshold, and the first preset threshold can be determined according to the actual vehicle condition.

[0124] A possible implementation is that the above first preset threshold may be obtained through pre-experiments. When a glare event occurs in the vehicle, when the vehicle traveling direction deviates to this threshold, it is the angle at which the glare disappears.

[0125] In some embodiments, it is possible to determine the disappearance of the glare by analyzing the interior light intensity of the vehicle when the interior light intensity value drops to a certain range.

[0126] It can be understood that the adjustment of the sun visor is based on the interference of the glare on the driver's line of sight. If the glare disappears, there is no need to use the sun visor. Therefore, when it is determined that the glare event disappears, adjusting the sun visor to the initial position can avoid the interference of the opened sun visor on the driver's line of sight and can also save vehicle energy consumption.

[0127] In some embodiments, referring to Figure 6 , the above step S100 can also be specifically implemented as the following step S102.

[0128] S102. When the preset conditions are met, determine whether a glare event occurs based on the driver's behavior.

[0129] In some embodiments, the above preset conditions include: there is a driver sitting in the driver's seat.

[0130] Exemplarily, it is detected whether there is a driver sitting in the driver's seat through sensors in the vehicle (such as pressure sensors, infrared sensors, etc.).

[0131] It should be noted that the sun visor is used to block the glare and protect the visual comfort of the driver. Therefore, only when there is a driver sitting in the driver's seat of the vehicle, it is necessary to determine whether a glare event occurs, so as to control the sun visor, which can reduce the power consumption of the vehicle while meeting the driving needs of the driver.

[0132] In some embodiments, when there is a driver sitting in the driver's seat, the preset conditions further include: the ambient light intensity where the vehicle is located is greater than or equal to the second preset threshold.

[0133] Among them, the above-mentioned second preset threshold is the ambient light intensity for judging that the ambient light intensity of the vehicle's environment will affect the vehicle driving (including causing discomfort to the driver or generating a glare event).

[0134] Exemplarily, the second preset threshold may be 30 lux.

[0135] The embodiment of the present application does not specifically limit the value of the second preset threshold, and the second preset threshold can be determined according to the actual situation.

[0136] It should be noted that when the ambient light intensity of the vehicle is relatively low, the occurrence of the preset behavior by the driver may be caused by reasons other than the glare event. At this time, there is no need to control the sun visor to adjust the angle of the sun visor. Therefore, a preset threshold can be set to judge the ambient light intensity of the vehicle.

[0137] It can be understood that the sun visor control method provided by the present application takes the driver's behavior as the judgment basis to determine whether a glare event has occurred, and then adjusts the angle of the sun visor accordingly. It can adapt to different driving scenarios, more accurately judge whether the glare actually affects the driver, and avoid misjudging the glare event due to factors such as light intensity, thereby more effectively ensuring driving safety.

[0138] Next, a complete embodiment is used to introduce the sun visor control method provided by the present application.

[0139] See Figure 7 , the method flow is as follows:

[0140] S1. Determine whether there is a driver sitting in the driver's seat.

[0141] If so, continue to execute step S2; otherwise, execute S1.

[0142] S2. Determine whether the ambient light intensity of the vehicle is greater than or equal to the second preset threshold.

[0143] If so, continue to execute step S3; otherwise, execute S2.

[0144] S3. Obtain the driver behavior data.

[0145] S4. Based on the driver behavior data and the behavior recognition model, determine whether the driver has an preset behavior.

[0146] If so, continue to execute step S5; otherwise, execute S4.

[0147] S5. Determine the glare elevation angle based on the multimodal information.

[0148] S6. Based on the glare elevation angle, adjust the angle of the sun visor so that the adjusted sun visor intersects the glare light path.

[0149] S7. Determine whether the glare elevation angle is less than or equal to the first preset threshold.

[0150] If so, determine that the glare event has disappeared, and continue to execute step S8; otherwise, execute S7.

[0151] S8. Adjust the sun visor to the initial position.

[0152] It can be seen that the above mainly introduces the solution provided by the embodiments of the present application from the perspective of methods. To implement the above functions, the embodiments of the present application provide the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraint conditions of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0153] The embodiments of the present application can divide the function modules of the sun visor control device according to the above method examples. For example, each function module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software function modules. Optionally, the division of modules in the embodiments of the present application is illustrative, and is only a logical function division. There may be other division methods in actual implementation.

[0154] In some embodiments, the present application further provides a sun visor control device. The sun visor control device may include one or more function modules for implementing the sun visor control method in the above method embodiments.

[0155] See Figure 8 , which is a composition diagram of a sun visor control device provided by an embodiment of the present application. The sun visor control device is used to implement more sun visor control methods provided by the embodiments of the present application. The sun visor control device 400 includes: a processing module 401 and a control module 402; the processing module 401 is configured to determine whether a glare event occurs based on the behavior of the driver; the processing module 401 is further configured to determine the glare elevation angle in the case of a glare event; the glare elevation angle is the height included angle of the glare light source relative to the horizontal line of the driver's line of sight; the control module 402 is configured to adjust the angle of the sun visor based on the glare elevation angle.

[0156] As a possible implementation, the processing module 401 is specifically configured to determine that a glare event occurs when it is determined that the driver exhibits a preset behavior; wherein the preset behavior is an unconscious behavior of the human body when being stimulated by glare.

[0157] As a possible implementation, the processing module 401 is specifically configured to obtain the behavior data of the driver; based on the behavior data of the driver and the behavior recognition model, determine whether the driver exhibits a preset behavior; wherein the behavior recognition model is used to determine whether the driver exhibits a preset behavior according to the behavior data of the driver.

[0158] As a possible implementation, the behavior recognition model is trained based on training samples, wherein the training samples include sample data and sample labels; the sample data includes the historical behavior data of the driver, and the sample labels include the annotation data obtained by performing preset behavior annotation on the historical behavior data of the driver.

[0159] As a possible implementation, the behavior data of the driver includes the image data of the driver.

[0160] As a possible implementation, the preset behavior includes at least one of the following: squinting, frequent blinking, head deflection, hand occlusion.

[0161] As a possible implementation, the processing module 401 is specifically configured to determine the glare elevation angle based on multi-modal information; wherein the multi-modal information includes at least one of the following: vehicle position information, vehicle attitude information, time information.

[0162] As a possible implementation, the control module 402 is specifically configured to adjust the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor intersects the glare light path, wherein the glare light path is used to reflect the trajectory of light propagating from the glare source to the driver's eyes.

[0163] As a possible implementation, the control module 402 is specifically configured to adjust the angle of the sun visor based on the glare elevation angle so that the adjusted sun visor is perpendicular to the glare light path.

[0164] As a possible implementation, the control module 402 is further configured to adjust the sun visor to the initial position when it is determined that the glare event has disappeared.

[0165] As a possible implementation, the processing module 401 is specifically configured to determine whether a glare event occurs based on the behavior of the driver when preset conditions are met; wherein the preset conditions include: there is a driver sitting in the driver's seat, and the ambient light intensity where the vehicle is located is greater than or equal to a second preset threshold.

[0166] In the case where the functions of the above integrated module are implemented in the form of hardware, an embodiment of the present invention provides a structural diagram of a vehicle involved in the above embodiment. As Figure 9 shown, the vehicle 900 includes: a processor 902, a communication interface 903, and a bus 904. Optionally, the vehicle 900 may further include a memory 901.

[0167] The processor 902 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the present application. The processor 902 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0168] The communication interface 903 is used to connect to other devices through a communication network. The communication network may be an Ethernet, a radio access network, a wireless local area network (WLAN), etc.

[0169] The memory 901 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), or other types of dynamic storage devices that can store information and instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium, or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0170] As a possible implementation, the memory 901 may exist independently of the processor 902. The memory 901 may be connected to the processor 902 through the bus 904 for storing instructions or program code. When the processor 902 calls and executes the instructions or program code stored in the memory 901, the sun visor control method provided by the embodiment of the present invention can be implemented.

[0171] In another possible implementation, the memory 901 may also be integrated with the processor 902.

[0172] The bus 904 can be an extended industry standard architecture (EISA) bus or the like. The bus 904 can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 9 only a thick line is used to represent it in Figure 9 , but it does not mean that there is only one bus or one type of bus.

[0173] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the sun visor control device is divided into different functional modules to complete all or part of the functions described above.

[0174] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions instructing relevant hardware. The program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be the memory in any of the foregoing embodiments. The above computer-readable storage medium can also be an external storage device of the above service call device, such as a plug-in hard disk equipped on the above service call device, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the above computer-readable storage medium can also include both the internal storage unit of the above service call device and the external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above service call device. The above computer-readable storage medium can also be used to temporarily store the data that has been output or will be output.

[0175] The embodiment of the present application also provides a computer program product. The computer product includes a computer program. When the computer program product runs on a computer, the computer is enabled to execute any one of the sun visor control methods provided in the above embodiments.

[0176] The above is only the specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A sun visor control method, characterized in that: The method comprises: Based on the driver's behavior, determine whether a glare event has occurred; In the event of a glare event, determining a glare height angle; the glare height angle is the height angle of the glare light source relative to the driver's line of sight; The angle of the visor is adjusted based on the glare altitude angle.

2. The sun visor control method according to claim 1, characterized in that: Determine if a glare event has occurred based on the driver's behavior, including: In the case where it is determined that the driver exhibits a preset behavior, it is determined that a glare event occurs; wherein the preset behavior is the behavior of a human body when stimulated by glare.

3. The sun visor control method according to claim 2, characterized in that: Determining that the driver exhibits a preset behavior includes: Acquiring behavior data of the driver; Based on the driver's behavior data and a behavior recognition model, it is determined whether the driver exhibits the preset behavior; wherein the behavior recognition model is used to determine whether the driver exhibits the preset behavior based on the driver's behavior data.

4. The sun visor control method according to claim 3, characterized in that: The behavior recognition model is trained based on training samples, wherein the training samples include sample data and sample labels; the sample data includes historical behavior data of the driver, and the sample labels include labeled data obtained by pre-setting behavior labels on the historical behavior data of the driver.

5. The sun visor control method according to claim 3 or 4, characterized in that: The driver's behavior data includes image data of the driver.

6. The sun visor control method according to any one of claims 2 to 4, characterized in that: The preset behaviors include at least one of the following: squinting, frequent blinking, head tilting, and hand covering.

7. The sun visor control method according to claim 1, characterized in that: Determine the glare height angle, including: The glare height angle is determined based on multimodal information; wherein the multimodal information includes at least one of the following: vehicle position information, vehicle posture information, and time information.

8. The sun visor control method according to claim 1, characterized in that: Adjusting the angle of the sun visor based on the glare height angle includes: Based on the glare altitude angle, the angle of the sun visor is adjusted so that the adjusted sun visor intersects with the glare light path, wherein the glare light path is used to reflect the trajectory of light propagating from the glare light source to the driver's eyes.

9. The sun visor control method according to claim 8, characterized in that: Adjusting the angle of the sun visor based on the glare height angle includes: Based on the glare altitude angle, the angle of the sun visor is adjusted so that the sun visor is perpendicular to the glare light path after adjustment.

10. The sun visor control method according to claim 1, characterized in that: The method further comprises: When it is determined that the glare event disappears, the sun visor is adjusted to an initial position.

11. The sun visor control method according to claim 1, characterized in that: The determining whether a glare event occurs based on the driver's behavior includes: When the preset conditions are met, determining whether a glare event occurs based on the driver's behavior; The preset conditions include at least one of the following: a driver is sitting in the driving seat, and the ambient light intensity of the vehicle is greater than or equal to a second preset threshold.

12. A vehicle, characterized in that: It comprises a processor and a memory, wherein the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the computer device to implement the sun visor control method as described in any one of claims 1 to 11.