Vehicle-mounted atmosphere lamp control method and device, vehicle and storage medium
The on-board multimedia host receives and analyzes the ambient light control information, combines the vehicle's movement status and music source data, and synchronizes the ambient light effect, solving the problem of the ambient light changes in the existing technology, and improving user-defined control and driving Personalization of the experience.
Patent Information
- Application Number
- CN202411552907.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-01-10
AI Technical Summary
The existing vehicle multimedia system is independent of the ambient light system, and users cannot control it synchronously, resulting in changes in the ambient light that do not fit the vehicle state and music rhythm, and noise interference cannot be avoided, reducing the personalization of the driving experience.
Receive ambient light control information through the on-board multimedia host, analyze commands and control changes in the ambient light; detect vehicle motion status and music source data in real time, and adjust the ambient light effect simultaneously; determine priority and execute when multiple changes conflict.
The ambient lights are synchronized with the vehicle status and music, which improves user-defined control capabilities, enhances the fit of the ambient lights and personalizes the driving experience.
Smart Images

Figure CN119300209A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ambient light control, and in particular to a method, device, vehicle and storage medium for controlling an in-vehicle ambient light. Background Art
[0002] Existing in-vehicle multimedia systems are often independent of the ambient light system. Users cannot synchronously control the multimedia and ambient light according to their preferences and needs, which reduces the personalization of the driving experience. At the same time, since the current ambient light pickup function monitors the sound inside the car through a microphone, it cannot avoid the interference of noise inside the car (air conditioning sound, passengers talking, etc.), and its music rhythm function will not be accurate and clear, so it is impossible to provide a more suitable ambient light change. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a method, device, vehicle and storage medium for controlling a vehicle-mounted ambient light, which can effectively solve the problem of the ambient light changing and not fitting the vehicle.
[0004] In a first aspect, an embodiment of the present application provides a method for controlling an in-vehicle ambient light, which is applied to an in-vehicle multimedia host, comprising:
[0005] When the atmosphere light control information is received, the atmosphere light control information is parsed to obtain an atmosphere light control instruction, and a change effect of the corresponding atmosphere light is controlled according to the atmosphere light control instruction;
[0006] Detecting the motion state information of the vehicle in real time, and controlling the change effect of the corresponding atmosphere light according to the motion state information;
[0007] When the in-vehicle multimedia host plays music, the sound source data of the music being played is obtained, and the change of the atmosphere light is controlled according to the sound source data currently being played;
[0008] When multiple atmosphere light change effects are triggered, it is determined whether the types of the triggered change effects are the same, the priorities of the change effects of the same type are determined, and the change effect with a higher priority is executed.
[0009] In one embodiment, when the atmosphere light control information is received, parsing the atmosphere light control information to obtain an atmosphere light control instruction, and controlling the change effect of the corresponding atmosphere light according to the atmosphere light control instruction includes:
[0010] The system processor of the vehicle-mounted multimedia host parses the ambient light control information to obtain an ambient light control instruction, and sends the ambient light control instruction to the ambient light processor;
[0011] The atmosphere light processor is used to control the working state of each atmosphere light according to the atmosphere light control instruction when receiving the atmosphere light control instruction.
[0012] In one embodiment, the real-time detection of the motion state information of the vehicle and the control of the change effect of the corresponding atmosphere light according to the motion state information include:
[0013] When the vehicle is powered on and started, controlling the ambient light to enter a preset welcome mode;
[0014] When the vehicle turns, determining the turning direction, and controlling the ambient light to perform a corresponding turning mode according to the turning direction;
[0015] When the vehicle is in a straight-line motion state, the ambient light is controlled to enter a straight-line change mode.
[0016] In one embodiment, when the in-vehicle multimedia host plays music, the sound source data of the music being played is obtained, and the change of the atmosphere light is controlled according to the sound source data currently being played, including:
[0017] The system processor of the vehicle-mounted multimedia host obtains the sound source data of the music being played, and digitally converts the sound source data to obtain brightness data;
[0018] According to the brightness data, the brightness of the atmosphere light is controlled to change synchronously with the playing of the music.
[0019] In one embodiment, the system processor of the vehicle-mounted multimedia host obtains the sound source data of the music being played, and the digital conversion of the sound source data to obtain the brightness data includes:
[0020] Obtaining the maximum and minimum values in the sound source data;
[0021] According to the maximum value and the minimum value, converting the sound source data into normalized data between 0 and 1;
[0022] According to a preset mapping function, the normalized data is mapped to a range from 0 to 255 to obtain brightness data.
[0023] In one embodiment, after the in-vehicle multimedia host finishes playing the music, the method further includes:
[0024] The atmosphere light processor controls a change effect of the corresponding atmosphere light according to the motion state information.
[0025] In one embodiment, converting the sound source data into normalized data between an interval of 0 and 1 according to the maximum value and the minimum value includes:
[0026] The difference between each of the sound source data and the minimum value and the quotient of the difference between the maximum value and the minimum value are calculated to obtain a plurality of normalized data in the interval 0 to 1.
[0027] In a second aspect, the present application provides a vehicle-mounted ambient light control device, comprising:
[0028] The interactive control module is used to parse the atmosphere light control information to obtain an atmosphere light control instruction when the atmosphere light control information is received, and control the change effect of the corresponding atmosphere light according to the atmosphere light control instruction;
[0029] A state control module, used for detecting the motion state information of the vehicle in real time, and controlling the change effect of the corresponding atmosphere light according to the motion state information;
[0030] The music control module is used to obtain the sound source data of the music being played when the in-vehicle multimedia host is playing music, and control the atmosphere light to synchronize the change effect of the music according to the sound source data currently being played;
[0031] The scheduling module is used to determine whether the types of the triggered change effects are the same when multiple atmosphere light change effects are triggered, determine the priorities of the change effects of the same type, and execute the change effect with a high priority.
[0032] In a third aspect, the present application provides a vehicle-mounted multimedia host, which includes a system processor, an atmosphere light processor and a memory, wherein the memory stores a computer program, and the system processor and the atmosphere light processor are used to execute the computer program to implement the vehicle-mounted atmosphere light control method.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the vehicle-mounted ambient light control method.
[0034] The embodiments of the present application have the following beneficial effects:
[0035] The vehicle-mounted atmosphere light control method of the present application runs on the vehicle-mounted multimedia host, so that the user can control the working status of the vehicle-mounted atmosphere light in real time through the vehicle-mounted multimedia host, which is more convenient for the user's customized control, and the vehicle's motion status information and the music being played can be obtained through the vehicle-mounted multimedia host, so that the atmosphere light can be synchronized with the music and motion status information to make corresponding changes, so that the changes of the atmosphere light are more in line with the current status of the vehicle, and also give users more customization space. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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.
[0037] Figure 1 A schematic diagram of the structure of a vehicle-mounted multimedia host according to an embodiment of the present application is shown;
[0038] Figure 2 A schematic diagram of the process of controlling the vehicle ambient light according to an embodiment of the present application is shown;
[0039] Figure 3 A schematic structural diagram of a vehicle-mounted ambient light control device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0041] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various 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, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0042] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.
[0043] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0044] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0045] Because the current atmosphere light and entertainment host are two separate devices, it is difficult for users to control the synchronous performance effect between the atmosphere light and multimedia according to their own preferences, which reduces the personalized setting of the driving experience and is inconvenient for users from an operational perspective. The present application provides a method for controlling a vehicle atmosphere light, which combines the vehicle atmosphere light with a vehicle multimedia system, so that users can control the atmosphere light through the vehicle multimedia system, and at the same time, the atmosphere light can directly obtain the vehicle operating status and the music data played through the vehicle multimedia system, so that the vehicle atmosphere light can be changed synchronously.
[0046] like Figure 1 , which is a schematic diagram of the structure of a vehicle-mounted multimedia host in this embodiment, the vehicle-mounted multimedia host includes a system processor 100, an ambient light processor 200 and a plurality of ambient lights 300 connected to the ambient light processor.
[0047] The system processor (SOC) 100 is mainly used to process various instructions from the user, including control instructions for the ambient light or control instructions for other vehicle multimedia host related functions.
[0048] When the system processor 100 receives a control instruction related to the ambient light, it will parse and send the instruction to the ambient light processor 200. If it is other control instructions, such as a music playback function, the music playback control instruction will be sent to the processor related to the music playback.
[0049] The ambient light processor 200 is specifically connected to each ambient light 300 to control operations such as the flashing, brightness and flashing mode of the ambient light.
[0050] The plug-in multimedia host and the vehicle-mounted ambient light of this embodiment are integrated together, so that when controlling the vehicle-mounted ambient light, control can be performed according to the data obtained by the vehicle-mounted multimedia host, making the control of the ambient light more diversified, increasing the real-time performance, and making the changes of the ambient light more in line with the current state of the vehicle.
[0051] The vehicle-mounted ambient light control method is described below in conjunction with some specific embodiments.
[0052] Figure 2 A flow chart of a method for controlling a vehicle ambient light according to an embodiment of the present application is shown.
[0053] Exemplarily, the vehicle ambient light control method comprises the following steps:
[0054] S100, when the atmosphere light control information is received, the atmosphere light control information is parsed to obtain an atmosphere light control instruction, and a change effect of the corresponding atmosphere light is controlled according to the atmosphere light control instruction.
[0055] The ambient light and the vehicle-mounted multimedia host in this embodiment are integrated into one, and the user can control the ambient light through the vehicle-mounted multimedia host. It can be understood that the user can interact through the vehicle-mounted multimedia host and input corresponding instructions for control.
[0056] Specifically, the user may input the ambient light control information on the vehicle-mounted multimedia host, and the system processor parses the ambient light control information, obtains the ambient light control instruction, and sends the ambient light control instruction to the ambient light processor 200 .
[0057] The atmosphere light processor is used to control the working state of each atmosphere light according to the atmosphere light control instruction when receiving the atmosphere light control instruction.
[0058] For example, the ambient light control information for adjusting the light color is analyzed by the system processor and sent to the ambient light processor, which then controls each ambient light to change its color accordingly.
[0059] Among them, the atmosphere light control command includes the light position signal, the color of the current light position, brightness, gradient time signal and other related parameter signals. The color signal is divided into three signal values: red, green and blue. If you want to make all the lamp beads white, you need to send the lamp bead ID signal #FFFFFF, the red signal #FF0000, the green signal value #00FF00, and the blue signal #0000FF. When you need to turn off the running light, just set the brightness signal to 0. Users can enter the corresponding operations on the control interface provided by the in-vehicle multimedia host. These operations will be used as atmosphere light control information and parsed by the system processor. After parsing, the above-mentioned atmosphere light control command is obtained, thereby realizing artificial control of the atmosphere light.
[0060] Through the above control methods, users can control the flashing, color and various behavior modes of the interior ambient light in real time as they wish.
[0061] Step S200, detecting the motion state information of the vehicle in real time, and controlling the change effect of the corresponding atmosphere light according to the motion state information.
[0062] In addition to receiving instructions to make changes, the vehicle's motion status information can also be obtained through the on-board multimedia host to perform corresponding ambient light control.
[0063] First of all, there are different types of atmosphere lights, including running lights, left and right air outlet lights, driver and co-driver door panel lights, and left and right rear door panel lights. Different atmosphere lights can produce different effects. For example, running lights are mainly covered in strips around the interior of the vehicle, surrounding the interior space. There are multiple lamp beads in the running lights, which flash in a certain regular sequence to form a light effect like running water. Ambient lights in other positions can flash or change colors to serve as decoration or prompts. For example, the driver and co-driver door panel lights and the left and right rear door panel lights can flash when the corresponding doors are opened and go out when closed to prompt whether the doors are closed tightly. They can also light up the lights on the door panels when the doors are opened to serve as a welcome.
[0064] For example, when the vehicle is powered on and started, the ambient light is controlled to enter a preset welcome mode.
[0065] When the vehicle is not started, the ambient light does not need to light up. When the vehicle is started, it means that the user has just got in the car, and the driver and passengers must enter at this time. Therefore, a welcome mode can be preset to control the ambient light to flash accordingly. For the user, when he just starts the car or opens the door, the ambient light works immediately, which can also give the user a positive feedback, that is, the vehicle has been successfully started.
[0066] Among them, in the welcome mode, each ambient light can flash and change color in a preset manner. The welcome mode will operate when the vehicle stops and the door is open, and it can also operate when the vehicle is started for the first time, so that the welcome mode is consistent with the actual scene.
[0067] At the same time, how to control the ambient light in the welcome mode and the working mode of the ambient light can be set through the control interface provided by the vehicle multimedia host. This gives users extremely high customization permissions and allows users to choose the ambient light working mode they want.
[0068] For example, when the vehicle turns, the turning direction is determined, and the ambient light is controlled to perform a corresponding turning mode according to the turning direction.
[0069] After the vehicle starts and begins to move, there are basically only two motion states, one is linear motion and the other is turning. Both of these motion states can be obtained by the on-board multimedia devices through the CAN bus connected to the vehicle body.
[0070] There are two situations for turning, left turn and right turn. When the vehicle is detected to be turning left, the water lights in the atmosphere light can be controlled to light up from right to left in sequence, forming a water light effect flowing to the left. Similarly, when turning right, the water lights in the atmosphere light can be controlled to light up from left to right in sequence, forming a water light effect flowing to the right.
[0071] For example, when the vehicle is in a straight-line motion state, the ambient light is controlled to enter a straight-line change mode.
[0072] When the vehicle is moving forward in a straight line, the water flow lights can be controlled to light up from the center to the left and right sides in turn, forming a water flow effect flowing backwards. If the vehicle is reversing in a straight line, the water flow lights will light up from the left and right sides in turn to the center in turn, forming a water flow effect flowing forwards. It can be understood that the above-mentioned water flow light effect based on the vehicle's motion state is completely matched with the vehicle's motion state, and is also synchronized with the flow of external scenery, forming a synchronization between the atmosphere light and the driving state.
[0073] S300, when the in-vehicle multimedia host plays music, the sound source data of the music being played is obtained, and the change of the atmosphere light is controlled according to the sound source data currently being played.
[0074] The vehicle-mounted multimedia host also has some entertainment functions, such as playing music, videos or games. No matter which entertainment function it is, it basically has an item for playing music. For example, playing movies will have background music, and playing small games will have game music. This embodiment can control the brightness of each atmosphere light when the multimedia host plays music, so as to achieve synchronization between the atmosphere light and the rhythm and cadence of the music.
[0075] Specifically, when music starts to play, the audio source data of the music must exist on the multimedia host. While the audio source data is sent to the playback hardware that plays the music, it will also be acquired by the system processor for digital conversion to obtain corresponding brightness data. The brightness data is used to control the flashing of the atmosphere light.
[0076] Among them, the brightness of the atmosphere light is controlled by data in the range of 0 to 255, so the sound source data needs to be converted into data in the range of 0 to 255.
[0077] The ambient light processor can control the brightness of the ambient light to change in sync with the music playback based on the brightness data, thereby forming an ambient light that changes synchronously with the music.
[0078] Among them, the music data is stored in the computer as a digital signal rather than an analog signal, so the sound source data itself is represented by a string of numbers, and the size of the data represents the loudness, timbre and other attributes of the music.
[0079] In this embodiment, the maximum value max_value and the minimum value min_value in the data are determined based on the acquired sound source data, wherein the sound source data is the complete music file of the currently playing music.
[0080] It is understandable that the values in the sound source data are all irregular, so they need to be normalized before use. Therefore, for each sound source data x, the normalized data normalized_x = (x-min_value) / (max_value-min_value) is calculated by the following formula.
[0081] It can be seen that after calculating each sound source data through the above formula, all sound source data can be converted into normalized data between 0 and 1.
[0082] Among them, the brightness of the light is represented by data from 0 to 255 in the computer. Therefore, as long as the normalized data normalized_x is converted into a number in the range of 0 to 255, the corresponding brightness data can be obtained. According to the brightness data, the brightness of the atmosphere light can be controlled, so that the user can see that the atmosphere light will flash synchronously with the rhythm of the music.
[0083] Specifically, the conversion method can be implemented by a preset mapping function, for example:
[0084] mapped_x=int(normalized_x*255).
[0085] In the formula, mapped_x is the brightness data, and int represents integer, that is, the result calculated by (normalized_x*255) is rounded and the floating point number is removed. The data obtained in this way is directly the brightness data. At this time, the ambient light processor can control the brightness changes of the above-mentioned various types of ambient lights through the brightness data. At this time, in the eyes of the user, these ambient lights are flashing to the rhythm of the music.
[0086] When playing music, the sound source data is decoded and used in sequence as the music plays, and these music source data will first be processed by the system processor. Therefore, for the atmosphere light processor, the system processor can be used to determine the sound source data corresponding to the currently playing music, and then use the corresponding brightness data obtained after the above calculation to control it, so that the atmosphere light can change synchronously with the music playback.
[0087] Step S400, when multiple atmosphere light change effects are triggered, it is determined whether the types of the triggered change effects are the same, the priorities of the change effects of the same type are determined, and the change effect with a higher priority is executed.
[0088] It is understandable that during the operation of the vehicle, in addition to the usual operating state, there is also a situation where music is played, or music is played and then the door is opened. At this time, according to the description of the previous steps, the corresponding atmosphere light control will be performed at the same time.
[0089] For example, when the vehicle is currently moving forward and music starts playing in the car, the ambient light control operations of step S200 and step S300 will be triggered simultaneously. At this time, the types of ambient light change effects corresponding to each of these control triggers will be determined.
[0090] The types of atmosphere light change effects include flashing, color change, brightness adjustment, etc. Different types have different corresponding parameters. It can be understood that when the vehicle moves forward, it mainly controls the flowing change style of the flowing lights, which actually controls the color change and flashing parameters of each lamp bead in the flowing lights. Therefore, it involves flashing and color change, and is limited to flowing lights.
[0091] When playing music, the synchronization of the ambient light and the music mainly depends on controlling the flashing of all the ambient lights. In addition to the running lights, the ambient lights in other positions will also be controlled. Therefore, when these two states are superimposed, the running lights will receive two control signals at the same time. And the effect types all have flashing, so there is obviously a conflict here.
[0092] Therefore, by setting the priority, it can be determined which one to execute when there are two control signals of the same type of changing effects at the same time. For example, the priority of flashing with music can be set higher than the priority of flashing with the vehicle's motion state, so that the flashing of the running lights will change with the music and will not show the effect of driving straight. Similarly, the priority of flashing with the vehicle's motion state can be set higher than the priority of flashing with music, so that the atmosphere lights in the car except the running lights will flash synchronously with the music, while the running lights will still change according to the vehicle's motion state.
[0093] The vehicle-mounted atmosphere light control method of this embodiment can be applied to a vehicle-mounted multimedia host. The vehicle-mounted multimedia host is integrated with the vehicle-mounted atmosphere light, and the user can operate on the vehicle-mounted multimedia host to achieve more free atmosphere light control. Secondly, the atmosphere light can also change accordingly according to the operating status of the vehicle and the music played by the vehicle-mounted multimedia host, so that the atmosphere light and the current status of the vehicle are more matched, thereby giving the users in the car a more comfortable experience.
[0094] Figure 3 A vehicle-mounted atmosphere light control device according to an embodiment of the present application is shown, which is applied to a vehicle-mounted multimedia host, including:
[0095] The interactive control module 10 is used for, when receiving the atmosphere light control information, parsing the atmosphere light control information to obtain the atmosphere light control instruction, and controlling the change effect of the corresponding atmosphere light according to the atmosphere light control instruction;
[0096] The state control module 20 is used to detect the motion state information of the vehicle in real time, and control the change effect of the corresponding atmosphere light according to the motion state information;
[0097] The music control module 30 is used to obtain the sound source data of the music being played when the in-vehicle multimedia host is playing music, and control the atmosphere light to synchronize the changing effect of the music according to the sound source data currently being played;
[0098] The scheduling module 40 is used to determine whether the types of the triggered change effects are the same when multiple atmosphere light change effects are triggered, determine the priorities of the change effects of the same type, and execute the change effect with a higher priority.
[0099] The device of this embodiment corresponds to the method of the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.
[0100] The present application provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the vehicle-mounted ambient light control method.
[0101] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.
[0102] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.
[0103] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0105] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
[0106] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for controlling a vehicle ambient light, characterized in that: Applied to vehicle multimedia host, including: When the atmosphere light control information is received, the atmosphere light control information is parsed to obtain an atmosphere light control instruction, and a change effect of the corresponding atmosphere light is controlled according to the atmosphere light control instruction; Detecting the motion state information of the vehicle in real time, and controlling the change effect of the corresponding atmosphere light according to the motion state information; When the in-vehicle multimedia host plays music, the sound source data of the music being played is obtained, and according to the sound source data currently being played, the atmosphere light is controlled to synchronize the changing effect of the music; When multiple change effects of the atmosphere lights are triggered, it is determined whether the types of the triggered change effects are the same, the priorities of the change effects of the same type are determined, and the change effect with the higher priority is executed.
2. The vehicle-mounted ambient light control method according to claim 1, characterized in that: When the atmosphere light control information is received, the atmosphere light control information is parsed to obtain an atmosphere light control instruction, and a change effect of the corresponding atmosphere light is controlled according to the atmosphere light control instruction, including: The system processor of the vehicle-mounted multimedia host parses the ambient light control information to obtain an ambient light control instruction, and sends the ambient light control instruction to the ambient light processor; The atmosphere light processor is used to control the working state of each atmosphere light according to the atmosphere light control instruction when receiving the atmosphere light control instruction.
3. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The real-time detection of the motion state information of the vehicle and the control of the change effect of the corresponding atmosphere light according to the motion state information include: When the vehicle is powered on and started, controlling the ambient light to enter a preset welcome mode; When the vehicle turns, determining the turning direction, and controlling the ambient light to perform a corresponding turning mode according to the turning direction; When the vehicle is in a straight-line motion state, the ambient light is controlled to enter a straight-line change mode.
4. The vehicle-mounted ambient light control method according to claim 1, characterized in that: When the in-vehicle multimedia host plays music, the sound source data of the music being played is obtained, and the change of the atmosphere light is controlled according to the sound source data currently being played, including: The system processor of the vehicle-mounted multimedia host obtains the sound source data of the music being played, and digitally converts the sound source data to obtain brightness data; According to the brightness data, the brightness of the atmosphere light is controlled to change synchronously with the playing of the music.
5. The vehicle-mounted ambient light control method according to claim 4, characterized in that: The system processor of the vehicle-mounted multimedia host obtains the sound source data of the music being played, and the digital conversion of the sound source data to obtain the brightness data includes: Obtaining the maximum and minimum values in the sound source data; According to the maximum value and the minimum value, converting the sound source data into normalized data between 0 and 1; According to a preset mapping function, the normalized data is mapped to a range from 0 to 255 to obtain brightness data.
6. The vehicle-mounted ambient light control method according to claim 5, characterized in that: The converting the sound source data into normalized data between an interval of 0 and 1 according to the maximum value and the minimum value comprises: The difference between each of the sound source data and the minimum value and the quotient of the difference between the maximum value and the minimum value are calculated to obtain a plurality of normalized data in the interval 0 to 1.
7. The vehicle-mounted ambient light control method according to claim 1, characterized in that: After the in-vehicle multimedia host finishes playing the music, the method further includes: The atmosphere light processor controls a change effect of the corresponding atmosphere light according to the motion state information.
8. A vehicle-mounted ambient light control device, characterized in that: Applied to vehicle multimedia host, including: The interactive control module is used to parse the atmosphere light control information to obtain an atmosphere light control instruction when the atmosphere light control information is received, and control the change effect of the corresponding atmosphere light according to the atmosphere light control instruction; A state control module, used for detecting the motion state information of the vehicle in real time, and controlling the change effect of the corresponding atmosphere light according to the motion state information; The music control module is used to obtain the sound source data of the music being played when the in-vehicle multimedia host is playing music, and control the atmosphere light to synchronize the change effect of the music according to the sound source data currently being played; The scheduling module is used to determine whether the types of the triggered change effects are the same when multiple atmosphere light change effects are triggered, determine the priorities of the change effects of the same type, and execute the change effect with a high priority.
9. A vehicle, characterized in that: The vehicle includes an on-board multimedia host, which includes a system processor, an ambient light processor and a memory, wherein the memory stores a computer program, and the system processor and the ambient light processor are used to execute the computer program to implement the on-board ambient light control method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed on a processor, implements the vehicle ambient light control method according to any one of claims 1-7.
Citation Information
Cited By
Vehicle-mounted atmosphere lamp and control method thereof
CN120363832A