CN110049128A - The control system of outdoor lighting based on Internet of Things - Google Patents

The control system of outdoor lighting based on Internet of Things Download PDF

Info

Publication number
CN110049128A
CN110049128A CN201910319599.8A CN201910319599A CN110049128A CN 110049128 A CN110049128 A CN 110049128A CN 201910319599 A CN201910319599 A CN 201910319599A CN 110049128 A CN110049128 A CN 110049128A
Authority
CN
China
Prior art keywords
terminal device
gateway
data
timing
time
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.)
Pending
Application number
CN201910319599.8A
Other languages
Chinese (zh)
Inventor
宋振东
周振华
王洪波
王金宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opple Lighting Co Ltd
Suzhou Op Lighting Co Ltd
Original Assignee
Opple Lighting Co Ltd
Suzhou Op Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Opple Lighting Co Ltd, Suzhou Op Lighting Co Ltd filed Critical Opple Lighting Co Ltd
Priority to CN201910319599.8A priority Critical patent/CN110049128A/en
Publication of CN110049128A publication Critical patent/CN110049128A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source

Abstract

The present invention provides a kind of control systems of outdoor lighting based on Internet of Things, including multiple terminal devices, remote control center and gateway for being controlled each terminal device, wherein, the gateway connect to form local area network with multiple terminal device networking respectively, for receiving information that each terminal device reports by designated local area network communication standard and issuing the data from the remote control center to each terminal device;The gateway also passes through internet and connect with the remote control center, for sending the information that each terminal device reports and the data that the reception remote control center issues to the remote control center by wan communication.The present invention provides a kind of Internet of Things topological structure of outdoor zone illumination, solves the problems, such as that outdoor illumination equipment networking is difficult, is difficult to access internet.

Description

The control system of outdoor lighting based on Internet of Things
Technical field
The present invention relates to internet of things field, the control system of especially a kind of outdoor lighting based on Internet of Things.
Background technique
With the development of modern illumination system, traditional extensive style region outdoor lighting management drawback is gradually shown.Only lean on Artificial inspection and timing or manual switch in time, accurately lighting apparatus effectively cannot be managed and status monitoring or Fault location, it is even more impossible to carry out earlier failure anticipation, reduce electric energy loss, reduction light pollution in cities.
With technology of Internet of things outdoors illumination monitoring field application gradually deeply, general technology of Internet of things, such as The technologies such as GPRS (General Packet Radio Service, General Packet Radio Service), ZigBee, power carrier difference The disadvantages of there are rate, and expensive, base station band carries less, networking complexity, unstable networks, unstable, transmission range is closer transmission, more Not to be able to satisfy the needs of smart city fine-grained management.And emerging technology of Internet of things such as LoRa (Long Range Radio, remote-wireless electricity), SigFox etc. exist and set up that difficult, networking is cumbersome, is difficult to the problems such as accessing internet, limit The application of its lighting area outdoors.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the control system of the outdoor lighting based on Internet of Things of problem.
One side according to an embodiment of the present invention provides a kind of control system of outdoor lighting based on Internet of Things, packet Include multiple terminal devices and the remote control center for being controlled each terminal device, wherein the control System further includes gateway;
The gateway connect to form local area network with multiple terminal device networking respectively, for being communicated by designated local area network Standard receives the information that each terminal device reports and issues to each terminal device from the long-range control The data at center;
The gateway also passes through internet and connect with the remote control center, for by wan communication to described remote Process control center sends the information that each terminal device reports and receives the data that the remote control center issues.
Optionally, the designated local area network communication standard is LoRa;
The gateway and each terminal device are provided with LoRa communication module.
Optionally, the gateway is additionally provided with wan communication module, for the gateway and the remote control center It is communicated;
The wan communication includes one of following: general packet radio service gprs, 3rd generation mobile communication technology 3G, Fourth generation mobile communication technology 4G, network interface communication.
Optionally, the quantity of the gateway is multiple, each gateway is formed with the multiple terminal devices for being connected to thereon One local area network.
Optionally, multiple terminal device includes at least one following:
Street lamp, garden lamp, Lawn lamp, Landscape Lamp, environmental sensor.
Optionally, each terminal equipment configuration are as follows:
When the terminal device is battery powered terminal device, led to using the first communication pattern and the gateway Letter;
When the terminal device is the terminal device of mains-supplied, led to using the second communication pattern and the gateway Letter;
Wherein, in first communication pattern, upstream signals only are sent to the gateway in the terminal device Afterwards, the gateway just carries out downlink communication in response to the upstream signals and the terminal device;
In second communication pattern, which opens always receives window so that the gateway carries out down with it Row communication.
Optionally, each terminal device timing that is additionally configured to call time in the preset timing reaches or the terminal is set When standby state changes, the information of itself is reported to the gateway being located in same local area network with it;
The gateway is additionally configured to after receiving the information that the terminal device reports, and inquiring in the message queue of itself is It is no to there are the data for needing to be handed down to the terminal device, and communicated according to query result with the terminal device, wherein it is described Data in message queue are to store after being handed down to the gateway by the remote control center into the message queue.
Optionally, the gateway is additionally configured in the data storage for issuing the remote control center to the message team After in column, judge the data whether real-time response data, wherein the real-time response data are only applied to logical using described second The terminal device of letter mode;
If so, sending the data to terminal device corresponding with the data immediately;
If it is not, after then waiting until that terminal device corresponding with the data reports information to the gateway, then by the data distributing Give the terminal device.
Optionally, if the gateway is additionally configured in the message queue for inquiring itself, there is no need to be handed down to the terminal The data of equipment then send the first response message to the terminal device, include under the terminal device in first response message The timing time that secondary timing reports;
The terminal device is additionally configured to after receiving first response message, if the terminal device is battery powered Terminal device then enters suspend mode and carries out timing, waits timing arrival of calling time in timing next time;If the terminal device is city The terminal device of electricity power supply then waits timing of calling time in timing next time to reach in a manner of keeping monitoring;Or
If the gateway is additionally configured to the presence of the number for needing to be handed down to the terminal device in the message queue for inquiring itself According to, then issue the data to the terminal device, and after the completion of the data distributing, to the terminal device send the first response Information includes the terminal device timing time that next time, timing reported in first response message;
The terminal device is additionally configured to receive the data that the gateway issues, and to the gateway after data receiver success Send the second response message;
The terminal device is additionally configured to after receiving first response message, if the terminal device is battery powered Terminal device then enters suspend mode and carries out timing, waits timing arrival of calling time in timing next time;If the terminal device is city The terminal device of electricity power supply then waits timing of calling time in timing next time to reach in a manner of keeping monitoring.
Optionally, the data for needing to be handed down to the terminal device are a plurality of;
The gateway is additionally configured to successively issue a plurality of data to the terminal device, wherein the gateway is receiving After the second response message corresponding with the data currently issued, then issue next data;
The terminal device be additionally configured to it is every be properly received the data that the gateway issues after, Xiang Suoshu gateway send with Corresponding second response message of the data.
Optionally, the gateway is additionally configured to:
Set the timing report cycle T of the multiple terminal devices in the local area network where it, wherein the timing reports week Phase T include be sequentially connected with multiple terminal device multiple time windows correspondingly;
After receiving the information that each of multiple terminal device terminal device reports, according to the terminal device The data interaction the time it takes X and the timing report cycle T of time started, the terminal device and the gateway are reported, The timing time that next time, timing reported of the terminal device is set.
Optionally, the gateway is additionally configured to:
After receiving the information that each of multiple terminal device terminal device reports, if the terminal device with The start time of its corresponding time window starts to carry out information reporting, then the meter that next time, timing reported of the terminal device is arranged When the time be T-X;
If the terminal device relative to the start time of corresponding time window be advanced by the Y time start carry out information It reports, then the next timing time periodically reported that the terminal device is arranged is T-X+Y;
If the terminal device relative to the start time of corresponding time window lagged the Z time start carry out information It reports, then the next timing time periodically reported that the terminal device is arranged is T-X-Z.
Optionally, each terminal device is additionally configured to:
When just having been powered in the terminal device or just having been connect with the gateway and the local area network where the gateway is added, to refer to The sum of basic time and random time is determined as calling time in the preset timing.
Optionally, the gateway includes real-time clock RTC block, for being in same for the gateway and with the gateway Terminal device in one local area network provides time reference.
Optionally, the device model comprising the terminal device and equipment unique identities are provided on each terminal device The information code of mark;
The control system further includes the application client being equipped on mobile terminal;
The application client is connect with the remote control center, for being mounted in each terminal device After getting well and powering on, the information code of the terminal device is scanned to obtain the device model of the terminal device and equipment unique identities mark Know, further obtain the relevant information of the terminal device, and by the device model of the acquired terminal device, the unique body of equipment Part mark and relevant information upload to the remote control center;
The remote control center is additionally configured to the device model according to the terminal device received, equipment unique identities Mark and relevant information, match the terminal device with the gateway according to preset matching rule, and by the terminal device Device model, equipment unique identity and relevant information be issued in the matched gateway of institute;
The gateway is additionally configured to device model, equipment unique identity and phase according to the terminal device received Information is closed, networking is established with the terminal device and connect.
Optionally, the LoRa communication module of the gateway includes the first LoRa communication of the networking management for terminal device Module and for the 2nd LoRa communication module that communicates after carrying out networking with terminal device, wherein the first LoRa communicates mould The communication configuration parameter of block is arranged to consistent with the communication configuration parameter when terminal device non-networking of factory;
The gateway is additionally configured in device model, equipment unique identity and the related letter for receiving the terminal device After breath, the type of the terminal device is judged;
If the terminal device is the terminal device of mains-supplied, set by the first LoRa communication module to the terminal Preparation send the order for carrying the change communication configuration parameter of communication configuration parameter of the 2nd LoRa communication module;
If the terminal device is battery powered terminal device, this is being received by the first LoRa communication module After the information that reports of terminal device timing, described the is carried to terminal device transmission by the first LoRa communication module The order of the change communication configuration parameter of the communication configuration parameter of two LoRa communication modules;
The terminal device is additionally configured to after receiving the order, and the communication configuration parameter of itself is changed to and described The communication configuration parameter one of two LoRa communication modules shows the local area network being added where the 2nd LoRa communication module of the gateway.
Optionally, the relevant information of the terminal device acquired in the application client includes the terminal device Factory default communication configuration parameter;
The gateway is additionally configured in device model, equipment unique identity and the related letter for receiving the terminal device After breath, and before the order for sending change communication configuration parameter to the terminal device according to the type of the terminal device, by institute The communication configuration parameter for stating the first LoRa communication module is set as consistent with the factory default communication configuration parameter of the terminal device; And after the local area network where the 2nd LoRa communication module is added in the terminal device, restore the first LoRa communication module Communication configuration parameter.
Optionally, the LoRa communication module of the gateway further includes the 3rd LoRa communication module;
Each terminal device is additionally configured to:
After establishing networking connection with the corresponding gateway, if after the terminal device reports information to the gateway timing The number for not receiving the response message of the 2nd LoRa communication module of the gateway is more than specified non-response times or the terminal The communication success rate of equipment and the 2nd LoRa communication module of the gateway is less than the first preset threshold, then automatically by the logical of itself It is consistent with the communication configuration parameter of the 3rd LoRa communication module of the gateway to believe that configuration parameter is changed to, and passes through the third LoRa communication module is communicated with the gateway.
Optionally, each terminal device is additionally configured to:
After establishing networking connection with the corresponding gateway, and before being timed and reporting, letter to be reported is judged Whether the data volume of breath is more than the second preset threshold;
If so, the communication configuration parameter of itself is changed to automatically logical with the 3rd LoRa communication module of the gateway Believe that configuration parameter is consistent, and is communicated by the 3rd LoRa communication module with the gateway.
Optionally, the gateway further includes locating module, for obtaining the location information of the gateway, acquired gateway Location information the remote control center is uploaded to by the gateway;
The application client is additionally configured to obtain phase of the location information as the terminal device of the terminal device Close information;
The remote control center is additionally configured to the device model according to the terminal device received, equipment unique identities Mark and relevant information, which is matched with the gateway nearest apart from the terminal device.
Optionally, the gateway further include:
Data memory module, for carrying out the storage of data and information;
Switch power module, for providing power supply for the modules of the gateway;And
Micro-control unit module is connect with other modules of the gateway respectively, for carrying out data operation and appointing The scheduling and execution of business, and control other modules of the gateway.
Optionally, the gateway further include:
Debugging interface module is connect with the micro-control unit module, for after invoked to the gateway and the net Local area network where closing carries out debugging and trouble shoot.
The control system for the outdoor lighting based on Internet of Things that the embodiment of the present invention proposes, including multiple terminal devices, use In the remote control center and gateway that are controlled each terminal device, by enable gateway respectively with multiple terminal devices group Net connection forms local area network and connect by internet with remote control center, and gateway is made to become the local area network of entire control system Remote measurement and control is realized to provide a kind of Internet of Things topological structure of outdoor zone illumination with the connecting node of wide area network Purpose.Specifically, it is respectively provided with LoRa communication module in each terminal device and gateway, and uses LoRa communication plan in terminal Realize that group-net communication, gateway then use modes and the remote control center such as GPRS, 3G, 4G or network interface communication between equipment and gateway Uplink communication is carried out, solves the problems, such as that outdoor illumination equipment networking is difficult, be difficult to access internet.
Further, terminal device reports mechanism using the timing of " time squirrel wheel method ", passes through in the communication with gateway " time squirrel wheel method " will equably call time in the timing of terminal device and scatter, and each terminal device is made to report week defined In phase effectively reported data and the data that remote control center issues can be obtained, solve the LoRa communication technology because inherently Narrow bandwidth, rate it is slow and caused by gateway band carries slave negligible amounts, the communication information is prone to collide and cause loss of data, The problem of mistake.
Further, local area network is added in terminal device by the way of " barcode scanning ", specifically, mobile whole by being equipped on The information code in application client end of scan equipment on end obtains the information of terminal device, and by terminal device Information uploads to remote control center, and the information of terminal device is issued to corresponding gateway again to complete end by remote control center The operation of the local area network where gateway is added in end equipment.In such a way that barcode scanning networks, solves the existing LoRa communication technology Present in equipment be added that gateway operation is complicated, cumbersome problem.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
According to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will be brighter The above and other objects, advantages and features of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the structural representation of the control system of the outdoor lighting according to an embodiment of the invention based on Internet of Things Figure;
Fig. 2 shows do not have the case where data for needing to issue in the message queue of gateway according to an embodiment of the invention The communication scenes schematic diagram of lower terminal device and gateway;
Fig. 3 shows the feelings for existing in the message queue of gateway according to another embodiment of the present invention and needing the data issued The communication scenes schematic diagram of terminal device and gateway under condition;
Fig. 4 is shown in the next timing according to an embodiment of the invention using " time squirrel wheel method " setting terminal device The schematic diagram of the timing time of report;
Fig. 5 shows the structural schematic diagram of gateway according to an embodiment of the invention;And
Fig. 6 shows communication scenes schematic diagram when terminal device according to an embodiment of the invention networks.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
In order to solve the above technical problems, the embodiment of the present invention proposes a kind of control system of outdoor lighting based on Internet of Things System.Fig. 1 shows the structural representation of the control system 100 of the outdoor lighting according to an embodiment of the invention based on Internet of Things Figure.
Shown in Figure 1, the control system 100 of the outdoor lighting provided in an embodiment of the present invention based on Internet of Things can wrap Include multiple terminal devices 110, remote control center 130 and gateway 120 for being controlled each terminal device 110. Wherein, gateway 120 connect to form local area network with multiple 110 networking of terminal device respectively, for being communicated by designated local area network Standard receives the information that each terminal device 110 reports and issues to each terminal device 110 from remote control center 130 Data.Gateway 120 is also connect by internet with remote control center 130, for being controlled by wan communication to long-range Center 130 sends the information that each terminal device 110 reports and receives the data that remote control center 130 issues.
The embodiment of the present invention propose the outdoor lighting based on Internet of Things control system, by enable gateway respectively with it is multiple Terminal device networking connects to form local area network and connect by internet with remote control center, and gateway is made to become entire control system The local area network of system and the connecting node of wide area network are realized to provide a kind of Internet of Things topological structure of outdoor zone illumination The purpose of remote measurement and control.
In an alternative embodiment, referring still to shown in Fig. 1, the quantity of gateway 120 can be multiple, multiple terminals Equipment 110 is connect according to region, gateway carry terminal quantity etc. with suitable gateway 120, each gateway 120 and is connected to it On multiple terminal devices 110 formed a local area network so that whole system forms multiple local area networks, to protect to the maximum extent Demonstrate,prove the communication efficiency between gateway and terminal device.
Preferably, designated local area network communication standard mentioned above can be LoRa standard.LoRa(Long Range Radio, remote-wireless electricity) it is a kind of low-power consumption local area network wireless standard, low-power consumption and at a distance unification are realized, same 3-5 times can be expanded than traditional twireless radio-frequency communication distance under the power consumption of sample, so as to dramatically increase terminal device and gateway Between efficient communication transmission range.
Shown in referring to Fig.1, each terminal device 110 is provided with LoRa communication module 111, and correspondingly, gateway 120 is arranged There is LoRa communication module 121, terminal device 110 and gateway are realized by LoRa communication module 111 and LoRa communication module 121 LoRa communication plan between 120.
With continued reference to Fig. 1, gateway 120 is also provided with wan communication module 122, for passing through wan communication skill Art is communicated by internet with remote control center 130.That is, wan communication module 122 is as gateway 120 Uplink communication interface plays the function of connecting local area network with remote control center 130.Wan communication technology mentioned herein It may include that general packet radio service gprs, 3rd generation mobile communication technology 3G, fourth generation mobile communication technology 4G, network interface are logical One of letter etc..Network interface communication is by accessing internet using network interface (such as Ethernet interface etc.).
Optionally, multiple terminal devices 110 may include street lamp, garden lamp, Lawn lamp, Landscape Lamp, environmental sensor etc. At least one of.Environmental sensor mentioned herein can refer to have measurement environment in temperature, humidity, air pressure, illumination, The sensing function of the environmental informations such as noise, VOC (Volatile Organic Compounds, volatile organic compounds), PM2.5 It can be with the compound sensing components of wireless communication function.
In practical applications, the power supply mode of terminal device 110 usually has following two: the first, mains-supplied, for Using the terminal device of mains-supplied, electricity supply is more stable, and the power consumption that can be born is relatively high;Second, battery power supply, example The illuminator for such as passing through solar power generation, for using battery powered terminal device, electricity supply is depended in battery The electricity stored, the power consumption that can be born are relatively low.
In an alternative embodiment, each terminal device 110 is configurable to:
When terminal device 110 is battery powered terminal device, (it might as well be known as LoRa's using the first communication pattern Class A communication pattern) it is communicated with gateway 120;When terminal device 110 is the terminal device of mains-supplied, using the Two communication patterns (the Class C communication pattern that might as well be known as LoRa) are communicated with gateway 120.Wherein, mould is communicated first In formula, only after terminal device 110 sends upstream signals to gateway 120,120 ability of gateway is believed in response to the uplink Number with terminal device 110 carry out downlink communication, that is to say, that whenever, the downlink communication of gateway all can only be in terminal device Uplink communication after.In the second communication mode, terminal device 110 opens always receives window so as to gateway 120 and the end End equipment 110 carries out downlink communication, that is to say, that gateway can issue data to terminal device in real time.By making battery power Terminal device worked using the first communication pattern, battery powered terminal device can be made least in power-consuming in application, Gateway, which can be responded rapidly to, simultaneously carries out downlink communication with it.
In an alternative embodiment, the communication between terminal device 110 and gateway 120 can be used such as under type:
For each terminal device 110, when the state hair of call time in preset timing timing arrival or the terminal device When raw change, the information of itself is reported to the gateway 120 being located in same local area network with it.Terminal device 110 mentioned herein Self information may include the status information of terminal device 110, environmental information collected (only for environmental sensor) etc.. Calling time in preset timing can be set according to practical demand for control, such as is set as in 1-120 minutes ranges, this hair It is bright to this with no restriction.After receiving the information that terminal device 110 reports, inquire in the message queue of itself is gateway 120 It is no to there are the data for needing to be handed down to the terminal device 110, and communicated according to query result with the terminal device 110, In, the data in mentioned message queue are to store after being handed down to the gateway 120 by remote control center 130 to message queue In.
Since remote data center 130 is different from network environment locating for terminal device 110, remote data center 130 is not Data information directly can be issued to terminal device 110, therefore, the number such as instruction that remote data center 130 issues or configuration parameter It is believed that breath need to first store in the message queue of gateway 120.Further, gateway 120 is issuing remote control center 130 Data storage into message queue after, can also judge the data whether real-time response data, wherein real-time response data are only answered For the terminal device using the second communication pattern.If the data are real-time response data, gateway 120 immediately sends out the data Give terminal device 110 corresponding with the data.If the data are not real-time response data, gateway 120 is waited until and the data After corresponding terminal device 110 reports information to gateway 120, then by the data distributing to the terminal device 110.Mentioned herein Real-time response data refer to the data information for needing terminal device real-time response, such as switch lamp order immediately etc., are only limitted to work Make the terminal device in the second communication pattern (i.e. continuous openness reception window).
In practical applications, there are following two feelings for the communication between each terminal device 110 and corresponding gateway 120 Condition:
The first situation when gateway 120 receives the information that terminal device 110 reports, does not have in the message queue of gateway 120 The data in need for being handed down to terminal device 110.
Fig. 2 shows do not have the case where data for needing to issue in the message queue of gateway according to an embodiment of the invention Under terminal device 110 and gateway 120 communication scenes schematic diagram.As shown in Fig. 2, (can be for the first time when calling time in timing Call time in the preset timing reported or time for reporting of timing next time that gateway returns) timing arrival or terminal device When 110 state changes, terminal device 110 reports the information of itself to corresponding gateway 120.Gateway 120 is receiving After the information that terminal device 110 reports, inquire in the message queue of itself there is no needing to be handed down to the terminal device 110 Data, that is, no data needs issue.At this moment, gateway 120 sends the first response message, first response to the terminal device 110 Include the timing time that next time, timing reported of terminal device 110 in information.Terminal device 110 is receiving the first response message Afterwards, if the terminal device 110 is battery powered terminal device, suspend mode can be entered and start to carry out timing, waited next time Timing of calling time in timing is waken up after reaching, and carries out information reporting again.If the terminal device 110 is the terminal of mains-supplied Equipment is called out after then timing of calling time in timing next time being waited to reach in a manner of keeping monitoring (or for radio listening silence) It wakes up, carries out information reporting again.Radio listening silence mode mentioned herein refers to that terminal device 110 only receives letter in waiting process Number without issue signal.
Second situation when gateway 120 receives the information that terminal device 110 reports, is deposited in the message queue of gateway 120 In the data for needing to be handed down to terminal device 110.The data that needs mentioned herein issue for example can be reading terminal equipment Log information instruction, to control strategy of terminal device etc..
Fig. 3, which is shown, has the case where data for needing to issue in the message queue of gateway according to an embodiment of the invention Under terminal device 110 and gateway 120 communication scenes schematic diagram.As shown in figure 3, (can be for the first time when calling time in timing Call time in the preset timing reported or time for reporting of timing next time that gateway returns) timing arrival or terminal device When 110 state changes, terminal device 110 reports the information of itself to corresponding gateway 120.Gateway 120 is receiving After the information that terminal device 110 reports, the number for existing in the message queue of itself and needing to be handed down to the terminal device 110 is inquired According to, that is, it is subsequent to there are data needs to issue.At this moment, gateway 120 issues data to the terminal device 110, and completes in data distributing Afterwards, the first response message is sent to the terminal device 110, includes in the next timing of the terminal device 110 in the first response message The timing time of report.Terminal device 110 is after receiving the first response message, if the terminal device 110 is battery powered end End equipment can then enter suspend mode and start to carry out timing, be waken up after waiting timing of calling time in timing next time to reach, again Carry out information reporting.If the terminal device 110 be mains-supplied terminal device, with keep monitor (or for radio it is quiet It is silent) mode wait timing of calling time in timing next time to reach after be waken up, carry out information reporting again.
Further, it with continued reference to shown in Fig. 3, is set if needing to be handed down to terminal present in the message queue of gateway 120 Standby 110 data be it is a plurality of, then gateway 120 successively issues a plurality of data, correspondingly, terminal device to the terminal device 110 110 successively carry out response, to complete data interaction between the two.Process is issued to a plurality of data below by way of the example of Fig. 3 It is illustrated.Assuming that the data for needing to issue in message queue have n item, then gateway 120 is receiving what terminal device 110 reported After information, the 1st data first is issued to terminal device 110.Terminal device 110 is in the 1st article for being successfully received gateway 120 and issuing After data, the 1st article of the second response message corresponding with the 1st data is sent to gateway 120.Gateway 120 is being received and is being issued Corresponding 1st article of the second response message of the 1st data after, then to terminal device issue the 2nd data.And so on, until After gateway 120 receives the second response message of nth (that is, all data distributings are completed) corresponding with the nth data issued, The first response message of the timing time reported comprising the next timing of the terminal device 110 is sent to terminal device 110.
During gateway 120 issues a plurality of data, it is possible that certain data response is overtime and fails down The case where hair.In order to guarantee the success rate and efficiency of data transmission, in an alternative embodiment, gateway 120 can also be During issuing data, corresponding operation is carried out according to data distributing success or not.If referring to after issuing certain data first The second response message of terminal device 110 is received in fixing time, then the judgement of gateway 120 issues success, carries out next data Issue.First specified time mentioned herein can be set according to actual real-time response demand, such as be set as 0.5 Second or 1 second.If not receiving the second response message of terminal device 110 after issuing certain data within first specified time, Then the judgement of gateway 120 issues failure and issues the data again after the second specified time of random delay, until under the data It sends out successfully, then carries out issuing for next data.Second specified time mentioned herein can be set according to actual needs, Such as it is set in 0.5-3 seconds ranges.
Further, if the number that certain data continuously issues failure reaches the first predetermined number of times, gateway 120 skips this Data carries out issuing for next data, carries out issuing for the data again after the completion of other data all issue, thus It is further ensured that the success rate and efficiency of data transmission.First predetermined number of times for example can be set to 3 times, 5 inferior, the present invention couple This is with no restriction.
Further, if certain data issue always it is unsuccessful, gateway 120 to remote control center 130 feedback should Data issues the information of failure.Specifically, determine data issue always it is unsuccessful according to condition can for it is following it is any it One: (1) it is more than the second predetermined number of times (such as 10 times) that the data, which issues the total degree of failure,;(2) gateway issues data and is spent The total time taken is more than default call duration time.
The multiple embodiments that terminal device 110 is communicated with gateway 120 are described above, wherein terminal device 110 After periodically reporting information for the first time, gateway 120 can send the meter that next time, timing reported of terminal device 110 to terminal device 110 When the time so that subsequent report of the multiple terminal devices 110 of the lower carry of gateway 120 becomes specification, orderly.It below will tool When body illustrates that gateway 120 is to the timing periodically reported the next time of each terminal device 110 of its lower carry in the embodiment of the present invention Between setting up procedure (might as well be referred to as " time squirrel wheel method " setting).
Fig. 4 is shown in the next timing according to an embodiment of the invention using " time squirrel wheel method " setting terminal device The schematic diagram of the timing time of report.As shown in figure 4, gateway 120 sets the multiple terminal devices 110 in the local area network where it Timing report cycle (being referred to as runner period time) T, wherein timing report cycle T include be sequentially connected it is more with this The one-to-one multiple time windows of a terminal device 110.Gateway 120 receive it is each in multiple terminal device 110 After the information that a terminal device reports, time started, the terminal device 110 and the net are reported according to the terminal device 110 The data interaction the time it takes X and timing report cycle T for closing 120, timing next time that the terminal device 110 is arranged report Timing time.In an embodiment of the present invention, timing report cycle T can be divided into multiple time windows, that is, each time The length of window is the same.Different time windows can also be opened up according to the type of terminal device, that is, the length of each time window Degree can be different.In order to guarantee that a timing report cycle is able to carry out the transmitting-receiving of complete data information, each time window Length preferably at 2 seconds or more.
When reporting mechanism to carry out reporting information with " time squirrel wheel method ", under ideal conditions, each terminal device is answered The timing that the start time in one's own time window starts to carry out information reports, but has in many cases certain Terminal device does not carry out information reporting according to the starting point in its time window of imagination, but occurs in advance or lag.It is right Such case needs the timing time that elimination shifts to an earlier date or lag time reports the timing of the terminal device under time rotor machine system Influence.The setting for the timing time that the next time of terminal device periodically reports is specifically described below by way of the example of Fig. 4.
Referring to shown in Fig. 4, timing report cycle (runner period time) T include respectively with first terminal equipment 110, second Terminal device 110, third terminal equipment 110, the 4th terminal device 110 ..., the one-to-one sequentially phase of the n-th terminal device 110 Even time window 1, time window 2, time window 3, time window 4 ..., time window n.First terminal equipment 110 is online, Start to carry out information reporting in the start time of time window 1, is X1 with the time that 120 data interaction of gateway is spent.Then first After terminal device 110 is communicated with gateway 120, the online timing time again of first terminal equipment 110 is arranged in gateway 120 (that is, timing time that next time, timing reported) is T-X1.After the arrival of T-X1 timing time, first terminal equipment 110 will again Online, the timing for carrying out information uploads.Second terminal equipment 110 is online, starts to carry out information in the start time of time window 2 It reports, is X2 with the time that 120 data interaction of gateway is spent.After then second terminal equipment 110 is communicated with gateway 120, net Closing 120 setting second terminal equipment 110, online timing time is T-X2 again.After the arrival of T-X2 timing time, second eventually End equipment 110 will be online again, and the timing for carrying out information uploads.Third terminal equipment 110 is online, and relative to time window 3 Start time be advanced by the Y3 time start carry out information reporting, with 120 data interaction of gateway spend time be X3.Then third After terminal device 110 is communicated with gateway 120, third terminal equipment 110 is arranged in gateway 120, and online timing time is again T-X3+Y3.After the arrival of T-X3+Y3 timing time, third terminal equipment 110 will be online again, and the timing for carrying out information uploads. 4th terminal device 110 is online, and the start time relative to time window 4 lagged the Z4 time start carry out information reporting, It is X4 with the time that 120 data interaction of gateway is spent.After then the 4th terminal device 110 is communicated with gateway 120, gateway 120 The 4th terminal device 110 is arranged, and online timing time is T-X4-Z4 again.After the arrival of T-X4-Z4 timing time, the 4th eventually End equipment 110 will be online again, and the timing for carrying out information uploads.By in timing time plus or minus terminal device timing The pre-set time or lag time reported eliminates in advance or timing of the lag time to the terminal device under time rotor machine system The influence of the timing time reported becomes subsequent report of terminal device more orderly.
In addition, where each terminal device 110 just powers on or just connects with corresponding gateway 120 and the gateway is added When most of terminal devices 110 all re-power when local area network or in whole region, terminal device 110 is not aware that itself Timing on call time.At this moment, each terminal device 110 will be to specify the sum of basic time and random time as the pre- of itself If timing on call time.Specified basic time mentioned herein can set according to practical transmitting-receiving demand, such as be set as 60 seconds.When terminal device 110 using specify the sum of basic time and random time as call time in the preset timing of itself into After row timing reports, reports and be possible to success, it is also possible to fail because data collision or gateway are busy.But as long as reporting success Afterwards, terminal device 110 is obtained with the timing time that next time, timing reported that gateway 120 is arranged according to " time squirrel wheel method ", Then subsequent report of the terminal device 110 just becomes orderly.Currently without reporting successful terminal device to report into later To also it become after function orderly.In this way, entire local area network is after a few wheel time runner cycle Ts, by by it is initial when it is unordered, mixed Disorderly, become more and more orderly, specification, last entire local net network becomes orderly function.
It will equably be called time and scatter in the timing of terminal device by " time squirrel wheel method ", each terminal device is made to exist Effectively reported data and the data that remote control center issues can be obtained in defined report cycle, solve LoRa communication Technology due to intrinsic narrow bandwidth, rate are slow caused by gateway band carries slave negligible amounts, the communication information is prone to collision and Cause the problem of loss of data, mistake.
As previously mentioned, local area network and wide area network of the gateway 120 as entire control system 100 provided in an embodiment of the present invention Connecting node, be the core of the hardware product of whole system.Fig. 5 shows according to an embodiment of the invention based on Internet of Things Outdoor lighting control system 100 in gateway 120 structural schematic diagram.
In order to guarantee the accurate execution with the function of time correlation, as shown in figure 5, in addition to above-mentioned LoRa communication module 121 Except wan communication module 122, gateway 120 can also include RTC (Real-Time Clock, real-time clock) module 123.RTC block 123 is mainly used for as gateway 120 and carry under the gateway 120 (that is, being in same office with the gateway 120 Domain net in) terminal device 110 provide time reference, thus for it is some when base function (" the time squirrel wheel method " of such as terminal device Timing reports mechanism, timing dimming strategy etc.) execution basis of time is provided, improve and execute precision.RTC block 123 can be with With permanent calendar function, and there is backup battery, even if in this way, RTC block 123 can also operate normally in the event of a power failure. Also, since RTC block 123 can provide real time clock information for terminal device, even if so that after gateway uplink suspension, gateway The terminal device of the local area network covering at place still is able to the timing strategies automatic running according to setting.
Be mentioned above, networking is cumbersome be limitation LoRa technology of Internet of things outdoors the application of lighting area an important factor for. When LoRa network is added using the terminal device of LoRa communication standard, other than some conventional configuration parameters, it is also necessary to Lower three important parameters: local area network title (can be described as APPEUI), channel and equipment unique identity (can be described as DEVEUI). Wherein, the APPEUI of all terminal devices of the carry below the same gateway must be consistent with the gateway, and the terminal device is It can be with gateway communication.The same LoRa network generally has 8 channels, to carry out frequency hopping communications, and consolidated network (local Net) under this 8 channels of all terminal devices must be consistent.In addition, gateway must also be noted that the DEVEUI of terminal device It can be with the terminal equipment in communication.To the acquisition of above-mentioned configuration parameter and more when LoRa network is added in terminal device in the prior art Change complicated for operation, cumbersome, limits its application.The present invention in response to this problem, by using the mode of " barcode scanning ", is improved and is based on Terminal device enters net operation in the control system of the outdoor lighting of Internet of Things.
In an alternative embodiment, the device model comprising the terminal device is provided on each terminal device 110 With the information code of equipment unique identity (DEVEUI).The information code can be bar code or two dimensional code.
Correspondingly, referring to Fig.1, control system 100 can also include application client 140.Application client 140 can be equipped on mobile terminal (such as mobile phone, tablet computer etc.).Application client 140 and remote control center 130 Connection, for scanning the information code of the terminal device 110 to obtain this after each terminal device 110 is mounted and gets well and power on The device model and equipment unique identity of terminal device, further obtain the relevant information of the terminal device 110, and by institute Device model, equipment unique identity and the relevant information of the terminal device 110 obtained upload to remote control center 130。
Remote control center 130 according to the device model of the terminal device 110 received, equipment unique identity and Relevant information matches the terminal device 110 with gateway 120 according to preset matching rule, and by the terminal device 110 Device model, equipment unique identity and relevant information are issued in the matched gateway 120 of institute.In turn, 120 basis of gateway Device model, equipment unique identity and the relevant information of the terminal device received establish networking with the terminal device 110 Connection, that completes terminal device 110 enters net operation.Preset matching rule mentioned herein may include by terminal device and carry The less gateway matching of terminal quantity, the specified gateway being connect with terminal device of user etc..
Further, in order to improve terminal device networking success rate and efficiency, in a preferred embodiment, reference Shown in Fig. 5, the LoRa communication module 121 of gateway 120 includes the first LoRa communication module of the networking management for terminal device 1211 and for the 2nd LoRa communication module 1212 that communicates after carrying out networking with terminal device.First LoRa communication module 1211 Communication configuration parameter can be set to the parameter of factory default, these parameters and terminal device 110 dispatch from the factory non-networking when Communication configuration parameter is consistent, thus what the terminal device 110 that the first LoRa communication module 1211 can be used for receiving non-networking was sent Information.The communication configuration parameter of 2nd LoRa communication module 1212 can be set to the parameter of the local area network where it.
Gateway 120 is in the unique body of device model, equipment for receiving the terminal device 110 that remote control center 130 issues After part mark and relevant information, the type of the terminal device 110 is judged.If the terminal device 110 is that the terminal of mains-supplied is set Standby, then gateway 120 carries the 2nd LoRa communication module to the terminal device 110 transmission by the first LoRa communication module 1211 The order of the change communication configuration parameter of 1212 communication configuration parameter.If the terminal device 110 is that battery powered terminal is set Standby, then gateway 120 leads to after receiving the information that 110 timing of terminal device reports by the first LoRa communication module 1211 It crosses the first LoRa communication module 1211 and sends the communication configuration for carrying the 2nd LoRa communication module 1212 to the terminal device 110 The order of the change communication configuration parameter of parameter.The terminal device 110, will after the order for receiving change communication configuration parameter The communication configuration parameter of itself, which is changed to show with the communication configuration parameter one of the 2nd LoRa communication module 1212, is added gateway 120 The 2nd LoRa communication module 1212 where local area network.The communication configuration parameter being mentioned above may include local area network title And/or channel.
Further, the relevant information of terminal device 110 acquired in application client 140 may include the end The factory default communication configuration parameter of end equipment 110.In this case, gateway 120 is in the equipment for receiving terminal device 110 After model, equipment unique identity and relevant information, and according to the type of the terminal device 110 to the terminal device 110 Before the order for sending change communication configuration parameter, sets the communication configuration parameter of the first LoRa communication module 1211 to and be somebody's turn to do The factory default communication configuration parameter of terminal device 110 is consistent;And the 2nd LoRa communication module is added in the terminal device 110 After local area network where 1212, restore the communication configuration parameter of the first LoRa communication module 1211.
It is highly preferred that in order to improve the success rate communicated between terminal device and gateway and guarantee regular communication, referring to Fig. 5 Shown, the LoRa communication module 121 of gateway 120 can also include the 3rd LoRa communication module 1213.3rd LoRa communication module 1213 can be used as the spare communication module of the 2nd LoRa communication module 1212.Each terminal device 110 with Corresponding matching After gateway 120 establishes networking connection, if the terminal device 110 does not receive gateway 120 after reporting information to 120 timing of gateway The number of the response message of 2nd LoRa communication module 1212 is more than specified non-response times or the terminal device 110 and gateway The communication success rate of 120 the 2nd LoRa communication module 1212 is less than the first preset threshold, then automatically by the communication configuration of itself Parameter change is consistent with the communication configuration parameter of the 3rd LoRa communication module 1213 of gateway 120, and logical by the 3rd LoRa Letter module 1213 is communicated with gateway 120.Specified non-response times mentioned herein for example, it can be set to for 5 times, it is 10 inferior, First preset threshold for example, it can be set to be 80%, 85% etc., the invention is not limited in this regard.
It is highly preferred that each terminal device 110 is established after networking connect in the gateway 120 with Corresponding matching, and carrying out Before timing reports, the data volume of information to be reported can also be judged whether more than the second preset threshold.If letter to be reported The data volume of breath is more than the second preset threshold, then the communication configuration parameter of itself is changed to and gateway by terminal device 110 automatically The communication configuration parameter of 120 the 3rd LoRa communication module 1213 is consistent, and passes through the 3rd LoRa communication module 1213 and net 120 are closed to be communicated.By leading to terminal device before carrying out big data quantity communication by the 3rd LoRa of network switching to gateway Network where believing module, it is therefore prevented that the terminal device under network where long-term communication can upset the 2nd LoRa communication module of gateway " time runner " periodically report mechanism, guarantee communication order and validity.
In an alternative embodiment, referring still to Fig. 5, gateway 120 can also include locating module 124.Positioning mould Block 124 can obtain the position of gateway for example, by GPS (Global Positioning System, global positioning system) etc. Information.The location information of acquired gateway can upload to remote control center by gateway, can be used as terminal device and gateway One of analysis foundation matched, can also provide foundation for asset management, fault location.Application client 140 can also obtain Take relevant information of the location information of terminal device 110 to be networked as the terminal device.In this case, it is set in terminal When matching terminal device with gateway during standby networking, remote control center 130 can be set according to the terminal received Standby 110 device model, equipment unique identity and relevant information, by the terminal device 110 with apart from the terminal device most Close gateway 120 is matched.Location information mentioned herein can be indicated with longitude and latitude.Preferably, carry out terminal device with When the matching of gateway, the carry terminal quantity of gateway is gone back while considering, to reach the balance in region and load distribution.
Communication scenes schematic diagram when being networked below with the terminal device of a specific embodiment according to the present invention shown in fig. 6 For, the net operation that enters of terminal device provided by the invention is specifically described.
Referring to shown in Fig. 6, after terminal device 110 is mounted and gets well and power on, 140 end of scan of application client is set Standby 110 information code is further obtained with obtaining the device model and equipment unique identity (DEVEUI) of the terminal device The location information of terminal device 110, and the device model of terminal device 110, DEVEUI and location information are uploaded into long-range control Center 130 processed.Remote control center 130 carries out comprehensive analysis according to the information received, according between terminal device and gateway Be closer, the carry terminal quantity of gateway it is less for preferential matching rule, by terminal device 110 and suitable gateway 120 are matched, and the device model of terminal device 110, DEVEUI and location information are issued to matched gateway 120.Net 120 are closed after receiving above- mentioned information, judges the type of terminal device 110.Due to the first LoRa communication module of gateway 120 1211 communication configuration parameter (or network parameter) has been set in advance as default when the non-networking of factory with terminal device 110 Parameter is consistent, and therefore, the first LoRa communication module 1211 can be used for logical between gateway 120 and the terminal device 110 of non-networking Letter.For the terminal device 110 of mains-supplied, gateway 120 passes through the first LoRa communication module 1211 to the terminal device immediately 110 send the order for carrying the change communication configuration parameter of communication configuration parameter of the 2nd LoRa communication module 1212.For Battery powered terminal device 110, gateway 120 wait until receiving the terminal device by the first LoRa communication module 1211 After the information that 110 timings report, the 2nd LoRa is carried to the terminal device 110 transmission by the first LoRa communication module 1211 The order of the change communication configuration parameter of the communication configuration parameter of communication module 1212.The terminal device 110 is receiving change After the order of communication configuration parameter, the communication configuration parameter of itself is changed to match with the communication of the 2nd LoRa communication module 1212 It sets parameter one and shows the local area network that 1212 place of the 2nd LoRa communication module of gateway 120 is added.
Make terminal device that local area network be added by using the mode of " barcode scanning ", solves and deposited in the existing LoRa communication technology Equipment be added that gateway operation is complicated, cumbersome problem.
In an alternative embodiment, with continued reference to Fig. 5, gateway 120 can also include data memory module 125, open Powered-down source module 126 and MCU (Microcontroller Unit, micro-control unit) module 127.
Data memory module 125 is mainly used for carrying out data and information, and (such as communication configuration parameter, terminal device report Information, daily record data, message queue etc.) storage, nonvolatile memory can be used, thus in the event of a power failure also not Data can be lost.
Switch power module 126 is mainly used for providing power supply for the modules of gateway 120.Alternatively implement a kind of In mode, mains supply can be converted to D.C. regulated power supply by switch power module 126, to be each mould of gateway 120 Block is powered.
Core of the MCU module 127 as gateway 120 is connected with other modules of gateway 120 respectively.MCU module 127 can have high-performance processor, for carrying out the scheduling and execution of data operation and task, and control gateway 120 other Modules.
Further, referring still to Fig. 5, gateway 120 can also include debugging interface module 128.Debugging interface module 128 It is connect with MCU module 127, for being adjusted in local to the local area network where gateway 120 and the gateway 120 after user calls Examination and trouble shoot.Network state can also be read by debugging interface module 128.In a kind of interchangeable embodiment, Debugging interface module 128 can be RJ45 interface, be built-in with webpage and shell, and user can pass through PC (Personal Computer, personal computer) it exchanges examination interface module 128 and accesses connection.
In addition, the timing based on above-mentioned terminal device report mechanism, environmental sensor environmental information collected and Real time clock information provided by the real-time clock module of gateway, the outdoor lighting provided in an embodiment of the present invention based on Internet of Things Control system can also support the timing dimming to terminal illumination equipment, illumination+light modulation, the three kinds of light modulation machines dimmed in real time System.
It should be noted that above-mentioned all optional embodiments can be any group by the way of combining in practical application It closes, forms alternative embodiment of the invention, this is no longer going to repeat them.
According to the combination of any one above-mentioned alternative embodiment or multiple alternative embodiments, the embodiment of the present invention can reach It is following the utility model has the advantages that
The control system for the outdoor lighting based on Internet of Things that the embodiment of the present invention proposes, including multiple terminal devices, use In the remote control center and gateway that are controlled each terminal device, by enable gateway respectively with multiple terminal devices group Net connection forms local area network and connect by internet with remote control center, and gateway is made to become the local area network of entire control system Remote measurement and control is realized to provide a kind of Internet of Things topological structure of outdoor zone illumination with the connecting node of wide area network Purpose.Specifically, it is respectively provided with LoRa communication module in each terminal device and gateway, and uses LoRa communication plan in terminal Realize that group-net communication, gateway then use modes and the remote control center such as GPRS, 3G, 4G or network interface communication between equipment and gateway Uplink communication is carried out, solves the problems, such as that outdoor illumination equipment networking is difficult, be difficult to access internet.
Further, terminal device reports mechanism using the timing of " time squirrel wheel method ", passes through in the communication with gateway " time squirrel wheel method " will equably call time in the timing of terminal device and scatter, and each terminal device is made to report week defined In phase effectively reported data and the data that remote control center issues can be obtained, solve the LoRa communication technology because inherently Narrow bandwidth, rate it is slow and caused by gateway band carries slave negligible amounts, the communication information is prone to collide and cause loss of data, The problem of mistake.
Further, local area network is added in terminal device by the way of " barcode scanning ", specifically, mobile whole by being equipped on The information code in application client end of scan equipment on end obtains the information of terminal device, and by terminal device Information uploads to remote control center, and the information of terminal device is issued to corresponding gateway again to complete end by remote control center The operation of the local area network where gateway is added in end equipment.In such a way that barcode scanning networks, solves the existing LoRa communication technology Present in equipment be added that gateway operation is complicated, cumbersome problem.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that: at this Within the spirit and principle of invention, it is still possible to modify the technical solutions described in the foregoing embodiments or right Some or all of the technical features are equivalently replaced;And these are modified or replaceed, and do not make corresponding technical solution de- From protection scope of the present invention.

Claims (22)

1. a kind of control system of the outdoor lighting based on Internet of Things, including multiple terminal devices and for each end The remote control center that end equipment is controlled, which is characterized in that the control system further includes gateway;
The gateway connect to form local area network with multiple terminal device networking respectively, for passing through designated local area network communication standard Receive the information and issue to each terminal device from the remote control center that each terminal device reports Data;
The gateway also passes through internet and connect with the remote control center, for passing through wan communication to the long-range control Center processed sends the information that each terminal device reports and receives the data that the remote control center issues.
2. control system according to claim 1, which is characterized in that the designated local area network communication standard is LoRa;
The gateway and each terminal device are provided with LoRa communication module.
3. control system according to claim 2, which is characterized in that the gateway is additionally provided with wan communication module, It is communicated for the gateway with the remote control center;
The wan communication includes one of following: general packet radio service gprs, 3rd generation mobile communication technology 3G, the 4th Third-generation mobile communication technology 4G, network interface communication.
4. control system according to claim 2, which is characterized in that the quantity of the gateway is multiple, each gateway A local area network is formed with multiple terminal devices thereon are connected to.
5. control system according to claim 2, which is characterized in that multiple terminal device includes at least one following:
Street lamp, garden lamp, Lawn lamp, Landscape Lamp, environmental sensor.
6. control system according to claim 2, which is characterized in that each terminal equipment configuration are as follows:
When the terminal device is battery powered terminal device, communicated using the first communication pattern with the gateway;
When the terminal device is the terminal device of mains-supplied, communicated using the second communication pattern with the gateway;
Wherein, in first communication pattern, only after the terminal device sends upstream signals to the gateway, institute It states gateway and just carries out downlink communication in response to the upstream signals and the terminal device;
In second communication pattern, the terminal device window that receives open always leads to so that the gateway carries out downlink with it Letter.
7. control system according to claim 6, which is characterized in that each terminal device is additionally configured to when preset When timing of calling time in timing reaches or the state of the terminal device changes, to the gateway being located in same local area network with it Report the information of itself;
Whether the gateway is additionally configured to after receiving the information that the terminal device reports, inquire in the message queue of itself and deposit It is communicated in the data for needing to be handed down to the terminal device, and according to query result with the terminal device, wherein the message Data in queue are to store after being handed down to the gateway by the remote control center into the message queue.
8. control system according to claim 7, which is characterized in that the gateway is additionally configured to by the long-range control After data that center issues are stored into the message queue, judge the data whether real-time response data, wherein it is described in real time Response data is only applied to the terminal device using second communication pattern;
If so, sending the data to terminal device corresponding with the data immediately;
If it is not, after then waiting until that terminal device corresponding with the data reports information to the gateway, then the data distributing is given should Terminal device.
9. control system according to claim 7, which is characterized in that if the gateway is additionally configured to inquire disappearing for itself There is no the data for needing to be handed down to the terminal device in breath queue, then send the first response message to the terminal device, described Include the terminal device timing time that next time, timing reported in first response message;
The terminal device is additionally configured to after receiving first response message, if the terminal device is battery powered terminal Equipment then enters suspend mode and carries out timing, waits timing arrival of calling time in timing next time;If the terminal device is alternating current confession The terminal device of electricity then waits timing of calling time in timing next time to reach in a manner of keeping monitoring;Or
If the gateway is additionally configured to the presence of the data for needing to be handed down to the terminal device in the message queue for inquiring itself, The data are issued to the terminal device, and after the completion of the data distributing, send the first response message to the terminal device, Include the terminal device timing time that next time, timing reported in first response message;
The terminal device is additionally configured to receive the data that the gateway issues, and sends after data receiver success to the gateway Second response message;
The terminal device is additionally configured to after receiving first response message, if the terminal device is battery powered terminal Equipment then enters suspend mode and carries out timing, waits timing arrival of calling time in timing next time;If the terminal device is alternating current confession The terminal device of electricity then waits timing of calling time in timing next time to reach in a manner of keeping monitoring.
10. control system according to claim 9, which is characterized in that the data for needing to be handed down to the terminal device It is a plurality of;
The gateway is additionally configured to successively issue a plurality of data to the terminal device, wherein the gateway is receiving and working as Before after corresponding second response message of data that issues, then issue next data;
After the terminal device is additionally configured to the data that every successful reception gateway issues, Xiang Suoshu gateway is sent and the number According to corresponding second response message.
11. control system according to claim 9, which is characterized in that the gateway is additionally configured to:
Set the timing report cycle T of the multiple terminal devices in the local area network where it, wherein the timing report cycle T Including being sequentially connected and multiple terminal device multiple time windows correspondingly;
After receiving the information that each of multiple terminal device terminal device reports, according to reporting for the terminal device Time started, the terminal device and the gateway data interaction the time it takes X and the timing report cycle T, setting The timing time that next time, timing reported of the terminal device.
12. control system according to claim 11, which is characterized in that the gateway is additionally configured to:
After receiving the information that each of multiple terminal device terminal device reports, if the terminal device is right with it The start time for the time window answered starts to carry out information reporting, then when the next timing periodically reported of the terminal device is arranged Between be T-X;
If the terminal device relative to the start time of corresponding time window be advanced by the Y time start carry out information on Report, then the next timing time periodically reported that the terminal device is arranged is T-X+Y;
If the terminal device relative to the start time of corresponding time window lagged the Z time start carry out information on Report, then the next timing time periodically reported that the terminal device is arranged is T-X-Z.
13. control system according to claim 7, which is characterized in that each terminal device is additionally configured to:
When just having been powered in the terminal device or just having been connect with the gateway and the local area network where the gateway is added, to specify base The sum of this time and random time in the preset timing as calling time.
14. control system according to claim 7, which is characterized in that the gateway includes real-time clock RTC block, is used In providing time reference for the gateway and the terminal device being in same local area network with the gateway.
15. control system according to claim 6, which is characterized in that be provided on each terminal device comprising being somebody's turn to do The device model of terminal device and the information code of equipment unique identity;
The control system further includes the application client being equipped on mobile terminal;
The application client is connect with the remote control center, for being mounted well simultaneously in each terminal device After powering on, the information code of the terminal device is scanned to obtain the device model of the terminal device and equipment unique identity, into One step obtains the relevant information of the terminal device, and by the device model of the acquired terminal device, equipment unique identities mark Know and relevant information uploads to the remote control center;
The remote control center is additionally configured to the device model according to the terminal device received, equipment unique identity And relevant information, the terminal device is matched with the gateway according to preset matching rule, and setting the terminal device Standby model, equipment unique identity and relevant information are issued in the matched gateway of institute;
The gateway is additionally configured to according to the device model of the terminal device received, equipment unique identity and related letter Breath, establishes networking with the terminal device and connect.
16. control system according to claim 15, which is characterized in that the LoRa communication module of the gateway includes being used for The first LoRa communication module that the networking of terminal device manages and the 2nd LoRa for being communicated after carrying out networking with terminal device Communication module, wherein the communication configuration parameter of the first LoRa communication module is arranged to dispatch from the factory non-group with the terminal device Communication configuration parameter when net is consistent;
The gateway is additionally configured in device model, equipment unique identity and the relevant information for receiving the terminal device Afterwards, judge the type of the terminal device;
If the terminal device is the terminal device of mains-supplied, sent out by the first LoRa communication module to the terminal device Send the order for carrying the change communication configuration parameter of communication configuration parameter of the 2nd LoRa communication module;
If the terminal device is battery powered terminal device, which is being received by the first LoRa communication module After the information that equipment timing reports, described second is carried to terminal device transmission by the first LoRa communication module The order of the change communication configuration parameter of the communication configuration parameter of LoRa communication module;
The terminal device is additionally configured to after receiving the order, and the communication configuration parameter of itself is changed to and described second The communication configuration parameter one of LoRa communication module shows the local area network being added where the 2nd LoRa communication module of the gateway.
17. control system according to claim 16, which is characterized in that the end acquired in the application client The relevant information of end equipment includes the factory default communication configuration parameter of the terminal device;
The gateway is additionally configured in device model, equipment unique identity and the relevant information for receiving the terminal device It afterwards, will be described and before the order for sending change communication configuration parameter to the terminal device according to the type of the terminal device The communication configuration parameter of first LoRa communication module is set as consistent with the factory default communication configuration parameter of the terminal device;And After the local area network where the 2nd LoRa communication module is added in the terminal device, restore the first LoRa communication module Communication configuration parameter.
18. control system according to claim 16, which is characterized in that the LoRa communication module of the gateway further includes Three LoRa communication modules;
Each terminal device is additionally configured to:
After establishing networking connection with the corresponding gateway, if the terminal device does not connect after reporting information to the gateway timing The number for receiving the response message of the 2nd LoRa communication module of the gateway is more than specified non-response times or the terminal device Communication success rate with the 2nd LoRa communication module of the gateway then automatically matches the communication of itself less than the first preset threshold It is consistent with the communication configuration parameter of the 3rd LoRa communication module of the gateway for setting parameter change, and passes through the 3rd LoRa Communication module is communicated with the gateway.
19. control system according to claim 18, which is characterized in that each terminal device is additionally configured to:
After establishing networking connection with the corresponding gateway, and before being timed and reporting, information to be reported is judged Whether data volume is more than the second preset threshold;
If so, automatically the communication configuration parameter of itself is changed to match with the communication of the 3rd LoRa communication module of the gateway It is consistent to set parameter, and is communicated by the 3rd LoRa communication module with the gateway.
20. control system according to claim 15, which is characterized in that the gateway further includes locating module, for obtaining The location information of the gateway is taken, the location information of acquired gateway uploads to the remote control center by the gateway;
The application client is additionally configured to obtain correlation letter of the location information as the terminal device of the terminal device Breath;
The remote control center is additionally configured to the device model according to the terminal device received, equipment unique identity And relevant information, which is matched with the gateway nearest apart from the terminal device.
21. the control system according to any one of claim 2-20, which is characterized in that the gateway further include:
Data memory module, for carrying out the storage of data and information;
Switch power module, for providing power supply for the modules of the gateway;And
Micro-control unit module is connect with other modules of the gateway respectively, for carrying out data operation and task Scheduling and execution, and control other modules of the gateway.
22. control system according to claim 21, which is characterized in that the gateway further include:
Debugging interface module is connect with the micro-control unit module, for after invoked to the gateway and gateway institute Local area network carry out debugging and trouble shoot.
CN201910319599.8A 2019-04-19 2019-04-19 The control system of outdoor lighting based on Internet of Things Pending CN110049128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910319599.8A CN110049128A (en) 2019-04-19 2019-04-19 The control system of outdoor lighting based on Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910319599.8A CN110049128A (en) 2019-04-19 2019-04-19 The control system of outdoor lighting based on Internet of Things

Publications (1)

Publication Number Publication Date
CN110049128A true CN110049128A (en) 2019-07-23

Family

ID=67278029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910319599.8A Pending CN110049128A (en) 2019-04-19 2019-04-19 The control system of outdoor lighting based on Internet of Things

Country Status (1)

Country Link
CN (1) CN110049128A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464128A (en) * 2020-04-26 2020-07-28 杭州景上信息技术有限公司 Internet of things umbrella control system based on L oRa communication
CN111683127A (en) * 2020-05-27 2020-09-18 深圳市海洋王照明工程有限公司 Data transmission method and device and terminal equipment
CN111835629A (en) * 2020-06-17 2020-10-27 浙江慧居智能家居有限公司 Network data interaction method and system, and gateway
CN112995336A (en) * 2021-04-09 2021-06-18 天津中新智冠信息技术有限公司 Sensor, sensor management system, and sensor management method
CN114333276A (en) * 2021-12-10 2022-04-12 浙江慧居智能物联有限公司 Control method and device for battery switch

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011116617A1 (en) * 2010-03-23 2011-09-29 中兴通讯股份有限公司 Combination network and method for accessing network of wireless sensor network terminal
CN102547944A (en) * 2012-03-11 2012-07-04 上海宜云物联科技有限公司 Gate of internet of things for implementing long-term operation in environment without electricity and implementation method
CN102869077A (en) * 2012-08-28 2013-01-09 苏州博联科技有限公司 ZigBee-protocol-based data acquisition and transmission method of wireless sensor network
CN102984780A (en) * 2012-11-19 2013-03-20 清华大学 Wireless sensor network data transmission method
JP2015087365A (en) * 2013-11-01 2015-05-07 ミツミ電機株式会社 Radio communication device and time correction method
KR101716855B1 (en) * 2015-10-20 2017-03-15 주식회사 뉴로메카 Network pairing method in gateway for internet of things system
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
CN106936929A (en) * 2017-04-21 2017-07-07 深圳华制智能制造技术有限公司 A kind of things-internet gateway equipment, internet of things equipment group network system and its network-building method
CN107148069A (en) * 2017-03-24 2017-09-08 浙江理工大学 The MANET and low power consumption data of a kind of tree-shaped sensor network collect method
CN107231202A (en) * 2017-06-28 2017-10-03 苏州欧普照明有限公司 A kind of switching method, the apparatus and system of LoRa mode of operations
WO2017182749A1 (en) * 2016-04-20 2017-10-26 Kerlink Technique for reading energy-saving meters at the smart meter level
CN107566314A (en) * 2016-06-30 2018-01-09 阿里巴巴集团控股有限公司 A kind of data transmission system, method and apparatus
CN107947828A (en) * 2017-11-21 2018-04-20 湖南瓴星空间信息技术有限公司 A kind of spaceborne things-internet gateway and Internet of Things communication means
KR20180057551A (en) * 2016-11-22 2018-05-30 주식회사 아모센스 Lighting control device and lighting device having the same
CN109257829A (en) * 2018-09-05 2019-01-22 深圳市艾森智能技术有限公司 A kind of synchronous service implementation method of LPWA network
CN109451536A (en) * 2018-08-31 2019-03-08 深圳市亿兆互联技术有限公司 A method of it reducing LoRa and communicates packet loss
CN209823788U (en) * 2019-04-19 2019-12-20 欧普照明股份有限公司 Outdoor lighting control system based on Internet of things

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011116617A1 (en) * 2010-03-23 2011-09-29 中兴通讯股份有限公司 Combination network and method for accessing network of wireless sensor network terminal
CN102547944A (en) * 2012-03-11 2012-07-04 上海宜云物联科技有限公司 Gate of internet of things for implementing long-term operation in environment without electricity and implementation method
CN102869077A (en) * 2012-08-28 2013-01-09 苏州博联科技有限公司 ZigBee-protocol-based data acquisition and transmission method of wireless sensor network
CN102984780A (en) * 2012-11-19 2013-03-20 清华大学 Wireless sensor network data transmission method
JP2015087365A (en) * 2013-11-01 2015-05-07 ミツミ電機株式会社 Radio communication device and time correction method
KR101716855B1 (en) * 2015-10-20 2017-03-15 주식회사 뉴로메카 Network pairing method in gateway for internet of things system
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
WO2017182749A1 (en) * 2016-04-20 2017-10-26 Kerlink Technique for reading energy-saving meters at the smart meter level
CN107566314A (en) * 2016-06-30 2018-01-09 阿里巴巴集团控股有限公司 A kind of data transmission system, method and apparatus
KR20180057551A (en) * 2016-11-22 2018-05-30 주식회사 아모센스 Lighting control device and lighting device having the same
CN107148069A (en) * 2017-03-24 2017-09-08 浙江理工大学 The MANET and low power consumption data of a kind of tree-shaped sensor network collect method
CN106936929A (en) * 2017-04-21 2017-07-07 深圳华制智能制造技术有限公司 A kind of things-internet gateway equipment, internet of things equipment group network system and its network-building method
CN107231202A (en) * 2017-06-28 2017-10-03 苏州欧普照明有限公司 A kind of switching method, the apparatus and system of LoRa mode of operations
CN107947828A (en) * 2017-11-21 2018-04-20 湖南瓴星空间信息技术有限公司 A kind of spaceborne things-internet gateway and Internet of Things communication means
CN109451536A (en) * 2018-08-31 2019-03-08 深圳市亿兆互联技术有限公司 A method of it reducing LoRa and communicates packet loss
CN109257829A (en) * 2018-09-05 2019-01-22 深圳市艾森智能技术有限公司 A kind of synchronous service implementation method of LPWA network
CN209823788U (en) * 2019-04-19 2019-12-20 欧普照明股份有限公司 Outdoor lighting control system based on Internet of things

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464128A (en) * 2020-04-26 2020-07-28 杭州景上信息技术有限公司 Internet of things umbrella control system based on L oRa communication
CN111683127A (en) * 2020-05-27 2020-09-18 深圳市海洋王照明工程有限公司 Data transmission method and device and terminal equipment
CN111835629A (en) * 2020-06-17 2020-10-27 浙江慧居智能家居有限公司 Network data interaction method and system, and gateway
CN112995336A (en) * 2021-04-09 2021-06-18 天津中新智冠信息技术有限公司 Sensor, sensor management system, and sensor management method
CN114333276A (en) * 2021-12-10 2022-04-12 浙江慧居智能物联有限公司 Control method and device for battery switch

Similar Documents

Publication Publication Date Title
CN110049128A (en) The control system of outdoor lighting based on Internet of Things
Ballerini et al. NB-IoT versus LoRaWAN: An experimental evaluation for industrial applications
CN102905355B (en) Low duty cycle network controller
CN209823788U (en) Outdoor lighting control system based on Internet of things
US8203463B2 (en) Wakeup and interrogation of meter-reading devices using licensed narrowband and unlicensed wideband radio communication
CN102547942B (en) Wireless sensor network intelligent gateway applied to greenhouse environment monitoring
CN103906044A (en) Networking method of wireless electricity consumption information acquisition ad hoc network
CN109862068A (en) A kind of LORA data acquisition control system based on TDMA
CN201967184U (en) Intelligent green lighting management system
US20140028465A1 (en) Rf meter reading system
CN112243285B (en) Base station energy saving method and device
CN110149369A (en) The rotation report method and tele-control system of terminal device based on Internet of Things
CN101702851A (en) Intelligent illumination control system and method
CN102510643B (en) LED (light-emitting diode) intelligent illumination energy-saving control method based on Internet of things
CN104180476A (en) Central air conditioner controller, as well as prepaid and multi-mode control system and method for central air conditioner
CN107393274A (en) It is a kind of based on internet+long-distance meter-reading system and method
CN110012112A (en) A kind of group network system of the terminal device based on Internet of Things
CN106332248A (en) Meter reading method and system with low power consumption
CN113543090A (en) Method, device and storage medium for reducing power consumption of Bluetooth receiving device
CN108449393A (en) Combustion gas data transmission method and Internet of things system
CN108833491A (en) The energy consumption statistical method and server of Internet of things system
Wymore et al. RIVER-MAC: A Receiver-initiated asynchronously duty-cycled MAC protocol for the internet of things
CN108494654A (en) A kind of intelligent energy information collection management method and system
CN103108385A (en) Method and system for controlling network nodes in network area
CN209674519U (en) Micropower kilowatt meter recorder based on wireless sensor network

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