Font Size: a A A

Research And Implementation Of Smart Home Based On Nginx Load Balancing

Posted on:2019-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:X L ZuoFull Text:PDF
GTID:2392330626450239Subject:Engineering
Abstract/Summary:
With the rapid development of national economy,people’s lives are increasingly affected by PC technology,wireless communication technology and information technology,people’s life style and concept of life has also been great changes in people’s life,the strong demand for intelligent environment makes Home Furnishing intelligent and modernization put forward higher requirements.Information,digitalization,intelligentization and networking smart home gradually penetrated into the life of ordinary people,providing a convenient,comfortable,stable and safe intelligent home networking environment for the masses.However,as the number of users using smart home monitoring systems continues to increase,the number and size of information transmissions on the networks are also exploding.This imposes higher requirements on the server’s load performance and a single server.Upgrading is not only costly but also not conducive to stable and lasting service delivery.As an effective means to solve the problem of server cluster load balancing,the load balancing policy has received more and more attention.The existing load balancing strategy still has many insufficiency in the task scheduling,which leads to the unbalanced load of the entire cluster and aggravates the performance pressure of certain nodes in the cluster.This paper first establishes a smart home environment monitoring system.It installs the data acquisition end device to collect the home environment data in real time and upload it to the data server on the back end of the cluster.The web page and Android APP are developed to facilitate the user through PC or mobile phone.Real-time query of home environment data.And by analyzing the mainstream load balancing strategy,the static weighted polling algorithm built in the Nginx server is improved to form a dynamic load balancing strategy.This strategy collects the running information of each node in the current cluster and converts it to the corresponding weight through the dynamic load balancing algorithm.Finally,the Nginx weight modification module modifies the weights to allow the most idle nodes to respond to user requests,so as to achieve load balancing.Compared with the mainstream load balancing strategy,the improved algorithm in this thesis has better performance.Through the realization of the smart home environment monitoring system and dynamic load balancing strategy,it alleviates the performance pressure problem of a large amount of data on the basis of real-time monitoring of the home environment and has certain reference significance.
Keywords/Search Tags:Internet of things, smart home environment monitoring system, Nginx server, dynamic load balancing
Related items