linux c++ 数据库连接池的心跳机制自动重连c++代码,C++基于局域网Linux环境下的心跳检测系统实现.doc...

..

PAGE

..

编 号:

审定成绩:

重庆邮电大学

毕业设计(论文)

设计(论文)题目:

C++基于局域网Linux环境下的心跳检测系统实现

摘 要

当今世界的网络飞速发展,但也因此也产生了许多网络故障,心跳检测技术作为一种故障检测技术,在当今服务器市场有很大需求。心跳检测技术是一种检测网络连接故障的技术,它通过在服务器端和客户端装上各自的心跳检测软件,就可以根据发送的心跳报文来监测故障,判断各个网络节点的连接是否正常[1]。

本文研究了心跳检测技术在Linux平台下的实现,设计了一款能在局域网上运行的心跳检测系统。该系统采用TCP/UDP协议,以C/S模式进行开发。服务器充当主控节点,客户端充当外围节点,通过客户端发送心跳报文的方法来实现心跳检测。系统在节点的局域网中使用,能达到很高的成功率。

【关键词】心跳检测 主控节点 外围节点 报文 Linux

ABSTRACT

Network technology of today's 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 today's 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

目 录

TOC \o "1-3" \h \z \u HYPERLINK \l "_Toc263762470" ABSTRACT PAGEREF _Toc263762470 \h 2

HYPERLINK \l "_Toc263762471" 前 言 PAGEREF _Toc263762471 \h 4

HYPERLINK \l "_Toc263762472" 第一章 系统简介 PAGEREF _Toc263762472 \h 6

HYPERLINK \l "_Toc263762473" 第一节 心跳检测机制 PAGEREF _Toc263762473 \h 6

HYPERLINK \l "_Toc263762474" 第二节 本文设计的心跳检测系统 PAGEREF _Toc263762474 \h 6

HYPERLINK \l "_Toc263762475" 第三节 本章小结 PAGEREF _Toc263762475 \h 7

HYPERLINK \l "_Toc263762476" 第二章开发环

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值