JP4152860B2 - COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents

COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDF

Info

Publication number
JP4152860B2
JP4152860B2 JP2003362096A JP2003362096A JP4152860B2 JP 4152860 B2 JP4152860 B2 JP 4152860B2 JP 2003362096 A JP2003362096 A JP 2003362096A JP 2003362096 A JP2003362096 A JP 2003362096A JP 4152860 B2 JP4152860 B2 JP 4152860B2
Authority
JP
Japan
Prior art keywords
communication device
communication
comparison
transmission source
information
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.)
Expired - Fee Related
Application number
JP2003362096A
Other languages
Japanese (ja)
Other versions
JP2005130112A (en
Inventor
純二 末次
敦司 中尾
節 吉田
進 北口
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2003362096A priority Critical patent/JP4152860B2/en
Publication of JP2005130112A publication Critical patent/JP2005130112A/en
Application granted granted Critical
Publication of JP4152860B2 publication Critical patent/JP4152860B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、送信元通信機器と受信先通信機器とが、複数の通信網を結びつける通信装置を経由して通信を行なう技術に関し、特に、送信元通信機器と受信先通信機器とのクロック合わせを容易に行うことができる通信装置、通信機器、そのプログラムおよびそのプログラムを記録した記録媒体に関する。   The present invention relates to a technique in which a transmission source communication device and a reception destination communication device communicate via a communication device that connects a plurality of communication networks, and in particular, synchronizes clocks between the transmission source communication device and the reception destination communication device. The present invention relates to a communication device, a communication device, a program thereof, and a recording medium on which the program is recorded.

近年、新しい放送サービスとして地上波ディジタル放送サービスが注目されている。このサービスにおいては、テレビやビデオなど家庭内機器に対する高画質の画像はMPEG2TS(Moving Picture Experts Group 2 over IP Transfer System)方式で、携帯電話などのモバイル機器に対する画像はMPEG4方式でストリーム伝送される。   In recent years, terrestrial digital broadcasting services have attracted attention as new broadcasting services. In this service, high-quality images for home devices such as television and video are stream-transmitted by the MPEG2TS (Moving Picture Experts Group 2 over IP Transfer System) system, and images for mobile devices such as mobile phones are stream-transmitted by the MPEG4 system.

たとえば、家庭内のある部屋に設置されているチューナで受信したMPEG2TS方式のストリームデータを、別の部屋にあるテレビに対して転送を行なう場合、送信側のチューナの持つクロックの進み方と受信側のテレビが持つクロックの進み方とが同じであることが望ましい。   For example, when MPEG2TS stream data received by a tuner installed in a room in a home is transferred to a television set in another room, how the clock of the tuner on the transmission side advances and the reception side It is desirable that the method of clock advancement of the TV of the same is the same.

図20は、送信側のチューナのクロックの進み具合と、受信側のテレビのクロックの進み具合との違いによる影響を説明するための図である。通常、ストリーム伝送を行なう場合、伝送路上で発生するデータの遅延やエラーによるデータの再送などの影響を吸収するためにバッファ100が設けられ、バッファリング処理が行なわれる。送信側のチューナおよび受信側のテレビは、ともに自身のクロックを用いて時刻管理を行ないデータの送受信処理を行なう。   FIG. 20 is a diagram for explaining the influence of the difference between the progress of the clock on the tuner on the transmission side and the progress of the clock on the television on the reception side. In general, when performing stream transmission, a buffer 100 is provided to absorb the influence of data delay and data retransmission caused by an error on the transmission path, and buffering processing is performed. Both the tuner on the transmission side and the television on the reception side perform time management using their own clocks and perform data transmission / reception processing.

図20(a)は、送信側のクロックの進み具合と、受信側のクロックの進み具合とが全く同じである理想的な場合を示している。この場合、バッファ100に対する入力量と出力量とが同じであるため、バッファ100に蓄積されるデータ量はほぼ一定となり安定した理想的なストリーム伝送が可能となる。   FIG. 20A shows an ideal case where the progress of the clock on the transmission side is exactly the same as the progress of the clock on the reception side. In this case, since the input amount and the output amount with respect to the buffer 100 are the same, the amount of data stored in the buffer 100 is substantially constant, and stable ideal stream transmission is possible.

一方、図20(b)は、送信側のクロックの進む速度が速く、受信側のクロックの進む速度が遅い場合を示している。この場合、バッファ100への入力量が出力量を上回るため、バッファ100に蓄積されるデータ量は時間が経過するに従って増加してゆき、バッファ100のオーバーランエラーを引き起こすことになる。   On the other hand, FIG. 20B shows a case where the speed of the clock on the transmission side is high and the speed of the clock on the reception side is slow. In this case, since the amount of input to the buffer 100 exceeds the amount of output, the amount of data stored in the buffer 100 increases as time passes, causing an overrun error of the buffer 100.

また、図20(c)は、送信側のクロックの進む速度が遅く、受信側のクロックの進む速度が速い場合を示している。この場合、バッファ100への入力量が出力量を下回るため、バッファ100に蓄積されるデータ量は時間が経過するに従って減少してゆき、バッファ100のアンダーランエラーを引き起こすことになる。   FIG. 20C shows a case where the speed of the transmitting side clock is slow and the speed of the receiving side clock is fast. In this case, since the amount of input to the buffer 100 is less than the amount of output, the amount of data stored in the buffer 100 decreases as time passes, causing an underrun error of the buffer 100.

オーバーランエラーが発生すれば、バッファ100から溢れ出したデータを消失してしまうため、ストリーム伝送の連続性が失われるという問題を引き起こす。また、アンダーランエラーが発生すれば、データがシンク側に届かなくなるため、ストリーム伝送そのものを中断させてしまう問題を引き起こす。   If an overrun error occurs, the data overflowing from the buffer 100 is lost, causing a problem that the continuity of stream transmission is lost. Also, if an underrun error occurs, data will not reach the sink side, causing a problem of interrupting the stream transmission itself.

バッファ100のアンダーランエラーやオーバーランエラーを防ぐには、通常、フロー制御が用いられるが、地上波ディジタル放送サービスの場合はソース側にフロー制御を施すことができないため、これらの問題点を解決することができない。そこで、この問題の解決策として、クロックの進み方が同じものを送信側のチューナと受信側のテレビとの双方に搭載することが考えられる。しかし、クロックにはある程度の誤差があるため、送信側のクロックの進み具合と受信側のクロックの進み具合とが完全には一致せず、ストリーム伝送を長時間行なう場合には、図20(b)または図20(c)に示す問題が発生することになる。   In order to prevent an underrun error or an overrun error of the buffer 100, the flow control is usually used. However, in the case of a terrestrial digital broadcasting service, the flow control cannot be performed on the source side, so these problems are solved. Can not do it. Therefore, as a solution to this problem, it is conceivable to install the same clock progression in both the transmitter tuner and the receiver television. However, since the clock has a certain amount of error, the progress of the clock on the transmission side and the progress of the clock on the reception side do not completely match, and when stream transmission is performed for a long time, FIG. ) Or the problem shown in FIG.

一般のAV(Audio Visual)機器などで採用されるクロックにおいて、たとえば最大±50ppmの誤差が生じる場合、2時間の映画コンテンツをハイビジョンクラスの画質で伝送すると最大約0.72秒のズレが発生する。転送速度を24Mbpsとするとそのズレは約2Mbyteにも達する。   For example, when an error of a maximum of ± 50 ppm occurs in a clock used in a general AV (Audio Visual) device or the like, when a movie content of 2 hours is transmitted with a high-definition class image quality, a maximum shift of about 0.72 seconds occurs. . If the transfer rate is 24 Mbps, the deviation reaches about 2 Mbytes.

したがって、バッファ100は、通常の伝送遅延などを吸収するためのメモリ容量の他に、このズレに対応できるだけの約2Mbyte分のメモリ容量の追加が必要となる。このように、クロックの誤差から生じるクロックの進み具合の違いを、バッファ100の容量増加で対応することが現実的に困難であることが容易に理解できるであろう。   Therefore, in addition to the memory capacity for absorbing a normal transmission delay, the buffer 100 needs to add a memory capacity of about 2 Mbytes enough to cope with this shift. As described above, it can be easily understood that it is practically difficult to cope with the difference in the degree of advancement of the clock caused by the error of the clock by increasing the capacity of the buffer 100.

これらの理由から、送信側と受信側とのクロックの誤差から生じるクロックの進み具合の違いを補正するような仕組みが必要になる。同期通信網の場合、網に参加する機器の中にマスタやコーディネータと呼ばれる網の纏め役が存在し、送受信時のタイミングを統制するために一定の間隔でビーコンなどが同報通信を行なうような仕組みが存在する。このような同報通信が行なわれると、網に参加している端末はその同報通信を受信するタイミングが同じであることを利用して、クロックの進み具合に修正を加えることが可能となる。   For these reasons, a mechanism for correcting the difference in the degree of clock advance caused by the clock error between the transmission side and the reception side is necessary. In the case of a synchronous communication network, there is a network coordinator called a master or coordinator among the devices participating in the network, and beacons are broadcast at regular intervals to control the timing of transmission and reception. There is a mechanism. When such broadcast communication is performed, it becomes possible for the terminals participating in the network to make corrections to the progress of the clock using the fact that the timing of receiving the broadcast communication is the same. .

すなわち、同報通信が一種の時報のような役割を果たし、それを受信した端末がクロックのオフセット値をリセットするなどの補正処理を行なえば、その瞬間においてクロックのズレは零に収めることができる。このような同報通信を周期的に発生させれば、クロックのズレが蓄積する問題を未然に防ぐことができるようになる。   In other words, broadcast communication plays a role of a kind of time signal, and if the terminal that receives it performs correction processing such as resetting the offset value of the clock, the clock shift can be reduced to zero at that moment. . If such broadcast communication is periodically generated, it is possible to prevent the problem of clock deviation accumulation.

しかし、この方法は単一の同期通信網でのみ成り立つクロック合わせの方法でしかなく、複数の同期通信網間では同報通信が双方に同じタイミングで届かないため、クロック合わせができないといった問題点があった。このような複数の同期通信網が存在する環境下においても利用可能なクロック合わせの技術として、特許第3440984号公報に開示された発明および特公平6−56998号公報に開示された発明がある。   However, this method is only a clock synchronization method that can be achieved only in a single synchronous communication network, and broadcast communication does not reach both sides at the same timing between a plurality of synchronous communication networks. there were. As a clock synchronization technique that can be used even in an environment where a plurality of synchronous communication networks exist, there is an invention disclosed in Japanese Patent No. 3440984 and an invention disclosed in Japanese Patent Publication No. 6-56998.

特許第3440984号公報は、異なる環境間における同報通信の同期を確立することができる情報処理装置を開示している。この先行技術によると、有線環境と無線環境との間で同期通信を行なう場合において、有線環境における同期に関する時刻情報を、無線環境における同期に関する時刻情報に反映させることができるので、両環境の同期の整合を保つことが可能になる。   Japanese Patent No. 3440984 discloses an information processing apparatus that can establish synchronization of broadcast communication between different environments. According to this prior art, when performing synchronous communication between the wired environment and the wireless environment, the time information related to the synchronization in the wired environment can be reflected in the time information related to the synchronization in the wireless environment. It becomes possible to maintain consistency.

また、特公平6−56998号公報は、第1のディジタルステーションを備え、この第1のディジタルステーションが、総合サービスディジタル網(ISDN)、相互間作動ユニットおよび公衆交換アナログ網を介して第2のデータステーションとデータ通信するデータ伝送システムにおいて、各データステーションの局部クロックを同期させる方法を開示している。この先行技術によると、ディジタル網における中央クロック源によって制御され、かつディジタル網内の中央クロックと同期しているディジタルデータ伝送装置を網外部のクロックと同期させることが可能になる。
特許第3440984号公報 特公平6−56998号公報
Japanese Examined Patent Publication No. 6-56998 includes a first digital station, and the first digital station is connected to the second digital network via an integrated service digital network (ISDN), an interworking unit, and a public exchange analog network. In a data transmission system in data communication with a data station, a method for synchronizing the local clock of each data station is disclosed. This prior art makes it possible to synchronize a digital data transmission device controlled by a central clock source in a digital network and synchronized with a central clock in the digital network with a clock external to the network.
Japanese Patent No. 3440984 Japanese Examined Patent Publication No. 6-56998

複数の同期通信網を経由して通信される送信元通信機器と受信先通信機器とを同期させる場合、その経路途中にある同期通信網の網クロックや通信装置の局部クロックも同期させる必要があるような手法は好ましくない。しかしながら、特許第3440984号公報に開示された情報処理装置においては、異なる通信網の網同期を行わなければならないという問題点がある。   When synchronizing a source communication device and a destination communication device communicated via a plurality of synchronous communication networks, it is necessary to synchronize the network clock of the synchronous communication network and the local clock of the communication device in the middle of the route. Such a method is not preferable. However, the information processing apparatus disclosed in Japanese Patent No. 3440984 has a problem that network synchronization of different communication networks must be performed.

図21は、異なる通信網の網同期を行なう場合の問題点を説明するための図である。図21(a)は、通信機器A101と通信機器B102とが3つの異なる同期通信網を経由して通信を行ない、同様に通信機器C103と通信機器D104とが3つの異なる同期通信網を経由して通信を行なっているときの網クロックの関係を示している。通信機器A101〜D104は、データ伝送を行なう際の送信元または受信先に相当する機器を示している。また、通信装置1〜4(111〜114)は、異なる同期通信網をつなぐ橋渡しの役割を担う装置を示している。   FIG. 21 is a diagram for explaining problems in performing network synchronization of different communication networks. In FIG. 21A, communication device A 101 and communication device B 102 communicate via three different synchronous communication networks, and similarly communication device C 103 and communication device D 104 pass through three different synchronous communication networks. The relationship of the network clock during communication is shown. Communication devices A101 to D104 indicate devices corresponding to a transmission source or a reception destination when performing data transmission. Communication devices 1 to 4 (111 to 114) indicate devices that play a role of bridging different synchronous communication networks.

本来、同期通信網は独自の網クロックで動作を行っているため、異なる同期通信網間では同期タイミングの整合性がない。上述した先行技術においては、異なる同期通信網をつなぐ通信装置が各網クロックを比較し、その比較結果を利用することで一方の網クロックをもう一方の網クロックに合わせるようにしている。この技術を用いることによって、図21(a)に示す通信装置1(111)は、通信機器A101と通信装置1(111)との間の網クロックと、通信装置1(111)と通信装置2(112)との間の網クロックとを比較して、通信装置1(111)と通信装置2(112)との間の網クロックを、通信機器A101と通信装置1(111)との間の網クロックに合わせることができる。   Originally, a synchronous communication network operates with its own network clock, and therefore there is no synchronization timing consistency between different synchronous communication networks. In the above-described prior art, a communication apparatus that connects different synchronous communication networks compares each network clock, and uses one of the comparison results to match one network clock with the other network clock. By using this technique, the communication device 1 (111) shown in FIG. 21A is configured so that the network clock between the communication device A101 and the communication device 1 (111), the communication device 1 (111), and the communication device 2 are used. The network clock between the communication device 1 (111) and the communication device 2 (112) is compared with the network clock between the communication device A101 and the communication device 1 (111). Can be set to the network clock.

これは、通信機器A101と通信装置1(111)との間の網クロックを「主」、通信装置1(111)と通信装置2(112)との間の網クロックを「従」とした、網クロックの主従関係と見ることができる。通信装置1(111)と通信装置2(112)との間の網クロックと、通信装置2(112)と通信機器B102との間の網クロックも同様に主従関係をつくることができる。   The network clock between the communication device A 101 and the communication device 1 (111) is “main”, and the network clock between the communication device 1 (111) and the communication device 2 (112) is “subordinate”. This can be seen as a master-slave relationship with the network clock. The network clock between the communication device 1 (111) and the communication device 2 (112) and the network clock between the communication device 2 (112) and the communication device B102 can similarly form a master-slave relationship.

結果として、通信機器A101と通信機器B102との間にある3つの異なる同期通信網は、同期タイミングについて通信機器A101と通信装置1(111)との間の網クロックをベースにしたものに統一されるため、通信機器A101と通信機器B102との間で円滑にストリーム伝送を行うことが可能となる。   As a result, the three different synchronous communication networks between the communication device A101 and the communication device B102 are unified with the synchronization timing based on the network clock between the communication device A101 and the communication device 1 (111). Therefore, it is possible to smoothly perform stream transmission between the communication device A101 and the communication device B102.

通信機器C103と通信機器D104との間も同様にして考えると、網クロックの主従関係を形成することで、通信機器C103と通信機器D104との間にある3つの異なる同期通信網についても、通信機器C103と通信装置3(113)との間の網クロックをベースにして同期タイミングを統一することができるため、通信機器C103と通信機器D104との間で円滑にストリーム伝送を行うことが可能となる。   If the communication device C103 and the communication device D104 are considered in the same manner, the communication between the three different synchronous communication networks between the communication device C103 and the communication device D104 is established by forming a master-slave relationship of the network clock. Since the synchronization timing can be unified based on the network clock between the device C103 and the communication device 3 (113), it is possible to smoothly perform stream transmission between the communication device C103 and the communication device D104. Become.

この状態で、さらに通信機器A101−通信装置1(111)−通信装置2(112)−通信装置4(114)−通信機器D104の経路を利用して通信機器A101と通信機器D104との間でストリーム伝送を行うこと考える。上述したのと同様に、網クロックの主従関係を形成しようとすると、図21(b)に示すように、通信装置2(112)と通信装置4(114)との間の同期通信網が、通信機器A101と通信装置1(111)との間の網クロックと、通信機器C103と通信装置3(113)との間の網クロックとのどちらに合わせるかが明確でないという問題点がある。   In this state, the communication device A101-communication device 1 (111) -communication device 2 (112) -communication device 4 (114) -communication device D104 is used between the communication device A101 and the communication device D104. Consider performing stream transmission. As described above, when the master-slave relationship of the network clock is formed, the synchronous communication network between the communication device 2 (112) and the communication device 4 (114) as shown in FIG. There is a problem that it is not clear which one of the network clock between the communication device A101 and the communication device 1 (111) and the network clock between the communication device C103 and the communication device 3 (113) is set.

しかも、仮に通信装置2(112)と通信装置4(114)との間の同期通信網を、通信機器A101と通信装置1(111)との間の網クロックをベースとした同期タイミングに合わせたとしても、通信装置4(114)と通信機器D104との間の網クロックをベースとした同期タイミングとは異なるため、通信機器A101と通信機器D104との間でのストリーム伝送がうまく行えないという問題点がある。   Moreover, the synchronous communication network between the communication device 2 (112) and the communication device 4 (114) is set to the synchronization timing based on the network clock between the communication device A101 and the communication device 1 (111). However, since the synchronization timing based on the network clock between the communication device 4 (114) and the communication device D104 is different, the stream transmission between the communication device A101 and the communication device D104 cannot be performed well. There is a point.

逆に、通信装置2(112)と通信装置4(114)との間の同期通信網を、通信機器C103と通信装置3(113)との間の網クロックをベースとした同期タイミングに合わせたとしても、通信装置A101−通信機器1(111)−通信機器2(112)の間の網クロックをベースとした同期タイミングとは異なるため、やはり通信機器A101と通信機器D104との間でのストリーム伝送がうまく行えないという問題点がある。   Conversely, the synchronous communication network between the communication device 2 (112) and the communication device 4 (114) is matched with the synchronization timing based on the network clock between the communication device C103 and the communication device 3 (113). However, since the synchronization timing based on the network clock between the communication device A101-communication device 1 (111) -communication device 2 (112) is different, the stream between the communication device A101 and the communication device D104 is also used. There is a problem that transmission cannot be performed well.

この問題点を回避するために、図21(c)に示すように、通信装置2(112)と通信装置4(114)との間の同期通信網を、通信機器A101と通信装置1(111)との間の網クロックをベースとした同期タイミングに合わせる際に、通信装置C103−通信装置3(113)−通信装置4(114)−通信機器D104の間の網クロックについても、通信機器A101と通信機器1(111)との間の網クロックをベースとした同期タイミングに合わせてしまう方法が考えられる。   In order to avoid this problem, as shown in FIG. 21 (c), the synchronous communication network between the communication device 2 (112) and the communication device 4 (114) is changed to the communication device A101 and the communication device 1 (111). The network clock between the communication device C103-communication device 3 (113) -communication device 4 (114) -communication device D104 also matches the communication device A101. And a synchronization timing based on a network clock between the communication device 1 (111) and the communication device 1 (111) can be considered.

しかし、この方法だと、通信機器C103−通信装置3(113)−通信装置4(114)−通信機器D104の間の同期タイミングを変更する処理中は、それまで行われてきた通信機器C103と通信機器D104との間のストリーム伝送がうまく行えなくなるという問題点がある。   However, according to this method, during the process of changing the synchronization timing between the communication device C103-communication device 3 (113) -communication device 4 (114) -communication device D104, There is a problem that stream transmission with the communication device D104 cannot be performed well.

また、この方法の別の問題点として、独立系の同期通信網を複数扱えないという問題点がある。独立系の同期通信網は、その網の同期タイミングを他の同期通信網に合わせられない性質を持つ網のことであり、公衆の回線網などがそれに相当する。独立系の同期通信網と独立系でない同期通信網とを接続して同期タイミングの整合性をとる場合は、独立系の同期通信網は他の同期通信網の同期タイミングに合わせられないため、網同期の主従関係は独立系の同期通信網を「主」とし、独立系でない同期通信網を「従」とする関係を形成する必要性が生じる。   Another problem with this method is that a plurality of independent synchronous communication networks cannot be handled. An independent synchronous communication network is a network having the property that the synchronization timing of the network cannot be adjusted to that of other synchronous communication networks, and a public line network or the like corresponds to this. When an independent synchronous communication network is connected to a non-independent synchronous communication network to achieve synchronization timing consistency, the independent synchronous communication network cannot be synchronized with the synchronization timing of other synchronous communication networks. As for the master-slave relationship of synchronization, it is necessary to form a relationship in which an independent synchronous communication network is “main” and a non-independent synchronous communication network is “subordinate”.

このような制約のもと、異なる同期通信網の同期タイミングの整合性を網同期の手法で解決しようとすると、伝送経路上に2つ以上の独立系の同期通信網が存在する場合、伝送経路上の異なる同期通信網の同期タイミングを一つに統一できないため、ストリーム伝送がうまく行なえないという問題点が発生する。   Under these restrictions, if the synchronization timing consistency of different synchronous communication networks is to be solved by the network synchronization technique, if there are two or more independent synchronous communication networks on the transmission path, the transmission path Since the synchronization timings of the above different synchronous communication networks cannot be unified, there is a problem that stream transmission cannot be performed successfully.

上述した特公平6−56998号公報に開示されたディジタルデータ伝送システムにおいては、3つ以上の同期通信網を経由する伝送路上では同期タイミングを合わせることができない問題点がある。この問題点について以下に述べる。   In the digital data transmission system disclosed in the above-mentioned Japanese Patent Publication No. 6-56998, there is a problem that the synchronization timing cannot be adjusted on a transmission path passing through three or more synchronous communication networks. This problem will be described below.

総合サービスディジタル網と公衆アナログ網とをつなぐ役割を果たす相互間作動ユニットが、総合サービスディジタル網の網クロックと公衆アナログ網に接するデータステーションの局部クロックとを比較して、その比較結果を総合サービスディジタル網に接するディジタルステーションに転送する。   The interworking unit that plays the role of connecting the integrated service digital network and the public analog network compares the network clock of the integrated service digital network with the local clock of the data station adjacent to the public analog network, and compares the comparison results with the integrated service. Transfer to a digital station connected to the digital network.

ディジタルステーションは、総合サービスディジタル網の網クロックと比較結果とから、データステーションの局部クロックの同期タイミングに同期するディジタルステーションの局部クロックを作りだすことによって、同期タイミングの整合をとっている。この先行技術においては、総合サービスディジタル網と公衆アナログ網との2つの同期通信網で構成される環境下において、システムが成立する事を前提としている。   The digital station matches the synchronization timing by generating the local clock of the digital station synchronized with the synchronization timing of the local clock of the data station from the network clock of the general service digital network and the comparison result. In this prior art, it is assumed that the system is established in an environment composed of two synchronous communication networks, a general service digital network and a public analog network.

ここで、この先行技術を拡大して3つ以上の同期通信網を経由する伝送路を想定した場合を考える。第1のデータステーションの局部クロックと相互間作動ユニットから見て第1のデータステーションとは反対側の同期網のクロックとを比較して、その比較結果を第2のデータステーションに送り、比較結果に基づいて第2のデータステーションの局部クロックを第1のデータステーションの局部クロックと同期させるのと同じ手順で繰り返してゆけば、第1のデータステーションと第n番目のデータステーションとの同期を取れることになる。   Here, let us consider a case in which this prior art is expanded to assume a transmission path passing through three or more synchronous communication networks. The local clock of the first data station is compared with the clock of the synchronous network opposite to the first data station as viewed from the interoperating unit, and the comparison result is sent to the second data station. If the second data station local clock is synchronized with the first data station local clock in the same procedure, the first data station and the nth data station can be synchronized. It will be.

しかし、その間にあるデータステーションの局部クロックは全て同期する制約を受けることになる。さらにデータステーション間に主従関係ができるため、2つの伝送路の途中にあるデータステーションは、どちらかの伝送路の同期を放棄しなければならない制約がある。   However, all local clocks of data stations in the meantime are subject to synchronization restrictions. Furthermore, since a master-slave relationship can be established between data stations, there is a restriction that a data station in the middle of two transmission paths must abandon synchronization of either transmission path.

すなわち、特許3440984号公報に開示された発明は、途中にある網クロック間の同期が必要であり、特公平6−56998号公報に開示された発明は、データが経由する装置の局部クロックが全て同期するという制約を受ける。いずれの従来技術においても、送信元通信機器と受信先通信機器間にある網の網クロックや、通信装置の局部クロックの関係を制約せずに送信元の上層と受信先の上層間の同期だけを取る事ができないという問題点を有している。   That is, the invention disclosed in Japanese Patent No. 3440984 requires synchronization between network clocks in the middle, and the invention disclosed in Japanese Patent Publication No. 6-56998 has all the local clocks of the device through which data passes. Restricted to synchronize. In any of the conventional techniques, only the synchronization between the upper layer of the transmission source and the upper layer of the reception destination without restricting the relationship between the network clock of the network between the transmission source communication device and the reception destination communication device and the local clock of the communication device. It has the problem that it cannot be taken.

本発明は、上記問題点を解決するためになされたものであり、第1の目的は、同期通信網における同期タイミングを整合させることなく、送信元通信機器の上位層における時刻情報と、受信先通信機器の上位層における時刻情報とを同期させることが可能な通信装置、送信元通信機器、受信先通信機器、そのコンピュータ・プログラムおよびそのプログラムを記録した記録媒体を提供することである。   The present invention has been made to solve the above-described problems, and a first object is to provide time information in a higher layer of a transmission source communication device and a reception destination without matching synchronization timing in a synchronous communication network. To provide a communication device capable of synchronizing time information in an upper layer of a communication device, a transmission source communication device, a reception destination communication device, a computer program thereof, and a recording medium recording the program.

本発明のある局面に従えば、通信装置は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置であって、接続する複数の通信網の同期信号から生成される時刻情報を比較する比較手段と、送信元側の通信網からフレームを受信するための受信手段と、受信手段によって受信されたフレームに、比較手段によって得られた比較値および比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加するための付加手段と、付加手段によって比較情報が付加されたフレームを受信先通信機器に送信するための送信手段とを含む。フレームとはデータ情報、制御情報等を含む、プロトコルで扱う情報の処理単位であって、特に本発明におけるフレームは、送信元通信機器の比較情報と複数の通信装置の比較情報とを固定長で、または送信元通信機器の比較情報と複数の通信装置の比較情報とが順次連結される可変長の形で格納するフィールドを含む。フレームは、どのようなフィールド構成において取扱われるかが、予め定められている。多くの場合は、複数の網を通して同じフレームを用いるが、異なったフィールドで構成されたフレームを用いてもよい。異なったフレームを用いる場合は、フレーム構成の識別が可能であると共に、送信元と受信先との間でフレームを変換するか、または受信利用する通信装置、通信機器で送信元の上位制御層の時刻情報と前記受信先通信機器の上位層の時刻情報とを整合させるための制御手段にフレームの識別結果に応じて送信元から受信先までの比較情報を調整し、制御を行わしめる機能を含む。   According to an aspect of the present invention, a communication device is a communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Comparing means for comparing time information generated from synchronization signals of a plurality of connected communication networks, receiving means for receiving a frame from the communication network on the transmission side, and a frame received by the receiving means A comparison value obtained by the comparison means and an addition means for adding comparison information including identification information for identifying a communication device corresponding to the comparison value; and a frame to which the comparison information is added by the addition means. Transmitting means for transmitting to the receiving communication device. A frame is a processing unit of information handled by a protocol including data information, control information, and the like. In particular, a frame in the present invention has a fixed length of comparison information of a source communication device and comparison information of a plurality of communication devices. Or a field for storing the comparison information of the transmission source communication device and the comparison information of the plurality of communication devices in a variable length form sequentially connected. In what field structure the frame is handled is predetermined. In many cases, the same frame is used through a plurality of networks, but a frame composed of different fields may be used. When different frames are used, it is possible to identify the frame configuration and to convert the frame between the transmission source and the reception destination, or to receive and use the communication device or communication device of the transmission source upper control layer. The control means for matching the time information with the time information of the higher layer of the receiving communication device includes a function of adjusting the comparison information from the transmission source to the receiving destination according to the identification result of the frame and performing control. .

本発明のさらに別の局面に従えば、通信装置は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置であって、接続する複数の通信網の同期信号から生成される時刻情報を比較する比較手段と、送信元側の通信網からフレームを受信するための受信手段と、受信手段によって受信されたフレームに含まれる累積比較値と、比較手段によって得られた比較値とを演算し、新たな累積比較値としてフレームに格納するための格納手段と、格納手段によって累積比較値が格納されたフレームを受信先通信機器に送信するための送信手段とを含む。累積比較値とは他の装置から送られてくる比較値と自機の比較値との間で予め決められた演算をして生成するものであり、新たな比較値として他の装置から受信した比較値に置換える。累積比較値を用いると伝送経路上にある通信装置の数に拘わらず比較値のフィールドが増えないという効果も出てくる。   According to still another aspect of the present invention, a communication device is provided on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Comparing means for comparing time information generated from synchronization signals of a plurality of connected communication networks, receiving means for receiving a frame from a communication network on a transmission source side, and receiving means received by a receiving means. A storage means for calculating a cumulative comparison value included in the frame and a comparison value obtained by the comparison means, and storing the calculated comparison value in the frame as a new cumulative comparison value; and a frame in which the cumulative comparison value is stored by the storage means For transmitting to the receiving communication device. The cumulative comparison value is generated by performing a predetermined calculation between the comparison value sent from another device and the comparison value of the own device, and received from another device as a new comparison value. Replace with the comparison value. If the cumulative comparison value is used, the comparison value field does not increase regardless of the number of communication apparatuses on the transmission path.

本発明のさらに別の局面に従えば、送信元通信機器は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器であって、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するための比較手段と、比較手段によって得られた比較値および送信元通信機器を特定するための識別情報を含んだ比較情報を含んだフレームを生成するための生成手段と、生成手段によって生成されたフレームを受信先通信装置に送信するための送信手段とを含む。   According to yet another aspect of the present invention, a transmission source communication device is a transmission path through which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Comparing means for comparing the time information generated from the synchronization signal of the connected communication network with the time information of the upper control layer, the comparison value obtained by the comparing means, Generation means for generating a frame including comparison information including identification information for specifying a transmission source communication device, and transmission means for transmitting the frame generated by the generation means to a reception destination communication device Including.

好ましくは、フレームは、送信元通信機器の比較情報および複数の通信装置の比較情報を格納するフィールドを含む。   Preferably, the frame includes a field for storing comparison information of a transmission source communication device and comparison information of a plurality of communication devices.

本発明のさらに別の局面に従えば、受信先通信機器は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器であって、送信元通信機器が接続される通信網の同期信号から生成される時刻情報と送信元通信機器の上位制御層の時刻情報との比較値と、通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するための受信手段と、受信手段によって受信された送信元通信機器の比較値と通信装置の比較値とに基づいて、送信元通信機器の上位制御層の時刻情報と受信先通信機器の上位層の時刻情報とを整合させるための制御手段とを含む。   According to still another aspect of the present invention, the destination communication device is a transmission path through which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A comparison value between the time information generated from the synchronization signal of the communication network to which the transmission source communication device is connected and the time information of the upper control layer of the transmission source communication device, and the communication device A receiving means for receiving a comparison value of time information generated from synchronization signals of a plurality of connected communication networks, and a comparison value of a transmission source communication device and a comparison value of a communication apparatus received by the receiving means And control means for matching the time information of the upper control layer of the source communication device with the time information of the upper layer of the destination communication device.

本発明のさらに別の局面に従えば、コンピュータ・プログラムは、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、通信方法は、接続する複数の通信網の同期信号から生成される時刻情報を比較するステップと、送信元側の通信網からフレームを受信するステップと、受信されたフレームに、得られた比較値および比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加するステップと、比較情報が付加されたフレームを受信先通信機器に送信するステップとを含む。   According to still another aspect of the present invention, a computer program is transmitted on a transmission path through which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer program for causing a computer to execute a communication method of a communication apparatus in the communication method, the communication method comprising: comparing time information generated from synchronization signals of a plurality of connected communication networks; A step of receiving a frame from the network, a step of adding comparison information including identification information for identifying a communication device corresponding to the obtained comparison value and the comparison value to the received frame, and comparison information is added Transmitting the received frame to the destination communication device.

本発明のさらに別の局面に従えば、コンピュータ・プログラムは、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、通信方法は、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するステップと、得られた比較値および送信元通信機器を特定するための識別情報を含んだ比較情報を含んだフレームを生成するステップと、生成されたフレームを受信先通信装置に送信するステップとを含む。   According to still another aspect of the present invention, a computer program is transmitted on a transmission path through which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Is a computer program for causing a computer to execute a communication method of a transmission source communication device in the communication method, and the communication method compares time information generated from a synchronization signal of a connected communication network with time information of a higher control layer Generating a frame including comparison information including the obtained comparison value and identification information for identifying the transmission source communication device, and transmitting the generated frame to the receiving communication device. including.

本発明のさらに別の局面に従えば、コンピュータ・プログラムは、送信元通信機器と受
信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、通信方法は、送信元通信機器が接続される通信網の同期信号から生成される時刻情報と送信元通信機器の上位制御層の時刻情報との比較値と、通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するステップと、受信された送信元通信機器の比較値と通信装置の比較値とに基づいて、送信元通信機器の上位制御層の時刻情報と受信先通信機器の上位層の時刻情報とを整合させるステップとを含む。
According to still another aspect of the present invention, a computer program is transmitted on a transmission path through which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Is a computer program for causing a computer to execute a communication method of a destination communication device in the communication method, the communication method including time information generated from a synchronization signal of a communication network to which the transmission source communication device is connected, and the transmission source communication device Receiving the comparison value with the time information of the upper control layer of the communication device and the comparison value of the time information generated from the synchronization signals of a plurality of communication networks to which the communication device is connected, and Matching the time information of the upper control layer of the transmission source communication device and the time information of the upper layer of the destination communication device based on the comparison value and the comparison value of the communication device.

本発明のさらに別の局面に従えば、コンピュータで読取り可能な記録媒体は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、通信方法は、接続する複数の通信網の同期信号から生成される時刻情報を比較するステップと、送信元側の通信網からフレームを受信するステップと、受信されたフレームに、得られた比較値および比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加するステップと、比較情報が付加されたフレームを受信先通信機器に送信するステップとを含む。   According to yet another aspect of the present invention, a computer-readable recording medium is a communication medium in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium storing a program for causing a computer to execute a communication method of a communication device on a transmission path to be performed, the communication method being generated from a synchronization signal of a plurality of connected communication networks A step of comparing information, a step of receiving a frame from the communication network on the transmission side, and a received frame including the obtained comparison value and identification information for identifying a communication device corresponding to the comparison value A step of adding the comparison information, and a step of transmitting the frame to which the comparison information is added to the receiving communication device.

本発明のさらに別の局面に従えば、コンピュータで読取り可能な記録媒体は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、通信方法は、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するステップと、得られた比較値および送信元通信機器を特定するための識別情報を含んだ比較情報を含んだフレームを生成するステップと、生成されたフレームを受信先通信装置に送信するステップとを含む。   According to yet another aspect of the present invention, a computer-readable recording medium is a communication medium in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium recording a program for causing a computer to execute a communication method of a transmission source communication device on a transmission path to be performed, the communication method being time generated from a synchronization signal of a connected communication network A step of comparing the information with time information of the upper control layer, and a step of generating a frame including comparison information including the obtained comparison value and identification information for identifying the transmission source communication device. Transmitting the received frame to the destination communication device.

本発明のさらに別の局面に従えば、コンピュータで読取り可能な記録媒体は、送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、通信方法は、送信元通信機器が接続される通信網の同期信号から生成される時刻情報と送信元通信機器の上位制御層の時刻情報との比較値と、通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するステップと、受信された送信元通信機器の比較値と通信装置の比較値とに基づいて、送信元通信機器の上位制御層の時刻情報と受信先通信機器の上位層の時刻情報とを整合させるステップとを含む。 According to yet another aspect of the present invention, a computer-readable recording medium is a communication medium in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium recording a program for causing a computer to execute a communication method of a destination communication device on a transmission path to be performed, the communication method being synchronized with a communication network to which a transmission source communication device is connected Receives a comparison value between the time information generated from the signal and the time information of the upper control layer of the transmission source communication device, and a comparison value of the time information generated from the synchronization signals of multiple communication networks to which the communication device is connected And the time information of the upper control layer of the source communication device and the time information of the upper layer of the destination communication device based on the received comparison value of the transmission source communication device and the comparison value of the communication device. The comprises the step of aligning.

本発明のある局面によれば、付加手段が、受信手段によって受信されたフレームに、比較手段によって得られた比較値および比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加し、送信手段が、付加手段によって比較情報が付加されたフレームを受信先通信機器に送信するので、受信先通信機器が、送信元通信機器の上位層における時刻情報と、受信先通信機器の上位層における時刻情報とを同期させるときに必要となる通信装置の比較情報を取得することが可能となった。   According to an aspect of the present invention, the comparison unit includes the comparison value obtained by the comparison unit obtained by the comparison unit and the identification information for identifying the communication device corresponding to the comparison value in the frame received by the reception unit. And the transmission means transmits the frame to which the comparison information has been added by the addition means to the reception destination communication device, so that the reception destination communication device has the time information in the higher layer of the transmission source communication device, and the reception destination communication device. It becomes possible to obtain comparison information of communication devices that are necessary when synchronizing with time information in the upper layer.

本発明の別の局面によれば、比較手段が、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較し、生成手段が、比較手段によって得られた比較値および送信元通信機器を特定するための識別情報を含んだ比較情報を含んだフレームを生成し、送信手段が、生成手段によって生成されたフレームを受信先通信装置に送信するので、受信先通信機器が、送信元通信機器の上位層における時刻情報と、受信先通信機器の上位層における時刻情報とを同期させるときに必要となる送信元通信機器の比較情報を取得することが可能となった。   According to another aspect of the present invention, the comparison unit compares the time information generated from the synchronization signal of the connected communication network with the time information of the higher control layer, and the generation unit is obtained by the comparison unit. Since the transmission unit generates the frame including the comparison information including the comparison value and the identification information for specifying the transmission source communication device, and the transmission unit transmits the frame generated by the generation unit to the reception destination communication device. It becomes possible for the communication device to acquire comparison information of the transmission source communication device required when synchronizing the time information in the upper layer of the transmission source communication device and the time information in the upper layer of the reception destination communication device. It was.

本発明のさらに別の局面によれば、制御手段が、受信手段によって受信された送信元通信機器の比較値と通信装置の比較値とに基づいて、送信元通信機器の上位制御層の時刻情報と受信先通信機器の上位層の時刻情報とを整合させるので、同期通信網における同期タイミングを整合させることなく、送信元通信機器の上位層における時刻情報と、受信先通信機器の上位層における時刻情報とを同期させることが可能となった。   According to still another aspect of the present invention, the control means uses the comparison value of the transmission source communication apparatus and the comparison value of the communication apparatus received by the reception means, and the time information of the upper control layer of the transmission source communication apparatus And the time information in the upper layer of the destination communication device, so that the time information in the upper layer of the source communication device and the time in the upper layer of the destination communication device are matched without matching the synchronization timing in the synchronous communication network. It became possible to synchronize information.

(第1の実施の形態)
図1は、本発明の第1の実施の形態における伝送経路の概略構成を示すブロック図である。この伝送経路は、通信装置1aおよび1bと、送信元通信機器2と、受信先通信機器3と、第1〜第3同期通信網4〜6とを含む。送信元通信機器2は、第1同期通信網4に接続され、通信装置1aおよび1bを経由して受信先通信機器3にデータを送信する。
(First embodiment)
FIG. 1 is a block diagram showing a schematic configuration of a transmission path in the first embodiment of the present invention. This transmission path includes communication devices 1a and 1b, a transmission source communication device 2, a reception destination communication device 3, and first to third synchronous communication networks 4 to 6. The transmission source communication device 2 is connected to the first synchronous communication network 4 and transmits data to the reception destination communication device 3 via the communication devices 1a and 1b.

また、通信装置1aは、第1同期通信網4と第2同期通信網5とを結びつけ、通信装置1bは、第2同期通信網5と第3同期通信網6とを結びつける。受信先通信機器3は、第3同期通信網6に接続され、通信装置1aおよび1bを経由して送信元通信機器2からデータを受信する。通信装置1a、1b、送信元通信機器2および受信先通信機器3の詳細は後述する。なお、以下の説明においては、通信装置1aおよび1bを総称して通信装置1と呼ぶことにする。   In addition, the communication device 1 a connects the first synchronous communication network 4 and the second synchronous communication network 5, and the communication device 1 b connects the second synchronous communication network 5 and the third synchronous communication network 6. The destination communication device 3 is connected to the third synchronous communication network 6 and receives data from the transmission source communication device 2 via the communication devices 1a and 1b. Details of the communication devices 1a and 1b, the transmission source communication device 2, and the reception destination communication device 3 will be described later. In the following description, the communication devices 1a and 1b are collectively referred to as the communication device 1.

図2は、本発明の第1の実施の形態における通信装置1の外観例を示す図である。この通信装置1は、コンピュータ本体71、ディスプレイ装置72、FD(Flexible Disk)74が装着されるFDドライブ73、キーボード75、マウス76、CD−ROM(Compact Disc-Read Only Memory)78が装着されるCD−ROM装置77、およびネットワーク通信装置79を含む。通信装置1の機能を実現するプログラム(以下、通信プログラムと呼ぶ。)は、FD74またはCD−ROM78等の記録媒体によって供給される。通信プログラムがコンピュータ本体71によって実行されることにより、後述する通信が行なわれる。また、通信プログラムは他のコンピュータより通信回線およびネットワーク通信装置79を経由し、コンピュータ本体71に供給されてもよい。なお、送信元通信機器2および受信先通信機器3の外観も同様であるので、詳細な説明は繰返さない。   FIG. 2 is a diagram illustrating an external appearance example of the communication device 1 according to the first embodiment of the present invention. The communication device 1 is equipped with a computer main body 71, a display device 72, an FD drive 73 to which an FD (Flexible Disk) 74 is attached, a keyboard 75, a mouse 76, and a CD-ROM (Compact Disc-Read Only Memory) 78. A CD-ROM device 77 and a network communication device 79 are included. A program for realizing the function of the communication device 1 (hereinafter referred to as a communication program) is supplied by a recording medium such as the FD 74 or the CD-ROM 78. When the communication program is executed by the computer main body 71, communication described later is performed. The communication program may be supplied to the computer main body 71 from another computer via the communication line and the network communication device 79. Note that the external appearances of transmission source communication device 2 and reception destination communication device 3 are also the same, and therefore detailed description will not be repeated.

また、記録媒体はFD74、CD−ROM78に限定されるものではなく、磁気テープ、MO(Magnetic Optical disk)、MD(Mini Disc)、DVD(Digital Versatile Disc)、IC(Integrated Circuit)カードなどであってもよい。   The recording medium is not limited to the FD 74 or the CD-ROM 78, but may be a magnetic tape, MO (Magnetic Optical disk), MD (Mini Disc), DVD (Digital Versatile Disc), IC (Integrated Circuit) card, or the like. May be.

図3は、本発明の第1の実施の形態における通信装置1の構成例を示すブロック図である。図2に示すコンピュータ本体71は、CPU(Central Processing Unit)80、ROM(Read Only Memory)81、RAM(Random Access Memory)82およびハードディスク83を含む。CPU80は、ディスプレイ装置72、FDドライブ73、キーボード75、マウス76、CD−ROM装置77、ネットワーク通信装置79、ROM81、RAM82またはハードディスク83との間でデータを入出力しながら処理を行う。FD74またはCD−ROM78に記録された通信プログラムは、CPU80によりFDドライブ73またはCD−ROM装置77を介してハードディスク83に格納される。CPU80は、ハードディスク83から適宜通信プログラムをRAM82にロードして実行することによって、後述する通信が行なわれる。なお、送信元通信機器2および受信先通信機器3の構成も同様であるので、詳細な説明は繰返さない。   FIG. 3 is a block diagram illustrating a configuration example of the communication device 1 according to the first embodiment of the present invention. A computer main body 71 shown in FIG. 2 includes a central processing unit (CPU) 80, a read only memory (ROM) 81, a random access memory (RAM) 82, and a hard disk 83. The CPU 80 performs processing while inputting / outputting data to / from the display device 72, the FD drive 73, the keyboard 75, the mouse 76, the CD-ROM device 77, the network communication device 79, the ROM 81, the RAM 82, or the hard disk 83. The communication program recorded in the FD 74 or the CD-ROM 78 is stored in the hard disk 83 by the CPU 80 via the FD drive 73 or the CD-ROM device 77. The CPU 80 loads the communication program from the hard disk 83 to the RAM 82 as appropriate, and executes the communication program, which will be described later. The configurations of transmission source communication device 2 and reception destination communication device 3 are also the same, and thus detailed description will not be repeated.

図4は、本発明の第1の実施の形態における通信装置1の機能的構成を示すブロック図である。この通信装置1は、主にハードウェアとして実装されることの多い下位通信層と、主にソフトウェアやファームウェアとして実装されることの多い上位制御層とによって構成される。以下の説明においては、第1下位通信層を通信装置1から見たデータを受信する側とし、第2下位通信層を通信装置1から見たデータを送信する側とする。   FIG. 4 is a block diagram showing a functional configuration of the communication apparatus 1 according to the first embodiment of the present invention. The communication device 1 is configured by a lower communication layer that is often implemented mainly as hardware and an upper control layer that is often implemented mainly as software or firmware. In the following description, the first lower communication layer is a side that receives data viewed from the communication device 1, and the second lower communication layer is a side that transmits data viewed from the communication device 1.

通信装置1の上位制御層は、フレーム処理部11と、識別情報記憶部12と、比較処理部13とを含む。また、第1下位通信層は、第1通信管理部14と、第1時刻管理部15とを含む。さらに、第2下位通信層は、第2通信管理部16と、第2時刻管理部17とを含む。   The upper control layer of the communication device 1 includes a frame processing unit 11, an identification information storage unit 12, and a comparison processing unit 13. The first lower communication layer includes a first communication management unit 14 and a first time management unit 15. Further, the second lower communication layer includes a second communication management unit 16 and a second time management unit 17.

フレーム処理部11は、第1通信管理部14が受信したデータの内容を解析し、必要に応じてフレームの再構築を行い、第2通信管理部16にデータを送出させる。また、フレーム処理部11がフレームの再構築を行う際には、必要に応じて比較処理部13や識別情報記憶部12から再構築に必要な情報を取得する。   The frame processing unit 11 analyzes the contents of the data received by the first communication management unit 14, reconstructs the frame as necessary, and causes the second communication management unit 16 to send the data. When the frame processing unit 11 reconstructs a frame, information necessary for the reconstruction is acquired from the comparison processing unit 13 or the identification information storage unit 12 as necessary.

識別情報記憶部12は、通信装置1を特定するための識別情報を記憶する。そして、フレーム処理部11からの要求に従い、記憶している識別情報をフレーム処理部11に通知する。この識別情報は、主に受信先通信機器3が通信装置1を特定するのに利用される。   The identification information storage unit 12 stores identification information for specifying the communication device 1. Then, in accordance with a request from the frame processing unit 11, the stored identification information is notified to the frame processing unit 11. This identification information is mainly used for the destination communication device 3 to identify the communication device 1.

比較処理部13は、後述する時刻管理テーブルや比較値の算出テーブルを有し、第1時刻管理部15および第2時刻管理部17から時刻情報を取得して、時刻管理テーブルに記憶する。また、フレーム処理部11からの要求に従い、時刻管理テーブルに記憶している時刻情報を基に比較値の算出テーブルを用いて比較値の算出を行い、算出結果である比較値をフレーム処理部11に通知する。   The comparison processing unit 13 includes a time management table and a comparison value calculation table, which will be described later, acquires time information from the first time management unit 15 and the second time management unit 17 and stores the time information in the time management table. Further, in accordance with a request from the frame processing unit 11, the comparison value is calculated using the comparison value calculation table based on the time information stored in the time management table, and the comparison value as the calculation result is calculated. Notify

第1通信管理部14は、通信装置1が接する、通信装置1にとってデータを受信する側の同期通信網に対して通信処理を行う。以下の説明においては、第1通信管理部14が通信処理を行う同期通信網を第1同期通信網4とする。第1通信管理部14は、第1同期通信網4からデータを受け取った場合、フレーム処理部11に受信データを渡す。また、第1同期通信網4から第1同期通信網4の同期タイミングに関する情報を受け取った場合は、第1時刻管理部15にその情報を通知する。   The first communication management unit 14 performs communication processing with respect to the synchronous communication network that is in contact with the communication device 1 and that receives data for the communication device 1. In the following description, the synchronous communication network in which the first communication management unit 14 performs communication processing is referred to as the first synchronous communication network 4. When the first communication management unit 14 receives data from the first synchronous communication network 4, it passes the received data to the frame processing unit 11. In addition, when information related to the synchronization timing of the first synchronous communication network 4 is received from the first synchronous communication network 4, the information is notified to the first time management unit 15.

第1時刻管理部15は、第1同期通信網4の同期タイミングに基づく時刻情報を管理し、比較処理部13からの要求に従い時刻情報を比較処理部13に通知する。また、第1通信管理部14から得られる第1同期通信網4の同期タイミングに関する情報に基づいて時刻情報の調整を行う。   The first time management unit 15 manages time information based on the synchronization timing of the first synchronous communication network 4, and notifies the comparison processing unit 13 of the time information according to a request from the comparison processing unit 13. Further, the time information is adjusted based on the information related to the synchronization timing of the first synchronous communication network 4 obtained from the first communication management unit 14.

第2通信管理部16は、通信装置1が接する、通信装置1にとって送信する側の同期通信網に対して通信処理を行う。以下の説明においては、第2通信管理部16が通信処理を行う同期通信網を第2同期通信網5とする。第2通信管理部16は、フレーム処理部11からデータを受け取った場合、第2同期通信網5に対してデータを送出する。また、第2同期通信網5から第2同期通信網5の同期タイミングに関する情報を受け取った場合は、第2時刻管理部17にその情報を通知する。   The second communication management unit 16 performs communication processing with respect to the synchronous communication network that is in contact with the communication device 1 and that transmits to the communication device 1. In the following description, the synchronous communication network in which the second communication management unit 16 performs communication processing is referred to as the second synchronous communication network 5. When receiving data from the frame processing unit 11, the second communication management unit 16 sends the data to the second synchronous communication network 5. In addition, when information related to the synchronization timing of the second synchronous communication network 5 is received from the second synchronous communication network 5, the information is notified to the second time management unit 17.

第2時刻管理部17は、第2同期通信網5の同期タイミングに基づく時刻情報を管理し、比較処理部13からの要求に従い時刻情報を比較処理部13に通知する。また、第2通信管理部16から得られる第2同期通信網5の同期タイミングに関する情報に基づいて時刻情報の調整を行う。   The second time management unit 17 manages time information based on the synchronization timing of the second synchronous communication network 5 and notifies the comparison processing unit 13 of the time information in accordance with a request from the comparison processing unit 13. Further, the time information is adjusted based on the information related to the synchronization timing of the second synchronous communication network 5 obtained from the second communication management unit 16.

図5は、本発明の第1の実施の形態における送信元通信機器2の機能的構成を示すブロック図である。この送信元通信機器2は、主にハードウェアとして実装されることの多い下位通信層と、主にソフトウェアやファームウェアとして実装されることの多い上位制御層とによって構成される。送信元通信機器2の上位制御層は、データ処理部21と、上位制御層時刻管理部22と、フレーム構築部23と、比較処理部24と、識別情報記憶部25とを含む。また、下位通信層は、通信管理部26と、下位通信層時刻管理部27とを含む。   FIG. 5 is a block diagram illustrating a functional configuration of the transmission source communication device 2 according to the first embodiment of the present invention. The transmission source communication device 2 includes a lower communication layer that is mainly implemented as hardware and an upper control layer that is mainly implemented as software or firmware. The upper control layer of the transmission source communication device 2 includes a data processing unit 21, an upper control layer time management unit 22, a frame construction unit 23, a comparison processing unit 24, and an identification information storage unit 25. The lower communication layer includes a communication management unit 26 and a lower communication layer time management unit 27.

データ処理部21は、受信先通信機器3に送信すべきデータにタイムスタンプを付与する。データ処理部21は、タイムスタンプを付与する際に、上位制御層時刻管理部22から時刻情報を取得する。また、データ処理部21は、タイムスタンプを付与したデータをフレーム構築部23に与える。   The data processing unit 21 gives a time stamp to data to be transmitted to the receiving communication device 3. The data processing unit 21 acquires time information from the upper control layer time management unit 22 when assigning a time stamp. In addition, the data processing unit 21 gives the data with the time stamp to the frame construction unit 23.

上位制御層時刻管理部22は、自走クロックを有し、この自走クロックを用いて時刻情報を生成する。また、上位制御層時刻管理部22は、データ処理部21からの要求に応じて、データ処理部21に時刻情報を与える。また、比較処理部24からの要求に応じて、比較処理部24に時刻情報を与える。   The upper control layer time management unit 22 has a free-running clock, and generates time information using this free-running clock. In addition, the upper control layer time management unit 22 provides time information to the data processing unit 21 in response to a request from the data processing unit 21. Further, time information is given to the comparison processing unit 24 in response to a request from the comparison processing unit 24.

フレーム構築部23は、データ処理部21から受けたタイムスタンプを付与したデータを送信元通信機器2が接する第1同期通信網4に送出するために、第1同期通信網4のプロトコル仕様に従ってフレーム化処理を行う。また、フレーム構築部23は、フレーム化処理を行う際には必要に応じて、比較処理部24から比較値の情報と識別情報記憶部25から識別情報を取得し、これらの情報をフレーム内に格納する処理を行う。フレーム構築部23は、フレーム化処理がなされたデータを通信管理部26へ送出する。   The frame construction unit 23 transmits a frame with a time stamp received from the data processing unit 21 to the first synchronous communication network 4 with which the transmission source communication device 2 is connected, in accordance with the protocol specifications of the first synchronous communication network 4. Process. Further, the frame construction unit 23 acquires the comparison value information from the comparison processing unit 24 and the identification information from the identification information storage unit 25 as necessary when performing the framing process, and stores these information in the frame. Process to store. The frame construction unit 23 sends the data subjected to the framing process to the communication management unit 26.

比較処理部24は、後述する時刻管理テーブルや比較値の算出テーブルを有し、上位制御層時刻管理部22および下位通信層時刻情報管理部27から時刻情報を取得して時刻管理テーブルに記憶する。また、比較処理部24は、フレーム構築部23からの要求に従い、時刻管理テーブルに記憶している時刻情報を基に比較値の算出テーブルを用いて比較値の算出を行い、算出結果である比較値をフレーム構築部23に通知する。   The comparison processing unit 24 includes a time management table and a comparison value calculation table, which will be described later, acquires time information from the upper control layer time management unit 22 and the lower communication layer time information management unit 27 and stores the time information in the time management table. . The comparison processing unit 24 calculates a comparison value using a comparison value calculation table based on the time information stored in the time management table in accordance with a request from the frame construction unit 23, and compares the comparison result. The value is notified to the frame construction unit 23.

識別情報記憶部25は、送信元通信機器2を特定するための識別情報を記憶する。また、識別情報記憶部25は、フレーム構築部23からの要求に従い、記憶している識別情報をフレーム構築部23に通知する。この識別情報は、主に受信先通信機器3が送信元通信機器2を特定するために利用される。   The identification information storage unit 25 stores identification information for specifying the transmission source communication device 2. The identification information storage unit 25 notifies the frame construction unit 23 of the stored identification information in accordance with a request from the frame construction unit 23. This identification information is mainly used for the destination communication device 3 to identify the transmission source communication device 2.

通信管理部26は、送信元通信機器2が接する第1同期通信網4に対して通信処理を行う。この時の通信処理は同期通信網で採用されるプロトコル仕様に準じるものとする。また、通信管理部26は、フレーム構築部23からデータフレームを受け取った際に、データフレームを第1同期通信網4に対して送出する。また、通信管理部26は、第1同期通信網4から同期通信網の同期タイミングに関する情報を受け取った場合は、下位通信層時刻管理部27にその情報を通知する。   The communication management unit 26 performs communication processing on the first synchronous communication network 4 with which the transmission source communication device 2 is in contact. The communication processing at this time conforms to the protocol specification adopted in the synchronous communication network. In addition, when the communication management unit 26 receives a data frame from the frame construction unit 23, the communication management unit 26 transmits the data frame to the first synchronous communication network 4. Further, when the communication management unit 26 receives information related to the synchronization timing of the synchronous communication network from the first synchronous communication network 4, the communication management unit 26 notifies the lower communication layer time management unit 27 of the information.

下位通信層時刻管理部27は、送信元通信機器2が接する第1同期通信網4の同期タイミングに基づく時刻情報を管理し、比較処理部24からの要求に従い時刻情報を比較処理部24に通知する。また、下位通信層時刻管理部27は、通信管理部26から得られる第1同期通信網4の同期タイミングに関する情報に基づいて時刻情報の調整を行う。   The lower communication layer time management unit 27 manages time information based on the synchronization timing of the first synchronous communication network 4 with which the transmission source communication device 2 is in contact, and notifies the comparison processing unit 24 of the time information in accordance with a request from the comparison processing unit 24. To do. Further, the lower communication layer time management unit 27 adjusts the time information based on the information regarding the synchronization timing of the first synchronous communication network 4 obtained from the communication management unit 26.

図6は、本発明の第1の実施の形態における受信先通信機器3の機能的構成を示すブロック図である。この受信先通信機器は、主にハードウェアとして実装されることの多い下位通信層と、主にソフトウェアやファームウェアとして実装されることの多い上位制御層とによって構成される。上位制御層は、データ処理部31と、上位制御層時刻管理部32と、フレーム解析部33と、比較処理部34とを含む。また、下位通信層は、通信管理部35と、下位通信層時刻管理部36とを含む。   FIG. 6 is a block diagram showing a functional configuration of the destination communication device 3 according to the first embodiment of the present invention. This destination communication device is mainly composed of a lower communication layer that is often implemented as hardware and an upper control layer that is mainly implemented as software or firmware. The upper control layer includes a data processing unit 31, an upper control layer time management unit 32, a frame analysis unit 33, and a comparison processing unit 34. The lower communication layer includes a communication management unit 35 and a lower communication layer time management unit 36.

データ処理部31は、受信データに付与されているタイムスタンプを基に受信データを処理する。なお、データ処理部31が受信データを処理するタイミングは、上位制御層時刻管理部32から取得した補正時刻情報と、受信データに付与されているタイムスタンプとを照合することによって判断される。また、受信データはフレーム解析部33から供給される。   The data processing unit 31 processes the received data based on the time stamp given to the received data. Note that the timing at which the data processing unit 31 processes the received data is determined by collating the correction time information acquired from the upper control layer time management unit 32 with the time stamp given to the received data. Received data is supplied from the frame analysis unit 33.

上位制御層時刻管理部32は、自走クロックを有し、自走クロックから時刻情報を生成し、比較処理部34から得られる総合比較値を用いて補正時刻情報を生成する。また、上位制御層時刻管理部32は、データ処理部31からの要求に応じて、データ処理部31に補正時刻情報を与える。また、上位制御層時刻管理部32は、比較処理部34からの要求に応じて、比較処理部34に時刻情報を与える。   The upper control layer time management unit 32 has a free-running clock, generates time information from the free-running clock, and generates corrected time information using the total comparison value obtained from the comparison processing unit 34. Further, the upper control layer time management unit 32 provides the correction time information to the data processing unit 31 in response to a request from the data processing unit 31. In addition, the upper control layer time management unit 32 provides time information to the comparison processing unit 34 in response to a request from the comparison processing unit 34.

フレーム解析部33は、通信管理部35から受けた受信フレームに対して、受信先通信機器3が接する同期通信網のプロトコル仕様に従ってフレーム解析処理を行なう。フレーム解析部33は、フレーム解析処理で得られるタイムスタンプが付与された受信データをデータ処理部に与える。また、フレーム解析部33は、フレーム解析処理で得られる比較情報を比較処理部34に与える。   The frame analysis unit 33 performs frame analysis processing on the received frame received from the communication management unit 35 in accordance with the protocol specification of the synchronous communication network with which the destination communication device 3 is in contact. The frame analysis unit 33 gives the data processing unit the received data to which the time stamp obtained by the frame analysis process is added. Further, the frame analysis unit 33 gives comparison information obtained by the frame analysis processing to the comparison processing unit 34.

比較処理部34は、後述する時刻管理テーブル、比較値の算出テーブルおよび比較値テーブルを有し、上位制御層時刻管理部32および下位通信層時刻情報管理部36から時刻情報を取得して時刻管理テーブルに記憶する。また、比較処理部34は、フレーム解析部33から受けた比較情報を比較値テーブルに記憶する。また、比較処理部34は、時刻管理テーブルに記憶している時刻情報を基に比較値の算出テーブルを用いて比較値の算出を行い、算出結果である比較値を受信先通信機器3の比較値として比較値テーブルに記憶する。また、比較処理部34は、比較値テーブルに記憶されている比較値から総合比較値を算出して上位制御層時刻管理部32に通知する。   The comparison processing unit 34 includes a time management table, a comparison value calculation table, and a comparison value table, which will be described later, and acquires time information from the upper control layer time management unit 32 and the lower communication layer time information management unit 36 to perform time management. Store in the table. Further, the comparison processing unit 34 stores the comparison information received from the frame analysis unit 33 in the comparison value table. Further, the comparison processing unit 34 calculates a comparison value using a comparison value calculation table based on the time information stored in the time management table, and compares the comparison value as a calculation result with the destination communication device 3. Stored in the comparison value table as a value. In addition, the comparison processing unit 34 calculates a total comparison value from the comparison values stored in the comparison value table, and notifies the higher control layer time management unit 32 of the total comparison value.

通信管理部35は、受信先通信機器3が接する第3同期通信網6に対して通信処理を行なう。この時の通信処理は第3同期通信網6で採用されるプロトコル仕様に準じるものとする。また、通信管理部35は、第3同期通信網6からデータフレームを受け取った際に、フレーム解析部33にデータフレームを与える。また、通信管理部35は、第3同期通信網6から同期通信網の同期タイミングに関する情報を受け取った場合は、下位通信層時刻管理部36にその情報を通知する。   The communication management unit 35 performs communication processing with respect to the third synchronous communication network 6 with which the destination communication device 3 is in contact. The communication process at this time conforms to the protocol specification adopted in the third synchronous communication network 6. The communication management unit 35 gives the data frame to the frame analysis unit 33 when receiving the data frame from the third synchronous communication network 6. When the communication management unit 35 receives information related to the synchronization timing of the synchronous communication network from the third synchronous communication network 6, the communication management unit 35 notifies the lower communication layer time management unit 36 of the information.

下位通信層時刻管理部36は、受信先通信機器3が接する第3同期通信網6の同期タイミングに基づく時刻情報を管理し、比較処理部34からの要求に従い時刻情報を比較処理部34に通知する。また、通信管理部35から得られる第3同期通信網6の同期タイミングに関する情報を基に時刻情報の調整を行う。   The lower communication layer time management unit 36 manages time information based on the synchronization timing of the third synchronous communication network 6 with which the destination communication device 3 is in contact, and notifies the comparison processing unit 34 of the time information in accordance with a request from the comparison processing unit 34. To do. Further, the time information is adjusted based on the information related to the synchronization timing of the third synchronous communication network 6 obtained from the communication management unit 35.

図7〜図9は、本発明の第1の実施の形態における伝送経路において、基本型比較情報を受信先通信機器3に伝達することで、送信元通信機器2と受信先通信機器3とを同期させる処理手順を説明するためのフローチャートである。   7 to 9 show that the transmission source communication device 2 and the destination communication device 3 are connected to each other by transmitting basic type comparison information to the destination communication device 3 in the transmission path according to the first embodiment of the present invention. It is a flowchart for demonstrating the process sequence to synchronize.

図7は、本発明の第1の実施の形態における送信元通信機器2の処理手順を説明するためのフローチャートである。まず、データ処理部21は、受信先通信機器3に送信したいデータがあるか否かを判定する(S11)。送信したいデータがない場合には(S11,No)、ステップS11の処理を繰返す。   FIG. 7 is a flowchart for explaining the processing procedure of the transmission source communication device 2 according to the first embodiment of the present invention. First, the data processing unit 21 determines whether there is data to be transmitted to the receiving communication device 3 (S11). If there is no data to be transmitted (S11, No), the process of step S11 is repeated.

送信したいデータがある場合には(S11,Yes)、データ処理部21は上位制御層時刻管理部22から時刻情報を取得し(S12)、その情報をタイムスタンプとして送信したいデータに付与し、フレーム構築部23に送出する(S13)。フレーム構築部23は、タイムスタンプが付与されたデータを受けると、比較値の取得を行なうか否かを判定する(S14)。比較値の取得を行なわない場合には(S14,No)、ステップS17へ処理が進む。   If there is data to be transmitted (S11, Yes), the data processing unit 21 obtains time information from the upper control layer time management unit 22 (S12), assigns the information to the data to be transmitted as a time stamp, The data is sent to the construction unit 23 (S13). When receiving the data with the time stamp, the frame construction unit 23 determines whether or not to acquire a comparison value (S14). If the comparison value is not acquired (S14, No), the process proceeds to step S17.

また、比較値の取得を行なう場合には(S14,Yes)、比較処理部24から比較値を取得し(S15)、さらに識別情報記憶部25から識別情報を取得する(S16)。なお、比較値の取得判断は、フレーム内の比較値を格納するフィールドにまだ有効なデータが格納されていない場合に、比較値を格納するかどうかを判断することを示す。   When the comparison value is acquired (S14, Yes), the comparison value is acquired from the comparison processing unit 24 (S15), and the identification information is acquired from the identification information storage unit 25 (S16). Note that the comparison value acquisition determination indicates that it is determined whether or not to store a comparison value when valid data is not yet stored in the field storing the comparison value in the frame.

基本型比較情報を取り扱う場合、一定の間隔で比較情報を送出したい場合には取得カウンタが用意され、フレーム化処理が行われる毎に取得カウンタをインクリメントしてゆき、カウンタが一定数に達した時に比較値を取得するようにする方法が考えられる。たとえば、一定数を10に設定したとすると、フレーム化処理を10回行うたびに1回は比較値を取得する処理が併せて行われることになる。   When handling basic comparison information, if you want to send comparison information at regular intervals, an acquisition counter is prepared, and the acquisition counter is incremented every time framing processing is performed, and when the counter reaches a certain number A method for obtaining a comparison value is conceivable. For example, if the fixed number is set to 10, every time the framing process is performed 10 times, the process of acquiring the comparison value is performed once.

また、比較情報の送出間隔を一定にしない場合には、乱数発生装置を利用してフレーム化処理が行われる際に乱数を発生させ、乱数値がある固有の値を下回った時に比較値を取得する方法などが考えられる。たとえば、固有の値を15に設定し、乱数を0から99の間で発生させたとすると、フレーム化処理が行われる際に15%の確率で比較値を取得する処理が合わせて行われることになる。   In addition, when the comparison information transmission interval is not constant, a random number is generated when a framing process is performed using a random number generator, and a comparison value is obtained when the random value falls below a specific value. Possible ways to do this. For example, if the unique value is set to 15 and a random number is generated between 0 and 99, when the framing process is performed, the process of acquiring the comparison value with a probability of 15% is performed together. Become.

次に、フレーム構築部23は、タイムスタンプが付与されたデータを送信元通信機器2が接する第1同期通信網4が採用するプロトコル仕様に基づいてフレーム化処理を行う(S17)。なお、比較値の取得処理を行なう場合は、フレーム化処理時に、取得した比較値の情報と識別情報とから生成される基本型比較情報を併せてフレーム化する。   Next, the frame construction unit 23 performs framing processing based on the protocol specification adopted by the first synchronous communication network 4 with which the transmission source communication device 2 is in contact with the data with the time stamp (S17). When the comparison value acquisition process is performed, basic type comparison information generated from the acquired comparison value information and the identification information is framed together during the framing process.

図10(a)は、基本型比較情報の一例を示す図である。この基本型比較情報は、送信元通信機器2を特定するための装置識別情報と、比較値の情報とを含む。   FIG. 10A shows an example of basic type comparison information. The basic type comparison information includes device identification information for specifying the transmission source communication device 2 and comparison value information.

また、図11(a)は、フレーム構築部23が生成するデータフレームの一例を示す図である。このデータフレームは、データ識別子と、受信先アドレスと、送信元アドレスと、タイムスタンプと、データ長と、データ格納領域と、比較情報フィールドとを含む。   FIG. 11A is a diagram illustrating an example of a data frame generated by the frame construction unit 23. This data frame includes a data identifier, a destination address, a transmission source address, a time stamp, a data length, a data storage area, and a comparison information field.

データ識別子は、このフレームがデータフレームであることを示す。受信先アドレスは、受信先通信機器3を特定するためのアドレス情報を示し、たとえば受信先通信機器3のIP(Internet Protocol)アドレスやMAC(Media Access Control)アドレスなどが用いられる。送信元アドレスは、送信元通信機器2を特定するためのアドレス情報を示し、たとえば送信元通信機器2のIPアドレスやMACアドレスなどが用いられる。   The data identifier indicates that this frame is a data frame. The receiving destination address indicates address information for specifying the receiving destination communication device 3, and for example, an IP (Internet Protocol) address or a MAC (Media Access Control) address of the receiving destination communication device 3 is used. The transmission source address indicates address information for specifying the transmission source communication device 2, and for example, the IP address or the MAC address of the transmission source communication device 2 is used.

図12(a)は、比較情報フィールドに格納される比較情報フォーマットを示す図である。比較情報フォーマットは、フォーマットタイプと、受信先通信機器のアドレス情報と、送信元通信機器のアドレス情報と、比較情報内容とを含む。   FIG. 12A shows a comparison information format stored in the comparison information field. The comparison information format includes a format type, address information of a destination communication device, address information of a transmission source communication device, and comparison information contents.

図12(b)は、フォーマットタイプを説明するためのテーブルを示す図である。図11(a)に示すデータフレームの場合には、既にアドレス情報が格納されているため、比較情報フォーマット内のアドレス情報フィールドは省略可能である。また、比較情報内容には、基本型比較情報が格納されるため、図12(a)に示すデータフレームのフォーマットタイプは、「00000001」となる。   FIG. 12B is a diagram illustrating a table for explaining the format type. In the case of the data frame shown in FIG. 11A, since the address information is already stored, the address information field in the comparison information format can be omitted. Further, since the basic type comparison information is stored in the comparison information content, the format type of the data frame shown in FIG. 12A is “00000001”.

その結果、フレーム構築部23が生成するフレームの構成は、図11(d)に示すものとなる。なお、フレーム構築部23が比較値の取得を行っていない場合は、基本型比較情報を格納するフィールドを零で満たすなどして基本型比較情報が格納されていないこと示すようにする。   As a result, the configuration of the frame generated by the frame construction unit 23 is as shown in FIG. If the frame construction unit 23 has not acquired the comparison value, the field for storing the basic type comparison information is filled with zero to indicate that the basic type comparison information is not stored.

次に、フレーム構築部23は、生成したデータフレームを通信管理部26に与える(S18)。通信管理部26は、受けたデータフレームを送信元通信機器2が接する第1同期通信網4に対して送出を行ない(S19)、ステップS11に戻って以降の処理を繰返す。   Next, the frame construction unit 23 gives the generated data frame to the communication management unit 26 (S18). The communication management unit 26 transmits the received data frame to the first synchronous communication network 4 with which the transmission source communication device 2 is in contact (S19), returns to step S11, and repeats the subsequent processing.

図8は、本発明の第1の実施の形態における通信装置1の処理手順を説明するためのフローチャートである。まず、第1通信管理部14は、データフレームを受信したか否かを判定する(S21)。データフレームを受信していない場合には(S21,No)、ステップS21の処理が繰返される。   FIG. 8 is a flowchart for explaining the processing procedure of the communication apparatus 1 according to the first embodiment of the present invention. First, the first communication management unit 14 determines whether or not a data frame has been received (S21). If no data frame has been received (S21, No), the process of step S21 is repeated.

第1通信管理部14がデータフレームを受信した場合には(S21,Yes)、受信したデータフレームをフレーム処理部11に送出する(S22)。フレーム処理部11は、第1通信管理部14から受けたデータフレームを、第1同期通信網4が採用するプロトコル仕様に基づいてフレーム解析を行う(S23)。データフレーム内に比較情報が格納されている場合には(S24,No)、ステップS28に処理が進む。   When the first communication management unit 14 receives the data frame (S21, Yes), it sends the received data frame to the frame processing unit 11 (S22). The frame processing unit 11 performs frame analysis on the data frame received from the first communication management unit 14 based on the protocol specifications adopted by the first synchronous communication network 4 (S23). If the comparison information is stored in the data frame (S24, No), the process proceeds to step S28.

また、データフレーム内に比較情報が格納されていない場合には(S24,Yes)、フレーム処理部11は、比較値の取得を行なうか否かを判定する(S25)。なお、比較値の取得の判断には、送信元通信装置2のフレーム構築部23の処理で説明した取得カウンタや乱数発生装置を用いた手法が考えられる。比較値を取得しない場合には(S25,No)、ステップS28に処理が進む。   If comparison information is not stored in the data frame (S24, Yes), the frame processing unit 11 determines whether or not to acquire a comparison value (S25). Note that the method of using the acquisition counter or the random number generator described in the processing of the frame construction unit 23 of the transmission source communication device 2 can be considered for the determination of the acquisition of the comparison value. If the comparison value is not acquired (S25, No), the process proceeds to step S28.

比較値を取得する場合には(S25,Yes)、フレーム処理部11は、比較処理部13から比較値の情報を取得し(S26)、さらに識別情報記憶部12から識別情報の取得を行う(S27)。次に、フレーム処理部11は、フレームの解析結果を基に第2同期通信網5が採用するプロトコル仕様に基づいてフレームの再構築を行う(S28)。なお、比較値の取得処理を行っている場合はフレームの再構築時に、取得した比較値の情報と識別情報から生成される基本型比較情報を併せてフレーム化するようにする。基本型比較情報を併せてフレーム化する方法は、送信元通信機器2のフレーム構築部23の処理で説明したものと同様である。   When acquiring the comparison value (S25, Yes), the frame processing unit 11 acquires the information of the comparison value from the comparison processing unit 13 (S26), and further acquires the identification information from the identification information storage unit 12 ( S27). Next, the frame processing unit 11 reconstructs the frame based on the protocol specification adopted by the second synchronous communication network 5 based on the analysis result of the frame (S28). When the comparison value acquisition process is performed, the basic type comparison information generated from the acquired comparison value information and the identification information is framed at the time of frame reconstruction. The method of framing the basic comparison information together is the same as that described in the processing of the frame construction unit 23 of the transmission source communication device 2.

次に、フレーム処理部11は、再構築したデータフレームを第2通信管理部16に送出する(S29)。第2通信管理部16は、フレーム処理部11から受けたデータフレームを第2同期通信網5に対して送出し(S30)、ステップS21に戻って以降の処理を繰返す。   Next, the frame processing unit 11 sends the reconstructed data frame to the second communication management unit 16 (S29). The second communication management unit 16 sends the data frame received from the frame processing unit 11 to the second synchronous communication network 5 (S30), returns to step S21, and repeats the subsequent processing.

図9は、本発明の第1の実施の形態における受信先通信機器3の処理手順を説明するためのフローチャートである。まず、通信管理部35は、データフレームを受信したか否かを判定する(S31)。データフレームを受信していなければ(S31,No)、ステップS31の処理を繰返す。   FIG. 9 is a flowchart for explaining the processing procedure of the receiving communication apparatus 3 according to the first embodiment of the present invention. First, the communication manager 35 determines whether a data frame has been received (S31). If no data frame has been received (S31, No), the process of step S31 is repeated.

データフレームを受信した場合には(S31,Yes)、通信管理部35は、受信したデータフレームをフレーム解析部33に送出する(S32)。フレーム解析部33は、受けたデータフレームを受信先通信機器3が接する第3同期通信網6の採用するプロトコル仕様に基づいてフレーム解析を行う(S33)。データフレーム内に比較情報が格納されていない場合には(S34,No)、ステップS36へ処理が進む。   When the data frame is received (S31, Yes), the communication management unit 35 sends the received data frame to the frame analysis unit 33 (S32). The frame analysis unit 33 performs frame analysis on the received data frame based on the protocol specification adopted by the third synchronous communication network 6 with which the destination communication device 3 is in contact (S33). If the comparison information is not stored in the data frame (S34, No), the process proceeds to step S36.

データフレーム内に比較情報が格納されている場合には(S34,Yes)、比較情報を比較処理部34に送出する(S35)。そして、フレーム解析部33は、データフレームからタイムスタンプが付与されたデータを取出してデータ処理部31に送出する(S36)。   If comparison information is stored in the data frame (S34, Yes), the comparison information is sent to the comparison processing unit 34 (S35). Then, the frame analysis unit 33 extracts data with a time stamp from the data frame and sends it to the data processing unit 31 (S36).

データ処理部31は、タイムスタンプが付与されたデータを、そのタイムスタンプが付与されたデータを処理するタイミングが来るまでジッタ吸収バッファに格納し(S37)、ステップS31に戻って以降の処理を繰返す。   The data processing unit 31 stores the data with the time stamp in the jitter absorption buffer until the timing for processing the data with the time stamp comes (S37), returns to step S31, and repeats the subsequent processing. .

以上の図7〜図9に示す処理によって、送信元通信機器2から受信先通信機器3に対してデータが伝送される。   The data shown in FIG. 7 to FIG. 9 is transmitted from the transmission source communication device 2 to the reception destination communication device 3.

次に、本発明の第1の実施の形態における比較値を求める手法について説明を行う。なお、送信元通信機器2、通信装置1および受信先通信機器3のそれぞれの比較処理部13、24および34において比較値を求める処理が行われるが、比較値を求める対象が異なるだけで演算方法は同じであるので、通信装置1を代表にして説明を行うことにする。   Next, a method for obtaining a comparison value in the first embodiment of the present invention will be described. In addition, although the process which calculates | requires a comparison value is performed in each comparison process part 13, 24, and 34 of the transmission origin communication apparatus 2, the communication apparatus 1, and the receiving destination communication apparatus 3, only the object which calculates | requires a comparison value differs, and the calculation method Since these are the same, the communication device 1 will be described as a representative.

図13は、比較値を演算するために必要となる時刻情報を時刻管理テーブルに記憶する処理手順を説明するためのフローチャートである。比較処理部13は、時刻情報取得フラグを有しおり、この時刻情報取得フラグがONであるか否かを判定する(S41)。時刻情報取得フラグがONでない場合には(S41,No)、ステップS45へ処理が進む。また、時刻情報取得フラグがONの場合には(S41,Yes)、比較処理部13は、第1時刻管理部15と第2時刻管理部17とから時刻情報を取得する(S42)。   FIG. 13 is a flowchart for explaining a processing procedure for storing time information necessary for calculating the comparison value in the time management table. The comparison processing unit 13 has a time information acquisition flag, and determines whether or not this time information acquisition flag is ON (S41). If the time information acquisition flag is not ON (S41, No), the process proceeds to step S45. When the time information acquisition flag is ON (S41, Yes), the comparison processing unit 13 acquires time information from the first time management unit 15 and the second time management unit 17 (S42).

図14(a)は、通信装置1の時刻管理テーブルの一例を示す図である。この時刻管理テーブルは、比較処理部13が、50ms毎に第1の時刻管理部15および第2の時刻管理部17から時刻情報を取得する場合を示している。   FIG. 14A is a diagram illustrating an example of the time management table of the communication device 1. This time management table shows a case where the comparison processing unit 13 acquires time information from the first time management unit 15 and the second time management unit 17 every 50 ms.

図14(b)は、送信元通信機器2または受信先通信機器3の時刻管理テーブルの一例を示す図である。この時刻管理テーブルは、比較処理部24または34が、50ms毎に上位制御層時刻管理部22または32と、下位通信層時刻管理部27または36とから時刻情報を取得する場合を示している。   FIG. 14B is a diagram illustrating an example of a time management table of the transmission source communication device 2 or the reception destination communication device 3. This time management table shows a case where the comparison processing unit 24 or 34 acquires time information from the upper control layer time management unit 22 or 32 and the lower communication layer time management unit 27 or 36 every 50 ms.

次に、比較処理部13は、取得した時刻情報を時刻管理テーブルに登録し(S43)、時刻情報取得フラグをOFFにする(S44)。そして、比較処理部13は、時刻カウンタを確認し(S45)、時刻の経過量が50msを超えたときに時刻情報取得フラグをONにし(S46)、時刻カウンタを零にリセットする(S47)。そして、ステップS41に戻って以降の処理を繰返す。   Next, the comparison processing unit 13 registers the acquired time information in the time management table (S43), and turns off the time information acquisition flag (S44). Then, the comparison processing unit 13 checks the time counter (S45), turns on the time information acquisition flag when the elapsed time exceeds 50 ms (S46), and resets the time counter to zero (S47). Then, the process returns to step S41 and the subsequent processing is repeated.

以上の処理によって、およそ50msの一定間隔で時刻情報の取得動作を行うことが可能である。時刻カウンタの手法はあくまでも一例で、時刻情報の取得は必ずしも一定間隔で行う必要はなく、たとえばフレーム処理部11から比較値の要求などがなされた時に時刻情報取得フラグをONにする方法であってもよい。   With the above processing, it is possible to perform the time information acquisition operation at a constant interval of about 50 ms. The time counter method is merely an example, and it is not always necessary to acquire time information at regular intervals. For example, the time information acquisition flag is turned on when a request for a comparison value is made from the frame processing unit 11. Also good.

図14(c)は、比較値の算出テーブルの一例を示す図である。この比較値の算出テーブルは、第1時刻管理部15の時刻情報の変化量と、第2時刻管理部17の時刻情報の変化量と、第1時刻管理部15の時刻情報の変化量と第2時刻管理部17の時刻情報の変化量との比率とを含む。比較処理部13は、時刻管理テーブルに記憶された時刻情報からそれぞれの観測区間での時刻情報の変化量を演算し、その変化量の比を求めて比較値の算出テーブルに格納する。   FIG. 14C is a diagram illustrating an example of a comparison value calculation table. The comparison value calculation table includes a change amount of time information of the first time management unit 15, a change amount of time information of the second time management unit 17, a change amount of time information of the first time management unit 15, 2 and the ratio with the change amount of the time information of the time management unit 17. The comparison processing unit 13 calculates a change amount of the time information in each observation section from the time information stored in the time management table, obtains a ratio of the change amounts, and stores it in the comparison value calculation table.

各観測区間での変化量の比の平均値をとることで比較値を求めることができる。なお、各観測区間での変化量の比の大きな値の10%と小さな値の10%とを除いた残りの80%の比から平均値を取って比較値を求める方法でもよい。こうすることで、同期通信網の同期タイミングを管理している端末が交代するようなケースで正常な時刻情報が観測できていない区間が発生しているときでも、その情報を取り除くことができるため、正確な比較値を求めることが可能となる。   The comparison value can be obtained by taking the average value of the ratios of changes in each observation section. Alternatively, a method may be used in which a comparison value is obtained by taking an average value from the remaining 80% ratio excluding 10% of the large value ratio and 10% of the small value ratio in each observation section. By doing this, even if there is a section where normal time information cannot be observed in the case where the terminal managing the synchronization timing of the synchronous communication network changes, the information can be removed. It is possible to obtain an accurate comparison value.

図15は、本発明の第1の実施の形態における伝送経路の総合比較値を生成する処理を説明するための図である。図15(a)は、送信元通信機器2、通信装置1a,1b,1cおよび受信先通信機器3の識別情報および算出された比較値を示す図である。   FIG. 15 is a diagram for describing processing for generating a total comparison value of transmission paths according to the first embodiment of this invention. FIG. 15A is a diagram illustrating identification information and calculated comparison values of the transmission source communication device 2, the communication devices 1a, 1b, and 1c, and the reception destination communication device 3.

図15(b)は、受信先通信機器3が有する比較値テーブルを示す図である。受信先通信機器3の比較処理部34は、受信先通信機器3のフレーム解析部33から、送信元通信機器2、通信装置1a,1bおよび1cから受信した比較情報を受けると、比較値と識別情報とを比較値テーブルに記憶してゆく。また、受信先通信機器3の比較処理部34は、受信先通信機器3自身の比較情報も記憶する。図15(a)に示す伝送経路の場合には、図15(b)に示す比較値テーブルが作成される。   FIG. 15B is a diagram illustrating a comparison value table included in the destination communication device 3. When receiving the comparison information received from the transmission source communication device 2 and the communication devices 1a, 1b, and 1c from the frame analysis unit 33 of the reception destination communication device 3, the comparison processing unit 34 of the reception destination communication device 3 identifies the comparison value. Information is stored in the comparison value table. Further, the comparison processing unit 34 of the reception destination communication device 3 also stores comparison information of the reception destination communication device 3 itself. In the case of the transmission path shown in FIG. 15A, the comparison value table shown in FIG. 15B is created.

図16は、受信先通信機器3の比較処理部34が総合比較情報を算出するときの処理手順を説明するためのフローチャートである。比較処理部34は、比較値テーブルの情報が更新されているか否かを判定する(S51)。比較値テーブルの情報が更新されていなければ(S51,No)、ステップS51の処理を繰返す。また、比較値テーブルの情報が更新されていれば(S51、Yes)、比較処理部34は、比較値テーブルに経路上の全ての比較値が揃っているか否かを確認する(S52)。   FIG. 16 is a flowchart for explaining a processing procedure when the comparison processing unit 34 of the destination communication device 3 calculates the comprehensive comparison information. The comparison processing unit 34 determines whether the information in the comparison value table has been updated (S51). If the information in the comparison value table has not been updated (S51, No), the process of step S51 is repeated. If the information in the comparison value table has been updated (S51, Yes), the comparison processing unit 34 checks whether or not all comparison values on the route are in the comparison value table (S52).

まだ揃っていない比較値がある場合には(S52,No)、ステップS51に戻って以降の処理を繰返す。また、全ての比較値が揃っている場合には(S52,Yes)、比較処理部34は、比較値テーブルにある経路上の全ての比較値を掛け算し(S53)、その結果を総合比較値として上位制御層時刻管理部32に通知する(S54)。なお、総合比較値は、送信元通信機器2の上位制御層時刻管理部22と受信先通信機器3の上位制御層時刻管理部32とにおける時刻情報の変化量の比と等しい。   If there is a comparison value that has not been prepared yet (S52, No), the process returns to step S51 and the subsequent processing is repeated. When all the comparison values are available (S52, Yes), the comparison processing unit 34 multiplies all the comparison values on the path in the comparison value table (S53), and the result is the total comparison value. To the upper control layer time management unit 32 (S54). The total comparison value is equal to the ratio of the amount of change in time information between the upper control layer time management unit 22 of the transmission source communication device 2 and the upper control layer time management unit 32 of the reception destination communication device 3.

図17は、総合比較値が、送信元通信機器2の上位制御層時刻管理部22における時刻情報の変化量と、受信先通信機器3の上位制御層時刻管理部32における時刻情報の変化量との比に等しいことを説明するための図である。図17内の時計の図は、同期タイミングの整合性を表しており、同じ時計の図になっている組み合わせの箇所の時刻情報は、その変化量が等しいことを示している。   FIG. 17 shows that the total comparison value is the amount of change in time information in the upper control layer time management unit 22 of the transmission source communication device 2 and the amount of change in time information in the upper control layer time management unit 32 of the destination communication device 3. It is a figure for demonstrating that it is equal to ratio. The clock diagram in FIG. 17 represents the consistency of the synchronization timing, and the time information of the combination portion in the same clock diagram indicates that the amount of change is equal.

たとえば、第1同期通信網4が持つ同期タイミングが、第1同期通信網4と接している送信元通信機器2の下位通信層時刻管理部27と、通信装置1aの第1時刻管理部15とに同期している状態であることが分かる。そして、通信経路上で隣接する時刻情報が同期していない箇所については、その同期タイミングの異なりを示す比較値が存在している。   For example, the synchronization timing of the first synchronous communication network 4 includes the lower communication layer time management unit 27 of the transmission source communication device 2 that is in contact with the first synchronous communication network 4, and the first time management unit 15 of the communication device 1a. It can be seen that it is in a synchronized state. And about the location where the time information which adjoins on a communication path | route is not synchronizing, the comparison value which shows the difference in the synchronization timing exists.

図17(a)においては、4つの比較値CS1,C12,C23,C3Rが存在し、これらの4つの比較値を掛け算すると、図17(b)にあるように伝送路途中の同期タイミングの差が相殺されるため、送信元通信機器2の上位制御層時刻管理部22における時刻情報の変化量と、受信先通信機器3の上位制御層時刻管理部32における時刻情報の変化量との比となる総合比較値Ctotalが求められることが分かる。 In FIG. 17A, there are four comparison values C S1 , C 12 , C 23 , and C 3R . When these four comparison values are multiplied, as shown in FIG. Since the difference in synchronization timing is offset, the amount of change in time information in the upper control layer time management unit 22 of the source communication device 2 and the amount of change in time information in the upper control layer time management unit 32 of the destination communication device 3 It can be seen that a total comparison value C total which is a ratio to the above is obtained.

このように、受信先通信機器3の上位制御層時刻管理部32は、総合比較値を計算し、受信先通信機器3の上位制御層時刻管理部32の持つ自走クロックから作り出された時刻情報に、計算した総合比較値を掛け算することで、送信元通信機器2の上位制御層時刻管理部22の持つ自走クロックから作り出された時刻情報と同じ時刻変化を行う補正時刻情報を生成することが可能となる。   As described above, the upper control layer time management unit 32 of the destination communication device 3 calculates the total comparison value, and the time information generated from the free-running clock possessed by the upper control layer time management unit 32 of the reception destination communication device 3. By multiplying the calculated total comparison value, the corrected time information that generates the same time change as the time information generated from the self-running clock of the higher control layer time management unit 22 of the transmission source communication device 2 is generated. Is possible.

以上説明したように、本実施の形態においては、送信元通信機器2および通信装置1が、それぞれ装置識別情報および比較値を受信先通信機器3に送信し、受信先通信機器3が装置識別情報および比較値に基づいて総合比較値を算出して時刻情報を補正するようにしたので、同期通信網における同期タイミングを整合させることなく、送信元通信機器2の上位層における時刻情報と、受信先通信機器3の上位層における時刻情報とだけを同期させることが可能となった。   As described above, in the present embodiment, the transmission source communication device 2 and the communication device 1 respectively transmit device identification information and a comparison value to the reception destination communication device 3, and the reception destination communication device 3 receives the device identification information. Since the time information is corrected by calculating the total comparison value based on the comparison value, the time information in the higher layer of the transmission source communication device 2 and the reception destination without matching the synchronization timing in the synchronous communication network Only the time information in the upper layer of the communication device 3 can be synchronized.

(第2の実施の形態)
本発明の第2の実施の形態における通信装置1、送信元通信機器2および受信先通信機器3の機能的構成および処理手順は、本発明の第1の実施の形態において説明したものと以下の点を除いて同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Second Embodiment)
The functional configurations and processing procedures of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 in the second embodiment of the present invention are the same as those described in the first embodiment of the present invention and the following. It is the same except for the point. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図10(b)は、本発明の第2の実施の形態における定形型比較情報の一例を示す図である。この定形型比較情報は、送信元通信機器2から受信先通信機器3までの経路上にある全ての装置識別情報および比較値を格納するフィールドを有する。送信元通信機器2のフレーム構築部23および通信装置1のフレーム処理部11は、第1の実施の形態で説明したような取得カウンタや乱数発生装置を用いた比較値の格納処理を行うかどうかの判断を行わず、フレームの定形型比較情報に必ず自身が計算した比較値と識別情報とを格納する。   FIG.10 (b) is a figure which shows an example of the fixed form comparison information in the 2nd Embodiment of this invention. This fixed form comparison information has a field for storing all device identification information and comparison values on the path from the transmission source communication device 2 to the reception destination communication device 3. Whether the frame construction unit 23 of the transmission source communication device 2 and the frame processing unit 11 of the communication device 1 perform the comparison value storing process using the acquisition counter or the random number generation device as described in the first embodiment. The comparison value and the identification information calculated by itself are always stored in the standard comparison information of the frame.

また、エラーなどにより比較値が得られない場合は、定形型比較情報の所定の比較値を格納する場所に無効を示す値を格納する。無効を示す値として、たとえば「0xFFFFFFFF」や「0x00000000」などが用いられる。   Further, when a comparison value cannot be obtained due to an error or the like, a value indicating invalidity is stored in a place where a predetermined comparison value of the fixed form comparison information is stored. For example, “0xFFFFFFFF” or “0x00000000” is used as a value indicating invalidity.

図18は、第2の実施の形態における受信先通信機器3の比較処理部34による総合比較値の算出を説明するためのフローチャートである。まず、比較処理部34は、比較値テーブルの情報が更新されているか否かを判定する(S61)。比較値テーブルの情報が更新されていなければ(S61,No)、ステップS61の処理を繰返す。   FIG. 18 is a flowchart for explaining the calculation of the total comparison value by the comparison processing unit 34 of the destination communication device 3 in the second embodiment. First, the comparison processing unit 34 determines whether or not the information in the comparison value table has been updated (S61). If the information in the comparison value table has not been updated (S61, No), the process of step S61 is repeated.

また、比較値テーブルの情報が更新されている場合には(S61,Yes)、比較処理部34は、比較値テーブルに格納される経路上の全ての比較値が有効であるか否かを判定する(S62)。なお、比較値が有効であるか否かの判断は、上述したような比較値が「0xFFFFFFFF」や「0x00000000」でないことを確認することによって行なわれる。   If the information in the comparison value table has been updated (S61, Yes), the comparison processing unit 34 determines whether or not all comparison values on the path stored in the comparison value table are valid. (S62). Whether or not the comparison value is valid is determined by confirming that the comparison value as described above is not “0xFFFFFFFF” or “0x00000000”.

有効でない比較値がある場合には(S62,No)、ステップS61に戻って以降の処理を繰返す。また、全ての比較値が有効である場合には(S62,Yes)、比較処理部34は、比較値テーブルにある経路上の全ての比較値を掛け算し(S63)、その結果を総合比較値として上位制御層時刻管理部32に通知する(S64)。   If there is a comparison value that is not valid (S62, No), the process returns to step S61 and the subsequent processing is repeated. If all the comparison values are valid (S62, Yes), the comparison processing unit 34 multiplies all the comparison values on the path in the comparison value table (S63), and the result is the total comparison value. To the upper control layer time management unit 32 (S64).

以上説明したように、本実施の形態においては、送信元通信機器2のフレーム構築部23および通信装置1のフレーム処理部11が、フレームの定形型比較情報に自身が計算した比較値を格納し、受信先通信機器3が定形型比較情報に基づいて総合比較値を算出して時刻情報を補正するようにしたので、第1の実施の形態において説明したのと同様の効果を奏することが可能となった。   As described above, in the present embodiment, the frame construction unit 23 of the transmission source communication device 2 and the frame processing unit 11 of the communication device 1 store the comparison values calculated by themselves in the frame-shaped comparison information. Since the destination communication device 3 calculates the total comparison value based on the fixed form comparison information and corrects the time information, it is possible to achieve the same effect as described in the first embodiment. It became.

(第3の実施の形態)
本発明の第3の実施の形態における通信装置1、送信元通信機器2および受信先通信機器3の機能的構成および処理手順は、本発明の第1の実施の形態において説明したものと以下の点を除いて同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Third embodiment)
The functional configurations and processing procedures of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 in the third embodiment of the present invention are the same as those described in the first embodiment of the present invention and the following. It is the same except for the point. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図10(c)は、本発明の第3の実施の形態における連結型比較情報を示す図である。第1の実施の形態においては、基本型比較情報に比較値を格納するフィールドが一つしか用意されていないため、既に有効な比較値が格納されている場合には、通信装置1のフレーム処理部11は比較値の取得処理を行わない。本実施の形態の連結型比較情報においては、装置識別情報および比較値を格納するフィールドが可変長型になっており、既に有効な値が格納されている場合でも、通信装置1のフレーム処理部11は、識別情報記憶部12から取得した識別情報および比較処理部13が算出した比較値を追加することが可能である。   FIG.10 (c) is a figure which shows the connection type comparison information in the 3rd Embodiment of this invention. In the first embodiment, only one field for storing a comparison value is prepared in the basic type comparison information. Therefore, when a valid comparison value is already stored, the frame processing of the communication device 1 is performed. The unit 11 does not perform comparison value acquisition processing. In the connection type comparison information according to the present embodiment, the field for storing the device identification information and the comparison value is a variable length type, and even if a valid value is already stored, the frame processing unit of the communication device 1 11 can add the identification information acquired from the identification information storage unit 12 and the comparison value calculated by the comparison processing unit 13.

フレーム処理部11は、識別情報および比較値を追加するとき、連結型比較情報の連結値のフィールドに格納されている連結値を1だけインクリメントする。なお、この連結値には、連結型比較情報に比較値が1つもない場合に0が格納される。   When adding the identification information and the comparison value, the frame processing unit 11 increments the concatenated value stored in the concatenated value field of the concatenated comparison information by one. In this connection value, 0 is stored when there is no comparison value in the connection type comparison information.

また、受信先通信機器3の比較処理部34による総合比較値の算出は、図18のフローチャートを用いて説明した処理手順と同様である。   In addition, the calculation of the total comparison value by the comparison processing unit 34 of the destination communication device 3 is the same as the processing procedure described with reference to the flowchart of FIG.

以上説明したように、本実施の形態においては、送信元通信機器2のフレーム構築部23および通信装置1のフレーム処理部11が、フレームの連結型比較情報に装置識別情報および自身が計算した比較値を追加し、受信先通信機器3が連結型比較情報に基づいて総合比較値を算出して時刻情報を補正するようにしたので、第1の実施の形態において説明したのと同様の効果を奏することが可能となった。   As described above, in the present embodiment, the frame construction unit 23 of the transmission source communication device 2 and the frame processing unit 11 of the communication device 1 compare the device identification information and the comparison calculated by itself with the frame connection type comparison information. Since the value is added and the destination communication device 3 calculates the total comparison value based on the connection type comparison information and corrects the time information, the same effect as described in the first embodiment can be obtained. It became possible to play.

(第4の実施の形態)
本発明の第4の実施の形態における通信装置1、送信元通信機器2および受信先通信機器3の機能的構成および処理手順は、本発明の第1の実施の形態において説明したものと以下の点を除いて同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Fourth embodiment)
The functional configurations and processing procedures of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 in the fourth embodiment of the present invention are the same as those described in the first embodiment of the present invention and the following. It is the same except for the point. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図10(d)は、本発明の第4の実施の形態における累積型比較情報を示す図である。この累積型比較情報は、累積フラグと、累積比較値とを含む。累積フラグは、累積比較値の情報が有効であるか否かを示すフラグである。送信元通信機器2のフレーム構築部23は、比較処理部24から比較値を取得して累積型比較情報の累積比較値にセットする。また、このとき累積フラグを、有効を示す値にする。   FIG. 10D is a diagram showing cumulative comparison information according to the fourth embodiment of the present invention. This cumulative comparison information includes a cumulative flag and a cumulative comparison value. The accumulation flag is a flag indicating whether or not the information of the accumulation comparison value is valid. The frame construction unit 23 of the transmission source communication device 2 acquires the comparison value from the comparison processing unit 24 and sets it to the cumulative comparison value of the cumulative type comparison information. At this time, the accumulation flag is set to a value indicating validity.

通信装置1のフレーム処理部11は、累積フラグが有効の場合、必ず比較処理部13から比較値を取得し、その比較値と累積型比較情報に格納されている累積比較値とを掛け算し、その結果を新たな累積比較値として累積型比較情報の累積比較値のフィールドを上書きする。もし、エラーなどで比較値を取得できなかったときは、累積型比較情報の累積フラグを無効にする。   When the accumulation flag is valid, the frame processing unit 11 of the communication device 1 always acquires the comparison value from the comparison processing unit 13, multiplies the comparison value and the accumulated comparison value stored in the accumulation type comparison information, Using the result as a new cumulative comparison value, the cumulative comparison value field of the cumulative comparison information is overwritten. If the comparison value cannot be acquired due to an error or the like, the accumulation flag of the accumulation type comparison information is invalidated.

受信先通信機器3のフレーム解析部33は、累積型比較情報の累積フラグが有効になっている場合のみ、累積比較情報を比較処理部34に送出する。比較処理部34は、上位制御層時刻管理部32の時刻情報および下位通信層時刻管理部36の時刻情報から算出した比較値と、累積比較値とを掛け算することで、総合比較情報を求める。   The frame analysis unit 33 of the destination communication device 3 sends the cumulative comparison information to the comparison processing unit 34 only when the cumulative flag of the cumulative type comparison information is valid. The comparison processing unit 34 obtains total comparison information by multiplying the comparison value calculated from the time information of the upper control layer time management unit 32 and the time information of the lower communication layer time management unit 36 and the cumulative comparison value.

以上説明したように、本実施の形態においては、通信装置1のフレーム処理部11が、フレームの累積型比較情報に、自身が計算した比較値と累積比較値とを掛け算した値を格納し、受信先通信機器3が累積型比較情報に基づいて総合比較値を算出して時刻情報を補正するようにしたので、第1の実施の形態において説明したのと同様の効果を奏することが可能となった。   As described above, in the present embodiment, the frame processing unit 11 of the communication device 1 stores a value obtained by multiplying the cumulative comparison information of the frame by the comparison value calculated by itself and the cumulative comparison value. Since the destination communication device 3 calculates the total comparison value based on the cumulative comparison information and corrects the time information, it is possible to achieve the same effect as described in the first embodiment. became.

また、送信元通信機器2から受信先通信機器3までの経路上の全ての比較情報を累積するため、装置識別情報が不要となりフレームに格納される情報量を削減することが可能となった。   Further, since all the comparison information on the path from the transmission source communication device 2 to the reception destination communication device 3 is accumulated, the device identification information becomes unnecessary, and the amount of information stored in the frame can be reduced.

(第5の実施の形態)
本発明の第5の実施の形態における通信装置1、送信元通信機器2および受信先通信機器3の機能的構成および処理手順は、本発明の第1の実施の形態において説明したものと以下の点を除いて同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Fifth embodiment)
The functional configurations and processing procedures of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 in the fifth embodiment of the present invention are the same as those described in the first embodiment of the present invention and the following. It is the same except for the point. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図11(b)は、比較情報フィールド付き制御フレームのフォーマット例を示す図である。この比較情報フィールド付き制御フレームは、制御フレームであることを示す制御識別子と、制御コマンドと、制御データ格納領域と、比較情報フィールドとを含む。   FIG. 11B is a diagram illustrating a format example of a control frame with a comparison information field. The control frame with the comparison information field includes a control identifier indicating that it is a control frame, a control command, a control data storage area, and a comparison information field.

図19は、本発明の第5の実施の形態における通信装置1の処理手順を説明するためのフローチャートである。なお、以下の説明は、一例として連結型比較情報の場合についてのものである。   FIG. 19 is a flowchart for explaining the processing procedure of the communication device 1 according to the fifth embodiment of the present invention. In addition, the following description is about the case of connection type comparison information as an example.

通信装置1の第1通信管理部14は、第1同期通信網4から制御フレームを受信したか否かを判定する(S71)。制御フレームを受信していなければ(S71,No)、ステップS76へ処理が進む。また、制御フレームを受信していれば(S71,Yes)、第1通信管理部14は、フレーム処理部11に制御フレームを送出する。フレーム処理部11は、受け取った制御フレームの解析処理を行ない(S72)、制御フレームに比較情報が載っているか否かを判定する(S73)。   The first communication management unit 14 of the communication device 1 determines whether a control frame is received from the first synchronous communication network 4 (S71). If the control frame has not been received (S71, No), the process proceeds to step S76. If the control frame is received (S71, Yes), the first communication management unit 14 sends the control frame to the frame processing unit 11. The frame processing unit 11 analyzes the received control frame (S72) and determines whether comparison information is included in the control frame (S73).

制御フレームに比較情報が載っていない場合には(S73,No)、ステップS75へ処理が進む。また、制御フレームに比較情報が載っている場合には(S73,Yes)、フレーム処理部11がその情報を記憶しておき(S74)、制御フレームで指示されている制御処理を実行する(S75)。なお、制御処理については、第1同期通信網4が採用しているプロトコル仕様に従う。   If comparison information is not included in the control frame (S73, No), the process proceeds to step S75. If the comparison information is included in the control frame (S73, Yes), the frame processing unit 11 stores the information (S74) and executes the control process indicated by the control frame (S75). ). In addition, about a control process, it follows the protocol specification which the 1st synchronous communication network 4 employ | adopts.

次に、フレーム処理部11は、第2同期通信網5に対して制御フレームを送出する必要があるか否かを判定する(S76)。制御フレームを送出する必要がない場合には(S76,No)、ステップS71に戻って以降の処理を繰返す。また、制御フレームを送出する必要がある場合には(S76,Yes)、制御内容を指示した制御フレームを生成する(S77)。なお、制御フレームを送出する条件やタイミング、指示内容については第2同期通信網5が採用しているプロトコル仕様に従う。   Next, the frame processing unit 11 determines whether or not it is necessary to send a control frame to the second synchronous communication network 5 (S76). If it is not necessary to send out the control frame (S76, No), the process returns to step S71 and the subsequent processing is repeated. If it is necessary to send a control frame (S76, Yes), a control frame instructing the control content is generated (S77). Note that the conditions, timing, and instruction contents for sending the control frame are in accordance with the protocol specifications adopted by the second synchronous communication network 5.

次に、フレーム処理部11は、比較情報を記憶しているか否かを判定する(S79)。比較情報を記憶していない場合には(S79,No)、ステップS81へ処理が進む。また、比較情報を記憶している場合には(S79,Yes)、その比較情報を生成した制御フレームに付加する(S80)。そして、フレーム処理部11は、生成した制御フレームを第2通信管理部16に送出し、第2通信管理部16は、第2同期通信網5に制御フレームを送出する(S81)。   Next, the frame processing unit 11 determines whether comparison information is stored (S79). If the comparison information is not stored (S79, No), the process proceeds to step S81. If the comparison information is stored (S79, Yes), the comparison information is added to the generated control frame (S80). Then, the frame processing unit 11 sends the generated control frame to the second communication management unit 16, and the second communication management unit 16 sends the control frame to the second synchronous communication network 5 (S81).

以上説明したように、本実施の形態においては、通信装置1のフレーム処理部11が、制御フレームに比較値を追加し、受信先通信機器3が制御フレームに追加された比較情報に基づいて総合比較値を算出して時刻情報を補正するようにしたので、第1の実施の形態において説明したのと同様の効果を奏することが可能となった。   As described above, in the present embodiment, the frame processing unit 11 of the communication device 1 adds the comparison value to the control frame, and the destination communication device 3 is based on the comparison information added to the control frame. Since the comparison value is calculated and the time information is corrected, it is possible to achieve the same effect as described in the first embodiment.

また、通信装置1は、制御フレームによって比較情報をリレーしてゆくことができるため、受信先通信機器3に比較情報を伝達することが可能となった。なお、制御フレームは一つの同期通信網内しか伝送されないフレームの一例として挙げたものであり、データフレームによっても同様の処理を行うことが可能である。   Further, since the communication device 1 can relay the comparison information by the control frame, it is possible to transmit the comparison information to the destination communication device 3. The control frame is given as an example of a frame that can be transmitted only within one synchronous communication network, and the same processing can be performed using a data frame.

(第6の実施の形態)
本発明の第6の実施の形態における通信装置1、送信元通信機器2および受信先通信機器3の機能的構成および処理手順は、本発明の第1の実施の形態において説明したものと以下の点を除いて同様である。したがって、重複する構成および機能の詳細な説明は繰返さない。
(Sixth embodiment)
The functional configurations and processing procedures of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 in the sixth embodiment of the present invention are the same as those described in the first embodiment of the present invention and the following. It is the same except for the point. Therefore, detailed description of overlapping configurations and functions will not be repeated.

図11(c)は、本発明の第6の実施の形態における専用フレームの一例を示す図である。この専用フレームは、比較情報を送信することを目的としたフレームであり、比較情報の専用フレームであることを示す専用識別子と、受信先アドレスと、送信元アドレスと、比較情報フィールドとを含む。   FIG. 11 (c) is a diagram illustrating an example of a dedicated frame in the sixth embodiment of the present invention. This dedicated frame is a frame intended to transmit comparison information, and includes a dedicated identifier indicating that it is a dedicated frame for comparison information, a reception destination address, a transmission source address, and a comparison information field.

本実施の形態においては、専用フレームで比較情報を送信するものであり、通信装置1、送信元通信機器2および受信先通信機器3の処理手順は、データフレームによって比較情報を送信する場合や制御フレームによって比較情報を送信する場合と同様である。   In the present embodiment, the comparison information is transmitted in a dedicated frame, and the processing procedure of the communication device 1, the transmission source communication device 2, and the reception destination communication device 3 is performed when the comparison information is transmitted by a data frame or in the control. This is the same as when comparison information is transmitted by frame.

以上説明したように、本実施の形態においては、送信元通信機器2のフレーム構築部23および通信装置1のフレーム処理部11が、専用フレームに自身が計算した比較値を格納し、受信先通信機器3が専用フレームに格納された比較情報に基づいて総合比較値を算出して時刻情報を補正するようにしたので、第1の実施の形態において説明したのと同様の効果を奏することが可能となった。   As described above, in the present embodiment, the frame construction unit 23 of the transmission source communication device 2 and the frame processing unit 11 of the communication device 1 store the comparison values calculated by themselves in the dedicated frame, and receive destination communication Since the device 3 calculates the total comparison value based on the comparison information stored in the dedicated frame and corrects the time information, it is possible to achieve the same effect as described in the first embodiment. It became.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の第1の実施の形態における伝送経路の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the transmission path | route in the 1st Embodiment of this invention. 本発明の第1の実施の形態における通信装置1の外観例を示す図である。It is a figure which shows the example of an external appearance of the communication apparatus 1 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における通信装置1の構成例を示すブロック図である。It is a block diagram which shows the structural example of the communication apparatus 1 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における通信装置1の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the communication apparatus 1 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における送信元通信機器2の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the transmission origin communication apparatus 2 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における受信先通信機器3の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the receiver communication apparatus 3 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における送信元通信機器2の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence of the transmission origin communication apparatus 2 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における通信装置1の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence of the communication apparatus 1 in the 1st Embodiment of this invention. 本発明の第1の実施の形態における受信先通信機器3の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence of the receiver communication apparatus 3 in the 1st Embodiment of this invention. 基本型比較情報、定形型比較情報、連結型比較情報および累積型比較情報の一例を示す図である。It is a figure which shows an example of basic type comparison information, fixed form comparison information, connection type comparison information, and accumulation type comparison information. 比較情報フィールド付きデータフレーム、比較情報フィールド付き制御フレームおよび専用フレームの一例を示す図である。It is a figure which shows an example of a data frame with a comparison information field, a control frame with a comparison information field, and a dedicated frame. 比較情報フォーマットおよびフォーマットテーブルを示す図である。It is a figure which shows a comparison information format and a format table. 比較値を演算するために必要となる時刻情報を時刻管理テーブルに記憶する処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence which memorize | stores the time information required in order to calculate a comparison value in a time management table. 時刻管理テーブルおよび比較値の算出テーブルを示す図である。It is a figure which shows the time management table and the calculation table of a comparison value. 本発明の第1の実施の形態における伝送経路の総合比較値を生成する処理を説明するための図である。It is a figure for demonstrating the process which produces | generates the comprehensive comparison value of the transmission path in the 1st Embodiment of this invention. 受信先通信機器3の比較処理部34が総合比較情報を算出するときの処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence when the comparison process part 34 of the receiving communication apparatus 3 calculates total comparison information. 総合比較値が、送信元通信機器2の上位制御層時刻管理部22における時刻情報の変化量と、受信先通信機器3の上位制御層時刻管理部32における時刻情報の変化量との比に等しいことを説明するための図である。The total comparison value is equal to the ratio between the amount of change of time information in the upper control layer time management unit 22 of the transmission source communication device 2 and the amount of change of time information in the upper control layer time management unit 32 of the destination communication device 3. It is a figure for demonstrating this. 第2の実施の形態における受信先通信機器3の比較処理部34による総合比較値の算出を説明するためのフローチャートである。It is a flowchart for demonstrating calculation of the comprehensive comparison value by the comparison process part 34 of the receiving communication apparatus 3 in 2nd Embodiment. 本発明の第5の実施の形態における通信装置1の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the process sequence of the communication apparatus 1 in the 5th Embodiment of this invention. 送信側のチューナのクロックの進み具合と、受信側のテレビのクロックの進み具合との違いによる影響を説明するための図である。It is a figure for demonstrating the influence by the difference in the advancement of the clock of the transmission side tuner, and the advancement of the clock of the receiving side television. 異なる通信網の網同期を行なう場合の問題点を説明するための図である。It is a figure for demonstrating the problem in the case of performing network synchronization of a different communication network.

符号の説明Explanation of symbols

1 送信元通信機器、2 通信装置、3 受信先通信機器、4 第1同期通信網、5 第2同期通信網、6 第3同期通信網、11 フレーム処理部、12 識別情報記憶部、13 比較処理部、14 第1通信管理部、15 第1時刻管理部、16 第2通信管理部、17 第2時刻管理部、21 データ処理部、22 上位制御層時刻管理部、23 フレーム構築部、24 比較処理部、25 識別情報記憶部、26 通信管理部、27 下位通信層時刻管理部、31 データ処理部、32 上位制御層時刻管理部、33 フレーム解析部、34 比較処理部、35 通信管理部、36 下位通信層時刻管理部、71 コンピュータ本体、72 ディスプレイ装置、73 FDドライブ、74 FD、75 キーボード、76 マウス、77 CD−ROM装置、78 CD−ROM、79 ネットワーク通信装置、80 CPU、81 ROM、82 RAM、83 ハードディスク。   1 source communication device, 2 communication device, 3 destination communication device, 4 first synchronous communication network, 5 second synchronous communication network, 6 third synchronous communication network, 11 frame processing unit, 12 identification information storage unit, 13 comparison Processing unit, 14 First communication management unit, 15 First time management unit, 16 Second communication management unit, 17 Second time management unit, 21 Data processing unit, 22 Upper control layer time management unit, 23 Frame construction unit, 24 Comparison processing unit, 25 identification information storage unit, 26 communication management unit, 27 lower communication layer time management unit, 31 data processing unit, 32 upper control layer time management unit, 33 frame analysis unit, 34 comparison processing unit, 35 communication management unit 36, lower communication layer time management unit, 71 computer main body, 72 display device, 73 FD drive, 74 FD, 75 keyboard, 76 mouse, 77 CD-ROM device 78 CD-ROM, 79 network communication unit, 80 CPU, 81 ROM, 82 RAM, 83 hard disk.

Claims (13)

送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置であって、
接続する複数の通信網の同期信号から生成される時刻情報を比較する比較手段と、
送信元側の通信網から所定のフレームを受信するための受信手段と、
前記受信手段によって受信された所定のフレームに、前記比較手段によって得られた比較値および該比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加するための付加手段と、
前記付加手段によって比較情報が付加された所定のフレームを前記受信先通信機器に送信するための送信手段とを含む、通信装置。
A communication device on a transmission path in which a transmission source communication device and a reception destination communication device perform communication via a plurality of communication devices that connect the communication network and the communication network,
Comparison means for comparing time information generated from synchronization signals of a plurality of communication networks to be connected;
Receiving means for receiving a predetermined frame from the communication network on the transmission source side;
Adding means for adding comparison information including a comparison value obtained by the comparison means and identification information for specifying a communication device corresponding to the comparison value to the predetermined frame received by the reception means; ,
A communication unit including: a transmission unit configured to transmit the predetermined frame to which the comparison information is added by the addition unit to the destination communication device.
前記所定のフレームは、送信元通信機器の比較情報と複数の通信装置の比較情報とを格納するフィールドを含む、請求項1記載の通信装置。   The communication device according to claim 1, wherein the predetermined frame includes a field for storing comparison information of a transmission source communication device and comparison information of a plurality of communication devices. 前記所定のフレームは可変長型のフレームであって、送信元通信機器の比較情報と複数の通信装置の比較情報とが順次連結される、請求項1記載の通信装置。   The communication apparatus according to claim 1, wherein the predetermined frame is a variable-length frame, and comparison information of a transmission source communication device and comparison information of a plurality of communication apparatuses are sequentially connected. 送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置であって、
接続する複数の通信網の同期信号から生成される時刻情報を比較する比較手段と、
送信元側の通信網から所定のフレームを受信するための受信手段と、
前記受信手段によって受信された所定のフレームに含まれる累積比較値と、前記比較手段によって得られた比較値とを演算し、新たな累積比較値として前記所定のフレームに格納するための格納手段と、
前記格納手段によって累積比較値が格納された所定のフレームを前記受信先通信機器に送信するための送信手段とを含む、通信装置。
A communication device on a transmission path in which a transmission source communication device and a reception destination communication device perform communication via a plurality of communication devices that connect the communication network and the communication network,
Comparison means for comparing time information generated from synchronization signals of a plurality of communication networks to be connected;
Receiving means for receiving a predetermined frame from the communication network on the transmission source side;
Storage means for calculating a cumulative comparison value included in the predetermined frame received by the reception means and a comparison value obtained by the comparison means, and storing the calculated value in the predetermined frame as a new cumulative comparison value; ,
And a transmission unit configured to transmit a predetermined frame in which the accumulated comparison value is stored by the storage unit to the destination communication device.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器であって、
接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するための比較手段と、
前記比較手段によって得られた比較値および前記送信元通信機器を特定するための識別情報を有する比較情報を含んだ所定のフレームを生成するための生成手段と、
前記生成手段によって生成された所定のフレームを前記受信先通信装置に送信するための送信手段とを含む、送信元通信機器。
The source communication device and the destination communication device are a source communication device on a transmission path for performing communication via a plurality of communication devices that connect the communication network and the communication network,
Comparison means for comparing the time information generated from the synchronization signal of the connected communication network and the time information of the upper control layer,
Generation means for generating a predetermined frame including comparison information obtained by the comparison means and identification information for identifying the transmission source communication device;
A transmission source communication device including a transmission unit for transmitting the predetermined frame generated by the generation unit to the reception destination communication device.
前記所定のフレームは、前記送信元通信機器の比較情報および複数の通信装置の比較情報を格納するフィールドを含む、請求項5記載の送信元通信機器。   The transmission source communication device according to claim 5, wherein the predetermined frame includes a field for storing comparison information of the transmission source communication device and comparison information of a plurality of communication devices. 送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器であって、
前記送信元通信機器が接続される通信網の同期信号から生成される時刻情報と前記送信元通信機器の上位制御層の時刻情報との比較値と、前記通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するための受信手段と、
前記受信手段によって受信された前記送信元通信機器の比較値と前記通信装置の比較値とに基づいて、前記送信元通信機器の上位制御層の時刻情報と前記受信先通信機器の上位層の時刻情報とを整合させるための制御手段とを含む、受信先通信機器。
A source communication device and a destination communication device are a destination communication device on a transmission path for performing communication via a plurality of communication devices that connect the communication network and the communication network,
A comparison value between time information generated from a synchronization signal of a communication network to which the transmission source communication device is connected and time information of an upper control layer of the transmission source communication device, and a plurality of communication networks to which the communication device is connected Receiving means for receiving a comparison value of time information generated from the synchronization signal of
Based on the comparison value of the transmission source communication device and the comparison value of the communication device received by the reception unit, the time information of the upper control layer of the transmission source communication device and the time of the upper layer of the reception destination communication device Receiving destination communication equipment, including control means for matching information.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置
を経由して通信を行なう伝送経路上における通信装置の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、
前記通信方法は、接続する複数の通信網の同期信号から生成される時刻情報を比較するステップと、
送信元側の通信網から所定のフレームを受信するステップと、
前記受信された所定のフレームに、前記得られた比較値および該比較値に対応する通信装置を特定するための識別情報を有する比較情報を付加するステップと、
前記比較情報が付加された所定のフレームを前記受信先通信機器に送信するステップとを含む、コンピュータ・プログラム。
A computer program for causing a computer to execute a communication method of a communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. Because
The communication method includes a step of comparing time information generated from synchronization signals of a plurality of communication networks to be connected;
Receiving a predetermined frame from the communication network on the transmission side;
Adding comparison information having identification information for specifying the obtained comparison value and a communication device corresponding to the comparison value to the received predetermined frame;
Transmitting a predetermined frame to which the comparison information is added to the receiving communication device.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、
前記通信方法は、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するステップと、
前記得られた比較値および前記送信元通信機器を特定するための識別情報を有する比較情報を含んだ所定のフレームを生成するステップと、
前記生成された所定のフレームを前記受信先通信装置に送信するステップとを含む、コンピュータ・プログラム。
A computer for causing a computer to execute a communication method of a transmission source communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A program,
The communication method includes a step of comparing time information generated from a synchronization signal of a connected communication network with time information of an upper control layer;
Generating a predetermined frame including comparison information having identification information for specifying the obtained comparison value and the source communication device;
Transmitting the generated predetermined frame to the receiving communication device.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器の通信方法をコンピュータに実行させるためのコンピュータ・プログラムであって、
前記通信方法は、前記送信元通信機器が接続される通信網の同期信号から生成される時刻情報と前記送信元通信機器の上位制御層の時刻情報との比較値と、前記通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するステップと、
前記受信された前記送信元通信機器の比較値と前記通信装置の比較値とに基づいて、前記送信元通信機器の上位制御層の時刻情報と前記受信先通信機器の上位層の時刻情報とを整合させるステップとを含む、コンピュータ・プログラム。
Computer for causing a computer to execute a communication method of a destination communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network A program,
In the communication method, a comparison value between time information generated from a synchronization signal of a communication network to which the transmission source communication device is connected and time information of an upper control layer of the transmission source communication device, and the communication device are connected. Receiving a comparison value of time information generated from synchronization signals of a plurality of communication networks.
Based on the received comparison value of the transmission source communication device and the comparison value of the communication device, the time information of the upper control layer of the transmission source communication device and the time information of the upper layer of the reception destination communication device. A computer program comprising the steps of aligning.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における通信装置の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、
前記通信方法は、接続する複数の通信網の同期信号から生成される時刻情報を比較するステップと、
送信元側の通信網から所定のフレームを受信するステップと、
前記受信された所定のフレームに、前記得られた比較値および該比較値に対応する通信装置を特定するための識別情報を含んだ比較情報を付加するステップと、
前記比較情報が付加された所定のフレームを前記受信先通信機器に送信するステップとを含む、コンピュータで読取り可能な記録媒体。
Records a program for causing a computer to execute a communication method of a communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium,
The communication method includes a step of comparing time information generated from synchronization signals of a plurality of communication networks to be connected;
Receiving a predetermined frame from the communication network on the transmission side;
Adding comparison information including identification information for specifying the obtained comparison value and a communication device corresponding to the comparison value to the received predetermined frame;
Transmitting a predetermined frame to which the comparison information is added to the receiving communication device.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における送信元通信機器の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、
前記通信方法は、接続する通信網の同期信号から生成される時刻情報と、上位制御層の時刻情報とを比較するステップと、
前記得られた比較値および前記送信元通信機器を特定するための識別情報を有する比較情報を含んだ所定のフレームを生成するステップと、
前記生成された所定のフレームを前記受信先通信装置に送信するステップとを含む、コ
ンピュータで読取り可能な記録媒体。
A program for causing a computer to execute a communication method of a transmission source communication device on a transmission path in which a transmission source communication device and a reception destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium on which is recorded,
The communication method includes a step of comparing time information generated from a synchronization signal of a connected communication network with time information of an upper control layer;
Generating a predetermined frame including comparison information having identification information for specifying the obtained comparison value and the source communication device;
Transmitting the generated predetermined frame to the receiving communication device. A computer-readable recording medium.
送信元通信機器と受信先通信機器とが、通信網と通信網とを結びつける複数の通信装置を経由して通信を行なう伝送経路上における受信先通信機器の通信方法をコンピュータに実行させるためのプログラムを記録したコンピュータで読取り可能な記録媒体であって、
前記通信方法は、前記送信元通信機器が接続される通信網の同期信号から生成される時刻情報と前記送信元通信機器の上位制御層の時刻情報との比較値と、前記通信装置が接続される複数の通信網の同期信号から生成される時刻情報の比較値とを受信するステップと、
前記受信された前記送信元通信機器の比較値と前記通信装置の比較値とに基づいて、前記送信元通信機器の上位制御層の時刻情報と前記受信先通信機器の上位層の時刻情報とを整合させるステップとを含む、コンピュータで読取り可能な記録媒体。
A program for causing a computer to execute a communication method of a destination communication device on a transmission path in which a transmission source communication device and a destination communication device communicate via a plurality of communication devices that connect the communication network and the communication network. A computer-readable recording medium on which is recorded,
In the communication method, a comparison value between time information generated from a synchronization signal of a communication network to which the transmission source communication device is connected and time information of an upper control layer of the transmission source communication device, and the communication device are connected. Receiving a comparison value of time information generated from synchronization signals of a plurality of communication networks.
Based on the received comparison value of the transmission source communication device and the comparison value of the communication device, the time information of the upper control layer of the transmission source communication device and the time information of the upper layer of the reception destination communication device. A computer-readable recording medium comprising the steps of aligning.
JP2003362096A 2003-10-22 2003-10-22 COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM Expired - Fee Related JP4152860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003362096A JP4152860B2 (en) 2003-10-22 2003-10-22 COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003362096A JP4152860B2 (en) 2003-10-22 2003-10-22 COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Publications (2)

Publication Number Publication Date
JP2005130112A JP2005130112A (en) 2005-05-19
JP4152860B2 true JP4152860B2 (en) 2008-09-17

Family

ID=34641847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003362096A Expired - Fee Related JP4152860B2 (en) 2003-10-22 2003-10-22 COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Country Status (1)

Country Link
JP (1) JP4152860B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113931830A (en) * 2021-11-12 2022-01-14 华能伊敏煤电有限责任公司 Combined type variable frequency control system and method for open-pit coal mine open-drainage system

Also Published As

Publication number Publication date
JP2005130112A (en) 2005-05-19

Similar Documents

Publication Publication Date Title
KR100801002B1 (en) Method for transferring/playing multimedia data on wireless network and wireless device thereof
US6718476B1 (en) Method of synchronizing each local clock to a master clock in a data bus system
US20050174482A1 (en) Multi-screen video reproducing system
EP2186297B1 (en) Apparatus, systems and methods to synchronize communication of content to a presentation device and a mobile device
JP2007097185A (en) Synchronization water marking in multimedia streams
CN109889543A (en) Method, root node, child node, P2P server and the system of transmission of video
EP1475922B1 (en) Data processing device, data processing system, data processing method, data processing program and recording medium storing the program
JP4345816B2 (en) Network system and relay device
KR20010090828A (en) Clustered networked devices
US20120019719A1 (en) Digital television broadcasting reproduction device and reproduction method therefor
EP3281317B1 (en) Multi-layer timing synchronization framework
JP2016225922A (en) Radio communication system and method
JP2007096971A (en) Wireless transmitter and wireless receiver
US10070017B2 (en) Controlling synchronization between devices in a network
JP4742836B2 (en) Receiver
JP4152860B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE, COMPUTER PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2006325103A (en) Content transmitter, program thereof, content receiver and program thereof
JP2021158394A (en) Reception device and reception method
JP2008085500A (en) Receiver, transmitter and synchronization control method
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
KR101203529B1 (en) Method and apparatus for synchronizing applications of terminals in a communication network
JP5082715B2 (en) Receiving device, receiving method, and computer program
JP2008028599A (en) Reproduction method of multimedia data, and main communication apparatus, sub-communication apparatus, and program for execution of the method
JP2006222908A (en) Retransmission method
JP5231516B2 (en) Video distribution server, video distribution system, and video distribution method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080530

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080624

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080702

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees