KR100772174B1 - Method for providing network time using timestamp of micro engine in line-card - Google Patents
Method for providing network time using timestamp of micro engine in line-card Download PDFInfo
- Publication number
- KR100772174B1 KR100772174B1 KR1020060101430A KR20060101430A KR100772174B1 KR 100772174 B1 KR100772174 B1 KR 100772174B1 KR 1020060101430 A KR1020060101430 A KR 1020060101430A KR 20060101430 A KR20060101430 A KR 20060101430A KR 100772174 B1 KR100772174 B1 KR 100772174B1
- Authority
- KR
- South Korea
- Prior art keywords
- time
- network
- line card
- statistical measurement
- packet
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/027—Speed or phase control by the received code signals, the signals containing no special synchronisation information extracting the synchronising or clock signal from the received signal spectrum, e.g. by using a resonant or bandpass circuit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Electric Clocks (AREA)
Abstract
Description
도 1은 본 발명이 적용되는 네트워크 시스템의 예시적인 구성도,1 is an exemplary configuration diagram of a network system to which the present invention is applied;
도 2는 본 발명의 일 실시형태에 따른 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법을 보이는 흐름도, 그리고2 is a flowchart illustrating a method of providing network time of a line card using a time stamp of a micro engine according to an embodiment of the present invention; and
도 3은 본 발명에 따른 타임스탬프를 이용한 시간 계산방법을 보이는 도면이다.3 is a view showing a time calculation method using a time stamp according to the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 통계측정 서버 20 : NTP 서버10: statistical measurement server 20: NTP server
30 : 이더넷 망 40 : 데이터 경로30: Ethernet Network 40: Data Path
50 : 라인카드 51 : 타임스탬프50: line card 51: time stamp
52 : 마이크로 엔진52: micro engine
본 발명은 라인카드의 네트워크 시간 제공방법에 관한 것으로서, 특히 네트워크 시간을 라인카드에서 제공할 필요가 있는 경우에 마이크로 엔진에서 제공하는 타임스탬프(timestamp)를 이용함으로써 복잡한 하드웨어 로직 없이 저가로 구현가능하고 통계 측정 서버에서 각 라인카드간의 시간 보정을 제공할 수 있는 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법에 관한 것이다.The present invention relates to a method for providing network time of a line card. In particular, when a network time needs to be provided by a line card, the present invention can be implemented at low cost without complicated hardware logic by using a timestamp provided by a micro engine. The present invention relates to a network time providing method of a line card using a time stamp of a micro engine capable of providing time correction between each line card in a statistical measurement server.
인터넷 종량제 등이 적용되기 위해서는 통신장비의 통계 및 네트워크 시간의 제공은 필수기능이다. 현재 대부분의 라인카드는 수신된 패킷의 네트워크 시간을 제공하고 있지 않고 있다. In order to apply the internet pay-as-you-go system, it is necessary to provide statistics and network time of communication equipment. Currently, most line cards do not provide the network time of received packets.
통신 장치에 있어서 가입자의 망 사용시간 및 패킷 수에 대한 통계측정은 중요하다. 또한 패킷이 망에 수신된 시간은 주요 인자이다. 특히 가입자의 데이터 플로우를 처리하는 장비에서 패킷의 수신 시간 및 가입자의 사용시간 등을 측정하기 위해서는 라인카드에서 패킷을 수신한 네트워크 시간을 제공해야 한다. 그러나, 라인카드의 데이터 경로를 담당하는 마이크로 엔진(micro engine)은 네트워크 시간을 제공하는 자원을 가지지 않으며, 상용 마이크로 엔진을 사용하는 경우에 외부적인 장치 및 로직을 부가하는 것이 어렵다. 나아가, 지피에스(GPS:Global Positioning System) 등의 표준 시각 제공을 위한 인터페이스와의 연결도 복잡하기 때문에 구현이 어렵다. In communication devices, it is important to measure the subscriber's network usage time and the number of packets. Also, the time the packet was received in the network is a major factor. In particular, in order to measure the reception time of the packet and the usage time of the subscriber in the equipment processing the data flow of the subscriber, it is necessary to provide the network time of receiving the packet from the line card. However, the micro engine responsible for the data path of the line card does not have the resources to provide network time, and it is difficult to add external devices and logic when using a commercial micro engine. In addition, the connection with the interface for providing standard vision such as Global Positioning System (GPS) is also complicated and difficult to implement.
고속의 패킷을 처리하는 라인카드에서 패킷 측정 및 통계 데이터를 수집하는 장비의 네트워크 시간을 제공하기 위한 종래의 방법은 크게 두 가지로 제공되고 있다. 즉 GPS 등의 하드웨어적인 시간 수신장치를 외부 부가로직으로 추가하는 방법 과, 통계측정 서버에 수신된 패킷의 도착시간으로 설정하는 방법이다. 그러나, 전자의 하드웨어적인 방법은 고가의 복잡한 로직을 추가하는데 어려움이 있으며, 후자의 서버에서의 처리방법은 다중의 라인카드가 동작하는 경우 각 라인카드간의 패킷 처리시간에 따라 서버에서 패킷을 수신하는 순서가 달라질 수 있기 때문에 다중의 각 라인카드 간의 공정한 상대시간을 결정할 수 없는 단점이 있다There are two conventional methods for providing network time of equipment for collecting packet measurement and statistical data in a line card processing a high speed packet. That is, a method of adding a hardware time receiver such as GPS to an external additional logic and a method of setting the arrival time of a packet received by a statistical measurement server. However, the former hardware method has difficulty in adding expensive and complicated logic, and the latter method of processing a server receives packets according to packet processing time between line cards when multiple line cards are operated. The disadvantage is that it is not possible to determine the fair relative time between multiple line cards because the order can vary.
종래에 네트워크의 동기화를 구현하기 위한 기술로서, 대한민국 공개특허공보 제2004-56981호(2004.07.01 공개)에는 동기식 이동 단말을 외부 참조 클럭으로 사용하여 네트워크의 동기화를 구현하는 시스템 및 방법이 개시되어 있다. 또한, 대한민국 공개특허공보 제2004-50151호(2004.06.16 공개)에는 외부 이더넷 정합부를 통하여 교환기의 시각 동기화를 구현하는 방법이 개시되어 있다. 그러나, 상기 선행특허들은 라인카드의 마이크로 엔진이 제공하는 타임스탬프 값을 이용하여 라인카드에 네트워크 시간을 제공하는 방법이 아니며, 다수의 라인카드 간의 시간 편차를 보정하는 방법은 제시하지 않고 있다.Conventionally, as a technology for implementing network synchronization, Korean Patent Laid-Open Publication No. 2004-56981 (published on July 1, 2004) discloses a system and method for implementing synchronization of a network using a synchronous mobile terminal as an external reference clock. have. In addition, Korean Patent Laid-Open Publication No. 2004-50151 (published on June 16, 2004) discloses a method of implementing time synchronization of an exchange through an external Ethernet matching unit. However, the above patents do not provide a method of providing network time to a line card by using a time stamp value provided by the micro engine of the line card, and do not suggest a method of correcting time deviation between a plurality of line cards.
따라서, 해당 기술분야에서는 트래픽 특정 및 과금 등을 위한 패킷의 수신 시간이 중요한 인자로 동작하는 라인카드의 네트워크 시간을 좀 더 간단하고 저가로 정확하게 설정하는 기술의 개발이 요구되어 왔다Therefore, there has been a demand in the technical field for developing a technology that sets the network time of a line card, which operates as an important factor, of packet reception time for traffic specification and billing, etc. more easily and at low cost.
상기한 종래의 문제점을 해결하기 위해 제안된 것으로서, 본 발명의 제1목적은 각 라인카드의 마이크로 엔진에서 타임스탬프로 사용하는 타이머를 이용한 수신 된 패킷의 네트워크 시간을 제공함으로써 부가적인 하드웨어 또는 로직 없이 저가로 구현이 가능한 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법을 제공하는데 있다.As a solution to the above-mentioned conventional problems, the first object of the present invention is to provide a network time of a received packet using a timer used as a time stamp in the micro engine of each line card, thereby providing additional hardware or logic. The present invention provides a method of providing network time of a line card using a micro engine time stamp that can be implemented at low cost.
또한, 본 발명의 제2목적은 각 라인카드 간의 타임스탬프의 시간 보정을 위하여 통계측정 서버에서 NTP 서버로부터 주기적인 시간 보정을 수행하고, 보정 주기에 따라 라인카드들의 타임스탬프 간격(interval)에 대한 편차를 계산하여 라인카드간의 상대적인 시간을 보정하도록 하는 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법을 제공하는데 있다.In addition, a second object of the present invention is to perform a periodic time correction from the NTP server in the statistical measurement server for the time correction of the time stamp between each line card, and for the time stamp interval of the line cards according to the correction period The present invention provides a method for providing a network time of a line card using a time stamp of a micro engine to calculate a deviation to correct a relative time between line cards.
상기한 목적을 달성하기 위한 본 발명에 따른 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법은, Network time providing method of the line card using the time stamp of the micro-engine according to the present invention for achieving the above object,
NTP(Network Time Protocol)서버, 패킷의 통계 및 측정 데이터를 수집하는 통계측정서버 및 상기 통계측정 서버와 패킷 및 제어정보를 송수신하는 다중의 라인카드를 포함하는 네트워크 시스템에서,In a network system including an NTP (Network Time Protocol) server, a statistical measurement server for collecting packet statistics and measurement data, and multiple line cards for transmitting and receiving packets and control information with the statistical measurement server,
상기 각 라인카드에서 가입자로부터 패킷을 수신하는 제1단계; 상기 각 라인카드에 내장된 마이크로 엔진에서 제공되는 타임스탬프 값을 상기 수신된 패킷에 포함시키는 제2단계; 상기 패킷을 상기 통계측정서버로 전송하는 제3단계; 및 상기 통계측정서버에서 상기 패킷에 포함된 타임스탬프 값을 획득하여 상기 해당 라인카드의 네트워크 시간으로 설정하는 제4단계를 포함한다.Receiving a packet from a subscriber in each of the line cards; A second step of including in the received packet a timestamp value provided by the micro-engine embedded in each line card; Transmitting the packet to the statistical measurement server; And a fourth step of acquiring a time stamp value included in the packet from the statistical measurement server and setting the network time of the corresponding line card.
본 발명의 일 실시형태에서, 상기 제2단계는 상기 타임스탬프 값을 상기 수신된 패킷의 메타데이터에 설정하는 것이 바람직하다.In one embodiment of the invention, the second step preferably sets the timestamp value to metadata of the received packet.
본 발명의 일 실시형태에서, 상기 제1단계 이전에, 상기 통계측정 서버에서 상기 NTP 서버로부터 네트워크 기준시간(base time)을 설정받는 단계; 및 상기 설정받은 네트워크 기준시간을 상기 각 라인카드의 초기시간으로 설정하는 단계를 더 포함하는 것이 바람직하다.In one embodiment of the present invention, prior to the first step, receiving a network base time from the NTP server at the statistical measurement server; And setting the received network reference time as an initial time of each line card.
본 발명의 일 실시형태에서, 상기 제4단계 이후에, 상기 통계측정 서버에서 상기 획득된 타임스탬프 값을 저장하는 단계; 상기 현재에 저장된 타임스탬프 값과 직전에 저장된 타임스탬프 값의 차이에 대한 평균의 편차값을 계산하는 단계; 및 상기 통계측정 서버에서 상기 편차값을 이용하여 해당 라인카드의 네트워크 시간을 재설정하는 단계를 더 포함할 수 있다. 이때, 상기 단계들은 미리 설정된 네트워크 시간의 보정 주기에 따라 실행되는 것이 바람직하다.In an embodiment of the present invention, after the fourth step, storing the obtained time stamp value at the statistical measurement server; Calculating a deviation value of an average of the difference between the currently stored time stamp value and the immediately stored time stamp value; And resetting the network time of the corresponding line card using the deviation value in the statistical measurement server. In this case, the steps are preferably performed according to a preset correction period of the network time.
본 발명의 일 실시형태에서, 상기 네트워크 시간 재설정은 '상기 통계측정 서버에서 상기 NTP 서버로부터 설정받은 기준시간 + 상기 수신된 패킷의 타임스탬프 값 + 상기 편차값'으로 재설정되는 것이 바람직하다.In one embodiment of the present invention, the network time reset is preferably reset to the reference time set from the NTP server at the statistical measurement server + timestamp value of the received packet + deviation value.
이하에서, 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 본 발명의 요지를 모호하지 않게 하기 위하여 그에 대한 상세한 설명 을 생략할 것이다.In the following, a detailed description of a preferred embodiment of the present invention will be described with reference to the accompanying drawings. In the following description of the present invention, when it is determined that detailed descriptions of related well-known functions or constructions may unnecessarily obscure the subject matter of the present invention, detailed descriptions thereof will be omitted so as not to obscure the subject matter of the present invention. will be.
도 1은 본 발명이 적용되는 네트워크 시스템의 예시적인 구성도이다.1 is an exemplary configuration diagram of a network system to which the present invention is applied.
도 1을 참조하면, 본 발명이 적용되는 네트워크 시스템(100)에서는 통계측정 서버(10)는 NTP(Network Time Protocol) 서버(20)와 클라이언트/서버 구조로 NTP 프로토콜로 연결된다. 상기 NTP는 인터넷상의 시간을 정확하게 유지시켜 주기 위한 통신망 시간 규약으로서 인터넷 표준(STD) 12와 RFC(통신 규약 설명 문서) 1119에 정의되어 있다. 또한 상기 통계측정 서버(10)와 다수의 라인카드(50)와는 이더넷 망(30)을 통해 제어 정보 및 측정 패킷을 전달한다. 상기 각 라인카드(50)는 스위치 패브릭 또는 네트워크를 통해 데이터 경로(40)를 제공한다. 상기 통계측정 서버(10)는 상기 NTP 서버(20)로부터 네트워크 시간의 설정 및 동기를 맞추고, 상기 라인카드(50)는 망에서 수신된 패킷의 네트워크 시간을 제공하기 위해 타임스탬프(timestamp)(51)를 설정하고 통계측정 서버(10)에 패킷의 시간 및 통계 정보를 전달한다. 상기 통계측정 서버(10)는 상기 NTP 서버(20)로부터 항상 일정한 네트워크 시간을 가지고, 상기 라인카드(50)의 타임스탬프를 상기 통계측정 서버(10)의 시간으로 미리 설정한다. Referring to FIG. 1, in the
이때, 상기 각 라인카드(50)는 패킷을 처리하기 위한 마이크로 엔진(micro engine:ME)(52)을 내장하고 있다. 상기 마이크로 엔진(ME)은 미터링(metering), 큐 스케쥴링(scheduling) 등의 서비스 품질(Quality of Service:QoS) 기능을 수행하기 위해 마이크로 엔진의 클럭에 동기를 가지는 타이머를 이용한 타임스탬프(51)를 제 공한다. 상기 타임스탬프는 라인카드(50)의 동기 클럭에 맞춰 증가되어지며 이렇게 증가된 시간은 상기 통계측정 서버(10)에서 주기적인 시간 보정이 수행된다. 시간 보정을 위해서는 라인카드의 시간 값을 재설정해야 하며 시간 재설정을 위해서는 라인카드의 마이크로 엔진의 기능을 정지시켜야 하므로 라인카드(50)의 시간 보정은 상기 통계측정 서버(10)에서만 수행된다.At this time, each line card 50 has a built-in micro engine (ME) (52) for processing packets. The micro engine (ME) uses a timestamp (51) using a timer that is synchronized with the clock of the micro engine to perform a quality of service (QoS) function such as metering and scheduling. to provide. The time stamp is increased in accordance with the synchronous clock of the line card 50. The increased time is periodically corrected by the
따라서, 본 발명은 대부분의 마이크로 엔진이 내장하고 있는 타이머가 제공하는 타임스탬프를 이용한 네트워크 시간을 제공하고자 한다. 이로써 고가의 복잡한 하드웨어 로직 없이 기존의 라인카드의 마이크로 엔진(ME)에 제공되고 있는 타이머를 이용한 타임스탬프 설정 기능을 통계측정을 위한 네트워크 시간으로 이용하고자 한다.Accordingly, the present invention is to provide a network time using the time stamp provided by the timer that most micro engines are built in. In this way, the timestamp setting function using the timer provided in the micro engine (ME) of the existing line card without expensive complicated hardware logic is used as network time for statistical measurement.
도 2는 본 발명의 일 실시형태에 따른 마이크로 엔진의 타임스탬프를 이용한 라인카드의 네트워크 시간 제공방법을 보이는 흐름도이다.2 is a flowchart illustrating a method of providing a network time of a line card using a time stamp of a micro engine according to an embodiment of the present invention.
도 2를 참조하면, NTP 서버(20)로부터 통계측정 서버(10)의 네트워크 시간을 설정한다(S200). 이때, 상기 통계측정 서버 및 NTP 서버(10,20)는 클라이언트-서버 구조로 동작한다. 상기 통계측정 서버(10)는 상기 NTP 서버(20)로부터 설정받은 네트워크 기준시간(network base time)을 각 라인카드(50)의 초기시간(preset time) 값으로 설정한다(S202). 상기 초기시간 값은 타임스탬프를 구동(enable)하기 전에 미리 초기화한 후 상기 타임스탬프 구동을 시작하는 시간으로 설정한다. 2, the network time of the
이어 상기 각 라인카드(50)에 패킷이 수신되었는지를 판단하고(S204), 상기 각 라인카드(50)에 패킷이 수신되었으면 상기 수신된 패킷에 상기 라인카드의 마이크로 엔진에서 제공되는 타임스탬프 값을 포함한다(S206). 보다 바람직하게는 상기 라인카드(50)의 마이크로 엔진은 상기 수신된 패킷의 메타데이터(meta data)의 구조에 타임스탬프 값을 설정한다. 또한, 상기 수신된 패킷의 각 플로우(flow)에 첫 번째로 수신된 패킷의 타임스탬프 시간 및 마지막으로 수신된 패킷의 타임스탬프 시간을 소정의 플로우 테이블에 유지한다. 이러한 정보는 가입자의 망 사용시간을 계산하기 위한 정보이다. 나아가, 상기 패킷의 각 플로우마다 수신된 패킷 수와 바이트 수를 계산한 통계 정보도 상기 플로우 테이블에 유지한다. 이러한 정보로부터 가입자의 데이터 사용량을 계산할 수 있으며, 네트워크 장비의 망 효율성 및 성능을 계산할 수 있다.Subsequently, it is determined whether a packet is received at each of the line cards 50 (S204). If a packet is received at each of the line cards 50, the time stamp value provided by the micro engine of the line card is provided to the received packet. It includes (S206). More preferably, the micro engine of the line card 50 sets a time stamp value in the structure of metadata of the received packet. The timestamp time of the first received packet and the timestamp time of the last received packet in each flow of the received packet are maintained in a predetermined flow table. This information is information for calculating the network usage time of the subscriber. Furthermore, statistical information for calculating the number of packets and the number of bytes received for each flow of the packet is also maintained in the flow table. From this information, the data usage of the subscriber can be calculated, and the network efficiency and performance of the network equipment can be calculated.
이와 같이 상기 라인카드는 타임스탬프 값이 설정된 패킷을 상기 통계측정 서버(10)로 전송한다(S208). 상기 통계측정 서버(10)는 상기 각 라인카드(50)로부터 전송된 패킷으로부터 타임스탬프 값을 획득하여 상기 해당 라인카드(50)의 네트워크 시간으로 설정한다(S210).As described above, the line card transmits the packet in which the time stamp value is set to the statistical measurement server 10 (S208). The
한편, 상기 각 라인카드(50)마다 제공하는 기능이 동일하지 않고 각각의 특성에 따라서 타임스탬프 값의 변화에 미미한 오차가 생길 수 있기 때문에 상기 각 라인카드(50) 간의 상대적인 신뢰성을 제공하기 위해서는 타임스탬프 값의 편차값에 따라서 실제적인 타임스탬프 값을 재조정하는 것이 바람직하다. 그러나, 상기 각 라인카드의 타임스탬프 값 재설정은 마이크로 엔진의 기능을 정지한 후에 실행해야 하므로 장치의 연속적인 기능을 수행하기 어렵다. 따라서, 상기 통계측정 서 버(10)가 수신된 패킷으로부터 타임스탬프 값을 수집할 때 타임스탬프 값의 편차값에 따른 실제적인 네트워크 시간으로 보정할 필요가 있다.On the other hand, since the functions provided for each of the line cards 50 are not the same and a slight error may occur in the change of the time stamp value according to each characteristic, in order to provide relative reliability between the line cards 50, It is desirable to readjust the actual time stamp value according to the deviation value of the stamp value. However, since the timestamp value reset of each line card must be executed after the function of the micro engine is stopped, it is difficult to perform the continuous function of the apparatus. Therefore, when the
따라서, 상기 통계측정 서버(10)는 미리 설정된 네트워크 보정 주기에 따라서 현재주기에서 상기 통계측정 서버(10)는 상기 각 라인카드(50)로부터 현재의 타임스탬프 값(new timestamp:n_ts)을 수집하고(S210), 직전주기에 수집한 직전의 타임스탬프 값(old timestamp:o_ts)을 저장한다(S212). 상기 현재주기에 수집된 현재의 타임스탬프 값(n_ts)과 직전주기에 수집된 직전의 타임스탬프 값(o_ts)을 이용하여 상기 각 라인카드(50)의 타임스탬프 값의 분산을 계산한다(S214). 즉, 상기 현재의 타임스탬프 값(n_ts)과 상기 직전의 타임스탬프 값(o_ts)의 차이(n_ts - o_ts)에 대한 평균값의 편차값을 계산한다. 상기 편차값은 상기 각 라인카드(50)의 현재 및 직전의 타임스탬프 값의 평균값에 대한 변화 정도를 나타낸다. 이와 같은 상기 라인카드의 타임스탬프 값의 수집과 상기 분산의 계산은 상기 라인카드로 패킷이 수신될 때까지(S210) 상기 네트워크 시간의 보정 주기마다 반복해서 수행된다. Accordingly, the
계속하여, 상기 통계측정 서버(10)는 상기 각 라인카드(50)로부터 수집한 패킷의 타임스탬프 값을 실제적인 네트워크 시간으로 재계산하고(S216), 상기 재계산된 상기 각 라인카드(50)의 타임스탬프 값을 이용하여 상기 각 라인카드(50)의 네트워크 시간으로 설정한다(S218). 이때, 상기 수신된 패킷의 실제 타임스탬프 값은 타임스탬프가 구동되기 시작한 초기시간(preset time) 값에 상기 수신된 패킷의 타임스탬프 및 상기와 같이 계산된 편차값(을 더한 것으로 재계산되며, 상기 재계산 된 결과는 상기 각 라인카드(50)의 마이크로 엔진의 클럭 수에 대한 시간 값으로 계산된다. Subsequently, the
도 3은 본 발명의 타임스탬프를 이용한 시간 계산방법을 보이는 도면이다.3 is a view showing a time calculation method using a time stamp of the present invention.
도 3을 참조하여 본 발명에 따른 타임스탬프 값을 실제 시간으로 계산하는 방법을 설명한다. 본 발명에 따른 타임스탬프는 64비트로서 32비트 상위(high), 하위(low) 두 개의 레지스터로 구동된다. 따라서 타임스탬프의 값은 2개의 레지스터 값을 조합한 것이다. 마이크로 엔진은 64비트의 값보다도 더 긴 시간을 제공하기 위해 16개의 마이크로 엔진 사이클(cycle)마다 타임스탬프 값이 증가하도록 구동되고, 상기 타임스탬프의 값이 'OxFFFFFFFFFFFFFFFF'이 되면 0으로 되돌아간다(roll- back). 그러나, 0으로 돌아가는 시간은 엄청난 시간이므로 장비가 사용되는 시간 동안은 0으로 되돌아가지 않는다. 마이크로 엔진의 성능과 같은 클럭값을 P라고 두면 한 사이클의 값은 1/P 초이다. 따라서, 패킷이 라인카드에 수신된 시간은 (타임스탬프 값 x 16/P) 초이다. Referring to FIG. 3, a method of calculating a time stamp value according to the present invention as an actual time will be described. The timestamp according to the present invention is 64-bit driven by two registers, 32-bit high and low. Therefore, the value of the timestamp is a combination of two register values. The micro engine is driven to increase the time stamp value every 16 micro engine cycles in order to provide a longer time than the 64-bit value, and rolls back to zero when the value of the time stamp is 'OxFFFFFFFFFFFFFFFF'. -back). However, the time to return to zero is enormous, so it doesn't go back to zero while the machine is in use. If we set the clock value equal to the performance of the micro engine to be P, one cycle is 1 / P second. Thus, the time the packet was received on the line card is (timestamp value x 16 / P) seconds.
상기 도면과 발명의 상세한 설명은 단지 본 발명의 예시적인 것으로서, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위 는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The drawings and detailed description of the invention are merely exemplary of the invention, which are used for the purpose of illustrating the invention only and are not intended to limit the scope of the invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
본 발명에 따르면, 각 라인카드의 마이크로 엔진에서 타임스탬프로 사용하는 타이머를 이용하여 수신된 패킷의 네트워크 시간을 제공함으로써 부가적인 하드웨어 또는 로직 없이 저가로 네트워크 시간 제공이 가능하다.According to the present invention, it is possible to provide network time at low cost without additional hardware or logic by providing network time of received packets using a timer used as a time stamp in the micro engine of each line card.
또한, 본 발명에 따르면 통계측정 서버에 연결된 모든 라인카드 간에 주기적으로 상대적인 시간 보정을 통해 네트워크 시간을 타임스탬프로 구현하는 시간 오차를 줄일 수 있다.In addition, according to the present invention it is possible to reduce the time error to implement the network time as a time stamp through the periodic time correction between all line cards connected to the statistical measurement server.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060101430A KR100772174B1 (en) | 2006-10-18 | 2006-10-18 | Method for providing network time using timestamp of micro engine in line-card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060101430A KR100772174B1 (en) | 2006-10-18 | 2006-10-18 | Method for providing network time using timestamp of micro engine in line-card |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100772174B1 true KR100772174B1 (en) | 2007-11-01 |
Family
ID=39060460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060101430A KR100772174B1 (en) | 2006-10-18 | 2006-10-18 | Method for providing network time using timestamp of micro engine in line-card |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100772174B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656574A (en) * | 2018-11-27 | 2019-04-19 | 深圳华锐金融技术股份有限公司 | Transaction time delay measure, device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050054151A (en) * | 2003-12-04 | 2005-06-10 | 한국전자통신연구원 | Method for processing control message by using synchronization thread between line cards and routing server |
KR20050076522A (en) * | 2004-01-20 | 2005-07-26 | 삼성전자주식회사 | Method for label management of distributed muti protocol label switching router and the router thereof |
US7023884B2 (en) | 2000-12-19 | 2006-04-04 | Lucent Technologies Inc. | Clock offset estimation with bias correction |
US7023816B2 (en) | 2000-12-13 | 2006-04-04 | Safenet, Inc. | Method and system for time synchronization |
US7103124B1 (en) | 1999-12-30 | 2006-09-05 | Telefonaktiebolaget Lm Ericsson (Publ) | Synchronization of nodes |
-
2006
- 2006-10-18 KR KR1020060101430A patent/KR100772174B1/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7103124B1 (en) | 1999-12-30 | 2006-09-05 | Telefonaktiebolaget Lm Ericsson (Publ) | Synchronization of nodes |
US7023816B2 (en) | 2000-12-13 | 2006-04-04 | Safenet, Inc. | Method and system for time synchronization |
US7023884B2 (en) | 2000-12-19 | 2006-04-04 | Lucent Technologies Inc. | Clock offset estimation with bias correction |
KR20050054151A (en) * | 2003-12-04 | 2005-06-10 | 한국전자통신연구원 | Method for processing control message by using synchronization thread between line cards and routing server |
KR20050076522A (en) * | 2004-01-20 | 2005-07-26 | 삼성전자주식회사 | Method for label management of distributed muti protocol label switching router and the router thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656574A (en) * | 2018-11-27 | 2019-04-19 | 深圳华锐金融技术股份有限公司 | Transaction time delay measure, device, computer equipment and storage medium |
CN109656574B (en) * | 2018-11-27 | 2021-10-29 | 深圳华锐金融技术股份有限公司 | Transaction time delay measurement method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10666371B2 (en) | System for establishing and maintaining a clock reference indicating one-way latency in a data network | |
US11057136B1 (en) | Time correction using extension fields | |
US8370675B2 (en) | Precise clock synchronization | |
CN102349251B (en) | Method for processing distributed data having a chosen type for synchronizing communication nodes of a data packet network, and associated device | |
US6643612B1 (en) | Mechanism and protocol for per connection based service level agreement measurement | |
EP1990938A1 (en) | Method for synchronizing a clock of a network component with a clock of a further network component and network component therefor | |
WO2014047941A1 (en) | Network delay measuring method, device, and system | |
WO2002080440A1 (en) | Method for synchronizing a first clock to a second clock, processing unit and synchronization system | |
AU2007253824A1 (en) | Network time protocol precision timestamping service | |
JP2004312734A (en) | Passive measurement analyzer and router/switch | |
WO2001088668A2 (en) | Hardware time stamping and registration of packetized data method and system | |
US20190014029A1 (en) | Performance measurement in a packet-switched communication network | |
EP1618705A1 (en) | Sytem and method for measuring data network quality | |
WO2001088746A1 (en) | Method and system for transmit time stamp insertion in a hardware time stamp system for packetized data networks | |
CN113574813A (en) | Network entity and method for a wireless network system for determining time information | |
US11121938B2 (en) | Performance measurement in a packet-switched communication network | |
US20050174947A1 (en) | Method and process for video over IP network management | |
KR100772174B1 (en) | Method for providing network time using timestamp of micro engine in line-card | |
JP2003534715A (en) | Method and system for measuring one-way delay variation | |
Schüngel et al. | Single message distribution of timing information for time synchronization in converged wired and wireless networks | |
KR101315593B1 (en) | Method for synchronizing a client clock frequency with a server clock frequency | |
JP2001244932A (en) | Method and system for measuring network delay | |
CN104811293B (en) | A kind of improved ACTS calibration methods | |
Capello et al. | A packet based method for passive performance monitoring | |
CN107241157B (en) | A kind of spacecraft time calibrating method based on observing and controlling communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20101001 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |