毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

Linux下时间服务器的设计与实现

时间:2018-12-16 19:04来源:毕业论文
研究了在架构在Linux运行模式下网络类型服务器的规划与创构。在Linux系统采用Linux Socket编程接口,基于TCP协议的服务器端的访问和数据传输方案的实现,服务器和客户端之间的工作过程

摘  要:  时间服务是最基本的网络服务的一个重要组成部分,无论是在分布式运行环境还是在实时式运行环境中,时间同步模块对于系统的运行都贡献着极为重要的作用。时间服务器的主要功能是向网络内其他客户机提供权威实时时间并提供相应参数以供客户机修改本机时间与权威时间相同步。Linux操作系统具有开源、低成本、易实现以及优良的权限控制等优点,有利于快捷简便的部署与管理一个网络服务器。本文研究了在架构在Linux运行模式下网络类型服务器的规划与创构。在Linux系统采用Linux Socket编程接口,基于TCP协议的服务器端的访问和数据传输方案的实现,服务器和客户端之间的工作过程进行了详细的分析。在同一网络中,当服务器被上载运行,存在有客户端发起同步请求,服务器和客户端使用TCP协议操作。时间服务器的编写选取了Linux操作环境下的C语言程序开发这一方式。基于C语言天然的优势,这一编写策略可大幅度提升系统运行速度,并为系统的安全性和可靠性提供保障。31574
毕业论文关键词:  Linux操作系统Socket套接字;服务器模式策略;TCP协议分析 
 Linux time server Design and implementation
Abstract: Time service is an important part of network basic service, whether in the distribution of the operating system or in a real-time operating system, time system plays an extremely important role. Time server's main function is to provide other client network authority real time and provide the corresponding parameters for the client to modify the machine time and authority phase synchronization. Linux operating system with open source, low cost, easy implementation and excellent advantages of access control, is helpful for quick and easy deployment and management of a network server. This paper studies the design and implementation of a web server in a Linux environment. In the Linux system adopts the way Linux socket programming interface, realize the server access and data transmission scheme based on TCP protocol, detailed analysis of the process between server and client work. Within the same network, when run time server in it, the client ask the launch time synchronization, the client and server using TCP protocol operation.Time server implementation code used by the C language programming under Linux, can greatly improve the system operation speed, and enhance the safety and reliability of the system.
Keywords:  Linux system;Socket socket;Server mode strategy;TCP protocol analysis

目  录
第1章  绪论    1
1.1 研究背景    1
1.2 项目开发的意义    1
1.3 本文研究内容及主要贡献    1
第2章  系统分析    2
2.1时间服务工作流程    2
2.2 时间同步协议设计的三大特性    3
2.3 时间标准与时区    3
2.4 开发工具及环境介绍    3
2.4.1 Linux操作系统    3
2.4.2 GCC(GNU编译器套件)    3
2.4.3 VMware    3
第3章  时间服务器网络编程    4
3.1 TCP网络编程架构    4
3.1.1  服务器端的程序设计模式    4
3.1.2  客户端的程序设计模式    5
3.1.3  客户端与服务器的交互过程    5
3.2 创建网络插口函数SOCKET()    6
3.2.1  socket()函数介绍    6
3.2.2  socket()的connect_domain参数    6
3.2.3  socket()的connect_type参数    6
3.2.3  socket()的connect_protocol参数    6
3.2.4  socket()的报错消息    6 Linux下时间服务器的设计与实现:http://www.youerw.com/jisuanji/lunwen_27783.html
------分隔线----------------------------
推荐内容