ambient light and music control system and methodTechnical Field
the invention relates to a regulation control method of an environmental atmosphere, in particular to an environmental light and music control system.
background
At present, people often feel monotonous when walking in leisure in outdoor environments such as parks, lake sides, mountain and forest footpaths and the like. In the prior art, outdoor sound equipment or lighting equipment is installed in some environments; however, most of these lighting devices are used only as lighting.
in addition, for some large light shows, it is difficult for the audience at a distance to hear the music played by the live audio equipment. Moreover, the audio equipment installed in large outdoor places is high in cost, needs to be maintained frequently, and is high in labor cost for maintenance.
Disclosure of Invention
the invention aims to overcome the defects in the prior art and provide an environment lighting and music control system, which realizes the coordinated interaction of environment scenes, music and lighting by utilizing mobile terminals such as mobile phones and the like and combining the remote control of a network platform; and the system does not depend on-site sound equipment, so that the cost can be saved, and people in environmental scenes can be ensured to perfectly enjoy music. The technical scheme adopted by the invention is as follows:
An ambient light and music control system comprising: the system comprises a network platform, a mobile terminal and a scene main controller;
the mobile terminal is communicated with the network platform through a mobile communication network and can also be communicated with the scene main controller; the network platform is communicated with the scene main controller through a mobile communication network or a wired communication network; the scene main controller is connected with lighting equipment in the environment scene;
the mobile terminal has a positioning function.
Furthermore, music tracks are stored in the network platform, and the network platform can generate corresponding light control programs according to the rhythm of the music tracks; when the light control program is executed by the scene main controller, the light control program can control the light of the light equipment to correspondingly change according to the rhythm of the music; generating a section of light control program corresponding to each music song, and storing each section of light control program in a corresponding light control file;
For each environment scene, one or more suitable music tracks are selected in advance, the playing sequence is set, and corresponding light control programs are generated according to the rhythm of the selected music tracks and are stored in corresponding light control files; the execution sequence of the light control program corresponds to the playing sequence of the music tracks;
after generating the light control files related to each environmental scene, the network platform correspondingly issues the light control files containing the light control programs to the scene main controllers in each environmental scene;
after a user logs in a network platform, downloading music tracks which are adaptive to the environment scene where the user is located in advance; the playing sequence of the downloaded music tracks is the same as the playing sequence of the music tracks of the environmental scene set on the network platform;
at preset time, the network platform sends a light starting signal to a scene main controller in environmental scenes needing starting light, and simultaneously sends a music starting signal to mobile terminals in the environmental scenes; the scene main controller in the environment scene controls the light change of the light equipment according to the light control program, and the mobile terminal plays music tracks which are adaptive to the environment scene; the execution sequence of each light control program is consistent with the sequence of playing music tracks on the mobile terminal.
Further, in the present invention,
setting a scene space geographically related to the environmental scene on the network platform; after each user logs in the network platform through the mobile terminal, the network platform enables the user to enter a scene space corresponding to the geographical position of the user according to the geographical position of the user mobile terminal.
Further, in the present invention,
A plurality of synchronous marks are inserted into each section of light control program; when executing a light control program, the scene main controller feeds back the synchronous mark to the network platform; and the network platform judges the relative time of the received synchronous mark relative to the starting time, compares the relative time with the relative time of the synchronous mark insertion when the light control program is generated, and if the time difference exceeds a set threshold value, after the current light control program is finished, the network platform resends the light starting signal to the scene main controller in the environmental scene once and resends the music starting signal to the mobile terminal in the environmental scene once at the same time.
further, in the present invention,
the scene main controller is also connected with the scene sub-controllers, and the scene sub-controllers are connected with part of lighting equipment.
The invention also provides an ambient light and music control method, which comprises the following steps:
The network platform stores music tracks and can generate corresponding light control programs according to the rhythm of the music tracks; when the light control program is executed by the scene main controller, the light control program can control the light of the light equipment to correspondingly change according to the rhythm of the music; generating a section of light control program corresponding to each music song, and storing each section of light control program in a corresponding light control file;
for each environment scene, one or more suitable music tracks are selected in advance, the playing sequence is set, and corresponding light control programs are generated according to the rhythm of the selected music tracks and are stored in corresponding light control files; the execution sequence of the light control program corresponds to the playing sequence of the music tracks;
After generating the light control files related to each environmental scene, the network platform correspondingly issues the light control files containing the light control programs to the scene main controllers in each environmental scene;
after a user logs in a network platform, downloading music tracks which are adaptive to the environment scene where the user is located in advance; the playing sequence of the downloaded music tracks is the same as the playing sequence of the music tracks of the environmental scene set on the network platform;
at preset time, the network platform sends a light starting signal to a scene main controller in environmental scenes needing starting light, and simultaneously sends a music starting signal to mobile terminals in the environmental scenes; the scene main controller in the environment scene controls the light change of the light equipment according to the light control program, and the mobile terminal plays music tracks which are adaptive to the environment scene; the execution sequence of each light control program is consistent with the sequence of playing music tracks on the mobile terminal.
The invention has the advantages that:
1) The coordination interaction of environmental scenes, music and light is realized; after people enter an environment scene, people can enjoy matched music through a mobile phone when watching the light; so that people are relaxed and happy and interact with the environment.
2) the lighting equipment in the environment scene can automatically turn on the lighting at the preset time, and automatically control the lighting change according to the music melody adaptive to the environment scene.
3) The construction and maintenance cost of outdoor sound equipment is not needed; and the user can be ensured to hear the music clearly in a large outdoor scene.
Drawings
FIG. 1 is a schematic structural diagram of the present invention.
FIG. 2 is a schematic diagram of the control method of the present invention.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
as shown in fig. 1, the present invention provides an ambient light and music control system, which includes: the system comprises a network platform, a mobile terminal and a scene main controller;
the mobile terminal can adopt a smart phone and has a GPS positioning function, the mobile terminal is communicated with the network platform through a mobile communication network, and the mobile terminal can also be communicated with the scene main controller through WiFi or Bluetooth; the network platform can communicate with the scene main controller through a mobile communication network or a wired communication network; the scene main controller is installed in a specific environment scene and connected with lighting equipment in the environment scene;
when an environmental scene occupies a wider area, a scene sub-controller can be arranged, the scene main controller is connected with a part of lighting equipment, the scene main controller is also connected with the scene sub-controller, and the scene sub-controller is connected with a part of lighting equipment; the scene main controller or the scene sub-controller can control the light change of the lighting equipment through a DMX512 protocol or a KNX protocol;
the network platform is stored with music tracks and can generate corresponding light control programs according to the rhythm of the music tracks; when the light control program is executed by the scene main controller, the light of the light equipment can be controlled to correspondingly change according to the rhythm of the music; each music song correspondingly generates a section of light control program, and preferably, a plurality of synchronous marks can be inserted into the section of light control program; each section of the light control program is stored in a corresponding light control file;
for each environment scene, one or more suitable music tracks can be selected in advance, the playing sequence is set, and corresponding light control programs are generated according to the rhythm of the selected music tracks and are stored in corresponding light control files; the execution sequence of the light control program corresponds to the playing sequence of the music tracks;
The method can be realized by two programming modes, namely official programming and open programming, and specifically comprises the following steps:
Official programming: the manager of the network platform can select one or more music tracks which are suitable for the environment scene from all the stored music tracks and set the playing sequence well for each environment scene; the network platform generates corresponding light control programs according to the rhythm of the selected music tracks and stores the corresponding light control programs in corresponding light control files;
open programming: a user of the mobile terminal can log in a network platform, select one or more environmental scenes for each environmental scene displayed on the network platform, select one or more suitable music tracks for the selected environmental scenes, and set a playing sequence; the network platform generates corresponding light control programs according to the rhythm of the selected music tracks and stores the corresponding light control programs in corresponding light control files;
if the music tracks required by the user do not exist on the network platform, the music tracks are uploaded to the network platform through the mobile terminal, and a manager of the network platform checks the music tracks uploaded by the user; after the audit is passed, storing the data on a network platform;
after generating the light control files related to each environmental scene, the network platform can correspondingly issue the light control files containing the light control programs to the scene main controllers in each environmental scene;
The scene main controller is provided with a memory which can hold a light control file issued by the network platform; the scene main controller is provided with a light controller which can control the light change of the light equipment in the environmental scene according to the light control program in the light control file;
Setting a scene space geographically related to the environmental scene on the network platform; after each user logs in the network platform through the mobile terminal, the network platform enables the user to enter a scene space corresponding to the geographical position of the user according to the geographical position of the user mobile terminal;
after a user logs in a network platform, music tracks which are suitable for the environment scene where the user is located can be downloaded in advance; the playing sequence of the downloaded music tracks is the same as the playing sequence of the music tracks of the environmental scene set on the network platform;
at preset time, the network platform sends a light starting signal to a scene main controller in environmental scenes needing starting light, and simultaneously sends a music starting signal to mobile terminals in the environmental scenes; the network platform can carry out scene management according to the environment according to the scene space entered by the user on the network platform;
the scene main controller in the environment scene controls the light change of the light equipment according to the light control program, and the mobile terminal plays music tracks which are adaptive to the environment scene; the execution sequence of each light control program is consistent with the sequence of playing music songs on the mobile terminal; thus, the user can enjoy the light and the music matched with the light;
the mobile terminal can be provided with an APP corresponding to the network platform, and after a user operates the APP on the mobile terminal to log in the network platform, the mobile terminal enters a scene space corresponding to the geographical position of the user mobile terminal and can listen to the played music on an interface of the scene space;
When executing a light control program, the scene main controller feeds back the synchronous mark to the network platform; the network platform judges the relative time of the received synchronous mark relative to the starting time, compares the relative time with the relative time of the synchronous mark insertion when the light control program is generated, and if the time difference exceeds a set threshold value, the situation that the light control synchronization of the site is in a problem is shown; after the current light control program is finished, the network platform resends a light starting signal to a scene main controller in the environmental scene and resends a music starting signal to a mobile terminal in the environmental scene so as to synchronously control the execution of the next section of light control program and the playing of the next music track;
finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to examples, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.