CN106170170B - The control method and device of atmosphere lamp - Google Patents
The control method and device of atmosphere lamp Download PDFInfo
- Publication number
- CN106170170B CN106170170B CN201610729617.6A CN201610729617A CN106170170B CN 106170170 B CN106170170 B CN 106170170B CN 201610729617 A CN201610729617 A CN 201610729617A CN 106170170 B CN106170170 B CN 106170170B
- Authority
- CN
- China
- Prior art keywords
- information
- atmosphere lamp
- song
- color
- sound box
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
- H05B47/12—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention is suitable for technical field of intelligent equipment, provides a kind of control method and device of atmosphere lamp, the control method includes:Obtain the attribute information of song and the song that intelligent sound box plays;The corresponding atmosphere lamp of the song, which is obtained, according to the attribute information controls information;Atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box controls the display effect that information adjusts atmosphere lamp according to the atmosphere lamp.The present invention enriches the display effect of atmosphere lamp, efficiently solves the problems, such as that existing intelligent sound box atmosphere lamp display effect is single, be conducive to build with the matched lighting atmosphere of played song, provide better visual experience for user.
Description
Technical field
The invention belongs to technical field of intelligent equipment more particularly to a kind of control method and device of atmosphere lamp.
Background technique
Existing intelligent sound box can not only play the music from network or local, and can be with smart machine
Connection communication is established, the regulation of smart machine is received, realizes the such as functions such as remote switch, volume adjustment, atmosphere lamp switch.Its
In, atmosphere lamp is opened while music, user is provided and more dazzles beautiful visual effect, greatly improved user's
Experience sense.However, the display effect of existing atmosphere lamp is single, and several display modes and color only fixed, smart machine
Intelligent sound box can only be mechanically controlled to change at random within the scope of pre-set several colors and display mode, be easy to cause wash with watercolours
The fluorescent tube atmosphere and song of dye are uncoordinated.
Summary of the invention
In consideration of it, the embodiment of the invention provides a kind of control method and device of atmosphere lamp, to solve existing intelligence
The single problem of speaker atmosphere lamp display effect.
In a first aspect, providing a kind of control method of atmosphere lamp, the control method includes:
Obtain the attribute information of song and the song that intelligent sound box plays;
The corresponding atmosphere lamp of the song, which is obtained, according to the attribute information controls information;
Atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box is according to the atmosphere lamp control
Information processed adjusts the display effect of atmosphere lamp.
Second aspect, provides a kind of control device of atmosphere lamp, and the control device includes:
First obtains module, for obtaining the song of intelligent sound box broadcasting and the attribute information of the song;
Second obtains module, controls information for obtaining the corresponding atmosphere lamp of the song according to the attribute information;
Sending module, for atmosphere lamp control information to be sent to intelligent sound box, so that the intelligent sound box root
The display effect of atmosphere lamp is adjusted according to atmosphere lamp control information.
Compared with prior art, the embodiment of the present invention is by obtaining intelligent sound box and playing when intelligent sound box plays song
Song and the song attribute information;Then the corresponding atmosphere lamp of the song is obtained according to the attribute information to control
Information;Atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box is controlled according to the atmosphere lamp
The display effect of information adjusting atmosphere lamp;Since the atmosphere lamp control information of song is related to the attribute information of the song, from
And make the corresponding atmosphere lamp control information of different songs different, the display effect of atmosphere lamp is greatly enriched, is had
Solve the problems, such as that existing intelligent sound box atmosphere lamp display effect is single to effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other accompanying drawings can also be obtained according to these attached drawings.
Fig. 1 is the composition block diagram of the control system of atmosphere lamp provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of the control method of atmosphere lamp provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides atmosphere lamp control method implementation flow chart;
Fig. 4 be another embodiment of the present invention provides atmosphere lamp control method implementation flow chart;
Fig. 5 is the composite structural diagram of the control device of atmosphere lamp provided in an embodiment of the present invention;
Fig. 6 is the structural block diagram of smart machine provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments,
The present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention,
It is not intended to limit the present invention.
The embodiment of the present invention is by obtaining the song and the song that intelligent sound box plays when intelligent sound box plays song
Bent attribute information;Then the corresponding atmosphere lamp of the song is obtained according to the attribute information and controls information;By the atmosphere
Lamp control information is sent to intelligent sound box, so that the intelligent sound box, which controls information according to the atmosphere lamp, adjusts atmosphere lamp
Display effect;Since the atmosphere lamp control information of song is related to the attribute information of the song, so that different songs
Corresponding atmosphere lamp control information is different, greatly enriches the display effect of atmosphere lamp, efficiently solves existing
The single problem of intelligent sound box atmosphere lamp display effect.The embodiment of the invention also provides the control device of corresponding atmosphere lamp,
Which will be described in detail below.
Fig. 1 shows the composed structure for having located atmosphere lamp control system provided in an embodiment of the present invention, for ease of description, only shows
Part related to the embodiment of the present invention is gone out.
In embodiments of the present invention, the atmosphere lamp control system include at least one smart machine 1 and one and with
The intelligent sound box 2 of upper number.Optionally, pass through wired or wireless side between the smart machine 1 and the intelligent sound box 2
Formula connection communication.The smart machine 1 includes but is not limited to smart phone, tablet computer and other smart machines.The intelligence
Multiple atmosphere lamps can be provided on speaker 2.Herein, the atmosphere lamp preferably uses LED light source technology, passes through Multi-point luminous exhibition
Different color atmospheres is shown.
Intelligent sound box APP is installed on the smart machine 1, the intelligence for establishing connection therewith can be controlled by the APP
Energy speaker, including but not limited to the machine open/close control of such as intelligent sound box, volume control, playback of songs/switching, atmosphere lamp are opened
Close etc..The parameter on atmosphere lamp is arranged then according to the control signal of intelligent sound box to adjust the display effect of atmosphere lamp in intelligent sound box
Fruit, to build different lighting atmospheres.
Fig. 2 shows the implementation processes of the control method of atmosphere lamp provided in an embodiment of the present invention.
In embodiments of the present invention, the control method of the atmosphere lamp is applied to above-mentioned Fig. 1 intelligence as described in the examples
Equipment.
Referring to Fig.2, the control method of the atmosphere lamp includes:
In step s 201, the attribute information of song and the song that intelligent sound box plays is obtained.
In embodiments of the present invention, smart machine obtains the current institute of intelligent sound box being attached thereto by intelligent sound box APP
The song of broadcasting, and obtain the attribute information of the song.Herein, the attribute information is the essential information of song, packet
It includes but is not limited to such as song title information, singer informations, song files type, big envelope picture, ID3 information etc..Smart machine
The corresponding attribute information of the song can be obtained from Internet Server, can also locally obtain the song from intelligent sound box
Bent corresponding attribute information.
In step S202, the corresponding atmosphere lamp of the song is obtained according to the attribute information and controls information.
Illustratively, the atmosphere lamp control information includes but is not limited to the color and the color that atmosphere lamp is arranged and shows
Color display mode.Wherein, the display mode of the color includes but is not limited to the display order of the color, display state
(for example be always on or flash) and/or the display time.The embodiment of the present invention is corresponding according to the attribute information acquisition song
Atmosphere lamp control information is conducive to so that color, tone that atmosphere lamp is shown etc. are related to the essential information of the song
It renders and the matched lighting atmosphere of the song.
In step S203, atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box root
The display effect of atmosphere lamp is adjusted according to atmosphere lamp control information.
After getting atmosphere lamp control information, atmosphere lamp control information is sent to intelligent sound by smart machine
Case.Intelligent sound box receives the atmosphere lamp and controls information, then according to atmosphere lamp control information adjusting atmosphere lamp, including but
It is not limited to the color that setting atmosphere lamp show, the display mode that the color is set.Wherein, the display mode includes but unlimited
In the display order of the color, display state (for example be always on or flash) and/or show the time.Due to the atmosphere of every song
It is related to the attribute information of the song that lamp controls information, so that the corresponding atmosphere lamp of different songs controls information mutually not
Identical, intelligent sound box is also different according to the atmosphere lamp display effect that atmosphere lamp control information is adjusted, into
And the display effect of atmosphere lamp is greatly enriched, it is single to efficiently solve existing intelligent sound box atmosphere lamp display effect
Problem improves the experience sense of user, provides better visual experience for user.
As a preferable example of the invention, the attribute information can be the big envelope picture of the song.Herein,
When the big envelope picture refers to that smart machine plays the song by playout software, the pictorial information of simultaneous display.The envelope
Cover album cover, singer's cover, the exclusive cover of song etc. that picture includes but is not limited to such as song.Smart machine is being got
After the song that intelligent sound box is played, then the corresponding big envelope picture of the song is obtained from Internet Server or from intelligence
It can the corresponding big envelope picture of the speaker local acquisition song.Fig. 3 show another embodiment of the present invention provides atmosphere lamp
The implementation process of control method.
Refering to Fig. 3, the control method of the atmosphere lamp includes:
In step S301, the attribute information of song and the song that intelligent sound box plays is obtained.
Wherein, step S301 is identical as Fig. 2 step S201 as described in the examples, specifically refers to chatting for above-described embodiment
It states, details are not described herein again.
In step s 302, when in the attribute information of the song including big envelope picture, then the big envelope picture is extracted
Color information.
Herein, the color information be the big envelope picture Color constitut and accounting, including it is one of following or
Person's any combination thereof:Main col, the attribute of secondary color and every kind of color, ratio.Wherein, the color attribute is described
The information such as tone, the colour temperature of color, the color ratio then reflect distribution of the every kind of color in the big envelope picture.This hair
Bright embodiment then analyzes the big envelope picture after getting the big envelope picture of song, extracts and corresponds to from the big envelope picture
Color information.
In step S303, using the color information as input parameter, it is corresponding that the song is obtained according to preset algorithm
Atmosphere lamp control information.
Herein, the embodiment of the present invention pre-sets the computational algorithm between color parameter and atmosphere lamp control information.
By running the preset algorithm using the color information as the input parameter of the preset algorithm, to obtain the song
Bent corresponding atmosphere lamp controls information.Atmosphere lamp control information include but is not limited to be arranged color that atmosphere lamp is shown and
The display order of every kind of color and/or display time in the color.
In step s 304, atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box root
The display effect of atmosphere lamp is adjusted according to atmosphere lamp control information.
After getting atmosphere lamp control information, atmosphere lamp control information is sent to intelligent sound by smart machine
Case.Intelligent sound box receives the atmosphere lamp and controls information, then according to atmosphere lamp control information adjusting atmosphere lamp, including but
It is not limited to the display mode of color and the color that setting atmosphere lamp is shown.Wherein, the display mode of the color includes
But it is not limited to the display order of the color, display state (for example be always on or flash) and/or display time.Due to every song
Atmosphere lamp control information it is related to the big envelope picture of the song believe so that the corresponding atmosphere lamp of different songs controls
Cease different, it is also different that intelligent sound box according to the atmosphere lamp controls the display effect that is adjusted of information, greatly
The earth enriches the display effect of atmosphere lamp, efficiently solves that existing intelligent sound box atmosphere lamp display effect is single to ask
Topic;And big envelope picture color composition and distribution reacted the representation style of song to a certain extent, be conducive to build with
The matched lighting atmosphere of song, provides better visual experience for user.
As another preferable example of the invention, the attribute information can be the genre information of the song.At this
In, the genre information is school of art belonging to the song.Different schools of art, song tone color, tone, frequency,
Amplitude etc. is upper to have different representation styles, such as pop music, rock music, punk's music, folk rhyme music, Jue Shiyin
Pleasure, classical music etc..Smart machine is then obtained from Internet Server after getting the song that intelligent sound box is played
The corresponding genre information of the song locally obtains the corresponding genre information of the song from intelligent sound box.Fig. 4 is shown
Another embodiment of the present invention provides atmosphere lamp control method implementation process.
Refering to Fig. 4, the control method of the atmosphere lamp includes:
In step S401, the attribute information of song and the song that intelligent sound box plays is obtained.
Wherein, step S401 is identical as Fig. 2 step S201 as described in the examples, specifically refers to chatting for above-described embodiment
It states, details are not described herein again.
In step S402, when in the attribute information of the song including ID3 information, then mentioned from the ID3 information
Take the genre information of the song.
In step S403, the corresponding atmosphere lamp control letter of the genre information is obtained from preset mapping table
Breath.
In embodiments of the present invention, the mapping table includes genre information and its corresponding atmosphere lamp control information.
The embodiment of the present invention is aobvious provided with the atmosphere lamp to match with the school previously according to the corresponding representation style of each school
Show effect, and obtain the corresponding control information when showing the display effect of the atmosphere lamp on intelligent sound box, summarizes different
The corresponding atmosphere lamp of genre information controls information, to obtain the mapping table, and the mapping table is stored in
In smart machine.
Whenever carrying out atmosphere lamp control, then obtains the ID3 information of song and therefrom extract genre information, deposited from advance
The corresponding atmosphere lamp control information of the genre information is obtained in the corresponding relationship of storage.Illustratively, the atmosphere lamp control
Information processed includes but is not limited to the display mode of the color that atmosphere lamp is shown and the color.Wherein, the display of the color
Mode includes but is not limited to the display order of the color, display state (for example be always on or flash) and/or display time.
In step s 404, atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box root
The display effect of atmosphere lamp is adjusted according to atmosphere lamp control information.
After getting atmosphere lamp control information, atmosphere lamp control information is sent to intelligent sound by smart machine
Case.Intelligent sound box receives the atmosphere lamp and controls information, then according to atmosphere lamp control information adjusting atmosphere lamp, including but
It is not limited to the display mode of color and the color that setting atmosphere lamp is shown.Wherein, the display mode of the color includes
But it is not limited to the display order of the color, display state (for example be always on or flash) and/or display time.Due to every song
Atmosphere lamp control information it is related to the genre information of the song believe so that the corresponding atmosphere lamp of different songs controls
Cease different, it is also different that intelligent sound box according to the atmosphere lamp controls the display effect that is adjusted of information, greatly
The earth enriches the display effect of atmosphere lamp, efficiently solves that existing intelligent sound box atmosphere lamp display effect is single to ask
Topic, and genre information has reacted the representation style of song, be conducive to build with the matched lighting atmosphere of the song, be user
Provide better visual experience.
Fig. 5 shows the composed structure of the control device of atmosphere lamp provided in an embodiment of the present invention, for ease of description, only
Show part related to the embodiment of the present invention.
In embodiments of the present invention, the control device of the atmosphere lamp is for realizing above-mentioned Fig. 2 into Fig. 4 any embodiment
The control method of the atmosphere lamp is applied to Fig. 1 smart machine 1 as described in the examples, can be and be built in smart machine
Software unit, hardware cell or software and hardware combining unit.The smart machine includes but is not limited to smart phone, plate
Computer etc..
Refering to Fig. 5, the control device of the atmosphere lamp includes:
First obtains module 11, for obtaining the song of intelligent sound box broadcasting and the attribute information of the song;
Second obtains module 12, controls information for obtaining the corresponding atmosphere lamp of the song according to the attribute information;
Sending module 13, for atmosphere lamp control information to be sent to intelligent sound box, so that the intelligent sound box
The display effect that information adjusts atmosphere lamp is controlled according to the atmosphere lamp.
Herein, the attribute information is the essential information of song, including but not limited to such as song title information, singer
Information, song files type, big envelope picture, ID3 information etc..Smart machine can obtain the song from Internet Server
Corresponding attribute information can also locally obtain the corresponding attribute information of the song from intelligent sound box.
The atmosphere lamp control information includes but is not limited to that the display of color and the color that atmosphere lamp is shown is arranged
Mode.Wherein, the display mode of the color includes but is not limited to that the display order of the color, display state (for example are always on
Or flashing) and/or the display time.The embodiment of the present invention obtains the corresponding atmosphere lamp of the song according to the attribute information and controls
Information is conducive to render and institute so that color, tone that atmosphere lamp is shown etc. are related to the essential information of the song
State the matched lighting atmosphere of song.
As a preferable example of the invention, the attribute information can be the big envelope picture of the song.The envelope
When set picture refers to that smart machine plays the song by playout software, the pictorial information of simultaneous display.Herein, the envelope
Cover album cover, singer's cover, the exclusive cover etc. that picture includes but is not limited to such as song.At this point, described second obtains mould
Block 12 includes:
First extraction unit 121, for when in the attribute information of the song including big envelope picture, then extracting the envelope
Cover the color information of picture;
First acquisition unit 122, for obtaining the song according to preset algorithm using the color information as input parameter
Bent corresponding atmosphere lamp controls information.
Further, the color information includes one of following or any combination thereof:
Main col, secondary color, color attribute, color ratio.
As another preferable example of the invention, the attribute information can be the genre information of the song.At this
In, the genre information is school of art belonging to the song.Different schools of art, song tone color, tone, frequency,
Amplitude etc. is upper to have different representation styles, such as pop music, rock music, punk's music, folk rhyme music, Jue Shiyin
Pleasure, classical music etc..At this point, the second acquisition unit 12 includes:
Second extraction unit 123, for when in the attribute information of the song include ID3 information when, from the ID3 information
The middle genre information for extracting the song;
Second acquisition unit 124, for obtaining the corresponding atmosphere lamp of the genre information from preset mapping table
Control information.
Wherein, the mapping table includes genre information and its corresponding atmosphere lamp control information.
It should be noted that the device in the embodiment of the present invention can be used to implement whole skills in above method embodiment
The function of art scheme, each functional module can be implemented according to the method in above method embodiment, specific implementation
Process can refer to the associated description in examples detailed above, and details are not described herein again.
Fig. 6 shows a kind of structural block diagram of smart machine, which can be used for implementing mentioning in above-described embodiment
The control method of the atmosphere lamp of confession.
As shown in fig. 6, smart machine 1200 may include RF (Radio Frequency, radio frequency) circuit 110, include
The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display
Unit 140, voicefrequency circuit 160, transmission module 170, includes one or more than one and (only shows one in figure sensor 150
It is a) processor 180 of processing core and the equal components of power supply 190.It will be understood by those skilled in the art that intelligence shown in Fig. 6
Energy 1200 structure of equipment does not constitute the restriction to smart machine 1200, may include components more more or fewer than diagram, or
Person combines certain components or different component layouts.Wherein:
RF circuit 110 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave
News network or other equipment are communicated.RF circuit 110 may include various existing for executing the circuit elements of these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuit 110 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple
Access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time
Division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE
802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Memory 120 can be used for storing software program and module, such as control method/dress of atmosphere lamp in above-described embodiment
Corresponding program instruction/module is set, processor 180 passes through the software program and module that operation is stored in memory 120, from
And performing various functions application and data processing, i.e., the attribute information of the song played according to intelligent sound box adjusts atmosphere lamp
Display effect to build the function or other function of lighting atmosphere corresponding with song.Memory 120 may include high speed with
Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily
The property lost solid-state memory.In some instances, memory 120 can further comprise depositing relative to processor 180 is remotely located
Reservoir, these remote memories can pass through network connection to smart machine 1200.The example of above-mentioned network includes but is not limited to
Internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and smart machine that are supplied to user
1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof
To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it
On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching
The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 6, touch sensitive surface 131 and display surface
Plate 141 is to realize input and input function as two independent components, but in some embodiments it is possible to by touch-sensitive table
Face 131 and display panel 141 integrate and realize and output and input function.
Smart machine 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when smart machine 1200 is moved in one's ear,
Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used for detecting inclination angle when static
Degree, and application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), the Vibration identification phase of identification mobile phone posture
Close function (such as pedometer, percussion) etc.;Gyroscope, barometer, the hygrometer, temperature that can also configure as smart machine 1200
The other sensors such as meter, infrared sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can provide between user and smart machine 1200 connect
Mouthful.Electric signal after the audio data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit
160 receive after be converted to audio data, then by after the processing of audio data output processor 180, through RF circuit 110 to be sent to ratio
Such as another terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone Yu smart machine 1200.
Smart machine 1200 can help user send and receive e-mail, is clear by transmission module 170 (such as WiFi module)
Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 6 shows transmission mould
Block 170, but it is understood that, and it is not belonging to must be configured into for smart machine 1200, it is can according to need completely not
Change in the range of the essence of invention and omits.
Processor 180 is the control centre of smart machine 1200, utilizes each of various interfaces and connection whole mobile phone
A part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in storage
Data in device 120 execute the various functions and processing data of smart machine 1200, to carry out integral monitoring to mobile phone.It can
Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Smart machine 1200 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to
Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power source, recharging system, electricity
The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, smart machine 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically
In the present embodiment, the display unit of smart machine is touch-screen display, and smart machine further includes having memory and one
Perhaps more than one program one of them or more than one program is stored in memory, and be configured to by one or
The execution of more than one processor of person states one or more than one program includes the instruction for performing the following operation:
Obtain the attribute information of song and the song that intelligent sound box plays;
The corresponding atmosphere lamp of the song, which is obtained, according to the attribute information controls information;
Atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box is according to the atmosphere lamp control
Information processed adjusts the display effect of atmosphere lamp.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the smart machine, also include instructions for performing the following operations:
It is described to include according to the corresponding atmosphere lamp control information of the attribute information acquisition song:
When in the attribute information of the song including big envelope picture, then the color information of the big envelope picture is extracted;
Using the color information as input parameter, the corresponding atmosphere lamp control letter of the song is obtained according to preset algorithm
Breath.
In the third the possible embodiment provided based on second of possible embodiment, the intelligence
It also include instructions for performing the following operations in the memory of equipment:
The color information includes one of following or any combination thereof:
Main col, secondary color, color attribute, color ratio.
In the 4th kind of possible embodiment provided based on the first possible embodiment, the intelligence
It also include instructions for performing the following operations in the memory of equipment:
It is described to include according to the corresponding atmosphere lamp control information of the attribute information acquisition song:
When in the attribute information of the song including ID3 information, the stream of the song is extracted from the ID3 information
Send information;
The corresponding atmosphere lamp control information of the genre information is obtained from preset mapping table;
Wherein, the mapping table includes genre information and its corresponding atmosphere lamp control information.
The 5th kind of possible embodiment provided based on first to fourth any possible embodiment
In, it also include instructions for performing the following operations in the memory of the smart machine:
The atmosphere lamp controls information:
The display mode of color and the color that atmosphere lamp is shown is set.
In conclusion the embodiment of the present invention is by obtaining the song that intelligent sound box plays when intelligent sound box plays song
And the attribute information of the song;Then the corresponding atmosphere lamp of the song is obtained according to the attribute information and controls information;
Atmosphere lamp control information is sent to intelligent sound box, so that the intelligent sound box controls information tune according to the atmosphere lamp
Save the display effect of atmosphere lamp;Since the atmosphere lamp control information of song is related to the attribute information of the song, so that
The corresponding atmosphere lamp control information of different songs is different, greatly enriches the display effect of atmosphere lamp, effectively solves
The single problem of existing intelligent sound box atmosphere lamp display effect of having determined.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that the control method and dress of disclosed atmosphere lamp
It sets, may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, described
The division of module, unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as more
A unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another
Point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or
The indirect coupling or communication connection of unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention, module can integrate in one processing unit,
Can be each unit, module physically exists alone, can also be integrated in one unit with two or more units, module
In.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. a kind of control method of atmosphere lamp, which is characterized in that the atmosphere lamp is set on intelligent sound box, the control method
Including:
Obtain the attribute information of song and the song that the intelligent sound box plays;The attribute information of the song includes song
Song name claims, singer, song files type, big envelope picture and ID3 information;
The corresponding atmosphere lamp of the song, which is obtained, according to the attribute information controls information;
Atmosphere lamp control information is sent to the intelligent sound box, so that the intelligent sound box is according to the atmosphere lamp control
Information processed adjusts the display effect of atmosphere lamp;
Wherein, described to include according to the corresponding atmosphere lamp control information of the attribute information acquisition song:
When in the attribute information of the song including big envelope picture, then the color information of the big envelope picture is extracted;With described
Color information obtains the corresponding atmosphere lamp of the song according to preset algorithm and controls information as input parameter;
When in the attribute information of the song including ID3 information, the school letter of the song is extracted from the ID3 information
Breath;The corresponding atmosphere lamp control information of the genre information is obtained from preset mapping table;Wherein, the corresponding relationship
Table includes genre information and its corresponding atmosphere lamp control information.
2. the control method of atmosphere lamp as described in claim 1, which is characterized in that the color information includes one in following
Kind or any combination thereof:
Main col, secondary color, color attribute, color ratio.
3. the control method of atmosphere lamp as claimed in claim 1 or 2, which is characterized in that the atmosphere lamp controls information and includes:
The display mode of color and the color that atmosphere lamp is shown is set.
4. a kind of control device of atmosphere lamp, which is characterized in that the atmosphere lamp is set on intelligent sound box, the control device
Including:
First obtains module, for obtaining the song of intelligent sound box broadcasting and the attribute information of the song;The song
Attribute information includes song title, singer, song files type, big envelope picture and ID3 information;
Second obtains module, controls information for obtaining the corresponding atmosphere lamp of the song according to the attribute information;
Sending module, for atmosphere lamp control information to be sent to intelligent sound box, so that the intelligent sound box is according to institute
State the display effect that atmosphere lamp control information adjusts atmosphere lamp;
Wherein, the second acquisition module includes:
First extraction unit, for when in the attribute information of the song including big envelope picture, then extracting the big envelope picture
Color information;
First acquisition unit, for it is corresponding to obtain the song according to preset algorithm using the color information as input parameter
Atmosphere lamp control information;
Second extraction unit, for being extracted from the ID3 information when in the attribute information of the song including ID3 information
The genre information of the song;
Second acquisition unit, for obtaining the corresponding atmosphere lamp control letter of the genre information from preset mapping table
Breath;
Wherein, the mapping table includes genre information and its corresponding atmosphere lamp control information.
5. the control device of atmosphere lamp as claimed in claim 4, which is characterized in that the color information includes one in following
Kind or any combination thereof:
Main col, secondary color, color attribute, color ratio.
6. the control device of atmosphere lamp as described in claim 4 or 5, which is characterized in that the atmosphere lamp controls information and includes:
The display mode of color and the color that atmosphere lamp is shown is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610729617.6A CN106170170B (en) | 2016-08-25 | 2016-08-25 | The control method and device of atmosphere lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610729617.6A CN106170170B (en) | 2016-08-25 | 2016-08-25 | The control method and device of atmosphere lamp |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106170170A CN106170170A (en) | 2016-11-30 |
CN106170170B true CN106170170B (en) | 2018-11-27 |
Family
ID=57376084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610729617.6A Active CN106170170B (en) | 2016-08-25 | 2016-08-25 | The control method and device of atmosphere lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106170170B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491283A (en) * | 2018-10-19 | 2019-03-19 | 上海擎感智能科技有限公司 | Colorful musical note synchronous control method, mobile unit and music player devices |
CN109743819A (en) * | 2018-12-07 | 2019-05-10 | 北京梧桐车联科技有限责任公司 | Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp |
CN109910736A (en) * | 2019-04-03 | 2019-06-21 | 深圳创维汽车智能有限公司 | Automobile atmosphere lamp control method, device and storage medium |
CN110673900A (en) * | 2019-08-23 | 2020-01-10 | 康佳集团股份有限公司 | Light effect adjusting method, intelligent terminal and storage medium |
CN110769577B (en) * | 2019-10-18 | 2022-02-25 | Oppo(重庆)智能科技有限公司 | Atmosphere lamp control method and device |
CN113133168A (en) * | 2019-12-30 | 2021-07-16 | 青岛海尔电冰箱有限公司 | Control method of atmosphere lamp of intelligent household appliance, intelligent household appliance and storage medium |
CN111497739A (en) * | 2020-05-08 | 2020-08-07 | 广州智鹏车联网科技有限公司 | Adjusting method and device for vehicle atmosphere lamp |
CN112254277A (en) * | 2020-10-26 | 2021-01-22 | 四川长虹空调有限公司 | Music air conditioner and control method thereof |
CN112839416A (en) * | 2021-01-26 | 2021-05-25 | 沈阳美行科技有限公司 | Control method and device of vehicle-mounted atmosphere lamp, vehicle and storage medium |
CN113794938B (en) * | 2021-09-22 | 2024-03-26 | 深圳维盟网络技术有限公司 | Atmosphere lamp irradiation regulation and control method for enhancing video playing and game playing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932993A (en) * | 2012-10-26 | 2013-02-13 | 浙江大学 | Lamp under remote control of cell phone and control method of lamp |
CN103796133A (en) * | 2014-02-11 | 2014-05-14 | 上海微泛电子科技有限公司 | 5.8 G wireless high-fidelity audio LED system based on WB-RLC |
CN104053280A (en) * | 2014-06-12 | 2014-09-17 | 苏州乐聚一堂电子科技有限公司 | Song automatic identification lamplight special effect system |
CN204285407U (en) * | 2014-12-18 | 2015-04-22 | 深圳市微智电子有限公司 | A kind of intelligent bulbs with wireless sound box function |
CN105722269A (en) * | 2016-02-02 | 2016-06-29 | 长沙一待电子科技有限公司 | Integrated ceiling wireless background music light indicating method and system |
-
2016
- 2016-08-25 CN CN201610729617.6A patent/CN106170170B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932993A (en) * | 2012-10-26 | 2013-02-13 | 浙江大学 | Lamp under remote control of cell phone and control method of lamp |
CN103796133A (en) * | 2014-02-11 | 2014-05-14 | 上海微泛电子科技有限公司 | 5.8 G wireless high-fidelity audio LED system based on WB-RLC |
CN104053280A (en) * | 2014-06-12 | 2014-09-17 | 苏州乐聚一堂电子科技有限公司 | Song automatic identification lamplight special effect system |
CN204285407U (en) * | 2014-12-18 | 2015-04-22 | 深圳市微智电子有限公司 | A kind of intelligent bulbs with wireless sound box function |
CN105722269A (en) * | 2016-02-02 | 2016-06-29 | 长沙一待电子科技有限公司 | Integrated ceiling wireless background music light indicating method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106170170A (en) | 2016-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106170170B (en) | The control method and device of atmosphere lamp | |
CN109683847A (en) | A kind of volume adjusting method and terminal | |
CN109491541A (en) | A kind of control method and mobile terminal | |
CN107770760B (en) | A kind of method and mobile terminal of the type identifying bluetooth equipment | |
CN108762954A (en) | A kind of object sharing method and mobile terminal | |
CN105183296B (en) | interactive interface display method and device | |
CN107203147B (en) | Internet of Things network control system based on cloud platform and method | |
CN110034876A (en) | PUCCH resource instruction, processing method, network side equipment, user terminal | |
CN108984059A (en) | A kind of information display method and mobile terminal | |
CN105959481B (en) | A kind of control method and electronic equipment of scene audio | |
CN108920053A (en) | A kind of alignment schemes and mobile terminal | |
CN106204423A (en) | A kind of picture-adjusting method based on augmented reality, device and terminal | |
CN109871358A (en) | A kind of management method and terminal device | |
CN108900695A (en) | A kind of display processing method and terminal device | |
CN109151367A (en) | A kind of video call method and terminal device | |
CN110035505A (en) | Semi-static SRS resource instruction, processing method, network side equipment, user terminal | |
CN109117239A (en) | A kind of screen wallpaper display methods and mobile terminal | |
CN108712577A (en) | A kind of call mode switching method and terminal device | |
CN103559731A (en) | Method and terminal for displaying lyrics under screen locking state | |
CN104598542B (en) | The display methods and device of multimedia messages | |
CN104966520B (en) | Control method for playing back, intelligent terminal and vehicle device play system | |
CN105357657B (en) | The construction method and device of Mesh network | |
CN110515521A (en) | A kind of screenshot method and mobile terminal | |
CN108810860A (en) | A kind of audio frequency transmission method, terminal device and main earphone | |
CN109862172A (en) | A kind of adjusting method and terminal of screen parameter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |
|
CP03 | Change of name, title or address |