Vehicle control method, vehicle and storage medium

By projecting gradient light and shadow on the front windshield of the vehicle, the glare problem caused by sudden changes in light intensity when the vehicle enters and exits the tunnel is solved, driving safety and comfort are improved, and automated light adaptation is achieved.

CN119078465APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411366921.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the prior art, glare and visual discomfort caused by sudden changes in light intensity when vehicles enter and exit the tunnel affect the driver's comfort and safety. Existing solutions such as window dimming and interior lighting adjustment have inconvenience and safety risks. .

Method used

By casting gradient light and shadow on the front windshield of the vehicle, simulate changes in light intensity, helping the driver gradually adapt to ambient light, thereby reducing the impact of glare.

Benefits of technology

It effectively reduces the impact of changes in light intensity on the driver's glare, improves driving safety and comfort, reduces interference to the driver's attention, and does not require manual adjustment of the light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078465A_ABST
    Figure CN119078465A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the steps that a first road section where the vehicle is located currently and a second road section in front of the first road section are determined; wherein the light intensity in the environment where the first road section and the second road section are located is different; determining the current position of the vehicle on the first road section; judging whether the current position meets a preset light and shadow projection condition or not; if the current position meets the preset light and shadow projection condition, controlling a target display on the vehicle to project a gradual change light and shadow on a front windshield of the vehicle; wherein the gradual change light shadow is used for simulating the light intensity change from the first road section to the second road section. According to the technical scheme, through the mode of projecting the gradual change light shadow on the front windshield of the vehicle, the glare influence on a driver caused by the light intensity change can be remarkably reduced, the driving safety and convenience are improved, and then the driving comfort is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, a vehicle, and a storage medium in the field of vehicles. Background Art

[0002] In the prior art, when a vehicle enters a tunnel, due to the significant difference in light inside and outside the tunnel, the driver's visual system needs a certain amount of time to adapt to the dark environment. When the vehicle exits the tunnel, due to the sudden increase in external light, the driver's visual system also needs a certain amount of time to adapt to the bright environment, resulting in short-term glare and visual discomfort. This visual discomfort not only affects the driver's comfort when driving the vehicle, but may also bring safety hazards. Summary of the invention

[0003] The present application provides a vehicle control method, a vehicle and a storage medium, which reduce the impact of sudden changes in external light on the driver by projecting gradient light and shadow on the front windshield of the vehicle, thereby reducing safety hazards.

[0004] In a first aspect, a vehicle control method is provided, the method comprising: determining a first road section where the vehicle is currently located and a second road section ahead of the first road section; wherein the light intensity in the environment where the first road section and the second road section are located is different; determining the current position of the vehicle on the first road section; judging whether the current position satisfies a preset light and shadow projection condition; if the current position satisfies the preset light and shadow projection condition, controlling a target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle; wherein the gradient light and shadow is used to simulate the change in light intensity from the first road section to the second road section.

[0005] In the above technical solution, since the light intensity in the environment of the first section where the vehicle is currently located is different from that of the second section in front of it, it means that there is a difference in light intensity in the environment of the first section and the second section, which further means that when the driver drives the vehicle from the first section to the second section, there may be a sudden change in external light. Therefore, when it is determined that the position of the vehicle at the first section meets the preset light and shadow projection conditions, the target display is controlled to project a gradient light and shadow on the front windshield of the vehicle. Since the gradient light and shadow can simulate the change in light intensity from the first section to the second section, the projected gradient light and shadow can alleviate the visual discomfort caused by the sudden change in light intensity during the vehicle's travel from the first section to the second section, and help the driver gradually adapt to the change in light intensity, thereby reducing the impact of glare and effectively improving driving safety.

[0006] In combination with the first aspect, in some possible implementations, determining whether the current position meets the preset light and shadow projection conditions includes: determining the distance between the current position and the starting point of the second road section; if the distance is less than or equal to a first preset distance, determining that the current position meets the preset light and shadow projection conditions; or, calculating the time required for the vehicle to travel from the current position to the starting point of the second road section; if the time is less than or equal to the first preset time, determining that the current position meets the preset light and shadow projection conditions.

[0007] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, before controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method also includes: if the distance is less than or equal to a second preset distance, pre-generating the gradient light and shadow; wherein the first preset distance is less than the second preset distance; or, if the time is less than or equal to a second preset time, pre-generating the gradient light and shadow; wherein the first preset time is less than the second preset time.

[0008] The above technical solution calculates the distance between the current position of the vehicle and the starting point of the second section, or calculates the time required for the vehicle to travel from the current position to the starting point of the second section, and pre-generates gradient light and shadow when it is determined that the distance is equal to the second preset distance or the time is equal to the second preset time, so as to achieve the purpose of preparing gradient light and shadow in advance, and ensure that the gradient light and shadow prepared in advance can be accurately projected when the vehicle approaches the starting point of the second section, thereby improving the projection speed of the gradient light and shadow, making it easier for the driver to quickly see the gradient light and shadow projected on the front windshield, so that the driver's vision can gradually adapt to the intensity of external light and avoid sudden light shock.

[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after controlling the target display on the vehicle to project gradient light and shadow on the front windshield of the vehicle, the method also includes: when the vehicle completely enters the second road section from the first road section, stopping projecting the gradient light and shadow on the front windshield of the vehicle.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the light intensity of the first road section is a first light intensity, the light intensity of the second road section is a second light intensity, and the controlling of the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle includes: when the first light intensity is greater than the second light intensity, controlling the target display on the vehicle to project the gradient light and shadow changing from light to dark on the front windshield of the vehicle; when the first light intensity is less than the second light intensity, controlling the target display on the vehicle to project the gradient light and shadow changing from dark to light on the front windshield of the vehicle.

[0011] In the above technical solution, when the first light intensity is greater than the second light intensity, it means that the vehicle is about to travel from an environment with brighter light intensity to an environment with darker light intensity, so a gradient light and shadow changing from bright to dark is projected on the front windshield, which can help the driver gradually adapt to the change of the external light intensity from bright to dark. When the first light intensity is less than the second light intensity, it means that the vehicle is about to travel from an environment with darker light intensity to an environment with brighter light intensity, so a gradient light and shadow changing from dark to bright is projected on the front windshield, which can help the driver gradually adapt to the change of the external light intensity from dark to bright. This method can help the driver gradually adapt to the change of light intensity, effectively reduce the impact of glare, and improve driving safety.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the light intensity of the first road section is a first light intensity, the light intensity of the second road section is a second light intensity, and the controlling of the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle includes: determining an initial brightness of the gradient light and shadow according to the first light intensity, and determining a final brightness of the gradient light and shadow according to the second light intensity; and controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle according to the initial brightness and the final brightness of the gradient light and shadow.

[0013] The above technical scheme determines the initial brightness and final brightness of the gradient light and shadow according to the first light intensity and the second light intensity. Through the above method, the gradient light and shadow can have different initial brightness and final brightness under different light intensities, ensuring that the effect of the gradient light and shadow can flexibly adapt to changes in different light intensities.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method also includes: during the driving of the vehicle, determining the current driving speed of the vehicle, and determining the current distance between the current position of the vehicle and the starting point of the second road section; adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance.

[0015] The above technical solution adjusts the gradient speed of the gradient light and shadow according to the current driving speed of the vehicle and the current distance between the current position of the vehicle and the starting point of the second road section. Through the above method, the gradient light and shadow can have different gradient speeds under different road sections and vehicle speeds, ensuring the flexible use of the gradient light and shadow.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the pre-generation of the gradient light and shadow includes: determining the projection duration of the gradient light and shadow; determining the initial brightness and final brightness of the gradient light and shadow according to the light intensity in the environment in which the first road section is located and the light intensity in the environment in which the second road section is located; determining the brightness of the gradient light and shadow at different times within the projection duration according to the initial brightness and the final brightness; determining the gradient speed from the initial brightness to the final brightness within the projection duration; and pre-generating the gradient light and shadow according to the brightness of the gradient light and shadow at different times within the projection duration and the gradient speed.

[0017] In a second aspect, a vehicle control device is provided, which includes: a first determination module, used to determine a first section of road where the vehicle is currently located and a second section of road ahead of the first section of road; wherein the light intensity in the environment of the first section of road and the second section of road is different; a second determination module, used to determine the current position of the vehicle on the first section of road; a judgment module, used to judge whether the current position meets the preset light and shadow projection conditions; a control module, used to control the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle if the current position meets the preset light and shadow projection conditions; wherein the gradient light and shadow is used to simulate the change in light intensity from the first section of road to the second section of road.

[0018] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the judgment module is specifically used to: determine the distance between the current position and the starting point of the second road section; if the distance is less than or equal to the first preset distance, determine that the current position meets the preset light and shadow projection condition; or, calculate the time required for the vehicle to travel from the current position to the starting point of the second road section; if the time is less than or equal to the first preset time, determine that the current position meets the preset light and shadow projection condition.

[0019] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes: a generation module specifically used to: before controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, if the distance is less than or equal to a second preset distance, then pre-generate the gradient light and shadow; wherein the first preset distance is less than the second preset distance; or, if the time is less than or equal to the second preset time, then pre-generate the gradient light and shadow; wherein the first preset time is less than the second preset time.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes: a stop module is specifically used to: after the target display on the vehicle is controlled to project a gradient light and shadow on the front windshield of the vehicle, when the vehicle completely enters the second road section from the first road section, stop projecting the gradient light and shadow on the front windshield of the vehicle.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the light intensity of the first road section is the first light intensity, and the light intensity of the second road section is the second light intensity, and the control module is specifically used to: when the first light intensity is greater than the second light intensity, control the target display on the vehicle to project the gradient light and shadow changing from light to dark on the front windshield of the vehicle; when the first light intensity is less than the second light intensity, control the target display on the vehicle to project the gradient light and shadow changing from dark to light on the front windshield of the vehicle.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes: a third determination module is specifically used to: the light intensity of the first road section is the first light intensity, the light intensity of the second road section is the second light intensity, the initial brightness of the gradient light and shadow is determined according to the first light intensity, and the final brightness of the gradient light and shadow is determined according to the second light intensity; according to the initial brightness and the final brightness of the gradient light and shadow, control the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes: an adjustment module specifically used to: determine the current driving speed of the vehicle and the current distance between the current position of the vehicle and the starting point of the second road section during the driving of the vehicle after the target display on the vehicle is controlled to project a gradient light and shadow on the front windshield of the vehicle; and adjust the gradient speed of the gradient light and shadow according to the current driving speed and the current distance.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the device also includes: a fourth determination module is specifically used to: determine the projection duration of the gradient light and shadow; determine the initial brightness and final brightness of the gradient light and shadow according to the light intensity in the environment in which the first road section is located and the light intensity in the environment in which the second road section is located; determine the brightness of the gradient light and shadow at different times within the projection duration according to the initial brightness and the final brightness; determine the gradient speed from the initial brightness to the final brightness within the projection duration; pre-generate the gradient light and shadow according to the brightness of the gradient light and shadow at different times within the projection duration and the gradient speed.

[0025] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.

[0026] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0027] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;

[0029] Figure 2 is a schematic diagram of a vehicle about to enter a tunnel provided by an embodiment of the present application;

[0030] Figure 3is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;

[0031] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0033] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0034] In the related art, when a vehicle enters a tunnel, due to the significant difference in light inside and outside the tunnel, the driver's visual system needs a certain amount of time to adapt to the dark environment. When the vehicle exits the tunnel, due to the sudden increase in external light, the driver's visual system also needs a certain amount of time to adapt to the bright environment, resulting in short-term glare and visual discomfort. This visual discomfort not only affects the driver's comfort when driving the vehicle, but may also bring safety hazards.

[0035] At present, in order to alleviate the driver's short-term glare and visual discomfort, the solutions on the market mainly focus on reducing the impact of sudden changes in light intensity on the driver through window dimming, interior lighting adjustment, etc. However, since window dimming responds to external strong light by adjusting the transparency of dimming glass, when the dimming glass is in an opaque state, it may affect the driver's driving safety. In addition, the interior lighting adjustment method requires users to adjust it manually, which makes it inconvenient for users to operate directly during driving. Based on this, how to reduce the glare caused by changes in light intensity on the driver while improving driving safety and convenience has become a technical problem that needs to be solved urgently.

[0036] In order to at least solve the above-mentioned technical problems, an embodiment of the present application provides a vehicle control method, which can significantly reduce the glare effect of changes in light intensity on the driver by projecting gradient light and shadow on the front windshield of the vehicle, thereby improving driving safety and convenience, and further improving driving comfort.

[0037] Figure 1 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.

[0038] For example, Figure 1 As shown, the method 100 includes:

[0039] 101 , determining a first road section where the vehicle is currently located and a second road section ahead of the first road section.

[0040] 102, determine the current position of the vehicle on the first road section.

[0041] 103, determining whether the current position satisfies a preset light and shadow projection condition.

[0042] 104. If the current position meets the preset light and shadow projection conditions, control the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle; wherein the gradient light and shadow is used to simulate the change of light intensity from the first section to the second section.

[0043] In the embodiment of the present application, since the light intensity in the environment of the first section where the vehicle is currently located is different from that of the second section in front of it, it indicates that there is a difference in light intensity in the environment of the first section and the second section, which further indicates that there may be a sudden change in external light when the driver drives the vehicle from the first section to the second section. Therefore, when it is determined that the position of the vehicle at the first section meets the preset light and shadow projection conditions, the target display is controlled to project a gradient light and shadow on the front windshield of the vehicle. Since the gradient light and shadow can simulate the change in light intensity from the first section to the second section, the projected gradient light and shadow can alleviate the visual discomfort caused by the sudden change in light intensity during the vehicle's travel from the first section to the second section, and help the driver gradually adapt to the change in light intensity, thereby reducing the impact of glare and effectively improving driving safety.

[0044] Below Figure 1 The implementation method of each step in the embodiment shown is specifically described:

[0045] For 101, it can be understood that the above-mentioned first road section refers to the road section where the vehicle is currently traveling; the above-mentioned second road section refers to the road section that the vehicle is about to enter and is located in front of the first road section; the above-mentioned first road section and the second road section are both obtained by the positioning system (GPS, Global Positioning System) applied on the vehicle.

[0046] The positioning accuracy of the GPS positioning system is usually between a few meters and more than ten meters. When the signal of the positioning system is blocked or interfered, other auxiliary positioning technologies can be used for positioning. The above-mentioned other auxiliary positioning technologies include but are not limited to inertial navigation system (INS) and map matching technology (MM).

[0047] The light intensity in the environment of the first section and the second section is different. For example, the light intensity in the environment of the first section is the first light intensity, the light intensity in the environment of the second section is the second light intensity, and the difference between the first light intensity and the second light intensity is greater than a preset difference threshold. The preset difference threshold can be pre-calibrated to measure whether the difference between the first light intensity and the second light intensity is large. In other words, if the difference between the first light intensity and the second light intensity is greater than the preset difference threshold, it means that the light intensity difference in the environment of the first section and the second section is large.

[0048] Since the change in light intensity will only cause obvious glare to the driver when the light intensity in the environment of the first road section and the second road section is greatly different, the difference between the first light intensity and the second light intensity is set to be greater than the preset difference threshold in the embodiment of the present application, which is conducive to triggering the projection process of gradient light and shadow when it causes obvious glare to the driver, thereby improving the effectiveness and necessity of the projection process of gradient light and shadow.

[0049] Specifically, the light intensity in the environment of the first road section should be significantly different from the light intensity in the environment of the second road section. Figure 2 This is a schematic diagram of a vehicle about to enter a tunnel provided by an embodiment of the present application. Assuming that the current position of the vehicle 201 is position A, position A is located on the first section, indicating that the first section is a section outside the tunnel, and the second section is a section inside the tunnel. At this time, the light intensity in the environment of the first section is much greater than the light intensity in the environment of the second section.

[0050] Specifically, when the vehicle is driving and about to enter a tunnel ahead, at this time, the first section is the section outside the tunnel, and the second section is the section inside the tunnel. When the vehicle is driving in a tunnel and about to leave the tunnel, at this time, the first section is the section inside the tunnel, and the second section is the section outside the tunnel.

[0051] As for 102, it can be understood that the current position of the vehicle on the first road section is obtained by the GPS positioning system. When the signal of the GPS positioning system is interfered, the other auxiliary positioning technologies can also be used for positioning.

[0052] As for 103, it can be understood that whether the preset light and shadow projection condition is met is determined by the current position of the vehicle, and the preset light and shadow projection condition is used to trigger the light and shadow projection when the current position of the vehicle meets the light and shadow projection condition. The light and shadow projection condition is used to measure whether the vehicle is about to enter the second section from the first section.

[0053] If the current position of the vehicle does not meet the preset light and shadow projection conditions, the light and shadow projection will not be triggered at this time, and it will continue to be determined whether the current position of the vehicle meets the preset light and shadow projection conditions.

[0054] In some embodiments, the above-mentioned determination of whether the current position meets the preset light and shadow projection conditions includes: determining the distance between the current position and the starting point of the second section; if the distance is less than or equal to the first preset distance, determining that the current position meets the preset light and shadow projection conditions.

[0055] Specifically, when the vehicle is traveling on the first road section, the starting point of the second road section is identified by the GPS positioning system, and the distance between the current position of the vehicle and the starting point of the second road section is calculated. When the distance is equal to a preset first preset distance, it is determined that the current position of the vehicle meets the preset light and shadow projection condition. The starting point of the second road section can also be understood as the end point of the first road section.

[0056] Among them, the first preset distance can be calibrated in advance based on experience, aiming to measure whether the vehicle is about to enter the second section from the first section. Optionally, the first preset distance can be calibrated to 125m. If the distance between the current position of the vehicle and the starting point of the second section is equal to the first preset distance, that is, the distance between the current position of the vehicle and the starting point of the second section is equal to 125m, it means that the current position of the vehicle meets the preset light and shadow projection conditions. It should be noted that this example only takes the first preset distance calibrated as 125m as an example, and is not limited to this in the specific implementation.

[0057] In some embodiments, the above-mentioned determination of whether the current position meets the preset light and shadow projection conditions includes: calculating the time required for the vehicle to travel from the current position to the starting point of the second section; if the time is less than or equal to the first preset time, determining that the current position meets the preset light and shadow projection conditions.

[0058] Specifically, when the vehicle is traveling on the first road section, the starting point of the second road section is identified through the GPS positioning system, and then the distance between the current position of the vehicle and the starting point of the second road section is calculated. According to the obtained current driving speed of the vehicle, the time required for the vehicle to travel from the current position of the first road section to the starting point of the second road section is calculated in real time. When the above time is equal to the pre-set first preset time, it is determined that the current position of the vehicle meets the above preset light and shadow projection conditions.

[0059] Among them, the first preset time can be set according to experience. For example, the first preset time can be 5 seconds. When the time required for the vehicle to travel from the current position to the starting point of the second section is equal to the first preset time, that is, the time required for the vehicle to travel from the current position to the starting point of the second section is equal to 5 seconds, it means that the current position of the vehicle meets the preset light and shadow projection conditions.

[0060] The above technical solution can accurately calculate the time required for the vehicle to travel from the current position to the starting point or the end point of the tunnel by acquiring the tunnel length and the vehicle speed in real time. When the above time is equal to the first preset time, it means that the current position of the vehicle meets the preset light and shadow projection conditions. Regardless of whether the vehicle accelerates or decelerates, the gradient light and shadow can be accurately projected. This dynamic calculation method can effectively ensure that the gradient light and shadow are projected at the optimal time, so that the driver can be visually prepared when entering and exiting the tunnel.

[0061] As for 104, it can be understood that the target display refers to a display on the vehicle for projecting gradient light and shadow, which can be a head-up display (HUD) or other displays capable of projecting gradient light and shadow. The choice of display is not limited in the embodiment of the present application. The head-up display refers to a transparent display device that can project important information (such as vehicle speed, navigation information, etc.) onto the driver's line of sight, so that the driver does not need to look down at the dashboard or the central control screen, thereby maintaining focus on the road conditions ahead and improving driving safety and convenience.

[0062] When the current position of the vehicle meets the preset light and shadow projection conditions, the HUD is controlled to project a gradient light and shadow on the front windshield of the vehicle. The gradient light and shadow is used to simulate the change in light intensity from the first section to the second section. Specifically, when the first section is the section outside the tunnel and the second section is the section inside the tunnel, the gradient light and shadow is a gradient light and shadow that changes from light to dark to simulate the change in light intensity from the section outside the tunnel to the section inside the tunnel. When the first section is the section inside the tunnel and the second section is the section outside the tunnel, the gradient light and shadow is a gradient light and shadow that changes from dark to light to simulate the change in light intensity from the section inside the tunnel to the section outside the tunnel.

[0063] In some embodiments, if the current position satisfies the preset light and shadow projection conditions, then controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle may include: if the current position satisfies the preset light and shadow projection conditions, determining the gradient speed of the gradient light and shadow set by the user, and controlling the target display to project a gradient light and shadow that changes according to the gradient speed on the front windshield of the vehicle. In this embodiment, the user can set the gradient speed of the gradient light and shadow by himself, so that the driver can adjust the light and shadow transition effect according to personal preference and improve driving comfort. In addition, machine learning algorithms can also be used to record the driver's feedback on different light and shadow transition effects, gradually optimize and adjust the light and shadow transition parameters (for example, the gradient speed of the gradient light and shadow and the initial brightness and final brightness of the gradient light and shadow), so as to achieve intelligent light and shadow management that better meets individual needs.

[0064] In some embodiments, before the target display on the above-mentioned control vehicle projects a gradient light and shadow on the front windshield of the vehicle, the method also includes: if the above-mentioned distance is less than or equal to a second preset distance, then pre-generating a gradient light and shadow; wherein the first preset distance is less than the second preset distance.

[0065] Specifically, the distance between the current position of the vehicle and the starting point of the second road section is calculated. When the distance is equal to a preset second preset distance, a gradient light and shadow to be projected on the front windshield is pre-generated according to the light intensity in the environment of the first road section.

[0066] Among them, the second preset distance can be pre-calibrated to measure whether it is necessary to pre-generate gradient light and shadow at present. Optionally, the second preset distance can be calibrated as 250m. If the distance between the current position of the vehicle and the starting point of the second section is equal to the second preset distance, that is, the distance between the current position of the vehicle and the starting point of the second section is equal to 250m, it means that it is necessary to pre-generate gradient light and shadow at present. It should be noted that this example only takes the second preset distance calibration as 250m as an example, and is not limited to this in the specific implementation.

[0067] In some embodiments, before the target display on the above-mentioned control vehicle projects gradient light and shadow on the front windshield of the vehicle, the method also includes: if the above-mentioned time is less than or equal to a second preset time, then pre-generating gradient light and shadow; wherein the first preset time is less than the second preset time.

[0068] Specifically, by calculating in real time the time required for the vehicle to travel from its current position to the starting point of the second section, when the above time is equal to a pre-set second preset time, a gradient light and shadow to be projected on the front windshield is pre-generated according to the light intensity in the environment of the first section.

[0069] Among them, the second preset time can be set according to experience. For example, the second preset time can be 10 seconds. When the time required for the vehicle to travel from the current position to the starting point of the second section is equal to the second preset time, that is, the time required for the vehicle to travel from the current position to the starting point of the second section is equal to 10 seconds, it means that when the vehicle travels to the current position, gradient light and shadow can be generated in advance according to the light intensity in the environment of the first section.

[0070] Exemplarily, the first road section is the road section outside the tunnel, and the second road section is the road section inside the tunnel. In this case, the vehicle is about to enter the tunnel. Assuming that the first preset time is 5 seconds and the second preset time is 10 seconds, at this time, the first preset time is less than the second preset time. If the time required for the above-mentioned vehicle to travel from the current position outside the tunnel to the starting point of the tunnel is equal to 10 seconds, then a gradient light and shadow changing from bright to dark is pre-generated according to the light intensity in the environment of the road section outside the tunnel. If the time required for the above-mentioned vehicle to travel from the current position to the starting point of the tunnel is equal to 5 seconds, it is determined that the current position of the vehicle meets the preset light and shadow projection conditions, thereby controlling the target display to project the pre-generated gradient light and shadow changing from bright to dark on the front windshield.

[0071] Exemplarily, the first road section is a road section inside a tunnel, and the second road section is a road section outside a tunnel, in which case the vehicle is about to exit the tunnel. Assuming that the first preset time is 5 seconds and the second preset time is 10 seconds, at this time, the first preset time is less than the second preset time, if the time required for the above vehicle to travel from the current position in the tunnel to the end of the tunnel is equal to 10 seconds, then a gradient light and shadow changing from dark to bright is pre-generated according to the light intensity in the environment of the road section in the tunnel, and if the time required for the above vehicle to travel from the current position to the end of the tunnel is equal to 5 seconds, it is determined that the current position of the vehicle meets the preset light and shadow projection conditions, thereby controlling the target display to project the pre-generated gradient light and shadow changing from dark to bright on the front windshield.

[0072] The above technical solution calculates the time required for the vehicle to travel from the current position to the starting point or the end point of the tunnel, and generates gradient light and shadow in advance when the above time is equal to the second preset time, thereby ensuring that the gradient light and shadow can be accurately projected when the vehicle approaches the tunnel entrance and exit, so that the driver's vision can gradually adapt to the intensity of external light and avoid sudden light shock.

[0073] In some embodiments, the above-mentioned pre-generating gradient light and shadow may include the following steps S11 to S15:

[0074] S11, determining the projection duration of the gradient light and shadow;

[0075] It can be understood that the projection duration of the above-mentioned gradient light and shadow can be a preset fixed duration or a dynamically changing duration, and the dynamically changing duration is the time period from the moment the gradient light and shadow is determined to be projected to the moment the vehicle completely enters the starting point of the second section.

[0076] S12, determining an initial brightness and a final brightness of the gradient light and shadow according to the light intensity in the environment where the first road section is located and the light intensity in the environment where the second road section is located;

[0077] It can be understood that, assuming that the first section is the section outside the tunnel and the second section is the section inside the tunnel, when the vehicle is currently in the first section, in this case the vehicle is about to enter the tunnel. At this time, the initial brightness of the gradient light and shadow can be determined according to the light intensity in the environment in which the first section is located, and the final brightness of the gradient light and shadow can be determined according to the light intensity in the environment in which the second section is located, that is, the gradient light and shadow changes from light to dark.

[0078] Assume that the first section is a section inside the tunnel, and the second section is a section outside the tunnel. When the vehicle is currently in the first section, the vehicle is about to exit the tunnel. At this time, the initial brightness of the gradient light and shadow can be determined according to the light intensity in the environment where the first section is located, and the final brightness of the gradient light and shadow can be determined according to the light intensity in the environment where the second section is located, that is, the gradient light and shadow changes from dark to bright.

[0079] S13, determining the brightness of the gradient light and shadow at different times within the projection duration according to the initial brightness and the final brightness;

[0080] It is understandable that the brightness at different times within the projection duration can be determined using an interpolation method. The above interpolation method can be divided into linear interpolation and nonlinear interpolation. The above linear interpolation means that the rate of change of brightness at different times within the projection duration is constant, that is, the brightness at different times within the projection duration can increase or decrease in sequence according to a constant rate of change. The above nonlinear interpolation means that the rate of change of brightness at different times within the projection duration is non-constant. The above nonlinear interpolation includes but is not limited to Lagrange interpolation, Newton interpolation and cubic spline interpolation. In the embodiment of the present application, the selection of the nonlinear interpolation method is not limited. The projection duration can also be understood as the gradual change duration of the gradual light and shadow, which refers to the total time required to gradually change from the initial brightness to the final brightness.

[0081] S14, determining a gradual change speed from the initial brightness to the final brightness within the projection duration;

[0082] It can be understood that the gradient speed of the gradient light and shadow is positively correlated with the rate of change of brightness at different times within the above-mentioned projection duration, that is, the faster the vehicle speed, the higher the rate of change, and the slower the vehicle speed, the lower the rate of change, and it must satisfy: gradually change from the initial brightness to the final brightness within the projection duration.

[0083] S15, pre-generate the gradient light and shadow according to the brightness and gradient speed of the gradient light and shadow at different times within the projection duration.

[0084] It is understandable that the brightness at different times is arranged in chronological order, combined with the gradient speed, to form a gradient light and shadow that gradually changes from the initial brightness to the final brightness. The generated gradient light and shadow is pre-stored in the memory of the target display or the storage space of the relevant control system, so that it can be quickly called when the gradient light and shadow needs to be projected, without having to generate the gradient light and shadow when it needs to be projected. When projecting the pre-generated gradient light and shadow, the display brightness on the front windshield can be gradually updated according to the gradient speed, so as to achieve a smooth gradient effect.

[0085] The above technical scheme determines the initial brightness and final brightness of the gradient light and shadow based on the ambient light intensity, and determines the brightness at different times within the projection time according to the initial brightness and the final brightness, which can effectively help the driver's eyes gradually adapt to the light intensity in the environment of the second road section, avoid the glare caused by sudden changes in light intensity, and effectively reduce the possibility of traffic accidents caused by sudden changes in light intensity; by pre-generating gradient light and shadow, the projection speed of the gradient light and shadow can be increased, further helping the driver's eyes avoid sudden light shocks.

[0086] In some embodiments, after controlling the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle, when the vehicle completely enters the second road section from the first road section, the projection of the gradient light and shadow on the front windshield of the vehicle stops.

[0087] Specifically, when the vehicle is traveling from the first section to the second section, when the rear end of the vehicle reaches the starting point of the second section, it can be considered that the vehicle has completely entered the second section from the first section, thereby controlling the target display to stop projecting the above-mentioned gradient light and shadow on the front windshield of the vehicle, and the target display returns to normal display mode.

[0088] In the above technical solution, when the vehicle completely enters the second road section, since the driver's visual system has gradually adapted to the second light intensity, the projection of gradient light and shadow on the front windshield can be stopped immediately, thereby reducing energy costs.

[0089] In some embodiments, the light intensity of the above-mentioned first road section is the first light intensity, and the light intensity of the above-mentioned second road section is the second light intensity, and the target display on the vehicle is controlled to project a gradient light and shadow on the front windshield of the vehicle, including: when the first light intensity is greater than the second light intensity, the target display on the vehicle is controlled to project a gradient light and shadow changing from bright to dark on the front windshield of the vehicle; when the first light intensity is less than the second light intensity, the target display on the vehicle is controlled to project a gradient light and shadow changing from dark to bright on the front windshield of the vehicle.

[0090] Specifically, the light intensity is obtained by an ambient light sensor on the vehicle. If the vehicle is currently on the first section and is about to travel to the second section, when the first light intensity is greater than the second light intensity, the target display is controlled to project a gradient light and shadow changing from bright to dark on the front windshield of the vehicle; when the first light intensity is less than the second light intensity, the target display will project a gradient light and shadow changing from dark to bright on the front windshield of the vehicle.

[0091] For example, assuming that the second road section is a tunnel, when the vehicle is on the first road section and is about to drive to the second road section, it means that the vehicle is currently outside the tunnel and is about to drive into the tunnel. At this time, the light intensity outside the tunnel must be greater than the light intensity inside the tunnel, that is, the first light intensity is greater than the second light intensity. Therefore, the target display will project a gradient light and shadow changing from bright to dark on the front windshield of the vehicle, reducing the impact of dimming light on the driver.

[0092] Exemplarily, assuming that the first road section is a tunnel, when the vehicle is in the first road section and is about to drive to the second road section, it means that the vehicle is currently in the tunnel and is about to drive out of the tunnel. At this time, the light intensity in the tunnel must be less than the light intensity outside the tunnel, that is, the first light intensity is less than the second light intensity. Therefore, the target display is controlled to project a gradient light and shadow changing from dark to bright on the front windshield of the vehicle to reduce the impact of the brightening light on the driver.

[0093] In the above technical solution, the target display projects a gradient light and shadow changing from bright to dark or from dark to bright on the front windshield of the vehicle. The process simulates the process of the light inside and outside the tunnel gradually weakening or gradually increasing. The gradient light and shadow not only takes into account the adaptability of the human eye, but also reduces visual discomfort.

[0094] In some embodiments, the light intensity of the first road section is the first light intensity, and the light intensity of the second road section is the second light intensity, and the target display on the vehicle is controlled to project a gradient light and shadow on the front windshield of the vehicle, including: determining the initial brightness of the gradient light and shadow according to the first light intensity, and determining the final brightness of the gradient light and shadow according to the second light intensity; according to the initial brightness and final brightness of the gradient light and shadow, controlling the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle.

[0095] The initial brightness refers to the brightness value at the beginning of the gradient process, and the final brightness refers to the brightness value at the end of the gradient process. In other words, the initial brightness and final brightness refer to the starting point and ending point where the light brightness changes smoothly from one value to another during the gradient process.

[0096] For the brightness between the above-mentioned initial brightness and the final brightness, the interpolation method can be used to determine it. The interpolation method is a method of estimating unknown points (i.e., the brightness between the initial brightness and the final brightness) through known points (i.e., the initial brightness and the final brightness). The above-mentioned interpolation method can be divided into linear interpolation and nonlinear interpolation. The above-mentioned linear interpolation means that the rate of change between the above-mentioned initial brightness and the final brightness is constant. Therefore, the brightness between the above-mentioned initial brightness and the final brightness can be increased or decreased in sequence according to the rate of change. The above-mentioned nonlinear interpolation includes but is not limited to Lagrange interpolation, Newton interpolation and cubic spline interpolation. In the embodiment of the present application, the method selection of nonlinear interpolation is not limited.

[0097] It can be understood that the above-mentioned first light intensity and second light intensity are both obtained by the ambient light sensor on the vehicle. Taking into account the external light intensity, the initial brightness and final brightness of the gradient light and shadow are determined, and the target display on the vehicle is controlled according to the initial brightness and final brightness to project the gradient light and shadow on the front windshield of the vehicle, so as to improve the accuracy of the light transition effect.

[0098] Specifically, when the vehicle is traveling on the first road section, the vehicle controller will determine the initial brightness of the gradient light and shadow according to the first light intensity, and determine the final brightness of the gradient light and shadow according to the second light intensity. That is, the initial brightness of the gradient light and shadow can be set to the first light intensity, or to a brightness slightly higher than the first light intensity, or to a brightness slightly lower than the first light intensity; the final brightness of the gradient light and shadow can be set to the second light intensity, or to a brightness slightly higher than the second light intensity, or to a brightness slightly lower than the second light intensity.

[0099] Among them, in order to ensure that the projection effect of gradient light and shadow has high smoothness and naturalness in brightness and color, a smooth gradient algorithm can be used to make the brightness and color transition smoothly, avoiding the abruptness caused by direct jumps, effectively reducing visual fatigue and improving driving comfort; the above-mentioned smooth gradient algorithm may include: Bezier curve, but the embodiment of the present application does not limit the smooth gradient algorithm.

[0100] In some embodiments, after controlling the target display on the vehicle to project gradient light and shadow on the front windshield of the vehicle, the method also includes: during the driving of the vehicle, determining the current driving speed of the vehicle and determining the current distance between the current position of the vehicle and the starting point of the second road section; adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance.

[0101] Specifically, assuming that the second section is a tunnel, the vehicle is currently in the first section and will travel to the second section, that is, the vehicle is outside the tunnel and is about to travel into the tunnel. During the vehicle's travel, the current distance and the current driving speed of the vehicle are obtained. The above-mentioned current distance is the length of the distance that the vehicle has not yet traveled in the tunnel, and the gradient speed of the gradient light and shadow is dynamically adjusted according to the current distance and the current driving speed of the vehicle. That is, when the current driving speed of the vehicle remains unchanged, the shorter the current distance, the faster the gradient speed of the gradient light and shadow, and the longer the current distance, the slower the gradient speed of the gradient light and shadow; when the current distance remains unchanged, the slower the current driving speed of the vehicle, the slower the gradient speed of the gradient light and shadow, and the faster the current driving speed of the vehicle, the faster the gradient speed of the gradient light and shadow, thereby ensuring a natural transition of the gradient light and shadow.

[0102] Assume that the first section is a tunnel, and the vehicle is currently in the first section and will travel to the second section, that is, the vehicle is in the tunnel and is about to travel out of the tunnel. During the vehicle's travel, the current distance and the current speed of the vehicle are obtained. The above-mentioned current distance is the length of the distance that the vehicle has not yet traveled in the tunnel, and the gradient speed of the gradient light and shadow is dynamically adjusted according to the current distance and the current speed of the vehicle. That is, when the current speed of the vehicle remains unchanged, the shorter the current distance, the faster the gradient speed of the gradient light and shadow, and the longer the current distance, the slower the gradient speed of the gradient light and shadow; when the current distance remains unchanged, the slower the current speed of the vehicle, the slower the gradient speed of the gradient light and shadow, and the faster the current speed of the vehicle, the faster the gradient speed of the gradient light and shadow, thereby ensuring a natural transition of the gradient light and shadow.

[0103] In some embodiments, the implementation method of adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance may include:

[0104] A default distance, a default driving speed, and a default gradient speed are preset. The default gradient speed is an ideal gradient speed of the gradient light and shadow under the above default distance and default driving speed. A first comparison result between the default distance and the current distance is determined, and a second comparison result between the default driving speed and the current driving speed is determined. According to the first comparison result and the second comparison result, the default gradient speed is adjusted to obtain an adjusted gradient speed of the gradient light and shadow.

[0105] The first coefficient is determined according to the first comparison result, the second coefficient is determined according to the second comparison result, and the first coefficient, the second coefficient and the default gradient speed are multiplied to obtain the adjusted gradient speed of the gradient light and shadow.

[0106] Specifically, when the first comparison result is that the current distance is equal to the default distance, the first coefficient is determined to be equal to 1. When the first comparison result is that the default distance is greater than the current distance, the first coefficient is determined to be greater than 1. When the first comparison result is that the default distance is less than the current distance, the first coefficient is determined to be less than 1.

[0107] When the second comparison result is that the current driving speed is equal to the default driving speed, the second coefficient is determined to be equal to 1. When the second comparison result is that the current driving speed is greater than the default driving speed, the second coefficient is determined to be greater than 1. When the second comparison result is that the current driving speed is less than the default driving speed, the second coefficient is determined to be less than 1.

[0108] In a possible implementation, the first comparison result is represented by a distance difference, and the second comparison result is represented by a speed difference. That is, the first comparison result is the distance difference obtained by subtracting the current distance from the default distance, and the second comparison result is the speed difference obtained by subtracting the default speed from the current speed.

[0109] Specifically, if the distance difference is greater than 0, the first coefficient is determined to be greater than 1; if the distance difference is less than 0, the first coefficient is determined to be less than 1; if the distance difference is equal to 0, the first coefficient is determined to be equal to 1. If the speed difference is greater than 0, the second coefficient is determined to be greater than 1; if the speed difference is less than 0, the second coefficient is determined to be less than 1; if the speed difference is equal to 0, the second coefficient is determined to be equal to 1.

[0110] Another possible implementation is to use a distance ratio to represent the first comparison result, and a speed ratio to represent the second comparison result. That is, the first comparison result is a distance ratio obtained by dividing the default distance by the current distance, and the second comparison result is a speed ratio obtained by dividing the current driving speed by the default driving speed. In this case, the distance ratio can be directly used as the first coefficient, and the speed ratio can be directly used as the second coefficient.

[0111] When the first coefficient is equal to 1, the larger the second coefficient is, that is, the faster the current driving speed is, the greater the gradient speed of the adjusted gradient light and shadow is, and the smaller the second coefficient is, that is, the slower the current driving speed is, the smaller the gradient speed of the adjusted gradient light and shadow is.

[0112] When the second coefficient is equal to 1, the larger the first coefficient is, that is, the shorter the current distance is, the faster the gradient speed of the adjusted gradient light and shadow is; the smaller the first coefficient is, that is, the longer the current distance is, the slower the gradient speed of the adjusted gradient light and shadow is.

[0113] When both the first coefficient and the second coefficient are not 1, the larger the first coefficient and the second coefficient, that is, the shorter the current distance and the faster the current driving speed, the greater the gradient speed of the adjusted gradient light and shadow; the smaller the first coefficient and the second coefficient, that is, the longer the current distance and the slower the current driving speed, the smaller the gradient speed of the adjusted gradient light and shadow.

[0114] In some embodiments, the implementation method of adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance may include:

[0115] A first correspondence between the distance interval and the gradient speed, and a second correspondence between the driving speed interval and the gradient speed are respectively set in advance. The target distance interval in which the current distance is located is determined, and the first correspondence is queried according to the target distance interval to obtain a first gradient speed corresponding to the target distance interval. The target driving speed interval in which the current driving speed is located is determined, and the second correspondence is queried according to the target driving speed interval to obtain a second gradient speed corresponding to the target driving speed interval. The gradient speed of the adjusted gradient light and shadow is determined based on the first gradient speed and the second gradient speed. The above method for determining the gradient speed of the adjusted gradient light and shadow includes but is not limited to a simple average method and a weighted average method, which is not limited in the embodiments of the present application.

[0116] In some embodiments, the implementation method of adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance may include:

[0117] A gradient speed curve of the gradient light and shadow is generated in advance according to the distance in the above distance interval and the driving speed in the above driving speed interval, and the gradient speed of the gradient light and shadow can be determined according to the gradient speed curve. Optionally, the gradient speed curve of the gradient light and shadow can also be adjusted by an optimization algorithm to ensure that the gradient speed of the gradient light and shadow can be relatively smooth without a large jump, so as to adapt to different driving conditions and the visual needs of the driver; the above method of generating the gradient speed curve of the gradient light and shadow includes but is not limited to: Bezier curve and exponential curve, which is not limited in the embodiment of the present application; the above optimization algorithm may include: Bezier curve interpolation, which is not limited in the embodiment of the present application.

[0118] In some embodiments, after adjusting the gradient speed of the gradient light and shadow according to the current driving speed and the current distance, the method further includes:

[0119] If the first feedback information provided by the driver is detected, the gradient light and shadow are controlled to change according to the above-adjusted gradient speed, and the above-mentioned first feedback information indicates that the driver is satisfied with the adjusted gradient speed; if the second feedback information provided by the driver is detected, the gradient light and shadow are controlled to change according to the gradient speed adjusted by the driver, and the above-mentioned second feedback information indicates that the driver is dissatisfied with the adjusted gradient speed. At this time, the driver can adjust the gradient speed again, and control the gradient light and shadow to change according to the gradient speed adjusted by the driver. Optionally, a machine learning algorithm can also be used to record the driver's feedback on the gradient speed of the gradient light and shadow under different driving conditions, so as to achieve a gradient speed management that is more in line with human needs.

[0120] In some embodiments, after controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method further includes:

[0121] Determine the length of the second section and the fixed time for the projection of the gradient light and shadow in the second section; if it is detected that the vehicle has reached the starting point of the second section, the gradient speed is evenly distributed according to the above section length, and the gradient speed of the gradient light and shadow is adjusted according to the evenly distributed gradient speed. The fixed time is the preset duration of the light and shadow gradient effect after entering the second section.

[0122] For example, assuming that the second section is a tunnel and the length of the tunnel is 1 km, when the vehicle travels from the section outside the tunnel to the section inside the tunnel, and the current vehicle has traveled to the entrance of the tunnel, assuming that the fixed time for the projection of the gradient light and shadow in the tunnel is 20 seconds, that is, within the first 20 seconds after the vehicle enters the tunnel, that is, about the first 278 meters, the gradient light and shadow gradually decrease from light to dark, and the gradient speed can be evenly distributed according to the length of the tunnel. According to the length of the tunnel 1 km and the fixed time of 20 seconds for the projection of the gradient light and shadow in the tunnel, it can be calculated that the gradient speed is 50m / s, that is, the adjusted gradient speed is 50m / s. Thus, for every 50m that the vehicle travels in the tunnel, the brightness of the gradient light and shadow decreases by one level until it decreases to the light intensity in the tunnel. In this case, the adjusted gradient speed is evenly distributed according to the length of the tunnel, so that the transition from light to dark is completed within 20 seconds, ensuring that the light and shadow effects at each moment can be maintained at a certain standard level, and the consistency of the experience can be maintained even if the vehicle speed changes.

[0123] In summary, the vehicle control method provided in the embodiments of the present application has the following beneficial effects:

[0124] First, it effectively improves the glare problem when vehicles enter and exit tunnels. Considering that there is a large difference in light intensity inside and outside the tunnel when vehicles enter and exit the tunnel, this light intensity difference will cause short-term glare and visual discomfort to the driver, affecting the driver's field of vision and increasing driving risks. Based on this, the embodiment of the present application projects gradient light and shadow through the target display when the vehicle enters and exits the tunnel, helping the driver's eyes gradually adapt to the change in light intensity, thereby effectively reducing the impact of glare.

[0125] Second, it effectively improves driving safety. Considering that when a vehicle enters or exits a tunnel, glare may cause the driver to instantly lose a clear view of the road section, thereby increasing the risk of traffic accidents. Based on this, the embodiment of the present application reduces the impact of glare on the driver through the design of gradient light and shadow, ensuring that the driver maintains a clear view when entering or exiting a tunnel, thereby improving driving safety.

[0126] Third, it effectively improves the driver's driving experience. Considering that frequent changes in light intensity can make the driver feel tired and uncomfortable, especially when the vehicle is in a tunnel for a long time or on a road section with high light intensity outside the tunnel, or when the vehicle passes through the tunnel continuously. Based on this, the embodiment of the present application helps the driver's eyes adapt to light changes more naturally through the light transition of gradual light and shadow, thereby improving driving comfort and reducing visual fatigue.

[0127] Fourth, dynamically adjust the gradient light and shadow effect: The embodiment of the present application can dynamically adjust the gradient speed and brightness of the gradient light and shadow according to the vehicle speed, tunnel length and external light intensity, ensuring soft and natural changes in light and shadow, thereby adapting to different driving conditions and meeting the needs of different drivers.

[0128] Fifth, effectively reduce interference with the driver's attention: The embodiment of the present application eliminates the need for the driver to manually adjust the lights or the ambient light in the car through the automated gradient light and shadow transition effect, reduces interference with the driver's attention during driving, and allows the driver to focus more on driving.

[0129] Figure 3 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.

[0130] For example, Figure 3 As shown, the device 300 includes:

[0131] A first determination module 301 is used to determine a first road section where the vehicle is currently located and a second road section ahead of the first road section; wherein the light intensity in the environment where the first road section and the second road section are located is different;

[0132] A second determination module 302, configured to determine a current position of the vehicle on a first road section;

[0133] A determination module 303 is used to determine whether the current position meets the preset light and shadow projection conditions;

[0134] The control module 304 is used to control the target display on the vehicle to project gradient light and shadow on the front windshield of the vehicle if the current position meets the preset light and shadow projection conditions; wherein the gradient light and shadow is used to simulate the change of light intensity from the first section to the second section.

[0135] In one possible implementation, the judgment module includes a first judgment unit and a second judgment unit, the first judgment unit being specifically used to: determine the distance between the current position and the starting point of the second road section; if the distance is less than or equal to the first preset distance, determining that the current position meets the preset light and shadow projection conditions; the second judgment unit being specifically used to: determine whether the current position meets the preset light and shadow projection conditions, including: calculating the time required for the vehicle to travel from the current position to the starting point of the second road section; if the time is less than or equal to the first preset time, determining that the current position meets the preset light and shadow projection conditions.

[0136] In one possible implementation, the device also includes a generation module, which includes a first generation unit and a second generation unit, and the first generation unit is specifically used to: before controlling the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle, if the distance is less than or equal to the second preset distance, then pre-generate the gradient light and shadow; wherein the first preset distance is less than the second preset distance; the second generation unit is specifically used to: before controlling the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle, if the time is less than or equal to the second preset time, then pre-generate the gradient light and shadow; wherein the first preset time is less than the second preset time.

[0137] In one possible implementation, the device also includes a stop module, which is specifically used to: after controlling the target display on the vehicle to project gradient light and shadow on the front windshield of the vehicle, when the vehicle completely enters the second section from the first section, stop projecting the gradient light and shadow on the front windshield of the vehicle.

[0138] In one possible implementation, the control module includes a first control unit and a second control unit. The light intensity of the first road section is the first light intensity, and the light intensity of the second road section is the second light intensity. The first control unit is specifically used to: when the first light intensity is greater than the second light intensity, control the target display on the vehicle to project a gradient light and shadow changing from bright to dark on the front windshield of the vehicle; the second control unit is specifically used to: when the first light intensity is less than the second light intensity, control the target display on the vehicle to project a gradient light and shadow changing from dark to bright on the front windshield of the vehicle.

[0139] In one possible implementation, the device also includes a third determination module, which is specifically used to: the light intensity of the first road section is the first light intensity, the light intensity of the second road section is the second light intensity, the initial brightness of the gradient light and shadow is determined according to the first light intensity, and the final brightness of the gradient light and shadow is determined according to the second light intensity; according to the initial brightness and final brightness of the gradient light and shadow, control the target display on the vehicle to project the gradient light and shadow on the front windshield of the vehicle.

[0140] In one possible implementation, the device also includes an adjustment module, which is specifically used to: after controlling the target display on the vehicle to project gradient light and shadow on the front windshield of the vehicle, determine the current driving speed of the vehicle and the current distance between the current position of the vehicle and the starting point of the second section during the driving of the vehicle; adjust the gradient speed of the gradient light and shadow according to the current driving speed and the current distance.

[0141] In one possible implementation, the device also includes a fourth determination module, which is specifically used to: determine the projection duration of the gradient light and shadow; determine the initial brightness and final brightness of the gradient light and shadow based on the light intensity in the environment in which the first road section is located and the light intensity in the environment in which the second road section is located; determine the brightness of the gradient light and shadow at different times within the projection duration based on the initial brightness and the final brightness; determine the gradient speed from the initial brightness to the final brightness within the projection duration; and pre-generate the gradient light and shadow based on the brightness of the gradient light and shadow at different times within the projection duration and the gradient speed.

[0142] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0143] For example, Figure 4 As shown, the vehicle 400 includes: a memory 401 and a processor 402, wherein the memory 401 stores an executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a vehicle control method.

[0144] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.

[0145] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0146] In the case of dividing each functional module according to each function, the device may also include a first determination module, a second determination module, a judgment module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0147] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0148] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.

[0149] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0150] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.

[0151] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.

[0152] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.

[0153] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0154] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0155] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0156] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle control method, characterized in that: The method comprises: Determine a first road section where the vehicle is currently located and a second road section ahead of the first road section; wherein the light intensity in the environment where the first road section and the second road section are located is different; determining a current position of the vehicle on the first road segment; Determining whether the current position meets a preset light and shadow projection condition; If the current position meets the preset light and shadow projection conditions, the target display on the vehicle is controlled to project gradient light and shadow on the front windshield of the vehicle; wherein the gradient light and shadow is used to simulate the change in light intensity from the first road section to the second road section.

2. The method according to claim 1, characterized in that The determining whether the current position satisfies a preset light and shadow projection condition includes: determining a distance between the current location and a starting point of the second route segment; If the distance is less than or equal to the first preset distance, determining that the current position meets the preset light and shadow projection condition; or, Calculating the time required for the vehicle to travel from the current position to the starting point of the second road section; If the time is less than or equal to the first preset time, it is determined that the current position meets the preset light and shadow projection condition.

3. The method according to claim 2, characterized in that Before controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method further includes: If the distance is less than or equal to a second preset distance, the gradient light and shadow is generated in advance; wherein the first preset distance is less than the second preset distance; or, If the time is less than or equal to a second preset time, the gradient light and shadow is generated in advance; wherein the first preset time is less than the second preset time.

4. The method according to claim 3, characterized in that The pre-generating the gradient light and shadow comprises: Determining the projection duration of the gradient light and shadow; Determining an initial brightness and a final brightness of the gradient light and shadow according to the light intensity in the environment where the first road section is located and the light intensity in the environment where the second road section is located; Determining the brightness of the gradient light and shadow at different times within the projection duration according to the initial brightness and the final brightness; Determining a gradual change speed from the initial brightness to the final brightness within the projection duration; The gradient light and shadow are generated in advance according to the brightness of the gradient light and shadow at different moments within the projection duration and the gradient speed.

5. The method according to claim 1, characterized in that After controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method further includes: When the vehicle completely enters the second road section from the first road section, the projection of the gradient light and shadow on the front windshield of the vehicle stops.

6. The method according to claim 1, characterized in that The light intensity of the first section is a first light intensity, the light intensity of the second section is a second light intensity, and the controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle includes: Determining an initial brightness of the gradient light and shadow according to the first light intensity, and determining a final brightness of the gradient light and shadow according to the second light intensity; According to the initial brightness and the final brightness of the gradient light and shadow, the target display on the vehicle is controlled to project the gradient light and shadow on the front windshield of the vehicle.

7. The method according to any one of claims 1 to 6, characterized in that: The light intensity of the first section is a first light intensity, the light intensity of the second section is a second light intensity, and the controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle includes: When the first light intensity is greater than the second light intensity, controlling the target display on the vehicle to project the gradient light and shadow changing from bright to dark on the front windshield of the vehicle; When the first light intensity is less than the second light intensity, the target display on the vehicle is controlled to project the gradient light and shadow changing from dark to bright on the front windshield of the vehicle.

8. The method according to any one of claims 1 to 6, characterized in that: After controlling the target display on the vehicle to project a gradient light and shadow on the front windshield of the vehicle, the method further includes: During the driving of the vehicle, determining a current driving speed of the vehicle and determining a current distance between a current position of the vehicle and a starting point of the second road section; The gradient speed of the gradient light and shadow is adjusted according to the current driving speed and the current distance.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 8 is implemented.