The content of the invention
It is a primary object of the present invention to provide a kind of control method of intelligent road-lamp, it is intended to solve the switch of control street lamp
Easily produce the technical problem of noise.
To achieve the above object, the present invention provides a kind of control method of intelligent road-lamp, the controlling party of the intelligent road-lamp
Method comprises the following steps:
The default broadcast singal that real-time or timing receipt mobile terminal is sent;
When receiving default broadcast singal, judge whether the intensity of the default broadcast singal is more than preset strength;
When the intensity of the default broadcast singal is more than the first preset strength, then the intelligent road-lamp is opened.
Preferably, believe in the characteristic information for the broadcast singal for receiving broadcast singal and receiving with default feature
During breath matching, judgement receives default broadcast singal.
Preferably, when the intensity of the default broadcast singal is more than preset strength, then the step of the intelligent road-lamp is opened
Include after rapid:
The step of returning to the default broadcast singal for performing the real-time or timing receipt mobile terminal transmission;
When the intensity of the broadcast singal received is less than the second preset strength, the intelligent road-lamp is closed, wherein, it is described
Second preset strength is less than the first preset strength;
Alternatively, when not receiving the broadcast singal, the intelligent road-lamp is closed.
Preferably, the control method of the intelligent road-lamp further includes:
When receiving default broadcast singal, judge whether current point in time is in preset time period, and in current time
When point is in preset time period, the step of whether intensity for judging the default broadcast singal is more than preset strength performed;
Alternatively, when whether current point in time is in preset time period, the default of the reception mobile terminal transmission is performed
The step of broadcast singal.
To achieve the above object, the control method of the intelligent road-lamp comprises the following steps::
Mobile terminal in real time or timing test position information;
It is lasting to send default broadcast singal in the positional information and default first position information matches, wherein,
When the intensity that intelligent road-lamp receives default broadcast singal and the default broadcast singal is more than the first preset strength, then institute is opened
State intelligent road-lamp.
Preferably, after described lasting the step of sending default broadcast singal, further include:
Return to the step of performing the real-time or timing test position information;
In the positional information and default second place information matches, stop sending the default broadcast singal.
Preferably, after described lasting the step of sending default broadcast singal, further include:
Return to the step of performing the real-time or timing test position information;
When distance between the positional information and default first position information is more than pre-determined distance, stop sending institute
State default broadcast singal.
To achieve the above object, the present invention also provides intelligent road-lamp, it is characterised in that the intelligent road-lamp includes:Storage
Device, processor and the control program that can be run on the memory and on the processor is stored in, the control program quilt
The step of control method of the upper intelligent road-lamp is realized when the processor performs.
To achieve the above object, the present invention also provides a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Memory, processor and the control program that can be run on the memory and on the processor is stored in, the control journey
Sequence realizes the step of control method of intelligent road-lamp as described above when being performed by the processor.
To achieve the above object, the present invention also proposes a kind of control system of intelligent road-lamp, including intelligent road as described above
Lamp and the mobile terminal.
Control method, intelligent road-lamp, mobile terminal and the control system of a kind of intelligent road-lamp proposed by the present invention, in intelligence
Street lamp receives the default broadcast singal of mobile terminal transmission and when the intensity of broadcast singal is more than predetermined threshold value, illustrate user into
Enter the illumination zone of intelligent road-lamp, control intelligent road-lamp to open the control realized to intelligent road-lamp at this time, and enter without user
Intelligent road-lamp is opened by way of acoustic control after the illumination zone of intelligent road-lamp, avoids producing during the control of intelligent road-lamp
Noise.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:Intelligent road-lamp in real time or timing receipt mobile terminal send it is default
Broadcast singal;When receiving default broadcast singal, judge whether the intensity of the default broadcast singal is more than preset strength;When
When the intensity of the default broadcast singal is more than the first preset strength, then the intelligent road-lamp is opened.Mobile terminal is in real time or fixed
When test position information;It is lasting to send default broadcast singal in the positional information and default first position information matches.
Since the prior art needs to realize street lighting in the case where producing high-decibel sound, and need to produce always
The sound of raw high-decibel, decibel is excessive to be caused more street lamps while illuminates and be easy to the people bothered to periphery, is used not
Only trouble does not reach energy-saving and environment-friendly effect yet.
The present invention provides a solution, makes user in the case where that need not produce sound, according to default broadcast
The intensity of signal can control road lamp switch.The people that will not only bother to periphery is used, it is also very simple.
Fig. 1 is the structure diagram that the embodiment of the present invention is related to intelligent road-lamp.
Terminal of the embodiment of the present invention is intelligent road-lamp.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002, controlling switch 1006.Wherein, communication bus 1002 be used for realization these components it
Between connection communication.User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard),
Optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally include
Standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or steady
Fixed memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of
The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
Include than illustrating more or fewer components, either combine some components or different components arrangement.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe the control program of module, Subscriber Interface Module SIM and intelligent road-lamp.
In the terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the control program of intelligent road-lamp stored in memory 1005, and perform following operation:
The default broadcast singal that real-time or timing receipt mobile terminal is sent;
When receiving default broadcast singal, judge whether the intensity of the default broadcast singal is more than preset strength;
When the intensity of the default broadcast singal is more than the first preset strength, then the intelligent road-lamp is opened.
Further, processor 1001 can call the control program of the intelligent road-lamp stored in memory 1005, also hold
The following operation of row:
Matched in the characteristic information for the broadcast singal for receiving broadcast singal and receiving with default characteristic information
When, judgement receives default broadcast singal.
Further, processor 1001 can call the control program of the intelligent road-lamp stored in memory 1005, also hold
The following operation of row:
The step of returning to the default broadcast singal for performing the real-time or timing receipt mobile terminal transmission;
When the intensity of the broadcast singal received is less than the second preset strength, the intelligent road-lamp is closed, wherein, it is described
Second preset strength is less than the first preset strength;
Alternatively, when not receiving the broadcast singal, the intelligent road-lamp is closed.
Further, processor 1001 can call the control program of the intelligent road-lamp stored in memory 1005, also hold
The following operation of row:
When receiving default broadcast singal, judge whether current point in time is in preset time period, and in current time
When point is in preset time period, the step of whether intensity for judging the default broadcast singal is more than preset strength performed;
Alternatively, when whether current point in time is in preset time period, the default of the reception mobile terminal transmission is performed
The step of broadcast singal.
Fig. 1 can also be the structure diagram that the embodiment of the present invention is related to mobile terminal.
Another embodiment of the present invention can be the equipment with positioning function such as smart mobile phone, can also be with wide
The equipment for broadcasting signal label.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for realization the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet
It can detect that size and the direction of gravity when only, the application available for identification mobile terminal posture is (such as horizontal/vertical screen switching, related
Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
Include than illustrating more or fewer components, either combine some components or different components arrangement.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe module, Subscriber Interface Module SIM and control program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the control program stored in memory 1005, and perform following operation:
Mobile terminal in real time or timing test position information;
It is lasting to send default broadcast singal in the positional information and default first position information matches.
Further, processor 1001 can call the control program stored in memory 1005, also perform following operation:
Return to the step of performing the real-time or timing test position information;
In the positional information and default second place information matches, stop sending the default broadcast singal.
Further, processor 1001 can call the control program stored in memory 1005, also perform following operation:
Return to the step of performing the real-time or timing test position information;
When distance between the positional information and default first position information is more than pre-determined distance, stop sending institute
State default broadcast singal.
With reference to Fig. 2, the first embodiment of the control method of intelligent road-lamp of the present invention, the control method bag of the intelligent road-lamp
Include:
Step S10, the default broadcast singal that real-time or timing receipt mobile terminal is sent;
Intelligent road-lamp has the device of the default broadcast singal such as beacon broadcast singals of detection, in real time or in timing detection range
Beacon broadcast singals, it is described to refer in real time when the intelligent road-lamp is constantly in the place that needs illuminate, in tunnel.Institute
Stating intelligent road-lamp needs timing to detect, and the timing refers to the intelligent road-lamp in specific period, such as night, and 18:00-8:
It could be detected between 00.When detecting that it is pre- when setting beacon broadcast singals that the mobile terminal is sent, the beacon is judged
Whether broadcast singal meets the default beacon broadcast signals features of cell residing for the intelligent road-lamp, when meeting the intelligent road
During the beacon broadcast signals features of cell residing for lamp, the default beacon broadcast letter that mobile terminal is sent just is received
Number.The intelligent road-lamp sends default beacon broadcast letter by mobile terminal described in beacon broadcast singal channel receptions
Number.
Step S20, when receiving default broadcast singal, judges whether the intensity of the default broadcast singal is more than and presets
Intensity;
Step S30, when the intensity of the default broadcast singal is more than the first preset strength, then opens the intelligent road
Lamp.
It is described default when the default broadcast signal strength that the intelligent road-lamp receives is more than default first intensity
The first intensity refer to when having when mobile terminal sends the default broadcast signal strength and is more than default first intensity,
The intelligent road-lamp switch is then opened to be illuminated.
The intelligent road-lamp is in real time in the present embodiment or timing detects the default beacon broadcast letter of the mobile terminal
Number, whether first to judge the default beacon broadcast singals before the default broadcast singal of the mobile terminal transmission is received
Meet the feature of the beacon broadcast singals of cell residing for the intelligent road-lamp, when the default beacon broadcast singals meet
During the feature of the beacon broadcast singals of cell residing for the intelligent road-lamp, the intelligent road-lamp just receives the beacon broadcast
Signal, judges whether the intensity of the beacon broadcast singals is more than preset strength, when the intensity of the default broadcast singal is big
When the first preset strength, then open the intelligent road-lamp controlling switch and be illuminated, so as to allow user not producing noise
In the case of, the illumination of street lamp is controlled according to the active situation of oneself.
With reference to Fig. 3, Fig. 3 is the second embodiment of the control method of intelligent road-lamp of the present invention, based on shown in above-mentioned Fig. 3
Embodiment, after S30 steps the step of includes:
Continue to execute step S10 i.e. in real time or timing receipt mobile terminal send default broadcast singal;
Step S40, when the intensity of the broadcast singal received is less than the second preset strength, closes the intelligent road-lamp,
Wherein, second preset strength is less than the first preset strength.
Alternatively, when not receiving the broadcast singal, the intelligent road-lamp is closed.
It is less than or equal to default the when the intelligent road-lamp receives default broadcast signal strength described in mobile terminal
During two intensity, then the intelligent road-lamp is closed, for example, when user will pass through the intelligent road-lamp, the beacon from far near
Broadcast signal strength is gradually increased, when the intensity of the broadcast singal received is more than default first intensity, the intelligence
Energy circuit signal controlled switch is opened street lamp and is illuminated, and when the user walks far after intelligent road-lamp, the beacon broadcast is believed
Number intensity gradually weakens, when the intensity of the broadcast singal received is less than default second intensity, then close described in
Intelligent road-lamp.Alternatively, when the intelligent road-lamp detects that the default beacon broadcast singals that the mobile terminal is sent are special
Sign does not meet the default beacon broadcast signals features, then judges that the intelligent road-lamp does not receive the mobile terminal hair
The default beacon broadcast singals are sent, then close the controlling switch of the intelligent road-lamp.
In the present embodiment, after the intelligent road-lamp receives the broadcast singal, the broadcast singal is judged,
Judge whether the intensity of the beacon broadcast singals is less than default second preset strength of the intelligent road-lamp, when described
When the intensity of beacon broadcast singals is less than the second preset strength, the intelligent road-lamp is closed.So as to according to the strong of broadcast singal
Degree obtains distance of the user away from the intelligent road-lamp, to close the intelligent road-lamp, reaches energy saving effect.
With reference to Fig. 4, Fig. 4 is the 3rd embodiment of the control method of intelligent road-lamp of the present invention, based on shown in above-mentioned Fig. 2
Embodiment, after step S10, the step of control method of the intelligent road-lamp, further includes:
Step S50, when receiving default broadcast singal, judges whether current point in time is in preset time period;
When current point in time is in preset time period, performs the step S20 and judge the default broadcast singal
The step of whether intensity is more than preset strength;
Alternatively, when whether current point in time is in preset time period, the default of the reception mobile terminal transmission is performed
The step of broadcast singal.
In the default broadcast singal of the reception mobile terminal, judge to receive whether the default broadcast singal is pre-
If period, such as at night 18:00- mornings 6:00, it is default when the intelligent road-lamp receives the default broadcast singal
Period when, then judged described in state the intensity of default broadcast singal and whether be more than preset strength.If the intelligent road-lamp
When to receive the default broadcast singal be not the default period, then without stating the intensity of default broadcast singal described in judgement
Whether preset strength the step is more than.When either judging that the intelligent road-lamp detects the broadcast singal, current time
Whether point is in preset time period, such as evening 18:00- mornings 6:00.When the intelligent road-lamp detects the broadcast singal
It it is the default period, then the intelligent road-lamp receives the mobile terminal and sends the broadcast singal, if the intelligent road-lamp
It is not the default period to detect the broadcast singal, then the intelligent road-lamp reception mobile terminal is not sent described wide
Broadcast signal.
The intelligent road-lamp avoids sending the mobile terminal on daytime by preset time period in the present embodiment
The default broadcast singal handled, so as to preferably make the intelligent road-lamp work in the specific period, reach
Environment protecting.
With reference to Fig. 5, the flow diagram of the fourth embodiment of the control method of Fig. 5 intelligent road-lamps of the present invention, the intelligence
The step of control method of street lamp, further includes:
Step S100, mobile terminal in real time or timing test position information;
The mobile terminal can be the equipment with positioning function such as smart mobile phone, setting with broadcast singal label
It is standby, get location information by detecting in real time or periodically.For example, the setting with positioning function such as described smart mobile phone
It is standby that base station location information etc. is obtained to get user real-time position by GPS positioning system, base station positioning method, JSON
Confidence ceases, and when the equipment with broadcast singal label is by entering cell, the access card detection user of cell carries broadcast singal
The equipment of label gets the positional information of user.
Step S200, it is lasting to send default broadcast letter in the positional information and default first position information matches
Number, wherein, the intensity that default broadcast singal and the default broadcast singal are received in intelligent road-lamp is more than the first preset strength
When, then open the intelligent road-lamp.
When the positional information and default first position information matches, the default beacon of the mobile terminal is sent
Broadcast singal, the default first position information can be position or the intelligent road-lamp in cell range
Position in illumination zone.User oneself can also open the beacon broadcast singals pattern, be sent to the intelligent road-lamp
Matched.
The mobile terminal detects the location of user information by real-time or timing in the present embodiment, when residing
When position is the default first position, the mobile terminal sends default beacon broadcast singals.By mobile whole
First position is preset on end, it is automatic to send beacon broadcast singals when present position is matched with default first position.Pass through
First position information is preset in the mobile terminal, when detecting that present position information is default first position information certainly
Dynamic open sends beacon broadcast singal patterns.
With reference to Fig. 6, the flow diagram of the 5th embodiment of the control method of intelligent road-lamp of the present invention, based on above-mentioned Fig. 5
Shown embodiment, after step S200, the step of control method of the intelligent road-lamp, further includes:
Step S100, mobile terminal in real time or timing test position information;
Step S300, when the location of mobile terminal information is the default second place information, stops
Send the default broadcast singal.
When the mobile terminal is default second place information according to the present position information detected, described second
Positional information is the position away from the intelligent road-lamp, for example, residing cell range or the scope into subscriber unit building,
The mobile terminal, which is closed, sends the broadcast singal pattern.
In the present embodiment, the mobile terminal presets second place information, when the location of described information with it is described
During default second place information matches, the transmission beacon broadcast singal patterns can be automatically closed in the mobile terminal,
By presetting second place information in the mobile terminal, when detecting that present position information is default second place information
When be automatically closed send beacon broadcast singal patterns.
With reference to Fig. 7, the flow diagram of the sixth embodiment of the control method of intelligent road-lamp of the present invention, based on above-mentioned Fig. 5
Shown embodiment, after step S200, the step of control method of the intelligent road-lamp, further includes:
Step S100, returns to the step of performing the real-time or timing test position information;
Step S310, when the distance between the positional information and default first position information is more than pre-determined distance,
Stop sending the default broadcast singal.
When the mobile terminal detects that the distance between the positional information and default first position information are more than in advance
If apart from when, stop sending the default broadcast singal.For example, when the distance between the distance into cell and family are 500
Meter Shi, can using 500 meters it is default be used as default distance, detected when the mobile terminal described in positional information with it is default
When the distance between first position information is more than 500 meters, stop sending the default broadcast singal.
In the present embodiment by presetting a distance value in the mobile terminal, when the mobile terminal detects institute
When rheme puts the distance between default first position information and is more than pre-determined distance, stop sending the default broadcast singal.
The default broadcast singal is sent to be automatically stopped by pre-determined distance in the terminal.
The embodiment of the present invention also provides a kind of intelligent road-lamp, and the intelligent road-lamp includes:Memory, processor and it is stored in
On the memory and the control program that can run on the processor, reality when the control program is performed by the processor
Now the step of control method of intelligent road-lamp as described above.
The embodiment of the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, processor and it is stored in
On the memory and the control program that can run on the processor, reality when the control program is performed by the processor
Now intelligent road-lamp as described above realizes the step of control method of intelligent road-lamp.
In addition, the embodiment of the present invention also proposes a kind of control system of intelligent road-lamp, including the example intelligence is performed as described above
Street lamp and the mobile terminal.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.