CN110896578A - Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment - Google Patents

Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment Download PDF

Info

Publication number
CN110896578A
CN110896578A CN201811035858.6A CN201811035858A CN110896578A CN 110896578 A CN110896578 A CN 110896578A CN 201811035858 A CN201811035858 A CN 201811035858A CN 110896578 A CN110896578 A CN 110896578A
Authority
CN
China
Prior art keywords
atmosphere lamp
vehicle
control signal
vehicle interior
frequency domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811035858.6A
Other languages
Chinese (zh)
Inventor
施鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN201811035858.6A priority Critical patent/CN110896578A/en
Publication of CN110896578A publication Critical patent/CN110896578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention provides a music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment. The method comprises the following steps: acquiring an audio signal when music is played, and converting the audio signal from a time domain signal into a frequency domain signal; selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle; for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval; generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal. The invention can change the display effect of the atmosphere lamp in the vehicle along with the rhythm of the music in the vehicle, and provides better experience of listening to songs in the vehicle for users.

Description

Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment
Technical Field
The invention relates to the technical field of computer software, in particular to a method and a system for adjusting atmosphere lamps in a vehicle based on music rhythm and electronic equipment.
Background
With the increasing demand of people in driving and entertainment, vehicle-mounted infotainment systems are developing towards functional diversification and integration. At the present stage, when the vehicle-mounted information entertainment system plays music, the visual effect of the atmosphere lamp in the vehicle cannot change along with the rhythm of the music, so that people in the vehicle inevitably feel monotonous and uninteresting, and the experience of listening to songs in the vehicle is poor.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, and an electronic device for adjusting an atmosphere lamp in a vehicle based on music rhythm, so as to solve the technical problem in the prior art that a person in the vehicle has a poor experience of listening to songs.
To achieve the above and other related objects, the present invention provides a method for adjusting an ambience lamp in a vehicle based on a musical rhythm, including: acquiring an audio signal when music is played, and converting the audio signal from a time domain signal into a frequency domain signal; selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle; for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval; generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, each of the preset frequency parameter intervals further corresponds to a plurality of preset amplitude parameter intervals; the method further comprises the following steps: for each selected frequency domain signal, respectively matching the amplitude parameter of the selected frequency domain signal with each preset amplitude parameter interval corresponding to the successfully matched preset frequency parameter interval; generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset amplitude parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, each preset frequency parameter interval further corresponds to a plurality of preset volume parameter intervals; the method further comprises the following steps: detecting a volume value of music being played; matching the detected volume values with all preset volume parameter intervals respectively; generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset volume parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, the method further includes: the method comprises the steps of obtaining an initial display state of the atmosphere lamp in the vehicle before music playing, and sending a control signal for enabling the atmosphere lamp in the vehicle to be restored to the initial display state when the music is played.
To achieve the above and other related objects, the present invention provides a music rhythm based atmosphere lamp adjusting system in a vehicle, comprising: the audio signal processing module is used for acquiring an audio signal during music playing and converting the audio signal from a time domain signal to a frequency domain signal; selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle; for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval; the control signal processing module is used for generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, each of the preset frequency parameter intervals further corresponds to a plurality of preset amplitude parameter intervals; the audio signal processing module is further configured to match, for each selected frequency domain signal, an amplitude parameter of the selected frequency domain signal with each preset amplitude parameter interval corresponding to the successfully matched preset frequency parameter interval; the control signal processing module is further used for generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset amplitude parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, each preset frequency parameter interval further corresponds to a plurality of preset volume parameter intervals; the audio signal processing module is further used for detecting the volume value of the music being played; matching the detected volume values with all preset volume parameter intervals respectively; the control signal processing module is further used for generating an in-vehicle atmosphere lamp control signal according to the light and dark state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset volume parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In an embodiment of the present invention, the audio signal processing module is further configured to obtain an initial display state of the vehicle interior atmosphere lamp before music playing; the control signal processing module is also used for sending a control signal for restoring the atmosphere lamp in the vehicle to the initial display state when the music is played.
To achieve the above and other related objects, the present invention provides a storage medium, in which a computer program is stored, which when loaded and executed by a processor, implements a method for adjusting an ambience lamp in a vehicle based on a musical rhythm as described in any one of the above.
To achieve the above and other related objects, the present invention provides an electronic device, comprising: a processor, a memory, and a communicator; the communicator is used for establishing communication connection between the electronic equipment and external equipment; the memory is used for storing a computer program; the processor is configured to load and execute the computer program to cause the electronic device to execute the music rhythm-based vehicle interior atmosphere lamp adjusting method as described in any one of the above.
To achieve the above and other related objects, the present invention provides a vehicle including: an electronic device as described above.
As described above, the method, the system and the electronic device for adjusting the atmosphere lamp in the vehicle based on music rhythm of the invention acquire the audio signal during music playing, and convert the audio signal from a time domain signal to a frequency domain signal; selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle; for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval; generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal. The technical scheme of the invention has the following beneficial effects: when the vehicle-mounted information entertainment system plays music, the visual effect of the atmosphere lamp in the vehicle can change along with the rhythm of the music, so that the situation that people in the vehicle feel monotonous and uninteresting is avoided, and the experience of listening to songs in the vehicle is improved.
Drawings
Fig. 1 is a flowchart illustrating a music-rhythm-based method for adjusting an atmosphere lamp in a vehicle according to an embodiment of the invention.
Fig. 2 is a flowchart illustrating a music-rhythm-based method for adjusting an atmosphere lamp in a vehicle according to another embodiment of the invention.
Fig. 3 is a flowchart illustrating a music-rhythm-based method for adjusting an atmosphere lamp in a vehicle according to another embodiment of the present invention.
FIG. 4 is a block diagram of a music-rhythm-based mood light adjustment system in a vehicle according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Description of the element reference numerals
S11-S15
S21-S23
S31-S34
400 atmosphere lamp governing system in car based on music rhythm
41 audio signal processing module
42 control signal processing module
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, in order to enable the visual effect of the atmosphere lamp in the vehicle to change along with the rhythm of the music when the vehicle-mounted infotainment system plays the music, so as to avoid monotonous and uninteresting people in the vehicle and improve the experience of listening to songs in the vehicle, the embodiment provides a method for adjusting the atmosphere lamp in the vehicle based on the rhythm of the music, which comprises the following steps:
s11: the method comprises the steps of obtaining an audio signal when music is played, and converting the audio signal from a time domain signal to a frequency domain signal.
It should be noted that the music in this embodiment may be not only pure music in the format of MP3, WMA, MIDI, etc., but also music in video files in the format of AVI, RMVB, RM, etc. This step acquires the audio signal of the music being played in real time and converts the audio signal from the time domain to the frequency domain, preferably using a Fast Fourier Transform (FFT) algorithm.
S12: and selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle.
Since the conversion of an audio signal from the time domain to the frequency domain may result in thousands of superimposed frequency domain signals, this step randomly selects several of the thousands of frequency domain signals to control the interior atmosphere lamp accordingly. Of course, in other embodiments, those skilled in the art may establish other criteria for screening the frequency domain signals, and select a high quality frequency domain signal from thousands of frequency domain signals to control the interior atmosphere lamp accordingly.
S13: and matching the frequency parameter of each selected frequency domain signal with each preset frequency parameter interval.
It should be noted that, before the method of the present embodiment is executed, the in-vehicle infotainment system (vehicle) executing the method reads a mechanism file pre-stored by itself or stored in an external storage device, where the mechanism file includes a plurality of preset frequency parameter intervals and a color state of the vehicle interior atmosphere lamp corresponding to each preset frequency parameter interval, as shown in table 1:
TABLE 1
Figure BDA0001790859080000041
Figure BDA0001790859080000051
It should be noted that the data and colors in table 1 are only used as an illustration, and in other embodiments, those skilled in the art can set themselves according to actual needs.
The step of respectively matching the frequency parameters of the frequency domain signals with the preset frequency parameter intervals specifically includes: the frequency values of the selected frequency domain signals are respectively matched with the intervals of 20 HZ-200 HZ, 200 HZ-2000 HZ, 2000 HZ-20000 HZ and the like so as to judge which preset frequency parameter interval the frequency values belong to. For example, assuming that the frequency value of the selected frequency domain signal is 300HZ, the matching result indicates that the predetermined frequency parameter interval successfully matched with 300HZ is "200 HZ to 2000 HZ".
S14: and generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval.
In step S13, for example, the color status of the interior atmosphere lamp corresponding to the interval "200 HZ to 2000 HZ", that is, "yellow", is first found, and then a control signal for adjusting the corresponding interior atmosphere lamp to display yellow is generated.
S15: and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal.
In detail, the in-vehicle infotainment system transmits the generated control signal to the corresponding in-vehicle atmosphere lamp through the CAN protocol. And then, the atmosphere lamp in the vehicle can complete self color transformation according to the color information in the received control signal.
Referring to fig. 2, in another embodiment, further, each preset frequency parameter interval further corresponds to a plurality of preset amplitude parameter intervals, and each preset amplitude parameter interval further corresponds to a different bright-dark state of the interior ambient light of the vehicle, as shown in table 2:
TABLE 2
Figure BDA0001790859080000052
It should be noted that, the data and the shading in table 2 are only used as an illustration, and in other embodiments, those skilled in the art can set the data and shading according to actual needs. In addition, the "bright" and "dark" are actually preset ranges of brightness values, and detailed description thereof is omitted.
In the embodiment shown in fig. 2, the method for adjusting atmosphere lamp in vehicle based on music rhythm further comprises:
s21: and for each selected frequency domain signal, matching the amplitude parameter of the selected frequency domain signal with each preset amplitude parameter interval corresponding to the successfully matched preset frequency parameter interval.
It should be noted that the step of matching the amplitude parameter of the frequency domain signal with each of the preset amplitude parameter intervals is performed on the basis of determining the preset frequency parameter interval to which the frequency domain signal belongs, for example, for the frequency domain signal whose frequency value is determined to belong to the interval "20 HZ to 200 HZ", the step of matching the amplitude value of the frequency domain signal with the intervals "10A to 200A", "201A to 400A", and the like, respectively, to determine which preset amplitude parameter interval the amplitude value belongs to. Assuming that the amplitude value of the frequency domain signal is 50A, the preset amplitude parameter interval successfully matched with 50A is found to be 10A-200A after matching.
S22: and generating an atmosphere lamp control signal in the vehicle according to the light and shade state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset amplitude parameter interval and the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval.
In connection with the example of steps S14 and S21, this step first finds the bright-dark state, i.e., "bright", of the interior atmosphere lamp corresponding to the section "10A to 200A", and then generates a control signal for adjusting the corresponding interior atmosphere lamp to display yellow and have bright brightness.
S23: and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In detail, the in-vehicle infotainment system transmits the generated control signal to the corresponding in-vehicle atmosphere lamp through the CAN protocol. And then, the atmosphere lamp in the vehicle can complete the conversion of the self color and the brightness according to the color and the brightness information in the received control signal.
Referring to fig. 3, in another embodiment, further, each preset frequency parameter interval further corresponds to a plurality of preset volume parameter intervals, and each preset volume parameter interval further corresponds to a different bright-dark state of the interior ambient light of the vehicle, as shown in table 3:
TABLE 3
Figure BDA0001790859080000061
It should be noted that the data and the shading in table 3 are only used as an illustration, and in other embodiments, those skilled in the art can set the data and shading according to actual needs. In addition, the "bright" and "dark" are actually preset ranges of brightness values, and detailed description thereof is omitted.
In the embodiment shown in fig. 3, the method for adjusting atmosphere lamp in vehicle based on music rhythm further comprises:
s31: the volume value of the music being played is detected.
S32: and respectively matching the detected volume values with the preset volume parameter intervals.
It should be noted that, the step of matching the volume parameter of the frequency domain signal with each of the preset volume parameter intervals is performed on the basis of determining the preset frequency parameter interval to which the frequency domain signal belongs, for example, for the frequency domain signal whose frequency value is determined to belong to the interval of "20 HZ to 200 HZ", the step of matching the volume value of the frequency domain signal with the intervals of "10 dB to 50 dB", "51A to 100A", and the like, so as to determine which preset volume parameter interval the volume value belongs to. Assuming that the volume value of the frequency domain signal is 30dB, the matching result shows that the preset volume parameter interval successfully matched with 30dB is 10 dB-50 dB.
S33: and generating an atmosphere lamp control signal in the vehicle according to the light and shade state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset volume parameter interval and the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval.
Taking the examples of steps S14 and S32 as an example, the step first finds the bright-dark state, i.e., "bright", of the interior ambience lamp corresponding to the interval of "10 dB to 50 dB", and then generates a control signal for adjusting the corresponding interior ambience lamp to display yellow and have bright brightness.
S34: and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
In detail, the in-vehicle infotainment system transmits the generated control signal to the corresponding in-vehicle atmosphere lamp through the CAN protocol. And then, the atmosphere lamp in the vehicle can complete the conversion of the self color and the brightness according to the color and the brightness information in the received control signal.
In another embodiment, optionally, the method for adjusting atmosphere lamp in vehicle based on music rhythm further includes: obtaining an initial display state of an interior atmosphere lamp of a vehicle before music playing, comprising: and displaying color, brightness and the like, and generating a control signal according to the information of the initial display state and sending the control signal to the atmosphere lamp in the vehicle when the music is finished playing so as to restore the initial display state.
All or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. Based upon such an understanding, the present invention also provides a computer program product comprising one or more computer instructions. The computer instructions may be stored in a computer readable storage medium. The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Referring to fig. 4, the present embodiment provides a music-rhythm-based vehicle interior atmosphere lamp adjusting system 400, which is installed in an electronic device as a piece of software to execute the music-rhythm-based vehicle interior atmosphere lamp adjusting system according to the foregoing method embodiment when running. Since the technical principle of the embodiment of the system is similar to that of the embodiment of the method, repeated description of the same technical details is omitted.
The sewing trajectory data generation system of the present embodiment specifically includes: an audio signal processing module 41 and a control signal processing module 42. The audio signal processing module 41 is configured to perform steps S11 to S13, S21, S31 to S32 described in the foregoing method embodiment, and obtain an initial display state of the interior ambience light before the music is played, and the control signal processing module 42 is configured to perform steps S14 to S15, S22 to S23, and S33 to S34 described in the foregoing method embodiment, and generate a control signal to transmit to the interior ambience light according to information of the initial display state when the music is finished playing, and the like.
Those skilled in the art should understand that the division of the modules in the embodiment of fig. 4 is only a logical division, and the actual implementation can be fully or partially integrated into one or more physical entities. And the modules can be realized in a form that all software is called by the processing element, or in a form that all the modules are realized in a form that all the modules are called by the processing element, or in a form that part of the modules are called by the hardware. For example, the audio signal processing module 41 may be a separate processing element, or may be integrated in a chip, or may be stored in a memory in the form of program codes, and the certain processing element calls and executes the functions of the audio signal processing module 41. Other modules are implemented similarly. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Referring to fig. 5, the embodiment provides an electronic device, which may be a vehicle-mounted infotainment system (in-vehicle), a desktop computer, a portable computer, a smart phone, and the like. In detail, the electronic device comprises at least, connected by a bus 51: a memory 52, a processor 53 and a communicator 54, wherein the communicator 54 is configured to establish communication with an external device through a CAN protocol, a WIFI protocol, a GPRS protocol or a bluetooth protocol, etc., the memory 52 is configured to store a computer program, and the processor 53 is configured to execute the computer program stored in the memory 52 to perform all or part of the steps in the foregoing method embodiments.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In addition, the invention also provides a vehicle comprising the vehicle-mounted infotainment system. Since the telematics system has been described in detail above, it is not repeated here.
In summary, the method, the system and the electronic device for adjusting the atmosphere lamp in the vehicle based on music rhythm of the invention can change the display effect of the atmosphere lamp in the vehicle along with the rhythm of the music in the vehicle, thereby providing better experience of listening to songs in the vehicle for users. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (11)

1. A music rhythm-based method for adjusting atmosphere lamps in a vehicle is characterized by comprising the following steps:
acquiring an audio signal when music is played, and converting the audio signal from a time domain signal into a frequency domain signal;
selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle;
for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval;
generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval;
and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal.
2. The method of claim 1, wherein each of the predetermined frequency parameter intervals further corresponds to a plurality of predetermined amplitude parameter intervals; the method further comprises the following steps:
for each selected frequency domain signal, respectively matching the amplitude parameter of the selected frequency domain signal with each preset amplitude parameter interval corresponding to the successfully matched preset frequency parameter interval;
generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset amplitude parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval;
and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
3. The method of claim 1, wherein each preset frequency parameter interval further corresponds to a plurality of preset volume parameter intervals; the method further comprises the following steps:
detecting a volume value of music being played;
matching the detected volume values with all preset volume parameter intervals respectively;
generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset volume parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval;
and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
4. The method of claim 1, further comprising: the method comprises the steps of obtaining an initial display state of the atmosphere lamp in the vehicle before music playing, and sending a control signal for enabling the atmosphere lamp in the vehicle to be restored to the initial display state when the music is played.
5. An in-vehicle atmosphere lamp adjusting system based on music rhythm, comprising:
the audio signal processing module is used for acquiring an audio signal during music playing and converting the audio signal from a time domain signal to a frequency domain signal; selecting the frequency domain signals with the same number as the number of the atmosphere lamps in the vehicle from all the frequency domain signals, and enabling each selected frequency domain signal to correspondingly control one atmosphere lamp in the vehicle; for each selected frequency domain signal, matching the frequency parameter with each preset frequency parameter interval;
the control signal processing module is used for generating an atmosphere lamp control signal in the vehicle according to the color state of the atmosphere lamp in the vehicle corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display color according to the vehicle interior atmosphere lamp control signal.
6. The system of claim 5, wherein each of the predetermined frequency parameter intervals further corresponds to a plurality of predetermined amplitude parameter intervals;
the audio signal processing module is further configured to match, for each selected frequency domain signal, an amplitude parameter of the selected frequency domain signal with each preset amplitude parameter interval corresponding to the successfully matched preset frequency parameter interval;
the control signal processing module is further used for generating an in-vehicle atmosphere lamp control signal according to the light and shade state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset amplitude parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
7. The system of claim 5, wherein each preset frequency parameter interval further corresponds to a plurality of preset volume parameter intervals;
the audio signal processing module is further used for detecting the volume value of the music being played; matching the detected volume values with all preset volume parameter intervals respectively;
the control signal processing module is further used for generating an in-vehicle atmosphere lamp control signal according to the light and dark state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset volume parameter interval and the color state of the in-vehicle atmosphere lamp corresponding to the successfully matched preset frequency parameter interval; and sending the vehicle interior atmosphere lamp control signal to a corresponding vehicle interior atmosphere lamp for the vehicle interior atmosphere lamp to adjust the display brightness and the display color according to the vehicle interior atmosphere lamp control signal.
8. The system of claim 5, wherein the audio signal processing module is further configured to obtain an initial display state of the vehicle interior atmosphere lamp before music playing; the control signal processing module is also used for sending a control signal for restoring the atmosphere lamp in the vehicle to the initial display state when the music is played.
9. A storage medium having a computer program stored thereon, wherein the computer program, when loaded and executed by a processor, implements a method for music-rhythm-based mood light adjustment in a vehicle as claimed in any one of claims 1 to 4.
10. An electronic device, comprising: a processor, a memory, and a communicator; wherein the content of the first and second substances,
the communicator is used for establishing communication connection between the electronic equipment and external equipment;
the memory is used for storing a computer program;
the processor is configured to load and execute the computer program to cause the electronic device to perform the method for adjusting atmosphere lamp in a vehicle based on music rhythm according to any one of claims 1 to 4.
11. A vehicle, characterized by comprising: the electronic device of claim 10.
CN201811035858.6A 2018-09-06 2018-09-06 Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment Pending CN110896578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811035858.6A CN110896578A (en) 2018-09-06 2018-09-06 Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811035858.6A CN110896578A (en) 2018-09-06 2018-09-06 Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN110896578A true CN110896578A (en) 2020-03-20

Family

ID=69784943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811035858.6A Pending CN110896578A (en) 2018-09-06 2018-09-06 Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN110896578A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601275A (en) * 2020-04-08 2020-08-28 吉利汽车研究院(宁波)有限公司 Multi-vehicle synchronous rhythm control method, device, equipment and storage medium
CN112020171A (en) * 2020-09-02 2020-12-01 中国第一汽车股份有限公司 Light control method, device, equipment and medium
CN112959938A (en) * 2021-03-22 2021-06-15 一汽奔腾轿车有限公司 Automobile light rhythm control method for man-vehicle interaction
CN114071841A (en) * 2020-08-03 2022-02-18 比亚迪股份有限公司 Vehicle atmosphere lamp control system and method, vehicle and computer storage medium
CN114261333A (en) * 2021-11-24 2022-04-01 岚图汽车科技有限公司 Vehicle atmosphere lamp control system, method and device, electronic equipment and storage medium
CN114715028A (en) * 2022-06-08 2022-07-08 浙江吉利控股集团有限公司 Instrument display control method and control device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123546A (en) * 2010-12-21 2011-07-13 广州杰赛科技股份有限公司 Full-color acousto-optic conversion control method and system
CN103793010A (en) * 2014-02-28 2014-05-14 苏州三星电子电脑有限公司 Multi-media playing device dynamically varying outer shell color along with rhythm and control method of multi-media playing device
CN104574453A (en) * 2013-10-17 2015-04-29 付晓宇 Software for expressing music with images
CN104599671A (en) * 2013-10-30 2015-05-06 纬创资通股份有限公司 Situation type acousto-optic effect generating method and device
CN104811538A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Audio-based breathing lamp control method and device
CN105578657A (en) * 2016-01-29 2016-05-11 杭州来嗨科技有限公司 Lighting regulation system and lighting regulation method based on music change
CN205584585U (en) * 2016-03-10 2016-09-14 上汽通用汽车有限公司 Device and system of control atmosphere lamp
CN106304539A (en) * 2016-08-03 2017-01-04 杭州电子科技大学 A kind of music lantern controller design method followed based on rhythm
WO2017000810A1 (en) * 2015-06-30 2017-01-05 芋头科技(杭州)有限公司 System for controlling lighting display effect
CN106328164A (en) * 2016-08-30 2017-01-11 上海大学 Ring-shaped visualized system and method for music spectra
CN106878787A (en) * 2017-03-08 2017-06-20 深圳创维-Rgb电子有限公司 TV theater mode implementation method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123546A (en) * 2010-12-21 2011-07-13 广州杰赛科技股份有限公司 Full-color acousto-optic conversion control method and system
CN104574453A (en) * 2013-10-17 2015-04-29 付晓宇 Software for expressing music with images
CN104599671A (en) * 2013-10-30 2015-05-06 纬创资通股份有限公司 Situation type acousto-optic effect generating method and device
CN103793010A (en) * 2014-02-28 2014-05-14 苏州三星电子电脑有限公司 Multi-media playing device dynamically varying outer shell color along with rhythm and control method of multi-media playing device
CN104811538A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Audio-based breathing lamp control method and device
WO2017000810A1 (en) * 2015-06-30 2017-01-05 芋头科技(杭州)有限公司 System for controlling lighting display effect
CN105578657A (en) * 2016-01-29 2016-05-11 杭州来嗨科技有限公司 Lighting regulation system and lighting regulation method based on music change
CN205584585U (en) * 2016-03-10 2016-09-14 上汽通用汽车有限公司 Device and system of control atmosphere lamp
CN106304539A (en) * 2016-08-03 2017-01-04 杭州电子科技大学 A kind of music lantern controller design method followed based on rhythm
CN106328164A (en) * 2016-08-30 2017-01-11 上海大学 Ring-shaped visualized system and method for music spectra
CN106878787A (en) * 2017-03-08 2017-06-20 深圳创维-Rgb电子有限公司 TV theater mode implementation method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601275A (en) * 2020-04-08 2020-08-28 吉利汽车研究院(宁波)有限公司 Multi-vehicle synchronous rhythm control method, device, equipment and storage medium
CN111601275B (en) * 2020-04-08 2022-11-11 吉利汽车研究院(宁波)有限公司 Multi-vehicle synchronous rhythm control method, device, equipment and storage medium
CN114071841A (en) * 2020-08-03 2022-02-18 比亚迪股份有限公司 Vehicle atmosphere lamp control system and method, vehicle and computer storage medium
CN112020171A (en) * 2020-09-02 2020-12-01 中国第一汽车股份有限公司 Light control method, device, equipment and medium
CN112959938A (en) * 2021-03-22 2021-06-15 一汽奔腾轿车有限公司 Automobile light rhythm control method for man-vehicle interaction
CN114261333A (en) * 2021-11-24 2022-04-01 岚图汽车科技有限公司 Vehicle atmosphere lamp control system, method and device, electronic equipment and storage medium
CN114715028A (en) * 2022-06-08 2022-07-08 浙江吉利控股集团有限公司 Instrument display control method and control device

Similar Documents

Publication Publication Date Title
CN110896578A (en) Music rhythm-based in-vehicle atmosphere lamp adjusting method and system and electronic equipment
US9594473B2 (en) Sound visualization method and apparatus of electronic device
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN109712644A (en) Method based on speech recognition emotional change control LED display effect, the apparatus and system for controlling LED display effect
US20170177316A1 (en) Mobile application deployment for distributed computing environments
CN107566862B (en) Method and system for sharing music among multimedia communication terminals
CN114073854A (en) Game method and system based on multimedia file
CN107872685A (en) A kind of player method of multi-medium data, device and computer installation
CN109891405A (en) The method, system and medium of the presentation of video content on a user device are modified based on the consumption mode of user apparatus
US8768494B1 (en) System and method for generating policy-based audio
CN112687286A (en) Method and device for adjusting noise reduction model of audio equipment
CN109753201A (en) A kind of method and device of the application display icon of customized vehicle-mounted desktop
CN111274415A (en) Method, apparatus and computer storage medium for determining alternate video material
WO2014173346A1 (en) Mobile terminal screen brightness and sound adjustment method, device and mobile terminal
CN108847066A (en) A kind of content of courses reminding method, device, server and storage medium
CN108694035A (en) The report management method and device of voice messaging
CN106453562A (en) Music pushing method and terminal
TWI498880B (en) Automatic Sentiment Classification System with Scale Sound
CN110139187B (en) Intelligent sound box control method and device and terminal
CN109040904B (en) Audio playing method and device of intelligent sound box
CN112685000A (en) Audio processing method and device, computer equipment and storage medium
CN115023958A (en) Dynamic rendering device metadata information audio enhancement system
CN112786032A (en) Display content control method, device, computer device and readable storage medium
CN110764731A (en) Multimedia file playing control method, intelligent terminal and server
US11218856B2 (en) Data sharing with multiple Bluetooth devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination