C++基于局域网Linux环境下的心跳检测系统实现[毕业设计,精品论文].doc

C++基于局域网Linux环境下的心跳检测系统实现[毕业设计,精品论文].doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C++基于局域网Linux环境下的心跳检测系统实现 摘 要 Linux平台下的实现,设计了一款能在局域网上运行的心跳检测系统。该系统采用TCP/UDP协议,以C/S模式进行开发。服务器充当主控节点,客户端充当外围节点,通过客户端发送心跳报文的方法来实现心跳检测。系统在节点的局域网中使用,能达到很高的成功率。 【关键词】 主控节点 外围节点 报文 Linux ABSTRACT Network technology of todays world has the rapid development ,but also produces so many network failure, heartbeat detection technology is a detection technology as a network failure detection , and has much demand in todays server market..Heartbeat detection technology is a network connection failure detection technology, server and client need only install on each heartbeat detection software, you can send packets to monitor heart failure, determine whether the various network nodes is in the normal . In this paper, the heartbeat detection technology implementation in the Linux platform, designed a run in LAN heartbeat detection system. The system uses TCP / UDP protocol, to C / S model for development. Server acts as the master node, the client acts as the external nodes, through the heartbeat messages sent by the client to achieve the heartbeat detection methods. System used in local area network node can achieve a high success rate. 【Key words】Heartbeat detection Master node Peripheral node Message Linux 目 录 ABSTRACT 2 前 言 4 第一章 系统简介 6 第一节 心跳检测机制 6 第二节 本文设计的心跳检测系统 6 第三节 本章小结 7 第二章 开发环境、工具和技术 8 第一节 Linux的介绍 8 第二节 GCC简介 9 一、什么是GCC 9 二、GCC的基本规则 10 三、GCC的基本用法 10 四、执行过程 11 第三节 linux下的网络编程技术 11 一、socket编程介绍 11 二、TCP/UDP开发简介 16 第四节 本章小结 17 第三章 系统的分析与设计 18 第一节 需求分析 18 一、问题定义 18 二、可行性研究 18 三、用户需求 18 四、系统整体用例图 19 第二节 概要设计 19 一、设计指导思想 20 二、心跳检测系统的整体结构图 20 三、总体设计 21 第三节 详细设计 22 一、心跳表注册表的设计 22 二、报文格式的设计 24 三、外围节点的设计 26 四、主控节点的设计 27 第四节 本章小结 31 第四章 心跳检测系统的实现 32 第一节 linux下开发环境 32 一、编译环境 32 二、运行环境 33 第二节 程序的实现 35 一、外围节点的实现 35 二、主控节点的设计 37 第三节 本章小节 40 第五章 系统测试 41 第一节 测试环境 41 第二节 测试方法 41 一、黑盒测试 42 二、测试步骤 42 第三节 本章小结 48 结 论 49 参考文献 51 附 录 52 一、英文原文 52 二、中文翻译 56 前 言 第一章 系统简介 第节心跳检测基于C/S模式,主控节点(服务器端)判断外围节点

文档评论(0)

好老师 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档