CN114900929A - Atmosphere lamp display control method and related product - Google Patents

Atmosphere lamp display control method and related product Download PDF

Info

Publication number
CN114900929A
CN114900929A CN202210318868.0A CN202210318868A CN114900929A CN 114900929 A CN114900929 A CN 114900929A CN 202210318868 A CN202210318868 A CN 202210318868A CN 114900929 A CN114900929 A CN 114900929A
Authority
CN
China
Prior art keywords
atmosphere lamp
determining
display
target
display strategy
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
CN202210318868.0A
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 YUZHOU ELECTRICAL EQU
Original Assignee
SHANGHAI YUZHOU ELECTRICAL EQU
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 YUZHOU ELECTRICAL EQU filed Critical SHANGHAI YUZHOU ELECTRICAL EQU
Priority to CN202210318868.0A priority Critical patent/CN114900929A/en
Publication of CN114900929A publication Critical patent/CN114900929A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/12Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
    • 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

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application discloses an atmosphere lamp display control method and a related product, which are applied to electronic equipment, wherein the electronic equipment comprises an atmosphere lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to an atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic display strategy that generates of sound index information, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first display strategy is right first display strategy adjusts, is favorable to improving atmosphere lamp display control's convenience.

Description

Atmosphere lamp display control method and related product
Technical Field
The application relates to the technical field of electronic equipment, in particular to an atmosphere lamp display control method and a related product.
Background
With the continuous popularization of automobiles and the continuous improvement of automobile function configuration, the requirements of users on automobiles not only meet the requirements of riding instead of walking and using, but also have more requirements on comfort and safety.
In the development of the automotive interior field, the light plays an increasingly important role in improving comfort and safety. The control of the atmosphere lamp in the vehicle is usually controlled by using a button in the vehicle at present, and the operation is troublesome.
Disclosure of Invention
The embodiment of the application provides an atmosphere lamp display control method and a related product, and aims to improve the high efficiency and convenience of atmosphere lamp display control.
In a first aspect, an embodiment of the present application provides an ambience lamp display control method, which is applied to an electronic device, where the electronic device includes an ambience lamp control box; the method comprises the following steps:
when the played audio is detected, acquiring a target audio;
analyzing the target audio frequency, and determining sound index information of the target audio frequency;
determining a first display strategy according to the sound index information;
displaying the first display strategy on a screen, and adjusting the first display strategy;
after the adjusting operation is detected to be finished, determining an atmosphere lamp display strategy;
and sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
In a second aspect, an embodiment of the present application provides an ambience lamp display control device, which is applied to an electronic device, where the electronic device includes an ambience lamp control box; the atmosphere lamp display control device comprises a processing unit, a communication unit and a storage unit, wherein,
the processing unit is used for acquiring real-time target audio; the target audio is analyzed, and sound index information of the target audio is determined; the display device is used for determining a first display strategy according to the sound index information; the display device is used for displaying the first display strategy on a screen and adjusting the first display strategy; and determining an atmosphere lamp display strategy after detecting that the adjusting operation is finished; and the atmosphere lamp display strategy is used for sending the atmosphere lamp display strategy to the atmosphere lamp control box so as to control the atmosphere lamp to display the corresponding brightness and lamp color.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing steps in any method in the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, an ambience lamp display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show tactics, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show tactics, right first show tactics are adjusted, and convenience of customers is favorable to optimizing user's use and experiences according to the demonstration of the hobby control atmosphere lamp of oneself, and then is favorable to improving atmosphere lamp display control's convenience.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1A is a schematic flowchart illustrating an ambience lamp display control method according to an embodiment of the present disclosure;
FIG. 1B is a schematic view of a scene of an atmosphere lamp display control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of another atmosphere lamp display control method provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart of another atmosphere lamp display control method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of functional units of an ambience light display control device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic flowchart of an ambience lamp display control method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device includes an ambience lamp control box; the method comprises the following steps:
s101, when the electronic equipment detects the played audio, acquiring a target audio;
s102, the electronic equipment analyzes the target audio frequency and determines sound index information of the target audio frequency;
wherein the sound index information includes a target frequency, a target amplitude, and a sound emission position.
S103, the electronic equipment determines a first display strategy according to the sound index information;
wherein the first display strategy comprises light color information and brightness information displayed by an atmosphere lamp.
S104, the electronic equipment displays the first display strategy on a screen and adjusts the first display strategy;
the adjusting the first display strategy further comprises determining that the adjusting operation is finished when it is determined that the first display strategy does not need to be adjusted, wherein the first display strategy is an atmosphere lamp display strategy.
S105, after the electronic equipment detects that the adjusting operation is finished, determining an atmosphere lamp display strategy;
and S106, the electronic equipment sends the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
It can be seen that, in the embodiment of the present application, an ambience lamp display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show tactics, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show tactics, right first show tactics are adjusted, and convenience of customers is favorable to optimizing user's use and experiences according to the demonstration of the hobby control atmosphere lamp of oneself, and then is favorable to improving atmosphere lamp display control's convenience.
In one possible example, the electronic device parses the target audio to determine sound index information of the target audio, including: the electronic equipment converts the audio information into an analog signal; the electronic equipment extracts analog audio in the analog signal; the electronic equipment performs digital-to-analog conversion processing on the analog audio to determine a digital audio signal; and the electronic equipment determines the target frequency and the target amplitude of the target audio according to the digital audio signal.
Wherein the target frequency and the target amplitude are used for controlling the display effect of the atmosphere lamp.
In a specific implementation, as shown in fig. 1B, the electronic device converts the audio information into an analog signal P, and the electronic device extracts an analog audio P1 in the analog signal; the electronic equipment performs digital-to-analog conversion processing on the analog audio P1 to determine a digital audio signal 0; the electronic device determines a target frequency f1 and a target amplitude A1 of the target audio from the digital audio signal 0.
As can be seen, in this example, the electronic device converts the audio information into an analog signal, then the electronic device extracts an analog audio in the analog signal, then the electronic device performs digital-to-analog conversion on the analog audio to determine a digital audio signal, and finally the electronic device determines a target frequency and a target amplitude of the target audio according to the digital audio signal; the display effect of the atmosphere lamp is further determined through the target frequency and the target amplitude, and the accuracy of atmosphere lamp display control is improved.
In one possible example, the electronic device determines a first display policy according to the sound index information, including: the electronic equipment queries a preset sound database; the electronic equipment matches the sound index information with each preset index information in the sound database; the electronic equipment determines that the matching result of the sound index information and any preset index information in the sound database is successful; and the electronic equipment determines a first display strategy according to the matching result.
The sound database comprises a plurality of alarm prompting sounds of the vehicle body control module, such as a safety belt warning sound when a safety belt is not fastened, a vehicle door warning sound when a vehicle door is not closed, and the like.
The sound database comprises a plurality of preset index information, and each preset index information corresponds to a preset display strategy.
The first display strategy comprises light color information and brightness information displayed by an atmosphere lamp, the light color information comprises 253 colors which can be formed by mixing RGB (red, green and blue) three colors, and the brightness information comprises 1 level, 2 levels, 3 levels, 4 levels and 5 levels from low to high.
Specifically, when the matching result of the sound index information and the safety belt warning sound information in the sound database is successful, the sound index information and the safety belt warning sound information are matched; determining the sounding position of the target audio through the atmosphere lamp control box; and determining a first display strategy according to the sound production position and the matching result.
Specifically, the first display strategy may be that the mood light display lamp color is "from red to blue, then from blue to purple, then from purple to red within 5 seconds" and display brightness is "level 1 to level 2 to level 1".
In specific implementation, the electronic equipment inquires a preset sound database, then matches the sound index information with each preset index information in the sound database, and determines that the sound index information is successfully matched with safety belt warning sound information in the sound database, the electronic equipment determines that the sounding position of the target audio is near the copilot through the atmosphere lamp control box, and the electronic equipment determines that a first display strategy is a copilot safety belt buckle position flashing red light according to the matching result and the sounding position.
As can be seen, in this example, the electronic device queries a preset sound database; the electronic equipment matches the sound index information with each preset index information in the sound database; the electronic equipment determines that the matching result of the sound index information and any preset index information in the sound database is successful; and the electronic equipment determines a first display strategy according to the matching result.
In one possible example, the electronic device determines a first display policy according to the sound index information, including: the electronic equipment inquires a preset sound database and determines that the matching of the sound index information and preset index information in the sound database fails; the electronic equipment determines the lamp color information of the atmosphere lamp according to the target frequency; the electronic equipment determines the brightness information of the atmosphere lamp according to the target amplitude; and the electronic equipment generates a first display strategy according to the light color information and the brightness information.
Wherein the higher the target frequency is, the closer the lamp color of the atmosphere lamp is to the red color system; the lower the target frequency, the closer the lamp color of the ambience lamp is to the blue system.
Wherein, the lamp color can be composed of 253 colors by RGB three-color mixing.
Wherein the larger the target amplitude is, the higher the level of the ambience lamp luminance information is.
In specific implementation, the electronic device queries a preset sound database, determines that matching between the sound index information and preset index information in the sound database fails, judges that a current target audio is car-mounted music, determines that light color information of the atmosphere lamp is orange according to a higher target frequency in order to cater to rhythm of the music and preference of a user, determines that brightness information of the atmosphere lamp is secondary brightness according to the target amplitude in a second amplitude interval, and generates a display strategy according to the light color information and the brightness information.
As can be seen, in this example, an electronic device queries a preset sound database, determines that matching between the sound index information and preset index information in the sound database fails, determines, by the electronic device, light color information of the ambience lamp according to the target frequency, determines, by the electronic device, luminance information of the ambience lamp according to the target amplitude, and generates, by the electronic device, a first display policy according to the light color information and the luminance information; the convenience of the display control of the atmosphere lamp is improved.
In one possible example, the electronic device determines the lamp color information of the ambience lamp according to the target frequency, including: the electronic equipment detects that the target frequency is higher than a first frequency, and determines that the atmosphere lamp is a red main atmosphere; the electronic equipment detects that the target frequency is lower than a second frequency, and determines that the atmosphere lamp is a blue main atmosphere; and when the electronic equipment detects that the target frequency is between the first frequency and the second frequency, determining that the atmosphere lamp is gradually converted from the red main atmosphere to the blue main atmosphere along with the reduction of the target frequency.
Wherein, the lamp color can be composed of 253 colors by RGB three-color mixing.
As can be seen, in this example, the electronic device detects that the target frequency is higher than the first frequency, and determines that the atmosphere lamp is a red main atmosphere; the electronic equipment detects that the target frequency is lower than a second frequency, and determines that the atmosphere lamp is a blue main atmosphere; when the electronic equipment detects that the target frequency is between a first frequency and a second frequency, determining that the atmosphere lamp is gradually converted from the red main atmosphere to the blue main atmosphere along with the reduction of the target frequency; the high efficiency of the light color control during the display control of the atmosphere lamp is improved.
In one possible example, the electronic device determines brightness information of the ambience lamp according to the target amplitude, including: the electronic equipment detects that the target amplitude is located in a first amplitude interval, and determines that the atmosphere lamp is in first-level brightness; the electronic equipment detects that the target amplitude is located in a second amplitude interval, and determines that the atmosphere lamp is in secondary brightness; the electronic device detects that the target amplitude is in a third amplitude interval, and determines that the atmosphere lamp is in three-level brightness; the electronic device detects that the target amplitude is located in a fourth amplitude interval, and determines that the atmosphere lamp is in four-level brightness; and the electronic device detects that the target amplitude is positioned in a fifth amplitude interval, and determines that the atmosphere lamp is five-level brightness.
In the brightness levels, the first-level brightness is smaller than the second-level brightness, the third-level brightness is smaller than the fourth-level brightness, and the fifth-level brightness is the highest brightness.
In this example, it can be seen that, when the electronic device detects that the target amplitude is in a first amplitude interval, it determines that the ambience lamp is at first-level brightness, when the electronic device detects that the target amplitude is in a second amplitude interval, it determines that the ambience lamp is at second-level brightness, when the electronic device detects that the target amplitude is in a third amplitude interval, it determines that the ambience lamp is at third-level brightness, when the electronic device detects that the target amplitude is in a fourth amplitude interval, it determines that the ambience lamp is at fourth-level brightness, when the electronic device detects that the target amplitude is in a fifth amplitude interval, it determines that the ambience lamp is at fifth-level brightness; the high efficiency of brightness control during atmosphere lamp display control is improved.
In one possible example, the electronic device displays the first display policy on a screen, and adjusting the first display policy includes: the electronic equipment adjusts the display brightness of the atmosphere lamp in the first display strategy according to the real-time brightness in the vehicle, and determines a second display strategy; the electronic device displays the second display strategy on the screen.
The real-time brightness inside the vehicle comprises the brightness of natural light in the daytime and/or the brightness of a lamp tube in the vehicle at night.
In concrete implementation, at the moment, the vehicle is in a driving state at night, the brightness level of the atmosphere lamp in the first display strategy is five-level brightness, the electronic device adjusts the display brightness of the atmosphere lamp in the first display strategy to be two-level brightness according to the fact that the real-time brightness in the vehicle is low, a second display strategy is determined, and then the electronic device displays the second display strategy on the screen.
In this example, the electronic device adjusts the display brightness of the atmosphere lamp in the first display strategy according to the real-time brightness inside the vehicle, determines the second display strategy, and then displays the second display strategy on the screen; the atmosphere lamp display control in different scenes is favorably met, the atmosphere lamp display strategy is preset through the screen, a user can conveniently carry out the atmosphere lamp display control, and the convenience of the atmosphere lamp display control is favorably improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of another ambience lamp display control method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device includes an ambience lamp control box; as shown in the figure, the atmosphere lamp display control method comprises the following steps:
s201, when the electronic equipment detects the played audio, acquiring a target audio;
s202, the electronic equipment converts the audio information into an analog signal;
s203, the electronic equipment extracts analog audio in the analog signal;
s204, the electronic equipment performs digital-to-analog conversion processing on the analog audio to determine a digital audio signal;
s205, the electronic equipment determines the target frequency and the target amplitude of the target audio according to the digital audio signal.
S206, the electronic equipment determines a first display strategy according to the target frequency and the target amplitude;
s207, the electronic equipment displays the first display strategy on a screen and adjusts the first display strategy;
s208, after the electronic equipment detects that the adjusting operation is finished, determining an atmosphere lamp display strategy;
s209, the electronic equipment sends the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
It can be seen that, in the embodiment of the present application, an ambience lamp display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show tactics, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show tactics, right first show tactics are adjusted, and convenience of customers is favorable to optimizing user's use and experiences according to the demonstration of the hobby control atmosphere lamp of oneself, and then is favorable to improving atmosphere lamp display control's convenience.
In addition, the electronic equipment converts the audio information into an analog signal, then the electronic equipment extracts the analog audio in the analog signal, then the electronic equipment performs digital-to-analog conversion processing on the analog audio to determine a digital audio signal, and finally the electronic equipment determines the target frequency and the target amplitude of the target audio according to the digital audio signal; the display effect of the atmosphere lamp is further determined through the target frequency and the target amplitude, and the accuracy of atmosphere lamp display control is improved.
Referring to fig. 3, in accordance with the embodiment shown in fig. 1A, fig. 3 is a schematic flowchart of another ambience lamp display control method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device includes an ambience lamp control box; as shown in the figure, the atmosphere lamp display control method comprises the following steps:
s301, when the electronic equipment detects the played audio, acquiring a target audio;
s302, the electronic equipment analyzes the target audio frequency and determines the target frequency and the target amplitude of the target audio frequency;
s303, the electronic equipment inquires a preset sound database and determines that the matching of the sound index information and preset index information in the sound database fails;
s304, the electronic equipment determines the lamp color information of the atmosphere lamp according to the target frequency;
s305, the electronic equipment determines the brightness information of the atmosphere lamp according to the target amplitude;
s306, the electronic equipment generates a first display strategy according to the light color information and the brightness information.
S307, the electronic equipment displays the first display strategy on a screen and adjusts the first display strategy;
s308, after the electronic equipment detects that the adjusting operation is finished, determining an atmosphere lamp display strategy;
s309, the electronic equipment sends the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
It can be seen that, in the embodiment of the present application, an ambience lamp display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show tactics, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show tactics, right first show tactics are adjusted, and convenience of customers is favorable to optimizing user's use and experiences according to the demonstration of the hobby control atmosphere lamp of oneself, and then is favorable to improving atmosphere lamp display control's convenience.
In addition, the electronic equipment queries a preset sound database, determines that the sound index information is unsuccessfully matched with preset index information in the sound database, determines the light color information of the atmosphere lamp according to the target frequency, determines the brightness information of the atmosphere lamp according to the target amplitude, and generates a first display strategy according to the light color information and the brightness information; the convenience of the display control of the atmosphere lamp is improved.
Consistent with the embodiments shown in fig. 1A, fig. 2, and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, as shown in the figure, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing the following steps;
when the played audio is detected, acquiring a target audio;
analyzing the target audio frequency, and determining sound index information of the target audio frequency;
determining a first display strategy according to the sound index information;
displaying the first display strategy on a screen, and adjusting the first display strategy;
after the adjusting operation is detected to be finished, determining an atmosphere lamp display strategy;
and sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
It can be seen that, in the embodiment of the present application, an ambience light display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience light control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show tactics, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show tactics, right first show tactics are adjusted, and convenience of customers is favorable to optimizing user's use and experiences according to the demonstration of the hobby control atmosphere lamp of oneself, and then is favorable to improving atmosphere lamp display control's convenience.
In one possible example, the parsing the target audio and determining the sound index information of the target audio, the instructions in the program are specifically configured to perform the following operations: converting the audio information into an analog signal; extracting analog audio in the analog signal; performing digital-to-analog conversion processing on the analog audio to determine a digital audio signal; determining a target frequency and a target amplitude of the target audio from the digital audio signal.
In one possible example, the determining a first display policy is performed according to the sound index information, and the instructions in the program are specifically configured to: inquiring a preset sound database, wherein the sound database comprises a plurality of preset index information, and each preset index information corresponds to a preset display strategy; matching the sound index information with each preset index information in the sound database; determining that the matching result of the sound index information and any preset index information in the sound database is successful; and determining a first display strategy according to the matching result.
In one possible example, the determining a first display policy according to the sound index information includes: inquiring a preset sound database, and determining that the matching of the sound index information and preset index information in the sound database fails; determining lamp color information of the atmosphere lamp according to the target frequency; determining brightness information of the atmosphere lamp according to the target amplitude; and generating a first display strategy according to the light color information and the brightness information.
In one possible example, the lamp color information of the ambience lamp is determined according to the target frequency, and the instructions in the program are specifically configured to perform the following operations: detecting that the target frequency is higher than a first frequency, and determining that the atmosphere lamp is a red main atmosphere; detecting that the target frequency is lower than a second frequency, and determining that the atmosphere lamp is a blue main atmosphere; and when the target frequency is detected to be between the first frequency and the second frequency, determining that the atmosphere lamp is gradually converted from the red main atmosphere to the blue main atmosphere along with the reduction of the target frequency.
In one possible example, the determining brightness information of the atmosphere lamp according to the target amplitude, the instructions in the program are specifically configured to: detecting that the target amplitude is in a first amplitude interval, and determining that the atmosphere lamp is in first-level brightness; detecting that the target amplitude is located in a second amplitude interval, and determining that the atmosphere lamp is in secondary brightness; detecting that the target amplitude is located in a third amplitude interval, and determining that the atmosphere lamp is in three-level brightness; detecting that the target amplitude is located in a fourth amplitude interval, and determining that the atmosphere lamp is four-level brightness; and detecting that the target amplitude is in a fifth amplitude interval, and determining that the atmosphere lamp is five-level brightness, wherein the first-level brightness is less than the second-level brightness, the third-level brightness is less than the fourth-level brightness, and the fifth-level brightness is less than the fourth-level brightness.
In a possible example, the displaying the first display policy on the screen, and adjusting the first display policy, where the instructions in the program are specifically configured to perform the following operations: adjusting the display brightness of the atmosphere lamp in the first display strategy according to the real-time brightness in the vehicle, and determining a second display strategy; displaying the second display strategy on the screen.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram showing functional units of an atmosphere lamp display control apparatus 500 according to an embodiment of the present application. The atmosphere lamp display control device 500 is applied to an electronic device including an atmosphere lamp control box; the ambience light display control device 500 includes a processing unit 501, a communication unit 502, and a storage unit 503, wherein,
the processing unit 501 is configured to obtain a real-time target audio; the target audio is analyzed, and sound index information of the target audio is determined; and for determining a first display strategy from the sound indicator information; the display device is used for displaying the first display strategy on a screen and adjusting the first display strategy; and determining an atmosphere lamp display strategy after detecting that the adjusting operation is finished; and the control module is used for sending the atmosphere lamp display strategy to the atmosphere lamp control box so as to control the atmosphere lamp to display corresponding brightness and lamp color.
It can be seen that, in the embodiment of the present application, an ambience lamp display control method and related products are provided, which are applied to electronic equipment, where the electronic equipment includes an ambience lamp control box; the method comprises the following steps: when the electronic equipment detects that audio is played, acquiring target audio, analyzing the target audio, determining sound index information of the target audio, then determining a first display strategy according to the sound index information, displaying the first display strategy on a screen, adjusting the first display strategy, determining an atmosphere lamp display strategy after the electronic equipment detects that the adjustment operation is finished, and finally sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color; it is visible, through the first automatic generation of sound index information first show the strategy, be favorable to according to factors automatically regulated atmosphere lamp such as music rhythm, need not user's own control, be favorable to reducing time and energy that manual control atmosphere lamp shows, be favorable to improving atmosphere lamp display control's high efficiency, rethread screen display first show strategy is right first show strategy is adjusted, and convenience of customers is according to the demonstration of own hobby control atmosphere lamp, is favorable to optimizing user's use and experiences, and then is favorable to improving the convenience that atmosphere lamp display control.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
In a possible example, the processing unit 501 is specifically configured to analyze the target audio to determine sound index information of the target audio, and to: converting the audio information into an analog signal; extracting analog audio in the analog signal; performing digital-to-analog conversion processing on the analog audio to determine a digital audio signal; determining a target frequency and a target amplitude of the target audio from the digital audio signal.
In a possible example, the processing unit 501 is specifically configured to determine a first display policy according to the sound index information, and to: inquiring a preset sound database, wherein the sound database comprises a plurality of preset index information, and each preset index information corresponds to a preset display strategy; matching the sound index information with each preset index information in the sound database; determining that the matching result of the sound index information and any preset index information in the sound database is successful; and determining a first display strategy according to the matching result.
In a possible example, the processing unit 501 is specifically configured to determine a first display policy according to the sound index information, and to: inquiring a preset sound database, and determining that the matching of the sound index information and preset index information in the sound database fails; determining lamp color information of the atmosphere lamp according to the target frequency; according to the target amplitude, determining brightness information of the atmosphere lamp; and generating a first display strategy according to the light color information and the brightness information.
In a possible example, the processing unit 501 is specifically configured to determine the lamp color information of the ambience lamp according to the target frequency, and to: detecting that the target frequency is higher than a first frequency, and determining that the atmosphere lamp is a red main atmosphere; detecting that the target frequency is lower than a second frequency, and determining that the atmosphere lamp is a blue main atmosphere; and when the target frequency is detected to be between the first frequency and the second frequency, determining that the atmosphere lamp is gradually converted from the red main atmosphere to the blue main atmosphere along with the reduction of the target frequency.
In a possible example, the processing unit 501 is specifically configured to determine the brightness information of the ambience lamp according to the target amplitude, and to: detecting that the target amplitude is in a first amplitude interval, and determining that the atmosphere lamp is in first-level brightness; detecting that the target amplitude is in a second amplitude interval, and determining that the atmosphere lamp is in secondary brightness; detecting that the target amplitude is located in a third amplitude interval, and determining that the atmosphere lamp is in three-level brightness; detecting that the target amplitude is located in a fourth amplitude interval, and determining that the atmosphere lamp is four-level brightness; and detecting that the target amplitude is in a fifth amplitude interval, and determining that the atmosphere lamp is five-level brightness, wherein the first-level brightness is less than the second-level brightness, the third-level brightness is less than the fourth-level brightness, and the fifth-level brightness is less than the fourth-level brightness.
In a possible example, the displaying the first display policy on the screen, and adjusting the first display policy, where the processing unit 501 is specifically configured to: adjusting the display brightness of the atmosphere lamp in the first display strategy according to the real-time brightness in the vehicle, and determining a second display strategy; displaying the second display strategy on the screen.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application with specific examples, and the above description of the embodiments is only provided to help understand the methods and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The atmosphere lamp display control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises an atmosphere lamp control box; the method comprises the following steps:
when the played audio is detected, acquiring a target audio;
analyzing the target audio frequency, and determining sound index information of the target audio frequency;
determining a first display strategy according to the sound index information;
displaying the first display strategy on a screen, and adjusting the first display strategy;
after the adjusting operation is detected to be finished, determining an atmosphere lamp display strategy;
and sending the atmosphere lamp display strategy to the atmosphere lamp control box to control the atmosphere lamp to display corresponding brightness and lamp color.
2. The method of claim 1, wherein the parsing the target audio to determine sound index information of the target audio comprises:
converting the audio information into an analog signal;
extracting analog audio in the analog signal;
performing digital-to-analog conversion processing on the analog audio to determine a digital audio signal;
determining a target frequency and a target amplitude of the target audio from the digital audio signal.
3. The method of claim 2, wherein determining a first display strategy based on the sound indicator information comprises:
inquiring a preset sound database, wherein the sound database comprises a plurality of preset index information, and each preset index information corresponds to a preset display strategy;
matching the sound index information with each preset index information in the sound database;
determining that the matching result of the sound index information and any preset index information in the sound database is successful;
and determining a first display strategy according to the matching result.
4. The method of claim 2, wherein determining a first display strategy based on the sound indicator information comprises:
inquiring a preset sound database, and determining that the matching of the sound index information and preset index information in the sound database fails;
determining lamp color information of the atmosphere lamp according to the target frequency;
determining brightness information of the atmosphere lamp according to the target amplitude;
and generating a first display strategy according to the light color information and the brightness information.
5. The method of claim 4, wherein determining the lamp color information of the ambience lamp based on the target frequency comprises:
detecting that the target frequency is higher than a first frequency, and determining that the atmosphere lamp is a red main atmosphere;
detecting that the target frequency is lower than a second frequency, and determining that the atmosphere lamp is a blue main atmosphere;
and when the target frequency is detected to be between the first frequency and the second frequency, determining that the atmosphere lamp is gradually converted from the red main atmosphere to the blue main atmosphere along with the reduction of the target frequency.
6. The method of claim 4, wherein determining the brightness information of the ambience lamp based on the target amplitude comprises:
detecting that the target amplitude is in a first amplitude interval, and determining that the atmosphere lamp is in first-level brightness;
detecting that the target amplitude is located in a second amplitude interval, and determining that the atmosphere lamp is in secondary brightness;
detecting that the target amplitude is in a third amplitude interval, and determining that the atmosphere lamp is three-level brightness;
detecting that the target amplitude is located in a fourth amplitude interval, and determining that the atmosphere lamp is four-level brightness;
and detecting that the target amplitude is in a fifth amplitude interval, and determining that the atmosphere lamp has five levels of brightness, wherein the first level brightness is less than the second level brightness and less than the third level brightness and less than the fourth level brightness and less than the fifth level brightness.
7. The method of claim 1, wherein displaying the first display policy on the screen, and wherein adjusting the first display policy comprises:
adjusting the display brightness of the atmosphere lamp in the first display strategy according to the real-time brightness in the vehicle, and determining a second display strategy;
displaying the second display strategy on the screen.
8. An atmosphere lamp display control device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises an atmosphere lamp control box; the atmosphere lamp display control device comprises a processing unit, a communication unit and a storage unit, wherein,
the processing unit is used for acquiring real-time target audio; the target audio is analyzed, and sound index information of the target audio is determined; and for determining a first display strategy from the sound indicator information; the display device is used for displaying the first display strategy on a screen and adjusting the first display strategy; and determining an atmosphere lamp display strategy after detecting that the adjusting operation is finished; and the atmosphere lamp display strategy is used for sending the atmosphere lamp display strategy to the atmosphere lamp control box so as to control the atmosphere lamp to display the corresponding brightness and lamp color.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN202210318868.0A 2022-03-29 2022-03-29 Atmosphere lamp display control method and related product Pending CN114900929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210318868.0A CN114900929A (en) 2022-03-29 2022-03-29 Atmosphere lamp display control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210318868.0A CN114900929A (en) 2022-03-29 2022-03-29 Atmosphere lamp display control method and related product

Publications (1)

Publication Number Publication Date
CN114900929A true CN114900929A (en) 2022-08-12

Family

ID=82714923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210318868.0A Pending CN114900929A (en) 2022-03-29 2022-03-29 Atmosphere lamp display control method and related product

Country Status (1)

Country Link
CN (1) CN114900929A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489853A (en) * 2023-06-26 2023-07-25 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489853A (en) * 2023-06-26 2023-07-25 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile
CN116489853B (en) * 2023-06-26 2023-08-29 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile

Similar Documents

Publication Publication Date Title
CN110027469B (en) Vehicle-mounted music based lamp control method and system and vehicle
CN109087669B (en) Audio similarity detection method and device, storage medium and computer equipment
US9254787B2 (en) Method and system for utilizing spread spectrum techniques for in car applications
CN106448630A (en) Method and device for generating digital music file of song
CN105933822B (en) Vehicle audio control system and method
CN110245254A (en) Control method, device, readable storage medium storing program for executing and the electronic equipment of automobile atmosphere lamp
CN107360387A (en) The method, apparatus and terminal device of a kind of video record
CN110475170A (en) Control method, device, mobile terminal and the storage medium of earphone broadcast state
CN106211502A (en) A kind of method and system of audio frequency control light
CN114900929A (en) Atmosphere lamp display control method and related product
CN103888604A (en) Method for switching application modes of terminal, and terminal
CN110286745A (en) Dialog process system, the vehicle with dialog process system and dialog process method
WO2014187095A1 (en) Method and device for detecting noise bursts in speech signals
CN112172978A (en) Method, device and equipment for controlling balance car light and storage medium
CN110488225A (en) Indicating means, device, readable storage medium storing program for executing and the mobile terminal of sound bearing
CN104157108B (en) Alarm method and equipment
CN101098528A (en) Mobile communication terminal and text-to-speech method
CN102680938B (en) Human audible localization for sound emitting devices
CN116168125A (en) Virtual image and scene control method and system, intelligent cabin and vehicle
CN106572417A (en) Sound effect control method and sound effect control device
CN105224670A (en) A kind of audio information-pushing method, server and mobile terminal
CN114828359A (en) Music-based atmosphere lamp display method, device, equipment and storage medium
CN109017559A (en) The method and apparatus for generating prompt information
CN109582271B (en) Method, device and equipment for dynamically setting TTS (text to speech) playing parameters
CN106469509A (en) A kind of traffic householder methods and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication