技术领域technical field
本发明涉及物联网设备技术领域,具体涉及一种基于区块链防篡改技术的智慧照明系统。The invention relates to the technical field of Internet of Things devices, in particular to a smart lighting system based on a blockchain anti-tampering technology.
背景技术Background technique
目前,中国智慧城市正在加速发展,2018年6月8日,国家标准化管理委员会推出了《智慧城市顶层设计指南》等国家标准,进一步推进了智慧城市的建设往前发展,智慧灯杆作为最有可能承载智慧城市感知层的基础设施平台,受到日益广泛的重视。另外,智慧灯杆作为一种市政基础设施,一旦联网,不可避免的将受到一直困扰联网IOT设备所遭受的网络安全的威胁,据Gartner调查,全球近20%的企业或相关机构在过去三年遭受了至少一次物联网的攻击,例如2016年10月21日美国东部遭遇了大面积的断网事件,起因是三个黑客因为玩游戏开挂,只是攻击了路边的摄像头,就造成了整个美国东部的网络瘫痪;2017年12月美国达拉斯北中央高速公路附近的一个电子交通指示牌遭到不明攻击,标志牌内容遭到篡改。这些事件折射出安全对于联网IOT设备的重要性,以及物联网建设所面临的安全挑战。故现有的智慧照明系统的安全性不高,易篡改。At present, the development of smart cities in China is accelerating. On June 8, 2018, the National Standardization Administration launched the "Guidelines for Top-level Design of Smart Cities" and other national standards, which further promoted the development of smart cities. Smart light poles are the most important The infrastructure platform that may carry the perception layer of the smart city has received increasing attention. In addition, as a municipal infrastructure, once connected to the Internet, smart light poles will inevitably be threatened by the network security that has been plagued by Internet-connected IOT devices. According to a Gartner survey, nearly 20% of global enterprises or related organizations have Suffered at least one IoT attack. For example, on October 21, 2016, the eastern United States suffered a large-scale network outage. The reason was that three hackers just attacked the roadside cameras because of playing games, causing the entire The network in the eastern United States is down; in December 2017, an electronic traffic sign near the North Central Freeway in Dallas was attacked by an unknown attack, and the content of the sign was tampered with. These events reflect the importance of security for connected IoT devices and the security challenges faced by IoT construction. Therefore, the security of the existing smart lighting system is not high, and it is easy to be tampered with.
鉴于上述缺陷,本发明创作者经过长时间的研究和实践终于获得了本发明。In view of the above-mentioned defects, the creator of the present invention finally obtained the present invention after a long period of research and practice.
发明内容SUMMARY OF THE INVENTION
为解决上述技术缺陷,本发明采用的技术方案在于,提供一种基于区块链防篡改技术的智慧照明系统,包括单灯控制器、集中控制器、后台服务器、区块链底层子系统;所述单灯控制器设置在LED灯具上,并与所述LED灯具数据连接,所述集中控制器设置在机房内与所述后台服务器数据相连,所述区块链底层子系统运行于所述后台服务器上。In order to solve the above-mentioned technical defects, the technical solution adopted in the present invention is to provide a smart lighting system based on blockchain anti-tampering technology, including a single-lamp controller, a centralized controller, a background server, and a blockchain underlying subsystem; The single-lamp controller is arranged on the LED lamps and is connected to the LED lamps for data connection, the centralized controller is arranged in the computer room and is connected to the data of the back-end server, and the blockchain underlying subsystem runs in the back-end on the server.
较佳的,所述单灯控制器包括第一通信模块,所述集中控制器包括第二通信模块,所述第一通信模块和所述第二通信模块均采用Zigbee通信模块。Preferably, the single-lamp controller includes a first communication module, the centralized controller includes a second communication module, and both the first communication module and the second communication module use a Zigbee communication module.
较佳的,所述区块链底层子系统在所述智慧照明系统运行后将智慧照明系统核心数据入链并上传到所述集中控制器,实时与各所述集中控制器同步。Preferably, after the smart lighting system runs, the underlying subsystem of the blockchain adds the core data of the smart lighting system into the chain and uploads it to the centralized controller, and synchronizes with each of the centralized controllers in real time.
较佳的,所述智慧照明系统核心数据包括用户配置文件、网络配置文件、ID。Preferably, the core data of the smart lighting system includes a user profile, a network profile, and an ID.
较佳的,所述单灯控制器的工作电路包括单片机MSP430F2553,所述传感器模块采用TSL2561光感芯片,根据所述集中控制器的指令和所述单灯控制器上传感器模块收集的传感器照度信息对所述LED灯具进行开关控制和亮度调节控制。Preferably, the working circuit of the single-lamp controller includes a single-chip microcomputer MSP430F2553, and the sensor module adopts a TSL2561 photosensitive chip. According to the instructions of the centralized controller and the sensor illuminance information collected by the sensor module on the single-lamp controller On-off control and brightness adjustment control are performed on the LED lamps.
较佳的,所述集中控制器包括单片机MSP430F5325,所述集中控制器通过所述第二通信模块向所述单灯控制器转发控制指令或接收所述单灯控制器上传的异常信息。Preferably, the centralized controller includes a single-chip microcomputer MSP430F5325, and the centralized controller forwards control instructions to the single-lamp controller or receives abnormal information uploaded by the single-lamp controller through the second communication module.
较佳的,所述集中控制器定时接收所述后台服务器发来的哈希值,并实时将收到的值与首次接收到的哈希值进行核对。Preferably, the centralized controller regularly receives the hash value sent by the background server, and checks the received value with the hash value received for the first time in real time.
较佳的,通过所述后台服务器设置系统开关时间及调节路灯亮度。Preferably, the system switching time and the brightness of the street lamps are set through the background server.
较佳的,所述后台服务器存储收集到的亮灭状态、亮度、电压电流信息,并进行异常处理和形成合同能源报表。Preferably, the background server stores the collected on-off state, brightness, voltage and current information, and performs abnormal processing and forms a contract energy report.
较佳的,所述后台服务器以智能合约的形式接收所述区块链底层子系统报告的异常情况通知人工干预排查或系统自动还原。Preferably, the background server receives the abnormal situation reported by the underlying subsystem of the blockchain in the form of a smart contract to notify manual intervention for investigation or automatic system restoration.
与现有技术比较本发明的有益效果在于:本发明运用区块链技术防护系统核心数据;具备根据光亮度自动调节路灯亮度的功能;具有Zigbee无线传输系统,自组网;具有NEMA接口,即插即拔;自动检测电流电压,生成合同能源报表。Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention uses the block chain technology to protect the core data of the system; it has the function of automatically adjusting the brightness of the street lamps according to the brightness; it has a Zigbee wireless transmission system and an ad hoc network; Plug and unplug; automatically detect current and voltage, and generate contract energy reports.
附图说明Description of drawings
图1为所述基于区块链防篡改技术的智慧照明系统的结构示意图;FIG. 1 is a schematic structural diagram of the smart lighting system based on the blockchain anti-tampering technology;
图2为所述区块链系统运行示意图。FIG. 2 is a schematic diagram of the operation of the blockchain system.
具体实施方式Detailed ways
以下结合附图,对本发明上述的和另外的技术特征和优点作更详细的说明。The above and other technical features and advantages of the present invention will be described in more detail below with reference to the accompanying drawings.
如图1和图2所示,图1为所述基于区块链防篡改技术的智慧照明系统的结构示意图;图2为所述区块链系统运行示意图;本发明所述基于区块链防篡改技术的智慧照明系统包括单灯控制器、集中控制器、后台服务器、区块链底层子系统;所述单灯控制器设置在LED灯具上,并通过NEMA接口与所述LED灯具连接,所述单灯控制器包括第一通信模块、第一存储器、第一时钟模块、传感器模块;所述集中控制器设置在机房内与所述后台服务器通过网线相连,所述集中控制器包括第二通信模块、第二时钟模块、第二存储器,所述区块链底层子系统运行于所述后台服务器上。As shown in Figures 1 and 2, Figure 1 is a schematic structural diagram of the smart lighting system based on blockchain tamper-proof technology; Figure 2 is a schematic diagram of the operation of the blockchain system; The smart lighting system of tampering technology includes a single-lamp controller, a centralized controller, a back-end server, and a blockchain underlying subsystem; the single-lamp controller is set on the LED luminaire and connected to the LED luminaire through a NEMA interface, so The single-lamp controller includes a first communication module, a first memory, a first clock module, and a sensor module; the centralized controller is arranged in the computer room and is connected to the background server through a network cable, and the centralized controller includes a second communication module. module, a second clock module, a second memory, and the underlying subsystem of the blockchain runs on the background server.
所述第一通信模块和所述第二通信模块可均采用Zigbee通信模块。Both the first communication module and the second communication module may use Zigbee communication modules.
具体的,所述区块链底层子系统包括数据区块、时间戳、哈希散列表、P2P网络、SHA-256算法、Kafka共识算法等,所述区块链底层子系统会在所述智慧照明系统运行后将智慧照明系统核心数据(如用户配置文件、网络配置文件、ID等)入链并上传到验证节点,实时与各所述验证节点同步,存储在链中的数据不可被篡改。Specifically, the blockchain underlying subsystem includes data blocks, timestamps, hash tables, P2P networks, SHA-256 algorithm, Kafka consensus algorithm, etc. After the lighting system is running, the core data of the smart lighting system (such as user configuration files, network configuration files, IDs, etc.) will be added to the chain and uploaded to the verification node, which will be synchronized with each verification node in real time, and the data stored in the chain cannot be tampered with.
具体的,所述单灯控制器的工作电路包括单片机MSP430F2553,所述传感器模块采用TSL2561光感芯片,根据所述集中控制器的指令和所述传感器模块收集的传感器照度信息对所述LED灯具进行开关控制和亮度调节控制。Specifically, the working circuit of the single-lamp controller includes a single-chip microcomputer MSP430F2553, and the sensor module adopts a TSL2561 light-sensing chip. According to the instructions of the centralized controller and the sensor illumination information collected by the sensor module, the LED lamps are processed. Switch control and brightness adjustment control.
具体的,所述集中控制器包括单片机MSP430F5325,通过所述第二通信模块向所述单灯控制器转发控制指令或接收所述单灯控制器上传的异常信息,另外所述集中控制器作为验证节点,定时接收所述后台服务器发来的哈希值,如果收到的值与首次接收到的哈希值不一致,则会拒绝执行所述后台服务器发来的开关和调亮指令,并报异常。Specifically, the centralized controller includes a single-chip microcomputer MSP430F5325, which forwards control instructions to the single-lamp controller or receives abnormal information uploaded by the single-lamp controller through the second communication module, and the centralized controller serves as a verification The node regularly receives the hash value sent by the background server. If the received value is inconsistent with the hash value received for the first time, it will refuse to execute the switch and light-up instructions sent by the background server, and report an exception. .
具体的,所述后台服务器可以设置系统开关时间及调节路灯亮度,存储收集到的亮灭状态、亮度、电压电流信息,进行异常处理,形成合同能源报表等,并以智能合约的形式接收所述区块链底层子系统报告的异常情况通知人工干预排查或系统自动还原。Specifically, the background server can set the system switching time and adjust the brightness of street lamps, store the collected information on on-off status, brightness, voltage and current, perform abnormal processing, form contract energy reports, etc., and receive the information in the form of smart contracts. The abnormal conditions reported by the underlying subsystems of the blockchain notify manual intervention for investigation or automatic system restoration.
本发明的工作过程如下:The working process of the present invention is as follows:
当所述智慧照明系统工作时,所述单灯控制器通过所述时钟模块接收所述集中控制器发来的定时指令后进行存储,之后每天按时调节路灯的开与关;通过所述传感器模块接收光照度信息自动调节亮度并上传亮度数据;通过检测电流电压计算路灯功率消耗并上传电量数据。When the smart lighting system is working, the single-lamp controller receives the timing instruction sent by the centralized controller through the clock module and stores it, and then adjusts the on and off of street lamps on time every day; through the sensor module Receive the illuminance information to automatically adjust the brightness and upload the brightness data; calculate the power consumption of the street light by detecting the current and voltage and upload the power data.
当所述智慧照明系统工作时,所述集中控制器转发所述后台服务器的开关和调亮指令给所述单灯控制器并接收所述单灯控制器上传的故障信息,另外所述集中控制器作为验证节点,定时与所述后台服务器同步,如果收到的哈希值不合规,则会拒绝执行所述后台服务器发来的开关和调亮指令,并报异常。When the smart lighting system is working, the centralized controller forwards the switching and dimming instructions of the background server to the single-lamp controller and receives the fault information uploaded by the single-lamp controller. In addition, the centralized control As a verification node, the device synchronizes with the background server regularly. If the received hash value is not compliant, it will refuse to execute the switch and light-up instructions sent by the background server, and report an exception.
当所述智慧照明系统工作时,所述区块链底层子系统会在系统运行后将智慧照明系统核心数据(如用户配置文件、网络配置文件、ID等)入链并上传到所述验证节点,实时与各所述验证节点同步,当遭到不明入侵时则报异常。When the smart lighting system is working, the underlying subsystem of the blockchain will put the core data of the smart lighting system (such as user profile, network profile, ID, etc.) into the chain and upload it to the verification node after the system is running , synchronizing with each of the verification nodes in real time, and reporting an exception when an unknown intrusion occurs.
当所述智慧照明系统工作时,所述服务器软件设置系统开关时间及调节路灯亮度,存储收集到的亮灭状态、亮度数据、电压电流信息,进行故障处理,形成合同能源报表等,并以智能合约的形式接收区块链底层子系统报告的异常情况通知人工干预排查或系统自动还原。When the smart lighting system is working, the server software sets the system switching time and adjusts the brightness of street lamps, stores the collected on-off status, brightness data, voltage and current information, performs fault processing, forms contract energy reports, etc. The abnormal situation reported by the underlying subsystem of the blockchain is received in the form of a contract to notify manual intervention for investigation or automatic system restoration.
本发明运用区块链技术防护系统核心数据;具备根据光亮度自动调节路灯亮度的功能;具有Zigbee无线传输系统,自组网;具有NEMA接口,即插即拔;自动检测电流电压,生成合同能源报表。The invention uses the block chain technology to protect the core data of the system; has the function of automatically adjusting the brightness of the street lamps according to the brightness; has a Zigbee wireless transmission system, self-organizing network; has a NEMA interface, plug and unplug; automatically detects current and voltage, and generates contract energy report.
以上所述仅为本发明的较佳实施例,对本发明而言仅仅是说明性的,而非限制性的。本专业技术人员理解,在本发明权利要求所限定的精神和范围内可对其进行许多改变,修改,甚至等效,但都将落入本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, which are merely illustrative rather than limiting for the present invention. Those skilled in the art understand that many changes, modifications and even equivalents can be made within the spirit and scope defined by the claims of the present invention, but all fall within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910564490.0ACN110381631A (en) | 2019-06-26 | 2019-06-26 | A kind of intelligent lighting system based on block chain tamper-resistance techniques |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910564490.0ACN110381631A (en) | 2019-06-26 | 2019-06-26 | A kind of intelligent lighting system based on block chain tamper-resistance techniques |
| Publication Number | Publication Date |
|---|---|
| CN110381631Atrue CN110381631A (en) | 2019-10-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910564490.0APendingCN110381631A (en) | 2019-06-26 | 2019-06-26 | A kind of intelligent lighting system based on block chain tamper-resistance techniques |
| Country | Link |
|---|---|
| CN (1) | CN110381631A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111103555A (en)* | 2019-11-15 | 2020-05-05 | 广东洲明节能科技有限公司 | Lamp black box, lamp and block chain system |
| CN111556628A (en)* | 2020-06-03 | 2020-08-18 | 一拓通信集团股份有限公司 | Novel community intelligent lighting system |
| CN114007297A (en)* | 2020-07-28 | 2022-02-01 | 上海鸣志自动控制设备有限公司 | Street lamp intelligent gateway control device |
| CN115085945A (en)* | 2022-08-22 | 2022-09-20 | 北京科技大学 | Authentication method and device for intelligent lamp pole equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106507536A (en)* | 2016-10-31 | 2017-03-15 | 南昌航空大学 | A lighting system and method for fuzzy control of street lamps in different time periods based on environmental data |
| CN107565557A (en)* | 2017-09-27 | 2018-01-09 | 赫普科技发展(北京)有限公司 | A kind of virtual accumulator cell charging and discharging management system of block chain |
| CN108718473A (en)* | 2018-08-02 | 2018-10-30 | 四川华体照明科技股份有限公司 | Wisdom road lamp network system based on block chain technology |
| CN208490017U (en)* | 2018-07-17 | 2019-02-12 | 佛山科学技术学院 | A kind of streetlamp management system based on block chain |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106507536A (en)* | 2016-10-31 | 2017-03-15 | 南昌航空大学 | A lighting system and method for fuzzy control of street lamps in different time periods based on environmental data |
| CN107565557A (en)* | 2017-09-27 | 2018-01-09 | 赫普科技发展(北京)有限公司 | A kind of virtual accumulator cell charging and discharging management system of block chain |
| CN208490017U (en)* | 2018-07-17 | 2019-02-12 | 佛山科学技术学院 | A kind of streetlamp management system based on block chain |
| CN108718473A (en)* | 2018-08-02 | 2018-10-30 | 四川华体照明科技股份有限公司 | Wisdom road lamp network system based on block chain technology |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111103555A (en)* | 2019-11-15 | 2020-05-05 | 广东洲明节能科技有限公司 | Lamp black box, lamp and block chain system |
| CN111556628A (en)* | 2020-06-03 | 2020-08-18 | 一拓通信集团股份有限公司 | Novel community intelligent lighting system |
| CN114007297A (en)* | 2020-07-28 | 2022-02-01 | 上海鸣志自动控制设备有限公司 | Street lamp intelligent gateway control device |
| CN115085945A (en)* | 2022-08-22 | 2022-09-20 | 北京科技大学 | Authentication method and device for intelligent lamp pole equipment |
| CN115085945B (en)* | 2022-08-22 | 2022-11-29 | 北京科技大学 | Authentication method and device for intelligent lamp pole equipment |
| Publication | Publication Date | Title |
|---|---|---|
| CN110381631A (en) | A kind of intelligent lighting system based on block chain tamper-resistance techniques | |
| CN108834281B (en) | Strategy Control Method for Street Lighting System | |
| US9215778B2 (en) | Distributed street lights monitoring, command and control combined with solar photo voltaic cell | |
| CN202949610U (en) | A super-energy-saving intelligent street lamp control system based on cloud platform | |
| CN102413616A (en) | Intelligent lighting system based on power line carrier communication technology | |
| CN105792446A (en) | Intelligent street lamp control system | |
| CN104955207A (en) | Internet-of-things-based electrodeless-lamp urban lighting control system | |
| CN104105265A (en) | City internet-of-things street lamp system | |
| CN104333947A (en) | Street lamp intelligent energy-saving control system based on internet of things and method thereof | |
| CN113133160A (en) | Wisdom illumination management system | |
| CN209767862U (en) | wisdom street lamp control system based on internet and narrowband thing networking | |
| CN202857089U (en) | Centralized control system for LED illumination system | |
| CN103281827B (en) | LED (Light-Emitting Diode) street lamp intelligent control system and method for dynamically feeding back load balance | |
| CN103096568A (en) | Intelligent networking street lamp illumination management system | |
| CN105979684B (en) | A kind of architectural lighting system based on BIM | |
| CN111669878A (en) | A smart lamp pole lighting control method and system based on ubiquitous perception | |
| CN205859818U (en) | A kind of Internet of Things wisdom street lamp | |
| CN203801127U (en) | City street lamp illumination control system | |
| CN207505192U (en) | The control system of lighting system | |
| CN105163088A (en) | Intelligent expansion device of wireless functions and video monitoring functions for lamps | |
| CN204578831U (en) | Solar lighting intelligent monitor system | |
| CN210042329U (en) | Single lamp controller of street lamp | |
| CN204217170U (en) | City street lamp tele-control system | |
| Ngo et al. | Development and implementation of smart street lighting system based on LoRa Technology | |
| CN113923838A (en) | A control method, device, electronic device and storage medium for a smart street lamp |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20191025 |