In-vehicle intelligent sunscreen method, device and equipment and storage medium
By obtaining the outside light information and identifying the target location of the driver and passengers, controlling the sunscreen device in the car for local shading adjustments, the lack of sunshade and thermal insulation effect of the panoramic sky curtain in the existing technology is solved, and the need to protect both the sun and let the body bathe in the sun.
Patent Information
- Application Number
- CN202311413543.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2025-04-29
AI Technical Summary
The panoramic skylight in existing intelligent connected vehicles has insufficient sunshade and thermal insulation effect, and cannot meet the needs of sun protection and let the body bathe in the sun at the same time.
By obtaining the lighting information outside the car, including light intensity and ultraviolet intensity, determining the appropriate shading state, and using the camera to identify the target part of the driver and passenger, controlling the sun protection device in the car for local shading adjustments to ensure that the target part is completely shading, and other parts of the body can bathe in the sun for maximum area.
It achieves that while ensuring sun protection, the body can bathe in the sun and improves the experience in the car.
Smart Images

Figure CN119898172A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent connected vehicles, and in particular to intelligent sun protection methods, devices, equipment and storage media for vehicles. Background Art
[0002] With the rapid development of the automobile industry, the transparent panoramic skylight fixed on the roof has become a standard feature of many new energy vehicles, and many car companies have also used it as one of their core selling points. However, with this design, the problem of poor sunshade and heat insulation effect of the panoramic skylight has gradually emerged.
[0003] In related technologies, many high-end cars are constantly innovating. For example, by adopting electrochromic glass skylights, traditional sunshades are gradually electrified to solve the problem of poor sunshade and heat insulation effects of panoramic skylights. However, they still cannot meet the needs of both sun protection and allowing the body to bathe in the sun. Summary of the invention
[0004] The present application provides an intelligent sun protection method, device, equipment and storage medium in a car, so as to solve the problem that the needs of both sun protection and sunbathing of the body cannot be met.
[0005] In a first aspect, the present application provides an intelligent sun protection method for a vehicle, comprising:
[0006] Obtaining lighting information outside the vehicle, including light intensity and ultraviolet intensity;
[0007] Determine the shading state to be adjusted according to the light intensity and the ultraviolet intensity, the shading state includes a complete shading state, a partial shading state and a non-shading state;
[0008] In response to the shading state to be adjusted being a partial shading state, identifying a target part position of a driver or passenger, the target part including a head, a neck, and an arm;
[0009] According to the position of the target part, the sun protection device in the car is controlled to perform local shading adjustment so that the target part is completely shielded and other parts of the body can be bathed in sunlight with the maximum area. The sun protection device in the car includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
[0010] The partial shading adjustment includes adjusting from a non-shading state to a partial shading state, and adjusting from a complete shading state to a partial shading state.
[0011] In a possible implementation, according to the position of the target part, the sun protection device in the vehicle is controlled to adjust its state so that the target part is completely shielded from light and other parts of the body can be bathed in sunlight to the maximum extent, including:
[0012] In the process of controlling the state adjustment of the sun protection device inside the vehicle, image data of the driver and passengers captured in real time by a camera inside the vehicle is obtained, and the dividing line of color change between the shielded part and the unshielded part reflected in the image data is the light-dark boundary line inside the vehicle; for the position of the target part, the state of the sun protection device inside the vehicle is controlled to be adjusted according to the light-dark boundary line inside the vehicle, so that the light-dark boundary line inside the vehicle changes until the target part is completely shielded, and other parts of the body can be bathed in sunlight to the maximum extent.
[0013] In a possible implementation, controlling the sun protection device in the vehicle to adjust the state according to the target part position includes:
[0014] In the process of controlling the state adjustment of the sun protection device inside the vehicle, image data of the driver and passengers captured in real time by a camera inside the vehicle is obtained. The image data reflects the color difference of the target part during the shading process. The state adjustment of the sun protection device inside the vehicle is controlled according to the color difference based on the position of the target part.
[0015] In a possible implementation, controlling the sun protection device in the vehicle to adjust the state according to the target part position includes:
[0016] According to the target part position, the vehicle interior sun protection device is controlled to adjust its state according to the preset shading state conversion logic. The preset shading state conversion logic includes adjusting the vehicle interior sun protection device to a set degree and / or raising or lowering the vehicle interior sun protection device to a set length.
[0017] In a possible implementation, determining the shading state to be adjusted according to the light intensity and the ultraviolet intensity includes:
[0018] Based on the light intensity and ultraviolet intensity, determine whether the current sunlight health requirements are met; based on the temperature inside and outside the vehicle, determine whether the current sunlight comfort requirements are met; if the current sunlight comfort requirements and sunlight health requirements are met, determine that the shading state to be adjusted is the partial shading state.
[0019] In a possible implementation, determining whether the sunlight health requirement is currently met based on the light intensity and the ultraviolet intensity includes:
[0020] If the light intensity is between the first light intensity threshold and the second light intensity threshold, and the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, it is determined that the sunlight health requirement is currently met, the second light intensity threshold is greater than the first light intensity threshold, and the second ultraviolet intensity threshold is greater than the first ultraviolet intensity threshold; if the light intensity is not between the first light intensity threshold and the second light intensity threshold, or the ultraviolet intensity is not between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, it is determined that the sunlight health requirement is currently not met, wherein the light intensity is greater than the second light intensity threshold, or the ultraviolet intensity is greater than the second ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a complete shading state; the light intensity is less than the first light intensity threshold, and the ultraviolet intensity is less than the first ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a non-shading state.
[0021] In a possible implementation, obtaining lighting information outside the vehicle includes:
[0022] The light information outside the vehicle is obtained through a light sensor; and / or, the temperature inside and outside the vehicle is obtained through a temperature sensor, and the light information outside the vehicle is determined according to the temperature inside and outside the vehicle and the local real-time weather information.
[0023] In a possible implementation manner, the partial shading adjustment includes adjusting from a non-shading state to a partial shading state, and adjusting from a complete shading state to a partial shading state.
[0024] In a possible implementation, before controlling the in-vehicle sun protection device to perform local shading adjustment with respect to the position of the target part, the in-vehicle intelligent sun protection method further includes: determining that the target part is in an unshaded state.
[0025] In one possible implementation, identifying the target position of the driver and passenger may include: using a camera inside the vehicle that faces inward or a pressure sensor installed on a seat to determine whether there are any drivers and passengers in the vehicle, and determining the target position of the driver and passenger when there are drivers and passengers in the vehicle; using a camera inside the vehicle that faces inward to photograph the target position to obtain image data for the driver and passenger; and identifying the target position of the driver and passenger based on the image data.
[0026] In a second aspect, the present application provides an in-vehicle intelligent sun protection device, comprising:
[0027] An acquisition module is used to acquire light information outside the vehicle, the light information including light intensity and ultraviolet intensity;
[0028] A determination module, used to determine the shading state to be adjusted according to the light intensity and the ultraviolet intensity, the shading state including a complete shading state, a partial shading state and a non-shading state;
[0029] an identification module, for identifying a target part of a driver or passenger in response to the shading state to be adjusted being a partial shading state, wherein the target part includes a head, a neck and an arm;
[0030] The control module is used to control the in-vehicle sun protection device to perform local shading adjustment according to the position of the target part, so that the target part is completely shaded and other parts of the body can be bathed in sunlight to the maximum area. The in-vehicle sun protection device includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
[0031] In a possible implementation, the acquisition module is specifically used to: acquire the lighting information outside the vehicle through a light sensor; and / or acquire the temperature inside and outside the vehicle through a temperature sensor, and determine the lighting information outside the vehicle based on the temperature inside and outside the vehicle and local real-time weather information.
[0032] In one possible implementation, the determination module is specifically used to: determine whether the current sunlight health requirements are met based on the light intensity and ultraviolet intensity; determine whether the current sunlight comfort requirements are met based on the temperature inside and outside the vehicle; if the current sunlight comfort requirements and sunlight health requirements are met, determine that the shading state to be adjusted is a partial shading state.
[0033] In a possible implementation, the determination module is further used to: when the light intensity is between a first light intensity threshold and a second light intensity threshold, and the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, determine that the sunlight health requirement is currently met, the second light intensity threshold is greater than the first light intensity threshold, and the second ultraviolet intensity threshold is greater than the first ultraviolet intensity threshold; when the light intensity is not between the first light intensity threshold and the second light intensity threshold, or the ultraviolet intensity is not between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, determine that the sunlight health requirement is currently not met, wherein the light intensity is greater than the second light intensity threshold, or the ultraviolet intensity is greater than the second ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a complete shading state; the light intensity is less than the first light intensity threshold, and the ultraviolet intensity is less than the first ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a non-shading state.
[0034] In a possible implementation manner, the determination module is further used to: determine whether the target part is in an unshielded state before controlling the in-vehicle sun protection device to perform local shading adjustment with respect to the position of the target part.
[0035] In one possible implementation, the control module is specifically used to: obtain image data of the driver and passengers captured in real time by a camera inside the vehicle while controlling the local shading adjustment of the sun protection device inside the vehicle, and the boundary line of the color change between the shading part and the unshading part reflected in the image data is the light-dark boundary line inside the vehicle; for the position of the target part, according to the light-dark boundary line inside the vehicle, control the local shading adjustment of the sun protection device inside the vehicle, so that the light-dark boundary line inside the vehicle changes until the target part is completely shielded, and other parts of the body can be bathed in sunlight over the maximum area.
[0036] In a possible implementation, the control module is also used to: during the process of controlling the in-vehicle sun protection device to perform local shading adjustment, obtain image data of the driver and passengers captured in real time by a camera inside the vehicle that shoots inward, the image data reflecting the color difference of the target part during the shading process; and control the in-vehicle sun protection device to perform local shading adjustment based on the color difference according to the position of the target part.
[0037] In a possible implementation, the control module is also used to: control the in-vehicle sun protection device to perform local shading adjustments according to a preset shading state conversion logic with respect to the target location, and the preset shading state conversion logic includes adjusting the in-vehicle sun protection device to a set degree and / or raising or lowering the in-vehicle sun protection device to a set length.
[0038] In a possible implementation manner, the partial shading adjustment includes adjusting from a non-shading state to a partial shading state, and adjusting from a complete shading state to a partial shading state.
[0039] In one possible implementation, the recognition module is specifically used to: determine whether there are drivers and passengers in the vehicle using a camera that shoots inward from inside the vehicle or a pressure sensor installed on a seat, and determine the target position of the drivers and passengers when there are drivers and passengers in the vehicle; capture the target position using a camera that shoots inward from inside the vehicle to obtain image data for the drivers and passengers; and identify the target part position of the drivers and passengers based on the image data.
[0040] In a third aspect, the present application provides an electronic device, including:
[0041] Memory for storing computer-executable instructions;
[0042] A processor is used to execute computer-executable instructions to implement any one of the in-vehicle intelligent sun protection methods of the first aspect.
[0043] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed, they are used to implement the in-vehicle intelligent sun protection method of any one of the first aspects.
[0044] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed, is used to implement the in-vehicle intelligent sun protection method of any one of the first aspects.
[0045] The intelligent in-vehicle sun protection method, device, equipment and storage medium provided by the present application obtain light information outside the vehicle, the light information includes light intensity and ultraviolet intensity; determine the shading state to be adjusted according to the light intensity and ultraviolet intensity, the shading state includes a complete shading state, a partial shading state and a non-shading state; in response to the shading state to be adjusted to a partial shading state, identify the position of the target part of the driver and passenger, the target part includes the head, neck and arms; according to the position of the target part, control the in-vehicle sun protection device to perform partial shading adjustment, so that the target part is completely shielded, and other parts of the body can be bathed in sunlight with the maximum area, the in-vehicle sun protection device includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight, so as to meet the needs of both sun protection and allowing the body to bathe in sunlight. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0047] Figure 1 A schematic diagram of a process flow of an intelligent sun protection method for a vehicle provided in one embodiment of the present application;
[0048] Figure 2 A schematic flow chart of a method for determining a shading state to be adjusted provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of the structure of an intelligent sun protection device for a vehicle provided in one embodiment of the present application;
[0050] Figure 4 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.
[0051] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0053] First, the terms involved in this application are explained:
[0054] An electronic control unit is a microprocessor or microcontroller used to control and manage electronic equipment and systems. It is responsible for monitoring and controlling various sensors and actuators connected to it, thereby achieving precise control and adjustment of system behavior. In short, an electronic control unit is an electronic device widely used in various fields. It achieves precise control and management of the system through the connection of sensors and actuators;
[0055] The driving information and entertainment head unit is a multifunctional electronic device integrated in the car. It combines the driving information system and the entertainment system, providing a series of functions and services to enable drivers and passengers to have a better user experience;
[0056] Light intensity is a description of the overall intensity or brightness of light, describing the distribution of light energy per unit area, that is, the amount of light passing through a unit area per second. Light intensity is usually measured in watts per square meter (W / m 2 ) as a unit. This means the total energy transmitted by light in an area of one square meter. The higher the light intensity, the more light energy is contained per unit area. Light intensity is often used to describe the brightness level of visible light;
[0057] UV intensity refers to the intensity or energy density of UV radiation, usually measured in watts per square meter (W / m 2 ) or milliwatts per square centimeter (mW / cm 2 ) as a unit. UV intensity is affected by factors such as the sun's altitude angle, weather conditions, and atmospheric absorption. It is usually higher when the sun is strong. Ultraviolet rays are potentially harmful to the human body, such as causing sunburn, skin aging, and increasing the likelihood of skin cancer. In order to protect humans, many places use UV intensity to alert the public. UV intensity quantitatively describes the level of UV intensity at a specific time and place, and helps people take appropriate protective measures, such as using sunscreen, wearing sun-blocking clothing, and wearing sunglasses.
[0058] In southern my country, it rains continuously in spring and autumn, and many people long to bask in the sun in warm and sunny weather. Many people also accept sunbathing while driving or taking a nap in the car. But in the summer when the temperature is too hot, people are full of resistance to the sun. At the same time, people's awareness of sun protection is getting stronger and stronger. The benefits of skin sun protection are not only to prevent tanning, but also to prevent enlarged pores, wrinkles, sun spots, sunburn, sunburn and skin sensitivity caused by sun exposure. In short, sun protection is to prevent photoaging. Especially facial sun protection, which people value most.
[0059] However, even if cars are equipped with electric sunroofs, they can only provide adequate shade in hot weather, but cannot automatically provide sun protection and sunbathing in good weather.
[0060] Based on the above, this application proposes an intelligent sun protection method, device, equipment and storage medium in the car, which can bathe in the sun when the sun is healthy, so that the face and arms can be protected from the sun while the body is bathing in the warm sun, and damage to the human body can be prevented, thereby meeting the needs of both sun protection and sun bathing. At the same time, the camera in the car that shoots inward is used to identify the user's position and posture, and provide the user with a targeted sun protection solution.
[0061] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0062] Figure 1 This is a flow chart of an intelligent sun protection method for a vehicle provided in an embodiment of the present application. Figure 1 As shown, the intelligent sun protection method in the car includes:
[0063] S101. Acquire lighting information outside the vehicle, where the lighting information includes light intensity and ultraviolet intensity.
[0064] It can be understood that the light information outside the vehicle is obtained through a light sensor. A light sensor is a device that can detect light intensity and ultraviolet intensity. It uses photosensitive elements (such as photoresistors, photodiodes, phototransistors, etc.) to convert light signals into electrical signals, thereby realizing the detection and measurement of light. The working principle of a light sensor may vary depending on different photosensitive elements, but the basic steps are similar: the object or environment to be detected is exposed to a light source, which can be natural light, LED lights or lasers; the photosensitive element will sense the light and generate an electric charge, which is based on the interaction between light and materials; the sensed light signal will be converted into a corresponding electrical signal by the photosensitive element, and the characteristics of the photosensitive element determine the voltage, current or resistance value of the output signal; the output electrical signal is connected to the circuit for signal processing and analysis to obtain useful light information. This may include steps such as amplification, filtering, analog-to-digital conversion, etc.; finally, the processed signal can be displayed or further processed through a display screen, a data recording device, or connected to other devices.
[0065] In addition, light sensors have a wide range of applications. According to different application requirements, choosing the right type of photosensor and appropriate circuit design is the key to ensuring performance and accuracy.
[0066] As an example, light intensity is obtained by using a photoresistor as a photosensitive element. When light is irradiated on a photoresistor, its resistance value changes. By measuring the resistance value of the photoresistor, the light intensity outside the vehicle can be inferred. Usually, a photoresistor forms a circuit with other resistors to form a voltage divider or a bridge to convert it into a measurable electrical signal. Furthermore, ultraviolet intensity is obtained by using an ultraviolet photodiode or a phototransistor as a photosensitive element. These photosensitive elements have a special semiconductor structure that can respond to ultraviolet radiation. When ultraviolet rays are irradiated on a photodiode or a phototransistor, a current or voltage signal is generated. By measuring the change in the output signal, the ultraviolet intensity can be inferred. It should be supplemented that the present application does not limit the type of light sensor, and the above-mentioned light sensor is only an example.
[0067] S102, determining a shading state to be adjusted according to light intensity and ultraviolet intensity, where the shading state includes a complete shading state, a partial shading state and a non-shading state.
[0068] It can be understood that the shading state refers to the state or process of blocking light. In the shading state, light cannot pass through a certain object or device to reach the target area. Among them, the shading state includes a complete shading state, a partial shading state and a non-shading state. The complete shading state refers to the use of specific shading materials or devices to completely block the penetration of light. Partial shading refers to shading in a specific area while other areas remain relatively bright. In this state, the entry of light can be selectively controlled to meet different needs. The non-shading state refers to the absence of any device or material that blocks light, allowing light to enter the interior freely.
[0069] The adjustment of the shading state includes adjustment of the complete shading state, adjustment of the partial shading state and adjustment of the non-shading state. The adjustment of the complete shading state may include adjustment from the non-shading state to the complete shading state, and adjustment from the partial shading state to the complete shading state, the adjustment of the partial shading state may include adjustment from the non-shading state to the partial shading state, and adjustment from the complete shading state to the partial shading state, and the adjustment of the non-shading state may include adjustment from the complete shading state to the non-shading state, and adjustment from the partial shading state to the non-shading state.
[0070] It should be noted that the specific adjustment of the shading state is based on the light intensity and the ultraviolet intensity. This can provide users with personalized shading and sun protection solutions to meet the different needs of users.
[0071] S103 . In response to the shading state to be adjusted being a partial shading state, identifying the position of a target part of the driver or passenger, where the target part includes the head, neck, and arms.
[0072] Furthermore, identifying the target position of the driver and occupants may include: determining whether there are drivers and occupants in the vehicle using a camera that faces inward or a pressure sensor installed on a seat, and determining the target position of the driver and occupants when there are drivers and occupants in the vehicle; photographing the target position using a camera that faces inward to obtain image data for the driver and occupants, and transmitting the image data to a driving information and entertainment host; and identifying the target position of the driver and occupants based on the image data, wherein the target position includes parts that are not easily blocked by clothes, such as the head, neck, legs, and arms.
[0073] In order to identify the target part position of the driver and passengers, computer vision and image processing technology can be used. First, the image or video data of the driver and passengers is collected through the driving information and entertainment host. Then, the target detection algorithm is used to locate the driver and passengers in the image, and the posture estimation algorithm is used to obtain their body posture and key point information. Based on the position and posture information of the target part, the accurate target part position is inferred.
[0074] On this basis, it is optional to determine whether the target part is in an occluded state, for example, by using image processing technology and feature analysis algorithms to perform occlusion detection to determine whether the target part is occluded by other objects. According to the occlusion detection result, it is determined whether the target part is in an unoccluded state. If the target part is not occluded, it is determined to be in an unoccluded state; if the target part is occluded, it will be marked as an occluded state.
[0075] By continuously applying the above steps, the target part position of the driver and passenger can be identified and the occlusion status can be confirmed. Appropriate algorithms, models and data sets are selected according to the specific situation, and optimized and verified to meet the accuracy and robustness requirements required in practical applications. It should be noted that this application does not limit the method for identifying the target part position of the driver and passenger and determining whether the target part is in an unobstructed state. The above identification method is only an example.
[0076] Optionally, if it is determined that the target part is in an obstructed state, no shading operation may be performed on it; if it is determined that the target part is in an unobstructed state, a shading operation is performed on it, that is, S104 is executed.
[0077] S104. Controlling the in-vehicle sun protection device to perform partial shading adjustment according to the position of the target part, so that the target part is completely shaded and other parts of the body can be bathed in sunlight with the largest area, the in-vehicle sun protection device comprising at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
[0078] When the target part is completely shielded from light and other parts of the body can be bathed in sunlight to the maximum extent, the local shading adjustment is completed and the effect of local shading is achieved.
[0079] It should be noted that controlling the sun protection device inside the vehicle to perform local shading adjustment can be fully automatic electric adjustment, which saves time and effort, and does not require the user to manually adjust the shading angle. For example, when the vehicle is driving, the incident direction of sunlight will change, and the sun protection device inside the vehicle will be automatically adjusted electrically.
[0080] Furthermore, the present application can provide different shading solutions according to the different positions of the user's target parts. For example, when the user is taking a nap in the car or driving, the position of the face, neck, and arms are different. The present application can provide different shading solutions according to different postures.
[0081] The intelligent in-vehicle sun protection method, device, equipment and storage medium provided by the present application obtain light information outside the vehicle, the light information includes light intensity and ultraviolet intensity; determine the shading state to be adjusted according to the light intensity and ultraviolet intensity, the shading state includes a complete shading state, a partial shading state and a non-shading state; in response to the shading state to be adjusted to a partial shading state, identify the position of the target part of the driver and passenger, the target part includes the head, neck and arms; according to the position of the target part, control the in-vehicle sun protection device to perform partial shading adjustment, so that the target part is completely shielded, and other parts of the body can be bathed in sunlight with the maximum area, the in-vehicle sun protection device includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight, so as to meet the needs of both sun protection and allowing the body to bathe in sunlight.
[0082] On the basis of the above embodiments, in one implementation, in S104, the sun protection device in the car is controlled to make partial shading adjustment for the target part position, so that the target part is completely shaded and other parts of the body can be bathed in sunlight with the largest area, which may include: in the process of controlling the sun protection device in the car to make partial shading adjustment, image data of the driver and passengers captured in real time by a camera in the car, wherein the boundary line of the color change between the shading part and the unshading part reflected in the image data is the light-dark boundary line in the car; according to the light-dark boundary line in the car for the target part position, the sun protection device in the car is controlled to make partial shading adjustment by using the driving information and entertainment host, so that the light-dark boundary line in the car can be changed to the point where the target part is completely shaded and other parts of the body can be bathed in sunlight with the largest area. The image data can be obtained from the driving information and entertainment host.
[0083] Furthermore, the image data obtained above can also reflect the color difference of the target part during the shading process. The color difference of the picture refers to the different absorption or transmission capabilities of different wavelengths of light when the light passes through different materials or filters during the shading process. This will cause color deviation or distortion in the picture. The color difference of the picture during the shading process can be mainly divided into the following types: color difference caused by light source changes, color reflection and absorption color difference, and color temperature change. The color difference caused by light source changes mainly affects the color performance in the picture by causing the amount and intensity of light to change due to shading. The color difference of color reflection and absorption mainly uses the different absorption and reflection capabilities of different materials and objects to light. When part of the area is blocked, the color in the picture may have color difference due to the reduction of light. For example, when using curtains to block windows, the curtains may absorb part of the light, causing the entire picture to darken and have a color difference effect. The color difference caused by color temperature change mainly uses the principle that the color temperature of the light source will affect the color performance in the picture. When the shading situation changes the composition of the light source, the overall color temperature of the picture may change. For example, when driving a car, blocking the light with a visor will cause the picture to darken and may change the overall color temperature of the picture.
[0084] Therefore, controlling the interior sun protection device of the vehicle to perform local shading adjustments with respect to the position of the target part may include: in the process of controlling the interior sun protection device of the vehicle to perform local shading adjustments, obtaining image data of the driver and passengers captured in real time by a camera inside the vehicle that shoots inwards, the image data reflecting the color difference of the picture of the target part during the shading process; controlling the interior sun protection device of the vehicle to perform local shading adjustments with respect to the position of the target part according to the color difference.
[0085] This application uses driving information and an entertainment console to control the in-vehicle sun protection device to make partial shading adjustments based on the color difference of the image at the target location during the shading process, thereby meeting the needs of both sun protection and allowing the body to bathe in the sun.
[0086] In another possible implementation, controlling the interior sun protection device of the vehicle to perform local shading adjustments according to the target part position may include: controlling the interior sun protection device of the vehicle to perform local shading adjustments according to a preset shading state conversion logic according to the target part position, wherein the preset shading state conversion logic includes adjusting the interior sun protection device of the vehicle to a set degree and / or raising or lowering the interior sun protection device of the vehicle to a set length.
[0087] It is understandable that if the camera or algorithm capability of the vehicle is insufficient, the vehicle sunscreen device can be controlled to perform partial sunshade adjustment according to the preset sunshade state conversion logic to meet the needs of most users. The preset sunshade state conversion logic includes adjusting the set degree of the vehicle sunscreen device and / or adjusting the set lifting length of the vehicle sunscreen device.
[0088] The setting degree of the sun protection device in the car can be adjusted according to the user's personal needs and actual conditions, but it is necessary to ensure that the setting degree will not affect driving safety and clarity of vision. Methods for adjusting the setting degree of the sun protection device in the car include multi-stage adjustment, continuous adjustment, etc. Multi-stage adjustment is a common way to adjust the sun protection device in the car, which allows adjustment at different angles as needed. Multi-stage adjustment usually has several fixed positions, each of which corresponds to a specific sun protection effect. Unlike multi-stage adjustment, continuous adjustment allows the angle of the sun protection device to be smoothly adjusted within a continuous range as needed, without being limited to preset fixed positions. This adjustment method can provide more flexible blocking and light transmittance.
[0089] Adjusting the height setting of the sun protection device in the car means adjusting the upper and lower positions of the sun protection device in the car (such as car curtains, sun visors, etc.) to suit different needs and ambient light. This function is usually operated by an electric or manual controller, which is located in a convenient position for the driver or passengers to reach. Through the controller, the user can choose to adjust the sun protection device to different heights so that sunlight or strong light cannot directly shine into the car.
[0090] When the camera or algorithm capabilities of the car's inward shooting are insufficient, the car's sun protection device can be controlled to perform local shading adjustments using a preset shading state conversion logic, which can meet the needs of most users for both sun protection and allowing the body to bathe in the sun.
[0091] Based on the above embodiment, the shading state to be adjusted is determined according to the light intensity and the ultraviolet intensity. Figure 2 A method for determining the shading state to be adjusted is described.
[0092] Figure 2 A flowchart of a method for determining a shading state to be adjusted provided in one embodiment of the present application. Figure 2 As shown, the shading state to be adjusted is determined by the following method:
[0093] S201. Determine whether the sunlight health requirement is currently met based on the light intensity and ultraviolet intensity.
[0094] Among them, sunlight health refers to the degree to which exposure to natural sunlight in a moderate and safe manner has a positive impact on human health, which has an important impact on human health. In addition, it is determined whether the sunlight health requirements are currently met by whether the light intensity is between the first light intensity threshold and the second light intensity threshold, and whether the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold. Among them, the first light intensity threshold, the second light intensity threshold, the first ultraviolet intensity threshold and the second ultraviolet intensity threshold are preset according to the car model, light transmission position, light blocking and temperature blocking capabilities of the materials used, and can also be preset according to user needs.
[0095] Optionally, this step may further include: if the light intensity is between a first light intensity threshold and a second light intensity threshold, and the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, then it is determined that the sunlight health requirement is currently met, wherein the second light intensity threshold is greater than the first light intensity threshold, and the second ultraviolet intensity threshold is greater than the first ultraviolet intensity threshold; if the light intensity is not between the first light intensity threshold and the second light intensity threshold, or the ultraviolet intensity is not between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, then it is determined that the health requirement is currently not met, wherein the light intensity is greater than the second light intensity threshold, or the ultraviolet intensity is greater than the second ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a complete shading state; the light intensity is less than the first light intensity threshold, and the ultraviolet intensity is less than the first ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a non-shading state.
[0096] The light intensity and ultraviolet intensity are used to determine whether the current sunlight health requirements are met, and the shading status is adjusted accordingly. This can provide a personalized shading sun protection plan to meet the needs of both sun protection and allowing the body to bathe in the sun.
[0097] S202: Determine whether the sunlight comfort requirement is currently met based on the temperature inside and outside the vehicle.
[0098] It can be understood that sunlight comfort refers to the degree of comfort people feel from sunlight. Further, whether the sunlight comfort requirement is currently met is determined by determining whether the temperature inside and outside the vehicle meets the comfortable temperature requirement. If both the temperature inside and outside the vehicle meet the comfortable temperature requirement, it is considered that the sunlight comfort requirement is currently met, otherwise it is considered that the sunlight comfort requirement is not currently met.
[0099] Among them, the temperature inside and outside the car is obtained through a temperature sensor, and the principle of temperature sensor sensing temperature is mainly based on the thermal expansion and contraction properties of the material or by measuring the changes in physical quantities related to temperature. It should be noted that different types of temperature sensors are suitable for different application scenarios and temperature ranges. The selection of a suitable temperature sensor depends on the required accuracy, response time, and usage conditions in a specific environment. This application does not limit the type of temperature sensor.
[0100] In addition, if the temperature inside the car does not meet the comfortable temperature requirements, the air conditioner can be used to adjust the temperature so that the car can maintain a comfortable temperature even when exposed to the sun for a long time. For example, if the comfortable temperature is 22°C and the current temperature inside the car is 25°C, the air conditioner can be used to adjust the temperature inside the car to 22°C, so that the temperature inside the car meets the comfortable temperature requirements.
[0101] S203: If the sunlight comfort requirement and the sunlight health requirement are currently met, determine that the shading state to be adjusted is a partial shading state.
[0102] By judging whether the current sunlight comfort requirements and sunlight health requirements are met and determining the shading state to be adjusted, it is possible to provide users with personalized shading and sun protection solutions to meet their needs for both sun protection and sun basking.
[0103] For example, the present application determines whether the sunlight comfort requirements and sunlight health requirements are currently met based on the current values through an electronic control unit or a driving information and entertainment host. If it is determined that the sunlight comfort requirements and sunlight health requirements are currently met, the driving information and entertainment host controls the in-vehicle sun protection device to adjust the shading state using the local shading state conversion logic.
[0104] Furthermore, if the sunlight comfort requirement or sunlight health requirement is not met at present, the shading state to be adjusted is determined to be a complete shading state or a non-shading state. For example, when the values of some parameters are higher than the limit values, the complete shading state is adopted; when all the values are lower than the limit values, the non-shading state is adopted, and so on.
[0105] On the basis of the above-mentioned embodiments, the method for obtaining the light information outside the vehicle may include: obtaining the light information outside the vehicle through a light sensor; and / or obtaining the temperature inside and outside the vehicle through a temperature sensor, and determining the light information outside the vehicle based on the temperature inside and outside the vehicle and the local real-time weather information. Among them, the principle of obtaining the light information outside the vehicle through a light sensor is consistent with the principle of the above-mentioned embodiments, and will not be repeated here. The principle of obtaining the temperature inside and outside the vehicle through a temperature sensor, and determining the light information outside the vehicle based on the temperature inside and outside the vehicle and the local real-time weather information is to compare and analyze the temperature values inside and outside the vehicle with the local real-time, and adjust according to different temperatures and weather conditions, and infer the possible light intensity and ultraviolet intensity.
[0106] The light information outside the vehicle is obtained through a light sensor and / or the temperature inside and outside the vehicle is obtained through a temperature sensor. The light information outside the vehicle is determined according to the temperature inside and outside the vehicle and the local real-time weather information. Based on the light information outside the vehicle, a personalized shading and sun protection solution can be provided to the user.
[0107] Figure 3 This is a schematic diagram of the structure of an intelligent sun protection device for a vehicle provided in one embodiment of the present application. Figure 3 As shown, an in-vehicle intelligent sun protection device 300 provided in an embodiment of the present application includes:
[0108] An acquisition module 301 is used to acquire light information outside the vehicle, where the light information includes light intensity and ultraviolet intensity;
[0109] A determination module 302, for determining a shading state to be adjusted according to the light intensity and the ultraviolet intensity, where the shading state includes a complete shading state, a partial shading state and a non-shading state;
[0110] An identification module 303 is used for identifying the position of a target part of the driver and passenger in response to the shading state to be adjusted being a partial shading state, wherein the target part includes the head, neck and arms;
[0111] The control module 304 is used to control the in-vehicle sun protection device to perform local shading adjustment according to the position of the target part, so that the target part is completely shaded and other parts of the body can be bathed in sunlight with the maximum area. The in-vehicle sun protection device includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
[0112] In a possible implementation, the acquisition module is specifically used to: acquire the lighting information outside the vehicle through a light sensor; and / or acquire the temperature inside and outside the vehicle through a temperature sensor, and determine the lighting information outside the vehicle based on the temperature inside and outside the vehicle and local real-time weather information.
[0113] In one possible implementation, the determination module is specifically used to: determine whether the current sunlight health requirements are met based on the light intensity and ultraviolet intensity; determine whether the current sunlight comfort requirements are met based on the temperature inside and outside the vehicle; if the current sunlight comfort requirements and sunlight health requirements are met, determine that the shading state to be adjusted is a partial shading state.
[0114] In a possible implementation, the determination module is further used for: if the light intensity is between a first light intensity threshold and a second light intensity threshold, and the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, determining that the sunlight health requirement is currently met, the second light intensity threshold is greater than the first light intensity threshold, and the second ultraviolet intensity threshold is greater than the first ultraviolet intensity threshold; when the light intensity is not between the first light intensity threshold and the second light intensity threshold, or the ultraviolet intensity is not between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, determining that the sunlight health requirement is currently not met, wherein the light intensity is greater than the second light intensity threshold, or the ultraviolet intensity is greater than the second ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a complete shading state; the light intensity is less than the first light intensity threshold, and the ultraviolet intensity is less than the first ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a non-shading state.
[0115] In one possible implementation, the control module is specifically used to: obtain image data of the driver and passengers captured in real time by a camera inside the vehicle while controlling the local shading adjustment of the sun protection device inside the vehicle, and the boundary line of the color change between the shading part and the unshading part reflected in the image data is the light-dark boundary line inside the vehicle; for the position of the target part, according to the light-dark boundary line inside the vehicle, control the local shading adjustment of the sun protection device inside the vehicle, so that the light-dark boundary line inside the vehicle changes until the target part is completely shielded, and other parts of the body can be bathed in sunlight over the maximum area.
[0116] In a possible implementation, the control module is also used to: during the process of controlling the in-vehicle sun protection device to perform local shading adjustment, obtain image data of the driver and passengers captured in real time by a camera inside the vehicle that shoots inward, the image data reflecting the color difference of the target part during the shading process; and control the in-vehicle sun protection device to perform local shading adjustment based on the color difference according to the position of the target part.
[0117] In a possible implementation, the control module is also used to: control the in-vehicle sun protection device to perform local shading adjustments according to a preset shading state conversion logic with respect to the target location, and the preset shading state conversion logic includes adjusting the in-vehicle sun protection device to a set degree and / or raising or lowering the in-vehicle sun protection device to a set length.
[0118] Figure 4 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 4As shown, the electronic device 400 provided in the embodiment of the present application may include: a processor 401 and a memory 402, wherein:
[0119] Memory 402, used to store computer-executable instructions;
[0120] The processor 401 is used to execute the computer-executable instructions stored in the memory 402 to implement the in-vehicle intelligent sun protection method described in the above method embodiment.
[0121] It should be understood that the processor 401 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor. The memory 402 may include a high-speed random access memory (RAM), and may also include non-volatile storage NVM (non-volatile memory), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0122] Optionally, the electronic device 400 may further include a communication interface 403. In a specific implementation, if the communication interface 403, the memory 402 and the processor 401 are implemented independently, the communication interface 403, the memory 402 and the processor 401 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0123] Optionally, in a specific implementation, if the communication interface 403, the memory 402 and the processor 401 are integrated on a chip, the communication interface 403, the memory 402 and the processor 401 can communicate through an internal interface.
[0124] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed, they are used to implement the in-vehicle intelligent sun protection method described in any of the aforementioned embodiments.
[0125] It is understood that the computer readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special computer.
[0126] An exemplary computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be an integral part of the processor. The processor and the computer-readable storage medium can be located in an ASIC. Of course, the processor and the computer-readable storage medium can also exist in an electronic device as discrete components.
[0127] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a computer-readable storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.
[0128] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements the in-vehicle intelligent sun protection method described in any of the aforementioned embodiments.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for an electronic device (which can be a computer, a server, or a network communication device, etc.) to execute the methods described in each embodiment of the present application.
[0130] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0131] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An intelligent sun protection method in a car, characterized in that: include: Acquiring lighting information outside the vehicle, wherein the lighting information includes light intensity and ultraviolet intensity; Determining a shading state to be adjusted according to the light intensity and the ultraviolet intensity, wherein the shading state includes a complete shading state, a partial shading state, and a non-shading state; In response to the shading state to be adjusted being a partial shading state, identifying a target part position of a driver or passenger, the target part including a head, a neck, and an arm; According to the position of the target part, the sun protection device in the car is controlled to perform local shading adjustment so that the target part is completely shielded and other parts of the body can be bathed in sunlight with the maximum area. The sun protection device in the car includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
2. The intelligent sun protection method for vehicles according to claim 1, characterized in that: The method of controlling the sun protection device in the vehicle to perform partial shading adjustment according to the position of the target part, so that the target part is completely shaded and other parts of the body can be bathed in sunlight with the largest area, includes: In the process of controlling the in-vehicle sun protection device to perform partial shading adjustment, image data of the driver and passengers captured in real time by a camera in the vehicle facing inward is obtained, and the boundary line of the color change between the shading part and the unshading part reflected in the image data is the light-dark boundary line in the vehicle; With respect to the position of the target part, according to the light-dark boundary line in the car, the sun protection device in the car is controlled to perform partial shading adjustment, so that the light-dark boundary line in the car changes until the target part is completely shaded, and other parts of the body can bathe in sunlight to the maximum extent.
3. The intelligent sun protection method for vehicles according to claim 1, characterized in that: The controlling the sun protection device in the vehicle to perform local shading adjustment according to the target part position includes: In the process of controlling the in-vehicle sun protection device to perform local shading adjustment, image data of the driver and passengers captured in real time by a camera in the vehicle facing inward is obtained, wherein the image data reflects the color difference of the image of the target part during the shading process; With respect to the target part position, according to the color difference, the in-vehicle sun protection device is controlled to perform local shading adjustment.
4. The intelligent sun protection method for vehicles according to claim 1, characterized in that: The controlling the sun protection device in the vehicle to perform local shading adjustment according to the target part position includes: According to the target part position, the in-vehicle sun protection device is controlled to perform local shading adjustment according to a preset shading state conversion logic, and the preset shading state conversion logic includes adjusting the in-vehicle sun protection device to a set degree and / or raising or lowering the in-vehicle sun protection device to a set length.
5. The intelligent sun protection method for vehicles according to any one of claims 1 to 4, characterized in that: The step of determining the shading state to be adjusted according to the light intensity and the ultraviolet intensity includes: Determining whether the sunlight health requirement is currently met according to the light intensity and the ultraviolet intensity; Determine whether the sunlight comfort requirement is currently met based on the temperature inside and outside the vehicle; If the sunlight comfort requirement and the sunlight health requirement are currently met, it is determined that the shading state to be adjusted is a partial shading state.
6. The intelligent sun protection method for vehicles according to claim 5, characterized in that: The determining whether the sunlight health requirement is currently met according to the light intensity and the ultraviolet intensity includes: If the light intensity is between the first light intensity threshold and the second light intensity threshold, and the ultraviolet intensity is between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, it is determined that the sunlight health requirement is currently met, the second light intensity threshold is greater than the first light intensity threshold, and the second ultraviolet intensity threshold is greater than the first ultraviolet intensity threshold; If the light intensity is not between the first light intensity threshold and the second light intensity threshold, or the ultraviolet intensity is not between the first ultraviolet intensity threshold and the second ultraviolet intensity threshold, it is determined that the sunlight health requirement is not met at present, wherein the light intensity is greater than the second light intensity threshold, or the ultraviolet intensity is greater than the second ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a complete shading state; the light intensity is less than the first light intensity threshold, and the ultraviolet intensity is less than the first ultraviolet intensity threshold, and the corresponding shading state to be adjusted is a non-shading state.
7. The intelligent sun protection method for a vehicle according to any one of claims 1 to 4, characterized in that: The obtaining of the illumination information outside the vehicle includes: Obtain the lighting information outside the vehicle through the light sensor; And / or, obtaining the temperature inside and outside the vehicle through a temperature sensor, and determining the light information outside the vehicle based on the temperature inside and outside the vehicle and local real-time weather information.
8. An intelligent sun protection device in a car, characterized in that: include: An acquisition module, used to acquire light information outside the vehicle, wherein the light information includes light intensity and ultraviolet intensity; A determination module, used to determine a shading state to be adjusted according to the light intensity and the ultraviolet intensity, wherein the shading state includes a complete shading state, a partial shading state and a non-shading state; An identification module, for identifying a target part of a driver or passenger in response to the shading state to be adjusted being a partial shading state, wherein the target part includes a head, a neck, and an arm; The control module is used to control the in-vehicle sun protection device to perform local shading adjustment according to the position of the target part, so that the target part is completely shielded and other parts of the body can be bathed in sunlight with the maximum area. The in-vehicle sun protection device includes at least one of an electric sun visor, an electric sunshade, an electric skylight, color-changing side windows and a color-changing skylight.
9. An electronic device, characterized in that: include: Memory for storing computer-executable instructions; A processor is used to execute the computer-executable instructions to implement the in-vehicle intelligent sun protection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed, are used to implement the in-vehicle intelligent sun protection method as described in any one of claims 1 to 7.