CN106879139B - Audio frequency playing method and plaza lighting system - Google Patents
Audio frequency playing method and plaza lighting system Download PDFInfo
- Publication number
- CN106879139B CN106879139B CN201710086437.5A CN201710086437A CN106879139B CN 106879139 B CN106879139 B CN 106879139B CN 201710086437 A CN201710086437 A CN 201710086437A CN 106879139 B CN106879139 B CN 106879139B
- Authority
- CN
- China
- Prior art keywords
- audio
- user terminal
- street lamp
- module
- target position
- 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.)
- Expired - Fee Related
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/175—Controlling the light source by remote control
- H05B47/185—Controlling the light source by remote control via power line carrier transmission
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/027—Remotely controlled
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
It includes the user terminal that can be in communication with each other and at least one street lamp for being equipped with audio player that the present invention, which provides a kind of audio frequency playing method and plaza lighting system, system,.Method includes: user terminal response user's operation, the map on square where display plaza lighting system;User terminal responds user in the clicking operation of map, and position corresponding with the clicking operation is chosen on map as target position;User terminal finds out all street lamps for being equipped with audio player in the preset range of distance objective position;User terminal sends audio play instruction to each street lamp found out;Each street lamp controls audio player respectively and opens and play preset audio file after receiving the audio play instruction.
Description
Technical field
The present invention relates to control technology fields, in particular to a kind of audio frequency playing method and plaza lighting system.
Background technique
With the development of the social economy, urban development is getting faster, in order to facilitate people's lives, it is fitted on road
Lighting apparatus.Wherein, street lamp is main lighting apparatus, is widely used on cell and all kinds of park plazas.
And in daily life, with the high speed development of urban civilization, continuous improvement of people's living standards, people start
Gradually recognize the importance of health.The especially middle-aged and the old, habit square dance after supper, but play the music danced
People are then needed voluntarily to carry the equipment such as sound equipment, it is extremely inconvenient.
Summary of the invention
In view of this, can improve the purpose of the present invention is to provide a kind of audio frequency playing method and plaza lighting system
The above problem.
In order to achieve the above object, present pre-ferred embodiments provide a kind of audio frequency playing method and are applied to plaza lighting system
System, the plaza lighting system includes the user terminal that can be in communication with each other and at least one road for being equipped with audio player
Lamp is stored with the identity information and communicatedly of at least one street lamp for being equipped with audio player in the user terminal
Location;The described method includes:
The user terminal responds user's operation, the map on square, the user where showing the plaza lighting system
The map on square where being stored with the plaza lighting system in terminal;
The user terminal response user chooses grasp with the click on the map in the clicking operation of the map
Make corresponding position as target position;
The user terminal finds out all roads for being equipped with audio player in the target position preset range
Lamp;
The user terminal sends audio play instruction to each street lamp found out;
Each street lamp controls audio player respectively and opens and play default after receiving the audio play instruction
Audio file.
Present pre-ferred embodiments also provide a kind of plaza lighting system, the user terminal including that can be in communication with each other and
At least one street lamp of audio player is installed, is stored in the user terminal and described audio player is installed at least
The identity and mailing address of one street lamp;The user terminal includes square map display module, target position selection module, road
Lamp searching module and audio play instruction sending module, the street lamp include audio playing module;
The square map display module, for responding user's operation, square where showing the plaza lighting system
Map, the map on square where the plaza lighting system is stored in the user terminal;
It chooses module and is selected on the map for responding user in the clicking operation of the map in the target position
Take position corresponding with the clicking operation as target position;
The street lamp searching module is broadcast for finding out all audios that are equipped in the target position preset range
Put the street lamp of device;
The audio play instruction sending module, for sending audio play instruction to each street lamp found out;
The audio playing module, for after receiving the audio play instruction, control audio player to be opened simultaneously
Play preset audio file.
Audio frequency playing method and plaza lighting system provided in an embodiment of the present invention, the target position that can be chosen according to user
It sets all street lamps found out in the target position preset range and plays preset audio file, so that user directly passes through road
Lamp plays audio, more convenient without oneself carrying audio-frequence player device.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is that a kind of plaza lighting system provided in an embodiment of the present invention connects block diagram.
Fig. 2 is a kind of block diagram of user terminal provided in an embodiment of the present invention.
Fig. 3 is a kind of flow diagram of audio frequency playing method provided in an embodiment of the present invention.
Fig. 4 is the sub-step schematic diagram of step S103 shown in Fig. 3.
Fig. 5 is a kind of schematic diagram of preset range provided in an embodiment of the present invention.
Fig. 6 is the another flow diagram of audio frequency playing method provided in an embodiment of the present invention.
Fig. 7 is the another flow diagram of audio frequency playing method provided in an embodiment of the present invention.
Fig. 8 (a) is another schematic diagram of preset range provided in an embodiment of the present invention.
Fig. 8 (b) is another schematic diagram of preset range provided in an embodiment of the present invention.
Fig. 9 is the sub-step schematic diagram of step S108 shown in Fig. 7.
Figure 10 is a kind of connection block diagram of plaza lighting system provided in an embodiment of the present invention.
Figure 11 is the submodule block diagram of street lamp searching module shown in Figure 10.
Figure 12 is a kind of connection block diagram of user terminal provided in an embodiment of the present invention.
Figure 13 is the submodule block diagram of volume setup module shown in Figure 12.
Figure 14 is the another connection block diagram of user terminal provided in an embodiment of the present invention.
Icon: 10- plaza lighting system;100- user terminal;110- memory;The square 111- map display module;
Choose module in the target position 112-;113- street lamp searching module;1131- number inputs prompting submodule;The square 1132- area surface
Product computational submodule;1133- preset range seeks submodule;114- audio play instruction sending module;It obtains 115- street lamp position
Modulus block;116- maximum graph position searching module;117- volume setup module;1171- relative positional relationship detection sub-module;
1172- first sets submodule;1173- is apart from computational submodule;1174- second sets submodule;118- audio play instruction
Generation module;119- audio file inputs detection module;1120- the first audio file sending module;File is stored in advance in 1121-
Display module;1122- the second audio file sending module;120- processor;130- communication unit;140- display unit;150-
Audio unit;200- street lamp;210- audio playing module;300- network.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
As shown in Figure 1, being the connection block diagram of plaza lighting system 10 provided in an embodiment of the present invention.The plaza lighting system
System 10 includes user terminal 100 and at least one is equipped with the street lamp 200 of audio player, the user terminal 100 with extremely
A few street lamp 200 can carry out ditch communication by network 300, to realize data communication or interaction.
In the present embodiment, the user terminal 100 be may be, but not limited to, smart phone, PC (personal
Computer, PC), tablet computer, personal digital assistant (personal digital assistant, PDA), mobile Internet access set
Standby (mobile Internet device, MID) etc..
The network 300 may be, but not limited to, cable network or wireless network.
In the present embodiment, the square where the plaza lighting system 10 can be equipped with multiple street lamps 200, the multiple
At least one of street lamp 200 is equipped with audio player.Wherein, the quantity of the street lamp 200 of audio player is installed, it can be with
It is adjusted flexibly according to the size of square area, the present embodiment is without limitation.
As shown in Fig. 2, being the block diagram of user terminal 100 shown in Fig. 1.The user terminal 100 includes memory
110, processor 120, communication unit 130, display unit 140 and audio unit 150.
The memory 110, processor 120, communication unit 130, display unit 140 and each element of audio unit 150
It is directly or indirectly electrically connected between each other, to realize the transmission or interaction of data.For example, these elements can lead between each other
It crosses one or more communication bus or signal wire is realized and is electrically connected.Include in the street lamp 200 at least one can with software or
The form of firmware (firmware) is stored in the executable module in the memory 110.The processor 120 is deposited for executing
Executable module in reservoir 110, such as the corresponding software function module of the plaza lighting system 10 or computer program.
Wherein, memory 110 may be, but not limited to, random-access memory (Random Access memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Specifically, memory 110 is for storing software program and module, such as the audio broadcasting side in the embodiment of the present invention
Method and the corresponding program instruction/module of plaza lighting system 10.The processor 120 after receiving and executing instruction, deposit by execution
The software program and module of storage in the memory 110, thereby executing various function application and data processing, such as present invention is implemented
The audio frequency playing method and plaza lighting system 10 that example provides.It should be noted that any embodiment of embodiment of the present invention institute
Method defined in the process of announcement can be applied in processor 120, or be realized by processor 120.
Processor 120 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 120 can be with
It is general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc..Can also be digital signal processor (DSP), specific integrated circuit (ASIC),
Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor
It can be microprocessor or the processor be also possible to any conventional processor etc..
The communication unit 130 is used for the communication connection established between user terminal 100 and street lamp 200.
The display unit 140 is used for the interactive interface established between user terminal 100 and user, or for showing figure
As information.In the present embodiment, the display unit 140 be may be, but not limited to, liquid crystal display or touching display screen.
In the present embodiment, the audio unit 150 can be audio player, for playing preset audio file.
It is appreciated that structure shown in Fig. 2 is only to illustrate.The user terminal 100 can have it is more than shown in Fig. 2 or
Less component, it is possible to have the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can by hardware, software or its
Combination is realized.
In the present embodiment, the specific structure and connection type and the user terminal 100 of each component in the street lamp 200
In corresponding each component structure it is similar with connection type, details are not described herein again.
Referring to Fig. 3, be the flow diagram of audio frequency playing method provided in an embodiment of the present invention, it below will be to Fig. 3 institute
The detailed process and step shown elaborate.
Step S101: user terminal 100 responds user's operation, shows the map on 10 place square of plaza lighting system.
Wherein, the map on the 10 place square of plaza lighting system is stored in the user terminal 100.When implementation,
Can be set the user terminal 100 within the scope of each square or park, the user terminal 100 can with the square or
All street lamps 200 communicate within the scope of park.
When implementation, user terminal 100 can provide a display interface, and the display interface shows multiple operation labels,
Such as: " map displaying ".User terminal 100 is when detecting the operation of " map displaying " label described in user's click, Ji Kexian
Show the map on the 10 place square of plaza lighting system.
Step S102: the user terminal 100 responds user in the clicking operation of the map, chooses on the map
Position corresponding with the clicking operation is as target position.
In the present embodiment, user can choose target position on the map that user terminal 100 is shown according to their own needs
It sets, the target position is the center that user needs square region to be used.
Step S103: the user terminal 100, which is found out, all in the target position preset range is equipped with sound
The street lamp 200 of frequency player.
In the present embodiment, the identity letter for being respectively equipped with the street lamp 200 of audio player is prestored in the user terminal 100
Breath and location information.When implementation, user terminal 100 detect user choose target position operation after, can find out away from
From all street lamps 200 for being equipped with audio player in the target position preset range.
Optionally, referring to Fig. 4, step S103 may include step S201, step S202 and tri- sons of step S203
Step.
Step S201: for the user terminal 100 after choosing target position, the one prompt page of display prompts user's input
Need the number using square.
Wherein, the prompt page shows prompt information and input frame, needs for prompting user to input using wide
The number of field.
Step S202: the user terminal 100 obtains the number of user's input, calculates the number and arranges by predetermined manner
Required square region area.
In the present embodiment, user can input the number needed using square in the input frame, and user terminal 100 obtains
After the number, calculating the number according to predetermined manner arrangement needs area to be used, such as: eight people of every row, every two
People between left and right away from being 50 centimetres with fore-and-aft clearance.Another example is: each column 8, every two people between left and right away from and fore-and-aft clearance
It is 60 centimetres.The present embodiment is without limitation, and specific arrangement mode can also can voluntarily be set with flexible setting by user
It is fixed.
Step S203: the user terminal 100 will be centered on the target position, calculated square region area model
Region in enclosing is as the preset range.
Such as shown in Fig. 5, it is assumed that there are target position P, calculated square region area are S.The then preset range
It should be the graphics field centered on P point, and the area of the graphics field is S, the present embodiment is to the graphics field
With no restrictions, concrete shape can match concrete shape with the default arrangement mode.Such as: if according to the default row
The general shape that column mode arranges out is rectangle, then the graphics field is rectangle.If being arranged according to the default arrangement mode
General shape out is ellipse, then the graphics field is ellipse.
Step S104: the user terminal 100 sends audio play instruction to each street lamp 200 found out.
In the present embodiment, the mailing address of each street lamp 200 is stored in the user terminal 100.
Step S105: each street lamp 200 controls audio player respectively and opens after receiving the audio play instruction
It opens and plays preset audio file.
Optionally, referring to Fig. 6, the preset audio file can by step S301, step S302, step S303 and
Tetra- steps of step S304 are realized.
Step S301: whether there is new audio file in preset duration before the user terminal 100 detects current time
Input.If so, S302 is thened follow the steps, it is no to then follow the steps S303.
Step S302: the new audio file is sent to 200 conduct of each street lamp found out by the user terminal 100
The preset audio file.
Step S303: the user terminal 100 provides a user a display page, shows pre-stored each audio text
Part.
Wherein, pre-stored each audio file can be uploaded by the data-interface of user terminal 100, can also be passed through
The wireless transmission methods such as bluetooth upload, and the present embodiment is without limitation.
Step S304: the user terminal 100 responds the selection operation of user, in pre-stored each audio file
It is middle to choose corresponding with selection operation audio file to be sent to each street lamp 200 found out literary as the preset audio
Part.
In practical applications, the size of audio player plays volume directly influences the effect of audio broadcasting.Optionally,
Referring to Fig. 7, the method also includes step S106, step S107, step S108 and step S109.
Step S106: the user terminal 100 obtains the location information of each street lamp 200 found out.
In the present embodiment, the location information of each street lamp 200 is stored in the user terminal 100.
Step S107: the line structure between 200 position of each street lamp found out is calculated in the user terminal 100
At the maximum figure of area position.
Step S108: the user terminal 100 is according to the position between the maximum figure of the area and the target position
The volume value of the audio player is arranged in the relationship of setting.
Optionally, referring to Fig. 9, the step S108 may include step S401, step S402, step S403 and step
Tetra- sub-steps of rapid S404.
Step S401: the user terminal 100 detects whether the target position is located in the maximum figure of the area
Portion.When the target position is located inside the maximum figure of the area, step S402 is executed.When the target position does not exist
When inside the maximum figure of area, step S403 is executed.
Step S402: the volume value of the audio player is set as preset value by the user terminal 100.
As shown in Fig. 8 (a), it is assumed that the preset range is rectangular area S1, and the rectangular area S1 includes center O, side
Side L1, side L2, side L3 and side L4.Wherein, be equipped in the S1 of rectangular area street lamp k1, street lamp k2, street lamp k3 and
Street lamp k4, wherein the maximum figure that the street lamp k1, street lamp k2, street lamp k3 and the line of the position street lamp k4 are constituted is by O
Point is included, that is, each street lamp 200 in the S1 of rectangular area can cover most of region of the rectangular area S1.
In this way, only need to be preset value by the sound volume setting of audio player, the people of each position can hear more clear in the S1 of region
Clear musical sound.
Preset value described herein can be adjusted according to the actual installation situation of street lamp 200 on square, the present embodiment
It is without limitation.
Step S403: the user terminal 100 calculates the center of the target position and the maximum figure of the area
Distance.
As shown in Fig. 8 (b), it is assumed that the preset range is rectangular area S1, and the rectangular area S1 includes center O, side
Side L1, side L2, side L3 and side L4.Wherein, be equipped in the S1 of rectangular area street lamp k1, street lamp k2, street lamp k3 and
Street lamp k4, wherein O point is located at the maximum that the street lamp k1, street lamp k2, street lamp k3 and the line of the position street lamp k4 are constituted
The outside of figure, that is, each street lamp 200 in the S1 of rectangular area only covers the fraction region of the rectangular area S1.Such as
This, the people in the S1 of rectangular area far from each street lamp 200 possibly can not hear clearly musical sound.
Therefore, it is possible to each street lamp of Distance Judgment of the central point of the figure connected into according to target position and each street lamp 200
200 distribution situation in the rectangular area S1, and volume value is adjusted.
Step S404: according to the target position at a distance from the center of the maximum figure of the area belonging to apart from model
It encloses, the volume value of the audio player is set as and the matched volume value of the distance range by the user terminal 100.
In the present embodiment, the matching relationship of different distance range from different volume values is stored in the user terminal 100.
Step S109: the user terminal 100 generates the audio play instruction including the volume value.
In the present embodiment, volume value of the user terminal 100 in the audio player for determining each street lamp 200 found out
Afterwards, that is, the audio play instruction including the volume value is produced, and is sent to each street lamp 200 found out.
Referring to Fig. 10, being a kind of plaza lighting system 10 that present pre-ferred embodiments provide, including being capable of phase intercommunication
The user terminal 100 of letter and at least one the street lamp 200 of audio player is installed, be stored in the user terminal 100
The identity and mailing address of at least one street lamp 200 for being equipped with audio player.
The user terminal 100 includes square map display module 111, module 112 is chosen in target position, street lamp searches mould
Block 113 and audio play instruction sending module 114, the street lamp 200 include audio playing module 210.
Wherein, the square map display module 111 is used to show the map on the 10 place square of plaza lighting system
The map on the 10 place square of plaza lighting system is stored in the user terminal 100.
In the present embodiment, the description as described in the square map display module 111 is specifically referred to step shown in Fig. 3
The detailed description of S101.That is, step S101 can be executed by the square map display module 111.
Module 112 is chosen for responding user in the clicking operation of the map, on the map in the target position
Position corresponding with the clicking operation is chosen as target position.
In the present embodiment, the description as described in module 112 is chosen in the target position is specifically referred to step S102 in Fig. 3
Detailed description, that is, step S102 can by the target position choose module 112 execute.
The street lamp searching module 113 all in the target position preset range is equipped with audio for finding out
The street lamp 200 of player.
In the present embodiment, the description as described in the street lamp searching module 113 is specifically referred to the step S103 in Fig. 3
Detailed description, that is, step S103 can be executed by the street lamp searching module 113.
The audio play instruction sending module 114 is used to send audio play instruction to each street lamp 200 found out.
In the present embodiment, the description as described in the audio play instruction sending module 114 is specifically referred to as shown in Fig. 3
Step S104 detailed description, that is, step S104 can be executed by the audio play instruction sending module 114.
The audio playing module 210 is used for after receiving the audio play instruction, and control audio player is opened
And play preset audio file.
In the present embodiment, the description as described in the audio playing module 210 is specifically referred to step shown in Fig. 3
The detailed description of S105, that is, step S105 can be executed by the audio playing module 210.
Optionally, Figure 11 is please referred to, the street lamp searching module 113 includes that number inputs prompting submodule 1131, square
Region area computational submodule 1132 and preset range seek submodule 1133.
Wherein, the number input prompting submodule 1131 is used for after choosing target position, and the one prompt page of display mentions
Show that user's input needs the number using square.
In the present embodiment, the description as described in number input prompting submodule 1131 is specifically referred to as shown in Fig. 4
Step S201 detailed description, that is, step S201 can by the number input prompting submodule 1131 execute.
The square region area computational submodule 1132 is used to obtain the number of user's input, calculates the number by pre-
If mode arranges required square region area.
In the present embodiment, the description as described in the square region area computational submodule 1132 is specifically referred to in Fig. 4
The detailed description of shown step S202, that is, step S202 can be held by the square region area computational submodule 1132
Row.
The preset range seeks submodule 1133 for will be centered on the target position, calculated square region
Region in areal extent is as the preset range.
In the present embodiment, the description as described in the preset range seeks submodule 1133 is specifically referred to as shown in Fig. 4
Step S203 detailed description, executed that is, step S203 can seek submodule 1133 by the preset range.
Optionally, Figure 12 is please referred to, the user terminal 100 further includes street lamp position acquisition module 115, maximum pattern bit
Set searching module 116, volume setup module 117 and audio play instruction generation module 118.
The street lamp position acquisition module 115 is used to obtain the location information of each street lamp 200 found out, and the user is whole
The location information of each street lamp 200 is stored in end 100.In the present embodiment, the description as described in the street lamp position acquisition module 115
The detailed description to step S106 shown in fig. 7 is specifically referred to, that is, the step S106 can be by the street lamp position
Module 115 is obtained to execute.
The maximum graph position searching module 116 is used to be calculated between 200 position of each street lamp found out
Line constitute the maximum figure of area position.In the present embodiment, about the maximum graph position searching module 116
Description specifically refers to the detailed description to step S107 shown in fig. 7, that is, the step S107 can be by the maximum
Graph position searching module 116 executes.
The volume setup module 117 is used for according to the position between the maximum figure of the area and the target position
The volume value of the audio player is arranged in relationship.In the present embodiment, the description as described in the volume setup module 117 specifically may be used
The detailed description of reference pair step S108 shown in fig. 7, that is, step S108 can be held by the volume setup module 117
Row.
The audio play instruction generation module 118 is for generating the audio play instruction including the volume value.This reality
It applies in example, the description as described in the audio play instruction generation module 118 is specifically referred to step S109 shown in fig. 7
Detailed description, that is, step S109 can be executed by the volume setup module 117.
Optionally, please refer to Figure 13, the volume setup module 117 include relative positional relationship detection sub-module 1171,
First setting submodule 1172 sets submodule 1174 apart from computational submodule 1173 and second.
Wherein, the relative positional relationship detection sub-module 1171 is for detecting whether the target position is located at the face
Inside the maximum figure of product.
In the present embodiment, the description as described in the relative positional relationship detection sub-module 1171 is specifically referred to Fig. 9 institute
The detailed description of the step S401 shown, that is, step S401 can be executed by the relative positional relationship detection sub-module 1171.
The first setting submodule 1172 is used for when the target position is located inside the maximum figure of the area,
The volume value of the audio player is set as preset value.
In the present embodiment, the description as described in the first setting submodule 1172 is specifically referred to step shown in Fig. 9
The detailed description of S402, that is, the step S402 can be executed by the first setting submodule 1172.
It is described to be used for apart from computational submodule 1173 when the target position is not inside the maximum figure of the area,
The target position is calculated at a distance from the center of the maximum figure of the area.
In the present embodiment, it is described apart from computational submodule 1173 as described in description specifically refer to step shown in Fig. 9
The detailed description of S403, that is, step S403 can be executed by the first setting submodule 1172.
The second setting submodule 1174, for the center according to the target position and the maximum figure of the area
Distance belonging to distance range, the volume value of the audio player is set as and the matched volume of the distance range
It is worth, the matching that different distance range and volume value are stored in the user terminal 100 is closed.
In the present embodiment, the description as described in the second setting submodule 1174 is specifically referred to step shown in Fig. 9
The detailed description of S404, that is, step S404 can be executed by the first setting submodule 1172.
Optionally, Figure 14 is please referred to, the user terminal 100 further includes audio file input detection module 119, the first sound
File display module 1121, the second audio file sending module 1122 is stored in advance in frequency file sending module 1120.
Wherein, whether the audio file input detection module 119 in preset duration before detecting current time for having
New audio file input.In the present embodiment, the description as described in audio file input detection module 119 is specifically referred to pair
The detailed description of step S301 shown in fig. 6, that is, the step S301 can input detection module by the audio file
119 execute.
The first audio file setup module before current time for having new audio file defeated in preset duration
It is fashionable, the new audio file is sent to each street lamp 200 found out and is used as the preset audio file.
In the present embodiment, the description as described in the first audio file setup module is specifically referred to shown in Fig. 6
The detailed description of step S302, that is, the step S302 can be executed by the first audio file setup module.
The file display module 1121 that is stored in advance is for audio not new in preset duration before current time
When file inputs, a display page is provided a user, shows pre-stored each audio file.In the present embodiment, about institute
It states and the description of file display module 1121 is stored in advance specifically refers to detailed description to step S303 shown in Fig. 6,
That is, step S303 can be executed by the file display module 1121 that is stored in advance.
The second audio file sending module 1122 is used to respond the selection operation of user, described pre-stored each
Audio file corresponding with the selection operation is chosen in audio file is sent to each street lamp 200 found out as described default
Audio file.
In the present embodiment, the description as described in the second audio file sending module 1122 is specifically referred to institute in Fig. 6
The detailed description of the step S304 shown, that is, step S304 can be executed by the second audio file sending module 1122.
In conclusion audio frequency playing method provided in an embodiment of the present invention and plaza lighting system 10, it can be according to user
The target position of selection finds out all street lamps 200 in the target position preset range and plays preset audio file, with
Just user directly passes through the broadcasting audio of street lamp 200, more convenient without oneself carrying audio-frequence player device.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of audio frequency playing method, which is characterized in that be applied to plaza lighting system, the plaza lighting system includes can
The user terminal being in communication with each other and at least one the street lamp of audio player is installed, be stored in the user terminal described
The identity information, location information and mailing address of at least one street lamp of audio player are installed;The described method includes:
The user terminal responds user's operation, the map on square, the user terminal where showing the plaza lighting system
In be stored with the plaza lighting system where square map;
The user terminal response user chooses and the clicking operation pair on the map in the clicking operation of the map
The position answered is as target position;
The user terminal finds out all street lamps for being equipped with audio player in the target position preset range;Its
In, the user terminal is determined as follows the preset range: after choosing the target position, showing a tips page
Face prompts user's input to need the number using square;The number for obtaining user's input, calculates the number and arranges by predetermined manner
Square region area needed for column;By the region centered on the target position, within the scope of calculated square region area
As the preset range;
The user terminal sends audio play instruction to each street lamp found out;
Each street lamp controls audio player respectively and opens and play preset audio after receiving the audio play instruction
File.
2. audio frequency playing method according to claim 1, which is characterized in that found out described in distance in the user terminal
In the preset range of target position the step of all street lamps for being equipped with audio player after, the method also includes:
The user terminal obtains the location information of each street lamp found out, and the position of each street lamp is stored in the user terminal
Information;
The maximum figure of area of the composition of the line between each street lamp position found out is calculated in the user terminal
Position;
The sound is arranged according to the positional relationship between the maximum figure of the area and the target position in the user terminal
The volume value of frequency player;
The user terminal generates the audio play instruction including the volume value.
3. audio frequency playing method according to claim 2, which is characterized in that the user terminal is maximum according to the area
Figure and the target position between the positional relationship the step of volume value of the audio player is set, comprising:
The user terminal detects whether the target position is located inside the maximum figure of the area;
When the target position is located inside the maximum figure of the area, the user terminal is by the audio player
Volume value is set as preset value;
When the target position is not inside the maximum figure of the area, the user terminal calculate the target position with
The distance at the center of the maximum figure of area;
According to the target position at a distance from the center of the maximum figure of the area belonging to distance range, the user is whole
End by the volume value of the audio player be set as with the matched volume value of the distance range, store in the user terminal
There is the matching relationship of different distance range and volume value.
4. audio frequency playing method according to claim 1, which is characterized in that the preset audio file is true by following steps
It is fixed:
Whether new audio file input is had before the user terminal detection current time in preset duration;
When having new audio file input in preset duration before current time, the user terminal is literary by the new audio
Part is sent to each street lamp found out as the preset audio file;
Before current time when audio file not new in preset duration input, it is aobvious that the user terminal provides a user one
Show the page, shows pre-stored each audio file;
The selection operation of the user terminal response user, chooses and the selection in pre-stored each audio file
It operates corresponding audio file and is sent to each street lamp found out as the preset audio file.
5. a kind of plaza lighting system, which is characterized in that including the user terminal that can be in communication with each other and at least one installation
There is the street lamp of audio player, the body of at least one street lamp for being equipped with audio player is stored in the user terminal
Part and mailing address;The user terminal include square map display module, target position choose module, street lamp searching module with
And audio play instruction sending module, the street lamp include audio playing module;
The square map display module, for responding user's operation, the map on square where showing the plaza lighting system,
The map on square where being stored with the plaza lighting system in the user terminal;
Module is chosen in the target position, for responding user in the clicking operation of the map, choose on the map with
The corresponding position of the clicking operation is as target position;
The street lamp searching module all in the target position preset range is equipped with audio player for finding out
Street lamp;
The audio play instruction sending module, for sending audio play instruction to each street lamp found out;
The audio playing module, for after receiving the audio play instruction, control audio player to be opened and played
Preset audio file;
Wherein, the target position selection module includes:
Number inputs prompting submodule, for after choosing target position, the one prompt page of display to prompt user to input and needs to make
With the number on square;
Square region area computational submodule calculates the number and arranges by predetermined manner for obtaining the number of user's input
Required square region area;
Preset range seeks submodule, and being used for will be centered on the target position, within the scope of calculated square region area
Region as the preset range.
6. plaza lighting system according to claim 5, which is characterized in that the user terminal further includes that street lamp position is obtained
Modulus block, maximum graph position searching module, volume setup module and audio play instruction generation module;
The street lamp position acquisition module stores in the user terminal for obtaining the location information of each street lamp found out
There is the location information of each street lamp;
The maximum graph position searching module, the line for being calculated between each street lamp position found out are constituted
The maximum figure of area position;
The volume setup module, for being set according to the positional relationship between the maximum figure of the area and the target position
Set the volume value of the audio player;
The audio play instruction generation module, for generating the audio play instruction including the volume value.
7. plaza lighting system according to claim 6, which is characterized in that the volume setup module includes relative position
Relationship detection sub-module, the first setting submodule set submodule apart from computational submodule and second;
The relative positional relationship detection sub-module, for detecting whether the target position is located at the maximum figure of the area
It is internal;
The first setting submodule is used for when the target position is located inside the maximum figure of the area, will be described
The volume value of audio player is set as preset value;
It is described to be used for apart from computational submodule when the target position is not inside the maximum figure of the area, calculate institute
Target position is stated at a distance from the center of the maximum figure of the area;
It is described second setting submodule, for according to the target position at a distance from the center of the maximum figure of the area institute
The volume value of the audio player is set as and the matched volume value of the distance range, the use by the distance range of category
The matching that different distance range and volume value are stored in the terminal of family is closed.
8. plaza lighting system according to claim 5, which is characterized in that the user terminal further includes that audio file is defeated
Enter detection module, the first audio file sending module, file display module, the second audio file sending module is stored in advance;
The audio file inputs detection module, for whether there is new audio file before detecting current time in preset duration
Input;
The first audio file setup module, for there is new audio file input in preset duration before current time
When, the new audio file is sent to each street lamp found out as the preset audio file;
It is described that file display module is stored in advance, for audio file input not new in preset duration before current time
When, a display page is provided a user, shows pre-stored each audio file;
The second audio file sending module, for responding the selection operation of user, in pre-stored each audio text
Audio file corresponding with the selection operation is chosen in part is sent to each street lamp found out as the preset audio file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086437.5A CN106879139B (en) | 2017-02-17 | 2017-02-17 | Audio frequency playing method and plaza lighting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086437.5A CN106879139B (en) | 2017-02-17 | 2017-02-17 | Audio frequency playing method and plaza lighting system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106879139A CN106879139A (en) | 2017-06-20 |
CN106879139B true CN106879139B (en) | 2019-03-15 |
Family
ID=59167034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710086437.5A Expired - Fee Related CN106879139B (en) | 2017-02-17 | 2017-02-17 | Audio frequency playing method and plaza lighting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106879139B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173833B (en) * | 2017-12-25 | 2022-06-07 | 汉海信息技术(上海)有限公司 | Audio playing method, system, server and playing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013090477A1 (en) * | 2011-12-16 | 2013-06-20 | Lumenpulse Lighting Inc. | Assembling and controlling light unit arrays |
CN103856883A (en) * | 2012-11-29 | 2014-06-11 | 中国电信股份有限公司 | Method and system for putting music on mobile phone terminal into sound equipment for playing |
CN204046823U (en) * | 2014-09-28 | 2014-12-24 | 厦门万安智能股份有限公司 | Be embedded in intelligent road-lamp and terminal remote control conduct square dance music player |
CN105208490A (en) * | 2015-09-25 | 2015-12-30 | 王建忠 | Square dance audio system |
-
2017
- 2017-02-17 CN CN201710086437.5A patent/CN106879139B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013090477A1 (en) * | 2011-12-16 | 2013-06-20 | Lumenpulse Lighting Inc. | Assembling and controlling light unit arrays |
CN103856883A (en) * | 2012-11-29 | 2014-06-11 | 中国电信股份有限公司 | Method and system for putting music on mobile phone terminal into sound equipment for playing |
CN204046823U (en) * | 2014-09-28 | 2014-12-24 | 厦门万安智能股份有限公司 | Be embedded in intelligent road-lamp and terminal remote control conduct square dance music player |
CN105208490A (en) * | 2015-09-25 | 2015-12-30 | 王建忠 | Square dance audio system |
Also Published As
Publication number | Publication date |
---|---|
CN106879139A (en) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2665291C2 (en) | Audio cover displaying method and device | |
AU2015362286B2 (en) | Method and apparatus for arranging objects according to content of background image | |
US9677900B2 (en) | Method and apparatus for providing route guidance using reference points | |
KR20160015727A (en) | Method and apparatus for visualizing music information | |
US10628121B2 (en) | Electronic device and method for controlling the same | |
CN104102388A (en) | Tactile feedback in an electronic device | |
CN101965500A (en) | Graphical user interface for presenting location information | |
CN104126164A (en) | Mobile terminal and method thereof | |
KR20140143556A (en) | Portable terminal and method for user interface in the portable terminal | |
JP2013531302A (en) | A method for advertiser geo-targeting using map coordinates | |
CN106643774A (en) | Navigation route generation method and terminal | |
CN104978045B (en) | A kind of Chinese character input method and device | |
CN106095384A (en) | A kind of effect adjusting method and user terminal | |
CN110389761A (en) | Shade drafting method, device, terminal and computer readable storage medium | |
CN106710521A (en) | OLED panel, terminal and identification and control method | |
CN111028071B (en) | Bill processing method and device, electronic equipment and storage medium | |
EP3043254A1 (en) | Display apparatus and operation method of the same | |
CN106462191A (en) | Electronic device and method of content display | |
CN102455872B (en) | Mobile terminal and displaying method thereof | |
CN108848492A (en) | Enabling method, apparatus, terminal and the storage medium of subscriber identification card | |
CN109240769A (en) | A kind of method and terminal device of start by set date application page | |
CN106879139B (en) | Audio frequency playing method and plaza lighting system | |
CN105354459A (en) | Information processing method and device and electronic equipment | |
CN103809911A (en) | Method and system for setting vibration modes of mobile terminal | |
CN107918554A (en) | Pop-up method for closing and system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 Termination date: 20220217 |