CN113993254A - Pickup atmosphere lamp and control method and device thereof - Google Patents

Pickup atmosphere lamp and control method and device thereof Download PDF

Info

Publication number
CN113993254A
CN113993254A CN202111225162.1A CN202111225162A CN113993254A CN 113993254 A CN113993254 A CN 113993254A CN 202111225162 A CN202111225162 A CN 202111225162A CN 113993254 A CN113993254 A CN 113993254A
Authority
CN
China
Prior art keywords
sound
value
atmosphere lamp
sound value
pickup
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.)
Granted
Application number
CN202111225162.1A
Other languages
Chinese (zh)
Other versions
CN113993254B (en
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.)
Shenzhen Huayi Intelligent Co ltd
Original Assignee
Shenzhen Huayi Intelligent 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 Shenzhen Huayi Intelligent Co ltd filed Critical Shenzhen Huayi Intelligent Co ltd
Priority to CN202111225162.1A priority Critical patent/CN113993254B/en
Publication of CN113993254A publication Critical patent/CN113993254A/en
Application granted granted Critical
Publication of CN113993254B publication Critical patent/CN113993254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

  • Auxiliary Devices For Music (AREA)

Abstract

The application belongs to the field of intelligent equipment, and provides a pickup atmosphere lamp and a control method and a control device thereof, wherein the method comprises the following steps: collecting a first sound value in a scene where a pickup atmosphere lamp is located at the current time; judging whether the sound value acquired at the Nth time before the first sound value is acquired is the sound value of the sudden increase sound; if the sound value is a sudden increase sound, the first sound value is smaller than the stored maximum sound value, and the difference between the maximum sound value and the first sound value is larger than a first preset value, reducing the stored maximum sound value; and determining first gain sound corresponding to the first sound value according to the adjusted maximum sound value, and controlling the pickup atmosphere lamp to display according to the first gain sound. Therefore, the pickup atmosphere lamp can increase the gain for calculating gain sound, the sound after the sudden sound is effectively identified and displayed quickly, and the use experience of a user is improved.

Description

Pickup atmosphere lamp and control method and device thereof
Technical Field
The application belongs to the field of intelligent equipment, and particularly relates to a pickup atmosphere lamp and a control method and device thereof.
Background
A pickup atmosphere lamp is a device which can collect sound data in the environment and display corresponding gain sound or rhythm through the brightness of an LED lamp according to the sound data in the environment. When the user passes through the sound equipment output music, during the sound of recreation, movie, show rhythm or the intensity that current sound corresponds through pickup atmosphere lamp in real time to make the user can obtain better immersive impression, improve the user and use experience.
Rhythm or intensity information corresponding to the sound effect in the environment can be effectively displayed through the atmosphere lamp. Under some circumstances, when the sound of high strength can appear suddenly in the environment, can make the sound pickup atmosphere lamp can not be timely discernment the sound information in the environment show, be unfavorable for promoting user's use and experience.
Disclosure of Invention
In view of this, embodiments of the present application provide a sound-collecting atmosphere lamp and a control method and device thereof, so as to solve the problem that in the prior art, when a high-intensity sound may suddenly appear in an environment, the sound-collecting atmosphere lamp may not be able to timely identify and display sound information in the environment, which is not beneficial to improving user experience.
A first aspect of an embodiment of the present application provides a control method for a sound-pickup ambience lamp, where the control method includes:
collecting a first sound value in a scene where a pickup atmosphere lamp is located at the current time;
judging whether the sound value acquired at the Nth time before the first sound value is acquired is the sound value of sudden increase sound, wherein the sudden increase sound is determined according to the average value of a plurality of sound values in the scene, and N is a natural number in a preset numerical range;
if the sound value is a sudden increase sound, the first sound value is smaller than the stored maximum sound value, and the difference between the maximum sound value and the first sound value is larger than a first preset value, reducing the stored maximum sound value;
and determining first gain sound corresponding to the first sound value according to the adjusted maximum sound value, and controlling the pickup atmosphere lamp to display according to the first gain sound.
With reference to the first aspect, in a first possible implementation manner of the first aspect, determining whether a sound value acquired N times before the first sound value is acquired is a sound value of a sudden increase sound includes:
determining a mean value of a plurality of sound values within a predetermined time period determined by an Nth collection before a first sound value is collected, and an Nth collected sound value intensity before the first sound value is collected;
and if the intensity of the sound value acquired at the Nth time before the first sound value is acquired is greater than the average value of the sound values within the preset time period, and the difference value between the sound value acquired at the Nth time before the first sound value is acquired is greater than a second preset value, acquiring the sound value acquired at the Nth time before the first sound value as the sound value of the sudden increase sound.
With reference to the first aspect, in a second possible implementation manner of the first aspect, acquiring a first sound value in a scene where the sound pickup ambience lamp is located at a current time includes:
according to a preset time interval, continuously acquiring a preset number of AD sampling values at the current time in a scene where the pickup atmosphere lamp is located;
calculating an average value of the predetermined number of AD sample values as the first sound value.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the reducing the stored maximum sound value according to a preset reduction ratio includes:
reducing the stored maximum sound value according to a preset fixed proportion;
or calculating to obtain the updated maximum sound value according to the first sound value and the maximum sound value before updating.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, a touch screen is disposed on the sound-pickup atmosphere lamp, and the method further includes:
when the pickup atmosphere lamp receives the sliding gesture when being in the music mode, and the sliding length of the sliding gesture reaches the length of the preset proportion of the length of the pickup atmosphere lamp, the pickup atmosphere lamp is controlled to enter the setting state of the music mode.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the setting state of the sound-pickup atmosphere lamp includes one or more of display of the sound-pickup atmosphere lamp from bottom to top, display from top to bottom, display from the middle to both ends, and display from both sides to the middle.
With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
receiving a control instruction, and controlling the pickup atmosphere lamp to enter a guessing interaction mode;
when a selection instruction of the atmosphere lamp of a user is received, determining a first atmosphere lamp according to a random number;
and determining an interaction result according to the selected second atmosphere lamp and the first atmosphere lamp determined by the random number.
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the determining the display of the ambience lamp according to a random number includes:
generating a random number according to the current sound value and/or the current starting time of the pickup atmosphere lamp as a random number seed;
and performing complementation on the generated random number according to the number of the sound collecting atmosphere lamps, and determining the displayed atmosphere lamps according to a complementation result.
With reference to the sixth possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the determining an interaction result according to the selected second ambience lamp and the first ambience lamp determined by the random number includes:
when the selected second atmosphere lamp is different from the first atmosphere lamp determined by the random number, the first atmosphere lamp is not displayed;
and if the selected second atmosphere lamp is the same as the first atmosphere lamp determined by the random number, displaying the second atmosphere lamp.
A second aspect of embodiments of the present application provides a control apparatus of a sound pickup atmosphere lamp, the control apparatus including:
the sound value acquisition unit is used for acquiring a first sound value in a scene where the pickup atmosphere lamp is located at the current time;
a sudden increase sound judgment unit, configured to judge whether a sound value acquired N times before the first sound value is acquired is a sound value of a sudden increase sound, where the sudden increase sound is determined according to a mean value of a plurality of sound values in the scene, and N is a natural number within a predetermined numerical range;
a correspondence adjusting unit configured to decrease the stored maximum sound value if the sound value is a sound value of a sudden sound, the first sound value is smaller than the stored maximum sound value, and a difference between the maximum sound value and the first sound value is larger than a first predetermined value;
and the display control unit is used for determining first gain sound corresponding to the first sound value according to the adjusted maximum sound value and controlling the pickup atmosphere lamp to display according to the first gain sound.
A third aspect of embodiments of the present application provides a sound-collecting atmosphere lamp, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to any one of the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the utility model provides a pickup atmosphere lamp is in showing control process, whether the sound value that gathers for the Nth time before the current time is the sound value of sudden increase sound and detect, if the sound value of sudden increase sound, and the biggest sound value that stores (also before the renewal promptly) is greater than first sound value, the difference between biggest sound value and the first sound value is greater than first predetermined value, then reduce the biggest sound value that pickup atmosphere lamp stored, thereby make pickup atmosphere lamp can increase the gain that is used for calculating gain sound, quick effective discernment and the demonstration of going on to the sound behind the sudden increase sound, promote user's use and experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for controlling a sound-collecting atmosphere lamp according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an embodiment of the present disclosure for determining an operating state of an ambience lamp;
FIG. 3 is a schematic diagram of detecting sudden increase sounds according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a control apparatus for a sound-collecting atmosphere lamp according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a sound-collecting atmosphere lamp according to an embodiment of the present disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
When the sound collection atmosphere lamp picks up and displays sound, in order to effectively display the number of the lamps which are lighted corresponding to all the sound intensity, the gain corresponding to the sound collection atmosphere lamp when the sound collection atmosphere lamp is fully lighted is usually determined according to the maximum value of the collected sound values within a certain time range. For example, the sound pickup atmosphere lamp includes 32 lamps in total, the gain is 4, if the sound value is 1000 due to the existence of sudden increase sound in the current period, the magnitude range of the gain sound calculated by detecting the collected sound value is [200, 4000], but the gain sound with more sound values (sound values without sudden increase sound) is distributed in the range of [ 200-. If the currently captured gain sound is 200, only 1 or 2 ambience lamps can be lit, with less data for the lit ambience lamps compared to 32 ambience lamps. And for most gain sounds distributed in the range of [200, 800], the number of the lighted atmosphere lamps is small, and other atmosphere lamps (8 th to 32 th atmosphere lamps) are not fully utilized to identify and display the sounds in the scene, so that the use experience of the sound collecting atmosphere lamps is not improved.
In order to solve the above problem, an embodiment of the present application proposes a control method of a sound pickup ambience lamp, as shown in fig. 1, the control method of the sound pickup ambience lamp includes:
in S101, a first sound value in a scene where the sound pickup ambience lamp is located is acquired at a current time.
In this embodiment of the application, the first sound value collected by the sound-collecting ambience lamp may be obtained by performing AD sampling on a sound sensor, such as a microphone, at predetermined time intervals, and calculating an average value of a predetermined number of collected AD sampling values. I.e. the first sound value may be an average value calculated over a number of consecutive AD sample values. Without being limited thereto, the first sound value may also be determined by a single sample value.
According to the collected first sound value, the gain sound of the current time can be determined by combining the gain of the current time, for example, the gain sound may be the product of the sampled sound value and the gain. In a possible implementation, the preset time interval may be 100 milliseconds, and the number of times of AD sampling performed to calculate one gain sound may be 3-8 times, for example, may be 5 times. And calculating to obtain a first sound value acquired in the current time period based on the average value of the AD sampling values calculated by multiple times of sampling in the current time period. The first sound value is determined by averaging a plurality of sound values, so that the stability and reliability of the first sound value can be improved.
For sound values acquired at other times, it can also be determined by calculating an average value of a plurality of AD sample values. For example, the second sound value corresponding to the sudden sound may be determined by calculating an average value from a plurality of continuously collected AD sample values at predetermined time intervals.
The gain may be determined based on sound values for a period of time prior to (including) the current time. For example, if the maximum value of the sound value in 100 seconds before the current time is 1000 and the gain sound corresponding to the fully-on state of all the sound-collecting atmosphere lamps is 4000, it may be determined that the currently used gain is 4. For the general state, the gain determination mode can effectively identify the sound in the scene by the sound pickup atmosphere lamp and effectively display the sound size by the atmosphere lamp. However, if there is a sudden increase sound, the gain is rapidly reduced due to a large sound value, and the sound signal in a period of time after the gain is reduced cannot be effectively recognized and displayed, and it is necessary to adopt recognition of the sudden increase sound in S102 and adjustment processing in S103.
When abnormal sounds are not included in the collected scene, such as transient sounds, the pickup atmosphere lamp determines a first sound value according to the currently collected sound value and by combining a plurality of sound values collected within a preset time range before the current time. And calculating to obtain a first gain sound in the current scene according to the determined first sound value, and obtaining the number of lamps corresponding to the first sound value or the first gain sound for displaying the current first sound value in combination with the corresponding gain sound when the atmosphere lamp is fully on. For example, the range of the collected sound values is [100,300] during a predetermined period before (including) the current time. As shown in fig. 2, the currently used gain of the sound-collecting atmosphere lamps is 4, the number of the sound-collecting atmosphere lamps is 16, the maximum gain sound corresponding to the sound-collecting atmosphere lamps at the full-on value is 3200, and the increase of the gain sound corresponding to each lighting of one atmosphere lamp is 200. If the currently collected first sound value is 300, the current gain sound is 1200 according to the determined gain calculation, and then 6 atmosphere lamps are correspondingly lightened to display the gain sound.
In S102, it is determined whether a sound value acquired N-th time before the first sound value is acquired is a sound value of a sudden increase sound, the sudden increase sound is determined according to a mean value of a plurality of sound values in the scene, and N is a natural number within a predetermined numerical range.
Wherein a sudden increase in sound, i.e. a sudden increase in sound, is detected. The sound value of the sudden sound is larger than that of the general sound in the environment, and the difference between the two needs to be larger than a preset second preset value.
The magnitude of the value of N can adjust the response speed of the embodiment of the present application to the sudden sound. For example, when N is equal to 1, it is determined whether the previous sound value at the current time is the sampled value of the sudden increase sound, and if so, the stored maximum sound value is rapidly decreased at the current time, so that the gain can be rapidly increased (since the sound value of the sudden increase sound is very high, the gain becomes very low, and in order to identify and display the general non-sudden increase sound, the gain needs to be increased), so that the system can adjust the gain more sensitively, and the sound can be identified and displayed more effectively in time.
And when N is 2, judging whether a second sound value before the current time is the sampling value of the sudden sound.
The magnitude of the N value, that is, the time interval for detecting whether the capture time of the sudden sound is the current time, is similar to or the same as the duration of the sudden sound. In the comparison graph of sound values shown in fig. 3, the duration of most of the sudden sounds is about 1 second according to empirical statistics or historical data statistics. If the sampling time of the sound value is 100 msec, a sound value can be determined by sampling 5 times consecutively, and a gain sound can be determined by a sound value. The time interval for obtaining a gain sound is 0.5 seconds. The sampling time interval of a single sound value is 0.5 seconds, N can be determined to be 1/0.5 to 2, that is, the sound value acquired at the 2 nd time before the current time can be searched, and whether the sound value is a sudden increase sound or not can be detected, so that the gain change caused by the sudden increase sound can be responded more quickly. The responsive action may include decreasing the maximum sound value used to calculate the gain, thereby causing a corresponding increase in gain.
N may be a natural number in a predetermined range, for example, the predetermined range may be [1,10], and the magnitude of N may be adjusted according to the duration of the pop sound in a specific scene.
The sudden increase sound refers to a detected sound, the sound value of which is larger than the average value of the sound values in a predetermined time period before the sound value, and the difference value needs to be larger than a second predetermined value. The sound corresponding to the sound value is considered as a sudden sound.
For example, the predetermined period of time may be [1 minute, 10 minutes ]. If the frequency of the sudden increase sound in the scene is higher, the value of N is decreased, and if the frequency of the sudden increase sound is lower, the value of N may be increased, or may not be limited to the range limit of [1 minute, 10 minutes ].
The second predetermined value may be determined based on the sound value in the current environment. For example, the second predetermined value may be calculated based on a predetermined proportion of general sound values in the current environment. For example, a general sound value or an average sound value in the current environment is a, and if the detected sound value is greater than 2a, the sound value may be considered as a sudden sound value.
In S103, if the sound value is a sudden sound and the first sound value is smaller than the stored maximum sound value, the difference between the maximum sound value and the first sound value is larger than a first predetermined value, the stored maximum sound value is decreased.
If it is detected that the previous nth collected sound value is the sound value of the sudden sound, the current first collected sound value may be further compared with the stored maximum sound value. If the first sound value is smaller than the stored maximum sound value and the difference between the first sound value and the stored maximum sound value is larger than a first predetermined value, i.e. the current first sound value is much smaller than the stored maximum sound value, the stored maximum sound value may be decreased by a predetermined ratio, i.e. the stored maximum sound value is updated.
Wherein the maximum sound value is used to determine a gain used by the current sound value to calculate the gain sound. The maximum value of the gain sound is a fixed value, that is, the maximum value of the gain sound corresponding to the full lighting of the atmosphere lamp is a fixed value. The smaller the gain used if the currently determined maximum sound value is larger. If the sound value of the loud sound is included in the maximum sound value, the gain is caused to decrease to a very small value. If the sound value of the environment is small, a large gain needs to be used so that the sound pickup atmosphere lamp can effectively recognize and display the sound, that is, the change of the sound in the environment is represented by the change of the brightness of the large number of lamps.
After the fact that the sound collected for the Nth time is the sudden increase sound is determined, the first sound value collected at present is further compared with the stored maximum sound value, and therefore when the duration of the sudden increase sound is longer than the sampling duration of the sound value twice or three times, the gain of the sound pickup ambience lamp can be adjusted more accurately.
For example, in the sound value comparison diagram shown in fig. 3, N is predetermined to be 2, the sound value collected at the 2 nd time before the current time t, that is, the t-2 nd time is the sudden sound, and the difference between the first sound value and the stored maximum sound value satisfies the requirement that is greater than the first predetermined value, the stored maximum sound value is updated, and the stored maximum sound value is decreased. If at the next sound value sampling time of the current time, assuming to be time t +1, the acquired sound value still meets the requirement of the sudden increase sound because the duration of the sudden increase sound is longer than or equal to the two sound value acquisition durations, if the maximum sound value has been adjusted in place at the time t, for example, the difference between the maximum sound value and the first sound value is less than or equal to the first predetermined value, the difference between the first sound value detected at the time t +1 and the updated maximum sound value may not meet the requirement, and the stored maximum sound value is not further reduced. If the maximum sound value is not adjusted in place at the time t, for example, the difference between the adjusted maximum sound value and the sound value collected at the time t +1 is still greater than the first predetermined value, the maximum sound value is continuously decreased and updated at the time t +1, so that the gain can be further increased to perform more optimal analysis and display on the sound in the environment.
The manner of decreasing the stored maximum sound value may be determined according to the maximum sound value before updating and the maximum value of the general sound in a period of time, or according to the maximum sound value before updating and the first sound value, or may also be decreased according to a fixed value, for example, the fixed value may be a ratio value of 10% to 20% of the maximum sound value.
When the updated maximum sound value is calculated according to the maximum value of the maximum sound value before updating and the maximum value of the general sound in any period of time in the current environment, if the maximum value of the general sound in a period of time is a and the maximum sound value is b, the maximum sound value can be reduced to a + a x%, and x can be any value from 5 to 25.
When the updated maximum sound value is calculated according to the maximum sound value before updating and the currently acquired first sound value, if the first sound value is a and the maximum sound value is b, the maximum sound value can be reduced to a value of a + a x%, and x can be any value of 30-50.
In S104, a first gain sound corresponding to the first sound value is determined according to the adjusted maximum sound value, and the sound pickup ambience lamp is controlled to display according to the first gain sound.
After the maximum sound value is adjusted, the gain may be re-determined according to the adjusted maximum sound value. If the gain sound corresponding to the full lighting of the atmosphere lamp is a fixed value, the value of the gain is increased if the maximum sound value is decreased.
For example, in the operation process of the sound pickup atmosphere lamp, the collected sound value includes a sound value of a sudden increase sound, and in order to effectively display the sound value corresponding to the sudden increase sound, the system usually performs identification and display on the sound intensity of the sudden increase sound by adjusting the gain downward on the premise that the maximum gain sound, that is, the gain sound corresponding to the full lighting of the atmosphere lamp, is fixed. After the gain is reduced, only the sound with smaller gain can be analyzed for the sound intensity of the general sound, and the sound in the current scene is displayed through a small number of atmosphere lamps, which is not beneficial to effectively identifying the relative sound intensity of the general sound included in the scene. Based on this, when the sound value detected for the nth time before detection is a sudden increase sound, and the difference value between the stored maximum sound value and the current first sound value meets the preset requirement, the stored maximum sound value is reduced and updated, so that the gain can be effectively increased, the recognizability of the sound in the atmosphere lamp display scene is improved, and the user experience is improved.
In order to further improve the use experience of a user, the pickup atmosphere lamp is further provided with a touch screen. More abundant control to pickup atmosphere lamp can be realized through the touch-sensitive screen. For example, the pickup ambience lamp may be controlled to enter the setting mode by a swipe gesture. In the setting mode, a dynamic display mode of the sound pickup atmosphere lamp, a peak lamp color, a main bar color, luminance, and the like may be set. At the time of the brightness setting, the currently set brightness may be represented by the number of lit ambience lamps. For example, the sound pickup atmosphere lamp may receive a touch instruction of a user at an arbitrary position of the atmosphere lamp, light the atmosphere lamp from the bottom of the atmosphere lamp to the touch position, determine a corresponding brightness according to the current touch position, and display the lighted atmosphere lamp according to the determined brightness. For example, the sound-collecting atmosphere lamp has a serial number of 1-32 sequentially set from one end (which may be defined as the bottom), and when a touch command is received at the serial number of 14 atmosphere lamps, the 1-14 atmosphere lamps are displayed according to the brightness corresponding to the 14 atmosphere lamps. The brightness of the 14 # atmosphere lamp may be 14/32 of the total brightness. After the user finishes setting, the user can click an OK button to save the setting. For example, in the music mode, a slide touch instruction may be received, and when the distance of the slide touch is greater than half of the length of the sound-collecting atmosphere lamp, the setting state of the music mode may be entered, and in this setting state, the dynamic display mode, the peak lamp color, the main lamp bar color, the brightness, and the like of the sound-collecting atmosphere lamp may be set. Wherein the dynamic display mode of the ambience light may comprise one or more of a bottom-up display, a top-down display, a display from the middle to both ends, a display from both sides to the middle.
In a possible implementation manner, in order to further complete the function of the sound-pickup ambience light, the sound-pickup ambience light can be controlled to enter different operation modes, such as entering a music mode or entering a guess interaction mode, according to the received touch instruction of the user. In the music mode, the atmosphere lamp can be correspondingly turned on or off according to the sound in the environment, so that the rhythm or the intensity of the sound in the environment can be identified and displayed. When entering the guess interaction mode, a selection instruction of the atmosphere lamp by the user can be received. The user can select one or more of the atmosphere lamps through the touch instruction, and after the selection is finished, the first atmosphere lamp is determined through the random number. If the selected second ambience lamp matches the first ambience lamp determined by the random number, a response to the selection match may be generated, for example, the selected second ambience lamp may be displayed in a first color and the first ambience lamp determined by the random number may be displayed within a predetermined time after the selection is completed. If the selected ambience lamp does not match the randomly determined ambience lamp, a response may be generated that the selection does not match, e.g. the selected second ambience lamp may be displayed in a first color.
Of course, the display mode can also be determined according to the number or times of guesses. For example, when the number or times of guesses is one or a single person, the selected second ambience light may be displayed after one selection, and then the first ambience light determined by the random number may be displayed. In a possible implementation, whether the currently selected ambience lamp coincides with the first ambience lamp determined by the random number may also be prompted by voice.
In addition, the display mode during startup can be set. For example, the display mode at power-on may be set to the display mode used at the last power-off, and the display mode includes, for example, a music mode, a breathing light mode, a guess interaction mode, and the like. The mode displayed at each power-on may be set to a fixed mode, for example, a fixed music mode or a breathing light mode.
In a possible implementation manner, the guess interaction mode may be one mode in the game mode, and different games may be selected to interact according to the style displayed in the game mode.
When the atmosphere lamp is determined to be displayed through the random number, the random number can be generated by determining the random seed through the currently collected sound value, or the random seed is determined through the starting time of the sound collecting atmosphere lamp. Or, the random seed may be determined by combining the starting time of the sound pickup atmosphere lamp according to the currently collected sound value, for example, the random seed may be determined according to the sum of the two values, so that the fairness of the selection result determined during interaction can be effectively ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 is a schematic diagram of a device for controlling a sound-collecting atmosphere lamp according to an embodiment of the present application, where the device includes:
a sound value collecting unit 401, configured to collect a first sound value in a scene where the sound pickup atmosphere lamp is located at a current time;
a sudden increase sound determination unit 402, configured to determine whether a sound value acquired N times before the first sound value is acquired is a sound value of a sudden increase sound, where the sudden increase sound is determined according to a mean value of a plurality of sound values in the scene, and N is a natural number within a predetermined numerical range;
a correspondence adjusting unit 403, configured to decrease the stored maximum sound value if the sound value is a sound value of a sudden sound, and the first sound value is smaller than the stored maximum sound value, and a difference between the maximum sound value and the first sound value is greater than a first predetermined value;
and a display control unit 404, configured to determine, according to the adjusted maximum sound value, a first gain sound corresponding to the first sound value, and control, according to the first gain sound, the pickup atmosphere lamp to display.
The control apparatus of the sound-collecting atmosphere lamp shown in fig. 4 corresponds to the control method of the sound-collecting atmosphere lamp shown in fig. 1.
Fig. 5 is a schematic diagram of a sound-collecting atmosphere lamp according to an embodiment of the present disclosure. As shown in fig. 5, the sound-pickup atmosphere lamp 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50, such as a control program for a sound-pick-up atmosphere lamp. The steps in the above-described embodiments of the sound-collecting atmosphere lamp control method are implemented by the processor 50 executing the computer program 52. Alternatively, the processor 50 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 52.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the sound-collecting atmosphere lamp 5.
The sound-collecting atmosphere lamp may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a ambience light 5, and does not constitute a limitation of the ambience light 5, and may include more or less components than those shown, or some components in combination, or different components, e.g. the ambience light may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the sound-collecting atmosphere lamp 5, such as a hard disk or a memory of the sound-collecting atmosphere lamp 5. The memory 51 may also be an external storage device of the sound-collecting ambience lamp 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the sound-collecting ambience lamp 5. Further, the memory 51 may also include both an internal storage unit of the sound-pickup atmosphere lamp 5 and an external storage device. The memory 51 is used for storing the computer program and other programs and data required by the sound pick-up ambience lamp. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, 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 through some interfaces, devices or units, and may be in an electrical, mechanical 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 modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the methods described above can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (12)

1. A control method of a sound-pickup atmosphere lamp, characterized by comprising:
collecting a first sound value in a scene where a pickup atmosphere lamp is located at the current time;
judging whether the sound value acquired at the Nth time before the first sound value is acquired is the sound value of sudden increase sound, wherein the sudden increase sound is determined according to the average value of a plurality of sound values in the scene, and N is a natural number in a preset numerical range;
if the sound value is a sudden increase sound, the first sound value is smaller than the stored maximum sound value, and the difference between the maximum sound value and the first sound value is larger than a first preset value, reducing the stored maximum sound value;
and determining first gain sound corresponding to the first sound value according to the adjusted maximum sound value, and controlling the pickup atmosphere lamp to display according to the first gain sound.
2. The method of claim 1, wherein determining whether the sound value collected the nth time before the first sound value is collected is the sound value of the sudden sound comprises:
determining a mean value of a plurality of sound values within a predetermined time period determined by an Nth collection before a first sound value is collected, and collecting a sound value collected an Nth collection before the first sound value is collected;
and if the sound value acquired at the Nth time before the first sound value is acquired is larger than the average value of a plurality of sound values within the preset time period and the difference value of the sound value acquired at the Nth time before the first sound value is acquired is larger than a second preset value, acquiring the sound value acquired at the Nth time before the first sound value as the sound value of the sudden increase sound.
3. The method of claim 1, wherein capturing a first sound value in a scene in which a pickup ambience lamp is located at a current time comprises:
according to a preset time interval, continuously acquiring a preset number of AD sampling values at the current time in a scene where the pickup atmosphere lamp is located;
calculating an average value of the predetermined number of AD sample values as the first sound value.
4. The method of claim 1, wherein reducing the stored maximum sound value according to a preset reduction ratio comprises:
reducing the stored maximum sound value according to a preset fixed proportion;
or calculating to obtain the updated maximum sound value according to the first sound value and the maximum sound value before updating.
5. The method of claim 1, wherein a touch screen is disposed on the sound-pickup atmosphere lamp, the method further comprising:
when the pickup atmosphere lamp receives the sliding gesture when being in the music mode, and the sliding length of the sliding gesture reaches the length of the preset proportion of the length of the pickup atmosphere lamp, the pickup atmosphere lamp is controlled to enter the setting state of the music mode.
6. The method of claim 5, wherein the setting state of the sound-collecting atmosphere lamp comprises one or more of displaying the sound-collecting atmosphere lamp from bottom to top, displaying the sound-collecting atmosphere lamp from top to bottom, displaying the sound-collecting atmosphere lamp from middle to two ends, and displaying the sound-collecting atmosphere lamp from two sides to middle.
7. The method of claim 1, further comprising:
receiving a control instruction, and controlling the pickup atmosphere lamp to enter a guessing interaction mode;
when a selection instruction of the atmosphere lamp of a user is received, determining a first atmosphere lamp according to a random number;
and determining an interaction result according to the selected second atmosphere lamp and the first atmosphere lamp determined by the random number.
8. The method of claim 7, wherein determining the interaction result according to the selected second ambience lamp and the first ambience lamp determined by the random number comprises:
when the selected second atmosphere lamp is different from the first atmosphere lamp determined by the random number, the first atmosphere lamp is not displayed;
and if the selected second atmosphere lamp is the same as the first atmosphere lamp determined by the random number, displaying the second atmosphere lamp.
9. The method of claim 7, wherein determining the display of the ambience light based on a random number comprises:
generating a random number according to the current sound value and/or the current starting time of the pickup atmosphere lamp as a random number seed;
and performing complementation on the generated random number according to the number of the sound collecting atmosphere lamps, and determining the displayed atmosphere lamps according to a complementation result.
10. A control apparatus for a sound-pickup atmosphere lamp, the control apparatus comprising:
the sound value acquisition unit is used for acquiring a first sound value in a scene where the pickup atmosphere lamp is located at the current time;
a sudden increase sound judgment unit, configured to judge whether a sound value acquired N times before the first sound value is acquired is a sound value of a sudden increase sound, where the sudden increase sound is determined according to a mean value of a plurality of sound values in the scene, and N is a natural number within a predetermined numerical range;
a correspondence adjusting unit configured to decrease the stored maximum sound value if the sound value is a sound value of a sudden sound, the first sound value is smaller than the stored maximum sound value, and a difference between the maximum sound value and the first sound value is larger than a first predetermined value;
and the display control unit is used for determining first gain sound corresponding to the first sound value according to the adjusted maximum sound value and controlling the pickup atmosphere lamp to display according to the first gain sound.
11. A pick-up ambience lamp comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202111225162.1A 2021-10-21 2021-10-21 Pickup atmosphere lamp and control method and device thereof Active CN113993254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111225162.1A CN113993254B (en) 2021-10-21 2021-10-21 Pickup atmosphere lamp and control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111225162.1A CN113993254B (en) 2021-10-21 2021-10-21 Pickup atmosphere lamp and control method and device thereof

Publications (2)

Publication Number Publication Date
CN113993254A true CN113993254A (en) 2022-01-28
CN113993254B CN113993254B (en) 2022-10-18

Family

ID=79739825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111225162.1A Active CN113993254B (en) 2021-10-21 2021-10-21 Pickup atmosphere lamp and control method and device thereof

Country Status (1)

Country Link
CN (1) CN113993254B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0975807A (en) * 1994-08-11 1997-03-25 Dong In Lee Fountain device
JP2000250787A (en) * 1999-02-26 2000-09-14 Internatl Business Mach Corp <Ibm> Method for monitoring output value level of electronic equipment and personal computer
CN101471586A (en) * 2007-12-26 2009-07-01 佛山普立华科技有限公司 Charging circuit for flashlamp
JP2009207530A (en) * 2008-02-29 2009-09-17 Sammy Corp Slot machine and game system
CN108128238A (en) * 2017-12-25 2018-06-08 奇瑞商用车(安徽)有限公司 A kind of voice activated control for automobile atmosphere lamp
CN109548249A (en) * 2018-11-06 2019-03-29 斑马网络技术有限公司 Atmosphere lamp control method, system, vehicle, storage medium and electronic equipment
CN109808584A (en) * 2019-01-31 2019-05-28 吉利汽车研究院(宁波)有限公司 A kind of car light shines intensity control method and device
CN209130584U (en) * 2018-10-29 2019-07-19 西安培华学院 A kind of atmosphere lamp being easily installed
CN110267394A (en) * 2019-06-05 2019-09-20 东方久乐汽车电子(上海)股份有限公司 A kind of atmosphere lamp control method and system
CN110939910A (en) * 2019-12-18 2020-03-31 安徽原上草节能环保科技有限公司 Intelligent new forms of energy street lamp
CA3053968A1 (en) * 2018-10-04 2020-04-04 Blackberry Limited Vehicular headlight detection and reaction system
CN111049716A (en) * 2019-12-19 2020-04-21 深圳市华翼智能有限公司 Automobile CAN data decryption method and device
CN111189023A (en) * 2020-03-10 2020-05-22 义乌单文电子商务有限公司 LED household night lamp capable of automatically changing brightness
CN111605478A (en) * 2019-02-25 2020-09-01 上海博泰悦臻网络技术服务有限公司 Atmosphere lamp control and audio transmission method and device, atmosphere lamp controller and vehicle machine

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0975807A (en) * 1994-08-11 1997-03-25 Dong In Lee Fountain device
JP2000250787A (en) * 1999-02-26 2000-09-14 Internatl Business Mach Corp <Ibm> Method for monitoring output value level of electronic equipment and personal computer
CN101471586A (en) * 2007-12-26 2009-07-01 佛山普立华科技有限公司 Charging circuit for flashlamp
JP2009207530A (en) * 2008-02-29 2009-09-17 Sammy Corp Slot machine and game system
CN108128238A (en) * 2017-12-25 2018-06-08 奇瑞商用车(安徽)有限公司 A kind of voice activated control for automobile atmosphere lamp
CA3053968A1 (en) * 2018-10-04 2020-04-04 Blackberry Limited Vehicular headlight detection and reaction system
CN209130584U (en) * 2018-10-29 2019-07-19 西安培华学院 A kind of atmosphere lamp being easily installed
CN109548249A (en) * 2018-11-06 2019-03-29 斑马网络技术有限公司 Atmosphere lamp control method, system, vehicle, storage medium and electronic equipment
CN109808584A (en) * 2019-01-31 2019-05-28 吉利汽车研究院(宁波)有限公司 A kind of car light shines intensity control method and device
CN111605478A (en) * 2019-02-25 2020-09-01 上海博泰悦臻网络技术服务有限公司 Atmosphere lamp control and audio transmission method and device, atmosphere lamp controller and vehicle machine
CN110267394A (en) * 2019-06-05 2019-09-20 东方久乐汽车电子(上海)股份有限公司 A kind of atmosphere lamp control method and system
CN110939910A (en) * 2019-12-18 2020-03-31 安徽原上草节能环保科技有限公司 Intelligent new forms of energy street lamp
CN111049716A (en) * 2019-12-19 2020-04-21 深圳市华翼智能有限公司 Automobile CAN data decryption method and device
CN111189023A (en) * 2020-03-10 2020-05-22 义乌单文电子商务有限公司 LED household night lamp capable of automatically changing brightness

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李钢等: "车载语音交互氛围灯的设计与实现", 《照明工程学报》 *

Also Published As

Publication number Publication date
CN113993254B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
TWI665584B (en) A voice controlling system and method
CN113613369B (en) Light effect control method, device, equipment and storage medium
CN108900819A (en) Image processing method, device, storage medium and electronic equipment
CN109711259B (en) Fingerprint input method and related equipment
RU2009104463A (en) SETTING DEVICE FOR METHOD FOR IDENTIFICATION OF BRAIN WAVES, METHOD OF SETTING AND COMPUTER PROGRAM
CN105679253B (en) A kind of terminal backlight adjusting method and device
CN107509287A (en) Adjust method and device, Intelligent illumination device and the storage medium of light
CN105094298A (en) Terminal and terminal based gesture recognition method
CN108108117B (en) Screen capturing method and device and terminal
CN104053060A (en) Intelligent television and television program playing method thereof
CN110426962A (en) A kind of control method and system of smart home device
CN103338289A (en) Backlight adjusting method, adjusting device and mobile terminal
CN107690804A (en) A kind of image processing method and user terminal
CN109327691A (en) Image capturing method, device, storage medium and mobile terminal
CN113325724A (en) Intelligent scene operation method, system, device and storage medium
CN113069125A (en) Head-mounted equipment control system, method and medium based on brain wave and eye movement tracking
CN106020447A (en) A touch-type electronic apparatus proximity sensor parameter adjusting method and system
CN115065713A (en) Intelligent kitchen electrical equipment information interaction method and system
CN114791771A (en) Interaction management system and method for intelligent voice mouse
CN113993254B (en) Pickup atmosphere lamp and control method and device thereof
CN111802963B (en) Cleaning equipment and interesting information playing method and device
CN110715369B (en) Air purifier control method and device, storage medium and air purifier
CN108960213A (en) Method for tracking target, device, storage medium and terminal
CN115290299B (en) Method and device for determining falling depth of screen light leakage and electronic equipment
CN110177299B (en) Video playing speed adjusting platform

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
GR01 Patent grant
GR01 Patent grant