Vehicle atmosphere lamp control method and system
By receiving vehicle gear signal, determining the color and brightness data of the ambient light, and controlling the display of the ambient light in real time, the problem of unintelligent adjustment of the ambient light in traditional technology is solved, and intelligent dynamic display is realized to meet the diverse needs of users.
Patent Information
- Application Number
- CN202410984666.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
In traditional technology, the lighting color and brightness of vehicle ambient lights are difficult to meet the diverse and intelligent needs of users. They need to be manually adjusted through mobile applications or vehicle control panels, and intelligent automatic control cannot be achieved.
By receiving the vehicle gear switching signal, the color data and brightness data of the ambient light are determined, and the display of the ambient light is controlled in real time based on the maximum brightness data and the lighting effect time period to achieve dynamic lighting effects.
It realizes intelligent dynamic display of vehicle ambient lights, meeting users' diverse and intelligent needs, without the need for users to manually set color and brightness, and improves driving comfort and sense of atmosphere.
Smart Images

Figure CN118928210A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle ambient light control method and system. Background Art
[0002] With the rapid advancement of science and technology, the demand for the development of intelligent and diversified vehicles has become increasingly prominent. The widespread application of intelligent technology enables vehicles to realize functions such as automatic driving and intelligent navigation, which improves the safety and convenience of driving. Diversified needs require more personalized vehicle design to meet the different aesthetic and practical needs of consumers. At the same time, the concept of software-defined vehicles is emerging, and through software upgrades and customized services, vehicles can become a sustainable smart mobile platform. With the intelligence, diversification and softwareization of vehicles, vehicles are no longer limited to a means of transportation, but can have more emotional interactions with people. For example, the vehicle is equipped with ambient lights, the color and brightness of which can be adjusted by the user, thereby increasing the owner's sense of atmosphere and comfort during the use of the vehicle. And with the development of technology, the vehicle ambient lights can also achieve adaptive control to meet the user's usage needs.
[0003] In traditional technology, the color and brightness of the vehicle's ambient light are manually adjusted through a mobile phone application or a control panel in the vehicle, which is difficult to meet users' diverse and intelligent needs for ambient light control. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle ambient light control method and system that can meet users' diverse and intelligent needs for ambient light control in response to the above technical problems.
[0005] In a first aspect, the present application provides a vehicle ambient light control method, comprising:
[0006] When a vehicle gear shift signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal, and the brightness data of the ambient light at the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light;
[0007] The display of the atmosphere light is controlled according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
[0008] In one embodiment, determining the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time of the atmosphere light includes:
[0009] Obtaining multiple lighting effect time periods of the atmosphere light;
[0010] Determine the lighting effect time period of the atmosphere light, and determine the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time period of the atmosphere light.
[0011] In one embodiment, determining the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time is located includes:
[0012] When the lighting effect time period of the atmosphere light is a lighting effect entry time period, the entry relative brightness of the atmosphere light at the lighting effect time is determined according to a preset relationship between the lighting effect time and the entry relative brightness; the entry relative brightness increases with the lighting effect time;
[0013] The brightness data of the atmosphere light at the lighting effect time is determined according to the entrance relative brightness of the atmosphere light at the lighting effect time and the maximum brightness data of the atmosphere light.
[0014] In one embodiment, determining the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time is located includes:
[0015] When the lighting effect time period of the ambient light is a lighting effect retention time period, the maximum brightness data of the ambient light is determined as the brightness data of the ambient light during the lighting effect time.
[0016] In one embodiment, determining the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time is located includes:
[0017] When the lighting effect time period of the atmosphere light is a lighting effect exiting time period, the exiting relative brightness of the atmosphere light is determined according to a preset relationship between the lighting effect time and the exiting relative brightness; the exiting relative brightness decreases with the lighting effect time;
[0018] The brightness data of the atmosphere light during the lighting effect time is determined according to the exit relative brightness of the atmosphere light and the maximum brightness data of the atmosphere light.
[0019] In one embodiment, determining the color data of the ambient light installed in the vehicle according to the vehicle gear shift signal includes:
[0020] determining the vehicle gear position after switching according to the vehicle gear position switching signal;
[0021] According to the preset correspondence between the vehicle gear position and the color of the ambient light, the color data of the ambient light installed in the vehicle corresponding to the switched vehicle gear position is determined.
[0022] In one embodiment, the method further comprises:
[0023] Get the light intensity outside the vehicle;
[0024] According to a preset mapping relationship between light intensity and maximum brightness, the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle is determined.
[0025] In one of the embodiments, obtaining a functional state of a gear interaction function of the vehicle;
[0026] When a vehicle gear shift signal is received, if the functional status representation needs to control the ambient light for display, color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal;
[0027] The method further comprises:
[0028] When a vehicle gear shift signal is received, if the functional state representation does not require controlling the ambient light for display, the color data of the ambient light installed in the vehicle determined according to the vehicle gear shift signal is canceled.
[0029] In one embodiment, obtaining the functional state of the gear interaction function of the vehicle includes:
[0030] A triggering operation of a gear interaction button in an ambient light setting interface of the vehicle display screen is received, and a functional state of a gear interaction function of the vehicle is obtained according to the triggering operation.
[0031] In a second aspect, the present application also provides a vehicle ambient light control system, comprising:
[0032] A vehicle motion system, configured to send the vehicle gear switching signal to the atmosphere lighting system upon receiving the vehicle gear switching signal;
[0033] An ambient light system is used to determine the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal, and to determine the brightness data of the ambient light at the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light; and to control the display of the ambient light according to the color data of the ambient light and the real-time brightness data of the ambient light at the lighting effect time.
[0034] In a third aspect, the present application also provides a vehicle ambient light control device, comprising:
[0035] A lighting effect determination module, for determining the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal when receiving the vehicle gear switching signal, and determining the brightness data of the ambient light at the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light;
[0036] The lighting effect display module is used to control the display of the atmosphere light according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
[0037] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0038] When a vehicle gear shift signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal, and the brightness data of the ambient light at the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light;
[0039] The display of the atmosphere light is controlled according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
[0040] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0041] When a vehicle gear shift signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal, and the brightness data of the ambient light at the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light;
[0042] The display of the atmosphere light is controlled according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
[0043] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0044] When a vehicle gear shift signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal, and the brightness data of the ambient light at the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light;
[0045] The display of the atmosphere light is controlled according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
[0046] The above-mentioned vehicle atmosphere light control method, system, device and computer equipment determine the color data of the atmosphere light installed in the vehicle through the vehicle gear switching signal, and determine the brightness data of the atmosphere light during the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time, so as to control the display of the atmosphere light in real time according to the color data and brightness data, and realize the intelligent dynamic display of the atmosphere light in the vehicle by automatically controlling the atmosphere light in the vehicle through the vehicle gear switching, thereby meeting the diverse needs of users, and there is no need for users to manually set the color and brightness of the atmosphere light, thereby meeting the intelligent needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 A diagram showing an application environment of a vehicle ambient light control method in an embodiment;
[0049] Figure 2 A schematic diagram of a flow chart of a vehicle ambient light control method in one embodiment;
[0050] Figure 3 A schematic diagram of a flow chart of determining brightness data of an ambient light during a lighting effect time according to maximum brightness data of the ambient light and the lighting effect time of the ambient light in one embodiment;
[0051] Figure 4 It is a flowchart of determining the brightness data of the ambient light at the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time period in which the lighting effect time is located in one embodiment;
[0052] Figure 5 A schematic diagram of an entry relative brightness curve corresponding to an entry brightness relationship in an embodiment;
[0053] Figure 6 It is a flowchart of determining the brightness data of the ambient light at the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time period in which the lighting effect time is located in another embodiment;
[0054] Figure 7 A schematic diagram of an exit relative brightness curve corresponding to an exit brightness relationship in an embodiment;
[0055] Figure 8 is a structural block diagram of a vehicle atmosphere light control device in one embodiment;
[0056] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] The vehicle ambient light control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the vehicle atmosphere light control system 100 includes a vehicle motion system 102, a vehicle bus 104 and an atmosphere light system 106, and the vehicle motion system 102 includes a vehicle motion controller 1022. The atmosphere light system 106 includes an atmosphere light controller 1062 and an atmosphere light 1064. The vehicle motion controller 1022 and the atmosphere light controller 1062 communicate through the vehicle bus 104. When the vehicle motion controller 1022 receives a vehicle gear switching signal, the vehicle gear switching signal is sent to the atmosphere light controller 1062 through the vehicle bus 104. The atmosphere light controller 1062 determines the color data of the atmosphere light 1064 installed in the vehicle according to the vehicle gear switching signal, and determines the brightness data of the atmosphere light 1064 during the lighting effect time according to the maximum brightness data of the atmosphere light 1064 and the lighting effect time of the atmosphere light 1064, and then controls the display of the atmosphere light 1064 according to the color data of the atmosphere light 1064 and the brightness data of the atmosphere light 1064 during the lighting effect time.
[0059] In an exemplary embodiment, Figure 2 As shown, a vehicle ambient light control method is provided, and the method is applied to Figure 1 The vehicle ambient light control system 100 shown in the figure is used as an example for description, and includes the following steps 202 to 204. Among them:
[0060] Step 202, when a vehicle gear switching signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal, and the brightness data of the ambient light during the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light.
[0061] Among them, the vehicle gear switching signal is used to indicate the driving gear selected by the user (driver), for example, P gear (parking gear or parking gear), D gear (driving gear) and R gear (reverse gear). Ambient light is a non-illumination type of light used for interior decoration of the vehicle, which is used to create an atmosphere in the vehicle and improve the comfort of driving and riding. The color data of the ambient light refers to the data related to the color of the ambient light, for example, the color data can be RGB data. The maximum brightness data of the ambient light refers to the maximum brightness value of the ambient light when it is displayed. Lighting effect refers to the technology or design that creates a specific visual effect through light, which can include the color, brightness and dynamic changes of the brightness of the ambient light. The lighting effect time of the ambient light refers to the time point when the ambient light displays the lighting effect. Brightness data refers to the brightness value of the ambient light at each time point.
[0062] Optionally, the vehicle is pre-installed with an atmosphere light. The type of the atmosphere light in this embodiment is a multi-color adjustable atmosphere light, which can emit light of different colors, making the interior of the vehicle more warm and comfortable. The atmosphere light usually adopts a light strip type. The types of atmosphere lights may include but are not limited to LED (Light Emitting Diode) atmosphere lights, laser atmosphere lights and optical fiber atmosphere lights. In order to enhance the atmosphere of the atmosphere light in the vehicle and meet the diverse and intelligent needs of users, the intelligent dynamic display of the atmosphere light in the vehicle is controlled by switching the vehicle gear. Specifically, when the vehicle motion controller receives the vehicle gear switching signal, the vehicle gear switching signal can be sent to the atmosphere light controller through the vehicle bus. The atmosphere light controller can simultaneously determine the color data and brightness data of the atmosphere light. Further, the vehicle gear after switching is determined according to the vehicle gear switching signal, and the color data of the atmosphere light is determined according to the vehicle gear after switching. According to the maximum brightness data of the atmosphere light and the lighting effect time of the atmosphere light, the brightness data of the atmosphere light at each lighting effect time, that is, the real-time brightness data of the atmosphere light, is determined. It should be noted that when the vehicle gear switching signal is received, the lighting effect time of the ambient light is determined to be 0s.
[0063] Furthermore, the ambient light in this embodiment can be installed in the center control position of the vehicle. The center control refers to the central control panel of the vehicle, which is located in front of the main driver's seat and the co-driver's seat of the vehicle and controls the air conditioning and audio entertainment system. When using the ambient light, it is necessary to select the appropriate light color and brightness to avoid affecting driving safety.
[0064] Furthermore, the maximum brightness data of the ambient light and the brightness data during the lighting effect time are both PWM (Pulse Width Modulation) brightness.
[0065] Step 204, controlling the display of the ambient light according to the color data of the ambient light and the brightness data of the ambient light during the lighting effect time.
[0066] After determining the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time, the atmosphere light controller can control the atmosphere light for real-time display according to the color data and real-time brightness data of the atmosphere light, so as to realize the control of the atmosphere light to perform dynamic lighting effects.
[0067] In the above-mentioned vehicle ambient light control method, the color data of the ambient light installed in the vehicle is determined by the vehicle gear switching signal, and the brightness data of the ambient light during the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time, so as to control the display of the ambient light in real time according to the color data and the brightness data, thereby realizing the intelligent dynamic display of the ambient light in the vehicle by automatically controlling the ambient light in the vehicle through the vehicle gear switching, thereby meeting the diverse needs of users, and eliminating the need for users to manually set the color and brightness of the ambient light, thereby meeting the intelligent needs of users.
[0068] In an exemplary embodiment, Figure 3 As shown, in step 202, the brightness data of the ambient light during the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light, including:
[0069] Step 302, obtaining multiple lighting effect time periods of the ambient light.
[0070] Step 304, determining the lighting effect time period of the ambient light, and determining the brightness data of the ambient light during the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time period of the ambient light.
[0071] The lighting effect time period refers to the duration of each lighting effect. For example, the lighting effects may include the color of the ambient light remaining unchanged but the brightness increasing, the color and brightness remaining unchanged, and the color remaining unchanged but the brightness decreasing. The dynamic lighting effect may be a combination of multiple lighting effects.
[0072] In order to control the atmosphere light to display dynamic lighting effects, multiple lighting effect time periods can be set, and each lighting effect time period displays a lighting effect. Specifically, in the process of determining the brightness data of the atmosphere light during the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time of the atmosphere light, multiple lighting effect time periods of the pre-set atmosphere light can be first obtained. Among them, multiple lighting effect time periods can include a lighting effect entry time period, a lighting effect retention time period, and a lighting effect exit time period. The lighting effect entry time period refers to the duration of entering the lighting effect. The lighting effect retention time refers to the duration of the lighting effect, that is, the duration of the lighting effect brightness remaining unchanged. The lighting effect exit time refers to the duration of exiting the lighting effect. For example, if the atmosphere light is controlled to display a dynamic special effect for 3s, the lighting effect entry time period of the dynamic special effect is 0s-0.5s, the lighting effect retention time period is 0.5S-2s, and the lighting effect exit time period is 2s-3s.
[0073] The lighting effect time of the ambient light is compared with a plurality of lighting effect time periods to determine the lighting effect time period that the ambient light is in. Then, according to the maximum brightness data of the ambient light and the lighting effect time period that the ambient light is in, the brightness data of the ambient light in the lighting effect time is determined.
[0074] In this embodiment, by setting a plurality of lighting effect time periods and determining the real-time brightness data of the atmosphere light according to the time period in which the lighting effect time is located and the maximum brightness data, the dynamic lighting effect display of the atmosphere light can be automatically realized.
[0075] In an optional manner of the above embodiment, if Figure 4 As shown, in step 304, the brightness data of the ambient light during the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time period of the lighting effect time, including steps 402 to 404. Among them:
[0076] Step 402, when the lighting effect time of the ambient light is in the lighting effect entry time period, determine the entry relative brightness of the ambient light during the lighting effect time according to the preset lighting effect time and the entry relative brightness; the entry relative brightness increases with the lighting effect time.
[0077] Step 404, determining the brightness data of the ambient light during the lighting effect time according to the relative brightness of the ambient light during the lighting effect time and the maximum brightness data of the ambient light.
[0078] The entry brightness relationship refers to the corresponding relationship between the lighting effect time of the ambient light and the entry relative brightness. The entry relative brightness refers to the percentage of the brightness data of the ambient light to the maximum brightness data when entering the lighting effect.
[0079] Specifically, when the lighting effect time of the atmosphere light is in the lighting effect entry time period, obtain the entry brightness relationship between the preset lighting effect time and the entry relative brightness. For example, the entry brightness relationship is the entry relative brightness calculation formula. Substitute the atmosphere light at the lighting effect time into the entry brightness relationship to obtain the entry relative brightness of the atmosphere light at the lighting effect time. The entry brightness relationship increases with time, so the entry relative brightness of the atmosphere light also increases with the lighting effect time. According to the entry relative brightness of the atmosphere light at the lighting effect time and the maximum brightness data of the atmosphere light, determine the brightness data of the atmosphere light at the lighting effect time. Among them, the entry brightness relationship is as follows:
[0080] L=50.23-44.78×cos(7.296x)-20.95×sin(7.296x)
[0081] Among them, L represents the relative brightness of the entrance; x represents the lighting effect time, and the value range is 0s to 0.5s.
[0082] The entry relative brightness curve corresponding to the entry brightness relationship is as follows: Figure 5 As shown, the lighting effect entry time period is 0s-0.5s, and the relative brightness of the ambient light gradually changes from 0% to 100%. Therefore, the brightness data of the ambient light also gradually changes from zero to the maximum brightness data.
[0083] In this embodiment, the entry relative brightness of the atmosphere light during the lighting effect time is determined based on the relationship between the preset lighting effect time and the entry relative brightness. The entry relative brightness increases with the lighting effect time, so that when entering the lighting effect, the brightness value of the atmosphere light is controlled to slowly increase from zero to the maximum brightness data, thereby improving the comfort of the human eye and the intelligence level of the atmosphere light control.
[0084] In an optional manner of the above embodiment, if Figure 4 As shown, the brightness data of the atmosphere light during the lighting effect time is determined according to the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time is located, including: when the lighting effect time period in which the atmosphere light is located is the lighting effect retention time period, the maximum brightness data of the atmosphere light is determined as the brightness data of the atmosphere light during the lighting effect time.
[0085] When the lighting effect time of the ambient light is in the lighting effect retention time period, the maximum brightness data of the ambient light is determined as the brightness data of the ambient light during the lighting effect time, so that the ambient light maintains the maximum brightness data during the lighting effect retention time period, thereby realizing flexible control of the ambient light.
[0086] In an optional manner of the above embodiment, if Figure 6 As shown, in step 304, the brightness data of the ambient light during the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time period of the lighting effect time, including steps 602 to 604, wherein:
[0087] Step 602, when the lighting effect time of the ambient light is in the lighting effect exit time period, determine the exit relative brightness of the ambient light according to the preset lighting effect time and the exit relative brightness; the exit relative brightness decreases with the lighting effect time.
[0088] Step 604, determining the brightness data of the ambient light during the lighting effect time according to the relative brightness of the ambient light when it is turned off and the maximum brightness data of the ambient light.
[0089] The exit brightness relationship refers to the corresponding relationship between the lighting effect time of the ambient light and the exit relative brightness. The exit relative brightness refers to the percentage of the brightness data of the ambient light to the maximum brightness data when the lighting effect is exited.
[0090] Specifically, when the lighting effect time of the atmosphere light is in the lighting effect exit time period, obtain the exit brightness relationship between the preset lighting effect time and the exit relative brightness. For example, the exit brightness relationship is a calculation formula for the exit relative brightness. Substitute the atmosphere light at the lighting effect time into the exit brightness relationship to obtain the exit relative brightness of the atmosphere light at the lighting effect time. The exit brightness relationship decreases with time, so the exit relative brightness of the atmosphere light also decreases with the lighting effect time. According to the exit relative brightness of the atmosphere light at the lighting effect time and the maximum brightness data of the atmosphere light, determine the brightness data of the atmosphere light at the lighting effect time. Among them, the exit brightness relationship is as follows:
[0091] L=50.23+16.6×cos(3.648x)+46.57×sin(3.648x)
[0092] Among them, L represents the relative brightness of the exit; x represents the lighting effect time, and the value range is 2s to 3s.
[0093] The exit relative brightness curve corresponding to the exit brightness relationship is as follows: Figure 7 As shown, the lighting effect exit time period is 2s to 3s, and the relative brightness of the ambient light gradually changes from 100% to 0%. Therefore, the brightness data of the ambient light also gradually changes from the maximum brightness data to zero.
[0094] In this embodiment, the exit relative brightness of the atmosphere light during the lighting effect time is determined based on the relationship between the preset lighting effect time and the exit relative brightness. The exit relative brightness decreases with the lighting effect time, so that when the lighting effect is exited, the brightness value of the atmosphere light is controlled to slowly decrease from the maximum brightness data to zero, thereby improving the comfort of the human eye and the intelligence level of the atmosphere light control.
[0095] In an exemplary embodiment, color data of an ambient light installed in a vehicle is determined based on a vehicle gear switching signal, including: determining a vehicle gear after switching based on the vehicle gear switching signal; and determining color data of an ambient light installed in the vehicle corresponding to the vehicle gear after switching based on a preset correspondence between the vehicle gear and the color of the ambient light.
[0096] Determine the vehicle gear position after switching according to the vehicle gear switching signal. Obtain the correspondence between the preset vehicle gear position and the color of the ambient light. Each vehicle gear position corresponds to an ambient light color. Determine the color data of the ambient light corresponding to the vehicle gear position after switching in the correspondence between the preset vehicle gear position and the color of the ambient light. The color data may be RGB data. For example, the RGB data corresponding to the P gear is cyan (0, 255, 255), the RGB data corresponding to the D gear is green (0, 255,0), and the RGB data corresponding to the R gear is orange (255,128,0).
[0097] In this embodiment, according to the preset correspondence between the vehicle gear position and the color of the ambient light, the color data of the ambient light corresponding to the switched vehicle gear position is determined, so that the color of the ambient light is automatically determined according to the vehicle gear position.
[0098] In an exemplary embodiment, the method further includes: acquiring the light intensity outside the vehicle; and determining the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle according to a preset mapping relationship between the light intensity and the maximum brightness.
[0099] Specifically, the light intensity outside the vehicle is obtained according to the sunlight sensor installed on the vehicle. The sunlight sensor can be installed on the back of the mirror seat of the rearview mirror inside the front windshield of the vehicle, facing the outside of the vehicle. The sunlight sensor sends the light intensity outside the vehicle to the ambient light controller through the vehicle bus. The ambient light controller obtains a mapping relationship between the preset light intensity and the maximum brightness. The mapping relationship can be determined based on experiments or historical data, taking into account the comfort of the human eye and the visibility of the ambient light under different light conditions. For example, both the light intensity and the maximum brightness can be expressed in levels. The greater the light intensity, the greater the corresponding maximum brightness. According to the mapping relationship between the preset light intensity and the maximum brightness, the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle is determined, and the maximum brightness data is used as the 100% brightness data when the ambient light is dynamically displayed.
[0100] In this embodiment, the maximum brightness data of the ambient light is determined by the light intensity outside the vehicle, so that the most suitable maximum brightness data of the ambient light in the environment where the vehicle is located can be calculated.
[0101] In an exemplary embodiment, when a vehicle gear switching signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal, including: obtaining the functional state of the gear interaction function of the vehicle; when the vehicle gear switching signal is received, if the functional state characterizes that the ambient light needs to be controlled for display, then the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal; the method also includes: when the vehicle gear switching signal is received, if the functional state characterizes that the ambient light does not need to be controlled for display, then canceling the determination of the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal.
[0102] During the process of controlling the ambient light, the functional status of the gear interaction function of the vehicle can be obtained first. The gear interaction function refers to the display function of the ambient light when the vehicle is switched. The functional status can include on or off. When a vehicle gear signal is received, if the functional status is on, it indicates that the ambient light needs to be controlled for display when the vehicle gear is switched, and the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal. If the functional status is off, it indicates that the ambient light does not need to be controlled for display when the vehicle gear is switched, and the color data of the ambient light installed in the vehicle is cancelled according to the vehicle gear switching signal.
[0103] In this embodiment, when a vehicle gear switching signal is received, whether it is necessary to determine the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal is determined according to the functional status of the vehicle's gear interaction function, thereby realizing flexible execution or cancellation of the display function of the ambient light when the vehicle is switched.
[0104] In an exemplary embodiment, obtaining the functional state of the gear interaction function of the vehicle includes: receiving a trigger operation of a gear interaction button in an ambient light setting interface of a vehicle display screen, and obtaining the functional state of the gear interaction function of the vehicle according to the trigger operation.
[0105] An ambient light setting interface is pre-set on the vehicle display screen, and the ambient light setting interface includes a gear interaction button, and the gear interaction function can be turned on or off by touching or clicking the gear interaction button. When a trigger operation of the gear interaction button is received, the functional state of the vehicle's gear interaction function can be obtained according to the trigger operation.
[0106] In this embodiment, by designing a gear interaction button in the ambient light setting interface, the user only needs to touch or click the gear interaction button to quickly turn on or cancel the display function of the ambient light when the vehicle is switched.
[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides a vehicle atmosphere light control system for implementing the vehicle atmosphere light control method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle atmosphere light control system embodiments provided below can refer to the limitations of the vehicle atmosphere light control method above, and will not be repeated here.
[0109] In an exemplary embodiment, a vehicle ambient light control system is provided, as described above Figure 1 As shown, it includes: a vehicle motion system, a vehicle bus and an ambient light system, the vehicle motion system includes a vehicle motion controller, and the ambient light system includes an ambient light controller and an ambient light. Among them:
[0110] The vehicle motion system is used to send the vehicle gear switching signal to the ambient light system when receiving the vehicle gear switching signal.
[0111] The ambient light system is used to determine the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal, and to determine the brightness data of the ambient light during the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light; and to control the display of the ambient light according to the color data of the ambient light and the real-time brightness data of the ambient light during the lighting effect time.
[0112] Specifically, the vehicle motion controller in the vehicle motion system receives the vehicle gear switching signal, and the vehicle motion controller sends the vehicle gear switching signal to the ambient light controller in the ambient light system through the vehicle bus. The ambient light controller determines the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal, and determines the brightness data of the ambient light during the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light, and then controls the display of the ambient light according to the color data of the ambient light and the brightness data of the ambient light during the lighting effect time.
[0113] In this embodiment, without increasing the hardware cost, the existing vehicle motion system can be combined with the ambient light system to achieve a dynamic effect of the ambient light when the vehicle gear is switched, thereby making the vehicle more intelligent.
[0114] In an exemplary embodiment, the atmosphere light system is also used to obtain multiple lighting effect time periods of the atmosphere light; determine the lighting effect time period in which the lighting effect time of the atmosphere light is located, and determine the brightness data of the atmosphere light during the lighting effect time based on the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time of the atmosphere light is located.
[0115] In an exemplary embodiment, the atmosphere light system is also used to determine the entrance relative brightness of the atmosphere light during the lighting effect time when the lighting effect time period of the atmosphere light is in the lighting effect entry time period, based on the relationship between the preset lighting effect time and the entry relative brightness; the entry relative brightness increases with the lighting effect time; and the brightness data of the atmosphere light during the lighting effect time is determined based on the entrance relative brightness of the atmosphere light during the lighting effect time and the maximum brightness data of the atmosphere light.
[0116] In an exemplary embodiment, the ambient light system is further used to determine the maximum brightness data of the ambient light as the brightness data of the ambient light during the lighting effect time when the lighting effect time period of the ambient light is a lighting effect retention time period.
[0117] In an exemplary embodiment, the atmosphere light system is also used to determine the exit relative brightness of the atmosphere light when the lighting effect time of the atmosphere light is in a lighting effect exit time period according to an exit brightness relationship between a preset lighting effect time and the exit relative brightness; the exit relative brightness decreases with the lighting effect time; and the brightness data of the atmosphere light during the lighting effect time is determined according to the exit relative brightness of the atmosphere light and the maximum brightness data of the atmosphere light.
[0118] In an exemplary embodiment, the ambient light system is also used to determine the vehicle gear position after switching according to the vehicle gear switching signal; and determine the color data of the ambient light installed in the vehicle corresponding to the vehicle gear position after switching according to the preset correspondence between the vehicle gear position and the ambient light color.
[0119] In an exemplary embodiment, the system further includes:
[0120] The sunlight sensor is used to obtain the light intensity outside the vehicle and send the light intensity outside the vehicle to the ambient light controller.
[0121] The ambient light controller is used to determine the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle according to a preset mapping relationship between the light intensity and the maximum brightness.
[0122] In an exemplary embodiment, the vehicle motion system is further used to obtain the functional state of the gear interaction function of the vehicle; when a vehicle gear switching signal is received, if the functional state representation needs to control the ambient light for display, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal;
[0123] The vehicle motion system is also used to cancel the color data of the ambient light installed in the vehicle determined according to the vehicle gear switching signal when a vehicle gear switching signal is received, if the functional state representation does not need to control the ambient light for display.
[0124] In an exemplary embodiment, the vehicle motion system is also used to receive a trigger operation of a gear interaction button in an ambient light setting interface of a vehicle display screen, and obtain a functional state of the vehicle's gear interaction function according to the trigger operation.
[0125] Based on the same inventive concept, the embodiment of the present application also provides a vehicle atmosphere light control device for implementing the vehicle atmosphere light control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle atmosphere light control device embodiments provided below can refer to the limitations of the vehicle atmosphere light control method above, and will not be repeated here.
[0126] In an exemplary embodiment, Figure 8 As shown, a vehicle atmosphere light control device is provided, including: a lighting effect determination module 802 and a lighting effect display module 804, wherein:
[0127] The lighting effect determination module 802 is used to determine the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal when receiving the vehicle gear switching signal, and determine the brightness data of the ambient light during the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light.
[0128] The lighting effect display module 804 is used to control the display of the ambient light according to the color data of the ambient light and the brightness data of the ambient light during the lighting effect time.
[0129] In an exemplary embodiment, the lighting effect determination module 802 is also used to obtain multiple lighting effect time periods of the atmosphere light; determine the lighting effect time period in which the lighting effect time of the atmosphere light is located, and determine the brightness data of the atmosphere light during the lighting effect time based on the maximum brightness data of the atmosphere light and the lighting effect time period in which the lighting effect time of the atmosphere light is located.
[0130] In an exemplary embodiment, the lighting effect determination module 802 is also used to determine the entry relative brightness of the atmosphere light during the lighting effect time when the lighting effect time period of the atmosphere light is in the lighting effect entry time period, according to the relationship between the preset lighting effect time and the entry relative brightness; the entry relative brightness increases with the lighting effect time; and the brightness data of the atmosphere light during the lighting effect time is determined according to the entry relative brightness of the atmosphere light during the lighting effect time and the maximum brightness data of the atmosphere light.
[0131] In an exemplary embodiment, the lighting effect determination module 802 is further used to determine the maximum brightness data of the ambient light as the brightness data of the ambient light during the lighting effect time when the lighting effect time period of the ambient light is the lighting effect retention time period.
[0132] In an exemplary embodiment, the lighting effect determination module 802 is also used to determine the exit relative brightness of the atmosphere light when the lighting effect time of the atmosphere light is in a lighting effect exit time period according to the exit brightness relationship between the preset lighting effect time and the exit relative brightness; the exit relative brightness decreases with the lighting effect time; and the brightness data of the atmosphere light during the lighting effect time is determined according to the exit relative brightness of the atmosphere light and the maximum brightness data of the atmosphere light.
[0133] In an exemplary embodiment, the lighting effect determination module 802 is also used to determine the vehicle gear position after switching according to the vehicle gear switching signal; according to the preset correspondence between the vehicle gear position and the color of the ambient light, determine the color data of the ambient light installed in the vehicle corresponding to the vehicle gear position after switching.
[0134] In an exemplary embodiment, the lighting effect determination module 802 is also used to obtain the light intensity outside the vehicle; and determine the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle according to a preset mapping relationship between the light intensity and the maximum brightness.
[0135] In an exemplary embodiment, the lighting effect determination module 802 is also used to obtain the functional status of the vehicle's gear interaction function; when a vehicle gear switching signal is received, if the functional status representation requires controlling the ambient light for display, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal.
[0136] The lighting effect determination module 802 is also used to cancel the color data of the ambient light installed in the vehicle determined according to the vehicle gear switching signal when a vehicle gear switching signal is received, if the functional state representation does not need to control the ambient light for display.
[0137] In an exemplary embodiment, the lighting effect determination module 802 is also used to receive a trigger operation of a gear interaction button in the ambient light setting interface of the vehicle display screen, and obtain the functional state of the vehicle's gear interaction function according to the trigger operation.
[0138] Each module in the above-mentioned vehicle atmosphere light control device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0139] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a vehicle atmosphere light control method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0140] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0141] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0143] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0144] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0145] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0147] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle atmosphere light control method, characterized in that: The method comprises: When a vehicle gear switching signal is received, the color data of the ambient light installed in the vehicle is determined according to the vehicle gear switching signal, and the brightness data of the ambient light at the lighting effect time is determined according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light; The display of the atmosphere light is controlled according to the color data of the atmosphere light and the brightness data of the atmosphere light during the lighting effect time.
2. The method according to claim 1, characterized in that The determining the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time of the atmosphere light includes: Obtaining multiple lighting effect time periods of the atmosphere light; Determine the lighting effect time period of the atmosphere light, and determine the brightness data of the atmosphere light at the lighting effect time according to the maximum brightness data of the atmosphere light and the lighting effect time period of the atmosphere light.
3. The method according to claim 2, characterized in that The step of determining the brightness data of the atmosphere lamp at the lighting effect time according to the maximum brightness data of the atmosphere lamp and the lighting effect time period in which the lighting effect time is located comprises: When the lighting effect time period of the atmosphere light is a lighting effect entry time period, the entry relative brightness of the atmosphere light at the lighting effect time is determined according to a preset relationship between the lighting effect time and the entry relative brightness; the entry relative brightness increases with the lighting effect time; The brightness data of the atmosphere light at the lighting effect time is determined according to the entrance relative brightness of the atmosphere light at the lighting effect time and the maximum brightness data of the atmosphere light.
4. The method according to claim 2, characterized in that: The step of determining the brightness data of the atmosphere lamp at the lighting effect time according to the maximum brightness data of the atmosphere lamp and the lighting effect time period in which the lighting effect time is located comprises: When the lighting effect time period of the ambient light is a lighting effect retention time period, the maximum brightness data of the ambient light is determined as the brightness data of the ambient light during the lighting effect time.
5. The method according to claim 2, characterized in that: The step of determining the brightness data of the atmosphere lamp at the lighting effect time according to the maximum brightness data of the atmosphere lamp and the lighting effect time period in which the lighting effect time is located comprises: When the lighting effect time period of the atmosphere light is a lighting effect exiting time period, the exiting relative brightness of the atmosphere light is determined according to a preset relationship between the lighting effect time and the exiting relative brightness; the exiting relative brightness decreases with the lighting effect time; The brightness data of the atmosphere light during the lighting effect time is determined according to the exit relative brightness of the atmosphere light and the maximum brightness data of the atmosphere light.
6. The method according to claim 1, characterized in that The step of determining the color data of the ambient light installed in the vehicle according to the vehicle gear shift signal comprises: determining the vehicle gear position after switching according to the vehicle gear position switching signal; According to the preset correspondence between the vehicle gear position and the color of the ambient light, the color data of the ambient light installed in the vehicle corresponding to the switched vehicle gear position is determined.
7. The method according to claim 1, characterized in that The method further comprises: Get the light intensity outside the vehicle; According to a preset mapping relationship between light intensity and maximum brightness, the maximum brightness data of the ambient light corresponding to the light intensity outside the vehicle is determined.
8. The method according to claim 1, characterized in that When a vehicle gear shift signal is received, determining the color data of the ambient light installed in the vehicle according to the vehicle gear shift signal includes: Obtaining a functional state of a gear interaction function of the vehicle; When a vehicle gear shift signal is received, if the functional status representation needs to control the ambient light for display, color data of the ambient light installed in the vehicle is determined according to the vehicle gear shift signal; The method further comprises: When a vehicle gear shift signal is received, if the functional state representation does not require controlling the ambient light for display, the color data of the ambient light installed in the vehicle determined according to the vehicle gear shift signal is canceled.
9. The method according to claim 8, characterized in that The step of obtaining the functional state of the gear interaction function of the vehicle includes: A triggering operation of a gear interaction button in an ambient light setting interface of the vehicle display screen is received, and a functional state of a gear interaction function of the vehicle is obtained according to the triggering operation.
10. A vehicle ambient light control system, characterized in that: The system comprises: A vehicle motion system, configured to send the vehicle gear switching signal to the atmosphere lighting system upon receiving the vehicle gear switching signal; An ambient light system is used to determine the color data of the ambient light installed in the vehicle according to the vehicle gear switching signal, and to determine the brightness data of the ambient light at the lighting effect time according to the maximum brightness data of the ambient light and the lighting effect time of the ambient light; and to control the display of the ambient light according to the color data of the ambient light and the real-time brightness data of the ambient light at the lighting effect time.
