CN106140527B - A control method of a music fountain remote control system - Google Patents
A control method of a music fountain remote control system Download PDFInfo
- Publication number
- CN106140527B CN106140527B CN201610712872.XA CN201610712872A CN106140527B CN 106140527 B CN106140527 B CN 106140527B CN 201610712872 A CN201610712872 A CN 201610712872A CN 106140527 B CN106140527 B CN 106140527B
- Authority
- CN
- China
- Prior art keywords
- module
- fountain
- control
- switch
- audio
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 45
- 238000012544 monitoring process Methods 0.000 claims abstract description 5
- 230000001276 controlling effect Effects 0.000 claims description 15
- 230000005236 sound signal Effects 0.000 claims description 13
- 230000000875 corresponding effect Effects 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 6
- 241001465382 Physalis alkekengi Species 0.000 claims description 5
- 230000033764 rhythmic process Effects 0.000 claims description 4
- 230000009466 transformation Effects 0.000 claims description 2
- 239000007921 spray Substances 0.000 abstract description 4
- 238000002347 injection Methods 0.000 abstract 1
- 239000007924 injection Substances 0.000 abstract 1
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 9
- 230000010365 information processing Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 230000035945 sensitivity Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B12/00—Arrangements for controlling delivery; Arrangements for controlling the spray area
- B05B12/08—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B17/00—Apparatus for spraying or atomising liquids or other fluent materials, not covered by the preceding groups
- B05B17/08—Fountains
-
- 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
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
- Special Spraying Apparatus (AREA)
Abstract
Description
技术领域technical field
本发明涉及音乐喷泉领域,尤其涉及一种音乐喷泉远程控制系统及其控制方法。The invention relates to the field of music fountains, in particular to a music fountain remote control system and a control method thereof.
背景技术Background technique
音乐喷泉是一种为了娱乐而创造出来的可以活动的喷泉,可以根据音乐的高低起伏变化,从而达到喷泉水型、灯光及色彩的变化与音乐情绪的完美结合。Music fountain is a movable fountain created for entertainment. It can change according to the ups and downs of music, so as to achieve the perfect combination of fountain water type, lighting and color changes and music mood.
目前一般的音乐喷泉当需要开启或关闭喷泉时,都需要人工至喷泉控制室内打开或关闭电源。频繁切换电源不仅对控制设备本身会造成损害,而且对工作人员的人身安全也存在一定的安全隐患。At present, when the general music fountain needs to turn on or off the fountain, it needs to manually turn on or turn off the power in the fountain control room. Frequent switching of the power supply will not only cause damage to the control equipment itself, but also pose a certain safety hazard to the personal safety of the staff.
而对于控制音乐喷泉的音乐则主要有两种类型:一是单片机控制系统;二是多媒体(电脑)控制系统。单片机音乐喷泉控制系统实际上是采用单片机集成电路来存储和播放固定的音频文件,配合工控机从而开关喷泉水泵,但是这个系统的音乐文件是事先存储在本地的,用户很难随心所欲选择喜爱的歌曲。采用多媒体(电脑)控制方式采用了电脑控制音乐播放,可以做到用户任意选择想要播放的歌曲。但是这种方式一般是电脑直接通过音频线连接至喷泉控制器,而目前喷泉控制室一般都是在室外,这就对二者之间的通信方式及线路提出了很大的要求,距离越远则通信越困难。There are two main types of music for controlling the music fountain: one is the single-chip control system; the other is the multimedia (computer) control system. The single-chip music fountain control system actually uses the single-chip integrated circuit to store and play fixed audio files, and cooperate with the industrial computer to switch the fountain water pump, but the music files of this system are stored locally in advance, and it is difficult for users to choose their favorite songs at will. . The multimedia (computer) control method adopts computer-controlled music playback, which allows users to arbitrarily select the songs they want to play. However, in this way, the computer is usually directly connected to the fountain controller through the audio cable. At present, the fountain control room is generally outdoors, which puts forward great requirements on the communication method and line between the two, and the farther the distance is. The more difficult it is to communicate.
目前,国内的喷泉项目逐渐向智能化,分散化,综合化方向发展。随着互联网与物联网的发展,利用以太网络完成对喷泉等终端设备的电源控制、音频传输等方式的设计与应用是非常有意义的,可以使用户足不出户即可完成对喷泉等现场设备的控制,而且具有很大的方便性、快捷性以及安全性。同时,利用互联网的优势,可以随时根据不同的要求作出相应的响应,这也使得音乐喷泉的可定制性、娱乐性与互动性进一步提高。At present, domestic fountain projects are gradually developing in the direction of intelligence, decentralization and integration. With the development of the Internet and the Internet of Things, it is very meaningful to use the Ethernet network to complete the design and application of power control and audio transmission for terminal equipment such as fountains. Equipment control, and has great convenience, speed and safety. At the same time, taking advantage of the Internet, it can respond to different requirements at any time, which further improves the customizability, entertainment and interactivity of the music fountain.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是针对背景技术的不足提供了一种音乐喷泉远程控制系统及其控制方法。The technical problem to be solved by the present invention is to provide a music fountain remote control system and its control method aiming at the deficiencies of the background technology.
本发明为解决上述技术问题采用以下技术方案The present invention adopts the following technical solutions to solve the above technical problems
一种音乐喷泉远程控制系统的控制方法,喷泉控制终端、云服务器终端和客户端,所述喷泉控制终端和云服务器终端连接,所述云服务器终端与客户端连接;所述喷泉控制终端包含喷泉水泵、彩灯、喷泉控制机柜、开关控制模块、音频解码模块、扬声器、交换机、摄像头模块,所述交换机分别与开关控制模块、音频解码模块和摄像头模块连接,所述音频解码模块的输出端连接扬声器的输入端,所述开关控制模块、音频解码模块分别输出开关控制信号和音频流信号至喷泉控制机柜,所述喷泉控制机柜分别与喷泉水泵和彩灯连接,用于通过控制电路控制喷泉水泵与彩灯的状态;所述喷泉控制机柜包括音频流输入接口、开关控制输入接口以及将音频信号转换为喷泉水泵控制信号的处理模块,所述音频流输入接口、开关控制输入接口分别与处理模块连接;所述开关控制模块包括第一单片机模块以及分别与其连接的第一以太网模块和继电器模块;所述音频解码模块包含第二单片机模块以及分别与其连接的第二以太网模块、音频输出模块;所述摄像头模块包含依次连接的画面采集模块和第三以太网模块,用于将采集的实时监控画面通过第三以太网模块发送到云服务器平台供第三方查看;A control method for a music fountain remote control system, comprising a fountain control terminal, a cloud server terminal and a client, wherein the fountain control terminal is connected with the cloud server terminal, and the cloud server terminal is connected with the client; the fountain control terminal includes a fountain Water pump, lantern, fountain control cabinet, switch control module, audio decoding module, speaker, switch, camera module, the switch is respectively connected with the switch control module, audio decoding module and camera module, the output end of the audio decoding module is connected The input end of the speaker, the switch control module and the audio decoding module respectively output the switch control signal and the audio stream signal to the fountain control cabinet, and the fountain control cabinet is respectively connected with the fountain water pump and the lantern for controlling the fountain water pump through the control circuit and the state of the lanterns; the fountain control cabinet includes an audio stream input interface, a switch control input interface, and a processing module that converts the audio signal into a fountain water pump control signal, and the audio stream input interface and the switch control input interface are respectively associated with the processing module. connection; the switch control module includes a first single-chip module and a first Ethernet module and a relay module respectively connected to it; the audio decoding module includes a second single-chip module and a second Ethernet module and an audio output module respectively connected to it The camera module comprises a picture acquisition module and a third Ethernet module connected in sequence, and is used for sending the collected real-time monitoring picture to the cloud server platform for a third party to view through the third Ethernet module;
所述方法还具体包括如下步骤:The method also specifically includes the following steps:
步骤1,将所述音乐喷泉远程控制系统初始化;Step 1, initialize the music fountain remote control system;
步骤2,用户查看当前实时视频,然后根据实际情况选择开关喷泉、开关彩灯以及播放、切换或停止歌曲;Step 2, the user views the current real-time video, and then chooses to switch on and off the fountain, switch on and off the lights, and play, switch or stop the song according to the actual situation;
步骤3,将步骤2用户选择的操作指令发送至云服务器平台;Step 3, sending the operation instruction selected by the user in step 2 to the cloud server platform;
步骤4,云服务器平台收到用户选择的操作指令后,进行解析,然后根据预设的规则将处理后的控制指令或者音频流下发至开关控制模块或音频解码模块;Step 4: After receiving the operation instruction selected by the user, the cloud server platform parses it, and then sends the processed control instruction or audio stream to the switch control module or the audio decoding module according to the preset rules;
步骤5,开关控制模块解析云服务器平台下发的控制指令然后进行相应的动作,进而控制喷泉水泵和彩灯的电源;Step 5, the switch control module parses the control instructions issued by the cloud server platform and performs corresponding actions, thereby controlling the power supply of the fountain water pump and the lanterns;
步骤6,音频解码模块接收云服务器平台下发的音频流,并将其解码后输出至扬声器与喷泉控制机柜,进而实现喷泉水柱根据音乐节奏进行变换。Step 6, the audio decoding module receives the audio stream issued by the cloud server platform, decodes it and outputs it to the speaker and the fountain control cabinet, thereby realizing the transformation of the fountain water column according to the music rhythm.
本发明采用以上技术方案与现有技术相比,具有以下技术效果:Compared with the prior art, the present invention adopts the above technical scheme, and has the following technical effects:
1.本发明提供了一种远程控制的音乐喷泉的结构和方法。该结构包括喷泉水泵和彩灯、喷泉控制机柜、开关控制模块、音频解码模块、扬声器、摄像头模块、云服务平台、网页和手机APP等;1. The present invention provides a structure and method for a remote-controlled musical fountain. The structure includes fountain water pump and lanterns, fountain control cabinet, switch control module, audio decoding module, speaker, camera module, cloud service platform, web page and mobile APP, etc.;
2.用户通过网页和手机APP等方式来实现对音乐喷泉的开关控制和音乐选择,同时提供实时的视频监控画面配合用户进行控制;2. The user can realize the switch control and music selection of the music fountain through the webpage and mobile APP, and at the same time provide the real-time video monitoring screen to cooperate with the user to control;
3.用户打开网页或者手机APP,通过视频画面查看当前音乐喷泉的状态,然后通过点击按键实现对喷泉水泵和彩灯的开关状态的改变;3. The user opens the webpage or mobile APP, checks the current status of the music fountain through the video screen, and then changes the switch status of the fountain water pump and colored lights by clicking the button;
4.用户可以点击预设的歌曲列表或者直接上传本地歌曲来改变当前播放的音乐,扬声器会实时播放音乐,同时喷泉水泵会配合不同的音乐节奏进行不同的花式喷射。4. Users can click the preset song list or directly upload local songs to change the currently playing music, the speaker will play the music in real time, and the fountain pump will perform different fancy sprays in accordance with different music rhythms.
5.其中用户不同的控制指令通过网络发送至云服务平台,云服务平台将处理后的控制指令通过网络发送至开关控制模块或音频解码模块,进而将控制指令发送至喷泉控制机柜,实现对彩灯和喷泉水泵喷射形态的控制。5. The user's different control commands are sent to the cloud service platform through the network, and the cloud service platform sends the processed control commands to the switch control module or audio decoding module through the network, and then sends the control commands to the fountain control cabinet to realize color matching. Control of the jet pattern of lamps and fountain pumps.
6.本发明涉及的结构和方法使得音乐喷泉的可定制性、娱乐性与互动性得到很大提高。6. The structure and method involved in the present invention greatly improve the customizability, entertainment and interactivity of the musical fountain.
附图说明Description of drawings
图1为本发明中远程控制的音乐喷泉的结构示意图;Fig. 1 is the structural representation of the music fountain of remote control in the present invention;
图2为本发明中远程控制音乐喷泉的方法实施例一的流程图;Fig. 2 is the flow chart of the method embodiment 1 of the remote control music fountain in the present invention;
图3为本发明中远程控制音乐喷泉的方法实施例二的流程图;3 is a flow chart of Embodiment 2 of a method for remotely controlling a music fountain in the present invention;
图4为本发明中远程控制音乐喷泉的方法实施例三的流程图;4 is a flowchart of Embodiment 3 of a method for remotely controlling a musical fountain in the present invention;
图5为本发明中摄像头模块结构图;5 is a structural diagram of a camera module in the present invention;
图6为本发明中开关控制模块结构图;6 is a structural diagram of a switch control module in the present invention;
图7为本发明中音频解码模块结构图;7 is a structural diagram of an audio decoding module in the present invention;
图8为本发明中喷泉控制机柜结构图。FIG. 8 is a structural diagram of a fountain control cabinet in the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的技术方案做进一步的详细说明:Below in conjunction with accompanying drawing, the technical scheme of the present invention is described in further detail:
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments.
图1为本发明中远程控制的音乐喷泉的结构示意图,一种音乐喷泉远程控制系统,喷泉控制终端、云服务器终端和客户端,所述喷泉控制终端和云服务器终端连接,所述云服务器终端与客户端连接;所述喷泉控制终端包含喷泉水泵、彩灯、喷泉控制机柜、开关控制模块、音频解码模块、扬声器、交换机、摄像头模块,所述交换机分别与开关控制模块、音频解码模块和摄像头模块连接,所述音频解码模块的输出端连接扬声器的输入端,所述开关控制模块、音频解码模块分别输出开关控制信号和音频流信号至喷泉控制机柜,所述喷泉控制机柜分别与喷泉水泵和彩灯连接,用于通过控制电路控制水泵与彩灯的状态。Fig. 1 is the structural representation of the musical fountain of remote control in the present invention, a kind of musical fountain remote control system, fountain control terminal, cloud server terminal and client, described fountain control terminal and cloud server terminal are connected, and described cloud server terminal Connected with the client; the fountain control terminal includes a fountain water pump, colored lights, a fountain control cabinet, a switch control module, an audio decoding module, a speaker, a switch, and a camera module, and the switch is respectively connected with the switch control module, the audio decoding module and the camera. Module connection, the output end of the audio decoding module is connected to the input end of the speaker, the switch control module and the audio decoding module respectively output the switch control signal and the audio stream signal to the fountain control cabinet, and the fountain control cabinet is respectively connected with the fountain water pump and the fountain control cabinet. The lantern connection is used to control the state of the water pump and the lantern through the control circuit.
其中,所述喷泉控制机柜包括音频流输入接口、开关控制输入接口以及可以将音频信号转换为水泵控制信号的处理模块,所述音频流输入接口、开关控制输入接口分别于处理模块连接,所述开关控制模块包括第一单片机模块以及分别与其连接的第一以太网模块和继电器模块,所述音频解码模块包含第二单片机模块以及分别与其连接的第二以太网模块、音频输出模块,所述摄像头模块包含依次连接的画面采集模块和第三以太网模块,用于将采集的实时监控画面通过第三以太网模块发送到云服务器平台供第三方查看。本发明中远程控制音乐喷泉的方法实施例均是基于图1所示结构示意图实现的。The fountain control cabinet includes an audio stream input interface, a switch control input interface, and a processing module that can convert audio signals into water pump control signals. The audio stream input interface and the switch control input interface are respectively connected to the processing module. The switch control module includes a first single-chip module, a first Ethernet module and a relay module respectively connected thereto, the audio decoding module includes a second single-chip module, a second Ethernet module and an audio output module respectively connected thereto, the camera The module includes a picture acquisition module and a third Ethernet module connected in sequence, and is used for sending the collected real-time monitoring picture to the cloud server platform through the third Ethernet module for a third party to view. Embodiments of the method for remotely controlling a music fountain in the present invention are all implemented based on the schematic structural diagram shown in FIG. 1 .
本发明中的第一以太网模块、第二以太网模块和第三以太网模块其实均采用同一种以太网络,为了便于区别所以采用第一以太网模块、第二以太网模块和第三以太网模块;同样第一单片机模块、第二单片机模块、第三单片机模块也是采用同一种控制器,也是为了便于区别所以采用第一单片机模块、第二单片机模块、第三单片机模块描述系统,更加清楚。In the present invention, the first Ethernet module, the second Ethernet module and the third Ethernet module all use the same Ethernet network. For the convenience of distinction, the first Ethernet module, the second Ethernet module and the third Ethernet module are used. module; Similarly, the first single-chip module, the second single-chip module, and the third single-chip module also use the same controller, and for the sake of convenience, the first single-chip module, the second single-chip module, and the third single-chip module are used to describe the system, which is more clear.
图2为本发明中远程控制音乐喷泉的方法实施例一的流程图。如图2所示,本实施例中的受控主体是开关控制模块,其可以控制喷泉水泵和彩灯开关状态的改变。本实施例提供的远程控制音乐喷泉的方法包括:FIG. 2 is a flowchart of Embodiment 1 of a method for remotely controlling a music fountain in the present invention. As shown in FIG. 2 , the controlled subject in this embodiment is a switch control module, which can control the change of the switch states of the fountain water pump and the colored lights. The method for remotely controlling a music fountain provided by this embodiment includes:
用户打开网页或者手机APP,软件进行初始化,然后向云服务平台请求实时的视频流数据,通过内置的播放功能播放实时的视频,供用户查看喷泉当前的状态。The user opens the webpage or mobile APP, the software is initialized, and then requests the real-time video stream data from the cloud service platform, and plays the real-time video through the built-in playback function for the user to view the current status of the fountain.
用户根据当前的喷泉状态选择开、关喷泉或者开、关彩灯,点击相应的按键。The user chooses to turn on or off the fountain or turn on and off the colored lights according to the current fountain state, and click the corresponding button.
网页或者手机APP不断地监听用户的点击事件,当按键被点击后,网页或者手机APP将对此点击事件进行响应,根据不同的点击事件向云服务平台发送相应的指令,包括受控对象和状态。这个过程是调用Webservice并且通过互联网实现的。The webpage or mobile APP continuously monitors the user's click event. When the button is clicked, the webpage or mobile APP will respond to the click event and send corresponding instructions to the cloud service platform according to different click events, including the controlled object and status. . This process is to call Webservice and to achieve through the Internet.
云服务平台不断地接收各个方面上传的信息,当云服务平台接收到网页或者手机APP调用Webservice的请求后,首先验证此次请求的合法性,验证通过后,则判断此次的请求类型和请求值,根据不同的请求类型和请求值判断需要对喷泉水泵和彩灯的状态做怎样的改变。The cloud service platform continuously receives information uploaded from various aspects. When the cloud service platform receives a request from a webpage or mobile APP to call Webservice, it first verifies the validity of the request. After the verification is passed, it determines the type of the request and the request. value, according to different request types and request values to determine how to change the status of the fountain water pump and lanterns.
云服务平台根据上一步的判断向开关控制模块下发相应的指令。下发指令的过程是利用socket通信方式,通过以太网络实现的。The cloud service platform issues corresponding instructions to the switch control module according to the judgment of the previous step. The process of issuing instructions is realized through the Ethernet network by using the socket communication method.
开关控制模块不断的等待云服务平台下发的指令,当开关控制模块接收到云服务平台下发的指令后,首先对这条指令进行解析,判断需要执行的动作,然后控制相应的继电器改变状态。The switch control module constantly waits for the command issued by the cloud service platform. When the switch control module receives the command issued by the cloud service platform, it first parses the command, determines the action to be executed, and then controls the corresponding relay to change the state. .
开关控制模块中的继电器模块直接与喷泉控制机柜中的喷泉水泵和彩灯的电源相连接,当继电器模块的状态改变后,喷泉控制机柜则直接开启或关闭相应的喷泉水泵和彩灯的电源,达到控制喷泉水泵和彩灯开关状态的功能。The relay module in the switch control module is directly connected to the fountain water pump and the power supply of the colored lights in the fountain control cabinet. When the state of the relay module changes, the fountain control cabinet directly turns on or off the corresponding fountain water pump and the power supply of the colored lights. To achieve the function of controlling the switch state of the fountain water pump and the lights.
图3为本发明中远程控制音乐喷泉的方法实施例二的流程图。如图3所示,本实施例中的受控主体是音频解码模块和喷泉控制机柜,包含扬声器和喷泉水泵两个部分,其可以在扬声器实时播放音乐的同时,控制喷泉水泵配合不同的音乐节奏进行不同的花式喷射。本实施例提供的远程控制音乐喷泉的方法包括:FIG. 3 is a flowchart of Embodiment 2 of a method for remotely controlling a music fountain in the present invention. As shown in FIG. 3 , the controlled subject in this embodiment is an audio decoding module and a fountain control cabinet, including a speaker and a fountain water pump, which can control the fountain water pump to match different music rhythms while the speaker plays music in real time. Do different fancy jets. The method for remotely controlling a music fountain provided by this embodiment includes:
用户打开网页或者手机APP,软件进行初始化,然后向云服务平台请求实时的视频流数据,通过内置的播放功能播放实时的视频,供用户查看喷泉当前的状态。The user opens the webpage or mobile APP, the software is initialized, and then requests the real-time video stream data from the cloud service platform, and plays the real-time video through the built-in playback function for the user to view the current status of the fountain.
用户选择网页或者手机APP中预设的歌曲列表中歌曲,点击相应的按键。The user selects a song in the preset song list in the webpage or the mobile phone APP, and clicks the corresponding button.
网页或者手机APP不断地监听用户的点击事件,当按键被点击后,网页或者手机APP将对此点击事件进行响应,根据不同的点击事件向云服务平台发送相应的指令,包括受控对象和歌曲ID。这个过程是调用Webservice并且通过互联网实现的。The webpage or mobile APP constantly monitors the user's click event. When the button is clicked, the webpage or mobile APP will respond to the click event and send corresponding instructions to the cloud service platform according to different click events, including controlled objects and songs. ID. This process is to call Webservice and to achieve through the Internet.
本实施例中,用户还可以选择是否需要定时播放选择的歌曲,如果需要定时播放,还需要向云服务平台发送定时信息,包括开始时间和执行周期。如果不填写定时信息,则默认为0,即立即播放并且只播放一次。In this embodiment, the user can also choose whether to play the selected song regularly, and if it needs to play the selected song regularly, it is also necessary to send timing information to the cloud service platform, including the start time and the execution period. If you do not fill in the timing information, the default is 0, that is, it will be played immediately and only once.
云服务平台不断地接收各个方面上传的信息,当云服务平台接收到网页或者手机APP调用Webservice的请求后,首先验证此次请求的合法性,验证通过后,则判断此次的请求类型和请求值,根据不同的请求类型和请求值判断需要对音频解码模块发送的歌曲信息。The cloud service platform continuously receives information uploaded from various aspects. When the cloud service platform receives a request from a webpage or mobile APP to call Webservice, it first verifies the validity of the request. After the verification is passed, it determines the type of the request and the request. value, according to different request types and request values to determine the song information that needs to be sent to the audio decoding module.
本实施例中,如果云服务平台接收到定时播放的信息,则云服务平台将会将此任务挂起,等待定时信息满足后再向音频解码模块发送此次的歌曲信息。In this embodiment, if the cloud service platform receives the information for timing playback, the cloud service platform will suspend the task, wait for the timing information to be satisfied, and then send the current song information to the audio decoding module.
云服务平台根据上一步的判断向音频解码模块发送相应的音频文件。首先发送传输开始标识,然后将音频文件分包以音频流的方式下发到音频解码模块。下发音频文件的过程是利用socket通信方式,通过以太网络实现的。The cloud service platform sends the corresponding audio file to the audio decoding module according to the judgment in the previous step. First, the transmission start identifier is sent, and then the audio file is sub-packaged and delivered to the audio decoding module in the form of an audio stream. The process of delivering audio files is realized through the Ethernet network using socket communication.
音频解码模块不断的等待云服务平台下发的传输开始标识,当音频解码模块接收到云服务平台下发的传输开始标识后,则开始等待接收云服务平台下发的音频流,并且在接收的同时进行处理,将以太网络传输的音频流转换为AV接口输出。The audio decoding module continuously waits for the transmission start identification issued by the cloud service platform. When the audio decoding module receives the transmission start identification issued by the cloud service platform, it starts to wait for receiving the audio stream issued by the cloud service platform, and in the received At the same time, it is processed to convert the audio stream transmitted by the Ethernet network into the AV interface output.
本实施例中,音频解码模块共包含两路输出,一路输出接入扬声器进行音乐播放,另一路输出接入喷泉控制机柜。In this embodiment, the audio decoding module includes a total of two outputs, one output is connected to the speaker for music playback, and the other output is connected to the fountain control cabinet.
喷泉控制机柜接收音频解码模块输出的音频流信号。喷泉控制机柜的信息处理模块实时的接收并解析音频信号,提取音频信号的频率信息,然后与预设的阈值进行对比,如频率值高于阈值,则喷泉水泵开启;如果频率值低于阈值,则喷泉水泵关闭,据此生成喷泉水泵控制信号。The fountain control cabinet receives the audio stream signal output by the audio decoding module. The information processing module of the fountain control cabinet receives and analyzes the audio signal in real time, extracts the frequency information of the audio signal, and then compares it with the preset threshold value. If the frequency value is higher than the threshold value, the fountain pump will be turned on; if the frequency value is lower than the threshold value, Then the fountain water pump is turned off, and the fountain water pump control signal is generated accordingly.
本实施例中,音频解码模块和喷泉控制机柜信息处理模块之间还包含一个灵敏度调节模块,此模块可以调节输入的音频信号的频率值以及预设的阈值,从而适应频率不同的音频信号。In this embodiment, a sensitivity adjustment module is further included between the audio decoding module and the information processing module of the fountain control cabinet. This module can adjust the frequency value of the input audio signal and the preset threshold, so as to adapt to the audio signals with different frequencies.
本实施例中,喷泉水泵开启时的水压和喷头的位置均是预先设定的。In this embodiment, the water pressure when the fountain water pump is turned on and the position of the nozzle are both preset.
图4为本发明中远程控制音乐喷泉的方法实施例三的流程图。如图4所示,本实施例中用户可以选择除预设列表外任意的歌曲作为音乐喷泉的输入。本实施例提供的远程控制音乐喷泉的方法包括:FIG. 4 is a flowchart of Embodiment 3 of the method for remotely controlling a music fountain in the present invention. As shown in FIG. 4 , in this embodiment, the user can select any song except the preset list as the input of the music fountain. The method for remotely controlling a music fountain provided by this embodiment includes:
用户打开网页或者手机APP,软件进行初始化,然后向云服务平台请求实时的视频流数据,通过内置的播放功能播放实时的视频,供用户查看喷泉当前的状态。The user opens the webpage or mobile APP, the software is initialized, and then requests the real-time video stream data from the cloud service platform, and plays the real-time video through the built-in playback function for the user to view the current status of the fountain.
用户通过网页或者手机APP打开并上传本地的任意音频文件,通过相应按键进行操作。The user opens and uploads any local audio file through the webpage or mobile APP, and operates through the corresponding keys.
网页或者手机APP不断地监听用户的点击事件,当不同按键被点击后,网页或者手机APP将对此点击事件进行响应。用户点击选择按键,网页或手机APP将打开文件选择器,筛选所有音频文件供用户选择。当用户选定某一音频文件后点击上传按键,网页或手机APP则记录此文件的路径,然后将此文件上传至云服务平台。这个过程是使用socket或者http通信方式,并且通过互联网实现的。The web page or mobile APP constantly monitors the user's click event, and when different buttons are clicked, the web page or mobile APP will respond to the click event. The user clicks the selection button, and the web page or mobile APP will open the file selector to filter all audio files for the user to select. When the user selects an audio file and clicks the upload button, the web page or mobile APP records the path of the file, and then uploads the file to the cloud service platform. This process uses socket or http communication and is implemented over the Internet.
本实施例中,用户还可以选择是否需要定时播放选择的歌曲,如果需要定时播放,还需要向云服务平台发送定时信息,包括开始时间和执行周期。如果不填写定时信息,则默认为0,即立即播放并且只播放一次。In this embodiment, the user can also choose whether to play the selected song regularly, and if it needs to play the selected song regularly, it is also necessary to send timing information to the cloud service platform, including the start time and the execution period. If you do not fill in the timing information, the default is 0, that is, it will be played immediately and only once.
云服务平台不断地监听音频文件的上传。当云服务平台接收上传文件的请求后,启动接收程序完成文件的接收,然后调用音频编解码程序将不同格式和比特率的音频文件统一编码为特定格式和比特率的音频文件。然后云服务平台将以此音频文件生成一个新的播放任务,然后向音频解码模块发送此歌曲信息。The cloud service platform constantly monitors the upload of audio files. After the cloud service platform receives the request to upload the file, it starts the receiving program to complete the receiving of the file, and then calls the audio codec program to uniformly encode the audio files of different formats and bit rates into audio files of a specific format and bit rate. Then the cloud service platform will generate a new playback task from this audio file, and then send the song information to the audio decoding module.
本实施例中,如果云服务平台接收到定时播放的信息,则云服务平台将会将此任务挂起,等待定时信息满足后再向音频解码模块发送此次的歌曲信息。In this embodiment, if the cloud service platform receives the information for timing playback, the cloud service platform will suspend the task, wait for the timing information to be satisfied, and then send the current song information to the audio decoding module.
云服务平台根据上一步的判断向音频解码模块发送相应的音频文件。首先发送传输开始标识,然后将音频文件分包以音频流的方式下发到音频解码模块。下发音频文件的过程是利用socket通信方式,通过以太网络实现的。The cloud service platform sends the corresponding audio file to the audio decoding module according to the judgment in the previous step. First, the transmission start identifier is sent, and then the audio file is sub-packaged and delivered to the audio decoding module in the form of an audio stream. The process of delivering audio files is realized through the Ethernet network using socket communication.
音频解码模块不断的等待云服务平台下发的传输开始标识,当音频解码模块接收到云服务平台下发的传输开始标识后,则开始等待接收云服务平台下发的音频流,并且在接收的同时进行处理,将以太网络传输的音频流转换为AV接口输出。The audio decoding module continuously waits for the transmission start identification issued by the cloud service platform. When the audio decoding module receives the transmission start identification issued by the cloud service platform, it starts to wait for receiving the audio stream issued by the cloud service platform, and in the received At the same time, it is processed to convert the audio stream transmitted by the Ethernet network into the AV interface output.
本实施例中,音频解码模块共包含两路输出,一路输出接入扬声器进行音乐播放,另一路输出接入喷泉控制机柜。In this embodiment, the audio decoding module includes a total of two outputs, one output is connected to the speaker for music playback, and the other output is connected to the fountain control cabinet.
喷泉控制机柜接收音频解码模块输出的音频流信号。喷泉控制机柜的信息处理模块实时的接收并解析音频信号,提取音频信号的频率信息,然后与预设的阈值进行对比,如频率值高于阈值,则喷泉水泵开启;如果频率值低于阈值,则喷泉水泵关闭,据此生成喷泉水泵控制信号。The fountain control cabinet receives the audio stream signal output by the audio decoding module. The information processing module of the fountain control cabinet receives and analyzes the audio signal in real time, extracts the frequency information of the audio signal, and then compares it with the preset threshold value. If the frequency value is higher than the threshold value, the fountain pump will be turned on; if the frequency value is lower than the threshold value, Then the fountain water pump is turned off, and the fountain water pump control signal is generated accordingly.
本实施例中,音频解码模块和喷泉控制机柜信息处理模块之间还包含一个灵敏度调节模块,此模块可以调节输入的音频信号的频率值以及预设的阈值,从而适应频率不同的音频信号。In this embodiment, a sensitivity adjustment module is further included between the audio decoding module and the information processing module of the fountain control cabinet. This module can adjust the frequency value of the input audio signal and the preset threshold, so as to adapt to the audio signals with different frequencies.
本实施例中,喷泉水泵开启时的水压和喷头的位置均是预先设定的。In this embodiment, the water pressure when the fountain water pump is turned on and the position of the nozzle are both preset.
图5为本发明中摄像头模块结构图,如图5所示,摄像头模块包括画面采集模块和以太网模块。FIG. 5 is a structural diagram of a camera module in the present invention. As shown in FIG. 5 , the camera module includes a picture acquisition module and an Ethernet module.
其中,画面采集模块可以实时地采集当前的画面信息,进行处理,然后以实时视频流的形式发送给以太网模块。Among them, the picture acquisition module can collect the current picture information in real time, process it, and then send it to the Ethernet module in the form of a real-time video stream.
以太网模块接收画面采集模块传输的信息,将此信息进行处理,然后通过以太网络传输至云服务平台。The Ethernet module receives the information transmitted by the screen acquisition module, processes the information, and then transmits it to the cloud service platform through the Ethernet network.
图6为本发明中开关控制模块结构图,可以执行实施例一中的控制方法。如图6所示,开关控制模块包括以太网模块、单片机模块和继电器模块。FIG. 6 is a structural diagram of a switch control module in the present invention, which can implement the control method in the first embodiment. As shown in Figure 6, the switch control module includes an Ethernet module, a single-chip microcomputer module and a relay module.
其中,以太网模块可以接收以太网络传输的信息,然后将此信息进行处理,转换为数字电路信号,然后输出至单片机模块。Among them, the Ethernet module can receive the information transmitted by the Ethernet network, and then process the information, convert it into a digital circuit signal, and then output it to the single-chip microcomputer module.
单片机模块接收以太网模块输出的数字电路信息,然后对其进行解析和处理,然后将处理后的指令发送到继电器模块。The single-chip microcomputer module receives the digital circuit information output by the Ethernet module, then parses and processes it, and then sends the processed instructions to the relay module.
继电器模块接收单片机模块输出的控制指令,然后根据不同指令改变不同继电器的不同状态,以达到控制整个电路开关状态的目的。The relay module receives the control instructions output by the single-chip module, and then changes the different states of different relays according to different instructions, so as to achieve the purpose of controlling the switching state of the entire circuit.
图7为本发明中音频解码模块结构图。可以执行实施例二中的控制方法。如图7所示,音频解码模块包括以太网模块、单片机模块和音频输出模块。FIG. 7 is a structural diagram of an audio decoding module in the present invention. The control method in the second embodiment can be implemented. As shown in Figure 7, the audio decoding module includes an Ethernet module, a microcontroller module and an audio output module.
其中,以太网模块可以接收以太网络传输的信息,然后将此信息进行处理,转换为数字电路信号,然后输出至单片机模块。Among them, the Ethernet module can receive the information transmitted by the Ethernet network, and then process the information, convert it into a digital circuit signal, and then output it to the single-chip microcomputer module.
单片机模块接收以太网模块输出的音频数字信息,然后对其进行解析和处理,然后将处理后的信息发送到音频输出模块。The single-chip microcomputer module receives the audio digital information output by the Ethernet module, then parses and processes it, and then sends the processed information to the audio output module.
音频输出模块接收单片机模块输出的音频信号,将其进行处理然后以AV接口进行输出。The audio output module receives the audio signal output by the single-chip module, processes it, and then outputs it through the AV interface.
其中,音频输出模块共包含两路输出,供扬声器和喷泉控制机柜同时使用。Among them, the audio output module contains a total of two outputs, which are used by the speaker and the fountain control cabinet at the same time.
进一步的,本音频解码模块可以执行实施例三中的控制方法,其实现原理和技术效果类似,此处不再赘述。Further, the audio decoding module can execute the control method in the third embodiment, and the implementation principle and technical effect thereof are similar, which will not be repeated here.
图8为本发明中喷泉控制机柜结构图。可以执行实施例二中的控制方法。如图8所示,喷泉控制机柜包括以灵敏度调节模块、信息处理模块以及喷泉水泵和彩灯控制电路。FIG. 8 is a structural diagram of a fountain control cabinet in the present invention. The control method in the second embodiment can be implemented. As shown in Figure 8, the fountain control cabinet includes a sensitivity adjustment module, an information processing module, and a fountain water pump and a lantern control circuit.
其中,灵敏度调节模块可以接收音频解码模块传输的信息,通过调节旋钮位置将音频信号进行处理,调整其频率,然后输出至信息处理模块。The sensitivity adjustment module can receive the information transmitted by the audio decoding module, process the audio signal by adjusting the position of the knob, adjust its frequency, and then output it to the information processing module.
信息处理模块可以接收开关控制模块和灵敏度调节模块输出的信息,然后对其进行解析和处理,然后将处理后的喷泉水泵和彩灯状态发送到喷泉水泵和彩灯控制电路。The information processing module can receive the information output by the switch control module and the sensitivity adjustment module, analyze and process it, and then send the processed fountain water pump and lantern status to the fountain water pump and lantern control circuit.
喷泉水泵和彩灯控制电路接收信息处理模块输出的信号,将其进行处理然后直接控制喷泉水泵和彩灯的开关状态。The fountain water pump and the lantern control circuit receive the signal output by the information processing module, process it, and then directly control the switch state of the fountain water pump and the lantern.
进一步的,本喷泉控制机柜可以执行实施例三中的控制方法,其实现原理和技术效果类似,此处不再赘述。Further, the fountain control cabinet can implement the control method in the third embodiment, and the implementation principle and technical effect thereof are similar, and are not repeated here.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be modified.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610712872.XA CN106140527B (en) | 2016-08-23 | 2016-08-23 | A control method of a music fountain remote control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610712872.XA CN106140527B (en) | 2016-08-23 | 2016-08-23 | A control method of a music fountain remote control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106140527A CN106140527A (en) | 2016-11-23 |
| CN106140527B true CN106140527B (en) | 2019-07-16 |
Family
ID=57343239
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610712872.XA Active CN106140527B (en) | 2016-08-23 | 2016-08-23 | A control method of a music fountain remote control system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106140527B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106647395A (en) * | 2016-12-19 | 2017-05-10 | 南京科控奇智能科技有限公司 | Landscape intelligent control system |
| CN109147533A (en) * | 2018-02-09 | 2019-01-04 | 上海妙天网络科技有限公司 | Indoor mood rain room |
| CN109002813B (en) * | 2018-08-17 | 2022-05-27 | 浙江大丰实业股份有限公司 | Stage fountain blockage state analysis system |
| CN109865630B (en) * | 2019-04-03 | 2021-01-08 | 郑州沃众实业有限公司 | Shared music fountain and system thereof |
| CN112004279B (en) * | 2020-09-07 | 2023-04-07 | 杭州西湖喷泉设备成套有限公司 | Water show light control system based on LORA wireless technology |
| CN112614332B (en) * | 2020-12-10 | 2022-01-28 | 维沃移动通信有限公司 | Terminal control method and device and electronic equipment |
| CN113791559B (en) * | 2021-09-10 | 2023-07-18 | 佛山市南海区苏科大环境研究院 | Energy-saving control method and control system for urban landscape fountain |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1967424A (en) * | 2005-11-17 | 2007-05-23 | 中国科学院自动化研究所 | Ethernet based great fountain and magic performance integration control system |
| CN101583217A (en) * | 2009-06-26 | 2009-11-18 | 上海大学 | Control system of LED colorful waterscape lamps and control method thereof |
| CN104023520A (en) * | 2011-12-19 | 2014-09-03 | S·G·尤尼斯 | Remotely sensing and adapting irrigation systems |
| CN205263540U (en) * | 2015-12-07 | 2016-05-25 | 西京学院 | Fountain intelligence control system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1184965A (en) * | 1996-12-11 | 1998-06-17 | 上海东仪自动化系统集成有限公司 | Computerized control system for multi-media music spring |
| CN1138220C (en) * | 2001-04-28 | 2004-02-11 | 中国科学院自动化研究所 | Multimedia Computer Music Fountain Intelligent Control System |
| CN2615759Y (en) * | 2003-04-17 | 2004-05-12 | 张少强 | Computer acoustical control apparatus for colourful fountain |
-
2016
- 2016-08-23 CN CN201610712872.XA patent/CN106140527B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1967424A (en) * | 2005-11-17 | 2007-05-23 | 中国科学院自动化研究所 | Ethernet based great fountain and magic performance integration control system |
| CN101583217A (en) * | 2009-06-26 | 2009-11-18 | 上海大学 | Control system of LED colorful waterscape lamps and control method thereof |
| CN104023520A (en) * | 2011-12-19 | 2014-09-03 | S·G·尤尼斯 | Remotely sensing and adapting irrigation systems |
| CN205263540U (en) * | 2015-12-07 | 2016-05-25 | 西京学院 | Fountain intelligence control system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106140527A (en) | 2016-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106140527B (en) | A control method of a music fountain remote control system | |
| CN109360567B (en) | Method and apparatus for customizable wake-up | |
| JP7051799B2 (en) | Speech recognition control methods, devices, electronic devices and readable storage media | |
| CN106154860A (en) | A kind of intelligent switch and apply the intelligent domestic system of this intelligent switch | |
| WO2017206493A1 (en) | Implementation system and method for internet of things based on artificial intelligence | |
| CN104202649A (en) | Method for operating multiple applications of intelligent television synchronously | |
| JP2021103580A (en) | Method for interaction of smart back mirror, device, electronic apparatus, and storage medium | |
| CN108495119A (en) | Operating terminal system and method for stage performance | |
| CN112581945A (en) | Voice control method and device, electronic equipment and readable storage medium | |
| CN109802876B (en) | Little intelligent home systems | |
| CN104918089A (en) | Wisdom hotel service system having voice control function and based on cloud server | |
| CN104038724B (en) | Work state remote centralized regulation system and regulation method of television conference terminals | |
| CN115077019A (en) | Air conditioner control method and system and air conditioner | |
| CN207883118U (en) | A kind of Intelligent voice remote controller | |
| CN109348369A (en) | A kind of sound system and its control method | |
| CN107657956B (en) | A kind of multimedia equipment voice control system and method | |
| CN205049909U (en) | Remote monitoring intelligence stereo set | |
| CN109195016B (en) | Voice interaction method, terminal system and intelligent terminal equipment for video barrage oriented to intelligent terminal equipment | |
| CN109243214A (en) | A kind of courseware share system with sound-recording function | |
| CN112486103A (en) | Outdoor square multimedia intelligent light and shadow control system | |
| CN108499139A (en) | The Stage System and its application that light of stage is combined with performance scene | |
| CN205318139U (en) | Intelligent electrical devices | |
| CN112034720A (en) | Sound box control system and method | |
| CN103347218A (en) | Method and server for operating applications of intelligent terminal and intelligent terminal | |
| CN210323873U (en) | Outdoor square multimedia intelligent light and shadow control system |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250415 Address after: 1803, 15th Floor, Building 6, No. 50 West Third Ring North Road, Haidian District, Beijing 100080 Patentee after: Beijing Minghe Technology Co.,Ltd. Country or region after: China Address before: 210003, No. 66, new exemplary Road, Nanjing, Jiangsu Patentee before: NANJING University OF POSTS AND TELECOMMUNICATIONS Country or region before: China |
|
| TR01 | Transfer of patent right |