基于apache mina的智能家居服务器设计与实现-交通信息工程及控制专业论文.docxVIP

基于apache mina的智能家居服务器设计与实现-交通信息工程及控制专业论文.docx

  1. 1、本文档共73页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于apache mina的智能家居服务器设计与实现-交通信息工程及控制专业论文

Design and Implementation of Smart Home Server System Based on Apache Mina A Dissertation Submitted for the Degree of Master Candidate:Xiang Yun Supervisor:Prof.Zhang Weigang Chang’an University, Xi’an, China 3 I I PAGE PAGE IV 摘 要 智能家居系统的主要应用模式是用户利用移动终端通过位于公网中的服务器控制家 中的智能终端。为了实现服务器对移动终端和智能终端的通信连接以及服务器 I/O 的密 集型应用,提出了一种基于 Apache Mina 网络通信框架的服务器开发方案。 首先,在对几种常见的服务器开发模型的分析基础上,给出了非阻塞 I/O 模型的 Java NIO 实现方式和基于 Java NIO 的 Apache Mina 网络通信框架。 其次,通过对服务器系统需求的全面的分析,设计了系统的通信协议,对系统的通 信、消息处理、日志记录等功能模块做了概要设计,并对系统的安全策略进行了选择, 提出基于 Apache Mina 通信框架的服务器系统的详细开发方案,并结合 Mina 框架,采 用面向对象的方法实现了该服务器系统。 最后,在公网环境下,使用 LoadRunner11 测试工具,对服务器系统进行了性能测试, 并用手工的方式进行了功能测试。经过测试,当用户的数量达到 20000 时,服务器系统 的事务响应时间、CPU 和内存利用率等均符合要求。测试结果表明:本文设计的智能家 居服务器系统在功能和性能上达到了设计要求,在理论研究和实际应用两个方面均具有 较高的参考价值。 关键词:计算机应用,智能家居服务器,I/O 密集型应用,Java NIO,Apache Mina 框架 Abstract The main application model of Smart Home System is that the user controls the smart terminal by intelligent mobile terminal through server system in public network. In order to implement the communication between the mobile terminal and the smart terminal and the server I/O-intensive applications, a server system development program based on Apache Mina was proposed. Firstly, based on the analysis of several common server development models, the non-blocking I/O model of the Java NIO implementation and the Apache Mina based on Java NIO was proposed. Secondly, through a comprehensive analysis of the server system requirements, the communication protocol of the system was designed; the communication, message handling, logging and other functional modules of system were designed and the system security policy was chosen; a server system development programs based on Apache Mina was proposed. Based on the Mina framework, the server system was implemented with object-oriented method. Finally, using LoadRunner11 testing tools and manual ways tested the server system performance function in a public network environment. When the number of users reached 20,000, th

文档评论(0)

131****9843 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档