CN111526651B - Intelligent control method and device for lamp and lamp - Google Patents

Intelligent control method and device for lamp and lamp Download PDF

Info

Publication number
CN111526651B
CN111526651B CN202010325627.XA CN202010325627A CN111526651B CN 111526651 B CN111526651 B CN 111526651B CN 202010325627 A CN202010325627 A CN 202010325627A CN 111526651 B CN111526651 B CN 111526651B
Authority
CN
China
Prior art keywords
lamp
audio data
lamp control
control signal
terminal equipment
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
Application number
CN202010325627.XA
Other languages
Chinese (zh)
Other versions
CN111526651A (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.)
Beijing Weijia Technology Co ltd
Original Assignee
Beijing Smartmi Technology 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 Beijing Smartmi Technology Co Ltd filed Critical Beijing Smartmi Technology Co Ltd
Priority to CN202010325627.XA priority Critical patent/CN111526651B/en
Publication of CN111526651A publication Critical patent/CN111526651A/en
Application granted granted Critical
Publication of CN111526651B publication Critical patent/CN111526651B/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/175Controlling the light source by remote control
    • 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

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to the technical field of lamps, in particular to an intelligent lamp control method, an intelligent lamp control device and an intelligent lamp, wherein the intelligent lamp control method comprises the steps of collecting audio data and converting the audio data into lamp control signals; and providing the lamp control signal to the lamp so that the lamp adjusts the lamp light according to the lamp control signal. According to the intelligent lamp control method and device and the lamp, the music mode is added for intelligent control of the lamp, and the lamp light of the lamp can be controlled to be changed according to the sound rhythm, so that the versatility and the playability of the intelligent lamp are improved, and the attraction of the intelligent lamp and an App to a user can be improved.

Description

Intelligent control method and device for lamp and lamp
Technical Field
The invention relates to the technical field of lamps, in particular to an intelligent lamp control method and device and a lamp.
Background
The smart home is becoming popular, so that more and more home appliances start to have the smart networking function, and after the home appliances are connected to a server, the home appliances can be remotely controlled through a mobile phone App. The lamp is a common intelligent home, the operation such as remote switching and brightness adjustment can be performed on the lamp by utilizing the mobile phone APP, the intelligent operation of the lamp is limited to some simple basic remote control operations at present, and the function is relatively single, so that the user's intention of using the App remote control is low.
Disclosure of Invention
In view of the above, the invention provides a method and a device for intelligently controlling a lamp, and the lamp, which can control the lamp to change according to the sound rhythm, so that the intelligent lamp has a music mode, and the control versatility of the intelligent lamp is further increased, thereby improving the interest in use.
According to one aspect of the invention, an intelligent control method for a lamp is provided.
The intelligent lamp control method is applied to terminal equipment and comprises the following steps: collecting audio data, and then converting the audio data into lamp control signals; and providing the lamp control signal to the lamp so that the lamp adjusts the lamp light according to the lamp control signal.
Optionally, the step of collecting audio data includes one of: acquiring audio data of sound played by terminal equipment; acquiring audio data stored by the terminal equipment; and receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment.
Optionally, the step of converting the audio data into the luminaire control signal comprises: and processing the audio data by adopting a specified information conversion mode so as to convert the audio data into lamp control signals.
Optionally, the information transformation means comprises a fourier transform.
Optionally, the step of providing a luminaire control signal to the luminaire comprises one of: transmitting the lamp control signal to a server so that the server forwards the lamp control signal to the lamp; and sending the lamp control signal to the lamp in a Bluetooth mode.
According to another aspect of the invention, an intelligent lamp control device is provided.
The intelligent lamp control device is arranged on a terminal device and comprises: the acquisition module is used for acquiring audio data; the conversion module is used for converting the audio data into lamp control signals; and the sending module is used for providing a lamp control signal for the lamp so that the lamp can adjust the lamp light according to the lamp control signal.
Optionally, the acquisition module is further configured to one of: acquiring audio data of sound played by terminal equipment; acquiring audio data stored by the terminal equipment; and receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment.
Optionally, the conversion module is further configured to: and processing the audio data by adopting a specified information conversion mode so as to convert the audio data into lamp control signals.
Optionally, the sending module is further configured to one of: transmitting the lamp control signal to a server so that the server forwards the lamp control signal to the lamp; and sending the lamp control signal to the lamp in a Bluetooth mode.
According to yet another aspect of the present invention, a luminaire is provided.
The lamp of the present invention includes: the wireless connection module is used for being connected with external equipment in a wireless mode; the receiving module is used for receiving the lamp control signal provided by the intelligent lamp control device; and the light adjusting module is used for adjusting light according to the lamp control signal.
Optionally, the light adjustment module is further configured to one of: adjusting the brightness of the lamplight, adjusting the color temperature of the lamplight and adjusting the flickering mode of the lamplight.
Drawings
For purposes of illustration and not limitation, the invention will now be described in accordance with its preferred embodiments, particularly with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a luminaire intelligent control method provided by an embodiment of the invention;
fig. 2 is a block diagram of a lamp intelligent control device according to an embodiment of the present invention;
fig. 3 is a block diagram of a lamp according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, the lamplight of the lamp is adjusted according to the collected audio data, so that the intelligent lamp is added with a music mode, and the intelligent lamp is specifically described below.
FIG. 1 is a flow chart of a luminaire intelligent control method provided by an embodiment of the invention; the intelligent control method of the lamp is applied to terminal equipment (such as a mobile phone, a tablet personal computer and the like), as shown in figure 1, and comprises the following steps,
step S1: collecting audio data;
step S2: converting the audio data into lamp control signals;
step S3: and providing the lamp control signal to the lamp so that the lamp adjusts the lamp light according to the lamp control signal.
By utilizing the intelligent lamp control method provided by the embodiment of the invention, a music mode can be added in the aspect of intelligent lamp control, the client side converts the collected audio data into the lamp control signal in the music mode, and the lamp control signal enables the lamp to change in brightness, color temperature or flickering mode along with the music rhythm, so that the diversity and interactivity of intelligent lamp control are improved.
In step S1, the manner of collecting audio data includes obtaining audio data of a sound played by the terminal device, that is, obtaining a sound being played by the terminal device, for example, directly obtaining a sound being played by the mobile phone by calling a bottom layer interface of the mobile phone system; or acquiring the audio data stored by the terminal equipment, wherein the part of audio data is data stored in the mobile terminal and can be directly acquired without playing; or receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment, namely collecting the audio data of the current environment (the environment where the lamp is positioned), for example, collecting the external audio data by using a microphone of the mobile phone, and converting the part of the audio data into a lamp control signal.
In step S2, the step of converting the audio data into a lamp control signal includes: and processing the audio data by adopting a specified information conversion mode so as to convert the audio data into lamp control signals. When converting audio data, the collected audio data is processed in a specified information conversion mode, such as Fourier conversion mode, the energy distribution of the sound at each moment in each frequency band is analyzed during processing, the brightness of the lamplight is determined according to the total energy of all the frequency bands, and the color temperature of the lamplight is determined according to the energy proportion of each frequency band, for example, when the high-frequency energy is higher, the lamplight is cold, and when the low-frequency energy is higher, the lamplight is warm.
In step S3, the method for providing the lamp control signal to the lamp includes two methods, one is that the client on the terminal device sends the lamp control signal to the server, then the server forwards the lamp control signal to the router, and finally the router sends the lamp control signal to the lamp, so that the method is suitable for remote operation; the other is that the client on the terminal equipment adopts a Bluetooth or wireless local area network direct connection mode to send the lamp control signal to the lamp, and the mode is suitable for short-distance operation. The two signal transmission modes provide different applicable requirements, wherein the delay is smaller by adopting a Bluetooth or wireless local area network direct connection mode, so that the signal transmission is more stable.
Fig. 2 is a block diagram of a lamp intelligent control device according to an embodiment of the present invention. As shown in fig. 2, the intelligent lamp control device 10 is installed on a terminal device, and comprises an acquisition module 101, a conversion module 102 and a sending module 103, wherein the acquisition module 101 is used for acquiring audio data; the conversion module 102 is used for converting the audio data into lamp control signals; the sending module 103 is configured to provide a lamp control signal to the lamp, so that the lamp adjusts the light according to the lamp control signal.
The acquisition module 101 is further configured to acquire audio data of sound played by the terminal device; if the bottom layer interface of the mobile phone system is called, the sound played by the mobile phone is directly obtained; or the method is also used for acquiring the audio data stored by the terminal equipment; the part of audio data is data stored in the mobile terminal and can be directly acquired without playing; or receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment, namely collecting the audio data of the current environment (the environment where the lamp is positioned), for example, collecting the external audio data by using a microphone of the mobile phone, and converting the partial data into a lamp control signal.
The conversion module 102 is further configured to process the audio data in a specified information conversion manner, so as to convert the audio data into a lamp control signal. When the conversion module 102 operates, the collected audio data is processed in real time by using a specified information change mode, such as fourier transform, so as to analyze the energy distribution of the sound at each moment in each frequency band, determine the brightness of the light according to the total energy of all the frequency bands, and determine the color temperature of the light according to the specific gravity of the energy of each frequency band.
When the sending module 103 sends the lamp control signal, the lamp control signal can be sent to the server, so that the server forwards the lamp control signal to the lamp, and the sending mode is suitable for remote intelligent control of the lamp; or the lamp control signal is sent to the lamp in a Bluetooth mode, and the sending mode is suitable for short-distance intelligent control, wherein the delay is smaller in a Bluetooth or wireless local area network direct connection mode, so that the signal transmission is more stable.
FIG. 3 is a block diagram of a lamp provided by an embodiment of the present invention; as shown in fig. 3, the lamp 20 includes a wireless connection module 201, a receiving module 202, and a light adjusting module 203. The wireless connection module 201 is used for wireless connection with external equipment; the receiving module 202 is configured to receive a lamp control signal provided by the intelligent lamp control device; the light adjusting module 203 is configured to adjust light according to the light control signal, where adjusting light includes but is not limited to adjusting brightness of light, adjusting color temperature of light, and adjusting flickering mode of light.
When the intelligent control of the music mode is carried out on the lamp, firstly, connection is established between the lamp and a terminal device (hereinafter, a mobile phone is taken as an example), specifically, a user sets the lamp to be in a networking state, logs in a mobile phone client, namely, an App, searches the lamp by using the App through Bluetooth or a local wireless local area network, sends the network name and the password of a router to the lamp, the lamp is connected to the router at the moment, then is connected to a server through the router, the server notifies the App after connection is successful, the App binds the lamp to an account of the user, and then the user can remotely control the lamp by using the App through the server.
In addition, the lamp can be directly connected with the mobile phone through Bluetooth, or the lamp and the mobile phone are connected into the same local area network to be interconnected, so that information is not forwarded through a server.
After connection is completed, the lamp can receive lamp control signals sent by the intelligent lamp control device (namely the mobile phone APP), and the lamp light adjusting module in the lamp adjusts the lamp light according to the lamp control signals, so that the brightness, the color temperature, the flickering mode and the like of the lamp light are changed, and the effect that the lamp light changes along with the rhythm of the audio frequency is achieved.
The intelligent lamp has a music mode, so that the multifunction and playability of the intelligent lamp are improved, and the attraction of the intelligent lamp and an App to a user can be improved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. An intelligent control method of a lamp, which is applied to terminal equipment, is characterized in that the method comprises the following steps:
the method comprises the steps of collecting audio data, wherein the mode of collecting the audio data comprises the steps of obtaining audio data of sound played by terminal equipment or obtaining audio data stored by the terminal equipment;
processing the collected audio data in real time by utilizing Fourier transformation, analyzing the energy distribution of the sound at each moment in each frequency band, determining the brightness of the lamplight according to the total energy of all the frequency bands, and determining the color temperature of the lamplight according to the energy proportion of each frequency band;
and providing a lamp control signal to the lamp so that the lamp adjusts the light according to the lamp control signal, wherein the lamp control signal comprises the brightness of the light and the color temperature of the light.
2. The method of claim 1, wherein the step of capturing audio data comprises one of:
acquiring audio data of sound played by terminal equipment;
acquiring audio data stored by the terminal equipment;
and receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment.
3. The method of claim 1, wherein the step of providing a lamp control signal to the lamp comprises one of:
transmitting the lamp control signal to a server so that the server forwards the lamp control signal to the lamp;
and sending the lamp control signal to the lamp in a Bluetooth mode.
4. An intelligent lamp control device is arranged on a terminal device and is characterized in that the device comprises:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring audio data, and the mode of acquiring the audio data comprises the steps of acquiring the audio data of sound played by terminal equipment or acquiring the audio data stored by the terminal equipment;
the conversion module is used for processing the collected audio data in real time by utilizing Fourier transformation, analyzing the energy distribution of the sound at each moment in each frequency band, determining the brightness of the lamplight according to the total energy of all the frequency bands, and determining the color temperature of the lamplight according to the energy proportion of each frequency band;
the sending module is used for providing a lamp control signal for the lamp so that the lamp can adjust the light according to the lamp control signal, and the lamp control signal comprises the brightness of the light and the color temperature of the light.
5. The apparatus of claim 4, wherein the acquisition module is further configured to one of:
acquiring audio data of sound played by terminal equipment;
acquiring audio data stored by the terminal equipment;
and receiving the audio data of the external sound collected by the terminal equipment from the terminal equipment.
6. The apparatus of claim 4, wherein the transmitting module is further configured to one of:
transmitting the lamp control signal to a server so that the server forwards the lamp control signal to the lamp;
and sending the lamp control signal to the lamp in a Bluetooth mode.
7. A light fixture, comprising:
the wireless connection module is used for being connected with external equipment in a wireless mode;
a receiving module, configured to receive a lamp control signal provided by the intelligent lamp control device according to any one of claims 4 to 6;
and the light adjusting module is used for adjusting light according to the lamp control signal.
8. A light fixture as recited in claim 7, wherein the light adjustment module is further configured to one of: adjusting the brightness of the lamplight, adjusting the color temperature of the lamplight and adjusting the flickering mode of the lamplight.
CN202010325627.XA 2020-04-23 2020-04-23 Intelligent control method and device for lamp and lamp Active CN111526651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010325627.XA CN111526651B (en) 2020-04-23 2020-04-23 Intelligent control method and device for lamp and lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010325627.XA CN111526651B (en) 2020-04-23 2020-04-23 Intelligent control method and device for lamp and lamp

Publications (2)

Publication Number Publication Date
CN111526651A CN111526651A (en) 2020-08-11
CN111526651B true CN111526651B (en) 2023-05-26

Family

ID=71903201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010325627.XA Active CN111526651B (en) 2020-04-23 2020-04-23 Intelligent control method and device for lamp and lamp

Country Status (1)

Country Link
CN (1) CN111526651B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367749A (en) * 2020-10-15 2021-02-12 佛山市利升光电有限公司 Intelligent lamp control system
CN113986188A (en) * 2021-10-26 2022-01-28 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable storage medium
CN114286478B (en) * 2021-12-31 2024-03-22 深圳市智岩科技有限公司 Lamp control method and related equipment thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103918353A (en) * 2011-11-07 2014-07-09 皇家飞利浦有限公司 User interface using sounds to control a lighting system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203416455U (en) * 2013-06-09 2014-01-29 深圳市日上光电股份有限公司 A wireless sound equipment illumination control system
CN106061044B (en) * 2016-07-28 2018-03-09 深圳市国华光电研究院 A kind of intelligent lamp control method and control system based on DTMF patterns
CN107172792A (en) * 2017-07-10 2017-09-15 东莞市三恩照明实业有限公司 A kind of APP music intelligent lamps of tunable optical toning
CN109640465A (en) * 2018-11-07 2019-04-16 萤火虫(深圳)灯光科技有限公司 Lamp light control method, device, equipment and the storage medium of automatic identification music
CN109287053B (en) * 2018-11-13 2019-07-30 龙马智芯(珠海横琴)科技有限公司 Light flash control method, based reminding method, system for prompting and lighting apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103918353A (en) * 2011-11-07 2014-07-09 皇家飞利浦有限公司 User interface using sounds to control a lighting system

Also Published As

Publication number Publication date
CN111526651A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN111526651B (en) Intelligent control method and device for lamp and lamp
WO2020249098A1 (en) Bluetooth communication method, tws bluetooth headset, and terminal
WO2019218368A1 (en) Tws headphones, wrist-worn ai voice interaction device and system
CN110138937A (en) A kind of call method, equipment and system
US20180308348A1 (en) Wireless voice transparent transmission apparatus and control terminal
WO2021164043A1 (en) Audio and video transmission apparatus and audio and video transmission system
CN106685772A (en) Intelligent speaker, intelligent housing system and implementation method thereof
CN105578640A (en) Audio-based lamp control system and device and control method and application thereof
CN204616044U (en) Based on the music share system of Bluetooth technology
US10542353B2 (en) Hearing aid with assisted noise suppression
CN109890018A (en) Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio
CN105580389A (en) Hearing aid having a classifier
US20070242839A1 (en) Remote wireless microphone system for a video camera
CN102098372A (en) Method and device for intelligently adjusting receiver volume of handheld device
CN104780091B (en) A kind of instant communicating method and system with speech audio processing function
CN104780433A (en) Distance-sensing-based wireless screen transmission system and method
CN111756764B (en) Audio signal interaction method and system based on WiFi
CN104869505B (en) A kind of method for controlling volume, playback equipment, mobile terminal and system
CN105636041A (en) Networking method and apparatus for intelligent device
CN205829977U (en) A kind of wireless speech dialogue being applicable to tradition sound equipment and control device
DE112021003962T5 (en) WIRELESS POWER TRANSMISSION FOR AUDIO PLAYBACK DEVICES
CN108925014B (en) Light source brightness control method, system and equipment
CN106708466A (en) Audio playing control method and device
CN105682002A (en) Communication connection establishment method and data communication method and system
WO2011003259A1 (en) Bluetooth-based monitoring method and device

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
TR01 Transfer of patent right

Effective date of registration: 20230721

Address after: Room 6317, 3rd Floor, Building 6, No. 18 Xueqing Road, Haidian District, Beijing, 100083

Patentee after: Beijing Weijia Technology Co.,Ltd.

Address before: 100085 room 201-203, 2 / F, unit 10, building a, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Patentee before: BEIJING SMARTMI TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231024

Address after: Room 6317, 3rd Floor, Building 6, No. 18 Xueqing Road, Haidian District, Beijing, 100083

Patentee after: Beijing Weijia Technology Co.,Ltd.

Address before: 100085 room 201-203, 2 / F, unit 10, building a, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Patentee before: BEIJING SMARTMI TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right