Method and device for adjusting the light transmission of a windscreen
By acquiring the physiological characteristics and environmental information of the driver and passengers, and using a server to determine the appropriate light intensity and adjust the light transmittance of the windshield, the problem of inflexible and inaccurate light transmittance adjustment in existing technologies is solved, thereby improving the driving experience and driving safety.
Patent Information
- Application Number
- CN202310337237.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-03-31
AI Technical Summary
In existing technologies, the flexibility and accuracy of adjusting windshield light transmittance are poor, resulting in low matching between the driver and passengers, which affects the driving experience and vehicle driving safety.
By acquiring physiological characteristic information of the driver and passengers and environmental information of the target location, a matching second light intensity is determined, and the light transmittance of the windshield is adjusted according to the first and second light intensities so that the light intensity after light transmission matches the driver and passengers. This includes using image acquisition devices and voice acquisition devices to acquire physiological characteristic information, using a server to determine a suitable light intensity, and adjusting the light transmittance through an adjustment module.
It improves the flexibility and accuracy of adjusting the light transmittance of the windshield, allowing drivers and passengers to adapt to the light intensity after it passes through, thus enhancing the driving experience and driving safety.
Smart Images

Figure CN116176233B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of vehicle control, in particular to a windshield light transmittance adjustment method and device. BACKGROUND
[0002] With the continuous development of vehicle control technology, the light transmittance of the windshield of a vehicle can be adjusted according to the intensity of light.
[0003] In the related art, a light sensor is installed in the windshield, and the light sensor is used to collect the intensity of light that transmits through the windshield. In a case where the intensity of light that transmits through the windshield collected by the light sensor is greater than an intensity threshold, the light transmittance of the windshield is adjusted to a target light transmittance, so that the intensity of light that transmits through the windshield is not greater than the intensity threshold.
[0004] However, the above-mentioned windshield light transmittance adjustment method has poor flexibility, so that the light transmittance of the windshield after adjustment has low matching degree with the driver and passenger of the vehicle, the accuracy of the adjustment of the light transmittance of the windshield is low, and thus the driving experience of the driver and passenger of the vehicle is affected, and the safety of the vehicle driving is affected. SUMMARY
[0005] Embodiments of the present application provide a windshield light transmittance adjustment method and device, which can be used to solve the problems in the related art. The technical solution is as follows:
[0006] In one aspect, the present application provides a windshield light transmittance adjustment method, which comprises:
[0007] obtaining physiological characteristic information of a driver and passenger of a vehicle, environmental information of a target position, and a first light intensity, the first light intensity being a light intensity actually borne by the driver and passenger at the target position in a case where the light transmittance of a windshield of the vehicle is an initial light transmittance, and the target position being a position where the vehicle is located;
[0008] determining a second light intensity matched by the driver and passenger under the environmental information of the target position according to the physiological characteristic information of the driver and passenger and the environmental information of the target position;
[0009] determining a target light transmittance according to the first light intensity and the second light intensity based on the first light intensity and the second light intensity being different;
[0010] adjusting the light transmittance of the windshield to the target light transmittance, so that the intensity of light that transmits through the windshield after the adjustment of the light transmittance is the second light intensity.
[0011] In a possible implementation, the determining the target light transmittance according to the first light intensity and the second light intensity comprises:
[0012] determining a light transmittance adjustment ratio according to the first light intensity and the second light intensity;
[0013] determining the target light transmittance according to the initial light transmittance and the light transmittance adjustment ratio.
[0014] In a possible implementation, the physiological feature information of the driver or passenger includes any one of a first facial image of the driver or passenger and voice data of the driver or passenger.
[0015] The determining the second light intensity matched by the driver or passenger under the environmental information of the target location according to the physiological feature information of the driver or passenger and the environmental information of the target location comprises:
[0016] sending, to a server, an acquisition request including the physiological feature information of the driver or passenger and the environmental information of the target location, the acquisition request being used for the server to determine the second light intensity matched by the driver or passenger under the environmental information of the target location based on the physiological feature information of the driver or passenger and the environmental information of the target location.
[0017] receiving the second light intensity matched by the driver or passenger under the environmental information of the target location returned by the server based on the acquisition request.
[0018] In a possible implementation, after the adjusting the light transmittance of the windshield to the target light transmittance, the method further comprises:
[0019] acquiring a second facial image of the driver or passenger;
[0020] recognizing the second facial image to obtain a pupil diameter of the driver or passenger, the pupil diameter of the driver or passenger being used to indicate whether the driver or passenger is adapted to the second light intensity.
[0021] based on the pupil diameter of the driver or passenger indicating that the driver or passenger is not adapted to the second light intensity, adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger, so that the driver or passenger is adapted to the light intensity of the windshield after the light transmittance adjustment.
[0022] In a possible implementation, the adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger comprises:
[0023] determine, based on the pupil diameter of the driver or passenger being less than a first diameter, a direct-look condition of the eye of the driver or passenger, the direct-look condition being indicative of whether the eye is directly looked at by the light ray;
[0024] determine, based on the direct-look condition of the eye being indicative of the eye being directly looked at by the light ray, a target region on the windshield where the light transmittance needs to be adjusted according to the position information of the eye;
[0025] adjust the light transmittance of the target region to a first light transmittance, the first light transmittance being lower than the target light transmittance.
[0026] In a possible implementation, the determining the direct-look condition of the eye of the driver or passenger comprises:
[0027] obtaining an incident angle of the light ray and position information of the eye of the driver or passenger;
[0028] determining, according to the position information of the eye of the driver or passenger, a target angle, the target angle being an angle threshold value at which the eye of the driver or passenger is not directly looked at by the light ray;
[0029] determining, based on the incident angle of the light ray being less than the target angle, that the direct-look condition of the eye of the driver or passenger is indicative of the eye being directly looked at by the light ray.
[0030] In a possible implementation, the determining the target region on the windshield where the light transmittance needs to be adjusted according to the position information of the eye comprises:
[0031] determining, according to the position information of the eye and an incident direction of the light ray, a target point, the target point being located on the windshield;
[0032] determining the target region with the target point as a center and a target length as a reference distance.
[0033] In a possible implementation, the adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger comprises:
[0034] determining, based on the pupil diameter of the driver or passenger being less than a first diameter, a direct-look condition of the eye of the driver or passenger, the direct-look condition being indicative of whether the eye is directly looked at by the light ray;
[0035] adjusting, based on the direct-look condition of the eye being indicative of the eye not being directly looked at by the light ray, the light transmittance of the windshield to a first light transmittance, the first light transmittance being lower than the target light transmittance.
[0036] In a possible implementation, the adjusting the light transmittance of the windshield according to the pupil diameter of the occupant includes:
[0037] adjusting the light transmittance of the windshield to a second light transmittance based on the pupil diameter of the occupant being greater than a second diameter, the second light transmittance being higher than the target light transmittance, and the second diameter being greater than the first diameter.
[0038] In another aspect, an embodiment of the present application provides an adjusting device for light transmittance of a windshield, the device comprising:
[0039] an obtaining module configured to obtain physiological characteristic information of an occupant of a vehicle, environmental information of a target position, and a first light intensity, the first light intensity being a light intensity actually borne by the occupant at the target position in a case where a light transmittance of a windshield of the vehicle is an initial light transmittance, and the target position being a position where the vehicle is located;
[0040] a determining module configured to determine a second light intensity matched by the occupant under the environmental information of the target position according to the physiological characteristic information of the occupant and the environmental information of the target position;
[0041] The determining module is further configured to determine a target light transmittance according to the first light intensity and the second light intensity based on the first light intensity and the second light intensity being different.
[0042] an adjusting module configured to adjust the light transmittance of the windshield to the target light transmittance, so that a light intensity of light passing through the windshield after the adjustment of the light transmittance is the second light intensity.
[0043] In a possible implementation, the determining module is configured to determine a light transmittance adjustment ratio according to the first light intensity and the second light intensity, and determine the target light transmittance according to the initial light transmittance and the light transmittance adjustment ratio.
[0044] In a possible implementation, the physiological characteristic information of the occupant includes any one of a first facial image of the occupant and voice data of the occupant.
[0045] The determining module is configured to send an obtaining request to a server, the obtaining request including the physiological characteristic information of the occupant and the environmental information of the target position, the obtaining request being used for the server to determine the second light intensity matched by the occupant under the environmental information of the target position based on the physiological characteristic information of the occupant and the environmental information of the target position, and receive the second light intensity matched by the occupant under the environmental information of the target position returned by the server based on the obtaining request.
[0046] In a possible implementation, the acquisition module is further configured to acquire a second face image of the driver or passenger;
[0047] The device further includes:
[0048] The identification module is configured to identify the second face image to obtain a pupil diameter of the driver or passenger, the pupil diameter of the driver or passenger being used to indicate whether the driver or passenger is adapted to the second light intensity;
[0049] The adjustment module is further configured to, based on the pupil diameter of the driver or passenger indicating that the driver or passenger is not adapted to the second light intensity, adjust the light transmittance of the windshield according to the pupil diameter of the driver or passenger, so that the driver or passenger is adapted to the light intensity of the windshield after the light transmittance adjustment.
[0050] In a possible implementation, the determination module is configured to, based on the pupil diameter of the driver or passenger being less than a first diameter, determine a direct radiation condition of the eye of the driver or passenger, the direct radiation condition of the eye being used to indicate whether the eye is directly radiated by the light; based on the direct radiation condition of the eye indicating that the eye is directly radiated by the light, determine a target region of the windshield on which the light transmittance needs to be adjusted according to the position information of the eye.
[0051] The adjustment module is configured to adjust the light transmittance of the target region to a first light transmittance, the first light transmittance being lower than the target light transmittance.
[0052] In a possible implementation, the determination module is configured to acquire an incident angle of the light and position information of the eye of the driver or passenger; and determine a target angle according to the position information of the eye of the driver or passenger, the target angle being an angle threshold at which the eye of the driver or passenger is not directly radiated by the light; based on the incident angle of the light being less than the target angle, determine that the direct radiation condition of the eye of the driver or passenger indicates that the eye is directly radiated by the light.
[0053] In a possible implementation, the determination module is configured to determine a target point on the windshield according to the position information of the eye and the incident direction of the light; and determine the target region with the target point as a center and with a target length as a reference distance.
[0054] In a possible implementation, the determination module is configured to, based on the pupil diameter of the driver or passenger being less than a first diameter, determine a direct radiation condition of the eye of the driver or passenger, the direct radiation condition of the eye being used to indicate whether the eye is directly radiated by the light;
[0055] The adjustment module is used to adjust the light transmittance of the windshield to a first light transmittance, which is lower than the target light transmittance, based on the indication that the eyes are not directly exposed to the light.
[0056] In one possible implementation, the adjustment module is used to adjust the light transmittance of the windshield to a second light transmittance, which is higher than the target light transmittance, based on the fact that the pupil diameter of the driver / passenger is greater than a second diameter, and the second diameter is greater than a first diameter.
[0057] On the other hand, embodiments of this application provide a computer device, the computer device including a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor, so that the computer device implements any of the above-described methods for adjusting the light transmittance of the windshield.
[0058] On the other hand, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement any of the above-described methods for adjusting the light transmittance of a windshield.
[0059] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-mentioned methods for adjusting the light transmittance of the windshield.
[0060] The technical solution provided in this application has at least the following beneficial effects:
[0061] The technical solution provided in this application obtains the physiological characteristic data of the driver and passenger, the environmental information of the target location, and the first light intensity actually experienced by the driver and passenger at the target location when the light transmittance of the vehicle's windshield is the initial light transmittance. Based on the physiological characteristic information of the driver and passenger and the environmental information of the target location, a second light intensity matching the driver and passenger is determined under the environmental information of the target location. When the first light intensity and the second light intensity are different, the light transmittance of the windshield is adjusted according to the first light intensity and the second light intensity, so that the light intensity of the windshield after the light transmittance adjustment matches the driver and passenger to a high degree. The adjustment of light transmittance is more flexible and accurate, thereby enabling the driver and passenger to adapt to the light intensity of the windshield after the light transmittance adjustment, so that the driver and passenger's vision is not affected, which can improve the driving experience of the driver and passenger and the driving safety of the vehicle to a certain extent. Attached Figure Description
[0062] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0063] Figure 1 This is a schematic diagram illustrating the implementation environment of a method for adjusting the light transmittance of a windshield provided in an embodiment of this application;
[0064] Figure 2 This is a flowchart illustrating a method for adjusting the light transmittance of a windshield according to an embodiment of this application;
[0065] Figure 3 This is a schematic diagram of a target area provided in an embodiment of this application;
[0066] Figure 4 This is a flowchart illustrating a method for adjusting the light transmittance of a windshield according to an embodiment of this application;
[0067] Figure 5 This is a schematic diagram of the structure of a windshield light transmittance adjustment device provided in an embodiment of this application;
[0068] Figure 6 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0069] Figure 7 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0070] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0071] Figure 1 This is a schematic diagram illustrating the implementation environment of a method for adjusting the light transmittance of a windshield provided in an embodiment of this application. Figure 1 As shown, the implementation environment includes a terminal device 101 and a server 102. The windshield light transmittance adjustment method provided in this application embodiment is implemented through the interaction between the terminal device 101 and the server 102.
[0072] Terminal device 101 can be an in-vehicle terminal or a device capable of remotely controlling a vehicle; this embodiment does not limit its use. Server 102 can be a single server, a server cluster consisting of multiple servers, or any of a cloud computing platform and a virtualization center; this embodiment does not limit its use. Server 102 communicates with terminal device 101 via a wired or wireless network. Server 102 has data receiving, data processing, and data sending functions. Of course, server 102 may also have other functions; this embodiment does not limit its use.
[0073] Terminal device 101 can refer to one of a plurality of terminal devices. This embodiment uses terminal device 101 as an example. Those skilled in the art will know that the number of terminal devices 101 can be more or less. For example, there may be only one terminal device 101, or there may be dozens or hundreds of terminal devices 101, or more. This application embodiment does not limit the number or type of terminal devices.
[0074] Those skilled in the art should understand that the terminal device 101 and server 102 described above are merely illustrative examples. Other existing or future terminal devices or servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0075] This application provides a method for adjusting the light transmittance of a windshield, which can be applied to the above-mentioned... Figure 1 The implementation environment shown is as follows: Figure 2 The flowchart shown in this application embodiment illustrates a method for adjusting the light transmittance of a windshield. This method can be implemented by... Figure 1 The terminal device 101 in the middle executes. For example... Figure 2 As shown, the method includes the following steps 201 to 204.
[0076] In step 201, the physiological characteristics of the vehicle's occupants, the environmental information of the target location, and the first light intensity are obtained.
[0077] Wherein, the first light intensity is the actual light intensity experienced by the occupant at the target location when the windshield of the vehicle has an initial light transmittance; that is, the first light intensity is the light intensity when light passes through the windshield with the initial light transmittance. The target location is the location of the vehicle. The occupant can be either the driver or a passenger. When the occupant is the driver, they are located in the driver's seat; when they are a passenger, they are located in the front passenger seat or the rear seat. The terminal device can be the vehicle's in-vehicle terminal or any device capable of remotely controlling the vehicle; this application does not limit this. The physiological characteristic information of the occupant includes, but is not limited to, either the occupant's first facial image or their voice data.
[0078] In one possible implementation, when the physiological characteristic information of the passenger includes a first facial image of the passenger, an image acquisition device capable of capturing images is installed in the vehicle. This image acquisition device can be any type of image acquisition device, and this application embodiment does not limit its use. For example, the image acquisition device is a camera. The image acquisition device and the terminal device communicate via a wired or wireless network. After the image acquisition device acquires the first facial image of the passenger, it sends the first facial image of the passenger to the terminal device, enabling the terminal device to obtain the first facial image of the passenger. Optionally, the image acquisition device is installed in a location convenient for acquiring the facial image of the passenger, such as near the A-pillar (the connecting pillar between the roof and the front cabin on the left and right front sides) or the reading lights.
[0079] When the physiological characteristic information of the driver / passenger includes the driver / passenger's voice data, the vehicle is equipped with a voice acquisition device capable of collecting voice data. This voice acquisition device can be any type of device capable of collecting voice data, and this application embodiment does not limit its use. For example, the voice acquisition device is a microphone. The voice acquisition device and the terminal device communicate via a wired or wireless network. After acquiring the driver / passenger's voice data, the voice acquisition device sends the voice data to the terminal device, enabling the terminal device to obtain the driver / passenger's voice data.
[0080] Optionally, the environmental information of the target location includes, but is not limited to, at least one of temperature and humidity. Taking the environmental information of the target location including temperature and humidity as an example, the vehicle is equipped with a temperature sensor and a humidity sensor, which communicate with the terminal device via a wired or wireless network. The temperature sensor detects temperature, and the humidity sensor detects humidity. When the vehicle is at the target location, the temperature sensor detects the temperature and sends it to the terminal device; the humidity sensor detects the humidity and sends it to the terminal device, so that the terminal device can obtain the temperature and humidity of the target location. Of course, when the environmental information of the target location includes other information, the vehicle is equipped with sensors corresponding to the other information. These sensors detect the other information and send it to the terminal device, so that the terminal device can obtain the other information about the target location.
[0081] In one possible implementation, a light sensor is also installed inside the vehicle's windshield. This sensor detects the actual light intensity experienced by the occupants. The sensor and a terminal device communicate via a wired or wireless network. When the vehicle is at the target location, the light sensor detects the windshield's transmittance as an initial transmittance, and then transmits the first light intensity, indicating the actual light intensity experienced by the occupants at that location, to the terminal device so that the terminal device can acquire this first light intensity.
[0082] Optionally, the process of obtaining the first light intensity can also be: obtaining the light intensity at the target location and the initial light transmittance of the vehicle's windshield; and using the product of the light intensity at the target location and the initial light transmittance as the first light intensity. The process of obtaining the light intensity at the target location includes obtaining the location information of the target location and obtaining the light intensity at the target location based on the location information. The process of obtaining the initial light transmittance of the vehicle's windshield includes: the terminal device is a vehicle-mounted terminal, the terminal device stores the initial light transmittance of the vehicle's windshield, and the initial light transmittance of the vehicle's windshield is retrieved from the storage space of the terminal device. The terminal device is a device for remotely controlling the vehicle; the terminal device sends a light transmittance acquisition request to the vehicle's vehicle-mounted terminal, and after receiving the light transmittance acquisition request, the vehicle's vehicle-mounted terminal sends the initial light transmittance of the vehicle's windshield to the terminal device, so that the terminal device obtains the initial light transmittance of the vehicle's windshield.
[0083] For example, if the initial transmittance is 0.7 and the light intensity at the target location is 9, then the first light intensity is 6.3.
[0084] In step 202, based on the physiological characteristics of the driver and passenger and the environmental information of the target location, a second illumination intensity matching the driver and passenger under the environmental information of the target location is determined.
[0085] In one possible implementation, after obtaining the physiological characteristic information of the driver / passenger and the environmental information of the target location in step 201 above, the terminal device generates an acquisition request, which includes the physiological characteristic information of the driver / passenger and the environmental information of the target location. The terminal device sends the acquisition request to the server, which instructs the server to determine the second illumination intensity matching the driver / passenger under the environmental information of the target location based on the physiological characteristic information of the driver / passenger and the environmental information of the target location.
[0086] The server receives and parses the request to obtain the physiological characteristics of the driver / passenger and the environmental information of the target location. Based on these two information, the server determines the appropriate second illumination intensity for the driver / passenger under the given environmental conditions. The server then returns this appropriate second illumination intensity to the terminal device, enabling the terminal device to obtain the appropriate second illumination intensity for the driver / passenger under the given environmental conditions.
[0087] The server stores a light intensity database for each object. Each object's light intensity database includes the matching light intensity for that object under various environmental conditions. The server also stores the correspondence between object identifiers and their respective light intensity databases. The process by which the server determines the second light intensity matching the target location's environmental conditions based on the physiological characteristics of the occupants and the environmental information of the target location includes: the server determining the object identifier of the occupants based on their physiological characteristics; if the occupants' object identifier exists in the correspondence between their stored object identifiers and their respective light intensity databases, then the occupants' light intensity database is retrieved. If the occupants' light intensity database includes the matching light intensity for the occupants under the target location's environmental conditions, then that matching light intensity is used as the second light intensity.
[0088] For example, Table 1 below is an exemplary table of a light intensity library for a driving or riding object provided in an embodiment of this application.
[0089] Table 1
[0090]
[0091] In Table 1 above, the light intensity matched to the driving and riding objects is light intensity 1 when the environmental information is: temperature 1 and humidity 1. The light intensity matched to the driving and riding objects when the environmental information is other is shown in Table 1 above, and will not be repeated here.
[0092] For example, if the environmental information of the target location is: temperature is 2 and humidity is 2, then the second light intensity matched to the driving object under the environmental information of the target location is light intensity 5.
[0093] In one possible implementation, if the mapping between object identifiers of various objects stored in the server and the light intensity database of various objects does not contain the object identifier of the driving / riding object, or if the mapping between object identifiers of various objects stored in the server and the light intensity database of various objects contains the object identifier of the driving / riding object, but the light intensity database of the driving / riding object does not include the light intensity matching the driving / riding object under the environmental information of the target location, then the physiological characteristic information of the driving / riding object is identified to obtain the object information of the driving / riding object; based on the light intensity matching a reference object under the environmental information of the target location, a second light intensity matching the driving / riding object under the environmental information of the target location is determined. Here, the reference object is an object whose object information is the same as the object information of the driving / riding object. Optionally, the average value of the light intensity matching the reference object under the environmental information of the target location is used as the second light intensity matching the driving / riding object under the environmental information of the target location. Alternatively, the mode of the light intensity matching the reference object under the environmental information of the target location is used as the second light intensity matching the driving / riding object under the environmental information of the target location.
[0094] Optionally, the object information of the driver / passenger can be the age or gender of the driver / passenger; this embodiment of the application does not limit this. Taking the age of the driver / passenger as an example, the physiological characteristic information of the driver / passenger is identified to obtain the age of the driver / passenger. The average light intensity matched by reference objects with the same age as the driver / passenger under the environmental information of the target location is used as the second light intensity matched by the driver / passenger under the environmental information of the target location.
[0095] For example, the age of the driver / passenger is 22 years old, and there are 3 reference objects of the same age. Under the environmental information of the target location, the light intensity matched by the first reference object is 6, the light intensity matched by the second reference object is 7, and the light intensity matched by the third reference object is 8. Then, the second light intensity matched by the driver / passenger under the environmental information of the target location is (6+7+8) / 3=7.
[0096] Using the object information of the driver and passenger as the gender of the driver and passenger, the physiological characteristic information of the driver and passenger is identified to obtain the gender of the driver and passenger. The average light intensity matched by the reference object with the same gender as the driver and passenger under the environmental information of the target location is used as the second light intensity matched by the driver and passenger under the environmental information of the target location.
[0097] For example, the gender of the driver / passenger is female, and there are 3 reference objects of the same gender. The first reference object matches a light intensity of 5 under the environmental information of the target location, the second reference object matches a light intensity of 6 under the environmental information of the target location, and the third reference object matches a light intensity of 7 under the environmental information of the target location. Therefore, the second light intensity matched by the driver / passenger under the environmental information of the target location is (5+6+7) / 3=6.
[0098] In step 203, the target transmittance is determined based on the difference between the first light intensity and the second light intensity.
[0099] In one possible implementation, after obtaining the first light intensity in step 201 and the second light intensity in step 202, it is determined whether the first and second light intensities are the same. If the first and second light intensities are the same, it means that when the windshield's transmittance is at its initial transmittance, the light intensity transmitted through the windshield matches the light intensity matching the occupants, and therefore, no adjustment to the windshield's transmittance is needed. If the first and second light intensities are different, it means that when the windshield's transmittance is at its initial transmittance, the light intensity transmitted through the windshield does not match the light intensity matching the occupants, and therefore, the windshield's transmittance needs to be adjusted. Before adjusting the windshield's transmittance, it is necessary to first determine the windshield's transmittance after adjustment, that is, to first determine the target transmittance. The process of determining the target transmittance based on the first light intensity and the second light intensity includes: determining the transmittance adjustment ratio based on the first light intensity and the second light intensity; and determining the target transmittance based on the initial transmittance and the transmittance adjustment ratio.
[0100] In one possible implementation, the process of determining the transmittance adjustment ratio based on the first light intensity and the second light intensity includes: using the ratio of the second light intensity to the first light intensity as the transmittance adjustment ratio. The process of determining the target transmittance based on the initial transmittance and the transmittance adjustment ratio includes: using the product of the initial transmittance and the transmittance adjustment ratio as the target transmittance.
[0101] For example, if the first light intensity is 6 and the second light intensity is 9, then the transmittance adjustment ratio is 1.5. If the initial transmittance of the vehicle's windshield is 30%, then the target transmittance is 45%.
[0102] In step 204, the light transmittance of the windshield is adjusted to the target light transmittance so that the light intensity transmitted through the windshield after the light transmittance adjustment is the second light intensity.
[0103] In one possible implementation, after determining the target light transmittance in step 203 above, an adjustment command is sent to the vehicle's windshield. The adjustment command includes the target light transmittance and is used to instruct the windshield's light transmittance to be adjusted to the target light transmittance. Alternatively, after determining the target light transmittance, the windshield's light transmittance is adjusted to the target light transmittance.
[0104] Optionally, after adjusting the light transmittance of the windshield to the target light transmittance, a second facial image of the driver / passenger can be acquired; the second facial image is then recognized to obtain the pupil diameter of the driver / passenger, which is used to indicate whether the driver / passenger is adapted to the second light intensity; based on the indication that the driver / passenger is not adapted to the second light intensity from the pupil diameter, the light transmittance of the windshield is adjusted according to the pupil diameter of the driver / passenger, so that the driver / passenger adapts to the light intensity of the windshield after the light transmittance adjustment.
[0105] In one possible implementation, the process of acquiring the second facial image of the driver / passenger is similar to the process of acquiring the first facial image of the driver / passenger in the above steps, and will not be described again here. The process of recognizing the second facial image to obtain the pupil diameter of the driver / passenger includes: recognizing the second facial image to obtain an eye image of the driver / passenger; and determining the pupil diameter of the driver / passenger in the eye image. The eye image of the driver / passenger can be an image of the driver / passenger's left eye, an image of the driver / passenger's right eye, or an image that includes both the left and right eyes; this embodiment does not limit this.
[0106] Optionally, the process of determining whether a driver or passenger is adapted to the second light intensity based on the pupil diameter includes: if the driver or passenger's pupil diameter is between a first diameter and a second diameter, then the driver or passenger is adapted to the second light intensity; if the driver or passenger's pupil diameter is not between the first diameter and the second diameter, then the driver or passenger is not adapted to the second light intensity. Here, the first diameter is the minimum pupil diameter, and the second diameter is the maximum pupil diameter. For example, the first diameter is 2.5 mm, and the second diameter is 4 mm.
[0107] The process of adjusting the light transmittance of the windshield based on the pupil diameter of the driver / passenger, indicating that the driver / passenger is not adapted to the second light intensity, includes: determining the direct illumination status of the driver / passenger's eyes based on the fact that the pupil diameter is less than a first diameter; determining whether the eyes are being directly illuminated by light based on the direct illumination status of the eyes; determining the target area on the windshield where the light transmittance needs to be adjusted based on the eye position information; and adjusting the light transmittance of the target area to a first light transmittance, which is lower than the target light transmittance.
[0108] Wherein, the first transmittance is any transmittance lower than the target transmittance, and this application embodiment does not limit this. For example, if the target transmittance is 4.5, then the first transmittance is 4, so the light intensity of light passing through the windshield with a transmittance of 4 is lower than the light intensity of light passing through the windshield with a transmittance of 4.5.
[0109] In one possible implementation, there are two ways to determine the direct line of sight to the driver's eyes.
[0110] The first method involves obtaining the incident angle of the light and the position information of the driver's / passenger's eyes; determining the target angle based on the position information of the driver's / passenger's eyes; determining whether the driver's / passenger's eyes are directly illuminated by the light based on the incident angle of the light not being less than the target angle; and determining whether the driver's / passenger's eyes are directly illuminated by the light based on the incident angle of the light being less than the target angle.
[0111] The target angle is defined as the threshold angle at which the eyes of the driver or passenger will not be directly illuminated by the light. This application does not limit the method for obtaining the incident angle of the light. Optionally, the incident angle of the light can be obtained in the following two ways.
[0112] Method 1: Obtain the location information of the target location and determine the solar altitude angle and solar azimuth angle of the target location; based on the solar altitude angle and solar azimuth angle of the target location, determine the incident angle of the light rays.
[0113] In one possible implementation, the vehicle is equipped with a positioning module for obtaining its location. The positioning module acquires the location information of the target location and sends this information to a terminal device, enabling the terminal device to obtain the target location's location information. Based on the target location information, the terminal device uses a tool to determine the solar altitude angle and solar azimuth angle of the target location, and then determines the angle of incidence of sunlight based on these angles.
[0114] Optionally, based on the location information of the target location, the solar altitude angle and solar azimuth angle determination tool is invoked. The process of determining the solar altitude angle and solar azimuth angle of the target location includes: inputting the location information of the target location into the solar altitude angle and solar azimuth angle determination tool, and then obtaining the solar altitude angle and solar azimuth angle of the target location. Based on the solar altitude angle and solar azimuth angle of the target location, the incident angle of the light is determined according to the following formula (1).
[0115] cosi=cosh·cosε Formula (1)
[0116] In the above formula (1), i is the incident angle of the light, h is the solar altitude angle, and ε is the solar azimuth angle.
[0117] Method 2: An angle sensor is installed in the vehicle. After the angle sensor obtains the incident angle of the light, it sends the incident angle of the light to the terminal device.
[0118] The angle sensor is used to obtain the incident angle of light. The angle sensor is a device whose bottom is filled with photosensitive elements. The device is hollow, with a small hole in the center of the top. The device is placed parallel to the vehicle. When light shines through the small hole at the top onto the photosensitive element at the bottom, a vector is established with the small hole as the starting point 'a' and the illuminated point on the photosensitive element as the ending point 'b'. vector The angle between the light source and the direction of travel of the vehicle is the angle of incidence of the light.
[0119] It should be noted that any of the above-mentioned implementation methods can be selected to obtain the incident angle of light, and the embodiments of this application do not limit this.
[0120] In one possible implementation, the process of obtaining the position information of the driver's eyes includes: installing two image acquisition devices in the vehicle, namely image acquisition device one and image acquisition device two; acquiring the first position information and first installation angle of image acquisition device one, and the second position information and second installation angle of image acquisition device two; determining a third angle based on the first installation angle, the second installation angle, and the triangle angle sum theorem; determining the distance between image acquisition device one and image acquisition device two based on the first position information and the second position information; determining a second distance based on the third angle, the second installation angle, and the first distance, the second distance being the distance between the first image acquisition device and the driver's eyes; and then determining the position information of the driver's eyes based on the second distance, the first position information, and the third angle.
[0121] Optionally, the process of determining the third angle based on the first installation angle, the second installation angle, and the triangle interior angle sum theorem includes: the sum of the interior angles of a triangle is 180 degrees, and the value of subtracting the first installation angle and the second installation angle from 180 degrees is the third angle. For example, if the first installation angle is α and the second installation angle is β, then the third angle is 180 - α - β.
[0122] In one possible implementation, the second distance is determined according to the third angle, the second installation angle and the first distance, according to the following formula (2).
[0123]
[0124] In the above formula (2), L2 is the second distance, L1 is the first distance, β is the second installation angle, and γ is the third angle.
[0125] The process of determining the position information of the driver's eyes based on the second distance, the first position information, and the third angle includes: determining multiple candidate points whose distance from the first image acquisition device indicated by the first position information is the second distance; and taking the position information of the candidate points whose angle formed by the line connecting them to the first image acquisition device and the line connecting them to the second image acquisition device is the third angle as the position information of the driver's eyes.
[0126] In one possible implementation, after obtaining the position information of the driver's eyes, the process of determining the target angle based on the position information of the driver's eyes includes: obtaining a reference point, which is a point at the top of the windshield, and taking the angle between the reference point and the driver's eyes in the vertical direction as the target angle.
[0127] The second method involves obtaining a first image and a second image based on the second facial image, and obtaining the image brightness of the first image and the image brightness of the second image; based on the fact that the image brightness of the first image is higher than the image brightness of the second image, it is determined that the eyes of the driver / passenger are directly illuminated by light.
[0128] The first image is the image corresponding to the eyes in the second facial image, and the second image is the image of the second facial image excluding the eyes. Based on the fact that the image brightness of the first image is not higher than the image brightness of the second image, it is determined that the eyes of the driver / passenger are not directly illuminated by light.
[0129] Optionally, the process of obtaining the image brightness of the first image includes: obtaining the pixel brightness of each pixel in the first image, and taking the average value of the pixel brightness of each pixel in the first image as the image brightness of the first image.
[0130] The process of obtaining the pixel brightness of each pixel in the first image includes: for any pixel in the first image, obtaining the R (Red), G (Green), and B (Blue) values of the pixel, and determining the pixel brightness of the pixel based on the R, G, and B values of the pixel.
[0131] Optionally, the pixel brightness of any pixel can be determined according to the following formula (3) based on the R value, G value and B value of any pixel.
[0132] Y = 0.299*R + 0.587*G + 0.114*B (Formula 3)
[0133] In the above formula (3), Y is the pixel brightness of any pixel, R is the R value of any pixel, G is the G value of any pixel, and B is the B value of any pixel.
[0134] It should be noted that the process of obtaining the image brightness of the second image is similar to that of the first image, and will not be described again here.
[0135] It should also be noted that either the first method described above or the second method described above can be used to determine the direct sunlight on the eyes of the driver or passenger. This application embodiment does not limit this.
[0136] When the eye is directly illuminated, the process of determining the target area based on the eye's position information includes: determining the target point, located on the windshield, based on the eye's position information and the direction of light incidence; and determining the target area using the target point as the center and the target length as a reference distance.
[0137] The target length is set based on experience or adjusted according to the implementation environment; this embodiment does not limit this. For example, the target length is 30 centimeters. Optionally, a ray is drawn from the position indicated by the eye's location information, in the opposite direction of the incident light, and the intersection of the ray and the windshield is taken as the target point.
[0138] For example, the process of determining the target area with the target point as the center and the target length as the reference distance includes: determining a circle with the target point as the center and the target length as the radius, and taking the area covered by the circle as the target area. Of course, the target area can also be other shapes; this embodiment only uses a circular target area as an example for illustration and does not limit the shape of the target area. Figure 3 This is a schematic diagram of a target area provided in an embodiment of this application.
[0139] Optionally, based on the fact that the pupil diameter of the driver / passenger is smaller than the first diameter and the direct illumination of the driver / passenger's eyes indicates that the driver / passenger's eyes are being directly illuminated, after determining the target area on the windshield where the light transmittance needs to be adjusted based on the eye position information, a shadow can also be displayed in the target area so that the light passes through the target area and then through the shadow, thereby reducing the actual light intensity experienced by the driver / passenger.
[0140] In one possible implementation, based on the fact that the pupil diameter of the occupant is smaller than a first diameter and that the occupant's eyes are not directly exposed to light, the light transmittance of the windshield is adjusted to a first light transmittance, which is lower than a target light transmittance. Alternatively, a shadow is displayed on the windshield so that light passes through the windshield and then through the shadow, thereby reducing the actual light intensity experienced by the occupant.
[0141] In one possible implementation, based on the fact that the pupil diameter of the driver / passenger is greater than a second diameter, the light transmittance of the windshield is adjusted to a second light transmittance, which is higher than a target light transmittance, and the second diameter is greater than a first diameter. Here, the second light transmittance can be any light transmittance higher than the target light transmittance. For example, if the target light transmittance is 4.5 and the second light transmittance is 5, the light intensity transmitted through a windshield with a light transmittance of 5 will be higher than the light intensity transmitted through a windshield with a light transmittance of 4.5.
[0142] Optionally, if the pupil diameter of the driver or passenger is between the first and second diameters, it indicates that the driver or passenger can adapt to the second light intensity, and there is no need to adjust the light transmittance of the windshield.
[0143] The above method obtains the physiological characteristic data of the driver and passengers, the environmental information of the target location, and the actual first light intensity experienced by the driver and passengers at the target location with the initial light transmittance of the vehicle's windshield. Based on the physiological characteristic information of the driver and passengers and the environmental information of the target location, a second light intensity matching the driver and passengers under the environmental information of the target location is determined. When the first light intensity and the second light intensity are different, the light transmittance of the windshield is adjusted according to the first light intensity and the second light intensity, so that the light intensity of the windshield after the light transmittance adjustment matches the driver and passengers to a high degree. The adjustment of light transmittance is more flexible and accurate, thereby enabling the driver and passengers to adapt to the light intensity of the windshield after the light transmittance adjustment, so that the driver and passengers' vision is not affected, which can improve the driving experience of the driver and passengers and the driving safety of the vehicle to a certain extent.
[0144] Figure 4 This is a flowchart illustrating a method for adjusting the light transmittance of a windshield according to an embodiment of this application. The method comprises... Figure 1The interaction between terminal device 101 and server 102 is implemented as follows: Figure 4 As shown, the method includes the following steps 401 to 415.
[0145] In step 401, the terminal device acquires the physiological characteristics of the vehicle's occupants, the environmental information of the target location, and the first light intensity.
[0146] The first light intensity is the actual light intensity experienced by the driver and passengers at the target location, assuming the windshield transmittance is at its initial transmittance. The target location is the location of the vehicle. The process by which the terminal device acquires the physiological characteristic information of the driver and passengers, the environmental information of the target location, and the first light intensity is similar to step 201 above and will not be described again here.
[0147] In step 402, the terminal device generates an acquisition request based on the physiological characteristics of the driver / passenger and the environmental information of the target location.
[0148] The request includes the physiological characteristics of the driver / passenger and the environmental information of the target location. The process by which the terminal device generates the request based on the physiological characteristics of the driver / passenger and the environmental information of the target location is similar to step 202 above, and will not be described again here.
[0149] In step 403, the terminal device sends an acquisition request to the server.
[0150] In one possible implementation, the process of the terminal device sending an acquisition request to the server is similar to the process in step 202 above, and will not be described again here.
[0151] In step 404, the server receives the acquisition request sent by the terminal device, parses the acquisition request, and obtains the physiological characteristic information of the driver / passenger and the environmental information of the target location.
[0152] In one possible implementation, the process of the server receiving the acquisition request sent by the terminal device, parsing the acquisition request, and obtaining the physiological characteristic information of the driver and passenger and the environmental information of the target location is similar to the process in step 202 above, and will not be described again here.
[0153] In step 405, the server determines the second illumination intensity that matches the driving and riding object under the environmental information of the target location, based on the physiological characteristics of the driving and riding object and the environmental information of the target location.
[0154] In one possible implementation, the process by which the server determines the second illumination intensity matching the driver / passenger under the environmental information of the target location based on the physiological characteristics of the driver / passenger and the environmental information of the target location is similar to the process in step 202 above, and will not be described again here.
[0155] In step 406, the server sends a second light intensity to the terminal device.
[0156] In one possible implementation, the process of the server sending the second light intensity to the terminal device is similar to the process in step 202 above, and will not be described again here.
[0157] In step 407, the terminal device receives the second light intensity sent by the server and determines whether the first light intensity and the second light intensity are the same.
[0158] In one possible implementation, the process of the terminal device receiving the second light intensity sent by the server and determining whether the first light intensity and the second light intensity are the same is similar to the process in step 203 above, and will not be described again here.
[0159] In step 408, based on the difference between the first light intensity and the second light intensity, the terminal device determines the target transmittance according to the first light intensity and the second light intensity.
[0160] In one possible implementation, the process by which the terminal device determines the target transmittance based on the first light intensity and the second light intensity is similar to the process in step 203 above, and will not be described again here.
[0161] In step 409, the terminal device adjusts the light transmittance of the windshield to the target light transmittance.
[0162] In one possible implementation, the process by which the terminal device adjusts the light transmittance of the windshield to the target light transmittance is similar to the process in step 204 above, and will not be described again here.
[0163] In step 410, the terminal device acquires a second facial image of the driver / passenger.
[0164] In one possible implementation, the process by which the terminal device acquires the second facial image of the driver / passenger is similar to the process in step 204 described above, and will not be repeated here.
[0165] In step 411, the terminal device recognizes the second facial image to obtain the pupil diameter of the driver / passenger.
[0166] In one possible implementation, the process by which the terminal device recognizes the second facial image and obtains the pupil diameter of the driver or passenger is similar to the process in step 204 above, and will not be described again here.
[0167] In step 412, based on the fact that the pupil diameter of the driver / passenger is smaller than the first diameter and the driver / passenger's eyes are directly illuminated by light, the terminal device determines the target area on the windshield where the light transmittance needs to be adjusted according to the eye position information.
[0168] In one possible implementation, the process by which the terminal device determines the target area on the windshield where the light transmittance needs to be adjusted based on the eye's position information is similar to the process in step 204 above, and will not be described again here.
[0169] In step 413, the terminal device adjusts the light transmittance of the target area to the first light transmittance.
[0170] In one possible implementation, the process by which the terminal device adjusts the light transmittance of the target area to the first light transmittance is similar to the process in step 204 above, and will not be described again here.
[0171] In step 414, based on the fact that the pupil diameter of the driver / passenger is smaller than the first diameter and the driver / passenger's eyes are not directly exposed to light, the terminal device adjusts the light transmittance of the windshield to the first light transmittance.
[0172] In one possible implementation, the process by which the terminal device adjusts the light transmittance of the windshield to the first light transmittance is similar to the process in step 204 above, and will not be described again here.
[0173] In step 415, based on the fact that the pupil diameter of the driver / passenger is greater than the second diameter, the terminal device adjusts the light transmittance of the windshield to the second light transmittance.
[0174] In one possible implementation, the process by which the terminal device adjusts the light transmittance of the windshield to the second light transmittance is similar to the process in step 204 above, and will not be described again here.
[0175] Figure 5 The diagram shown is a structural schematic of a windshield light transmittance adjustment device provided in an embodiment of this application. Figure 5 As shown, the device includes:
[0176] The acquisition module 501 is used to acquire the physiological characteristic information of the driver and passenger of the vehicle, the environmental information of the target location, and the first light intensity. The first light intensity is the actual light intensity received by the driver and passenger at the target location when the light transmittance of the vehicle's windshield is at the initial light transmittance. The target location is the location of the vehicle.
[0177] The determination module 502 is used to determine the second illumination intensity that matches the driving and riding object under the environmental information of the target location based on the physiological characteristics information of the driving and riding object and the environmental information of the target location.
[0178] The determining module 502 is also used to determine the target transmittance based on the difference between the first light intensity and the second light intensity.
[0179] The adjustment module 503 is used to adjust the light transmittance of the windshield to the target light transmittance, so that the light intensity of light passing through the windshield after the light transmittance adjustment is the second light intensity.
[0180] In one possible implementation, the determining module 502 is used to determine the transmittance adjustment ratio based on the first light intensity and the second light intensity; and to determine the target transmittance based on the initial transmittance and the transmittance adjustment ratio.
[0181] In one possible implementation, the physiological characteristic information of the driver and passenger includes either a first facial image of the driver and passenger or voice data of the driver and passenger.
[0182] The determination module 502 is used to send an acquisition request to the server. The acquisition request includes the physiological characteristic information of the driver and passenger and the environmental information of the target location. The acquisition request is used by the server to determine the second illumination intensity matching the driver and passenger under the environmental information of the target location based on the physiological characteristic information of the driver and passenger and the environmental information of the target location. The server receives the second illumination intensity matching the driver and passenger under the environmental information of the target location returned by the server based on the acquisition request.
[0183] In one possible implementation, the acquisition module 501 is also used to acquire a second facial image of the driver / passenger object;
[0184] The device also includes:
[0185] The recognition module is used to recognize the second facial image and obtain the pupil diameter of the driver / passenger. The pupil diameter of the driver / passenger is used to indicate whether the driver / passenger is adapted to the second light intensity.
[0186] The adjustment module 503 is also used to indicate that the driver or passenger is not adapted to the second light intensity based on the pupil diameter of the driver or passenger, and to adjust the light transmittance of the windshield according to the pupil diameter of the driver or passenger, so that the driver or passenger can adapt to the light intensity of the windshield after the light transmittance is adjusted.
[0187] In one possible implementation, the determining module 502 is used to determine the direct illumination status of the driver's eyes based on the fact that the pupil diameter of the driver is less than a first diameter. The direct illumination status of the eyes is used to indicate whether the eyes are being directly illuminated by light. Based on the direct illumination status of the eyes indicating that the eyes are being directly illuminated by light, the target area on the windshield where the light transmittance needs to be adjusted is determined according to the position information of the eyes.
[0188] The adjustment module 503 is used to adjust the light transmittance of the target area to a first light transmittance, which is lower than the target light transmittance.
[0189] In one possible implementation, the determining module 502 is used to obtain the incident angle of the light and the position information of the driver's eyes; based on the position information of the driver's eyes, a target angle is determined, which is an angle threshold at which the driver's eyes will not be directly hit by the light; based on the fact that the incident angle of the light is less than the target angle, the direct illumination situation of the driver's eyes is determined, indicating that the eyes are directly hit by the light.
[0190] In one possible implementation, the determining module 502 is used to determine a target point based on the eye position information and the incident direction of light, the target point being located on the windshield; and to determine a target area with the target point as the center and the target length as the reference distance.
[0191] In one possible implementation, the determining module 502 is used to determine the direct illumination status of the driver's eyes based on the fact that the pupil diameter of the driver is less than a first diameter. The direct illumination status of the eyes is used to indicate whether the eyes are being directly illuminated by light.
[0192] The adjustment module 503 is used to adjust the light transmittance of the windshield to a first light transmittance, which is lower than the target light transmittance, based on the indication that the eyes are not directly exposed to light.
[0193] In one possible implementation, the adjustment module 503 is used to adjust the light transmittance of the windshield to a second light transmittance, which is higher than the target light transmittance, based on the fact that the pupil diameter of the driver or passenger is greater than the second diameter, and the second diameter is greater than the first diameter.
[0194] The aforementioned device acquires the physiological characteristic data of the driver / passenger, environmental information of the target location, and the first light intensity actually experienced by the driver / passenger at the target location, given the initial light transmittance of the vehicle's windshield. Based on the driver / passenger's physiological characteristic information and the environmental information of the target location, it determines a second light intensity that matches the driver / passenger's performance under the environmental information of the target location. If the first and second light intensities differ, the device adjusts the light transmittance of the windshield according to the first and second light intensities. This results in a higher degree of matching between the light intensity transmitted through the adjusted windshield and the driver / passenger, with greater flexibility and accuracy in light transmittance adjustment. Consequently, the driver / passenger can adapt to the light intensity transmitted through the adjusted windshield, ensuring that their vision is not affected. This, to a certain extent, improves the driving experience and vehicle safety.
[0195] It should be understood that the above-described apparatus is only illustrated by the division of the functional modules described above when implementing its functions. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0196] Figure 6 This illustration shows a structural block diagram of a terminal device 600 provided in an exemplary embodiment of this application. The terminal device 600 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal device 600 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0197] Typically, terminal device 600 includes a processor 601 and a memory 602.
[0198] Processor 601 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 601 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 601 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 601 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0199] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 602 are used to store at least one instruction, which is executed by the processor 601 to implement the windshield light transmittance adjustment method provided in the method embodiments of this application.
[0200] In some embodiments, the terminal device 600 may also optionally include a peripheral device interface 603 and at least one peripheral device. The processor 601, memory 602, and peripheral device interface 603 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 604, a display screen 605, a camera assembly 606, an audio circuit 607, a positioning assembly 608, and a power supply 609.
[0201] Peripheral interface 603 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 601 and memory 602. In some embodiments, processor 601, memory 602 and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 601, memory 602 and peripheral interface 603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0202] The radio frequency (RF) circuit 604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 604 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 604 can communicate with other terminal devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 604 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0203] Display screen 605 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 605 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 601 for processing. In this case, display screen 605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 605, disposed on the front panel of terminal device 600; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal device 600 or in a folded design; in still other embodiments, display screen 605 may be a flexible display screen, disposed on a curved or folded surface of terminal device 600. Furthermore, display screen 605 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 605 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0204] The camera assembly 606 is used to acquire images or videos. Optionally, the camera assembly 606 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal device 600, and the rear-facing camera is located on the back of the terminal device 600. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0205] The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 601 for processing, or input to the radio frequency circuit 604 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal device 600. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 607 may also include a headphone jack.
[0206] The positioning component 608 is used to locate the current geographical location of the terminal device 600 in order to enable navigation or LBS (Location Based Service). The positioning component 608 can be a positioning component based on the US GPS (Global Positioning System), China's BeiDou system, Russia's Granas system, or the EU's Galileo system.
[0207] Power supply 609 is used to supply power to the various components in terminal device 600. Power supply 609 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 609 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0208] In some embodiments, the terminal device 600 further includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: an accelerometer 611, a gyroscope 612, a pressure sensor 613, a fingerprint sensor 614, an optical sensor 615, and a proximity sensor 616.
[0209] Accelerometer 611 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 600. For example, accelerometer 611 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 601 can control display screen 605 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 611. Accelerometer 611 can also be used for games or for acquiring user motion data.
[0210] The gyroscope sensor 612 can detect the orientation and rotation angle of the terminal device 600. The gyroscope sensor 612, in conjunction with the accelerometer sensor 611, can collect 3D motion data from the user on the terminal device 600. Based on the data collected by the gyroscope sensor 612, the processor 601 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0211] The pressure sensor 613 can be disposed on the side bezel of the terminal device 600 and / or on the lower layer of the display screen 605. When the pressure sensor 613 is disposed on the side bezel of the terminal device 600, it can detect the user's grip signal on the terminal device 600, and the processor 601 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 613. When the pressure sensor 613 is disposed on the lower layer of the display screen 605, the processor 601 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 605. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0212] The fingerprint sensor 614 is used to collect a user's fingerprint. The processor 601 identifies the user based on the fingerprint collected by the fingerprint sensor 614, or vice versa. When the user's identity is identified as trusted, the processor 601 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 614 can be located on the front, back, or side of the terminal device 600. When the terminal device 600 has a physical button or manufacturer logo, the fingerprint sensor 614 can be integrated with the physical button or manufacturer logo.
[0213] An optical sensor 615 is used to collect ambient light intensity. In one embodiment, the processor 601 can control the display brightness of the display screen 605 based on the ambient light intensity collected by the optical sensor 615. Specifically, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 can also dynamically adjust the shooting parameters of the camera assembly 606 based on the ambient light intensity collected by the optical sensor 615.
[0214] The proximity sensor 616, also known as a distance sensor, is typically mounted on the front panel of the terminal device 600. The proximity sensor 616 is used to detect the distance between the user and the front of the terminal device 600. In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front of the terminal device 600 is gradually decreasing, the processor 601 controls the display screen 605 to switch from a screen-on state to a screen-off state; when the proximity sensor 616 detects that the distance between the user and the front of the terminal device 600 is gradually increasing, the processor 601 controls the display screen 605 to switch from a screen-off state to a screen-on state.
[0215] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on the terminal device 600, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0216] Figure 7 This is a schematic diagram of the server structure provided in the embodiments of this application. The server 700 can vary considerably due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 701 and one or more memories 702. Each memory 702 stores at least one line of program code, which is loaded and executed by the one or more processors 701 to implement the windshield light transmittance adjustment method provided in the various method embodiments described above. Of course, the server 700 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 700 may also include other components for implementing device functions, which will not be elaborated here.
[0217] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to enable a computer to implement any of the above-described methods for adjusting the light transmittance of a windshield.
[0218] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0219] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-described methods for adjusting the light transmittance of the windshield.
[0220] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the physiological characteristic data involved in this application were obtained with full authorization.
[0221] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0222] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0223] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for adjusting the light transmittance of a windshield, characterized in that, The method includes: The system acquires the physiological characteristic information of the vehicle's occupants, the environmental information of the target location, and a first light intensity. The first light intensity is the actual light intensity experienced by the occupants at the target location when the light transmittance of the vehicle's windshield is at its initial light transmittance. The first light intensity is the product of the light intensity at the target location and the initial light transmittance. The target location is the location of the vehicle. The physiological characteristic information of the occupants includes either a first facial image of the occupants or voice data of the occupants. Based on the physiological characteristics of the driver and passenger and the environmental information of the target location, a second illumination intensity matching the driver and passenger under the environmental information of the target location is determined; Based on the difference between the first light intensity and the second light intensity, the ratio of the second light intensity to the first light intensity is used as the transmittance adjustment ratio; the product of the initial transmittance and the transmittance adjustment ratio is used as the target transmittance. The light transmittance of the windshield is adjusted to the target light transmittance, so that the light intensity of light passing through the windshield after the light transmittance adjustment is the second light intensity. Obtain a second facial image of the driver / passenger; The second facial image is recognized to obtain the pupil diameter of the driver / passenger. The pupil diameter of the driver / passenger is used to indicate whether the driver / passenger is adapted to the second light intensity. Based on the pupil diameter of the driver / passenger, indicating that the driver / passenger is not adapted to the second light intensity, the light transmittance of the windshield is adjusted according to the pupil diameter of the driver / passenger, so that the driver / passenger adapts to the light intensity of the windshield after the light transmittance adjustment.
2. The method according to claim 1, characterized in that, The step of determining the second illumination intensity matching the driver / passenger under the environmental information of the target location based on the physiological characteristic information of the driver / passenger and the environmental information of the target location includes: A request is sent to the server, the request including the physiological characteristics of the driver and passenger and the environmental information of the target location. The request is used by the server to determine the second light intensity that matches the driver and passenger under the environmental information of the target location based on the physiological characteristics of the driver and passenger and the environmental information of the target location. Receive the second illumination intensity matching the driving object under the environmental information at the target location, as returned by the server based on the acquisition request.
3. The method according to claim 1, characterized in that, Adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger includes: Based on the fact that the pupil diameter of the driver / passenger is smaller than the first diameter, the direct illumination status of the driver / passenger's eyes is determined, and the direct illumination status of the eyes is used to indicate whether the eyes are directly illuminated by the light. Based on the direct illumination of the eye, the target area on the windshield where the light transmittance needs to be adjusted is determined according to the position information of the eye. The light transmittance of the target area is adjusted to a first light transmittance, which is lower than the target light transmittance.
4. The method according to claim 3, characterized in that, Determining the direct sunlight on the eyes of the driver / passenger includes: Obtain the incident angle of the light and the position information of the driver's eyes; Based on the position information of the driver's eyes, a target angle is determined, where the target angle is a threshold angle at which the driver's eyes will not be directly hit by light. Based on the fact that the incident angle of the light is less than the target angle, the direct illumination of the driver's eyes is determined, indicating that the eyes are directly illuminated by the light.
5. The method according to claim 3, characterized in that, The step of determining the target area on the windshield where the light transmittance needs to be adjusted based on the eye position information includes: Based on the position information of the eye and the incident direction of the light, a target point is determined, and the target point is located on the windshield; The target area is determined with the target point as the center and the target length as the reference distance.
6. The method according to claim 1, characterized in that, Adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger includes: Based on the fact that the pupil diameter of the driver / passenger is smaller than the first diameter, the direct illumination status of the driver / passenger's eyes is determined, and the direct illumination status of the eyes is used to indicate whether the eyes are directly illuminated by the light. Based on the indication that the eye is not directly exposed to the light, the light transmittance of the windshield is adjusted to a first light transmittance, which is lower than the target light transmittance.
7. The method according to claim 1, characterized in that, Adjusting the light transmittance of the windshield according to the pupil diameter of the driver or passenger includes: Based on the fact that the pupil diameter of the driver / passenger is greater than the second diameter, the light transmittance of the windshield is adjusted to the second light transmittance, which is higher than the target light transmittance, and the second diameter is greater than the first diameter.
8. A device for adjusting the light transmittance of a windshield, characterized in that, The device includes: The acquisition module is used to acquire the physiological characteristic information of the vehicle's occupants, the environmental information of the target location, and the first light intensity. The first light intensity is the actual light intensity experienced by the occupants at the target location when the light transmittance of the vehicle's windshield is at the initial light transmittance. The first light intensity is the product of the light intensity at the target location and the initial light transmittance. The target location is the location of the vehicle. The physiological characteristic information of the occupants includes either a first facial image of the occupants or voice data of the occupants. The determination module is used to determine the second light intensity matching the driving and riding object under the environmental information of the target location based on the physiological characteristic information of the driving and riding object and the environmental information of the target location; The determining module is further configured to, based on the difference between the first light intensity and the second light intensity, use the ratio of the second light intensity to the first light intensity as the transmittance adjustment ratio; and use the product of the initial transmittance and the transmittance adjustment ratio as the target transmittance. An adjustment module is used to adjust the light transmittance of the windshield to the target light transmittance, so that the light intensity of light passing through the windshield after the light transmittance adjustment is the second light intensity. The acquisition module is also used to acquire a second facial image of the driver / passenger. The recognition module is used to recognize the second facial image and obtain the pupil diameter of the driver / passenger. The pupil diameter of the driver / passenger is used to indicate whether the driver / passenger is adapted to the second light intensity. The adjustment module is further configured to, based on the pupil diameter of the driver / passenger, indicate that the driver / passenger is not adapted to the second light intensity, and adjust the light transmittance of the windshield according to the pupil diameter of the driver / passenger, so that the driver / passenger adapts to the light intensity of the windshield after the light transmittance adjustment.
9. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to enable the computer device to implement the windshield light transmittance adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable a computer device to implement the windshield light transmittance adjustment method according to any one of claims 1 to 7.
11. A computer program product, characterized in that, The computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer device to implement the windshield light transmittance adjustment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Light transmittance adjusting method and device, computer readable storage medium and terminal equipment
CN109849626A
Using camera data to automatically change the tint of transparent materials
US10744936B1
Enhanced glare reduction
US20100065721A1