基于ARM的網(wǎng)絡(luò)時(shí)間同步系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:網(wǎng)絡(luò)時(shí)間同步 + ARM ; 參考:《西安電子科技大學(xué)》2014年碩士論文
【摘要】:網(wǎng)絡(luò)時(shí)間同步技術(shù)是指通過(guò)一種方式使網(wǎng)絡(luò)中的設(shè)備可以與標(biāo)準(zhǔn)時(shí)間同步,保證所有設(shè)備與標(biāo)準(zhǔn)時(shí)間一致。網(wǎng)絡(luò)時(shí)間同步技術(shù)在電子通信領(lǐng)域受到人們?cè)絹?lái)越多的重視,如衛(wèi)星發(fā)射與測(cè)控系統(tǒng)、航空管理系統(tǒng)、以及煤炭監(jiān)測(cè)系統(tǒng)等等。在這些場(chǎng)合,對(duì)系統(tǒng)內(nèi)的時(shí)鐘的要求非常高,任何一個(gè)微小的誤差都會(huì)導(dǎo)致非常嚴(yán)重的后果。另外,網(wǎng)絡(luò)時(shí)間同步技術(shù)還應(yīng)用在一些軍事領(lǐng)域,在這些場(chǎng)合對(duì)于時(shí)間同步提出了更高的要求,所以需要對(duì)時(shí)鐘不斷調(diào)整,讓它們能夠盡量統(tǒng)一于一個(gè)標(biāo)準(zhǔn)時(shí)間。所以研究網(wǎng)絡(luò)時(shí)間同步技術(shù)有著重大的意義。 本文在分析網(wǎng)絡(luò)時(shí)間協(xié)議(NTP)的基礎(chǔ)上,主要論述了基于ARM的網(wǎng)絡(luò)時(shí)間同步系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)。該系統(tǒng)在硬件方面,我們選擇了目前流行的16/32位ARM核的RISC處理器S3C44B0X作為主處理器,它的優(yōu)點(diǎn)是時(shí)鐘頻率高,處理速度快,片內(nèi)含有網(wǎng)絡(luò)控制器,系統(tǒng)接口簡(jiǎn)單。在軟件方面我們對(duì)相關(guān)的服務(wù)器軟件和NTP客戶端軟件進(jìn)行了開(kāi)發(fā),,最終完成了網(wǎng)絡(luò)授時(shí)系統(tǒng)的軟件開(kāi)發(fā)。 該網(wǎng)絡(luò)時(shí)間同步系統(tǒng)利用串口再結(jié)合ARM內(nèi)部的計(jì)數(shù)器產(chǎn)生服務(wù)器的標(biāo)準(zhǔn)時(shí)鐘,同時(shí)它會(huì)把接收到客戶機(jī)提出申請(qǐng)的時(shí)間和向客戶機(jī)回送應(yīng)答信號(hào)的時(shí)間標(biāo)記到響應(yīng)包上,然后再通過(guò)網(wǎng)絡(luò)接口向提出申請(qǐng)的客戶機(jī)發(fā)出響應(yīng)包,最后客戶機(jī)會(huì)通過(guò)響應(yīng)包對(duì)本地時(shí)鐘進(jìn)行修正,在網(wǎng)絡(luò)中實(shí)現(xiàn)客戶端的時(shí)間同步。 最終實(shí)驗(yàn)證明該系統(tǒng)運(yùn)行穩(wěn)定,能夠正確實(shí)現(xiàn)網(wǎng)絡(luò)授時(shí)服務(wù),達(dá)到了設(shè)計(jì)要求。
[Abstract]:Network time synchronization is to synchronize all devices with standard time by a way. Network time synchronization technology has attracted more and more attention in the field of electronic communication, such as satellite launch and control system, aviation management system, coal monitoring system and so on. In these cases, the system clock requirements are very high, any small error will lead to very serious consequences. In addition, the network time synchronization technology is also applied in some military fields, which put forward higher requirements for time synchronization, so it is necessary to adjust the clock constantly so that they can be unified in a standard time as much as possible. So it is of great significance to study the network time synchronization technology. Based on the analysis of network time protocol (NTP), this paper mainly discusses the design and implementation of network time synchronization system based on arm. In terms of hardware, we choose S3C44B0X, a popular 16 / 32-bit arm core RISC processor, as the main processor. It has the advantages of high clock frequency, fast processing speed, network controller in the chip and simple system interface. In terms of software, we developed the related server software and NTP client software, and finally completed the software development of the network time service system. The network time synchronization system uses serial port to combine with the counter inside arm to generate the standard clock of the server. At the same time, it marks the time of receiving the request from the client and sending the reply signal to the client on the response packet. Then the client sends the response packet to the requesting client through the network interface. Finally, the client corrects the local clock through the response packet and realizes the time synchronization of the client in the network. Finally, the experiment proves that the system runs stably and can realize the network time service correctly, which meets the design requirements.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.05
【參考文獻(xiàn)】
相關(guān)期刊論文 前8條
1 趙景斐;;NTP在網(wǎng)絡(luò)時(shí)間同步中的應(yīng)用[J];測(cè)繪與空間地理信息;2008年05期
2 何立民;嵌入式系統(tǒng)的定義與發(fā)展歷史[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2004年01期
3 宋妍,朱爽;基于NTP的網(wǎng)絡(luò)時(shí)間服務(wù)系統(tǒng)的研究[J];計(jì)算機(jī)工程與應(yīng)用;2003年36期
4 李明國(guó),宋海娜,胡衛(wèi)東;Internet網(wǎng)絡(luò)時(shí)間協(xié)議原理與實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2002年02期
5 賀鵬,吳海濤;分布式系統(tǒng)的時(shí)間同步算法研究及應(yīng)用[J];計(jì)算機(jī)應(yīng)用;2001年12期
6 張紅,王志強(qiáng),陳前斌,陳偉;NTP協(xié)議及其在電信網(wǎng)絡(luò)中的應(yīng)用[J];計(jì)算機(jī)應(yīng)用;2004年S1期
7 ;Guaranteed cost control for networked control systems[J];Journal of Control Theory and Applications;2004年02期
8 姜團(tuán)彩;網(wǎng)絡(luò)時(shí)間協(xié)議的基本原理及其在校園網(wǎng)絡(luò)的應(yīng)用[J];龍巖師專學(xué)報(bào);2004年03期
本文編號(hào):2035022
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2035022.html