节点文献
基于NTP协议的PCS统一网管系统时钟服务设计与实现
Design and Realization for NTP-based Time Service of PCS Unified Management System
【作者】 崔波;
【导师】 申铉京;
【作者基本信息】 吉林大学 , 计算机软件与理论, 2004, 硕士
【摘要】 随着通信业务的发展及通信网络规模的进一步扩大,新技术、新设备、新业务不断出现,运营商对电信设备制造厂商同时组网的产品均提出了统一网管的要求,即不同类型的产品能在同一个网络管理平台上做到统一管理,这就是常说的统一网管平台系统。统一网管系统要求有稳定的支撑平台为应用提供系统级的服务,如系统运行支撑、时钟服务、文件管理、调试打印、系统管理等。时钟服务就是其中一个重要的研究领域。本文研究的是电信网管领域中PCS统一网管系统的时钟服务功能的设计与实现。“PCS统一网管系统”是中兴通讯股份公司成都研究所自主开发的电信领域基于网络层的小灵通省级网管系统,是在统一网管平台项目的基础上进行二次开发,加上小灵通特有的业务功能开发而成的。本篇论文主要描述了位于平台支撑功能子系统(PSF)的时钟服务功能的设计与实现,论文是按照系统、子系统、功能模块、设计与实现从整体到局部的顺序组织,也叙述了在开发中遇到的难题及相应的解决方法。时钟服务是为整个统一网管系统提供与操作系统时间和硬件时间无关的时钟源,包括定时器和时钟同步二个子模块,主要应用于网元层网管。只有管理的网元(包括基站、板位)维护着相同的时钟系统,对网元的修改、设置等管理功能才有着实际的意义。对时钟服务的设计与实现是基于NTP协议,主要解决局域网内部和多种类型的网元、时钟服务器间的时钟问题。时钟服务功能包括定时器和时钟同步二个子模块,定时器通过定时消息为应用提供定时通知服务,应用设置定时器后,系统会在一定时间间隔后向应用发送一个定时到消息,可用于一些周期性操作;时钟同步模块实现时钟获取、时钟检查、时钟同步的功能。本文是专门针对电信网管开发的时钟服务功能,要面对着诸如传输、交换、小灵通等不同类型的设备。时钟同步精度只要求到秒极,但对稳定性的要求严格。在遵从NTP协议的前提下,在时钟服务的实现过程中,出现随着系统运行时间的延长,由于线程的阻塞导致时间的偏移增大,针对这个问题加入了对计数线程的校验;对时钟同步的实现中采用主、备二个时钟服务器,提高了系统的稳定性,如果向二个时钟服务器进行时钟同步均失败,则发送<WP=84>告警,记录日志,等待下一次同步时间的到来,避免了系统的崩溃;并且加入电信网管独有的和不同类型的设备同步功能(PCS系统由无线侧、交换侧、智能网三侧七种网元设备组成)。在第一章里简要的介绍了PCS统一网管系统的研究目的,相关领域的工作概述,本篇文章要达到的预期效果和意义。第二章指出了PCS省级网管系统是在统一网管平台的基础上开发的,先给出了省级网管系统的体系结构,然后以统一网管平台为基础介绍软件的总体结构、业务功能模块,接口等。在第三章着重的介绍了时钟服务功能所在的PSF子系统的总体架构、功能模块,详细叙述了作为整个网管系统支撑的符合J2EE规范的JBoss应用服务器。在第四章中详细的介绍了时钟服务开发的协议—网络时间协议(NTP)的网络结构、时间戳格式、消息格式及时间同步算法。时钟服务功能由定时器功能和时钟同步功能组成,在论文的第五章中对这二个功能就分析、模块设计、实现几个方面给出了详细的介绍,并着重给出了在设计实现过程遇到的难题及解决的方法。然后给出了时钟服务功能在PCS省级集中网管系统中的实际应用。本文基于NTP协议实现了电信网管中的统一网管系统的不同被管理对象(其他网元管理系统、不同网元等)的时钟同步和定时器功能。但是NTP协议又不能完全满足功能,又在NTP协议的基础上有所更改和扩展,加入了J2EE中的JMS(Java Message Service,Java消息服务)功能实现向其他节点中的网元同步时,向网元中介功能发送一个消息,然后侦听消息队列等待同步消息的返回,获取时间同步的消息。电信网管中的时钟服务对时钟的精度要求不是很高,但是要考虑既要和本地的操作系统时间无关,又要考虑同步时钟服务器和同步不同类型的设备二种情况。只有支持分布式情况,才能支持整个电信网管系统的后期扩容;只有时间偏差在规定的时间内不放大,整个网管系统才能稳定运行。
【Abstract】 With the development of communication operations and the expanding scale of communication network, unified network management system (UMS) which is composed of product by the same company is bring forward by business. That is to say, different product can be managed in the same network management platform. UMS should have steady supported platform which provide systemic services including support of running sysem, time service, file management, dubugging and print, system management, ect. Time service is an important researching domain. It researchs the design and the realization for the time service in PCS UMS .The ZTE Unified Management System in PCS is based on network level of TMN, a project funded by Technology Center Chengdu Institute of ZTE Corporation., is composed of UMS and PCS service. In this thesis, it mainly describes design and development for time service function of PSF in the sequence of total system, subsystem, module, design and development, it also introduces the problems and the solutions that meet.Time service provides a time source that is independent of OS and devices for the UMS, it is used in network elements management. Only the managed network element maintains the same time system, it has actual meaning by amending or setting. It is based on NTP for design and realization, mainly solving time problem in LAN. Time service is composed of timer and time synchronization, timer enables the timer task, adds or deletes tasks , time synchronization realizes time acquirement , time check and time synchronization. It is specialized in the function of time service, eg transmission, switch, PCS diffirent devices. The precision for time synchronization is up to seconds. Refered to stability, it is stricted. In the precondition of NTP, it adds verification of counted thread, it uses main time source and spare time source, if failing to sychronized to the two time server, it sends warning and records logs, waiting the next time to sychronize, and adds the functions synchronizing to different network element only in TMN. <WP=86>Firstly, it introduces the purpose of ZXUMS and summarization of correlative field, expected rusult and worthiness. In the second chapter, it describes that the development of ZXUMS is based on the UEP(unifide element management platform), then introduces the whole framework, funtion module, and interface for ZXUMS. Section 3 , it mainley discusss the framework of time service of PSF subsystem in ZXUMS. In the other hand, this article also discusses JBoss Application-Server about J2EE as support of the whole system. It introduces the protocal for time service-NTP in forth chapter which describes the network framework , NTP timestamp Format and NTP message Format. Time service function is composed of time synchronization and timer function in section 5 where describes the analysis, the design of the time service, and the development . It is emphasized on the difficult and key problem of the time service. At last, the article introduces the application of the time service function in ZXUMS.In the thesis, it realizes time synchronization and timer for ZXUMS in TMN based on NTP. But it can not really complete the function , it extends and amends some of NTP, adds JMS when communicating with other network elements in J2EE, subscribes a message from message queue throw EMF, and then issues the message, listens the message to acquire the time synchronize time message. It is unstrict with precise in LAN for TMN, but it should have no connection with local OS time, and can synchronize to time server and different devices. Only supporting the distrubuted system, it can use when system extend in future, Only time difference do not expand in running time, the whole system will running in order.
- 【网络出版投稿人】 吉林大学 【网络出版年期】2004年 04期
- 【分类号】TN915.07
- 【被引频次】4
- 【下载频次】240