Method, device and equipment for light control of intelligent cockpit and storage medium
By acquiring audio information and detecting decibel levels in real time, the system adjusts the audio volume and lighting flashing modes, solving the problem that the lighting modes in the smart cockpit on buses cannot meet the needs of different users, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JINTU COMPUTING TECH (SHENZHEN) CO LTD
- Filing Date
- 2023-04-03
- Publication Date
- 2026-04-14
AI Technical Summary
When existing smart cockpits are applied to buses, the lighting modes in the entertainment scenarios cannot reasonably cater to the needs of all users, resulting in a decline in user experience.
By acquiring audio information of music played in the smart cockpit, the decibel level of each user at each seat is detected in real time. The playback volume of the speakers is adjusted based on the audio information and decibel level, and the flashing mode of the lights, including brightness, color and frequency, is adjusted according to the melody and playback volume of the music.
It enables personalized lighting modes to be provided according to different user needs, improving the user experience, meeting the needs of different users, and reducing the impact of light and sound on users who need a quiet space.
Smart Images

Figure CN116552377B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart cockpit technology, and in particular to a method, apparatus, device and storage medium for lighting control in a smart cockpit. Background Technology
[0002] With the increasing prevalence of smart technology, smart cockpits have emerged. Smart cockpits are widely used in private cars and buses, allowing vehicles to be transformed into entertainment spaces. Users can create an immersive entertainment atmosphere by playing music and activating flashing lights.
[0003] Because there are many users on a bus, and each user's excitement level varies, fatigue can easily set in after the initial excitement subsides. While those whose excitement has ended need rest, others may continue with their entertainment. However, the flashing lights inside the bus can disturb those who need to rest. Restoring the lights to normal and turning off the music would negatively impact the experience of those currently enjoying entertainment. In other words, existing smart cockpits, when applied to buses, fail to adequately cater to the diverse needs of all users, resulting in a diminished user experience. Summary of the Invention
[0004] The main purpose of this application is to provide a method, device, equipment and storage medium for lighting control in a smart cockpit, aiming to solve the technical problem that when smart cockpits are applied to buses, the lighting modes in the entertainment scenarios cannot reasonably cater to the needs of all users, resulting in a decline in user experience.
[0005] To achieve the above objectives, this application provides a method for controlling the lighting in a smart cockpit, the method comprising:
[0006] Acquire audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time;
[0007] Based on the audio information, the melody of the music being played is determined, and based on the decibel value, the playback volume of each speaker in the smart cockpit is adjusted.
[0008] Based on the music melody and the playback volume, the flashing mode of each target light fixture in the smart cockpit is adjusted, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency.
[0009] Optionally, the step of determining the musical melody of the played music based on the audio information includes:
[0010] The melody frequency band of the played music is extracted from the audio information;
[0011] If the duration of the melody frequency band is less than the duration of the music being played, then the time range corresponding to the missing melody in the melody segment is determined.
[0012] From the audio information, filter out the harmonic frequency bands of the music being played within the time range, and / or the vocal frequency bands of the music being played;
[0013] Based on the harmonic frequency band and / or the vocal frequency band, the melody frequency band is repaired to obtain the musical melody of the played music.
[0014] Optionally, the step of adjusting the playback volume of each speaker in the smart cockpit based on the decibel value includes:
[0015] The decibel value is compared with a preset rest decibel level to determine the target user who needs to rest in the smart cockpit.
[0016] Based on the target user, the playback volume of each target speaker in the smart cockpit that needs adjustment is adjusted to the corresponding preset volume.
[0017] Optionally, the step of adjusting the playback volume of each target speaker in the smart cockpit to a corresponding preset volume based on the target user includes:
[0018] Based on the target user, determine the target speaker at the target user's seat;
[0019] Based on the target sound, determine the associated sound within the corresponding preset range;
[0020] Adjust the playback volume of the target speaker to zero, and adjust the playback volume of each accompanying speaker to the corresponding preset volume.
[0021] Optionally, the step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume includes:
[0022] Determine the duration of each note in the musical melody;
[0023] Based on the performance duration and the playback volume, the flashing mode of each target light fixture in the smart cockpit is adjusted.
[0024] Optionally, the step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the performance duration and the playback volume includes:
[0025] Based on the playback volume, select target lights that do not need to be turned off from the lights to be controlled in the smart cockpit;
[0026] The flashing frequency of the target light fixture is determined based on the playing duration of each note;
[0027] Based on the lights that need to be turned off among the lights to be controlled in the smart cockpit, determine the associated lights within a preset range from the target lights;
[0028] The brightness of the connected lighting fixture is set to a preset brightness, and the color of the connected lighting fixture is set to a preset color.
[0029] Based on the flashing frequency, preset brightness, and preset color, the flashing mode of each target light fixture in the smart cockpit is adjusted.
[0030] Optionally, the step of real-time detection of the decibel value of the user at each seat in the smart cockpit includes:
[0031] Acquire sound information from each seat in the smart cockpit;
[0032] Based on the audio information, the musical information of the music being played is extracted from the sound information to obtain the pure human voice information of the user at each seat;
[0033] Based on the pure human voice information, the decibel value of each user in the smart cockpit is detected in real time.
[0034] This application also provides a device for controlling the lighting of a smart cockpit, the device comprising:
[0035] The acquisition module is used to acquire audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time.
[0036] The determining module is used to determine the melody of the music being played based on the audio information, and to adjust the playback volume of each speaker in the smart cockpit based on the decibel value.
[0037] An adjustment module is used to adjust the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency.
[0038] This application also provides a device for controlling the lighting of a smart cockpit. The device for controlling the lighting of a smart cockpit is a physical node device. The device for controlling the lighting of a smart cockpit includes: a memory, a processor, and a program for controlling the lighting of a smart cockpit stored in the memory and executable on the processor. When the program for controlling the lighting of a smart cockpit is executed by the processor, it can implement the steps of the method for controlling the lighting of a smart cockpit as described above.
[0039] This application also provides a storage medium storing a program that implements the above-described method for controlling the lighting of a smart cockpit. When the program for controlling the lighting of a smart cockpit is executed by a processor, it implements the steps of the above-described method for controlling the lighting of a smart cockpit.
[0040] This application provides a method, apparatus, device, and storage medium for lighting control in a smart cockpit. Compared to existing technologies where the lighting modes in entertainment scenarios of smart cockpits applied to buses cannot reasonably cater to the needs of all users, resulting in a decreased user experience, this application acquires audio information of music played in the smart cockpit and detects the decibel value of each user at each seat in the smart cockpit in real time; based on the audio information, it determines the melody of the music being played, and based on the decibel value, adjusts the playback volume of each speaker in the smart cockpit; based on the melody and the playback volume, it adjusts the flashing mode of each target light fixture in the smart cockpit, wherein the flashing mode is determined based on light brightness, light color, and flashing frequency. In this application, the melody of the music is determined based on the acquired audio information of the playing music. The user's decibel level is detected in real time to determine if the user needs a quiet space. The volume of the speakers at the user's seat is adjusted accordingly to provide a quiet environment. Furthermore, the brightness, color, and flashing frequency of the lights in the smart cockpit are adjusted based on the playback volume and melody to provide comfortable lighting for users requiring a quiet space and minimize the impact on users seeking entertainment. In essence, this application distinguishes between users needing a quiet space and those seeking entertainment by determining the melody and volume of the playing music. The brightness, color, and flashing frequency of the target lights are then controlled based on these factors to provide different lighting modes for different users, meeting their diverse needs and enhancing their overall experience. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating the first embodiment of the lighting control method for the intelligent cockpit of this application;
[0044] Figure 2This is a flowchart illustrating a second embodiment of the lighting control method for the intelligent cockpit of this application.
[0045] Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.
[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0047] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0048] This application provides a method for controlling the lighting in a smart cockpit. In the first embodiment of this application's method for controlling the lighting in a smart cockpit, referring to... Figure 1 The methods for controlling the lighting in a smart cockpit include:
[0049] Step S10: Obtain audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time.
[0050] Step S20: Based on the audio information, determine the melody of the music being played, and based on the decibel value, adjust the playback volume of each speaker in the smart cockpit.
[0051] Step S30: Based on the music melody and the playback volume, adjust the flashing mode of each target light fixture in the smart cockpit, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency.
[0052] This embodiment aims to control the brightness, color, and flashing frequency of the target light fixture according to the music melody and playback volume, so as to provide different lighting modes for users with different needs and improve the user experience.
[0053] In this embodiment, it should be noted that the method for controlling the lighting of the smart cockpit can be applied to a device for controlling the lighting of the smart cockpit, which is subordinate to a system for controlling the lighting of the smart cockpit.
[0054] The audio information may include the melody frequency band, rhythm frequency band, vocal frequency band, harmony frequency band, etc. of the music being played, without any specific limitation.
[0055] In this context, musical melody can represent the duration of each note in the music and the connection between each note, without being specifically limited. For example, the connection can be a legato relationship, a sustain relationship, etc., without being specifically limited.
[0056] The duration of each note can be one beat, half a beat, or one and a half beats, etc., without any specific limitation.
[0057] In this embodiment, since a musical melody can express the emotions of a piece of music, the flashing mode of the target lights in the smart cockpit can be adjusted by using the musical melody. This allows the lights in the smart cockpit to flash according to the emotions of the music being played, so that users can visually feel the emotions of the music and immerse themselves in the entertainment scene.
[0058] In this real-time example, by obtaining the decibel value of each user at each seat, it is determined whether the user needs a quiet space. If the user needs a quiet space, the playback volume of each speaker in the smart cockpit is adjusted according to the decibel value, and the brightness and color of the corresponding lights are adjusted according to the playback volume, so as to reduce the impact of sound and light on the user who needs a quiet space, without affecting the entertainment of other users, thus meeting the needs of different users.
[0059] In this embodiment, the music melody is determined based on the frequency of the music being played, and the target lights that need to be controlled to flash according to the music melody are determined based on the decibel value of each user at each seat. Different users with different needs then have their corresponding lights controlled according to different flashing patterns, so that the target lights in the smart cockpit can flash according to the music melody. That is, the emotion of the music is enhanced visually, and users with entertainment needs are fully immersed in the emotional atmosphere of the music, thereby improving the experience of users with entertainment needs. Furthermore, based on the decibel value, users who need to rest are identified, and the light color and brightness of the lights at the seats of these users are adjusted, as well as the light color and brightness of the lights within a preset range near the lights of these users, so that the lights at the seats of these users meet the needs of these users, thereby improving the experience of users who need to rest.
[0060] In this embodiment, the decibel value is used to distinguish between users who need rest and users who need entertainment. The flashing frequency of the lights is adjusted according to the music melody to enhance the immersion of users who need entertainment. The light color and brightness are adjusted to enhance the immersion of users who need rest, thereby meeting the needs of different users and improving the user experience.
[0061] The specific steps are as follows:
[0062] Step S10: Obtain audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time.
[0063] The decibel value is the user's decibel level, and the user's status is determined by the user's decibel level.
[0064] In this embodiment, since users with entertainment needs follow the music and lights played in the smart cockpit, and the decibel level of the sound emitted by users during entertainment is higher than that emitted by users when resting, it is possible to determine in real time which user in which seat needs to rest and which user in which seat is entertaining by detecting the decibel value of each user.
[0065] In this embodiment, in order to better immerse users in the entertainment scene, the flashing frequency of the lights in the smart cockpit can be controlled according to the music being played, so that the flashing frequency of the lights is consistent with the melody of the music, thereby avoiding the difference between auditory and visual perception. Through visual and auditory perception, users can be immersed in an entertainment scene where music and light intertwine.
[0066] Step S20: Based on the audio information, determine the melody of the music being played, and based on the decibel value, adjust the playback volume of each speaker in the smart cockpit.
[0067] In this embodiment, since music expresses emotions through its melody, in order to allow users to be fully immersed in the emotions expressed by the music, the melody of the music being played is determined from the audio information. That is, the melody of the music being played is determined based on the audio information, and then the emotions expressed by the music are determined. Based on the melody, the flashing frequency of the target light fixture is controlled so that the target light fixture visually expresses the emotions expressed by the music. This allows users to be immersed in the emotions expressed by the music based on their visual and auditory experiences, thereby improving the experience of users with entertainment needs.
[0068] In this embodiment, based on the decibel value, the system determines the user who needs to rest, turns off the speakers at the user's seat, and adjusts the volume of the speakers near the speaker to prevent the nearby speakers from being too loud and disturbing the user's rest.
[0069] It should be noted that since users also need a quiet environment when working or studying, users who need a quiet environment are all defined as users who need to rest. This reduces the need for user classification, simplifies the judgment process, and improves the efficiency of adjusting the playback volume of each speaker in the smart cockpit.
[0070] In this embodiment, the volume of the speakers in the entertainment area can be adjusted according to the decibel value, so that users can hear the music clearly without damaging their hearing due to excessive volume.
[0071] Specifically, the step of determining the musical melody of the played music based on the audio information includes:
[0072] Step S21: Extract the melody frequency band of the played music from the audio information;
[0073] Step S22: If the duration of the melody frequency band is less than the duration of the music being played, then determine the time range corresponding to the missing melody in the melody segment.
[0074] Step S23: From the audio information, filter out the harmonic frequency band of the music being played within the time range, and / or the vocal frequency band of the music being played;
[0075] Step S24: Based on the harmonic frequency band and / or the vocal frequency band, repair the melody frequency band to obtain the musical melody of the played music.
[0076] The melody frequency band is composed of notes, and the melody frequency band is formed by different notes and the duration of each note.
[0077] It should be noted that since there is a melody in every piece of music, the emotions of the music are expressed through the melody, and the melody runs from the beginning to the end of the music. The melody can be played by instruments, sung by users, or expressed by instruments or user harmony.
[0078] In this embodiment, if the music being played is instrumental, the complete melody frequency band of the music can be extracted from the audio information. This melody frequency band can be obtained by multiple instruments or by one instrument.
[0079] In this embodiment, if the music being played is instrumental and the extracted melody frequency band is incomplete, the harmonic frequency band of the music being played is extracted from the audio information and combined with the melody frequency band. That is, the missing frequency band in the melody frequency band is supplemented by the harmonic frequency to obtain a complete musical melody.
[0080] In this embodiment, if the music being played is a song with vocals, then the melody frequency bands with intros, interludes, and / or endings in the music are obtained, and the vocal frequency bands in the music are also obtained. The vocal frequency bands and the melody frequency bands are combined to form a complete musical melody. That is, in this embodiment, the missing frequency bands in the melody frequency bands are extracted from the vocal frequency bands, and the extracted vocal frequency bands are added to the melody frequency bands to obtain a complete musical melody.
[0081] It should be noted that if the music being played is a song with vocals, then all the frequency bands of the melody played by the instruments can be extracted from the music, and a small number of frequency bands can be extracted from the vocal frequency bands and added to the melody frequency bands.
[0082] In this embodiment, since the frequency band of vocals is stronger than the frequency band of instrumental melody in a song with vocals, if the music being played is a song with vocals, the frequency band of the intro, interlude, and / or ending of the music is preferentially selected for analysis. That is, the vocal frequency band is used first where there is vocal content, and the frequency band of instrumental melody is analyzed only where there is no vocal content. In other words, the frequency band of the intro, interlude, and / or ending of the music can be used to accurately determine the music melody based on the vocal frequency band, which can also reduce the screening of music melodies and improve the accuracy of the analyzed music melody.
[0083] It should be noted that if there are still missing frequency bands after combining the vocal frequency band and the melody frequency band, then the harmony frequency band is extracted from the audio information, and the harmony frequency band and the vocal frequency band are used to supplement the melody frequency band to obtain a complete musical melody.
[0084] Step S30: Based on the music melody and the playback volume, adjust the flashing mode of each target light fixture in the smart cockpit, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency.
[0085] In this embodiment, the flashing mode can be adjusted according to the light brightness, light color and flashing frequency. The flashing mode can be a single color light flashing at a preset brightness and the flashing frequency is determined according to the music rhythm; it can also be multiple colors light flashing alternately at a preset brightness and the flashing frequency is determined according to the music rhythm; or it can be multiple colors light flashing individually at a preset brightness and the flashing frequency is determined according to the music rhythm.
[0086] In this embodiment, the flashing frequency of the target light fixture is determined based on the playing time of each note in the musical melody, and the transition method between every two flashes of the target light fixture is determined based on the connection relationship between each note. The transition method can be a gradual transition or a sudden transition. For example, if the current light color of the target light fixture is green and needs to be changed to blue through flashing, the gradual transition process can be to make the green gradually change to blue; the sudden transition process can be to change from green directly to blue.
[0087] It should be noted that gradual transitions and sudden transitions can be used in combination to make the flashing frequency of the lights match the melody of the music more closely. In other words, the flashing light of the target lights can visually highlight the emotion of the music.
[0088] In this embodiment, since the musical melody includes seven notes, each note can be associated with a different light color, so that each note corresponds to a light color. If the connection between the notes is a legato relationship, the light color can be changed using a gradual transition; if the connection between the notes is a sustain relationship, the current light color can have its illumination time extended.
[0089] In this embodiment, the brightness of the corresponding light fixture is adjusted by controlling the playback volume of the audio system. This allows for a tiered approach to volume and brightness, enabling quick determination of light intensity based on the playback volume. The lower the playback volume, the dimmer the light. Since the playback volume at the seats of users needing to rest is minimal, or even zero, the brightness of the corresponding light fixture needs to be reduced to avoid disturbing these users.
[0090] It should be noted that the brightness of the light fixture's flashing can be adjusted in real time according to the pitch of each note, and the adjustment according to the pitch increases or decreases the brightness based on the currently set brightness. For example, if the color corresponding to the note "do (1)" is set to orange, and the current brightness of the light is level two, if the note is raised by an octave, that is, "raise do ()", the brightness of the orange light will increase by a preset brightness difference based on the level two brightness, but will not change the brightness level of the light. Each note has a corresponding brightness difference for every octave difference. That is, in this embodiment, after determining the brightness level of the light, each time the note changes by an octave, the corresponding light color will increase by the corresponding brightness difference based on that level.
[0091] It should be noted that if the note rises within a seventh, the color of the light is changed, and the brightness of the light does not need to be adjusted again based on the brightness level. For example, if the note rises from "do (1)" to "re (2)", and the color corresponding to "re (2)" is yellow, then orange is changed to yellow.
[0092] In this embodiment, if the light color is a single color, the light brightness will change according to the preset brightness difference between each degree based on the current lamp level when the note changes by one degree. This allows for flexibility in adjusting the flashing mode of the target lamp according to the music frequency and playback volume, and also ensures that adjusting the target lamp will not affect users who need to rest, thereby improving the user experience.
[0093] Specifically, the step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume includes:
[0094] Step S31: Determine the duration of each note in the musical melody;
[0095] Step S32: Based on the performance duration and the playback volume, adjust the flashing mode of each target light fixture in the smart cockpit.
[0096] In this embodiment, since the duration of each note in a musical melody may vary, and the main emotion is expressed through notes of different durations, it is necessary to determine the duration of each note in the musical melody in order to determine the flashing frequency of the target lamp based on the duration of the notes.
[0097] In this embodiment, since the performance duration in music is calculated based on the beat, and the same beat takes up different amounts of time at different performance speeds, it is necessary to determine the performance speed of the music before determining the performance duration of each note in the musical melody, and to accurately convert the performance duration into a time length based on the performance speed.
[0098] It should be noted that the duration of each beat is determined only after the tempo is determined, and thus the duration of each note in a piece of music is determined.
[0099] In this embodiment, the brightness level of the target light fixture is determined by the playback volume, and the flashing frequency and color change of the target light fixture are determined according to the duration of each note played. This determines the flashing mode of each target light fixture in the smart cockpit, so that the lights in the smart cockpit can be adjusted according to the different music needs of different users.
[0100] Specifically, the step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the performance duration and the playback volume includes:
[0101] Based on the playback volume, select target lights that do not need to be turned off from the lights to be controlled in the smart cockpit;
[0102] Step A10: Determine the flashing frequency of the target light fixture based on the playing duration of each note;
[0103] Step A20: Based on the lights that need to be turned off among the lights to be controlled in the smart cockpit, determine the associated lights within a preset range from the target lights;
[0104] Step A30: Determine that the brightness of the connected lighting fixture is a preset brightness and that the color of the connected lighting fixture is a preset color;
[0105] Step A40: Based on the flashing frequency, preset brightness, and preset color, adjust the flashing mode of each target light fixture in the smart cockpit.
[0106] In this embodiment, the brightness of the connected lighting fixtures can be gradually changed. That is, the closer the connected lighting fixtures are to the lighting fixtures that need to be turned off, the lower the brightness of the connected lighting fixtures. The farther away the connected lighting fixtures are from the lighting fixtures that need to be turned off, the lower the brightness of the connected lighting fixtures becomes, until the brightness is the same as the brightness level of the entertainment area.
[0107] It should be noted that since the lighting fixtures are close to users who need to rest, gradually dimming the lighting fixtures can reduce the impact of the light on users and prevent sudden changes in the brightness of the lighting in the entertainment area, thus avoiding discomfort caused by sudden changes in the brightness of the lighting.
[0108] It should be noted that users who need to rest can also adjust the volume of the speakers and the flashing mode of the lights at their respective seats to improve the flexibility of lighting control and thus enhance the user experience.
[0109] This application provides a method, apparatus, device, and storage medium for lighting control in a smart cockpit. Compared to existing technologies where the lighting modes in entertainment scenarios of smart cockpits applied to buses cannot reasonably cater to the needs of all users, resulting in a decreased user experience, this application acquires audio information of music played in the smart cockpit and detects the decibel value of each user at each seat in the smart cockpit in real time; based on the audio information, it determines the melody of the music being played, and based on the decibel value, adjusts the playback volume of each speaker in the smart cockpit; based on the melody and the playback volume, it adjusts the flashing mode of each target light fixture in the smart cockpit, wherein the flashing mode is determined based on light brightness, light color, and flashing frequency. In this application, the melody of the music is determined based on the acquired audio information of the playing music. The user's decibel level is detected in real time to determine if the user needs a quiet space. The volume of the speakers at the user's seat is adjusted accordingly to provide a quiet environment. Furthermore, the brightness, color, and flashing frequency of the lights in the smart cockpit are adjusted based on the playback volume and melody to provide comfortable lighting for users requiring a quiet space and minimize the impact on users seeking entertainment. In essence, this application distinguishes between users needing a quiet space and those seeking entertainment by determining the melody and volume of the playing music. The brightness, color, and flashing frequency of the target lights are then controlled based on these factors to provide different lighting modes for different users, meeting their diverse needs and enhancing their overall experience.
[0110] Furthermore, based on the above embodiments of this application, another embodiment of this application is provided, in which reference is made to... Figure 2 The step of adjusting the playback volume of each speaker in the smart cockpit based on the decibel value includes:
[0111] Step S01: Compare the decibel value with the preset rest decibel level to determine the target user who needs to rest in the smart cockpit;
[0112] Step S02: Based on the target user, adjust the playback volume of each target speaker in the smart cockpit that needs adjustment to the corresponding preset volume.
[0113] In this embodiment, after detecting the decibel value of each user, the decibel value is compared with the preset rest decibel to determine the seat of the target user who needs to rest. If the target users are not concentrated, a rest area is set up for the target users, and the target users are reminded to go to the rest area to rest, so as to separate the rest area from the entertainment area. If a target user does not want to go to the rest area, the playback volume of the target speaker at the user's seat is adjusted to the corresponding preset volume.
[0114] In this embodiment, the volume of the speaker at the user's seat can be adjusted to zero, and the playback volume of the speakers near the speaker can be adjusted to a preset volume, so as to avoid the speakers near the seat from affecting the target user's rest.
[0115] Specifically, the step of adjusting the playback volume of each target speaker in the smart cockpit to a corresponding preset volume based on the target user includes:
[0116] Step S021: Based on the target user, determine the target speaker at the target user's seat;
[0117] Step S022: Based on the target sound, determine the associated sound within the corresponding preset range;
[0118] Step S023: Adjust the playback volume of the target speaker to zero, and adjust the playback volume of each accompanying speaker to the corresponding preset volume.
[0119] In this embodiment, since the speakers near the target user may affect the target user's rest, it is necessary to determine the surrounding speakers within a preset range centered on the target speaker, and adjust the playback volume of each surrounding speaker according to a preset volume.
[0120] It should be noted that the playback volume of the integrated speakers can be increased gradually according to the distance from the target speaker, in order to reduce the excessive volume difference of the speakers in the smart cockpit, which would affect the user's auditory experience.
[0121] In this embodiment, the target speaker can prompt the target user to turn it off before adjustment, or it can be turned off directly, or the target user can turn it off directly. Regardless of the turning-off method, the target user can adjust the playback volume of the target speaker as needed after it is turned off, thereby improving the user experience by increasing the flexibility of adjusting the playback volume.
[0122] It should be noted that when the user adjusts the playback volume of the target speaker, the playback volume of the secondary speaker will not change, so as to avoid disturbing the target user's rest.
[0123] Furthermore, based on the above embodiments of this application, another embodiment of this application is provided. In this embodiment, the step of real-time detection of the decibel value of the user at each seat in the smart cockpit includes:
[0124] Step B10: Obtain sound information from each seat in the smart cockpit;
[0125] Step B20: Based on the audio information, extract the music information from the sound information to obtain the pure human voice information of the user at each seat;
[0126] Step B30: Based on the pure human voice information, detect the decibel value of the user at each seat in the smart cockpit in real time.
[0127] In this embodiment, before detecting the decibel value of the user at each seat in the smart cockpit, it is necessary to first obtain the sound information of each seat in the smart cockpit, and then extract the music sound information from the sound information to obtain the pure human voice information of the user at each seat. Then, the decibel value of the pure human voice information is detected to reduce the impact of playing music on the detection of the user's voice decibel value.
[0128] In this embodiment, the different timbres can also be used to separate the voices of different users from pure human voice information, and the decibel value of each user's voice can be detected to improve the accuracy of detection, thereby improving the accuracy of judging user needs.
[0129] Reference Figure 3 , Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.
[0130] like Figure 3As shown, the lighting control device for this smart cockpit may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to establish communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM or a stable, non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0131] Optionally, the lighting control equipment for this smart cockpit may also include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, etc. The rectangular user interface may include a display screen and an input submodule such as a keyboard; optionally, the rectangular user interface may also include standard wired or wireless interfaces. The network interface may optionally include standard wired or wireless interfaces (such as a Wi-Fi interface).
[0132] Those skilled in the art will understand that Figure 3 The lighting control device shown in the diagram does not constitute a limitation on the lighting control device of the smart cockpit, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0133] like Figure 3 As shown, the memory 1005, serving as a storage medium, may include an operating system, a network communication module, and a program for controlling the lighting of the smart cockpit. The operating system is a program that manages and controls the hardware and software resources of the smart cockpit lighting control device, supporting the operation of the smart cockpit lighting control program and other software and programs. The network communication module is used to enable communication between the various components within the memory 1005, as well as communication with other hardware and software in the smart cockpit lighting control system.
[0134] exist Figure 3 In the intelligent cockpit lighting control device shown, the processor 1001 is used to execute the intelligent cockpit lighting control program stored in the memory 1005 to implement the steps of the intelligent cockpit lighting control method described above.
[0135] The specific implementation method of the lighting control device for the smart cockpit in this application is basically the same as the various embodiments of the lighting control method for the smart cockpit described above, and will not be repeated here.
[0136] This application also provides a device for controlling the lighting of a smart cockpit, the device comprising:
[0137] The acquisition module is used to acquire audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time.
[0138] The determining module is used to determine the melody of the music being played based on the audio information, and to adjust the playback volume of each speaker in the smart cockpit based on the decibel value.
[0139] An adjustment module is used to adjust the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency.
[0140] Optionally, the determining module includes:
[0141] The parsing module is used to extract the melody frequency band of the played music from the audio information;
[0142] The first determining submodule is used to determine the time range corresponding to the missing melody in the melody segment if the duration of the melody frequency band is less than the duration of the music being played.
[0143] A filtering module is used to filter out the harmonic frequency bands of the music being played within the time range and / or the vocal frequency bands of the music being played from the audio information;
[0144] The repair module is used to repair the melody frequency band based on the harmony frequency band and / or the human voice frequency band to obtain the musical melody of the played music.
[0145] Optionally, the determining module further includes:
[0146] The comparison module is used to compare the decibel value with a preset rest decibel level to determine the target user who needs to rest in the smart cockpit.
[0147] The first adjustment submodule is used to adjust the playback volume of each target speaker in the smart cockpit to a corresponding preset volume based on the target user.
[0148] Optionally, the first adjustment submodule includes:
[0149] The first determining unit is used to determine the target speaker at the seat of the target user based on the target user;
[0150] The second determining unit is used to determine the accompanying audio within a corresponding preset range based on the target audio.
[0151] The first adjustment unit is used to adjust the playback volume of the target speaker to zero and adjust the playback volume of each accompanying speaker to the corresponding preset volume.
[0152] Optionally, the adjustment module includes:
[0153] The third determining unit is used to determine the performance duration of each note in the musical melody;
[0154] The second adjustment submodule is used to adjust the flashing mode of each target light fixture in the smart cockpit based on the performance duration and the playback volume.
[0155] Optionally, the second adjustment submodule includes:
[0156] The filtering submodule is used to filter out target lights that do not need to be turned off from the lights to be controlled in the smart cockpit based on the playback volume.
[0157] The second determining submodule is used to determine the flashing frequency of the target lamp based on the playing duration of each note;
[0158] The third determining submodule is used to determine the associated lamps within a preset range from the target lamps based on the lamps that need to be turned off among the lamps to be controlled in the smart cockpit;
[0159] The fourth determining submodule is used to determine that the brightness of the connected lamp is a preset brightness and the color of the connected lamp is a preset color;
[0160] The second adjustment unit is used to adjust the flashing mode of each target light fixture in the smart cockpit based on the flashing frequency, preset brightness, and preset color.
[0161] Optionally, the acquisition module includes:
[0162] The acquisition submodule is used to acquire sound information from each seat in the smart cockpit;
[0163] A glass module is used to extract the musical information of the playing music from the sound information based on the audio information, so as to obtain the pure human voice information of the user at each seat.
[0164] The detection module is used to detect the decibel value of each user in the smart cockpit in real time based on the pure human voice information.
[0165] The specific implementation of the lighting control device for the smart cockpit in this application is basically the same as the various embodiments of the lighting control method for the smart cockpit described above, and will not be repeated here.
[0166] This application provides a storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the above-described method for controlling the lighting of a smart cockpit.
[0167] The specific implementation of the storage medium in this application is basically the same as the various embodiments of the above-mentioned intelligent cockpit lighting control method, and will not be described again here.
[0168] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one, etc." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0169] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0170] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of the present invention.
[0171] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention’s specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for controlling lighting in a smart cockpit, characterized in that, The method for controlling the lighting in the smart cockpit includes: Acquire audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time; Based on the audio information, the melody of the music being played is determined, and based on the decibel value, the playback volume of each speaker in the smart cockpit is adjusted. Based on the music melody and the playback volume, the flashing mode of each target light fixture in the smart cockpit is adjusted, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency; The step of adjusting the playback volume of each speaker in the smart cockpit based on the decibel value includes: The decibel value is compared with a preset rest decibel level to determine the target user who needs to rest in the smart cockpit. Based on the target user, the playback volume of each target speaker in the smart cockpit that needs adjustment is adjusted to the corresponding preset volume.
2. The method for controlling the lighting of an intelligent cockpit as described in claim 1, characterized in that, The step of determining the melody of the music being played based on the audio information includes: The melody frequency band of the played music is extracted from the audio information; If the duration of the melody frequency band is less than the duration of the music being played, then the time range corresponding to the missing melody in the melody frequency band is determined. From the audio information, filter out the harmonic frequency bands of the music being played within the time range, and / or the vocal frequency bands of the music being played; Based on the harmonic frequency band and / or the vocal frequency band, the melody frequency band is repaired to obtain the musical melody of the played music.
3. The method for controlling the lighting of a smart cockpit as described in claim 1, characterized in that, The step of adjusting the playback volume of each target speaker in the smart cockpit to a corresponding preset volume based on the target user includes: Based on the target user, determine the target speaker at the target user's seat; Based on the target sound, determine the associated sound within the corresponding preset range; Adjust the playback volume of the target speaker to zero, and adjust the playback volume of each accompanying speaker to the corresponding preset volume.
4. The method for controlling the lighting of an intelligent cockpit as described in claim 1, characterized in that, The step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume includes: Determine the duration of each note in the musical melody; Based on the performance duration and the playback volume, the flashing mode of each target light fixture in the smart cockpit is adjusted.
5. The method for controlling the lighting of an intelligent cockpit as described in claim 4, characterized in that, The step of adjusting the flashing mode of each target light fixture in the smart cockpit based on the performance duration and the playback volume includes: Based on the playback volume, select target lights that do not need to be turned off from the lights to be controlled in the smart cockpit; The flashing frequency of the target light fixture is determined based on the playing duration of each note; Based on the lights that need to be turned off among the lights to be controlled in the smart cockpit, determine the associated lights within a preset range from the target lights; The brightness of the connected lighting fixture is set to a preset brightness, and the color of the connected lighting fixture is set to a preset color. Based on the flashing frequency, preset brightness, and preset color, the flashing mode of each target light fixture in the smart cockpit is adjusted.
6. The method for controlling the lighting of a smart cockpit as described in claim 1, characterized in that, The step of real-time detection of the decibel value of each user at each seat in the smart cockpit includes: Acquire sound information from each seat in the smart cockpit; Based on the audio information, the musical information of the music being played is extracted from the sound information to obtain the pure human voice information of the user at each seat; Based on the pure human voice information, the decibel value of each user in the smart cockpit is detected in real time.
7. A device for controlling lighting in a smart cockpit, characterized in that, The lighting control device for the smart cockpit includes: The acquisition module is used to acquire audio information of music played in the smart cockpit and detect the decibel value of each user at each seat in the smart cockpit in real time. The determining module is used to determine the melody of the music being played based on the audio information, and to adjust the playback volume of each speaker in the smart cockpit based on the decibel value. An adjustment module is used to adjust the flashing mode of each target light fixture in the smart cockpit based on the music melody and the playback volume, wherein the flashing mode is determined based on the light brightness, light color and flashing frequency; The determining module can be used to achieve: The decibel value is compared with a preset rest decibel level to determine the target user who needs to rest in the smart cockpit. Based on the target user, the playback volume of each target speaker in the smart cockpit that needs adjustment is adjusted to the corresponding preset volume.
8. A device for controlling the lighting in a smart cockpit, characterized in that, The device for controlling the lighting in the smart cockpit includes: a memory, a processor, and a program stored in the memory for implementing a method for controlling the lighting in the smart cockpit. The memory is used to store programs that implement lighting control methods for smart cockpits; The processor is used to execute a program for implementing a method for controlling the lighting of a smart cockpit, to implement the steps of the method for controlling the lighting of a smart cockpit as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a program for implementing a method of lighting control for a smart cockpit, and the program for implementing a method of lighting control for a smart cockpit is executed by a processor to implement the steps of the method of lighting control for a smart cockpit as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Light control method and device of vehicle-mounted entertainment system and vehicle-mounted entertainment system
CN111332197A
Intelligent earphone playing method, intelligent earphone and storage medium
CN112416285A
Light control method and system based on audio visualization, terminal and storage medium
CN113507770A