Font Size: a A A

Design And Implementation Of Generated Platform Based On Sensor Information Acquisition System

Posted on:2017-03-22Degree:MasterType:Thesis
Country:ChinaCandidate:P F LiFull Text:PDF
GTID:2308330482995773Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the popularity of the Internet, IoT(Internet of things) is also been rapid developing. IoT is an important part of the new information technology. Sensor information acquisition system is one of the most important applications of IoT. In the sensor information acquisition system, the hardware is to collect data and simple processing, web server storage, and users can read or analysis the data according to their needs.At present, the characteristics of sensor information acquisition system is that much kinds of sensors, large amount of data, high degree of data acquisition module,storage process is fixed, the collected data can directly and it can also be used for secondary development. In the different information acquisition system, sensor information acquisition system development needs much repetitive work, such as writing the front end data acquisition program, hardware terminal to a web site the transfer procedures, background storage and handling procedures graphical user interface. Use code generation techniques can quickly generate code based data acquisition, transmission, web storage, and realize the simple business logic and graphical user interface(GUI). On the one hand, reduce duplication of work, on the other hand reduce programming process in that the probability of error.The main work of this paper is as follows:1. In this paper, we study the technology of automatic code generation, including case tools, professional field code generation technology and template based code generation and analysis their advantages and disadvantages, combined with sensor data acquisition system with its own characteristics, select the template based code generation, and introduces the web client display layer technology and the server technology; introduced based on annotation of the spring MVC framework, JPA database access technology and shrio options control framework, and introduces the framework and technology advantages and characteristics and reasons for choice;introduced the Arduino open-source electronics prototyping platform.2.This article uses the Arduino front end to carry on the data collection, the web end uses the HTML, the J2 EE technology, the database uses MySQL, has realized the sensor information collection system code automatic generation platform. First is the design and implement of the platform data structure and database; design of automatic code implementation process; to realize the automatic generation of front-end data acquisition code, data transmission code, web server side Java source files and display layer source files, web client automatically generated features include processing Arduino HTTP request, data storage, query data and delete data; packaging and realize the common interface.3.In this paper, we use Arduino and the platform to achieve an automatic temperature and humidity acquisition system, including data collection, background storage, display temperature and humidity changes. Through test and actual application, sensor information acquisition system code automatic generation platform can fast realize and generating front-end data acquisition code, web end accept HTTP requests, store display data and other functions, make the development of data acquisition system for more efficient.4.In the end of this paper, the platform is summarized and prospected. In view of the problems encountered in the development process of the platform, the future platform can be added to improve the function of the future.
Keywords/Search Tags:Sensor, data collection, automatic code generation, IoT, Arduino
PDF Full Text Request
Related items