JPH0946396A - Method for adding time stamp to data packet - Google Patents

Method for adding time stamp to data packet

Info

Publication number
JPH0946396A
JPH0946396A JP7196452A JP19645295A JPH0946396A JP H0946396 A JPH0946396 A JP H0946396A JP 7196452 A JP7196452 A JP 7196452A JP 19645295 A JP19645295 A JP 19645295A JP H0946396 A JPH0946396 A JP H0946396A
Authority
JP
Japan
Prior art keywords
layer
data packet
transferred
time stamp
time
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.)
Pending
Application number
JP7196452A
Other languages
Japanese (ja)
Inventor
Yasuyoshi Okada
康義 岡田
Tsukasa Okamoto
司 岡本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP7196452A priority Critical patent/JPH0946396A/en
Publication of JPH0946396A publication Critical patent/JPH0946396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To calculate the delay time between an application layer and an IP layer in transmission and reception by using the time stamp of a transmission side IP layer and the time stamp of a reception side IP layer in an application layer. SOLUTION: When the data packet transferred from a TPC layer 2 is transferred to a lower rank layer 4 in the IP layer 3 of a transmission side host device, the IP header to which a time stamp is imparted is added to a decomposed data packet when the data packet is delivered from the TPC layer 2 and the data packet is transferred to the lower rank layer 4. In the IP layer 6 of a reception side host device, the time stamp is added to the TOS field of an IP header for the packet transferred from a lower rank layer 5 just before the packet is transferred to a TCP layer 7 and the packet is transferred to the TCP layer 7. In the TCP layer 7, the data packet is reassembled and transferred to a higher rank layer 8. Thus, a point of time when the data packet passes the IP layer is defined as a starting point and the time required for the transfer of the data packet can be measured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信網でデータパ
ケットを転送する場合のタイムスタンプ付加方法に関
し、特にIP層でタイムスタンプを付加する方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time stamp adding method for transferring a data packet in a communication network, and more particularly to a method for adding a time stamp in an IP layer.

【0002】[0002]

【従来の技術】通信網でデータパケットを転送する際に
は、データパケットの到着時刻或いは遅延時間等を測定
するため、いずれかにタイムスタンプを付加する必要が
ある。このような場合、従来は測定のためのアプリケー
ションプログラムを用い、データフィールドにタイムス
タンプを挿入する方法を用いていた。
2. Description of the Related Art When transferring a data packet through a communication network, it is necessary to add a time stamp to either the arrival time or the delay time of the data packet in order to measure the arrival time or delay time. In such a case, conventionally, an application program for measurement is used and a method of inserting a time stamp in a data field is used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
方法では、データパケットがIP層を通過した時点を起
点とした測定を行うことができなかった。本発明の目的
は、データパケットがIP層を通過した時点を起点とし
てデータパケットの転送に要した所要時間等の測定がで
きるようにすることにある。
However, in the conventional method, it was not possible to perform the measurement starting from the time when the data packet passed through the IP layer. An object of the present invention is to make it possible to measure the time required for transferring a data packet and the like, starting from the time when the data packet passes through the IP layer.

【0004】[0004]

【課題を解決するための手段】本発明は、上記の課題を
解決するため、送信側ではデータパケットをIP層から
下位層に転送するときにIPヘッダーのTOSフィール
ドにタイムスタンプを付加し、受信側ではデータパケッ
トをIP層から上位層に転送するときにIPヘッダーの
TOSフィールドにタイムスタンプを付加するようにす
る。
In order to solve the above-mentioned problems, the present invention adds a time stamp to the TOS field of the IP header at the transmission side when transferring a data packet from the IP layer to a lower layer, and receives the data packet. On the side, when the data packet is transferred from the IP layer to the upper layer, the time stamp is added to the TOS field of the IP header.

【0005】図1は送信側ホスト装置から受信側ホスト
装置にデータパケットが送信される経路を示す図であ
る。通信プロトコルは、上位側からアプリケーション
層、TCP層、IP層及び下位層からなり、下位層は通
信媒体に結合している。このような構成の通信網でIP
層にタイムスタンプを導入することによって、データパ
ケットが送信側及び受信側のIP層から受信側ホスト装
置のアプリケーション層に到達する時間等の計測を行う
ことができる。
FIG. 1 is a diagram showing a route along which a data packet is transmitted from a transmitting side host device to a receiving side host device. The communication protocol comprises an application layer, a TCP layer, an IP layer and a lower layer from the upper side, and the lower layer is connected to a communication medium. IP with a communication network of such a configuration
By introducing a time stamp in the layer, it is possible to measure the time taken for the data packet to reach the application layer of the host device of the receiving side from the IP layer of the transmitting side and the receiving side.

【0006】[0006]

【発明の実施の形態】図2は本発明の実施形態の一つを
示す図である。この図に示すように、送信側ホスト装置
のIP層3では、TPC層2から転送されたデータパケ
ットを下位層4に転送する際、TCP層2からデータパ
ケットを渡された時に、分解されたデータパケットにタ
イムスタンプを付与したIPヘッダーを付加して、下位
層4へ転送する。
FIG. 2 is a view showing one of the embodiments of the present invention. As shown in this figure, in the IP layer 3 of the transmitting-side host device, when the data packet transferred from the TPC layer 2 is transferred to the lower layer 4, the data packet is decomposed when passed from the TCP layer 2. An IP header with a time stamp is added to the data packet and transferred to the lower layer 4.

【0007】受信側ホスト装置のIP層6では、下位層
5から転送されたパケットに対して、TCP層7へ転送
する直前にIPヘッダーのTOSフィールドにタイムス
タンプを付加し、TCP層7へ転送する。TCP層7で
はデータパケットを再組立てし、上位層8へ転送する。
In the IP layer 6 of the host device on the receiving side, a time stamp is added to the TOS field of the IP header of the packet transferred from the lower layer 5 immediately before the packet is transferred to the TCP layer 7, and the packet is transferred to the TCP layer 7. To do. The TCP layer 7 reassembles the data packet and transfers it to the upper layer 8.

【0008】[0008]

【発明の効果】以上説明したとおり、本発明によれば、
アプリケーション層では、送信側IP層のタイムスタン
プと受信側IP層のタイムスタンプを用いて、送受信で
のアプリケーション層、IP層間での遅延時間を計算す
ることができる。また、他の層のタイムスタンプを用い
て、IP層と他の層との間の遅延時間を計算することも
可能になる。
As described above, according to the present invention,
In the application layer, the delay time between the application layer and the IP layer during transmission / reception can be calculated using the time stamp of the transmission side IP layer and the time stamp of the reception side IP layer. It also makes it possible to calculate the delay time between the IP layer and another layer using the time stamps of the other layers.

【図面の簡単な説明】[Brief description of drawings]

【図1】送信側ホスト装置から受信側ホスト装置にデー
タパケットが送信される経路を示す図である。
FIG. 1 is a diagram showing a route along which a data packet is transmitted from a transmitting host device to a receiving host device.

【図2】本発明の実施形態の一つを示す図である。FIG. 2 is a diagram showing one of the embodiments of the present invention.

【符号の説明】[Explanation of symbols]

1 送信側アプリケーション層 2 送信側TCP層 3 送信側IP層 4 送信側下位層 5 受信側下位層 6 受信側IP層 7 受信側TCP層 8 受信側アプリケーション層 1 sender application layer 2 sender TCP layer 3 sender IP layer 4 sender lower layer 5 receiver lower layer 6 receiver IP layer 7 receiver TCP layer 8 receiver application layer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 IPプロトコルによってデータパケット
を転送する際、送信側ではデータパケットをIP層から
下位層に転送するときにIPヘッダーのTOSフィール
ドにタイムスタンプを付加し、受信側ではデータパケッ
トをIP層から上位層に転送するときにIPヘッダーの
TOSフィールドにタイムスタンプを付加することを特
徴とするデータパケットへのタイムスタンプ付加方法。
1. When transferring a data packet by the IP protocol, a time stamp is added to the TOS field of the IP header when the data packet is transferred from the IP layer to a lower layer at the transmitting side, and the data packet is transferred to the IP side at the receiving side. A method for adding a time stamp to a data packet, characterized by adding a time stamp to the TOS field of an IP header when transferring from a layer to an upper layer.
JP7196452A 1995-08-01 1995-08-01 Method for adding time stamp to data packet Pending JPH0946396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7196452A JPH0946396A (en) 1995-08-01 1995-08-01 Method for adding time stamp to data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7196452A JPH0946396A (en) 1995-08-01 1995-08-01 Method for adding time stamp to data packet

Publications (1)

Publication Number Publication Date
JPH0946396A true JPH0946396A (en) 1997-02-14

Family

ID=16358053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7196452A Pending JPH0946396A (en) 1995-08-01 1995-08-01 Method for adding time stamp to data packet

Country Status (1)

Country Link
JP (1) JPH0946396A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946465A (en) * 1998-03-30 1999-08-31 International Business Machines Corporation Method and system for recovering system resources used by an inactive Telnet client
US6560648B1 (en) * 1999-04-19 2003-05-06 International Business Machines Corporation Method and apparatus for network latency performance measurement
GB2430833A (en) * 2005-09-29 2007-04-04 Agilent Technologies Inc Correlating quality information on different layers of a network model

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946465A (en) * 1998-03-30 1999-08-31 International Business Machines Corporation Method and system for recovering system resources used by an inactive Telnet client
US6330607B1 (en) 1998-03-30 2001-12-11 International Business Machines Corporation Method and system for recovering system resources used by an inactive Telnet client
US6560648B1 (en) * 1999-04-19 2003-05-06 International Business Machines Corporation Method and apparatus for network latency performance measurement
GB2430833A (en) * 2005-09-29 2007-04-04 Agilent Technologies Inc Correlating quality information on different layers of a network model

Similar Documents

Publication Publication Date Title
US6606320B1 (en) Data communication system and method, data transmission device and method
WO2002087276A3 (en) Method and device for robust real-time estimation of bottleneck bandwidth
EP0942560A3 (en) Apparatus and method for speech transport with adaptive packet size
WO2001093513A3 (en) Apparatus, and associated method, for communicating packet data in a network including a radio-link
EP0751656A3 (en) Protocol independent and adaptive network interface
CA2340679A1 (en) System and method for low latency communication
WO2002025822A3 (en) Multimedia communications over power lines
WO1997016890A3 (en) Method and apparatus for permitting a radio to originate and receive data messages in a data communications network
EP1178634A3 (en) Method and protocol to adapt each unique connection in a multi-node network to a maximum data rate
HK1111015A1 (en) Bulk data transfer
WO2000016509A8 (en) Method for estimating relative skew between clocks in packet networks
WO2001080517A3 (en) System and method for prioritization information
WO1997008838A3 (en) Method and apparatus for modifying a standard internetwork protocol layer header
FI990075A (en) A method for transmitting data flows
EP1265429A3 (en) Data communication apparatus and internet facsimile apparatus
EP1428358B1 (en) Data communications method and system for transmitting multiple data streams calculating available bandwidth per stream and bit stream trade-off
MY125043A (en) Communication system,destination node and method therefore
WO1999046882A3 (en) Techniques for protection of data-communication networks
WO2003012601A2 (en) Flexible mapping of circuits into packets
JPH0946396A (en) Method for adding time stamp to data packet
JPH0946391A (en) Method for adding time stamp to data packet
EP1282264A3 (en) Method and device for multicasting
CA2328633A1 (en) Apparatus and method for serving data
US8369362B2 (en) Audio and video data processing device for multimedia communication via a local network set up within an asynchronous network
JPH0964937A (en) Communication controller, communication control method and communication system using the controller