当前位置:主页 > 科技论文 > 自动化论文 >

传感器信息采集系统生成平台的设计与实现

发布时间:2018-08-08 13:14
【摘要】:随着互联网的普及,物联网当然也高速发展。新一代信息技术物联网是必不可少部分,也是“信息化”时代的必要发展阶段。传感器信息采集系统是硬件和互联网结合最重要的应用之一。在传感器信息采集系统中,前端硬件设备对数据进行收集和简单处理,web服务端进行存储,用户可根据需要读数据进行二次开发利用。目前,传感器信息采集系统的特点是传感器种类多、数据量大、数据采集模块化程度高、存储流程固定,采集的数据既可以直接使用也可以进行二次开发。在不同的信息采集系统中,传感器信息采集系统开发需要进行许多重复工作,例如编写前端信息采集程序,硬件端到web端的传输程序,后台的存储和处理程序,用户图形界面等。使用代码生成技术可以快速生成基础数据采集、传输、web存储等代码,并实现简单业务逻辑和用户图形界面,一方面减少重复工作,另一方面减少编程过程中出现认为错误的几率。本文主要工作如下:1.本文研究了代码自动生成技术,包括CASE工具和基于模版的代码生成技术,并分析其优劣,结合传感器信息采集系统自身特点,选择了基于模版的代码生成技术;介绍了服务器展示和业务逻辑技术选择;介绍了基于注解的Spring MVC框架、JPA数据库访问技术、Shrio权限控制框架,并介绍了这些框架和技术的优势和特点以及选择理由;介绍了Arduino开源平台。2.本文使用Arduino前端进行数据采集,web端使用html、J2EE技术,数据库使用MySQL,基于模版技术实现了传感器信息采集系统代码自动生成平台。设计并实现了平台数据结构和数据库;设计了自动代码实现的流程;实现了自动生成前端采集数据代码、数据传输代码,web服务端java源文件和展示层源文件,web端自动生成的功能包括处理Arduino http请求,存储数据、查询数据和删除数据;封装并实现了一些通用的接口。3.本文使用Arduino和本平台实现了一个自动采集温度系统,系统包括数据采集,后台存储,展示温湿度变化。通过测试和实际应用,传感器信息采集系统代码自动生成平台能够快速的实现并生成前端数据采集代码、web端接受http请求、存储展示数据等功能,使数据采集系统开发更快捷。4.本文最后对平台进行了总结和展望。针对平台开发过程中遇到的问题进行总结,对今后平台可以增加完善的功能进行展望。
[Abstract]:With the popularity of the Internet of things, of course, the rapid development of the Internet of things. The Internet of things of the new generation of information technology is an essential part and a necessary stage of development in the era of information technology. Sensor information acquisition system is one of the most important applications combining hardware and Internet. In the sensor information collection system, the front-end hardware device collects and simply processes the data and stores the web server. The user can read the data according to the need for secondary development and utilization. At present, the characteristic of sensor information acquisition system is that there are many kinds of sensors, large amount of data, high degree of modularization of data acquisition, fixed storage flow, and the collected data can be used either directly or for secondary development. In different information collection systems, the development of sensor information acquisition system needs a lot of repetitive work, such as writing front-end information collection program, transferring program from hardware to web, storing and processing program in background. User graphical interface, etc. Code generation technology can be used to quickly generate basic data acquisition, transmit web storage and other codes, and achieve simple business logic and user graphical interface, on the one hand, reduce duplication of work, On the other hand, it reduces the chance of thinking wrong during programming. The main work of this paper is as follows: 1. This paper studies the automatic code generation technology, including CASE tools and code generation technology based on template, and analyzes its advantages and disadvantages. Combined with the characteristics of sensor information collection system, the code generation technology based on template is selected. This paper introduces the server presentation and business logic technology selection, introduces the Spring MVC database access technology based on annotations, and introduces the advantages and characteristics of these frameworks and technologies, as well as the reasons for their selection. This paper introduces the Arduino open source platform. 2. 2. In this paper, we use Arduino front-end to collect data and use Arduino J2EE technology in web end, and MySQL in database. Based on template technology, we realize the automatic code generation platform of sensor information acquisition system. Design and implement the platform data structure and database, design the process of automatic code realization, realize the automatic generation of front-end data code, The functions of automatically generating java source files and display layer source files include processing Arduino http requests, storing data, querying data and deleting data, and encapsulating and implementing some common interfaces. 3. This paper uses Arduino and the platform to realize an automatic temperature acquisition system, including data acquisition, background storage, display temperature and humidity changes. Through testing and practical application, the automatic code generation platform of sensor information acquisition system can quickly realize and generate front-end data acquisition code to accept http requests, store and display data, and make the development of data acquisition system faster. 4. Finally, the platform is summarized and prospected. The problems encountered in the development of the platform are summarized, and the future functions of the platform can be improved.
【学位授予单位】:吉林大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP212;TP274.2

【相似文献】

相关期刊论文 前10条

1 李华志;黄斌;;基于图像和传感器信息融合的自导小车系统[J];计算机工程与设计;2007年17期

2 荆孟春;王继业;程志华;李凌;;电力物联网传感器信息模型研究与应用[J];电网技术;2014年02期

3 王祁,叶笑春;传感器信息处理的人工神经网络方法的研究[J];电测与仪表;1994年09期

4 郭以述;网络化传感器信息采集的新时代[J];世界电子元器件;1996年09期

5 崔博鑫;许蕴山;向建军;吴岚;张波雷;;一种基于异类传感器信息融合的目标识别方法[J];计算机工程与应用;2012年24期

6 梁丁文;袁磊;蔡之华;谷琼;;基于无迹卡尔曼滤波传感器信息融合的车辆导航算法[J];计算机应用;2013年12期

7 李宓;;日本机器人“阿西莫”又添新本领[J];中国发明与专利;2005年03期

8 尤波,,张立强;基于传感器信息的机器人精密装配作业分析[J];传感器技术;1995年02期

9 王Y

本文编号:2171887


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/zidonghuakongzhilunwen/2171887.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户4eaa7***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com