| Today’s intelligent street lights can integrate multiple functions into one.Smart cities use next-generation information technology to sense,store,and analyze key information of smart street light systems,which can serve people’s livelihood,environmental protection,urban management and scientific research.Existing street lights have problems such as wasting energy,difficult management,and high maintenance costs.Therefore,the massive data obtained by urban street lights requires a comprehensive and large-scale intelligent management platform for data analysis and operation and maintenance management,so as to realize wisdom Management style.Due to the particularity of the Android device,the characteristic of the smart street lamp system in the Android terminal is that it can transmit messages in real time,so the real-time requirements such as street lamp warning and work order push can be applied on the Android terminal Deeper,compared to the PC can meet the user’s deeper requirements for the system.XMPP protocol is a communication protocol based on XML language,which has applications in many instant messaging systems.Based on the XMPP protocol,this paper studies and implements a smart street lamp terminal based on Android.The main work of this paper is as follows:(1)The overall design of the smart street light Android terminal,including demand analysis and feasibility analysis,and the overall design of the system and the design of the Android terminal software.(2)The design and implementation of the smart street lamp terminal are developed based on the Android platform.The design mode uses the commonly used MVC mode.The interface design specification is based on Android’s Material Design,and the UI interface design follows this specification.(3)Aiming at the aspect of message push that this paper focuses on,this paper analyzes the related technologies,and proposes a dynamic weight scheduling algorithm,and through data encryption,improves the transmission efficiency and security of message push in this system,and verifies the algorithm.(4)Designed and implemented a smart street lamp platform based on Android,and designed the client part.Implemented the main page framework,detailed analysis of UI design and function implementation,and logical analysis and code implementation of each module.The client is composed of functional modules such as login module,authority management module,light control module,policy setting module,work order module and LBS positioning module.It focuses on realizing the real-time push of work order information based on XMPP protocol and street lamp positioning and navigation through LBS,and provides a smart street lamp platform service that integrates control,management,positioning,operation and maintenance for street lamp managers. |