Vehicle window adjusting method, device and equipment, vehicle and computer program product
By detecting the light energy inside the vehicle, the system automatically adjusts the light transmittance of the windows, solving the problem of window adjustment relying on user operation and achieving comfortable adjustment without manual intervention.
Patent Information
- Application Number
- CN202511784401.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-01-23
AI Technical Summary
The window adjustment relies entirely on user control, which is inconvenient and affects the comfort of the car interior.
By detecting the light energy generated by ambient light inside the vehicle, the system automatically identifies the target window and adjusts its light transmittance. This includes using light sensors or solar position parameters to calculate the light energy and achieve automatic adjustment of the light transmittance.
It automatically adjusts the light transmittance of the windows without requiring manual operation by the user, reducing the impact of light on the interior temperature and improving convenience.
Smart Images

Figure CN121375433A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle window adjustment, and in particular to a vehicle window adjustment method, device, apparatus, vehicle and computer program product. BACKGROUND
[0002] Vehicle windows generally have light transmittance. Light penetrating through the vehicle window and irradiating into the vehicle can cause the temperature inside the vehicle to rise, thereby affecting the comfort inside the vehicle. In related technologies, the intensity of light entering the vehicle is usually adjusted by user operation of a window curtain, so as to alleviate the influence of light on the temperature inside the vehicle. However, this adjustment method completely depends on user operation and is inconvenient to use. SUMMARY
[0003] The present application provides a vehicle window adjustment method, device, apparatus, vehicle and computer program product to solve the technical problem that the adjustment of a vehicle window completely depends on user operation and is inconvenient to use in related technologies.
[0004] The first aspect of the present application provides a vehicle window adjustment method, comprising: determining light energy generated by irradiation of ambient light on the interior of a vehicle; if it is detected that the light energy is within a preset energy range, determining a target window from the windows of the vehicle according to the irradiation angle of the ambient light, and adjusting the light transmittance of the target window; the target window includes a window through which the ambient light enters.
[0005] Further, in the above method, if it is detected that the light energy is within a preset energy range, a target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is adjusted, comprising: if it is detected that the light energy is greater than a first preset energy threshold, a target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is reduced.
[0006] Further, in the above method, if it is detected that the light energy is within a preset energy range, a target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is adjusted, comprising: if it is detected that the light energy is less than a second preset energy threshold, a target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is increased.
[0007] Further, in the above method, the determination of the light energy generated by irradiation of ambient light on the interior of a vehicle comprises: determine a sun position parameter; the sun position parameter comprises at least one of an altitude angle and an azimuth angle; calculate, according to the sun position parameter and a vehicle window parameter of the vehicle, an illumination energy generated by the vehicle interior being irradiated by the ambient light; the vehicle window parameter comprises at least one of a vehicle window area and a vehicle window glass light transmission coefficient.
[0008] Further, in the above method, the determining the sun position parameter comprises: obtain a latitude and a longitude of a current location of the vehicle and a current time; determine the sun position parameter according to the latitude and the longitude and the current time.
[0009] Further, in the above method, the calculating, according to the sun position parameter and the vehicle window parameter, of the illumination energy generated by the vehicle interior being irradiated by the ambient light comprises: input the sun position parameter and the vehicle window parameter into a pre-trained illumination energy detection network model or a pre-defined function relationship between the illumination energy and the sun position parameter and the vehicle window parameter, to obtain the illumination energy generated by the vehicle interior being irradiated by the ambient light.
[0010] The second aspect of the present application provides a vehicle window adjusting device, comprising: a first determining module configured to determine an illumination energy generated by a vehicle interior being irradiated by ambient light; a second determining module configured to, if the illumination energy is detected to be within a preset energy range, determine a target vehicle window from vehicle windows according to an irradiation angle of the ambient light and adjust a light transmission rate of the target vehicle window.
[0011] The third aspect of the present application provides an electronic device, comprising: a processor; and a memory having executable codes stored thereon, the executable codes, when executed by the processor, causing the processor to perform the method as described above.
[0012] The fourth aspect of the present application provides a vehicle comprising a vehicle window adjusting device; the vehicle window adjusting device is configured to implement the method as described above.
[0013] The fifth aspect of the present application provides a computer program product, the computer program product comprising computer instructions, the computer instructions, when executed by a processor, implementing the method as described above.
[0014] The technical solution provided by the present application can include the following beneficial results: The technical scheme provided in the application can determine the illumination energy generated by the interior of the vehicle being irradiated by the ambient light, and in the case that the illumination energy is detected to be within a preset energy range, a target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is adjusted. In this way, the target window that needs to be adjusted can be automatically determined based on the illumination energy generated by the interior of the vehicle being irradiated by the ambient light, and the light transmittance of the target window is automatically adjusted, so as to adjust the light intensity entering the vehicle and relieve the influence of light on the temperature in the vehicle. In this process, no manual operation of the user is required, and the convenience is higher.
[0015] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the application. BRIEF DESCRIPTION OF DRAWINGS
[0016] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which like reference characters refer to like parts throughout and in which:
[0017] Figure 1 is a flowchart of the adjusting method of the vehicle window shown in the embodiments of the application; Figure 2 is a structural schematic diagram of the adjusting device of the vehicle window shown in the embodiments of the application; Figure 3 is a structural schematic diagram of the electronic device shown in the embodiments of the application; Figure 4 is a structural schematic diagram of the vehicle shown in the embodiments of the application. DETAILED DESCRIPTION
[0018] Embodiments of the present application will be described in more detail by referring to the drawings. Although the embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0019] The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the present application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein means and includes any or all possible combinations of one or more associated listed items.
[0020] It should be understood that, although the terms "first", "second", "third", etc. can be used in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information without departing from the scope of the application. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0021] The vehicle window is generally transparent to light. When the light penetrates the vehicle window and irradiates into the vehicle, the temperature in the vehicle will rise, thereby affecting the comfort in the vehicle.
[0022] Currently, the light intensity entering the vehicle is generally adjusted by manually operating the sunshade or adjusting the light transmittance of the vehicle window glass to alleviate the influence of light on the temperature in the vehicle. However, this adjustment method requires the driver to operate in the process of driving, which increases the risk of driving. At the same time, this manual adjustment completely depends on the active operation of the user, which is inconvenient to use.
[0023] To solve the above problems, the embodiments of the present application provide a vehicle window adjustment method, device, equipment, vehicle and computer program product, which can automatically determine the target vehicle window to be adjusted based on the light energy generated by the irradiation of the environment light on the interior of the vehicle, and automatically adjust the light transmittance of the target vehicle window, without the need for manual operation of the user, which is more convenient.
[0024] The technical solutions of the embodiments of the present application are described in detail below with reference to the drawings.
[0025] The embodiments of the present application provide a vehicle window adjustment method. The method can be executed by an electronic device, which can be any device with data and instruction processing functions, such as notebook computers, tablet computers, desktop computers, mobile devices, car device, etc. various types of user terminals or any combination of two or more of these electronic devices, or a server. Referring to Figure 1 The method includes: S101, determining the light energy generated by the irradiation of the environment light on the interior of the vehicle.
[0026] The above light energy refers to the energy carried by light as an electromagnetic wave, which is related to the intensity, irradiation area and irradiation time of light. After the environmental light penetrates the vehicle window and irradiates into the vehicle interior, it will generate light energy in the vehicle interior, causing the temperature in the vehicle interior to rise.
[0027] The ambient light refers to all visible light acting on the vehicle in the surrounding environment outside the vehicle, including natural light sources such as sunlight, and artificial light sources such as street lamps and lights of other vehicles. In a specific embodiment, the sunlight has the most significant impact on the light energy in the vehicle interior, and the sunlight is taken as the ambient light in the embodiment.
[0028] In the embodiment of the present application, the light energy generated by the illumination of the environment in the vehicle interior is determined first.
[0029] In some embodiments, a light sensor can be installed in the vehicle, the light intensity is measured by the light sensor, and then the product of the light intensity and the light area is calculated, and the product of the light intensity and the light area is taken as the light energy generated by the illumination of the environment in the vehicle interior.
[0030] The light sensor can be uniformly arranged on the surface of the vehicle window glass or in the vehicle interior, the light intensity at different positions in the vehicle is directly measured by the light sensor, and the light energy generated by the illumination of the environment in the vehicle interior is more accurately identified by comprehensive analysis of the data of the multiple light sensors. For example, the average of the light intensities detected by the multiple light sensors can be calculated as the light intensity in the vehicle interior, and then the product of the light intensity in the vehicle interior and the light area is calculated, and the product of the light intensity in the vehicle interior and the light area is taken as the light energy generated by the illumination of the environment in the vehicle interior.
[0031] S102, if the detected light energy is in the preset energy range, a target window is determined from the windows of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is adjusted.
[0032] The detected light energy is compared with the preset energy range, and if the detected light energy is in the preset energy range, it indicates that the light energy generated by the illumination of the environment in the vehicle interior is too large, resulting in too high temperature in the vehicle, or the light energy generated by the illumination of the environment in the vehicle interior is too small, resulting in too low temperature in the vehicle, affecting the comfort of the people in the vehicle interior, and the light transmittance of the target window needs to be adjusted according to the illumination angle of the ambient light.
[0033] The target window refers to the window through which the ambient light enters.
[0034] In some embodiments, the ambient light in the daytime refers to sunlight. For example, when a vehicle is driving eastward along an east-west road at 10 o'clock in the morning, the sun is located at the east side of the sky, and the sunlight will directly penetrate the left side window of the vehicle to enter the vehicle. In this case, the left side window is the window through which the ambient light enters, i.e., the target window. For another example, when the vehicle is driving northward along a north-south road at 6 o'clock in the afternoon, the sun is located at the west side of the sky and is in a slanting state, and the sunlight will penetrate the right side window and the rear windshield of the vehicle to enter the vehicle. In this case, the right side window and the rear windshield jointly constitute the target window.
[0035] In yet some embodiments, in the absence of sunlight at night, the ambient light can include the night road lighting. For example, when the vehicle is driving along a city road at night, the street lamp on the right side of the road continuously emits light, and the light will penetrate the right side window of the vehicle to enter the vehicle. In this case, the right side window is the target window.
[0036] Generally, if the light energy generated by the illumination of the interior of the vehicle by the ambient light is too large to cause the temperature in the vehicle to be too high, it is necessary to reduce the light energy in the interior of the vehicle to reduce the temperature in the interior of the vehicle. An effective approach is to determine the target window from the windows of the vehicle according to the illumination angle of the ambient light, wherein the target window includes the window through which the ambient light enters, and to reduce the light transmittance of the target window to reduce the ambient light entering the interior of the vehicle through the target window, thereby achieving the purpose of reducing the light energy generated by the illumination of the interior of the vehicle by the ambient light, and finally reducing the temperature in the interior of the vehicle. At the same time, the light transmittance of the other windows of the vehicle except the target window is not adjusted, and the external scattered light can enter the interior of the vehicle through the other windows, thereby avoiding affecting the lighting effect of the vehicle to the greatest extent under the premise of reducing the temperature in the interior of the vehicle.
[0037] For example, if the light energy generated by the illumination of the interior of the vehicle by the ambient light is too large to cause the temperature in the vehicle to be too high, and it is determined that the window on the driver's side is the window through which the ambient light enters, the light transmittance of the window on the driver's side can be reduced to block the ambient light, thereby reducing the light energy generated by the illumination of the interior of the vehicle by the ambient light and reducing the temperature in the interior of the vehicle.
[0038] Generally, if the light energy generated by the illumination of the interior of the vehicle by the ambient light is too small to cause the temperature in the vehicle to be too low, it is necessary to increase the light energy in the interior of the vehicle to increase the temperature in the interior of the vehicle. An effective approach is to determine the target window from the windows of the vehicle according to the illumination angle of the ambient light, wherein the target window includes the window through which the ambient light enters, and to increase the light transmittance of the target window to increase the ambient light entering the interior of the vehicle through the target window, thereby achieving the purpose of increasing the light energy generated by the illumination of the interior of the vehicle by the ambient light, and finally increasing the temperature in the interior of the vehicle.
[0039] It should be noted that in this case, the target window can include other windows in addition to the window through which the ambient light enters, and the transmittance of all windows of the vehicle is increased to rapidly increase the ambient light entering the vehicle interior through the target window, and then rapidly increase the temperature of the vehicle interior.
[0040] For example, if the light energy generated by the illumination of the interior of the vehicle by the ambient light is too small to cause the temperature of the vehicle interior to be too low, and it is determined that the window on the driver's side is the window through which the ambient light enters, the light transmittance of the window on the driver's side can be increased to transmit the ambient light, thereby increasing the light energy generated by the illumination of the interior of the vehicle by the ambient light, and increasing the temperature of the vehicle interior. In this case, the light transmittance of other windows can also be increased at the same time to rapidly increase the temperature of the vehicle interior.
[0041] The above-mentioned preset energy range can be set according to actual conditions, and the embodiment is not limited.
[0042] It should be noted that the window of the embodiment includes an electrochromic glass or other glass with adjustable light transmittance. After generating the instruction for adjusting the light transmittance of the window, the driving circuit of the window can be controlled to change the light transmittance of the window glass.
[0043] In the above embodiment, the light energy generated by the illumination of the interior of the vehicle by the ambient light can be determined, and in the case where the light energy is detected to be within the preset energy range, the target window is determined from the windows of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is adjusted. By such a setting, the target window that needs to be adjusted can be automatically determined based on the light energy generated by the illumination of the interior of the vehicle by the ambient light, and the light transmittance of the target window is automatically adjusted, thereby adjusting the intensity of the light entering the vehicle interior, and relieving the influence of the light on the temperature of the vehicle interior. This process does not require manual operation by the user, and is more convenient.
[0044] In an optional embodiment, the step of the above embodiment of detecting that the light energy is within the preset energy range, determining the target window from the windows of the vehicle according to the illumination angle of the ambient light, and adjusting the light transmittance of the target window can specifically include the following steps: If it is detected that the light energy is greater than the first preset energy threshold, the target window is determined from the windows of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is reduced.
[0045] Specifically, if the detected light energy is greater than the first preset energy threshold, it indicates that the light energy generated by the interior of the vehicle being irradiated by the ambient light is too large, resulting in the temperature inside the vehicle being too high, and the target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, wherein the target window includes the window through which the ambient light enters, and the light transmittance of the target window is reduced to reduce the ambient light entering the interior of the vehicle through the target window, thereby achieving the purpose of reducing the light energy generated by the interior of the vehicle being irradiated by the ambient light, and finally reducing the temperature inside the vehicle.
[0046] The first preset energy threshold described above can be set according to actual conditions, and the embodiment is not limited.
[0047] In the above embodiment, the light transmittance of the window through which the ambient light enters can be automatically reduced when it is detected that the light energy is greater than the first preset energy threshold, thereby achieving the purpose of reducing the temperature inside the vehicle, without the need for manual operation by the user, and the convenience is stronger.
[0048] At the same time, the light transmittance of the other windows of the vehicle other than the target window is not adjusted, and the external scattered light can still enter the interior of the vehicle through the other windows, thereby avoiding the influence on the lighting effect of the vehicle to the greatest extent under the premise of reducing the temperature inside the vehicle.
[0049] In an optional embodiment, if the light energy is detected to be within the preset energy range in the steps of the above embodiment, the target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is adjusted, which can specifically include the following steps: If the detected light energy is less than the second preset energy threshold, the target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, and the light transmittance of the target window is increased.
[0050] Specifically, if the detected light energy is less than the second preset energy threshold, it indicates that the light energy generated by the interior of the vehicle being irradiated by the ambient light is too small, resulting in the temperature inside the vehicle being too low, and the target window is determined from the windows of the vehicle according to the irradiation angle of the ambient light, wherein the target window includes the window through which the ambient light enters, and the light transmittance of the target window is increased to increase the ambient light entering the interior of the vehicle through the target window, thereby achieving the purpose of increasing the light energy generated by the interior of the vehicle being irradiated by the ambient light, and finally increasing the temperature inside the vehicle.
[0051] In addition, in the case where the detected light energy is less than the second preset energy threshold, in some embodiments, the target window can include other windows in addition to the window through which the ambient light enters, and the transmittance of all the windows of the vehicle is increased to quickly increase the ambient light entering the interior of the vehicle through the target window, thereby quickly increasing the temperature inside the vehicle.
[0052] The second preset energy threshold can be set according to actual conditions, and the embodiment is not limited. It should be noted that the second preset energy threshold is less than or equal to the first preset energy threshold.
[0053] In the above embodiment, when the detected illumination energy is less than the second preset energy threshold, the light transmittance of the vehicle window through which the ambient light enters can be automatically increased to achieve the purpose of raising the temperature inside the vehicle, without the need for manual operation by the user, and the convenience is stronger.
[0054] In the above embodiment, a plurality of light sensors are installed to detect the illumination intensity, and the illumination energy generated by the ambient light irradiating the interior of the vehicle is calculated based on the detected illumination intensity. Although this method can reduce the dependence on mathematical models, it increases the hardware cost and system complexity, and requires real-time processing and analysis of a large amount of sensor data, which is difficult to process. To reduce the hardware cost and system complexity, the embodiment of the present application provides another way to determine the illumination energy generated by the ambient light irradiating the interior of the vehicle. The ambient light includes sunlight, and specifically includes the following steps: Determine the sun position parameter; the sun position parameter includes at least one of the elevation angle and the azimuth angle; Calculate the illumination energy generated by the ambient light irradiating the interior of the vehicle according to the sun position parameter and the vehicle window parameter; the vehicle window parameter includes at least one of the vehicle window area and the vehicle window glass light transmittance.
[0055] The above-mentioned sun position parameter includes at least one of the elevation angle and the azimuth angle. The sun elevation angle refers to the angle between the sunray and the ground plane of the observation point, and the sun azimuth angle refers to the angle between the projection of the sunray on the ground plane of the observation point and the north direction of the point.
[0056] In a specific embodiment, the sun position parameter includes the elevation angle and the azimuth angle. The elevation angle and the azimuth angle can be obtained by accessing an online astronomical data service platform. The astronomical data service platform refers to a platform that provides real-time sun elevation angle and azimuth angle data at different times around the world.
[0057] Specifically, the latitude and longitude and time information of the vehicle can be sent to the astronomical data service platform through the network function of the vehicle, and the corresponding sun angle data can be returned by the astronomical data service platform. This method can reduce the computational burden of related devices in the vehicle.
[0058] Then, the illumination energy generated by the environmental light irradiating the interior of the vehicle is calculated according to the solar position parameter and the vehicle window parameter. The vehicle window parameter includes at least one of a vehicle window area and a vehicle window glass light transmittance. In a specific embodiment, the vehicle window parameter includes the vehicle window area and the vehicle window glass light transmittance. The vehicle window area can be pre-stored in the vehicle information database, and the vehicle window glass light transmittance is provided by a glass manufacturer and stored in the vehicle information database.
[0059] In a specific embodiment, the illumination energy generated by the environmental light irradiating the interior of the vehicle can be calculated according to the solar position parameter and the vehicle window parameter based on the following steps: The solar position parameter and the vehicle window parameter are input into a pre-trained illumination energy detection network model or a pre-defined function relationship between the illumination energy and the solar position parameter and the vehicle window parameter to obtain the illumination energy generated by the environmental light irradiating the interior of the vehicle.
[0060] The solar altitude angle and the solar azimuth angle determine the angle between the sunlight and the vehicle window, and further affect the intensity of the illumination energy in the interior of the vehicle. Generally, the greater the solar altitude angle, the closer the light irradiates vertically, and the stronger the illumination energy per unit area. The solar azimuth angle determines the direction of the light, and the illumination degree in different positions of the vehicle is different under different solar azimuth angles. By establishing a mathematical model of the illumination energy and the solar altitude angle, the solar azimuth angle, and the vehicle window area and glass material, the illumination energy generated by the environmental light irradiating the interior of the vehicle can be calculated.
[0061] In some embodiments, the illumination energy detection network model can be pre-trained. Specifically, the solar position parameter and the vehicle window parameter under different solar angles, weather conditions, and vehicle window positions can be obtained as training samples, and the illumination energy corresponding to each training sample is measured as a training label. When training the illumination energy detection network model, the training samples are input into the illumination energy detection network model to obtain the prediction result output by the illumination energy detection network model. By comparing the prediction result and the corresponding training label, the loss of the illumination energy detection network model is calculated. The parameters of the illumination energy detection network model are adjusted to reduce the loss of the illumination energy detection network model as the target. Then, the above training process is repeated until the illumination energy detection network model meets the training requirements.
[0062] The illumination energy detection network model can use any network model as a basic model for training, and the present embodiment is not limited thereto.
[0063] The solar position parameter and the vehicle window parameter are input into the pre-trained illumination energy detection network model to obtain the detection result output by the illumination energy detection network model, i.e., the illumination energy generated by the environmental light irradiating the interior of the vehicle.
[0064] This method can adapt to complex and variable actual situations and improve the accuracy of light energy recognition, but it requires a large amount of data for training, and the training and updating of the model requires certain computing resources and time.
[0065] In some other embodiments, a function relationship between the light energy and the solar position parameters and the vehicle window parameters can be predefined. For example, the function relationship can be expressed as: E=f(h,A,S,k) In the above formula, E represents the light energy, h represents the solar altitude angle, A represents the solar azimuth angle, S represents the vehicle window area, and k represents the glass light transmission coefficient. f is a function relationship between the light energy and the solar position parameters and the vehicle window parameters, which can be obtained through experiments or theoretical derivation, and is not limited in the present embodiment.
[0066] The solar position parameters and the vehicle window parameters are input into the above function relationship to obtain the light energy.
[0067] In addition, in order to improve the accuracy of the calculation, a light sensor can be installed at a proper position of the vehicle to detect the actual light intensity in real time, and the detection data can be used to calibrate and correct the light energy intensity calculated by the light energy detection network model or the above function relationship, and the detection data can also be used to modify the light energy detection network model or the above function relationship to improve the reliability of the light energy detection network model or the above function relationship.
[0068] In the above embodiments, the light energy generated by the environmental light irradiation in the interior of the vehicle can be calculated according to the solar position parameters and the vehicle window parameters, without the need to install a large number of light sensors, thereby reducing the hardware cost and system complexity.
[0069] In the steps of the above embodiments, the latitude and longitude and time information of the vehicle are sent to an astronomical data service platform through the network function of the vehicle to obtain the solar position parameters fed back by the astronomical data service platform, but this way requires the vehicle to have stable network connection, and there may be data delay and privacy security problems.
[0070] Based on this, another embodiment of the present application provides another way to determine the solar position parameters, and the specific steps include: Obtaining the latitude and longitude of the current location of the vehicle and the current time; and determining the solar position parameters according to the latitude and longitude and the current time.
[0071] Specifically, the global positioning system or other positioning module of the vehicle acquires the latitude and longitude information of the location where the vehicle is located in real time. At the same time, the clock module of the vehicle provides the accurate current time. According to astronomical principles, the solar altitude angle and the solar azimuth angle are related to the latitude and longitude of the vehicle location, time, and parameters such as the solar declination angle and the solar hour angle.
[0072] The solar declination angle and the solar hour angle can be calculated first, the solar altitude angle can be calculated according to the solar hour angle, the solar declination angle, and the latitude of the vehicle location, and the solar azimuth angle can be calculated according to the solar declination angle, the solar altitude angle, and the latitude of the vehicle location. The specific calculation formulas are as follows: The calculation formula of the solar declination angle is: δ represents the solar declination angle, N is the accumulated day, that is, the number of days calculated from January 1.
[0073] The calculation formula of the solar hour angle is: τ = 15 (S 12) + λ ω τ represents the solar hour angle, S represents the local mean solar time, ω represents the time difference, and λ represents the longitude of the vehicle location.
[0074] The calculation formula of the solar altitude angle is: sinh = sin φ sin δ + cos φ cos δ cos τ h represents the solar altitude angle, and φ represents the latitude of the vehicle location.
[0075] The calculation formula of the solar azimuth angle is: A represents the solar azimuth angle.
[0076] In the above embodiment, the solar position parameters can be calculated, which does not depend on the network connection of the vehicle and avoids possible data delay and privacy security problems.
[0077] In addition, the existing solar angle calculation formula is relatively complex and has a large amount of calculation. Some simplified algorithms can be researched and used to approximately calculate the solar altitude angle and the solar azimuth angle. For example, in some application scenarios, some secondary factors can be ignored, and a simplified trigonometric function relationship can be used to calculate the solar angle. Although the calculation accuracy of this method may be reduced, the calculation speed can be significantly improved, and the performance requirements of the vehicle-mounted calculation unit can be reduced. However, when using a simplified algorithm, the calculation error of different regions and different seasons needs to be fully evaluated and calibrated to ensure that the actual application requirements of the present embodiment are met.
[0078] In one specific embodiment, the illumination energy generated by the illumination of the interior of the vehicle by the ambient light refers to the illumination energy generated by the illumination of the front-row position of the interior of the vehicle by the ambient light, and the target window is determined from the driver-side window and the front passenger-side window of the front row of the vehicle when determining the target window.
[0079] For example, the illumination energy generated by the illumination of the front row of the vehicle by the ambient light is calculated according to the sun position parameter and the window parameter of the front-row window of the vehicle; if the illumination energy is greater than a first preset energy threshold, the target window is determined from the front-row window of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is reduced. If the illumination energy is less than a second preset energy threshold, the target window is determined from the front-row window of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is increased.
[0080] Corresponding to the foregoing application function implementation method embodiments, the present application also provides a window adjusting device, an electronic device, a vehicle, a computer readable storage medium, a computer program product, and corresponding embodiments.
[0081] Figure 2 FIG. 1 is a structural schematic diagram of a window adjusting device according to an embodiment of the present application.
[0082] Referring to Figure 2 The device comprises: A first determination module 100 configured to determine the illumination energy generated by the illumination of the interior of the vehicle by the ambient light. A second determination module 110 configured to, if it is detected that the illumination energy is within a preset energy range, determine the target window from the window of the vehicle according to the illumination angle of the ambient light, and adjust the light transmittance of the target window.
[0083] Further, the second determination module 110 of the above embodiment, when it is detected that the illumination energy is within a preset energy range, determines the target window from the window of the vehicle according to the illumination angle of the ambient light, and adjusts the light transmittance of the target window, is specifically configured to: If it is detected that the illumination energy is greater than a first preset energy threshold, the target window is determined from the window of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is reduced.
[0084] Further, the second determination module 110 of the above embodiment, when it is detected that the illumination energy is within a preset energy range, determines the target window from the window of the vehicle according to the illumination angle of the ambient light, and adjusts the light transmittance of the target window, is specifically configured to: If it is detected that the illumination energy is less than a second preset energy threshold, the target window is determined from the window of the vehicle according to the illumination angle of the ambient light, and the light transmittance of the target window is increased.
[0085] Further, the first determining module 110 in the above embodiment, when determining the illumination energy generated by the vehicle's interior being irradiated by ambient light, is specifically configured to: determine a sun position parameter; the sun position parameter comprises at least one of an altitude angle and an azimuth angle; calculate the illumination energy generated by the vehicle's interior being irradiated by ambient light according to the sun position parameter and a vehicle window parameter of the vehicle; the vehicle window parameter comprises at least one of a vehicle window area and a vehicle window glass light transmission coefficient.
[0086] Further, the first determining module 110 in the above embodiment, when determining the illumination energy generated by the vehicle's interior being irradiated by ambient light, is specifically configured to: obtain the latitude and longitude of the current location of the vehicle and the current time; determine the sun position parameter according to the latitude and longitude and the current time.
[0087] Further, the first determining module 110 in the above embodiment, when determining the illumination energy generated by the vehicle's interior being irradiated by ambient light, is specifically configured to: input the sun position parameter and the vehicle window parameter into a pre-trained illumination energy detection network model or a pre-defined function relationship between the illumination energy and the sun position parameter and the vehicle window parameter, to obtain the illumination energy generated by the vehicle's interior being irradiated by ambient light.
[0088] As to the device in the above embodiment, the specific manners in which various modules perform operations have been described in detail in the embodiments of the method, and will not be described in detail here.
[0089] Figure 3 is a structural schematic diagram of an electronic device shown in embodiments of the present application.
[0090] Referring to Figure 3 , the electronic device comprises a memory 200 and a processor 210.
[0091] The electronic device comprises a memory 200 and a processor 210; The memory 200 is connected with the processor 210, and is configured to store programs; The processor 210 is configured to realize part or all of the method described above by running the programs stored in the memory 200.
[0092] Specifically, the above electronic device can further comprise a bus, a communication interface 220, an input device 230 and an output device 240.
[0093] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected with each other through the bus. Among them: The bus can include an address bus, a data bus, and a control bus, which each allow one of the components of the computer system to communicate with another. For example, the bus can include an address bus to transmit high-order address bits, a data bus to transmit low-order address bits, and a control bus to transmit bytes of data and / or control signals.
[0094] The processor 210 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor.
[0095] The processor 210 can include a main processor, and can also include a baseband chip, a modem, etc.
[0096] The memory 200 can include various types of storage units, such as a system memory, a read-only memory (ROM), and a permanent storage device. Among them, the ROM can store static data or instructions required by the processor 210 or other modules of the computer. The permanent storage device can be a read-write storage device. The permanent storage device can be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a mass storage device (such as a magnetic or optical disk, a flash memory) as a permanent storage device. In some other embodiments, the permanent storage device can be a removable storage device (such as a floppy disk, an optical drive). The system memory can be a read-write storage device or a volatile read-write storage device, such as a dynamic random access memory. The system memory can store some or all instructions and data required by the processor during runtime. In addition, the memory 200 can include a combination of any computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks and / or optical disks. In some embodiments, the memory 200 can include a read and / or write removable storage device, such as a compact disc (CD), a read-only digital versatile disc (such as DVD-ROM, double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a min SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include a carrier wave and a transient electronic signal transmitted through a wireless or wired transmission.
[0097] The input device 230 can include a device that receives data and information of user input, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor, etc.
[0098] The output device 240 can include a device that allows output of information to a user, such as a display screen, a printer, a speaker, etc.
[0099] The communication interface 220 can include a device using any transceiver to communicate with other devices or communication networks, such as an Ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc.
[0100] The processor 210 executes programs stored in the memory 200 and calls other devices, which can be used to implement part or all of the above-mentioned methods.
[0101] Another embodiment of the present application also provides a vehicle, referring to Figure 4 The vehicle includes the window adjusting device 300 configured to implement part or all of the above-mentioned methods.
[0102] The window adjusting device 300 can be arranged in the center console of the vehicle or at any position of the engine compartment of the vehicle. The window adjusting device 300 can be an electronic device embedded in an Electronic Control Unit (ECU) of the vehicle, a processing chip independent of the ECU, or one or more ECUs specially used for controlling the light transmittance of the window.
[0103] In a specific embodiment, the vehicle further includes a smart window connected to the window adjusting device 300 through a circuit. The window adjusting device 300 generates a corresponding control instruction according to the size of the light energy, and controls the driving circuit of the smart window to work. The driving circuit of the smart window adjusts the voltage or current applied to the glass of the smart window according to the control instruction, so as to change the optical properties of the glass and realize the adjustment of the light transmittance. Meanwhile, the window brightness adjustment can be set to multiple levels to adapt to different degrees of change in light energy.
[0104] The vehicle provided by the embodiment belongs to the same application concept as the window adjusting method provided by the above-mentioned embodiments of the present application, can execute the window adjusting method provided by any of the above-mentioned embodiments of the present application, and has the corresponding functional modules and beneficial effects of executing the above-mentioned window adjusting method, which are not described in detail in the embodiment. For the specific processing content of the window adjusting method provided by the above-mentioned embodiments of the present application, please refer to the above-mentioned embodiments.
[0105] In addition, the method according to the present application can also be implemented as a computer program product, which includes computer program code instructions for executing part or all of the steps in the above method of the present application. Alternatively, the computer program can be stored in a readable storage medium of a computer device or in the cloud; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0106] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of the present application, including an object-oriented programming language, such as Java, C++, and the like, and a conventional procedural programming language, such as the "C" programming language or similar programming languages. The program code can be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0107] The above computer program product can be implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.
[0108] Alternatively, the present application can also be implemented as a computer readable storage medium (or non-transitory machine readable storage medium or machine readable storage medium) having stored executable code (or computer programs or computer instruction code) which, when executed by a processor of an electronic device (or server, etc.), causes the processor to execute part or all of the steps of the above method according to the present application.
[0109] The computer readable storage medium can employ any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the above. More specific examples (non-exhaustive list) of readable storage media include an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0110] Having described various embodiments of the application, it is to be understood that the above description is meant not to limit and not to encompass all of the possible embodiments. Many modifications and variations of this application can be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. It is intended that the scope of the application be defined by the scope of the patent and by the claims as allowed by the patent office, which can include adaptations based on the description, equivalents, and / or substitutions of elements individually or collectively to the entire disclosure.
Claims
1. A method for adjusting a vehicle window, characterized in that, include: Determine the amount of light energy generated inside the vehicle when illuminated by ambient light. If the light energy is detected to be within a preset energy range, a target window is determined from the vehicle windows based on the illumination angle of the ambient light, and the light transmittance of the target window is adjusted; the target window includes the window through which the ambient light enters.
2. The method according to claim 1, wherein if the light energy is detected to be within a preset energy range, determining the target window from the vehicle window based on the ambient light irradiation angle, and adjusting the light transmittance of the target window, comprises: If the detected light energy is greater than a first preset energy threshold, a target window is determined from the vehicle windows based on the ambient light irradiation angle, and the light transmittance of the target window is reduced.
3. The method according to claim 1, characterized in that, If the detected light energy is within a preset energy range, then the target window is determined from the vehicle window based on the ambient light angle, and the light transmittance of the target window is adjusted, including: If the detected light energy is less than the second preset energy threshold, then the target window is determined from the vehicle window according to the illumination angle of the ambient light, and the light transmittance of the target window is increased.
4. The method according to claim 1, characterized in that, The determination of the light energy generated inside the vehicle by ambient light includes: Determine the solar position parameters; the solar position parameters include at least one of the altitude angle and azimuth angle; Based on the solar position parameters and the vehicle window parameters, the light energy generated inside the vehicle by ambient light is calculated; the vehicle window parameters include at least one of window area and window glass transmittance.
5. The method according to claim 4, characterized in that, The determination of the solar position parameters includes: Obtain the latitude and longitude of the vehicle's current location and the current time; Determine the solar position parameters based on the latitude and longitude and the current time.
6. The method according to claim 4, characterized in that, The step of calculating the irradiance generated inside the vehicle by ambient light based on the sun's position parameters and the vehicle's window parameters includes: The solar position parameters and the vehicle window parameters are input into a pre-trained light energy detection network model or a predefined functional relationship between light energy and solar position parameters and vehicle window parameters to obtain the light energy generated inside the vehicle by ambient light.
7. A vehicle window adjustment device, characterized in that, include: The first determining module is used to determine the light energy generated inside the vehicle by ambient light. The second determining module is used to determine the target window from the vehicle window according to the illumination angle of the ambient light if the light energy is detected to be within a preset energy range, and to adjust the light transmittance of the target window.
8. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-6.
9. A vehicle, characterized in that, Including window adjustment devices; The window adjustment device is configured to implement the method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a processor, implement the method described in any one of claims 1-6.
Citation Information
Patent Citations
Photochromic glass control method and system based on sunlight input energy calculation
CN115031860A
Shading device adjusting method and system, vehicle and storage medium
CN115593194A
Vehicle window glass transmittance adjusting method and device, vehicle and storage medium
CN117533104A
Variable window tilting system
KR1020100030793A