Vehicle window glass coloring area confirmation method and device, electronic equipment, medium and product
By obtaining the current geographical location of the vehicle and the location information of the designated light source, combining historical body posture information and relative angle information, the coloring area of the window glass is determined, which solves the problem of waste of computing power in the existing technology, and improves the response speed and the utilization efficiency of computing resources.
Patent Information
- Application Number
- CN202510099558.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-29
AI Technical Summary
In the prior art, when determining the coloring area of the window glass, it is necessary to frequently calculate the body posture information, resulting in wasted computing power and excessive consumption of computing resources.
By obtaining the current geographical location of the vehicle and the location information of the designated light source, combining historical body posture information and relative angle information, the coloring area of the window glass is determined, reducing the calculation of the current body posture information.
It reduces the consumption of computing resources, improves the response speed of determining the colored area of the window glass, and improves the accuracy of judging the vehicle's historical driving position.
Smart Images

Figure CN119898171A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile control technology, and in particular to a method, device, electronic equipment, medium and product for confirming a tinted area of a vehicle window glass. Background Art
[0002] With the development of automobiles, consumers pay more and more attention to the riding experience. People begin to notice the poor riding experience caused by sunlight shining on the passenger compartment of the vehicle. To solve this problem, vehicle manufacturers begin to use a color-changing glass to replace traditional window glass to isolate the sunlight from the passengers, thereby improving the riding comfort of the vehicle.
[0003] The determination of the tinting area of the window glass is related to the current body posture information. Under the same sunlight conditions, the current body posture information is different, and the area of the body glass that needs to be tinted is also different. In the prior art, each time the tinting area of the window glass is determined, the current body posture information needs to be calculated based on relevant parameters, resulting in a waste of computing power. Summary of the invention
[0004] In view of this, one of the purposes of the embodiments of the present application is to provide a method for determining the tinted area of a vehicle window glass, which can improve the problem of waste of computing power caused by the prior art.
[0005] In order to achieve the above technical objectives, the technical solutions adopted in this application are as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for determining a tinted area of a vehicle window glass, the method comprising:
[0007] Acquire the current geographic location of the vehicle and the location information of the designated light source, and obtain the relative angle between the designated light source and the vehicle, wherein the location information of the designated light source includes an azimuth angle and an altitude angle;
[0008] When the number of times the vehicle has traveled to the current geographical location reaches a preset number, the historical vehicle body posture information obtained when the vehicle traveled to the current geographical location is determined as the current vehicle body posture information of the vehicle;
[0009] Based on the current vehicle body posture information and the relative angle information, an illumination area of the designated light source on the vehicle window glass is obtained, and a tinted area of the vehicle window glass is obtained according to the illumination area.
[0010] According to the above technical means, the computing power for calculating the current vehicle body posture information is reduced, and the consumption of computing resources is reduced.
[0011] Furthermore, between acquiring the current geographical location of the vehicle and the location information of the designated light source and determining the current body posture information of the vehicle, the method further includes:
[0012] Collecting suspension control parameters of the vehicle at at least two time points in a current time period to obtain a current relationship line representing a change of the current suspension control parameters over time;
[0013] If there is a historical geographical location of the vehicle that matches the current geographical location, obtaining a historical relationship line corresponding to the vehicle at the current geographical location, the historical relationship line indicating changes over time in suspension control parameters obtained when the vehicle travels to the historical geographical location, and the distance difference between the current geographical location and the historical geographical location is within a preset distance range;
[0014] If the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographical location is determined to be a location where the vehicle has traveled historically.
[0015] According to the above technical means, whether the current geographical location of the vehicle is a location where the vehicle has traveled in the past is judged based on the similarity between the current relationship line and the historical relationship line and the degree of matching between the current geographical location and the historical geographical location, thereby improving the accuracy of judging the locations where the vehicle has traveled in the past.
[0016] Further, the suspension control parameter includes solenoid valve current and / or airbag height.
[0017] Further, the current relationship line includes a relationship line of a current electromagnetic valve current changing with time, and / or a relationship line of a current airbag height changing with time; the historical relationship line includes a relationship line of a historical electromagnetic valve current changing with time, and / or a relationship line of a historical airbag height changing with time;
[0018] When the similarity between the current solenoid valve current change over time relationship line and the historical solenoid valve current change over time relationship line is greater than a specified threshold, and / or the current airbag height change over time relationship line and the historical airbag height change over time relationship line are greater than a specified threshold, the similarity between the current relationship line and the historical relationship line is greater than the specified threshold.
[0019] Furthermore, between the step of obtaining the current geographical location of the vehicle and the location information of the designated light source and obtaining the tinted area of the vehicle window glass, the method further includes:
[0020] When the number of times the vehicle has traveled to the current geographical location does not reach a preset number, obtaining a body posture information parameter of the vehicle, the body posture information parameter including at least one of a torsion angle of the vehicle in a body length direction, a torsion angle of the vehicle in a body width direction, and a torsion angle of the vehicle in a body height direction;
[0021] Based on the vehicle body posture information parameters, the current vehicle body posture information is obtained.
[0022] Further, the acquiring the current geographical location of the vehicle and the location information of the designated light source to obtain the relative angle between the designated light source and the vehicle includes:
[0023] Get the equatorial coordinates of the specified light source;
[0024] Transform the coordinate system where the current geographical location is located and the coordinate system where the equatorial coordinates are located into the same static coordinate system to obtain a first position coordinate and a second position coordinate, wherein the first position coordinate represents the position of the current geographical location in the static coordinate system, and the second position coordinate represents the position of the equatorial coordinate in the static coordinate system;
[0025] The relative angle is obtained according to the position information of the designated light source in the static coordinate system and the current geographical location.
[0026] Furthermore, the method further comprises:
[0027] Obtaining light intensity and weather information of the current geographical location, wherein the weather information includes ultraviolet intensity and PM2.5 concentration;
[0028] Correcting the light intensity according to the weather information;
[0029] According to the corrected light intensity, the window tinting degree of the tinted area of the window glass is adjusted, including: when the corrected light intensity increases, the window tinting degree of the tinted area of the window glass is increased, so as to reduce the glass transmittance of the tinted area of the window glass; when the corrected light intensity decreases, the tinting degree of the tinted area of the window glass is reduced, so as to increase the glass transmittance of the tinted area of the window glass.
[0030] In a second aspect, an embodiment of the present application provides a device for determining a tinted area of a vehicle window glass, comprising:
[0031] an acquisition module, configured to acquire the current geographical location of the vehicle and the location information of a designated light source, and obtain a relative angle between the designated light source and the vehicle, wherein the location information of the designated light source includes an azimuth angle and an altitude angle;
[0032] a body posture information calculation module configured to determine, when the number of times the vehicle has traveled to the current geographical location reaches a preset number, historical body posture information obtained when the vehicle has traveled to the current geographical location as current body posture information of the vehicle;
[0033] The tinting area confirmation module is configured to obtain the illumination area of the designated light source on the vehicle window glass based on the current vehicle body posture information and the relative angle information, and obtain the tinting area of the vehicle window glass according to the illumination area.
[0034] Furthermore, the vehicle body posture information module is further configured to collect suspension control parameters of the vehicle at least two time points in a current time period to obtain a current relationship line representing the change of the current suspension control parameters over time;
[0035] If there is a historical geographical location of the vehicle that matches the current positioning information, a historical relationship line corresponding to the current geographical location of the vehicle is obtained, wherein the historical relationship line indicates that the suspension control parameters obtained when the vehicle travels to the historical geographical location change over time, and the distance difference between the current geographical location and the historical geographical location is within a preset distance range;
[0036] If the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographical location is determined to be a location where the vehicle has traveled historically.
[0037] In a third aspect, an embodiment of the present application proposes an electronic device, which includes a processor and a memory coupled to each other, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device executes the above method.
[0038] In a fourth aspect, an embodiment of the present application proposes a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer, the computer executes the above method.
[0039] In a fifth aspect, an embodiment of the present application proposes a computer program product, including a computer program, which implements the above method when executed by a processor.
[0040] The invention adopting the above technical solution has the following advantages:
[0041] In the technical solution provided in the present application, when the number of times the vehicle has traveled to the current geographical location reaches a preset number, the historical vehicle body posture information is directly called as the current vehicle body posture information, and then the relative angle between the specified light source and the vehicle and the current vehicle body posture information are combined to obtain the tinted area of the window glass, thereby reducing the computing power for calculating the current vehicle body posture information, reducing the consumption of computing resources, and improving the response speed for determining the tinted area of the window glass. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The present application may be further described by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings may be obtained based on these drawings without creative effort.
[0043] Figure 1 A block diagram of an electronic device provided in an embodiment of the present application.
[0044] Figure 2 An overall flow chart provided for an embodiment of the present application.
[0045] Figure 3 A flowchart of step 110 provided in an embodiment of the present application.
[0046] Figure 4 The flowchart of S1-S9 is provided for the embodiment of the present application.
[0047] Figure 5 A flowchart of step 140 is provided for an embodiment of the present application.
[0048] Figure 6 A block diagram of a device provided in an embodiment of the present application.
[0049] Icon: 100 - electronic device, 101 - processing module, 102 - storage module, 200 - acquisition module, 300 - vehicle body posture information calculation module, 400 - coloring area confirmation module, 500 - adjustment module. DETAILED DESCRIPTION
[0050] The present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0051] Please refer to Figure 1 The electronic device 100 provided in the embodiment of the present application may include a processing module 101 and a storage module 102. The storage module stores a computer program, and when the computer program is executed by the processing module, the server can execute the corresponding steps in the following vehicle window glass tinted area confirmation method.
[0052] In this embodiment, the processing module may be an integrated circuit chip having the ability to process signals. The above-mentioned processing module may be a general-purpose processor. For example, the processor may be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.
[0053] The storage module may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the storage module may be used to store a program, and the processing module executes the program after receiving an execution instruction.
[0054] Understandably, Figure 1 The electronic device structure shown in FIG. 1 is only a schematic diagram of a structure. The electronic device may also include Figure 1 More components are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0055] Please refer to Figure 2 The present application also provides a method for confirming the tinted area of a vehicle window glass. The voice message method may include the following steps:
[0056] Step 110, obtaining the current geographical location of the vehicle and the location information of the designated light source, and obtaining the relative angle between the designated light source and the vehicle, wherein the location information of the designated light source includes an azimuth angle and an altitude angle;
[0057] Step 120, when the number of times the vehicle has traveled to the current geographical location reaches a preset number, the historical vehicle body posture information obtained when the vehicle traveled to the current geographical location is determined as the current vehicle body posture information;
[0058] Step 130 , based on the current vehicle body posture information and relative angle information, obtain the illumination area of the designated light source on the vehicle window glass, and obtain the tinted area of the vehicle window glass according to the illumination area.
[0059] In this embodiment, the designated light source may be the sun. The technical solution proposed in this embodiment will be explained below by taking the designated light source being the sun as an example.
[0060] The geographical location proposed in step 110 and step 120 can be expressed in terms of longitude and latitude. The longitude and latitude data of the vehicle can be obtained through the positioning system by the navigation positioning module of the vehicle.
[0061] The above steps are described in detail below.
[0062] In step 110, the sun's position information includes the sun's azimuth angle and the sun's altitude angle.
[0063] like Figure 3 As shown, step 110 may include the following steps, specifically:
[0064] Step 111, obtaining the equatorial coordinates of the sun;
[0065] Step 112, spatially transforming the coordinate system where the current geographical location is located and the coordinate system where the equatorial coordinates are located into the same static coordinate system to obtain the first position coordinates and the second position coordinates;
[0066] Step 113, obtaining a relative angle according to the first position coordinate and the second position coordinate.
[0067] In step 111, the equatorial coordinates of the sun may include the sun's right ascension and declination, and the sun's position information and the sun's right ascension and declination may be obtained in the following manner: the vehicle's navigation and positioning module transmits the vehicle's longitude, latitude and other data to the network communication module via the vehicle's vehicle communication bus, and the network communication module obtains the sun's altitude angle, azimuth and other data at the vehicle's location from the cloud based on the vehicle's longitude, latitude and other data; and at the same time, the sun's right ascension and declination are obtained from the cloud.
[0068] In step 112, the current geographical location of the vehicle and the equatorial coordinates of the sun are not in the same coordinate system. Since both the vehicle and the sun are in motion, it is necessary to perform spatial transformation on the two, establish a static coordinate system, transform the moving system into a stationary system, and transform the geographical location and the equatorial coordinates into the same static coordinate system, which can be a geodetic coordinate system or a vehicle coordinate system. The first position coordinate represents the position of the current geographical location in the static coordinate system, and the second position coordinate represents the position of the equatorial coordinate in the static coordinate system;
[0069] In step 113, the relative angle between the vehicle and the sun is obtained based on the first position coordinate and the second position coordinate, for example, the sun is at a 45° angle to the right rear of the vehicle. At this time, the moving vehicle and the sun are included in the same static coordinate system. Then, calculations can be performed in the static coordinate system to finally obtain the projection relationship between the light emitted by the sun and the vehicle.
[0070] In step 120, when the number of times the vehicle has traveled to the current geographical location does not reach the preset number of times, the current vehicle body posture information can be calculated by the following method:
[0071] The navigation and positioning module includes a device for collecting vehicle attitude data, which is an inertial navigation module, which may be a gyroscope, or a dedicated vehicle attitude acquisition sensor. When the vehicle attitude changes, such as changing the direction, tilting, etc., the attitude data collected by the inertial navigation module will also change. The attitude information is 6-axis attitude data, including X / Y / Z three axes, and X-axis rotation / Y-axis rotation / Z-axis rotation data. The X, Y, and Z axes in this embodiment are based on the three axes in the vehicle coordinate system, wherein the X axis represents the length direction of the vehicle, the Y axis represents the width direction of the vehicle, and the Z axis represents the height direction of the vehicle, and the body attitude information parameters include the position of the vehicle in the length direction of the body, the torsion angle of the vehicle in the length direction of the body, the acceleration of the vehicle in the length direction of the body, the position of the vehicle in the width direction of the body, the torsion angle of the vehicle in the width direction of the body, the acceleration of the vehicle in the width direction of the body, the position of the vehicle in the height direction of the body, and the torsion angle of the vehicle in the height direction of the body.
[0072] The airbag module integrates an acceleration acquisition device, which can acquire the vehicle's motion state, acceleration or deceleration, straight-line driving or turning through the vehicle acceleration information collected by the velocity acquisition device. The acceleration information is divided into lateral acceleration and longitudinal acceleration.
[0073] In three-dimensional space, the vehicle is affected by the terrain, and its orientation, twisting and other data are different when it is in different positions. Different vehicle postures will affect the area where the sun shines on the vehicle body. Due to the occlusion relationship, the light cannot pass through non-translucent objects. When the vehicle is in different terrains, such as when the vehicle is uphill, the front axle is higher than the rear axle; when the vehicle is on a side slope, the left side of the vehicle body is higher than the right side. In this way, if the sun shines on the vehicle from the high side, the sun will be mainly concentrated on the high side; at this time, only the window glass on the high side needs to be discolored, while the low side does not need to be discolored. Therefore, the calculation of the current vehicle body posture information plays an important role in confirming the window irradiation area.
[0074] In this embodiment, the current body posture information of the vehicle can be obtained in the following manner.
[0075] A vehicle model is established based on the three-dimensional data of the vehicle, and the data such as the X-axis, X-axis rotation, Y-axis, Y-axis rotation, Z-axis, Y-axis rotation, lateral acceleration, and longitudinal acceleration received through the vehicle communication bus are then calculated to obtain the vehicle's posture information. For example, the method of calculating the vehicle's posture information based on the data such as the X-axis, X-axis rotation, Y-axis, Y-axis rotation, Z-axis, Y-axis rotation, lateral acceleration, and longitudinal acceleration can be:
[0076] According to the six-axis data, the vehicle's attitude angle is calculated. The vehicle's attitude angle includes roll angle, pitch angle and yaw angle. The roll angle (roll) indicates the angle of rotation around the X-axis, indicating the left and right tilt of the vehicle; the pitch angle indicates the angle of rotation around the Y-axis, indicating the front and back tilt of the vehicle. The yaw angle indicates the angle of rotation around the Z-axis, indicating the vehicle's heading or horizontal rotation. Based on the vehicle's attitude angle, the vehicle's current body attitude information can be obtained.
[0077] The three axes X, Y, and Z of this embodiment are all based on the vehicle coordinate system.
[0078] In this embodiment, after the current body posture information is calculated, the current body posture information is stored as the historical body posture information. When the number of times the vehicle has driven to the current geographical location reaches a preset number, the stored historical body posture information is directly called as the current body posture information, which can reduce the vehicle's consumption of calculating the body posture information, thereby saving computing power and improving the response time of the system.
[0079] In at least one embodiment, the vehicle stores the geographic location coordinates of the locations where the vehicle has traveled in a storage module of the vehicle. When there is a historical geographic location that is the same as the current geographic location, it indicates that the vehicle has historically traveled to the current geographic location.
[0080] In at least one embodiment, whether the vehicle has historically traveled to the current geographic location may be determined by:
[0081] Collecting suspension control parameters of the vehicle at least at two time points in a current time period to obtain a current relationship line representing a change of the current suspension control parameters over time;
[0082] If there is a historical geographic location of the vehicle that matches the current positioning information, a historical relationship line corresponding to the vehicle at the current geographic location is obtained, the historical relationship line indicating that the suspension control parameters obtained when the vehicle travels to the historical geographic location change over time, and the distance difference between the current geographic location and the historical geographic location is within a preset distance range;
[0083] If the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographical location is determined to be a location where the vehicle has traveled in the past.
[0084] In the above steps, both the current relationship line and the historical relationship line reflect the information of the road characteristics. The road is not completely flat. When zoomed in, it will show different gradients. These gradients can be understood as the characteristic information of the road. The wheels will bounce due to the continuous gradient when driving, and the bounce information is different for different roads. Therefore, the wheel bounce information can be equivalent to the road characteristic information; by learning and memorizing this information, it can be identified whether the vehicle passes the same place the next time it drives. On vehicles equipped with air suspension, the damping force output by the suspension is adjusted by adjusting the control parameters of the suspension, thereby achieving the effect of suppressing the bounce of the wheels. The suspension control parameters include the solenoid valve current and the airbag height.
[0085] In at least one embodiment, the damping force output is adjusted by controlling the aperture size of the air suspension solenoid valve and the height of the airbag. The aperture size of the solenoid valve is generally controlled by current, and the height of the airbag is collected by a height sensor. That is, by recording the changes in the current size of the solenoid valve and the height of the airbag, the characteristic information of the current road can be indirectly known.
[0086] In this embodiment, when there is a historical geographic location that matches the current geographic location, a current relationship line is obtained through at least two time points within the current time period, and the current relationship line represents the changing relationship between the suspension control parameters and time, and may include the current solenoid valve current relationship lines of the four wheels and the current airbag height relationship lines of the four wheels. Then, the historical relationship lines associated with the historical geographic location are obtained in the vehicle's storage module, that is, the historical solenoid valve current relationship lines of the four wheels and the airbag height relationship lines of the four wheels obtained when the vehicle was traveling at the historical geographic location.
[0087] In this embodiment, when the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, it means that the road features of the historical geographical location and the current geographical location are the same. In at least one embodiment, when the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, it means that the similarity between the current solenoid valve current relationship line of the left front wheel and the historical solenoid valve current relationship line of the left front wheel is greater than a specified threshold, the similarity between the current solenoid valve current relationship line of the left rear wheel and the historical solenoid valve current relationship line of the left rear wheel is greater than a specified threshold, the similarity between the current solenoid valve current relationship line of the right front wheel and the historical solenoid valve current relationship line of the right front wheel is greater than a specified threshold, and the right rear wheel is The similarity between the front solenoid valve current relationship line and the historical solenoid valve current relationship line of the right rear wheel is greater than the specified threshold, the similarity between the current airbag height relationship line of the left front wheel and the historical airbag height relationship line of the left front wheel is greater than the specified threshold, the similarity between the current airbag height relationship line of the left rear wheel and the historical airbag height relationship line of the left rear wheel is greater than the specified threshold, the similarity between the current airbag height relationship line of the right front wheel and the historical airbag height relationship line of the right front wheel is greater than the specified threshold, and the similarity between the current airbag height relationship line of the right rear wheel and the historical airbag height relationship line of the right rear wheel is greater than the specified threshold, indicating that the road characteristics of the historical geographical location and the current geographical location are the same.
[0088] The similarity threshold can be obtained based on actual bench tests or numerical simulations of vehicle vibrations. Setting the similarity threshold can improve the accuracy of judging road feature information.
[0089] Exemplarily, in order to increase the accuracy of judging the road feature information, a driving number T is set, which is stored in the storage module of the vehicle and is associated with the longitude, latitude, right front wheel solenoid valve current, right front wheel airbag height, left front wheel solenoid valve current, left front wheel airbag height, left rear wheel solenoid valve current, left rear wheel airbag height, right rear wheel solenoid valve current, right rear wheel airbag height and other information of the vehicle. There are different driving numbers T at different longitudes and latitudes. When driving, if a matching historical geographical location and a historical relationship line with a similarity higher than the similarity threshold are collected, the driving number count is increased by one, that is, T+1. At the current geographical location, it will be judged whether the driving number T is greater than 2. If so, the historical body posture information of the vehicle's historical driving to the current geographical location is called as the current body posture information. If not, the current body posture information is calculated according to the body posture information parameters.
[0090] For example, Figure 4 As shown, the method for obtaining the current vehicle body posture information may be:
[0091] S1: Determine the current geographic location of the vehicle;
[0092] S2: Determine whether the vehicle has traveled to the current geographical location in the past. If so, proceed to S3; otherwise, proceed to S6;
[0093] S3: Determine whether the number of historical driving times to the current geographical location is greater than 2, where 2 in this embodiment is a preset number. If yes, proceed to S4, otherwise proceed to S6;
[0094] S4: Determine whether historical vehicle body posture information is stored, if so, proceed to S5, otherwise proceed to S6;
[0095] S5: calling the stored historical vehicle body posture information as the current vehicle body posture information, and then entering S8;
[0096] S6: Calculate current vehicle body posture information;
[0097] S7: Calculate the number of times, the calculation method is T+1, then store the number of times and stop the process;
[0098] S8: storing the current vehicle body posture information;
[0099] S9: Upload the current vehicle posture information and times to the cloud for storage.
[0100] In step 130 , based on the current vehicle body posture information and relative angle information, an illumination area of the designated light source on the vehicle window glass is obtained, and a tinted area of the vehicle window glass is obtained according to the illumination area.
[0101] The current vehicle body posture information is obtained in step 120 .
[0102] The relative angle information reflects the relative position of the sun and the vehicle. Combined with the current vehicle body posture information, the illumination area of the sun on the vehicle's window glass can be obtained. Based on the illumination area, the area of the vehicle's window that needs to be discolored can be obtained.
[0103] The position of the vehicle and the sun changes, that is, the incident direction of the sun's rays will also change, which will also affect the area where the sun's rays shine on the vehicle body. Due to the movement of the earth and the movement of the vehicle, the direction of the sun's rays is not fixed, so the relative position of the sun and the vehicle is always changing. If the relative position of the vehicle and the sun is determined, the relationship between the sun's rays and the vehicle cannot be determined. The determination of the relative position can transform the dynamic system into a static system, making it easier to calculate the projection relationship between the sun's rays and the vehicle.
[0104] Exemplarily, a three-dimensional model of the vehicle is first established based on the current vehicle body posture information, and then ray tracing technology is used to simulate the process of sunlight starting from the sun's position, passing through the atmosphere and irradiating the vehicle. Based on the results of ray tracing, the irradiation area of the sunlight on the vehicle body glass is determined.
[0105] This embodiment further includes step 140 after step 130 .
[0106] like Figure 5 As shown, step 140 may be:
[0107] Step 141: Obtaining light intensity and weather information of the current geographical location, where the weather information includes ultraviolet intensity and PM2.5 concentration;
[0108] Step 142: Correcting the light intensity according to weather information;
[0109] Step 143: Adjust the light transmittance of the vehicle window according to the corrected light intensity.
[0110] In step 141, the light intensity can be collected by the sunlight and rainfall sensor, and the weather information of the location of the vehicle can be obtained from the cloud according to the current location of the vehicle.
[0111] In step 142, the method of correcting the light intensity by weather information may be:
[0112] ①Build the model:
[0113] A comprehensive model can be built with UV intensity and PM2.5 concentration as input variables and light intensity as output variable. Through machine learning or regression analysis, the model can be trained to predict light intensity under different UV intensity and PM2.5 concentration.
[0114] ②Real-time monitoring and adjustment:
[0115] In practical applications, the intensity of ultraviolet rays and PM2.5 concentration can be monitored in real time, and the brightness or power of the light source can be adjusted according to the model prediction results, thus achieving dynamic correction and optimization of light intensity.
[0116] ③Verification and optimization:
[0117] In practical applications, the model needs to be verified and optimized. By comparing the differences between the model prediction results and the actual measurement results, the model can be adjusted and optimized to improve the accuracy of the prediction.
[0118] In step 143, the glass transmittance of the vehicle window is adjusted in the following manner: when the corrected light intensity increases, the tinting degree of the tinted vehicle window is higher to reduce the glass transmittance of the vehicle window; when the corrected light intensity decreases, the tinting degree of the tinted vehicle window becomes lower to increase the glass transmittance of the vehicle window.
[0119] In this embodiment, images in four directions around the vehicle can be collected in real time to determine whether the window is exposed to sunlight. If the photochromic window is exposed to sunlight, a flag indicating whether the window is exposed to light will be set to 1; the four photochromic windows have 4 corresponding flags, and only when the corresponding flag is 1 can the corresponding photochromic window be tinted.
[0120] Please refer to Figure 6 Based on the above method, the present application also provides a vehicle window glass tinting area confirmation device, which includes at least one software function module that can be stored in a storage module or fixed in an operating system (OS) in the form of software or firmware. The processing module is used to execute the executable module stored in the storage module, such as the software function module and computer program included in the vehicle window glass tinting area confirmation device.
[0121] The vehicle window glass tinted area confirmation device includes an acquisition module 200, a vehicle body posture information calculation module 300 and a tinted area confirmation module 400, and the functions of each unit may be as follows:
[0122] The acquisition module 200 is configured to acquire the current geographical location of the vehicle and the location information of the designated light source to obtain the relative angle between the designated light source and the vehicle. The location information of the designated light source includes an azimuth angle and an altitude angle.
[0123] The vehicle body posture information calculation module 300 is configured to determine the historical vehicle body posture information obtained when the vehicle has historically traveled to the current geographical location as the vehicle's current vehicle body posture information when the number of times the vehicle has traveled to the current geographical location reaches a preset number.
[0124] The tinting area confirmation module 400 is configured to obtain an illumination area of a designated light source on a vehicle window glass based on current vehicle body posture information and relative angle information, and obtain a tinting area of the vehicle window glass according to the illumination area.
[0125] The vehicle body posture information module 300 is further configured to collect suspension control parameters of the vehicle at at least two time points within the current time period, and obtain a current relationship line that characterizes the change of the current suspension control parameters over time; if there is a historical geographic location of the vehicle that matches the current positioning information, obtain the historical relationship line corresponding to the vehicle at the current geographic location, the historical relationship line indicates that the suspension control parameters obtained when the vehicle travels to the historical geographic location change over time, and the distance difference between the current geographic location and the historical geographic location is within a preset distance range; if the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographic location is determined to be a location where the vehicle has traveled historically.
[0126] The body posture information module 300 is also configured to obtain body posture information parameters of the vehicle when the number of times the vehicle has traveled to the current geographical location does not reach a preset number of times. The body posture information parameters include the position of the vehicle in the length direction of the body, the torsion angle of the vehicle in the length direction of the body, the acceleration of the vehicle in the length direction of the body, the position of the vehicle in the width direction of the body, the torsion angle of the vehicle in the width direction of the body, the acceleration of the vehicle in the width direction of the body, the position of the vehicle in the height direction and the torsion angle of the vehicle in the height direction; based on the body posture information parameters, the current body posture information is obtained.
[0127] The acquisition module 200 is further configured to acquire the equatorial coordinates of the designated light source; unify the current geographical location and the equatorial coordinates into the same static coordinate system; and obtain the relative angle according to the location information of the designated light source in the static coordinate system and the current geographical location.
[0128] The device described in this embodiment also includes an adjustment module 500, which is configured to obtain the light intensity and weather information of the current geographical location, the weather information including ultraviolet intensity and PM2.5 concentration; correct the light intensity according to the weather information; adjust the window tinting degree of the tinted area of the window glass according to the corrected light intensity, and the adjustment method includes: when the corrected light intensity increases, increasing the window tinting degree of the tinted area of the window glass, so as to reduce the glass transmittance of the tinted area of the window glass; when the corrected light intensity decreases, reducing the tinting degree of the tinted area of the window glass, so as to increase the glass transmittance of the tinted area of the window glass.
[0129] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the corresponding process of each step in the aforementioned method, and will not be elaborated here.
[0130] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the vehicle window glass tinted area confirmation method as described in the above embodiment.
[0131] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented by hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0132] In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code includes one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0133] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for confirming a tinted area of a vehicle window glass, characterized in that: The method comprises: Acquire the current geographic location of the vehicle and the location information of the designated light source, and obtain the relative angle between the designated light source and the vehicle, wherein the location information of the designated light source includes an azimuth angle and an altitude angle; When the number of times the vehicle has traveled to the current geographical location reaches a preset number, the historical vehicle body posture information obtained when the vehicle traveled to the current geographical location is determined as the current vehicle body posture information of the vehicle; Based on the current vehicle body posture information and the relative angle, an illumination area of the designated light source on the vehicle window glass is obtained, and a tinted area of the vehicle window glass is obtained according to the illumination area.
2. The method according to claim 1, characterized in that Between acquiring the current geographical location of the vehicle and the location information of the designated light source and determining the current body posture information of the vehicle, the method further includes: Collecting suspension control parameters of the vehicle at at least two time points in a current time period to obtain a current relationship line representing a change of the current suspension control parameters over time; If there is a historical geographical location of the vehicle that matches the current geographical location, obtaining a historical relationship line corresponding to the vehicle at the current geographical location, the historical relationship line indicating changes over time in suspension control parameters obtained when the vehicle travels to the historical geographical location, and the distance difference between the current geographical location and the historical geographical location is within a preset distance range; If the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographical location is determined to be a location where the vehicle has traveled historically.
3. The method according to claim 2, characterized in that The suspension control parameters include solenoid valve current and / or airbag height.
4. The method according to claim 3, characterized in that: The current relationship line includes a relationship line of the current electromagnetic valve current changing with time, and / or a relationship line of the current airbag height changing with time; the historical relationship line includes a relationship line of the historical electromagnetic valve current changing with time, and / or a relationship line of the historical airbag height changing with time; When the similarity between the current solenoid valve current change over time relationship line and the historical solenoid valve current change over time relationship line is greater than a specified threshold, and / or the current airbag height change over time relationship line and the historical airbag height change over time relationship line are greater than a specified threshold, the similarity between the current relationship line and the historical relationship line is greater than the specified threshold.
5. The method according to claim 1, characterized in that Between the step of acquiring the current geographical location of the vehicle and the location information of the designated light source and the step of obtaining the tinted area of the vehicle window glass, the method further comprises: When the number of times the vehicle has traveled to the current geographical location does not reach a preset number, obtaining a body posture information parameter of the vehicle, the body posture information parameter including at least one of a torsion angle of the vehicle in a body length direction, a torsion angle of the vehicle in a body width direction, and a torsion angle of the vehicle in a body height direction; Based on the vehicle body posture information parameters, the current vehicle body posture information is obtained.
6. The method according to claim 1, characterized in that The step of acquiring the current geographical location of the vehicle and the location information of the designated light source to obtain the relative angle between the designated light source and the vehicle includes: Get the equatorial coordinates of the specified light source; Transform the coordinate system where the current geographical location is located and the coordinate system where the equatorial coordinates are located into the same static coordinate system to obtain a first position coordinate and a second position coordinate, wherein the first position coordinate represents the position of the current geographical location in the static coordinate system, and the second position coordinate represents the position of the equatorial coordinate in the static coordinate system; The relative angle is obtained according to the first position coordinates and the second position coordinates.
7. The method according to claim 1, characterized in that The method further comprises: Obtaining light intensity and weather information of the current geographical location, wherein the weather information includes ultraviolet intensity and PM2.5 concentration; Correcting the light intensity according to the weather information; According to the corrected light intensity, the window tinting degree of the tinted area of the window glass is adjusted, including: when the corrected light intensity increases, the window tinting degree of the tinted area of the window glass is increased, so as to reduce the glass transmittance of the tinted area of the window glass; when the corrected light intensity decreases, the tinting degree of the tinted area of the window glass is reduced, so as to increase the glass transmittance of the tinted area of the window glass.
8. A device for determining the tinted area of a vehicle window glass, characterized in that: include: an acquisition module, configured to acquire the current geographical location of the vehicle and the location information of a designated light source, and obtain a relative angle between the designated light source and the vehicle, wherein the location information of the designated light source includes an azimuth angle and an altitude angle; a body posture information calculation module configured to determine, when the number of times the vehicle has traveled to the current geographical location reaches a preset number, historical body posture information obtained when the vehicle has traveled to the current geographical location as current body posture information of the vehicle; The tinting area confirmation module is configured to obtain the illumination area of the designated light source on the vehicle window glass based on the current vehicle body posture information and the relative angle information, and obtain the tinting area of the vehicle window glass according to the illumination area.
9. The device according to claim 8, characterized in that The vehicle body posture information module is further configured to collect suspension control parameters of the vehicle at least two time points in a current time period to obtain a current relationship line representing a change in the current suspension control parameters over time; If there is a historical geographical location of the vehicle that matches the current positioning information, a historical relationship line corresponding to the current geographical location of the vehicle is obtained, wherein the historical relationship line indicates that the suspension control parameters obtained when the vehicle travels to the historical geographical location change over time, and the distance difference between the current geographical location and the historical geographical location is within a preset distance range; If the similarity between the current relationship line and the historical relationship line is greater than a specified threshold, the current geographical location is determined to be a location where the vehicle has traveled historically.
10. An electronic device, characterized in that: The electronic device comprises a processor and a memory coupled to each other, wherein the memory stores a computer program. When the computer program is executed by the processor, the electronic device executes the method as claimed in any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.
12. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.