CN1536849A - A method for realizing network clock synchronization in the whole network of network management - Google Patents
A method for realizing network clock synchronization in the whole network of network management Download PDFInfo
- Publication number
- CN1536849A CN1536849A CNA03109113XA CN03109113A CN1536849A CN 1536849 A CN1536849 A CN 1536849A CN A03109113X A CNA03109113X A CN A03109113XA CN 03109113 A CN03109113 A CN 03109113A CN 1536849 A CN1536849 A CN 1536849A
- Authority
- CN
- China
- Prior art keywords
- network management
- time
- network
- management server
- clock synchronization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Electric Clocks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及网管领域,尤其涉及网管系统中,被管设备与网管之间的时间同步问题。The invention relates to the field of network management, in particular to the problem of time synchronization between managed equipment and the network management system in the network management system.
技术背景technical background
被管设备及操作维护中心(OMC)与网管系统分属不同网络,有不同的时间源。目前解决技术主要表现为以下几种:The managed equipment and the operation and maintenance center (OMC) and the network management system belong to different networks and have different time sources. The current solutions are mainly as follows:
1、根本没有同步时间;1. There is no synchronization time at all;
2、以网管服务器时间同步被管设备;2. Synchronize the managed device with the time of the network management server;
3、以CKS同步全网时间;3. Synchronize the whole network time with CKS;
分析如下:analyse as below:
1、没有同步的则造成网管操作数据的失真,主要是对时间相关数据的失真,如话统、告警信息等,在多个时间不同步的被管设备之间数据缺乏可比性(因为网管要采集多个被管设备的数据);这种情况较普遍存在。1. If there is no synchronization, the network management operation data will be distorted, mainly due to the distortion of time-related data, such as traffic statistics, alarm information, etc., and the data between multiple managed devices that are not synchronized in time is not comparable (because the network management needs to collect data from multiple managed devices); this situation is more common.
2、网管服务器在实际应用中以一台高性能的SUN工作站或者小型机形式存在,但在缺乏外部时钟源条件下很难保证时间的准确性。2. The network management server exists in the form of a high-performance SUN workstation or minicomputer in practical applications, but it is difficult to ensure the accuracy of time without an external clock source.
3、CKS的时钟同步上级时钟源,但绝对时间并非精确,在实际应用中,有CKS时间跳变现象。3. The CKS clock is synchronized with the superior clock source, but the absolute time is not accurate. In practical applications, there is a phenomenon of CKS time jump.
在实际应用中,网管与被管设备采用了各自的时间系统,被管设备一般采用CKS时间,而网管是使用其本身服务器的时间。这样就造成了一个问题:一个网络有了两套时间源。而网管系统的数据来源是主机及OMC后台系统,造成网管上操作或查询的时间并非数据真正产生的时间,使数据“失真”。In practical applications, the network management system and the managed equipment adopt their own time systems. The managed equipment generally adopts the CKS time, while the network management system uses the time of its own server. This creates a problem: a network has two sets of time sources. However, the data source of the network management system is the mainframe and the OMC background system, which causes the time of operation or query on the network management system to be different from the time when the data is actually generated, which makes the data "distorted".
发明内容Contents of the invention
本发明的目的就是解决在网管系统中,网管服务器时间与被管设备之间时间不同步的问题,提出一种解决两个时间源的统一和保证精度的问题。The purpose of the present invention is to solve the problem that the time of the network management server and the time of the managed equipment are not synchronized in the network management system, and propose a method to solve the problem of unification of two time sources and guarantee accuracy.
一种网管全网时钟同步实现方法,外部网络环境包括网管服务器和被管理设备,该网管服务器带有网管代理工作站,其特征在于:A network management network-wide clock synchronization implementation method, the external network environment includes a network management server and managed equipment, the network management server is equipped with a network management agent workstation, characterized in that:
a、网管服务器通过上级时钟源获取标准时间;a. The network management server obtains the standard time through the superior clock source;
b、网管代理工作站定时从网管服务器取得标准时间,并将其设置于本地;b. The network management agent workstation regularly obtains the standard time from the network management server and sets it locally;
c、被管设备从时钟板(CKS ClocK Source board)取得时间,定时向网管代理工作站上报,由网管代理工作站检查上报时间并进行处理。c. The managed device obtains the time from the clock board (CKS ClocK Source board), and regularly reports to the network management agent workstation, which checks and processes the reported time.
所述的步骤a中,网管服务器的上级时钟源是GPS全球定位系统,GPS通过世界协调时间(UTC Universal Time Coordinated)程序将标准时间发送给网管服务器。In the described step a, the superior clock source of the network management server is the GPS global positioning system, and the GPS sends the standard time to the network management server through the UTC Universal Time Coordinated (UTC Universal Time Coordinated) program.
所述的步骤a中,网管服务器的上级时钟源是上级网管服务器,上级网管服务器获得标准时间信息后,发给网管服务器。In the step a, the upper-level clock source of the network management server is the upper-level network management server, and after obtaining the standard time information, the upper-level network management server sends it to the network management server.
所述的步骤c中,进行处理的内容是:In the step c, the content to be processed is:
网管代理工作站检查上报时间,并与本地时间进行比较,如果超过设定的阈值,则采取内部协议校正被管设备内部时间。The network management agent workstation checks the reported time and compares it with the local time. If it exceeds the set threshold, the internal protocol is used to correct the internal time of the managed device.
所述的网管全网时钟同步实现方法,如果超过设定的阈值,还包括由被管设备的底层模块校正CKS时间。The method for implementing network-wide clock synchronization of the network management system further includes correcting the CKS time by the bottom module of the managed device if the set threshold is exceeded.
所述的网管全网时钟同步实现方法,还包括被管设备的底层模块定时获取CKS时间,并与本地时间进行比较,如果检测到CKS的时间与本地时间差距超过设定阈值,则取网管代理工作站时间为准。The method for realizing clock synchronization of the entire network of the network management also includes that the bottom module of the managed device regularly obtains the CKS time, and compares it with the local time. Workstation time prevails.
所述的被管设备是交换机。The managed device is a switch.
所述的步骤b中,网管代理工作站定时从网管服务器取得标准时间,是通过简单网络时间协议(SNTP Simple Net Time Protocol)来完成的。In the described step b, the network management agent workstation regularly obtains the standard time from the network management server, which is accomplished through the Simple Network Time Protocol (SNTP Simple Net Time Protocol).
所述的被管设备与网管代理工作站之间信息的传递,是通过传输控制协议(TCP Transfer Control Protocol)协议来完成的。The transfer of information between the managed device and the network management agent workstation is accomplished through the Transmission Control Protocol (TCP Transfer Control Protocol) protocol.
由于采用了本发明网管系统时间与被管设备之间时间信息的定时采集并修改的时间同步方式,解决了网管系统与被管设备之间时间不同步的问题,较完整的消除了数据“失真”的现象,同时由于本发明的方案中采用GPS时间作为标准时间,大大提高了系统同步时间的精确和准确性。Due to the adoption of the time synchronization method of regularly collecting and modifying the time information between the network management system time and the managed equipment of the present invention, the problem of time asynchrony between the network management system and the managed equipment is solved, and the data "distortion" is relatively completely eliminated. " phenomenon, simultaneously because adopt GPS time as standard time in the scheme of the present invention, have improved the precision and the accuracy of system synchronous time greatly.
附图说明Description of drawings
图1是本发明网管系统的网络结构图;Fig. 1 is the network structural diagram of network management system of the present invention;
图2是本发明采用的一个网管系统网络结构图;Fig. 2 is a network structure diagram of a network management system adopted by the present invention;
图3是本发明采用的另一个网管系统网络结构图。Fig. 3 is a network structure diagram of another network management system adopted by the present invention.
具体实施方式Detailed ways
下面结合说明书附图来说明本发明的具体实施方式。The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings.
如图1所示,本发明采用的一个网络结构图,如图中所示,一个网管服务器需要管理多类网元设备,比如交换机、路由器等,通过局域网连接若干个网管代理工作站,在本实施例中具体为后台管理模块(BAM,Back AdministrationModule),BAM中存储有一个时间同步进程作为一个常驻进程,并被启动运行,该时间同步进程主要是一个SNTP的客户端,采用SNTP协议从网管服务器同步时间;BAM与网管服务器之间采用SNTP时间同步协议进行时间同步。与被管设备之间通过TCP协议完成数据的传递。网管服务器接入上级时钟源,根据组网形式,上级时钟源可以是GPS系统,也可以是上级的网管服务器。As shown in Figure 1, a network structure diagram that the present invention adopts, as shown in the figure, a network management server needs to manage multiple types of network element equipment, such as switches, routers, etc., and connects several network management agent workstations through a local area network. In the example, it is specifically the background management module (BAM, Back AdministrationModule). A time synchronization process is stored in the BAM as a resident process, and is started to run. Server synchronization time; BAM and network management server use SNTP time synchronization protocol for time synchronization. The data transmission between the managed device and the managed device is completed through the TCP protocol. The network management server is connected to the upper-level clock source. According to the networking form, the upper-level clock source can be the GPS system or the upper-level network management server.
如果采用GPS作为上级时钟源,如图2所示,则采用如下方案:If GPS is used as the upper-level clock source, as shown in Figure 2, the following scheme is adopted:
GPS接收卡通过天线接收卫星信号并分离得到日期时间信息,世界协调时间(UTC Universal Time Coordinated)软件通过GPS接收卡的接口命令获得标准日期和时间来设置网管服务器时间,UTC在这里是一种通用软件,从硬件卡(GPS卡)定时读取数据解析为时间;这里需要用到一个时间同步服务器进程,该进程也即是一个简单的程序,时间同步服务器进程是一个服务进程,处理外部的时间同步请求,将机器时间按照SNTP协议格式发送给请求方。现有技术中,此类程序很多,不在此详述。The GPS receiving card receives satellite signals through the antenna and separates them to obtain date and time information. The UTC Universal Time Coordinated software obtains the standard date and time through the interface commands of the GPS receiving card to set the time of the network management server. UTC is a general purpose here. The software reads data regularly from the hardware card (GPS card) and parses it into time; a time synchronization server process is needed here, which is also a simple program. The time synchronization server process is a service process that processes external time Synchronization request, send the machine time to the requester in the format of SNTP protocol. In the prior art, there are many such programs, which will not be described in detail here.
图1中的BAM属于OMC范畴,相当于网管的代理进程,负责被管设备的数据加载、数据采集及管理转发,时间同步进程作为其中BAM的一个常驻进程被启动运行,它使用SNTP协议定时从网管服务器取得时间,并设置BAM机器时间。被管设备从时钟板(CKS ClocK Source board)取得时间后定时向BAM上报,BAM检查上报时间,如果超过本机时间一定数额时,则立即采用内部协议设置被管设备内部时间,被管设备的底层模块(一般是操作系统OS,比如交换机OS)立即校正CKS时间。The BAM in Figure 1 belongs to the category of OMC, which is equivalent to the agent process of the network management. It is responsible for data loading, data collection, management and forwarding of the managed devices. The time synchronization process is started as a resident process of the BAM. It uses the SNTP protocol to time Obtain the time from the network management server and set the time of the BAM machine. The managed device reports the time to BAM regularly after obtaining the time from the clock board (CKS ClocK Source board). BAM checks the reported time. If it exceeds a certain amount of local time, it immediately adopts the internal protocol to set the internal time of the managed device. The underlying module (generally an operating system OS, such as a switch OS) immediately corrects the CKS time.
作为本发明的改进方案,还设计被管设备的底层模块OS定时获取CKS时间,如果一旦检测到CKS的时间与本地时间差距超过指定值,比如可以设定该阈值为2分钟,当检测到的CKS的时间与本地时间超过2分钟,则认为是CKS发生了跳变,因此立即取BAM时间为准。As an improved solution of the present invention, the underlying module OS of the managed device is also designed to obtain the CKS time regularly. If the difference between the time of the CKS and the local time exceeds a specified value, for example, the threshold can be set to 2 minutes. When the detected If the CKS time and the local time exceed 2 minutes, it is considered that the CKS has jumped, so the BAM time shall prevail immediately.
虽然被管设备平时以CKS时间为准,但其发生跳变或者时间与BAM差距较大时,还是以BAM时间为准。Although the managed device usually takes the CKS time as the standard, but when it jumps or the time is far from the BAM time, the BAM time is still the standard.
为了节约成本,如果网络中已经有网管服务器接入了GPS系统,则可以直接同步上级网管服务器,组网形式如图3所示。In order to save costs, if a network management server in the network has been connected to the GPS system, it can directly synchronize with the upper-level network management server. The networking form is shown in Figure 3.
主机时间平时以CKS时间为准是避免频繁的时间调整,而且利于该方案更好的实施,因为实际应用中主机一般都以CKS时间为准。The host time is usually based on the CKS time to avoid frequent time adjustments, and it is also conducive to better implementation of the solution, because the host generally uses the CKS time as the standard in practical applications.
由于网管服务器的重要性,BAM与网管服务器的网络必须保持连通,否则须产生告警提醒用户恢复。Due to the importance of the network management server, the network between the BAM and the network management server must remain connected, otherwise an alarm must be generated to remind the user to restore.
综观全过程,GPS时间--->网管服务器时间--->BAM时间--->被管设备时间--->CKS时间,GPS时间成为全网的统一时间。Looking at the whole process, GPS time ---> network management server time ---> BAM time ---> managed device time ---> CKS time, GPS time becomes the unified time of the whole network.
由于采用了本发明网管系统时间与被管设备之间时间信息的定时采集并修改的时间同步方式,解决了网管系统与被管设备之间时间不同步的问题,较完整的消除了数据“失真”的现象,同时由于本发明的方案中采用GPS时间作为标准时间,大大提高了系统同步时间的精确和准确性。Due to the adoption of the time synchronization method of regularly collecting and modifying the time information between the network management system time and the managed equipment of the present invention, the problem of time asynchrony between the network management system and the managed equipment is solved, and the data "distortion" is relatively completely eliminated. " phenomenon, simultaneously because adopt GPS time as standard time in the scheme of the present invention, have improved the precision and the accuracy of system synchronous time greatly.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB03109113XA CN100493047C (en) | 2003-04-03 | 2003-04-03 | A method for realizing network clock synchronization in the whole network of network management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB03109113XA CN100493047C (en) | 2003-04-03 | 2003-04-03 | A method for realizing network clock synchronization in the whole network of network management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1536849A true CN1536849A (en) | 2004-10-13 |
CN100493047C CN100493047C (en) | 2009-05-27 |
Family
ID=34319199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB03109113XA Expired - Fee Related CN100493047C (en) | 2003-04-03 | 2003-04-03 | A method for realizing network clock synchronization in the whole network of network management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100493047C (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007031005A1 (en) * | 2005-09-13 | 2007-03-22 | Huawei Technologies Co., Ltd. | Method, ethernet device and ethernet for solving the clock synchronization |
CN100361446C (en) * | 2004-12-02 | 2008-01-09 | 华为技术有限公司 | Intelligent Platform Management Controller Clock Synchronization Method |
WO2010078800A1 (en) * | 2008-12-29 | 2010-07-15 | 华为技术有限公司 | Method, apparatus and system for determining clock source |
CN101123491B (en) * | 2007-09-21 | 2010-08-18 | 中兴通讯股份有限公司 | An implementation device and method for time synchronization of advanced telecom computer architecture |
CN101364978B (en) * | 2007-08-10 | 2011-06-22 | 鸿富锦精密工业(深圳)有限公司 | Real-time clock accuracy verification system and method |
CN101316162B (en) * | 2007-06-01 | 2011-08-31 | 鼎桥通信技术有限公司 | Method for implementing contents synchronization, client terminal equipment and server terminal equipment |
CN102195996A (en) * | 2010-03-09 | 2011-09-21 | 杭州华三通信技术有限公司 | Time synchronization method for stacking system, stacking system and member equipment |
CN101197610B (en) * | 2006-12-06 | 2011-09-21 | 中兴通讯股份有限公司 | Clock synchronization method of CDMA base station network management system |
CN103576014A (en) * | 2012-07-30 | 2014-02-12 | 国家电网公司 | Clock monitoring device and monitoring method of transformer substation |
CN103701552A (en) * | 2013-12-27 | 2014-04-02 | 中国华录集团有限公司 | Time Synchronization Method for HD Interrogation System Based on Time Server |
WO2017063586A1 (en) * | 2015-10-14 | 2017-04-20 | 中兴通讯股份有限公司 | Method and device for managing time information in network management system |
CN107729123A (en) * | 2017-10-24 | 2018-02-23 | 郑州云海信息技术有限公司 | The virtual machine method, apparatus synchronous with host time time zone, equipment and medium |
TWI644187B (en) * | 2016-05-06 | 2018-12-11 | 泰博科技股份有限公司 | Method, system, non-transitory computer-readable medium and computer program product for calibrating time of physiological data by communication process |
-
2003
- 2003-04-03 CN CNB03109113XA patent/CN100493047C/en not_active Expired - Fee Related
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100361446C (en) * | 2004-12-02 | 2008-01-09 | 华为技术有限公司 | Intelligent Platform Management Controller Clock Synchronization Method |
US7826495B2 (en) | 2005-09-13 | 2010-11-02 | Huawei Technologies Co., Ltd. | Method, Ethernet device and Ethernet for clock synchronization |
WO2007031005A1 (en) * | 2005-09-13 | 2007-03-22 | Huawei Technologies Co., Ltd. | Method, ethernet device and ethernet for solving the clock synchronization |
CN101197610B (en) * | 2006-12-06 | 2011-09-21 | 中兴通讯股份有限公司 | Clock synchronization method of CDMA base station network management system |
CN101316162B (en) * | 2007-06-01 | 2011-08-31 | 鼎桥通信技术有限公司 | Method for implementing contents synchronization, client terminal equipment and server terminal equipment |
CN101364978B (en) * | 2007-08-10 | 2011-06-22 | 鸿富锦精密工业(深圳)有限公司 | Real-time clock accuracy verification system and method |
CN101123491B (en) * | 2007-09-21 | 2010-08-18 | 中兴通讯股份有限公司 | An implementation device and method for time synchronization of advanced telecom computer architecture |
WO2010078800A1 (en) * | 2008-12-29 | 2010-07-15 | 华为技术有限公司 | Method, apparatus and system for determining clock source |
CN102195996A (en) * | 2010-03-09 | 2011-09-21 | 杭州华三通信技术有限公司 | Time synchronization method for stacking system, stacking system and member equipment |
CN102195996B (en) * | 2010-03-09 | 2013-06-26 | 杭州华三通信技术有限公司 | Time synchronization method for stacking system, stacking system and member equipment |
CN103576014A (en) * | 2012-07-30 | 2014-02-12 | 国家电网公司 | Clock monitoring device and monitoring method of transformer substation |
CN103576014B (en) * | 2012-07-30 | 2016-03-23 | 国家电网公司 | The clock monitor device of transformer station and monitoring method |
CN103701552A (en) * | 2013-12-27 | 2014-04-02 | 中国华录集团有限公司 | Time Synchronization Method for HD Interrogation System Based on Time Server |
WO2017063586A1 (en) * | 2015-10-14 | 2017-04-20 | 中兴通讯股份有限公司 | Method and device for managing time information in network management system |
TWI644187B (en) * | 2016-05-06 | 2018-12-11 | 泰博科技股份有限公司 | Method, system, non-transitory computer-readable medium and computer program product for calibrating time of physiological data by communication process |
CN107729123A (en) * | 2017-10-24 | 2018-02-23 | 郑州云海信息技术有限公司 | The virtual machine method, apparatus synchronous with host time time zone, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN100493047C (en) | 2009-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1536849A (en) | A method for realizing network clock synchronization in the whole network of network management | |
CN103546343B (en) | The network traffics methods of exhibiting of network traffic analysis system and system | |
CN101080889A (en) | Synchronization module | |
CN103970903B (en) | Large industrial system feedback data real-time processing method and system based on Web | |
EP2357860B1 (en) | Device management server, client and method for locating target operation object | |
CN1845546A (en) | Precise Time Synchronization Method and System for Measurement and Control | |
CN103516802A (en) | Method and device for achieving seamless transference of across heterogeneous virtual switch | |
CN1874267A (en) | Method for ensuring accordant configuration information in cluster system | |
CN108205569A (en) | For updating the method and apparatus of configuration management database | |
CN113489563B (en) | Clock synchronization method of virtual machine and cloud platform | |
US7606891B1 (en) | Approach for determining compression intervals and performing event compression | |
CN1684430A (en) | System and method for collecting configuration data in network management | |
CN115314572B (en) | A protocol conversion method, system and equipment for power communication protocol | |
CN1976301A (en) | Data synchronizing method | |
CN113573403B (en) | Slave clock synchronization system and method for 5G RRU | |
CN103746836A (en) | Embedded network management agent system based on ARM | |
CN111092687B (en) | Calendar clock synchronization system of FC switching network system | |
CN1462129A (en) | Multimedia intelligent monitoring method and system | |
EP2538612A1 (en) | Method and device for managing service | |
CN109274715A (en) | The platform resource management system of vehicle-mounted multi-channel communication systems | |
CN110071778B (en) | Time synchronization method, device, equipment and medium | |
CN105187268A (en) | A fine-grained state information synchronous collection system for cluster computing environment | |
CN1567903A (en) | Ethernet gateway based on field bus and implementing method thereof | |
CN114268539A (en) | Pre-processing method and system for automatically issuing and monitoring Powerlink master station configuration | |
CN1599342A (en) | E1 emulate system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090527 |