Control method and system of sunshade curtain, storage medium and equipment

By monitoring the light intensity and determining the user's eye position, combined with the inclination angle of the front windshield of the vehicle, the stretching distance of the sunshade is automatically calculated and controlled, the problems of manual stretching and direct sunlight are solved, and automated control and safety protection are achieved.

CN120024179APending Publication Date: 2025-05-23CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510367253.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In the prior art, it is inconvenient to manually stretch the sunshade and cannot effectively prevent direct sunlight from entering the car, resulting in aging of the interior and safety hazards.

Method used

By monitoring the light intensity, determining the user's eye position, and combining the inclination angle of the windshield in front of the vehicle, the stretching distance of the sunshade curtain is calculated, and the sunshade is automatically controlled to stretch to the target position to block direct light.

Benefits of technology

Automatic control is realized, avoiding the inconvenience of manual operation, effectively preventing direct sunlight from entering the car, protecting the interior and improving driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120024179A_ABST
    Figure CN120024179A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and system for a sunshade curtain, a storage medium and equipment, and the method comprises the steps: determining the eye position of a user according to the monitored illumination intensity; determining a first stretching distance and a vertical light distance of the sunshade curtain according to the eye position and the inclination angle of the front windshield of the vehicle; determining a second stretching distance according to the vertical light distance and the critical incident angle of the light; determining a target stretching distance according to the first stretching distance and the second stretching distance; and the sunshade curtain is controlled to be stretched to the target stretching distance. Through the method provided by the invention, the problem of inconvenience caused by manually stretching the sunshade curtain is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile control, and in particular to a control method, system, storage medium and equipment for a sunshade. Background Art

[0002] With the continuous development of the automobile industry, various automobile manufacturers have made more and more improvements in the functions of the whole vehicle in order to meet user needs and user experience, and the trend of electrification and intelligence is obvious. Among the relevant automobile auxiliary accessories, sunscreen sunshades are one of them, and users currently have the following pain points. In the hot summer, cars in outdoor parking lots are often exposed to the sun, especially the front windshield; for safety reasons, the color of the front windshield film is generally lighter, and the anti-ultraviolet effect is not obvious. The sun shines into the car through the front windshield. Long-term exposure will cause the dashboard and other interior decorations to discolor and age; if there are flammable and explosive items in the car, safety accidents are prone to occur; currently, the front windshield sunshade or manual rear-mounted sunshade is commonly used, and the driver needs to manually spread the sunshade on the glass or pull the sunshade to a fixed position to reduce direct sunlight into the car; when storing, it needs to be retracted before driving, which takes time and energy, not only takes up space, but also is inconvenient to use. Summary of the invention

[0003] In view of this, the present invention provides a control method, system, storage medium and device for a sunshade, aiming to solve the inconvenience caused by manually stretching the sunshade in the prior art.

[0004] In order to achieve the above-mentioned object, a first aspect of an embodiment of the present application provides a method for controlling a sunshade, the method comprising: Determine the user's eye position based on the monitored light intensity; Determining a first stretching distance of the sunshade and a vertical light distance according to the eye position and the tilt angle of the front windshield of the vehicle; Determining a second stretching distance according to the vertical light distance and the critical incident angle of the light; Determining a target stretching distance according to the first stretching distance and the second stretching distance; The sunshade is controlled to be stretched to the target stretching distance.

[0005] Optionally, determining a critical incident angle of the light comprises: Determining a light incident point according to the light intensity distribution and the spot factor on the front windshield of the vehicle, wherein the light incident point is a point on the front windshield where the light intensity is greater than the product of the spot factor and the maximum light intensity; Determining the light incident area on the front windshield according to the light incident point; Determining incident light in the light incident area that enters the user's eyes according to the light incident area and the eye position; The incident angle corresponding to the incident light that critically enters the user's eyes in the light incident area is determined as the critical incident angle.

[0006] Optionally, determining the eye position of the user according to the monitored light intensity includes: Determine, according to the current environment data, a light intensity threshold corresponding to the current environment data; Comparing the monitored light intensity with the light intensity threshold to obtain a corresponding comparison result; The eye position of the user is determined according to the comparison result.

[0007] Optionally, determining the first stretching distance of the sunshade and the vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle includes: Determining the visual height distance between the user's eyes and the roof of the vehicle according to the eye position; The first stretching distance and the vertical light distance are determined according to the visual height distance and the inclination angle of the front windshield of the vehicle.

[0008] Optionally, the method further comprises: When the vehicle is turned off, the parking time of the vehicle is predicted based on the vehicle's positioning data and historical driving data; Determine the weather conditions during the parking time according to the weather data of the location of the vehicle; According to the weather conditions, the sunshade is controlled in a target manner corresponding to the weather conditions.

[0009] Optionally, the method further comprises: Determine the lighting intensity of the main driving area and the co-pilot area in the car; Determine the light intensity difference value according to the light intensity of the main driving area and the light intensity of the co-pilot area in the vehicle; Determining a stretching degree corresponding to the light intensity difference value; The sunshade of the co-pilot is controlled to be stretched to a stretching position corresponding to the stretching degree.

[0010] Optionally, the method further comprises: Obtain the user's identity information; Establishing a mapping relationship between the identity information and the determined target stretching position; Before determining the eye position of the user, the method further includes: Determining, based on the identified identity information of the current user, whether there is a target stretching position corresponding to the identity information in the mapping relationship; In the case where there is a target extension position corresponding to the identity information, the sunshade is controlled to be extended to the target extension position.

[0011] A second aspect of the embodiment of the present application provides a control system for a sunshade, which is applied to any of the control methods for sunshades described in the first aspect, and the system includes a vehicle-mounted terminal and a vehicle body controller; The vehicle-mounted terminal comprises: An eye position determination module, used to determine the user's eye position based on the monitored light intensity; A first stretching distance determination module, used to determine a first stretching distance of the sunshade and a vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle; A second stretching distance determination module, used to determine a second stretching distance according to the vertical light distance and the critical incident angle of the light; a target stretching distance determining module, configured to determine a target stretching distance according to the first stretching distance and the second stretching distance; The body controller is used to control the sunshade to be stretched to the target stretching distance.

[0012] A third aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the control method of the sunshade as described in any one of the first aspects are implemented.

[0013] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any of the sunshade control methods described in the first aspect are implemented.

[0014] A control method for a sunshade provided in the present application is adopted, and the method includes: determining the user's eye position based on the monitored light intensity; determining a first stretching distance and a vertical light distance of the sunshade based on the eye position and the inclination angle of the vehicle's front windshield; determining a second stretching distance based on the vertical light distance and the critical incident angle of the light; determining a target stretching distance based on the first stretching distance and the second stretching distance; and controlling the sunshade to stretch to the target stretching distance.

[0015] By detecting the intensity of the light outside the vehicle, it is determined whether to stretch the sunshade to avoid direct light into the user's eyes, affecting the user's driving experience. Then, by determining the user's eye position and the inclination angle of the front windshield of the vehicle, the first stretching position to which the sunshade should be stretched first and the vertical light distance of the light at this position perpendicular to the glass and directly into the user's eyes are determined, and then the vertical light distance is determined and the critical incident angle of the light, and the second stretching distance to which the sunshade should be stretched is determined. Based on the first stretching distance and the second stretching distance, the target stretching distance to which the sunshade should be stretched can be obtained. Among them, stretching the sunshade to the second stretching distance takes into account that the user's field of vision will affect whether some light will enter the user's eyes. When the user is driving the vehicle, the line of sight is level with the front. In order to avoid light directly entering the user's eyes within the field of vision, the critical incident angle is obtained. The light within this angle is the incident light that may enter the eyes. Then the second stretching distance is obtained by the critical incident angle, so that the sunshade can block the light from directly entering the user's eyes after being stretched to the second stretching distance, avoiding the driving risk of the user due to light entering the eyes. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a step diagram of a control method for a sunshade provided in an embodiment of the present application; Figure 2 This is a schematic diagram of a sunshade curtain motion trajectory provided by an embodiment of the present application; Figure 3 This is a schematic diagram of calculating the movement stroke of a sunshade provided by an embodiment of the present application; Figure 4 This is a schematic diagram of the position of a vehicle front-view camera provided in one embodiment of the present application; Figure 5 This is a sunshade control strategy flow chart provided by an embodiment of the present application; Figure 6 is a schematic diagram of a control system for a sunshade provided in an embodiment of the present application; Figure 7 This is a schematic diagram of a control network topology of a sunshade provided in one embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0018] refer to Figure 1 , Figure 1 This is a step diagram of a control method for a sunshade provided in an embodiment of the present application, the method comprising the following steps: S11: Determine the eye position of the user according to the monitored light intensity.

[0019] In this embodiment, once the user occupies the position in the cab and starts the vehicle, the vehicle monitors the light intensity outside the vehicle. If the light intensity outside the vehicle is greater than the light intensity threshold, it can be determined that the light intensity at this time will affect the line of sight of the user driving the vehicle. Therefore, this implementation controls the stretching of the vehicle sunshade to resist the stimulation of the light at this light intensity to the human eye. Specifically, the vehicle obtains the user's eye position by capturing a facial image, and then determines the appropriate stretching position of the sunshade through the eye position. In addition, if the light intensity outside the vehicle is less than the light intensity threshold, it detects whether the user inputs a sunshade stretching instruction. If the user inputs a sunshade stretching instruction, the vehicle still detects the user's eye position to determine the stretching position of the sunshade, or controls the sunshade to stretch directly to the stretching position input by the user according to the stretching position manually input by the user.

[0020] S12: Determine a first stretching distance of the sunshade and a vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle.

[0021] In this embodiment, the sunshade of the vehicle is arranged at a position near the front windshield on the top of the vehicle. When the sunshade is stretched, it is stretched downward from the top of the front windshield along the front windshield. Figure 2 The embodiment shown also provides a schematic diagram of the movement trajectory of the sunshade. Therefore, in order to prevent light from passing through the top of the windshield and shooting at the user, and also to pave the way for the second stretching distance to be obtained later, the first stretching distance to which the sunshade is to be stretched is obtained in this embodiment. Specifically, the first stretching distance and the vertical light distance can be determined by the user's eye position and the inclination angle of the vehicle's windshield, wherein the first stretching distance refers to the distance from the light incident point left by the light that enters the user's eyes and is perpendicular to the windshield at the windshield to the top of the windshield, and the vertical light distance refers to the distance from the light incident point perpendicular to the user's eyes. In addition, an embodiment of the present application also provides a schematic diagram of the calculation of the movement stroke of the sunshade, as shown in FIG. Figure 3 As shown, in this Figure 3 In the figure, point A is the incident point of the light that enters the user's eyes and is perpendicular to the front windshield, and is also the critical point where the light just enters the user's eyes perpendicularly. S1 is the first stretching distance.

[0022] S13: Determine a second stretching distance according to the vertical light distance and the critical incident angle of the light.

[0023] S14: Determine a target stretching distance according to the first stretching distance and the second stretching distance.

[0024] In this embodiment, the critical incident angle refers to the critical incident angle of the light that enters the user's eyes on the front windshield, and is also the angle of the eyes that can be directly illuminated by the light within the user's field of view, such as Figure 3 The β in is the critical incident angle, and the range of the light on the front windshield corresponding to the critical incident angle is the second stretching distance, such as Figure 3 The distance from point B to point A in the figure and the area between point B and the bottom of the front windshield are all areas where light cannot directly enter the user's eyes, that is, the light irradiated in this area does not affect the user's vehicle driving. Specifically, when the critical incident angle of the light is determined, the second stretching distance can be obtained by the vertical light distance and the second stretching distance algorithm. Among them, the second stretching distance algorithm is:

[0025] Wherein, L is the vertical light distance, S2 is the second stretching distance, and β is the critical incident angle. After obtaining the first stretching distance and the second stretching distance, the target stretching distance can be obtained according to the sum of the first stretching distance and the second stretching distance, and the target stretching distance is also the sunshade length that the sunshade curtain is to be stretched.

[0026] S15: Controlling the sunshade to stretch to the target stretching distance.

[0027] After obtaining the target stretching distance of the sunshade, the vehicle controls the sunshade to stretch from the top of the front windshield until it stretches to the target stretching distance. In addition, after determining the target stretching distance of the user, the present embodiment can also memorize and save the target stretching distance corresponding to the user, and when the user occupies the driving position of the vehicle next time, after determining that the light intensity outside the vehicle is greater than the light intensity threshold, directly retrieve the target stretching position corresponding to the user to perform sunshade blocking and stretching.

[0028] Through the target stretching position of the sunshade provided in the present application, the sunshade can accurately block the light that directly enters the user's eyes, preventing the user from having a driving experience affected by the glare of light; at the same time, since the control and stretching of the sunshade of the present application is completely completed by the vehicle's autonomous control, the inconvenience of manual control of the stretching by the user is avoided.

[0029] In combination with the above embodiments, in one implementation, the present invention also provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, determining the critical incident angle of light includes steps S21 to S24: S21: determining a light incident point according to the light intensity distribution and the spot coefficient on the front windshield of the vehicle, wherein the light incident point is a point on the front windshield where the light intensity is greater than the product of the spot coefficient and the maximum light intensity.

[0030] S22: Determine the light incident area on the front windshield according to the light incident point.

[0031] In this embodiment, the vehicle is also provided with a front-view camera, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the position of a vehicle front-view camera provided in this embodiment. The front-view camera can obtain the light intensity corresponding to each position on the front windshield of the vehicle, and find the position point with the maximum light intensity from the light intensities corresponding to these positions. This position point is also the center position of the light spot formed by the light irradiating the front windshield. Through the maximum light intensity and the preset light spot coefficient, it can be determined that the position point on the front windshield where the light intensity is greater than the product of the light spot coefficient and the maximum light intensity, this position point is also the light incident point where light is incident. The light incident points on the front windshield gather to form an area, which is the light incident area on the front windshield. The light incident area indicates that the light intensity corresponding to the light in this area is relatively large. If it is directly irradiated into the user's eyes, it will have a greater impact on the user.

[0032] S23: Determine the incident light in the light incident area that enters the user's eyes according to the light incident area and the eye position.

[0033] S24: Determine the incident angle corresponding to the incident light that critically enters the user's eyes in the light incident area as the critical incident angle.

[0034] Specifically, in order to determine the light in the light incident area that can affect the user's eyes, that is, to determine the light that can enter the user's eyes, this embodiment determines the incident light that can enter the user's eyes through the light incident point according to the user's eye position and the light incident point in the light incident area. Then determine the critical incident light that can just enter the user's eyes, such as Figure 3 As shown in , the light passing through point B is the critical incident light entering the user's eyes, and even if part of the light between point B and the bottom of the front windshield belongs to the incident area, these lights cannot affect the user's eyes. The area that can cause an impact is the area between point B and point A. The incident angle corresponding to the incident light is determined as the critical incident angle.

[0035] In combination with the above embodiments, in one implementation, the present invention also provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, determining the eye position of the user according to the monitored light intensity includes steps S31 to S33: S31: Determine, according to current environmental data, a light intensity threshold corresponding to the current environmental data.

[0036] S32: Compare the monitored light intensity with the light intensity threshold to obtain a corresponding comparison result.

[0037] S33: Determine the eye position of the user according to the comparison result.

[0038] Specifically, considering that users have different requirements for light in different environments, this embodiment sets different light intensity thresholds for different environmental data. For example, in winter, the light inside the car is dim, and the user hopes that more light will enter the car to make the car brighter, so the light intensity threshold corresponding to winter is set higher; conversely, the light intensity threshold corresponding to summer is set lower; for example, in the morning, noon and evening of a day, if the temperature outside the car is low, since light can provide a certain amount of heat, the light intensity threshold is set lower, otherwise it is set higher.

[0039] After determining the environment in which the vehicle is located through the vehicle's current environment data, the light intensity threshold corresponding to the environment is determined based on the environment. The current light intensity of the monitored vehicle is compared with the light intensity threshold corresponding to the current environment to obtain the corresponding comparison result. If the comparison result shows that the light intensity is greater than the light intensity threshold, it is considered that the light at this time affects the user's driving experience, and the sunshade needs to be stretched to block the light, thereby obtaining the user's eye position.

[0040] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, a first stretching distance and a vertical light distance of the sunshade are determined according to the eye position and the tilt angle of the front windshield of the vehicle, including steps S41 to S42: S41: Determine the visual height distance between the user's eyes and the roof according to the eye position.

[0041] S42: Determine a first stretching distance and the vertical light distance according to the visual height distance and the inclination angle of the vehicle front windshield.

[0042] Specifically, Figure 3 As shown, in order to obtain the first stretching distance S1, the distance from the user's eyes to the top of the vehicle can be determined by the user's eye position, which is also the visual height distance. The first stretching distance can be calculated by the visual height distance and the inclination angle of the vehicle's front windshield and the first stretching distance algorithm. The first stretching distance algorithm is: , where H is the visual height distance, α is the tilt angle of the front windshield, and S1 is the first stretching distance. In addition, when the visual height distance and the tilt angle of the front windshield of the vehicle are obtained, the vertical light distance can be determined by the vertical light distance algorithm, which is: , where L is the vertical light distance.

[0043] In combination with the above embodiments, in one implementation, the present invention also provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, the method further includes steps S51 to S53: S51: When the vehicle is in an ignition-off state, predict the parking time of the vehicle based on the vehicle's positioning data and historical driving data.

[0044] S52: Determine the weather conditions during the parking time according to the weather data of the location of the vehicle.

[0045] S53: According to the weather conditions, the sunshade is controlled in a target manner corresponding to the weather conditions.

[0046] Since cars in outdoor parking lots are often exposed to sunlight, especially the front windshield, and sunlight shines into the car through the front windshield, the seats are exposed to the sun for a long time, causing the vehicle interior to discolor and age. Therefore, in order to avoid the interior of the vehicle being affected by sunlight, this embodiment obtains the weather conditions outside the vehicle when the vehicle is in the off state to determine whether to extend the sunshade during the vehicle off period. Specifically, in this embodiment, it can be determined whether the vehicle is in the off state by determining whether the vehicle power signal is switched from OFF gear to ON gear, and the driving gear is switched from non-P gear to P gear, and the driver's seat occupancy signal is detected as unoccupied.

[0047] When it is determined that the vehicle is in the off state, the current positioning data and historical driving data of the vehicle are obtained to predict the parking time of the vehicle at the current position through the historical driving data. Then the weather data of the current position of the vehicle is obtained to determine the weather conditions during this parking time according to the parking time, such as whether the weather conditions during this period are rainy, sunny, cloudy, or hail. After determining the weather conditions during the parking time, the target control of the sunshade is selected and determined according to the weather conditions. For example, when the weather condition is sunny, the sunshade is selected to be stretched, and the stretching distance can be determined according to the light intensity outside the vehicle. When the light intensity is large, the sunshade is selected to be stretched to 80% of the fully stretched state. When the light intensity is small, the sunshade is selected to be stretched to 50% of the fully stretched state. When the weather condition is rainy or cloudy, the sunshade is selected not to be stretched. If the sunshade is installed on the outside of the vehicle, when the weather condition is hail, you can choose to control the sunshade to be fully extended to prevent the hail from directly hitting the front windshield and causing greater economic losses.

[0048] In combination with the above embodiments, in one implementation, the present invention also provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, the method further includes steps S61 to S64: S61: Determine the light intensity of the main driving area and the co-pilot area in the vehicle.

[0049] S62: Determine a light intensity difference value according to the light intensity of the main driving area and the light intensity of the co-pilot area in the vehicle.

[0050] S63: Determine the stretching degree corresponding to the light intensity difference value.

[0051] S64: Controlling the passenger's sunshade to stretch to a stretching position corresponding to the stretching degree.

[0052] Since bright light in the car easily attracts people's attention, in order to prevent the sunshade of the main driver from being stretched to the target stretching distance, but the sunshade of the co-pilot is not stretched, causing light to penetrate the co-pilot cabin and attract the attention of the main driver, thereby making the main driver unable to concentrate and prone to dangerous driving. This embodiment also proposes a control method for the co-pilot sunshade.

[0053] Specifically, the light intensity of the main driving area and the co-pilot area in the car is detected respectively, and the corresponding detection results are obtained. After obtaining the light intensity of the main driving area and the light intensity of the co-pilot area in the car, the light intensity difference between the two can be determined. Each light intensity difference value has a corresponding light intensity interval, and each light intensity interval has a corresponding degree of stretching of the co-pilot sunshade. For example, if the light intensity difference value is 325LUX, the light intensity interval corresponding to the light intensity difference value is 300-400LUX, and the degree of stretching corresponding to the light intensity interval is 20% of the fully stretched state of the sunshade. After determining the degree of stretching corresponding to the light intensity difference value, the co-pilot sunshade is controlled to stretch to the stretching position corresponding to the degree of stretching. In addition, the sunshade in the co-pilot area can also be manually adjusted by instructions input by the user, which will not be repeated here.

[0054] In combination with the above embodiments, in one implementation, the present invention also provides a method for controlling a sunshade. In the method for controlling a sunshade for a vehicle, the method further includes steps S71 to S74: S71: Obtain the user's identity information.

[0055] S72: Establishing a mapping relationship between the identity information and the determined target stretching position.

[0056] S73: before determining the eye position of the user, the method further includes: determining whether there is a target stretching position corresponding to the identity information in the mapping relationship according to the identified identity information of the current user; S74: When there is a target stretching position corresponding to the identity information, control the sunshade to be stretched to the target stretching position.

[0057] In order to avoid repeated calculation of the target stretching position to which the sunshade needs to be stretched when the same user is driving a vehicle, this embodiment also obtains the identity information corresponding to the user's face when determining the user's eye position through the in-vehicle camera. Figure 5As shown, it is a flow chart of a sunshade control strategy provided by the present embodiment. After obtaining the identity information of the user, the target stretching position calculated by the eye position of the user is matched with the identity information of the user to establish a corresponding mapping relationship. When the user sits in the driving seat next time and determines that the light intensity outside the vehicle exceeds the light intensity threshold and the sunshade needs to be stretched, after obtaining the identity information of the user through the camera inside the vehicle, first determine whether there is a target stretching position corresponding to the identity information of the user in the mapping relationship stored in the vehicle. If there is a target stretching position corresponding to the identity information, the vehicle can directly retrieve the target stretching position corresponding to the user and control the sunshade to stretch to the target stretching position. This method effectively saves the calculation amount of the vehicle and makes it more convenient and quick to control the stretching of the sunshade.

[0058] Based on the same inventive concept, an embodiment of the present application provides a control system for a sunshade, referring to Figure 6 , Figure 6 is a schematic diagram of a sunshade control system proposed in an embodiment of the present application, wherein the system includes a vehicle-mounted terminal and a vehicle body controller; The vehicle-mounted terminal comprises: An eye position determination module, used to determine the user's eye position based on the monitored light intensity; A first stretching distance determination module, used to determine a first stretching distance of the sunshade and a vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle; A second stretching distance determination module, used to determine a second stretching distance according to the vertical light distance and the critical incident angle of the light; a target stretching distance determining module, configured to determine a target stretching distance according to the first stretching distance and the second stretching distance; The body controller is used to control the sunshade to be stretched to the target stretching distance.

[0059] The vehicle-mounted terminal also includes: The light incident point determination module is used to determine the light incident point according to the light intensity distribution and the spot coefficient on the vehicle windshield, wherein the light incident point is the point on the windshield where the light intensity is greater than the product of the spot coefficient and the maximum light intensity.

[0060] The light incident area determination module is used to determine the light incident area on the front windshield according to the light incident point.

[0061] The incident light determination module is used to determine the incident light in the light incident area that enters the user's eyes according to the light incident area and the eye position.

[0062] The critical incident angle determination module is used to determine the incident angle corresponding to the incident light that critically enters the user's eyes in the light incident area as the critical incident angle.

[0063] Eye position determination module, including: The light threshold determination module is used to determine the light intensity threshold corresponding to the current environment data according to the current environment data.

[0064] The comparison result determination module is used to compare the monitored light intensity with the light intensity threshold to obtain a corresponding comparison result.

[0065] The eye position determination submodule is used to determine the user's eye position according to the comparison result.

[0066] The first stretching distance determination module includes: The visual height distance determination module is used to determine the visual height distance between the user's eyes and the roof according to the eye position.

[0067] The distance determination module is used to determine the first stretching distance and the vertical light distance according to the visual height distance and the inclination angle of the vehicle front windshield.

[0068] The control system of the sunshade also includes: The duration determination module is used to predict the parking duration of the vehicle based on the vehicle's positioning data and historical driving data when the vehicle is in an ignition-off state.

[0069] The weather determination module is used to determine the weather conditions within the parking time according to the weather data of the vehicle's location.

[0070] The vehicle body controller is also used to perform target control on the sunshade corresponding to the weather conditions according to the weather conditions.

[0071] The control system of the sunshade also includes: The first determination module of the co-pilot sunshade is used to determine the light intensity of the main driving area and the co-pilot area in the vehicle.

[0072] A second determination module for the passenger sunshade is used to determine a light intensity difference value according to the light intensity of the main driving area and the light intensity of the passenger driving area in the vehicle; A third determination module of the co-pilot sunshade, used to determine the stretching degree corresponding to the light intensity difference value; The body controller is also used to control the co-pilot's sunshade to be stretched to a stretching position corresponding to the stretching degree.

[0073] The control system of the sunshade also includes: The in-car camera is used to obtain the user's identity information.

[0074] The mapping relationship building module of the vehicle-mounted terminal is used to establish a mapping relationship between the identity information and the determined target stretching position.

[0075] The mapping relationship determination module of the vehicle-mounted terminal is used to determine whether there is a target stretching position corresponding to the identity information in the mapping relationship according to the identified identity information of the current user.

[0076] The vehicle body controller is further used to control the sunshade to be stretched to the target stretching position when there is a target stretching position corresponding to the identity information.

[0077] In addition, a control network topology diagram of a sunshade is also provided in this embodiment. Figure 7 As shown in the figure, the control system of the sunshade also includes a sunshade controller, a rain light sensor, an in-car camera, a sunshade, a seat sensor and an outside front camera to form a sunshade control system. The body controller is connected to the sunshade controller through a BCAN line. After receiving the target stretching position, the body controller transmits the control instruction to the sunshade control to control the sunshade controller to stretch the sunshade. The body controller is also connected to the temperature sensor and the rain light sensor through a LIN line. The temperature sensor is used to detect the temperature, and the rain light sensor is used to detect the light intensity. The body controller is connected to the vehicle terminal through an InfoCAN line. The vehicle terminal is used to calculate the target stretching distance and transmit the target stretching distance to the body controller. The vehicle terminal is also connected to the in-car camera through a hard line. The in-car camera is used to obtain the user's eye position and identity information. The body controller is connected to the front camera through a hard line. The front camera is used to determine the light intensity distribution on the front windshield.

[0078] Based on the same inventive concept, another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the control method of the sunshade described in any of the above embodiments are implemented.

[0079] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the sunshade control method as described in any of the above embodiments are implemented.

[0080] The present application determines the first stretching distance of the sunshade by the user's eye position and the tilt angle of the front windshield; and determines the second stretching distance of the sunshade by the critical incident angle. By stretching the sunshade to the second stretching distance, the light outside the vehicle cannot directly enter the user's eyes, thereby preventing the user from being affected by light stimulation while driving. At the same time, the vehicle autonomously calculates the target stretching position and stretches the sunshade to the target stretching position, thereby avoiding the inconvenience caused by manual control by the user.

[0081] Those skilled in the art will appreciate that embodiments of the present invention may provide methods, devices, electronic devices, storage media, or computer program products. Therefore, embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0082] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0083] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0084] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0085] In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the previously and subsequently associated objects are in an "or" relationship.

[0086] The above is a detailed introduction to the control method, system, storage medium and device of the sunshade provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for controlling a sunshade, characterized in that: The method comprises: Determine the user's eye position based on the monitored light intensity; Determining a first stretching distance of the sunshade and a vertical light distance according to the eye position and the tilt angle of the front windshield of the vehicle; Determining a second stretching distance according to the vertical light distance and the critical incident angle of the light; Determining a target stretching distance according to the first stretching distance and the second stretching distance; The sunshade is controlled to be stretched to the target stretching distance.

2. The control method of the sunshade according to claim 1, characterized in that: Determine the critical angle of incidence of light, including: Determining a light incident point according to the light intensity distribution and the spot factor on the front windshield of the vehicle, wherein the light incident point is a point on the front windshield where the light intensity is greater than the product of the spot factor and the maximum light intensity; Determining the light incident area on the front windshield according to the light incident point; Determining incident light in the light incident area that enters the user's eyes according to the light incident area and the eye position; The incident angle corresponding to the incident light that critically enters the user's eyes in the light incident area is determined as the critical incident angle.

3. The control method of the sunshade according to claim 1, characterized in that: Determine the user's eye position based on the monitored light intensity, including: Determine, according to the current environment data, a light intensity threshold corresponding to the current environment data; Comparing the monitored light intensity with the light intensity threshold to obtain a corresponding comparison result; The eye position of the user is determined according to the comparison result.

4. The control method of the sunshade according to claim 1, characterized in that: Determining a first stretching distance of the sunshade and a vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle includes: Determining the visual height distance between the user's eyes and the roof of the vehicle according to the eye position; The first stretching distance and the vertical light distance are determined according to the visual height distance and the inclination angle of the front windshield of the vehicle.

5. The control method of the sunshade according to claim 1, characterized in that: The method further comprises: When the vehicle is turned off, the parking time of the vehicle is predicted based on the vehicle's positioning data and historical driving data; Determine the weather conditions during the parking time according to the weather data of the location of the vehicle; According to the weather conditions, the sunshade is controlled in a target manner corresponding to the weather conditions.

6. The control method of the sunshade according to claim 1, characterized in that: The method further comprises: Determine the lighting intensity of the main driving area and the co-pilot area in the car; Determine the light intensity difference value according to the light intensity of the main driving area and the light intensity of the co-pilot area in the vehicle; Determining a stretching degree corresponding to the light intensity difference value; The sunshade of the co-pilot is controlled to be stretched to a stretching position corresponding to the stretching degree.

7. The control method of the sunshade according to claim 1, characterized in that: The method further comprises: Obtain the user's identity information; Establishing a mapping relationship between the identity information and the determined target stretching position; Before determining the eye position of the user, the method further includes: Determining, based on the identified identity information of the current user, whether there is a target stretching position corresponding to the identity information in the mapping relationship; In the case where there is a target extension position corresponding to the identity information, the sunshade is controlled to be extended to the target extension position.

8. A sunshade control system, applied to the sunshade control method according to any one of claims 1 to 7, characterized in that: The system includes a vehicle-mounted terminal and a vehicle body controller; The vehicle-mounted terminal comprises: An eye position determination module, used to determine the user's eye position based on the monitored light intensity; A first stretching distance determination module, used to determine a first stretching distance of the sunshade and a vertical light distance according to the eye position and the inclination angle of the front windshield of the vehicle; A second stretching distance determination module, used to determine a second stretching distance according to the vertical light distance and the critical incident angle of the light; a target stretching distance determining module, configured to determine a target stretching distance according to the first stretching distance and the second stretching distance; The body controller is used to control the sunshade to be stretched to the target stretching distance.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the control method of the sunshade according to any one of claims 1 to 7 are implemented.

10. 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, the steps of the control method of the sunshade according to any one of claims 1 to 7 are implemented.