Roof control method and device, vehicle and storage medium

By integrating color-pairing glass, projection image and cleaning systems, the intelligent roof function is realized, and the problem of single roof function is solved, the vehicle's practicality and sense of technology are improved, and consumers' needs for personalization and multifunctions are met.

CN118927965APending Publication Date: 2024-11-12CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411015582.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing roof function is single, and the roof space cannot be fully utilized, which cannot meet consumers' needs for personalized and multi-functionality.

Method used

Through the integrated color-patching glass, projected image and cleaning system, intelligent sunshade, intelligent rest and intelligent cleaning modes are realized, the roof glass color, projection pattern and music are adjusted according to environmental information and passenger status, and the roof glass is automatically detected and cleaned.

Benefits of technology

It improves the practicality and sense of technology of the vehicle, meets the needs of comfort, entertainment and intelligence, and becomes an important window for vehicle personality and innovation, solving the problem of single roof function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118927965A_ABST
    Figure CN118927965A_ABST
Patent Text Reader

Abstract

The invention provides a car roof control method and device, a vehicle and a storage medium, the method comprises the steps that in an intelligent sunshade mode, under the condition that a car roof sunshade curtain is opened, the color of car roof glass is adjusted according to real-time environment information and passenger state information, and the car roof glass comprises inner-layer glass, an electric adjusting color-changing interlayer and outer-layer glass; in the intelligent rest mode, a projector is used for projecting a preset pattern to a car roof sunshade curtain, a fragrance system is started, and music is played; and in the intelligent cleaning mode, the smudginess degree is determined according to the light transmittance of the car roof glass, and cleaning liquid is sprayed to the car roof glass when the smudginess degree reaches a preset condition. According to the intelligent car roof, the color matching glass, the projection image and the cleaning system are integrated to jointly form the intelligent car roof, multiple intelligent modes are integrated, the requirements for comfort, entertainment and intellectualization are met, the practicability and the science and technology sense of the car are improved, and the car roof becomes an important window for showing the personality and innovation of the car.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a roof control method, device, vehicle and storage medium. Background Art

[0002] China's vehicle industry is at the forefront of the world under the new trends of intelligence, networking, and new energy. Consumers' demand for vehicles is also advancing with the times, changing from basic means of transportation to mobile private space. In the past, the seats, instruments, sunroofs, and ceilings in the passenger compartment of vehicles had single functions, and the differentiation between vehicles could only be achieved through changes in materials and shapes. As an important part of the passenger compartment, the roof of the vehicle occupies all the space above the head and has a large area, but most cars currently have only sunroofs and sunshades on their roofs, and their functions are relatively simple. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a roof control method, device, vehicle and storage medium, which integrate tinting glass, projected images, and a cleaning system to form an intelligent roof, integrate multiple intelligent modes, and meet the needs of comfort, entertainment, and intelligence. It not only improves the practicality and sense of technology of the vehicle, but also makes the roof an important window to show the personality and innovation of the vehicle.

[0004] The present application provides a roof control method, the method comprising:

[0005] In the intelligent sunshade mode, when the roof sunshade is open, the color of the roof glass is adjusted according to the real-time environmental information and passenger status information, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass;

[0006] In the intelligent rest mode, a preset pattern is projected onto the roof sunshade by a projector, a fragrance system is turned on, and music is played, wherein the fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle, and the fragrance system includes a fragrance box and a fan, and the fan is used to blow out the fragrance in the fragrance box;

[0007] In the intelligent cleaning mode, the degree of dirtiness is determined according to the light transmittance of the roof glass, and cleaning fluid is sprayed on the roof glass when the degree of dirtiness reaches a preset condition.

[0008] Further, adjusting the color of the roof glass according to the real-time environmental information and the passenger status information includes:

[0009] The light intensity is collected by using a light sensor installed in the car, the temperature intensity is collected by using a temperature sensor installed in the car, and the facial status information of the passengers is collected by using front and rear row cameras;

[0010] If the light intensity and the temperature intensity reach the first shading condition, and the facial state information reaches the second shading condition, adjusting the color of the roof glass to the color corresponding to the light intensity, and continuing to collect the facial state information;

[0011] If the facial status information reaches the second shading condition, the color of the roof glass continues to deepen.

[0012] Furthermore, the facial status information includes at least one of squinting information, frowning information, eye socket shadow information, nasal socket shadow information, and chin shadow information.

[0013] Furthermore, the projector is used to project a preset pattern onto the roof sunshade, the fragrance system is turned on, and music is played, including:

[0014] Controlling the roof sunshade to be in an unfolded state, and outputting the preset pattern to the projector through an audio-visual controller, so that the projector projects the preset pattern onto the roof sunshade to display the projected pattern on the roof sunshade;

[0015] Controlling the window state to be closed, and controlling the fan to rotate when the amount of fragrance in the fragrance box is greater than a preset threshold;

[0016] Control the audio-visual entertainment controller to play music.

[0017] Furthermore, the method further comprises:

[0018] In response to a picture change instruction, controlling the audio-visual entertainment controller to change the projection pattern; and / or,

[0019] In response to the color adjustment instruction, adjusting the color and / or brightness of the projection pattern; and / or,

[0020] In response to a music change instruction, controlling the audio-visual entertainment controller to change the music; and / or,

[0021] According to the sleeping state of the rear passengers, the audio-visual entertainment controller is controlled to stop playing music and adjust the brightness of the projection pattern.

[0022] Further, determining the degree of dirtiness according to the light transmittance of the roof glass, and spraying cleaning fluid on the roof glass when the degree of dirtiness reaches a preset condition, comprises:

[0023] Controlling the roof sunshade to be in a retracted state;

[0024] The light sensor and camera installed in the vehicle are used to collect the light transmittance of the roof, and the degree of dirtiness is determined according to the light transmittance;

[0025] If the degree of dirtiness reaches the cleaning condition, the roof cleaning pump delivers cleaning fluid to multiple cleaning nozzles arranged on the roof, and the cleaning nozzles spray cleaning fluid while rotating at a constant speed, and stop spraying after a preset time;

[0026] Return to the step of collecting the light transmittance state of the roof using the light sensor and camera arranged in the vehicle, until the dirt level does not reach the cleaning condition.

[0027] Furthermore, the method further comprises:

[0028] In response to a roof cleaning instruction from the front control panel, cleaning fluid is sprayed onto the roof glass.

[0029] The present application also provides a roof control device, the device comprising:

[0030] An intelligent sunshade module is used to adjust the color of the roof glass according to real-time environmental information and passenger status information in the intelligent sunshade mode when the roof sunshade is open, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass;

[0031] An intelligent rest module, used for projecting a preset pattern onto the roof sunshade using a projector, turning on a fragrance system, and playing music in an intelligent rest mode, wherein the fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle, and the fragrance system includes a fragrance box and a fan, and the fan is used for blowing out fragrance in the fragrance box;

[0032] The intelligent cleaning module is used to determine the degree of dirtiness according to the light transmittance of the roof glass in the cleaning mode, and spray cleaning fluid on the roof glass when the degree of dirtiness reaches a preset condition.

[0033] Furthermore, the intelligent sunshade module is used for:

[0034] The light intensity is collected by using a light sensor installed in the car, the temperature intensity is collected by using a temperature sensor installed in the car, and the facial status information of the passengers is collected by using front and rear row cameras;

[0035] If the light intensity and the temperature intensity reach the first shading condition, and the facial state information reaches the second shading condition, adjusting the color of the roof glass to the color corresponding to the light intensity, and continuing to collect the facial state information;

[0036] If the facial status information reaches the second shading condition, the color of the roof glass continues to deepen.

[0037] Furthermore, the facial status information includes at least one of squinting information, frowning information, eye socket shadow information, nasal socket shadow information, and chin shadow information.

[0038] Furthermore, the intelligent rest module is used for:

[0039] Controlling the roof sunshade to be in an unfolded state, and outputting the preset pattern to the projector through an audio-visual controller, so that the projector projects the preset pattern onto the roof sunshade to display the projected pattern on the roof sunshade;

[0040] Controlling the window state to be closed, and controlling the fan to rotate when the amount of fragrance in the fragrance box is greater than a preset threshold;

[0041] Control the audio-visual entertainment controller to play music.

[0042] Furthermore, the intelligent rest module is used for:

[0043] In response to a picture change instruction, controlling the audio-visual entertainment controller to change the projection pattern; and / or,

[0044] In response to the color adjustment instruction, adjusting the color and / or brightness of the projection pattern; and / or,

[0045] In response to a music change instruction, controlling the audio-visual entertainment controller to change the music; and / or,

[0046] According to the sleeping state of the rear passengers, the audio-visual entertainment controller is controlled to stop playing music and adjust the brightness of the projection pattern.

[0047] Furthermore, the intelligent cleaning module is used to:

[0048] Controlling the roof sunshade to be in a retracted state;

[0049] The light sensor and camera installed in the vehicle are used to collect the light transmittance of the roof, and the degree of dirtiness is determined according to the light transmittance;

[0050] If the degree of dirtiness reaches the cleaning condition, the roof cleaning pump delivers cleaning fluid to multiple cleaning nozzles arranged on the roof, and the cleaning nozzles spray cleaning fluid while rotating at a constant speed, and stop spraying after a preset time;

[0051] Return to the step of collecting the light transmittance state of the roof using the light sensor and camera arranged in the vehicle, until the dirt level does not reach the cleaning condition.

[0052] Furthermore, the intelligent cleaning module is used to:

[0053] In response to a roof cleaning instruction from the front control panel, cleaning fluid is sprayed onto the roof glass.

[0054] An embodiment of the present application also provides a vehicle, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the vehicle is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the roof control method as described above are performed.

[0055] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the roof control method as described above are executed.

[0056] The roof control method, device, vehicle and storage medium provided in the embodiments of the present application integrate tinting glass, projected images and cleaning systems to form a smart roof to achieve multiple smart modes. The color of the roof glass can be intelligently changed according to environmental information and the facial expressions of passengers to provide sunshade function for passengers; the sunshade curtain can be used as a projection screen to project preset patterns, play music, and turn on the fragrance system to create an all-round relaxing environment for passengers; in addition, the degree of dirtiness of the roof can be automatically detected, and the roof can be cleaned when the degree of dirtiness is high. Through the integration of multiple intelligent functions, the needs of comfort, entertainment and intelligence are met, which not only improves the practicality and sense of technology of the vehicle, but also makes the roof an important window to show the personality and innovation of the vehicle, solving the problem of the single function of the existing roof.

[0057] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 A schematic diagram of an electrically color-adjustable panoramic skylight glass on a vehicle roof provided in an embodiment of the present application is shown;

[0060] Figure 2 A flow chart of a roof control method provided by an embodiment of the present application is shown;

[0061] Figure 3 A flow chart of another roof control method provided by an embodiment of the present application is shown;

[0062] Figure 4A flow chart of another roof control method provided by an embodiment of the present application is shown;

[0063] Figure 5 A flow chart of another roof control method provided by an embodiment of the present application is shown;

[0064] Figure 6 A schematic structural diagram of a roof control device provided in an embodiment of the present application is shown;

[0065] Figure 7 A schematic structural diagram of a vehicle provided in an embodiment of the present application is shown.

[0066] In the figure:

[0067] 600 roof control device, 610 intelligent sunshade module, 620 intelligent rest module, 630 intelligent cleaning module, 700 vehicle, 710 processor, 720 memory, 730 bus. DETAILED DESCRIPTION

[0068] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0069] First, the application scenarios to which this application can be applied are introduced. This application can be applied to the intelligent control of the roof of a vehicle. Research has found that in today's vehicle design, the configuration of most car roofs still remains on the traditional sunroof and sunshade. Although these functions meet the basic ventilation and shading needs, they are relatively single and fail to fully tap the potential of the roof space. With the advancement of technology and the improvement of consumers' demand for personalization and multi-functions, future roof designs can incorporate more innovative elements.

[0070] Based on this, an embodiment of the present application provides a roof control method that integrates intelligent shading, intelligent rest and intelligent cleaning functions to meet the needs of comfort, entertainment and intelligence. It not only improves the practicality and sense of technology of the vehicle, but also makes the roof an important window to show the personality and innovation of the vehicle.

[0071] First, the hardware structure on which this application is based is introduced. The roof of this application is set as follows: Figure 1 The electrically tinted skylight glass shown in the middle shaded part is composed of ordinary glass and electrically adjustable color-changing interlayer. When the controller receives the command, it outputs different electrical signals, and the glass color can change from light to dark. In addition, the present application is provided with front and rear row cameras, light sensors and controllers in the car. The front row camera can be set on the steering wheel, and the rear row camera can be set above the rear window. The camera's illumination angle can cover the driver and the left and right rear row passengers, especially strengthening the capture of the passenger's head and facial movements, especially the movements of the eye area. The light sensor can collect the intensity of sunlight shining from the roof in the car. The camera and the sensor are connected to the controller. The program set in the controller analyzes the captured face image, combines the acquisition signal of the light sensor, and judges whether the external light is comfortable through the eye movement. And push the prompt information of whether the roof-related functions are turned on to the front and rear rows on the in-vehicle screen.

[0072] The roof is equipped with an automatic retractable sunshade, which is unfolded and retracted by a motor. The lower surface of the curtain is made of a projection screen material, which can clearly display the color pattern projected by the small projector in the car. At the same time, the surface of the curtain has a certain strength to ensure that the surface of the sunshade is flat when unfolded and the projected image is not distorted. Among them, the on-board laser projector is integrated above the rear ceiling. Through the signal output by the audio and video entertainment controller, dynamic patterns such as the starry sky and sunset are projected onto the unfolded sunshade on the roof, or divided into areas, the roof is illuminated according to the color selected by the user to replace the interior lights; the patterns are preset in the audio and video entertainment controller, and users can also add them according to their preferences.

[0073] The automatic fragrance system integrates a fragrance box and a controller, which are installed at the rear section of the vehicle's auxiliary instrument panel, in front of the rear passenger side. It can rotate the fan according to the instructions of the central controller to blow out the fragrance into the passenger compartment.

[0074] The rear armrest control screen is installed in front of the rear armrest and has an LED touch screen on it. Rear passengers can use the screen to set the color depth of the sunroof glass, the pattern and effect of the roof projection, the fragrance concentration, the sunroof cleaning function switch, etc.

[0075] The communication component is responsible for the communication connection between the sunroof, sunshade, camera, fragrance, cleaning device, audio and video entertainment controller, various sensors and controllers. The central controller is responsible for receiving various information set by passengers, controlling the operation of various hardware and the coordinated processing of vehicle information.

[0076] The roof cleaning nozzles are arranged at the four corners of the sunroof outside the car. The cleaning pump and liquid tank are in the cabin and connected to the nozzles through cleaning pipes. The nozzles are equipped with a rotating mechanism that can rotate 30° in both directions along the vertical axis. The four nozzles can work simultaneously to complete the roof cleaning.

[0077] See also Figure 2 , Figure 2 This is a flow chart of a roof control method provided by an embodiment of the present application. Figure 2 As shown in , the roof control method provided by the embodiment of the present application includes:

[0078] S101. In the intelligent sunshade mode, when the roof sunshade is open, the color of the roof glass is adjusted according to the real-time environmental information and the passenger status information, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass.

[0079] In this step, the intelligent sunshade mode comprehensively analyzes the real-time environment and passenger status to provide sunshade function for the driver and passengers. First, it determines whether the roof sunshade is folded or unfolded. If the roof sunshade is folded, the sunshade function can be provided by unfolding the sunshade; if the sunshade is unfolded, but the environment and passenger status still meet the conditions that require sunshade, the sunshade function is provided by adjusting the color of the roof glass.

[0080] Wherein, in step S101, adjusting the color of the roof glass according to the real-time environment information and the passenger status information includes:

[0081] S1011, using a light sensor disposed in the vehicle to collect light intensity, using a temperature sensor disposed in the vehicle to collect temperature intensity, and using front and rear row cameras to collect facial status information of passengers;

[0082] S1012: If the light intensity and the temperature intensity reach the first shading condition, and the facial state information reaches the second shading condition, adjusting the color of the roof glass to a color corresponding to the light intensity, and continuing to collect facial state information;

[0083] S1013. If the facial status information reaches the second shading condition, continue to deepen the color of the roof glass.

[0084] In steps S1011-S1013, the light sensor in the car is responsible for monitoring the light intensity, and the temperature sensor is used to monitor the temperature in the car. These two sensors can reflect the changes in the environment in the car in real time. The front and rear row cameras are used to capture the facial status information of the passengers, including at least one of squinting information, frowning information, eye socket shadow information, nose socket shadow information, and chin shadow information. Through the face recognition function, the passenger's expression and eye state are analyzed to determine the passenger's comfort.

[0085] The vehicle can decide whether to adjust the color of the roof glass based on whether the light intensity and temperature intensity reach the preset first shading condition. The first shading condition can be a preset threshold. When the light or temperature exceeds the corresponding threshold, the roof glass color change mechanism is automatically activated. At the same time, it can also be further confirmed whether the glass color needs to be adjusted based on whether the facial status information reaches the second shading condition. The second shading condition may include whether the passenger's eyes are closed, whether there is a frown or other expressions. If it is judged that the passenger is uncomfortable through this information, the roof glass color will be adjusted accordingly.

[0086] After adjusting the color of the roof glass, if the facial status information still reaches the second shading condition, the color of the roof glass is further deepened to provide a stronger shading effect.

[0087] This embodiment continuously collects and analyzes environmental information and passenger status information, and dynamically adjusts the color of the roof glass to ensure passenger comfort and the suitability of the in-car environment, thereby improving the passenger experience.

[0088] S102. In the intelligent rest mode, a preset pattern is projected onto the roof sunshade by using a projector, a fragrance system is turned on, and music is played. The fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle. The fragrance system includes a fragrance box and a fan, and the fan is used to blow out fragrance in the fragrance box.

[0089] In this step, in the intelligent rest mode, the projector will project a preset pattern onto the roof sunshade, such as a tranquil natural landscape or soothing geometric figures, to create a tranquil visual environment. The projector projects the image onto the sunshade through a high-precision optical system, using the sunshade as a screen to evenly distribute the image over the entire roof area. At the same time, the fragrance system is activated. The system is located at the rear of the vehicle's sub-dashboard and includes a spice box and a fan. The fan can evenly blow the fragrance in the spice box into the interior space so that the fragrance can cover the entire cabin. In addition, preset music, such as soft melodies or natural sounds, can be played to further help passengers relax.

[0090] This embodiment creates an all-round relaxing environment for passengers through multi-sensory stimulation of vision, smell and hearing, which helps to relieve fatigue during the journey and enhance the riding experience.

[0091] Among them, in step S102, a preset pattern is projected onto the roof sunshade by using a projector, a fragrance system is turned on, and music is played, including:

[0092] S1021, controlling the roof sunshade to be in an unfolded state, and outputting a preset pattern to a projector through an audio-visual controller, so that the projector projects the preset pattern onto the roof sunshade, so as to display the projected pattern on the roof sunshade;

[0093] S1022, controlling the window state to be closed, and controlling the fan to rotate when the amount of fragrance in the fragrance box is greater than a preset threshold;

[0094] S1023. Control the audio and video entertainment controller to play music.

[0095] In steps S1021-S1023, the roof sunshade is controlled to unfold as a projection screen; after receiving the command, the audio and video controller transmits the preset pattern data to the projector; the projector projects the received pattern clearly onto the unfolded roof sunshade. At the same time, the windows are controlled to close to ensure the closed environment inside the car. At the same time, the system checks whether the amount of fragrance in the fragrance box is greater than the preset threshold. If the amount of fragrance is sufficient, the fan is started, and the fragrance in the fragrance box is evenly blown into the car through the rotation of the fan to provide a pleasant olfactory environment. In addition, the audio and video entertainment controller can also be controlled to play preset music to provide passengers with a pleasant auditory experience.

[0096] In addition, in the intelligent rest mode, the method further includes:

[0097] S1024, in response to the picture change instruction, controlling the audio-visual entertainment controller to change the projection pattern; and / or,

[0098] S1025, in response to the color adjustment instruction, adjusting the color and / or brightness of the projection pattern; and / or,

[0099] S1026, in response to the music change instruction, controlling the audio-visual entertainment controller to change the music; and / or,

[0100] S1027. According to the sleeping state of the rear passenger, control the audio and video entertainment controller to stop playing music and adjust the brightness of the projected pattern.

[0101] In steps S1024-S1027, when a picture change instruction is received, a new pattern is selected and loaded from the preset pattern library according to the instruction, and then the new pattern is projected onto the roof through the projector to achieve the replacement of the projection pattern. In addition, when a color adjustment instruction is received, the color and brightness of the projected pattern are adjusted by adjusting the color and brightness of the projector to meet the personalized needs of the passengers. In addition, when a music change instruction is received, a new track is selected and played from the preset music library to provide passengers with a diverse auditory experience. In addition, the sleeping state of the passenger is identified by the facial expressions and body movements of the passenger captured by the camera in the car. If it is detected that the passenger has fallen asleep, the brightness of the projected pattern is automatically reduced and the music is stopped to avoid disturbing the passenger's rest.

[0102] This embodiment implements personalized adjustments based on passenger needs by responding to passenger instructions, ensuring that passengers can get the best rest and entertainment experience in the car.

[0103] S103: In the intelligent cleaning mode, the degree of dirtiness is determined according to the light transmittance of the roof glass, and cleaning fluid is sprayed on the roof glass when the degree of dirtiness reaches a preset condition.

[0104] In this step, the degree of dirtiness is determined based on the light transmittance information of the roof glass. It can be understood that the higher the light transmittance, the lower the degree of dirtiness of the roof glass; otherwise, the higher the degree of dirtiness. If it is determined that the degree of dirtiness reaches the preset condition, the nozzle arranged on the roof is used to spray the cleaning liquid on the roof glass to realize intelligent cleaning of the roof glass.

[0105] Wherein, in step S103, determining the degree of dirtiness according to the light transmittance of the roof glass, and spraying cleaning liquid on the roof glass when the degree of dirtiness reaches a preset condition, includes:

[0106] S1031, controlling the roof sunshade to be retracted;

[0107] S1032, using a light sensor and a camera disposed in the vehicle to collect light transmittance of the roof, and determining the degree of dirtiness according to the light transmittance;

[0108] S1033: If the degree of dirtiness reaches the cleaning condition, the roof cleaning pump delivers cleaning fluid to a plurality of cleaning nozzles disposed on the roof, and the cleaning nozzles spray cleaning fluid while rotating at a constant speed, and stop spraying after a preset time;

[0109] S1034, returning to the step of collecting the light transmittance state of the roof using the light sensor and camera installed in the vehicle, until the degree of dirt does not reach the cleaning condition.

[0110] In steps S1031-S1034, the roof sunshade is first controlled to be in a retracted state to prevent the roof sunshade from affecting the judgment of the light transmittance of the roof glass. Then, the light sensor is used to detect the light intensity passing through the roof glass, and the camera captures the image of the roof surface. By analyzing the collected data, the degree of dirtiness of the roof is judged based on the influence of dirtiness on light transmittance. If it is determined that the degree of dirtiness of the roof has reached the cleaning condition, the roof cleaning pump extracts the cleaning liquid from the liquid storage tank and delivers it to multiple cleaning nozzles arranged on the roof. The cleaning nozzle sprays the cleaning liquid while rotating at a constant speed. This design ensures that the cleaning liquid can evenly cover the roof surface. The cleaning process automatically stops after a preset time to avoid excessive use of the cleaning liquid. Thereafter, the process returns to the step of using the light sensor and the camera to collect the light transmittance of the roof, and the degree of dirtiness of the roof is evaluated again. This cycle will continue until it is determined that the degree of dirtiness of the roof has not reached the cleaning condition, thereby ensuring that the roof is always kept clean.

[0111] In this embodiment, by real-time monitoring and evaluation of the degree of dirtiness of the roof, the cleaning operation is started and stopped intelligently, thereby ensuring the cleanliness of the roof and improving the efficiency of using the cleaning fluid.

[0112] Furthermore, the method also includes:

[0113] S1035. In response to the roof cleaning instruction of the front control panel, spray cleaning fluid onto the roof glass.

[0114] In this step, in addition to automatically collecting the light transmission information of the roof glass to determine the degree of dirtiness and then automatically cleaning the roof, the roof can also be cleaned manually. The driver can manually start the roof cleaning mode in the front control screen, and the nozzle set on the roof sprays cleaning fluid on the roof glass based on the roof cleaning command issued by the front control screen.

[0115] The roof control method provided in the embodiment of the present application integrates tinting glass, projected images, and a cleaning system to form an intelligent roof to achieve multiple intelligent modes. The color of the roof glass can be intelligently changed according to environmental information and the facial expressions of passengers to provide sunshade functions for passengers; the sunshade curtain is used as a projection screen to project preset patterns, play music, and turn on the fragrance system to create an all-round relaxing environment for passengers; in addition, the degree of dirtiness of the roof can be automatically detected, and the roof can be cleaned when the degree of dirtiness is high. Through the integration of multiple intelligent functions, the needs of comfort, entertainment, and intelligence are met, which not only improves the practicality and sense of technology of the vehicle, but also makes the roof an important window to show the personality and innovation of the vehicle, solving the problem of the single function of the existing roof.

[0116] In one embodiment, the intelligent sunshade mode of the roof control method includes:

[0117] S201, the intelligent sunshade mode is started to obtain the current state of the sunshade and the information of the front and rear passengers.

[0118] S202, the light sensor collects outdoor light intensity; the temperature sensor collects indoor and outdoor temperatures, and outputs them to the controller preset program for comparison to determine whether the shading setting conditions are met.

[0119] S203, the camera records the facial and eye conditions of the front and rear passengers, and the processor analyzes the image, including squinting, frowning, eye socket and nose socket shadow conditions, and compares it with the preset program to see whether the shading setting conditions are met.

[0120] S204: The roof glass receives the electrical signal and changes color according to a preset program, and the color depth is determined according to the light level set by the program.

[0121] S205, after the roof glass changes color, the camera continues to collect facial information, and determines whether to continue to deepen the color of the roof glass or maintain the current roof color according to the changes in the person's facial features. The function is executed.

[0122] In this embodiment, the intelligent shading mode is turned on, the light sensor detects the light intensity outside the car, and the temperature sensor detects the temperature of the cab; if the light intensity reaches the preset value and the temperature exceeds the preset comfortable range, the camera inside the car will recognize the faces of the driver and the rear passengers. If the face, especially the eye area, reacts to the light, such as squinting, frowning, unnatural expression, shadows in the eye socket area, nose area, and chin area, etc., it will be compared with the preset judgment conditions in the controller to determine whether the driver and the rear passengers are uncomfortable. If it is determined that the driver or passenger is uncomfortable, the central controller sends a command to adjust the glass color to the roof glass control, and the color of the roof glass interlayer deepens after receiving the electrical signal, thereby playing a shading role. After that, the driver and the rear passengers continue to recognize their faces to determine whether they are uncomfortable. If the driver and the rear passengers are still uncomfortable, the color of the roof glass will continue to deepen.

[0123] See also Figure 3 , Figure 3 This is a flow chart of the intelligent sunshade mode of the roof control method provided by another embodiment of the present application. Figure 3 As shown in the figure, the intelligent sunshade mode of the roof control method provided in the embodiment of the present application includes:

[0124] S301, intelligent shading mode starts.

[0125] S302, sunshade status detection, camera activation, and light sensor activation.

[0126] S303: If the sunshade is open and the camera is not blocked, jump to step S304; otherwise, jump to step S305.

[0127] S304: The camera starts to capture passenger images, and the light sensor collects outdoor light intensity.

[0128] S305, reminding passengers that the sunshade needs to be opened in the intelligent shading mode.

[0129] S306: If it is determined that the passenger needs to be shielded from light, jump to step S307; otherwise, jump to step S308.

[0130] S307, the main controller sends a command, and the roof glass controller sends an electrical signal.

[0131] S308. The camera continues to capture images of passengers and make judgments.

[0132] S309: The color of the roof glass is deepened according to a preset procedure according to the light intensity and the facial expression of the passenger.

[0133] S310: If it is determined that the passenger is comfortable, jump to step S311; otherwise, jump to step S312.

[0134] S311, the intelligent shading mode is executed.

[0135] S312. The color of the roof glass continues to deepen.

[0136] In this embodiment, in step S301, the intelligent shading mode is started, which is designed to automatically adjust the color of the roof glass according to the external lighting conditions and the comfort of the passengers to provide the best shading effect. In step S302, the sunshade state is detected, and the camera and the light sensor are started at the same time. The camera is used to capture the interior environment, especially the facial expressions of the passengers, while the light sensor is used to detect the outdoor light intensity. In step S303, it is determined whether the sunshade is open and whether the camera is blocked. If the sunshade is open and the camera is not blocked, jump to step S304; otherwise, the passenger is prompted to open the sunshade for effective shading control. In step S304, the camera starts to capture the passenger's facial expression image, and the light sensor collects the outdoor light intensity. These data are then used to analyze the passenger's comfort and external lighting conditions to determine whether the color of the roof glass needs to be adjusted. In step S305, if it is detected that the sunshade is not open, a prompt message is sent to the passenger to inform the passenger that the sunshade needs to be opened. In step S306, based on the passenger image captured by the camera and the data of the light sensor, it is determined whether the passenger needs shading. If it is determined that shading is required, jump to step S307; otherwise, continue to monitor the comfort of the passenger. In step S307, the main controller sends an instruction to the roof glass controller, and the roof glass controller sends an electrical signal to start the color change mechanism of the roof glass, deepen the color of the roof glass, and reduce the light transmittance of the glass. In step S308, the camera continues to capture the passenger's facial expression image and continues to determine whether the passenger is comfortable to ensure that the color adjustment of the roof glass meets the actual needs of the passenger. In step S309, according to the light intensity and the passenger's facial expression, the color of the roof glass is deepened according to the preset program. The higher the light intensity, the darker the color of the roof glass to provide the best shading effect. In step S310, it is determined whether the passenger feels comfortable. If the passenger is determined to be comfortable, the intelligent shading mode is executed; otherwise, continue to adjust the color of the roof glass. In step S312, if the passenger is still uncomfortable, it is considered that a deeper shading effect is needed, and the color of the roof glass will continue to deepen until the passenger's comfort requirements are met.

[0137] In one embodiment, the intelligent rest mode of the roof control method includes:

[0138] S401, intelligent rest mode is activated, the roof sunshade is opened, and the system checks the fragrance level in the fragrance box.

[0139] S402: The audio and video controller outputs a preset starry sky pattern to the projector, which is then projected onto the roof sunshade.

[0140] S403, the car windows are closed, the fragrance system is started, and the fan releases fragrance to the rear passengers at the preset air volume. The audio-visual entertainment controller starts playing preset light music.

[0141] S404: The rear armrest screen pushes information about changing the roof image, changing the music, and adjusting the color of the roof image. Passengers can decide whether to change it. If the rear passengers fall asleep, the camera in the car will dim the brightness of the roof projection image and stop the music.

[0142] In this embodiment, the intelligent rest mode is turned on, and the rear passengers turn on the intelligent rest mode through the armrest touch screen, the roof sunshade opens, and the glass roof is covered; the projector in the car is turned on, and the audio-visual entertainment system transmits the stored dynamic image of the starry sky to the projector, and the projector projects the pattern onto the sunshade. At the same time, the controller sends an instruction to the fragrance system to work, and the fan starts to release fragrance to the back row according to the preset air volume. Preset light music is played in the car. It can also be linked with the rear seat massage function. Passengers can select the pattern and brightness of the projector on the rear armrest screen to meet personalized needs.

[0143] See also Figure 4 , Figure 4 This is a flow chart of the intelligent rest mode of the roof control method provided by another embodiment of the present application. Figure 4 As shown in , the intelligent rest mode of the roof control method provided in the embodiment of the present application includes:

[0144] S501, intelligent rest mode starts.

[0145] S502, check the status of the roof sunshade and the amount of the fragrance box.

[0146] S503: If the fragrance box is sufficient and the roof sunshade is open, jump to step S504; otherwise, jump to step S505.

[0147] S504, the in-car projector is turned on, and the audio-visual entertainment system transmits the image to the projector and projects it onto the roof of the car.

[0148] S505. Open the sunshade and remind the passenger to add fragrance.

[0149] S506: If the car windows are closed and the temperature is comfortable, jump to step S507; otherwise, jump to step S508.

[0150] S507: The audio and video entertainment controller starts playing preset light music, and the fragrance system releases fragrance to the rear passengers.

[0151] S508. Close the car windows and turn on the air conditioner.

[0152] S509, the rear armrest screen pushes changes to the roof projection image and music information to the passengers.

[0153] S510. If the camera determines that the passenger is asleep, jump to step S511; otherwise, jump to step S512.

[0154] S511, dim the brightness of the roof projection and stop playing music.

[0155] S312, continue playing music and releasing fragrance.

[0156] In this embodiment, in step S501, the intelligent rest mode is started, which is designed to provide passengers with a relaxing and resting environment and enhance the comfort of passengers through a variety of sensory experiences. In step S502, first check the status of the roof sunshade and the stock of the fragrance box to ensure that the sunshade is in the correct position and there are enough fragrances in the fragrance box. In step S503, if the fragrance box is sufficient and the roof sunshade is already opened, jump to step S504; otherwise, prompt the passenger to open the sunshade or add fragrance. In step S504, turn on the in-car projector, and the audio-visual entertainment system begins to transmit preset images to the projector, such as tranquil natural landscapes or soothing geometric figures, which are projected onto the roof through the roof sunshade to provide visual relaxation for passengers. In step S505, if the sunshade is not opened or the fragrance box is insufficient, prompt the passenger to perform corresponding operations to ensure the normal operation of the intelligent rest mode. In step S506, check whether the windows are closed and whether the temperature in the car is comfortable. If the windows are closed and the temperature is suitable, jump to step S507; otherwise, take measures to adjust the interior environment. In step S507, the audio and video entertainment controller starts playing preset light music, and the fragrance releases fragrance at the same time, aiming to help passengers relax. The fragrance is evenly blown to the rear passengers through the fan, providing a pleasant olfactory environment. In step S508, if the windows are not closed or the temperature in the car is not suitable, close the windows and turn on the air conditioner to ensure the closedness of the interior environment and the suitability of the temperature. In step S509, the rear armrest screen pushes the option of changing the roof projection image and music information to the passengers, and the passengers can adjust the projection content and music playlist according to their personal preferences. In step S510, the camera is used to determine whether the passenger has fallen asleep. If it is determined that the passenger has fallen asleep, the brightness of the roof projection is dimmed and the music is stopped to avoid disturbing the passenger's sleep. In step S312, if the passenger has not fallen asleep, continue to play music and release fragrance to maintain a continuous relaxing environment.

[0157] In one embodiment, the intelligent cleaning mode of the roof control method includes:

[0158] S601, intelligent cleaning mode is activated and the roof sunshade is opened.

[0159] S602, the light sensor and camera inside the vehicle collect light transmittance status of the roof and transmit it to the central controller to determine the dirtiness status.

[0160] S603: When the cleaning standard is met, the roof washer fluid pump starts to work, and the roof nozzle sprays the washer fluid and rotates at a constant speed, and stops after a predetermined time.

[0161] S604: The light sensor and camera in the vehicle collect the light transmittance status of the roof, and if the conditions are met, the cleaning mode is exited. The driver can also manually start the roof cleaning directly.

[0162] In this embodiment, the intelligent cleaning mode is turned on, and the indoor camera and light sensor collect the light transmission information of the roof glass and analyze it according to the preset program. If it is determined that the roof glass is dirty, the cleaning mode is started. The roof cleaning pump transports the cleaning liquid in the cleaning liquid tank to the four cleaning nozzles on the roof through the pipeline. The nozzle rotates at a constant speed within 30° of its own axis according to the preset program, and sprays the cleaning liquid at the same time. After the spraying reaches the preset time, it stops. The indoor sensor and camera judge the degree of roof cleanliness. If the preset conditions are met, the cleaning is completed. The driver can also manually start the roof cleaning mode in the front control screen.

[0163] See also Figure 5 , Figure 5 This is a flow chart of the intelligent cleaning mode of the roof control method provided by another embodiment of the present application. Figure 5 As shown in the figure, the intelligent cleaning mode of the roof control method provided by the embodiment of the present application includes:

[0164] S701, smart cleaning mode starts.

[0165] S702, the light sensor and camera collect the light transmittance status of the roof glass and check the liquid level in the cleaning fluid tank.

[0166] S703: If the cleaning standard preset by the program is reached, jump to step S704; otherwise, jump to step S707.

[0167] S704, the washer fluid pump starts working, and the washer fluid is sprayed from four nozzles onto the roof glass. The nozzles rotate simultaneously so that the washer fluid covers the entire roof area.

[0168] S705: If the roof dirtiness meets the standard, jump to step S706; otherwise, jump to step S708.

[0169] S706: The washing liquid pump stops and the cleaning mode is exited.

[0170] S707, the program ends and exits.

[0171] S708, the washing liquid pump increases the spray pressure and continues cleaning for 30 seconds before exiting.

[0172] In this embodiment, in step S701, the intelligent cleaning mode is started, which is designed to automatically detect and clean the roof glass to ensure its light transmittance and aesthetics. In step S702, the light sensor and camera are used to collect the light transmittance of the roof glass and check the liquid level of the cleaning liquid tank. The light sensor can detect the intensity of light passing through the roof glass, and the camera can capture the image of the surface of the roof glass. In step S703, the degree of dirtiness of the roof glass is evaluated based on the collected data to determine whether it meets the cleaning standard preset by the program. If the degree of dirtiness of the roof glass meets the cleaning standard, jump to step S704; otherwise, end the program and exit the intelligent cleaning mode. In step S704, the cleaning liquid pump starts to work and sprays the cleaning liquid from four nozzles onto the roof glass. The nozzle rotates while spraying the cleaning liquid to ensure that the cleaning liquid can evenly cover the entire roof area, thereby effectively removing dirt. In step S705, the dirtiness of the roof glass is evaluated again. If the dirtiness has reached the standard, jump to step S706; otherwise, take further cleaning measures. In step S706, the washer fluid pump stops working and exits the cleaning mode. At this point, the roof glass has been cleaned and returned to normal. In step S707, if the degree of dirt on the roof glass does not meet the cleaning standard, the program ends and the intelligent cleaning mode exits without performing the cleaning operation. In step S708, if the degree of dirt on the roof glass does not meet the standard, the washer fluid pump increases the spray pressure and continues cleaning for 30 seconds. By increasing the spray force of the washer fluid, the cleaning effect is improved to ensure that the roof glass can meet the cleaning standard.

[0173] The roof control method provided in the embodiment of the present application can automatically adjust the color of the roof according to the external environment of the vehicle, provide sun protection for passengers, and enhance the comfort experience of passengers; in addition, the roof can provide changing patterns to enhance riding comfort and fun; by interconnecting with in-vehicle entertainment equipment and comfort functions, relevant functions can be actively pushed to passengers and drivers. Finally, the auxiliary system has a self-cleaning function to improve the convenience of use.

[0174] See also Figure 6 , Figure 6 A schematic diagram of the structure of a roof control device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the roof control device 600 includes:

[0175] The intelligent sunshade module 610 is used to adjust the color of the roof glass according to the real-time environmental information and the passenger status information in the intelligent sunshade mode when the roof sunshade is open, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass;

[0176] The intelligent rest module 620 is used to project a preset pattern onto the roof sunshade using a projector, turn on the fragrance system, and play music in the intelligent rest mode, wherein the fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle, and the fragrance system includes a fragrance box and a fan, and the fan is used to blow out the fragrance in the fragrance box;

[0177] The intelligent cleaning module 630 is used to determine the degree of dirtiness of the roof glass according to the light transmittance of the roof glass in the cleaning mode, and spray cleaning fluid on the roof glass when the degree of dirtiness reaches a preset condition.

[0178] Furthermore, the intelligent sunshade module 610 is used for:

[0179] The light intensity is collected by using a light sensor installed in the car, the temperature intensity is collected by using a temperature sensor installed in the car, and the facial status information of the passengers is collected by using front and rear row cameras;

[0180] If the light intensity and temperature intensity reach the first shading condition, and the facial state information reaches the second shading condition, the color of the roof glass is adjusted to the color corresponding to the light intensity, and the facial state information continues to be collected;

[0181] If the facial status information reaches the second shading condition, the color of the roof glass will continue to deepen.

[0182] Furthermore, the facial status information includes at least one of squinting information, frowning information, eye socket shadow information, nasal socket shadow information, and chin shadow information.

[0183] Furthermore, the intelligent rest module 620 is used to:

[0184] Control the roof sunshade to be in an unfolded state, and output a preset pattern to the projector through the audio-visual controller, so that the projector projects the preset pattern onto the roof sunshade to display the projected pattern on the roof sunshade;

[0185] Control the window state to be closed, and control the fan to rotate when the amount of fragrance in the fragrance box is greater than a preset threshold;

[0186] Control the audio and video entertainment controller to play music.

[0187] Furthermore, the intelligent rest module 620 is used to:

[0188] In response to the image change instruction, controlling the audio-visual entertainment controller to change the projection pattern; and / or,

[0189] In response to the color adjustment instruction, adjusting the color and / or brightness of the projected pattern; and / or,

[0190] In response to the music change instruction, controlling the audio-visual entertainment controller to change the music; and / or,

[0191] Depending on the sleeping state of the rear passengers, the audio and video entertainment controller stops playing music and adjusts the brightness of the projected pattern.

[0192] Furthermore, the intelligent cleaning module 630 is used to:

[0193] Control the roof sunshade to be retracted;

[0194] The light sensor and camera installed in the car are used to collect the light transmittance of the roof, and the degree of dirtiness is determined based on the light transmittance;

[0195] If the dirtiness reaches the cleaning condition, the roof cleaning pump will deliver cleaning fluid to multiple cleaning nozzles installed on the roof. The cleaning nozzles will spray cleaning fluid while rotating at a constant speed, and stop spraying after a preset time.

[0196] Return to the step of collecting the light transmittance state of the roof using the light sensor and camera installed in the car, until the dirt level does not reach the cleaning condition.

[0197] Furthermore, the intelligent cleaning module 630 is used to:

[0198] In response to the roof cleaning command from the front control panel, washer fluid is sprayed onto the roof glass.

[0199] It should be noted that for other corresponding descriptions of the functional modules involved in the roof control device provided in the embodiment of the present application, reference can be made to the corresponding descriptions in the above method and will not be repeated here.

[0200] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of a vehicle provided in an embodiment of the present application. Figure 7 As shown in , the vehicle 700 includes a processor 710 , a memory 720 , and a bus 730 .

[0201] The memory 720 stores machine-readable instructions executable by the processor 710. When the vehicle 700 is running, the processor 710 communicates with the memory 720 via the bus 730. When the machine-readable instructions are executed by the processor 910, the above-mentioned Figures 1 to 5 The steps of the roof control method in the illustrated method embodiment and the specific implementation thereof can be found in the method embodiment, which will not be described in detail here.

[0202] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figures 1 to 5 The steps of the roof control method in the illustrated method embodiment and the specific implementation thereof can be found in the method embodiment, which will not be described in detail here.

[0203] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

[0205] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0206] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0207] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0208] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A roof control method, characterized in that: The method comprises: In the intelligent sunshade mode, when the roof sunshade is open, the color of the roof glass is adjusted according to the real-time environmental information and passenger status information, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass; In the intelligent rest mode, a preset pattern is projected onto the roof sunshade by a projector, a fragrance system is turned on, and music is played, wherein the fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle, and the fragrance system includes a fragrance box and a fan, and the fan is used to blow out the fragrance in the fragrance box; In the intelligent cleaning mode, the degree of dirtiness is determined according to the light transmittance of the roof glass, and cleaning fluid is sprayed on the roof glass when the degree of dirtiness reaches a preset condition.

2. The method according to claim 1, characterized in that The method of adjusting the color of the roof glass according to the real-time environment information and the passenger status information includes: The light intensity is collected by using a light sensor installed in the car, the temperature intensity is collected by using a temperature sensor installed in the car, and the facial status information of the passengers is collected by using front and rear row cameras; If the light intensity and the temperature intensity reach the first shading condition, and the facial state information reaches the second shading condition, adjusting the color of the roof glass to the color corresponding to the light intensity, and continuing to collect the facial state information; If the facial status information reaches the second shading condition, the color of the roof glass continues to deepen.

3. The method according to claim 2, characterized in that The facial state information includes at least one of squinting information, frowning information, eye socket shadow information, nose socket shadow information, and chin shadow information.

4. The method according to claim 1, characterized in that: The method of using a projector to project a preset pattern onto the roof sunshade, turning on a fragrance system, and playing music includes: Controlling the roof sunshade to be in an unfolded state, and outputting the preset pattern to the projector through an audio-visual controller, so that the projector projects the preset pattern onto the roof sunshade to display the projected pattern on the roof sunshade; Controlling the window state to be closed, and controlling the fan to rotate when the amount of fragrance in the fragrance box is greater than a preset threshold; Control the audio-visual entertainment controller to play music.

5. The method according to claim 4, characterized in that The method further comprises: In response to a picture change instruction, controlling the audio-visual entertainment controller to change the projection pattern; and / or, In response to the color adjustment instruction, adjusting the color and / or brightness of the projection pattern; and / or, In response to a music change instruction, controlling the audio-visual entertainment controller to change the music; and / or, According to the sleeping state of the rear passengers, the audio-visual entertainment controller is controlled to stop playing music and adjust the brightness of the projection pattern.

6. The method according to claim 1, characterized in that Determining the degree of dirtiness according to the light transmittance of the roof glass, and spraying a cleaning fluid on the roof glass when the degree of dirtiness reaches a preset condition, comprising: Controlling the roof sunshade to be in a retracted state; The light sensor and camera installed in the vehicle are used to collect the light transmittance of the roof, and the degree of dirtiness is determined according to the light transmittance; If the degree of dirtiness reaches the cleaning condition, the roof cleaning pump delivers cleaning fluid to multiple cleaning nozzles arranged on the roof, and the cleaning nozzles spray cleaning fluid while rotating at a constant speed, and stop spraying after a preset time; Return to the step of collecting the light transmittance state of the roof using the light sensor and camera arranged in the vehicle, until the dirt level does not reach the cleaning condition.

7. The method according to claim 6, characterized in that The method further comprises: In response to a roof cleaning instruction from the front control panel, cleaning fluid is sprayed onto the roof glass.

8. A roof control device, characterized in that: The roof control device comprises: An intelligent sunshade module is used to adjust the color of the roof glass according to real-time environmental information and passenger status information in the intelligent sunshade mode when the roof sunshade is open, wherein the roof glass includes an inner layer of glass, an electrically adjustable color-changing interlayer and an outer layer of glass; An intelligent rest module, used for projecting a preset pattern onto the roof sunshade using a projector, turning on a fragrance system, and playing music in an intelligent rest mode, wherein the fragrance system is arranged at the rear section of the auxiliary instrument panel of the vehicle, and the fragrance system includes a fragrance box and a fan, and the fan is used for blowing out fragrance in the fragrance box; The intelligent cleaning module is used to determine the degree of dirtiness according to the light transmittance of the roof glass in the intelligent cleaning mode, and spray cleaning fluid on the roof glass when the degree of dirtiness reaches a preset condition.

9. A vehicle, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the vehicle is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the roof control 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 a computer program, and when the computer program is executed by a processor, the steps of the roof control method according to any one of claims 1 to 7 are executed.