摘要
在物联网智能家畜养殖环境监控系统中,服务端与各监控节点以及监控节点与各监控终端的通信方式是基于连接的TCP通信。系统作为数字化养殖与全产业链溯源平台的一个子系统,需要与其进行整合,而平台系统采用B/S结构为用户提供信息服务。为解决该问题,研究并设计了一个C/S与B/S混合体系结构模型,并将该模型应用于系统设计中。同时,为了使服务端能与平台系统的Web服务端有机结合,采用向Web服务器内嵌子线程的方式设计系统服务端。系统测试及试运行结果表明,该解决方案能够满足系统设计需求,性能稳定、响应及时,有效保障了系统的信息一致性。
In the IoT intelligent livestock environment supervisory control system ,server and each monitoring node and monitoring and control terminal communication mode is connection based on the TCP communications .As a subsystem of the digital pig breeding and traceability platform ,this system needs to be integrated ,and this platform system provides in-formation service for the user with B/S structure .This paper researches and designs a model of mixed construction of C/S & B/S ,which has been used in the design of this system ;and designs the server-side of this system in the way of embed child threads into Web server ,so the server can integrate with the web server of the platform better .According to the re-sults of system trial running ,this solution is stability and timely ,satisfy the requirement of system design ,which can guarantees the information consistency effectively .
出处
《软件导刊》
2014年第9期6-9,共4页
Software Guide
基金
江苏省工业和信息产业转型升级专项引导资金省属项目(KA12217019)
关键词
物联网
软件体系结构
C/S结构
B/S结构
智能监控
线程
Internet of Things
Software Architecture
Research and Design
C/S&amp
B/S
Intelligent Supervisory Control
T hread