JP6157064B2 - Communication apparatus and clock synchronization method - Google Patents
Communication apparatus and clock synchronization method Download PDFInfo
- Publication number
- JP6157064B2 JP6157064B2 JP2012127289A JP2012127289A JP6157064B2 JP 6157064 B2 JP6157064 B2 JP 6157064B2 JP 2012127289 A JP2012127289 A JP 2012127289A JP 2012127289 A JP2012127289 A JP 2012127289A JP 6157064 B2 JP6157064 B2 JP 6157064B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- time information
- data
- unit
- communication device
- 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.)
- Active
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Description
本開示は、通信装置およびクロック同期方法に関する。特に、複数の通信装置間の音声/映像伝送において、通信装置の送信側と受信側の間のシステムクロックを同期させるための通信装置およびクロック同期方法に関する。 The present disclosure relates to a communication device and a clock synchronization method. In particular, the present invention relates to a communication device and a clock synchronization method for synchronizing a system clock between a transmission side and a reception side of a communication device in audio / video transmission between a plurality of communication devices.
複数の無線通信装置間において通信する場合、同期を確立する必要がある。従来のクロック同期方法としては、特許文献1に開示されている手法が提案されている。特許文献1に記載のクロック同期方法について簡単に説明する。
When communicating between a plurality of wireless communication devices, it is necessary to establish synchronization. As a conventional clock synchronization method, a method disclosed in
送信側の無線通信装置(以下、「送信装置」という)は、パケット生成過程において、プログラムクロックリファレンス(PCR:Program Clock Reference)を付加する。PCRは、送信装置のシステムクロックによりカウントされた時刻情報を表すシステムタイムクロック(STC:System Time Clock)であり、パケット生成過程において付与されたカウンタ値を示す。送信装置は、生成されたパケットを受信側の無線通信装置(以下、「受信装置」という)に送信する。 A transmitting-side wireless communication device (hereinafter referred to as “transmitting device”) adds a program clock reference (PCR) in a packet generation process. PCR is a system time clock (STC: System Time Clock) representing time information counted by the system clock of the transmitting apparatus, and indicates a counter value given in the packet generation process. The transmission device transmits the generated packet to a wireless communication device on the reception side (hereinafter referred to as “reception device”).
送信装置から送信されるPCRが付加されたパケットは、伝送遅延時間後に受信装置に到達する。伝送路(例えば、IP網)では伝送遅延時間の揺らぎが発生するため、受信装置にパケットが到達するまでの伝送遅延時間は変動する。 The packet to which the PCR transmitted from the transmission device is added reaches the reception device after the transmission delay time. Since the transmission delay time fluctuates in the transmission path (for example, IP network), the transmission delay time until the packet reaches the receiving apparatus varies.
受信装置は、送信装置から伝送遅延時間後に、PCRが付加されたパケットを受信し、パケット受信過程において付与されるSTCと受信されたパケットに付与されているPCRとの差分値(STC−PCR)を算出する。また、受信装置は、一定サンプル数のPCRの中から、小さい差分値(STC−PCR)を持つPCRを選択する。受信装置は、選択されたPCRと受信装置のパケット受信過程において付与されるSTCとに基づいて、送信装置と受信装置とのシステムクロックを同期させる。 The receiving device receives the packet with the PCR added after the transmission delay time from the transmitting device, and the difference value (STC-PCR) between the STC given in the packet receiving process and the PCR given to the received packet Is calculated. In addition, the receiving device selects a PCR having a small difference value (STC-PCR) from a certain number of PCRs. The receiving device synchronizes the system clocks of the transmitting device and the receiving device based on the selected PCR and the STC provided in the packet receiving process of the receiving device.
本発明者らは、送信装置と受信装置とのシステムクロックの同期を行う通信装置およびクロック同期方法を検討した。しかしながら、従来の送信装置と受信装置とのシステムクロックの同期を行う通信装置およびクロック同期方法では、同期確立のために必要な時間が長くなる課題があった。
従って、本開示は、前記課題を解決するために、同期確立のために必要な時間を短縮することができる通信装置およびクロック同期方法を提供する。
The present inventors examined a communication device and a clock synchronization method for synchronizing system clocks between a transmission device and a reception device. However, the conventional communication apparatus and clock synchronization method for synchronizing the system clocks of the transmission apparatus and the reception apparatus have a problem that the time required for establishing synchronization becomes long.
Accordingly, the present disclosure provides a communication device and a clock synchronization method that can reduce the time required for establishing synchronization in order to solve the above-described problem.
本開示の通信装置は、他の通信装置からパケットを受信する通信装置であって、当該他の通信装置は、データを格納するデータ記憶部と、当該他の通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、データ送信期間において、前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するヘッダ付加部と、前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信する送信部と、を備え、当該通信装置は、前記他の通信装置によりパケットの再送信が発生したことを検出する再送検出部と、前記再送検出部による検出結果、前記パケットに含まれる時間情報である第1の時間情報、及び当該通信装置の時間情報である第2の時間情報に基づいて、前記第1の時間情報のうち、クロックの同期に用いる第1の時間情報を選択する同期時間情報選択部と、前記同期時間情報選択部により選択された前記第1の時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるクロック同期部と、を備え、前記同期時間情報選択部は、前記再送検出部によりパケットの再送信が発生したことを検出した場合、再送信発生後の前記第1の時間情報と前記第2の時間情報との差分が、所定範囲内に収束した後の第1の時間情報から選択する。 The communication device of the present disclosure is a communication device that receives a packet from another communication device, and the other communication device includes a data storage unit that stores data and a data transmission period assigned to the other communication device. A data read control unit that controls reading of data from the data storage unit based on a transmission data allowable amount in the data storage unit, and reads data stored in the data storage unit in a data transmission period, A header adding unit that adds time information to generate a packet, and a transmission unit that transmits the packet in the same data transmission period as the data transmission period in which the packet is generated. A retransmission detection unit for detecting that retransmission of a packet has occurred by the other communication device, a detection result by the retransmission detection unit, and the packet Based on first time information that is time information included in the second time information and second time information that is time information of the communication device, a first time used for clock synchronization among the first time information. A synchronization time information selection unit for selecting information, and a clock synchronization unit for synchronizing clocks of the communication device and the other communication device using the first time information selected by the synchronization time information selection unit; And when the retransmission detection unit detects that a retransmission of a packet has occurred, the synchronization time information selection unit determines whether the first time information after the occurrence of retransmission and the second time information are The difference is selected from the first time information after convergence within a predetermined range.
本開示によれば、同期確立に必要な時間を短縮できる。 According to the present disclosure, the time required for establishing synchronization can be shortened.
<本開示に至る経緯>
特許文献1に示されるクロック同期方法では、受信装置は、一定サンプル数のPCRから差分値(STC−PCR)の小さいPCRを選択するため、抽出するPCRの数が少なく、システムクロックの同期に必要な一定数のPCRを得るために、時間を要していた。また、数多くのPCRを送信する必要があり、無線リソースを多く消費していた。
<Background to this disclosure>
In the clock synchronization method disclosed in
本開示は、上記事情に鑑みてなされたものであって、同期時間を短縮でき、無線リソースを効率的に利用できる通信装置およびクロック同期方法を提供することを目的とする。
<本開示の概要>
The present disclosure has been made in view of the above circumstances, and an object of the present disclosure is to provide a communication device and a clock synchronization method that can shorten the synchronization time and can efficiently use radio resources.
<Outline of this disclosure>
本開示の通信装置は、他の通信装置へパケットを送信する通信装置であって、データを格納するデータ記憶部と、当該通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、データ送信期間において、前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するヘッダ付加部と、前記ヘッダ付加部により生成されたパケットのデータ量と、当該通信装置に割り当てられたデータ送信期間における送信データ許容量と、に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、を備える。 The communication device of the present disclosure is a communication device that transmits a packet to another communication device, and based on a data storage unit that stores data and a transmission data allowable amount in a data transmission period assigned to the communication device, A data read control unit that controls reading of data from the data storage unit, and reads data stored in the data storage unit in a data transmission period, adds time information to the read data, and packet Data from the data storage unit based on the header adding unit that generates the data, the data amount of the packet generated by the header adding unit, and the transmission data allowable amount in the data transmission period assigned to the communication device A data read control unit for controlling reading of the data.
この構成によれば、クロック同期のための時間情報がパケットに付加されてからパケットが送信されるまでの時間を短縮できる。そのため、パケットに付加された時間情報は信頼性が高いので、パケットへの時間情報の付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this configuration, it is possible to shorten the time from when the time information for clock synchronization is added to the packet until the packet is transmitted. For this reason, the time information added to the packet is highly reliable, so that the clock can be accurately synchronized even if part of the time information added to the packet is omitted. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
また、本開示の通信装置は、他の通信装置からパケットを受信する通信装置であって、前記他の通信装置によりパケットの再送信が発生したことを検出する再送検出部と、前記再送検出部による検出結果、前記パケットに含まれる時間情報である第1の時間情報、及び当該通信装置の時間情報である第2の時間情報に基づいて、前記第1の時間情報のうち、クロックの同期に用いる第1の時間情報を選択する同期時間情報選択部と、前記同期時間情報選択部により選択された前記第1の時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるクロック同期部と、を備える。 Further, the communication device according to the present disclosure is a communication device that receives a packet from another communication device, the retransmission detection unit detecting that retransmission of the packet has occurred by the other communication device, and the retransmission detection unit As a result of the detection, the first time information that is the time information included in the packet and the second time information that is the time information of the communication device are used to synchronize the clocks of the first time information. A synchronization time information selection unit that selects first time information to be used, and a clock of the communication device and the other communication device are synchronized using the first time information selected by the synchronization time information selection unit. And a clock synchronization unit.
この構成によれば、パケットの再送が発生した場合には、信頼性の低い時間情報をクロック同期に用いない。そのため、信頼性の高い時間情報については、送信側においてパケットへの付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this configuration, when retransmission of a packet occurs, time information with low reliability is not used for clock synchronization. Therefore, with respect to highly reliable time information, the clock can be synchronized with high accuracy even if some addition to the packet is omitted on the transmission side. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
また、本開示の通信装置は、他の通信装置からパケットを受信する通信装置であって、複数のパケットが結合した結合パケットを受信した場合、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、に基づいて、前記パケットに含まれる時間情報を補正する同期時間情報補正部と、前記同期時間情報補正部により補正された時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるクロック同期部と、を備える。 Further, the communication device according to the present disclosure is a communication device that receives a packet from another communication device, and when receiving a combined packet in which a plurality of packets are combined, the number of packets included in the combined packet, and the combined packet A synchronization time information correction unit that corrects time information included in the packet based on the order of the packets in the packet, and the communication device and the other using the time information corrected by the synchronization time information correction unit. A clock synchronization unit that synchronizes the clock with the communication device.
この構成によれば、結合パケットを受信した場合であっても、パケットの結合がない状態における時間情報に調整できる。そのため、時間情報の信頼性を向上できるので、送信側においてパケットへの時間情報の付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this configuration, even when a combined packet is received, the time information in a state where there is no packet combination can be adjusted. Therefore, since the reliability of time information can be improved, the clock can be synchronized with high accuracy even if the transmission side partially omits the addition of time information to the packet. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
また、本開示のクロック同期方法は、他の通信装置へパケットを送信する通信装置におけるクロック同期方法であって、当該通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、前記データ記憶部からのデータの読み出しを制御するステップと、データ記憶部に格納されたデータを読み出し、読み出されたデータに、当該通信装置と前記他の通信装置とのクロック同期のための時間情報を付加して、パケットを生成するステップと、前記生成されたパケットのデータ量と、当該通信装置に割り当てられたデータ送信期間における送信データ許容量と、に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、を有する。 The clock synchronization method of the present disclosure is a clock synchronization method in a communication device that transmits a packet to another communication device, and the data is based on a transmission data allowable amount in a data transmission period assigned to the communication device. A step of controlling reading of data from the storage unit, reading of data stored in the data storage unit, and time information for clock synchronization between the communication device and the other communication device in the read data; In addition, based on the step of generating a packet, the data amount of the generated packet, and the transmission data allowable amount in the data transmission period assigned to the communication device, the data from the data storage unit A data read control unit that controls reading.
この方法によれば、クロック同期のための時間情報がパケットに付加されてからパケットが送信されるまでの時間を短縮できる。そのため、パケットに付加された時間情報は信頼性が高いので、パケットへの時間情報の付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this method, the time from when the time information for clock synchronization is added to the packet until the packet is transmitted can be shortened. For this reason, the time information added to the packet is highly reliable, so that the clock can be accurately synchronized even if part of the time information added to the packet is omitted. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
また、本開示のクロック同期方法は、他の通信装置からパケットを受信する通信装置におけるクロック同期方法であって、前記他の通信装置によりパケットの再送信が発生したことを検出するステップと、前記パケットの再送信の有無、前記パケットに含まれる時間情報である第1の時間情報、及び当該通信装置の時間情報である第2の時間情報に基づいて、前記第1の時間情報のうち、クロックの同期に用いる第1の時間情報を選択するステ
ップと、前記選択された前記第1の時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるステップと、を有する。
Further, the clock synchronization method of the present disclosure is a clock synchronization method in a communication device that receives a packet from another communication device, and detects that a retransmission of the packet has occurred by the other communication device; Based on presence / absence of retransmission of the packet, first time information that is time information included in the packet, and second time information that is time information of the communication device, the clock of the first time information Selecting first time information to be used for synchronization, and using the selected first time information to synchronize clocks of the communication device and the other communication device.
この方法によれば、パケットの再送が発生した場合には、信頼性の低い時間情報をクロック同期に用いない。そのため、信頼性の高い時間情報については、送信側においてパケットへの付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this method, when retransmission of a packet occurs, time information with low reliability is not used for clock synchronization. Therefore, with respect to highly reliable time information, the clock can be synchronized with high accuracy even if some addition to the packet is omitted on the transmission side. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
また、本開示のクロック同期方法は、他の通信装置からパケットを受信する通信装置におけるクロック同期方法であって、複数のパケットが結合した結合パケットを受信した場合、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、基づいて、前記パケットに含まれる時間情報を補正するステップと、前記補正された時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるステップと、を有する。 The clock synchronization method according to the present disclosure is a clock synchronization method in a communication device that receives packets from another communication device, and when a combined packet in which a plurality of packets are combined is received, the number of packets included in the combined packet Correcting the time information included in the packet based on the order of the packets in the combined packet, and using the corrected time information to clock the communication device and the other communication device Synchronizing.
この方法によれば、結合パケットを受信した場合であっても、パケットの結合がない状態における時間情報に調整できる。そのため、時間情報の信頼性を向上できるので、送信側においてパケットへの時間情報の付加を一部省略しても、精度良くクロックを同期できる。従って、同期時間を短縮でき、無線リソースを効率的に利用できる。 According to this method, even when a combined packet is received, the time information in a state where there is no packet combination can be adjusted. Therefore, since the reliability of time information can be improved, the clock can be synchronized with high accuracy even if the transmission side partially omits the addition of time information to the packet. Therefore, the synchronization time can be shortened and radio resources can be used efficiently.
以下、本開示の実施形態について、図面を参照して説明する。 Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
(第1の実施形態)
図1は、本開示の実施形態における無線通信システム1000の構成例を示す図である。無線通信システム1000は、音声/映像発信装置30、送信装置31、受信装置32、および音声/映像受信装置33を備える。送信装置31及び受信装置32の間は、無線通信回線によって接続される。
(First embodiment)
FIG. 1 is a diagram illustrating a configuration example of a
また、送信装置31及び受信装置32は、通信装置の一例であり、無線通信システム1000は、複数の送信装置31又は受信装置32を含んでもよい。
The
音声/映像発信装置30は、例えば、音声データ/映像データ(音声データ及び映像データの少なくとも一方)を送信装置31へ出力する。
The audio /
送信装置31は、音声/映像発信装置30から音声データ/映像データが入力され、所定のタイミングにおいてパケットを受信装置32へ送信する。
The
受信装置32は、送信装置31からパケットを受信し、パケットに含まれる音声データ/映像データを音声/映像受信装置33へ出力する。
The receiving
音声/映像受信装置33は、受信装置32から音声データ/映像データが入力される。入力された音声データ/映像データは、音声/映像発信装置30により出力されたデータに対応する。音声/映像受信装置33は、例えばモニタである。
The audio /
次に、送信装置31の構成例について説明する。
図2は、無線通信システム1000における送信装置31の構成例を示すブロック図である。
Next, a configuration example of the
FIG. 2 is a block diagram illustrating a configuration example of the
送信装置31は、音声/映像I/F部311、クロック生成部312、データ記憶部313、ヘッダ付加部314、送信データ許容量算出部315、送信データ量カウント部316、データ読み出し制御部317、および送受信部318を備える。
The
音声/映像I/F(インタフェース)部311は、音声/映像発信装置30から入力される音声/映像データを処理し、変換後の音声/映像データをデータ記憶部313に転送する。音声/映像I/F部311による処理は、例えばフォーマット変換処理を含む。
The audio / video I / F (interface)
クロック生成部312は、入力される音声/映像データのタイミングに同期した送信装置31のSTCを生成し、ヘッダ付加部314へSTCを通知する。
The
データ記憶部313は、音声/映像I/F部311から転送された音声/映像データを記憶する。また、データ記憶部313は、データ読み出し制御部317からの音声/映像データ読み出し停止指示、又は送受信部318の図示しない内部メモリに保持できるパケット容量が所定量以上になった旨の通知に応じて、ヘッダ付加部314への音声/映像データの出力を停止する。なお、送受信部318は、パケットを、図示しない内部メモリに一旦保持した後に、送信する。
音声/映像データ読み出し停止指示は、データ記憶部313からの音声/映像データ読み出しを停止するための指示情報である。
データ記憶部313にデータを貯めることで、音声/映像I/F部311からのデータ入力速度とヘッダ付加部314へのデータ出力速度との瞬時的な違いを吸収する。
The
The audio / video data reading stop instruction is instruction information for stopping the audio / video data reading from the
By storing data in the
また、データ記憶部313は、送受信部318による音声/映像パケット(音声パケット及び映像パケットの少なくとも一方)の送信における伝送速度に合わせて、音声/映像パケットをヘッダ付加部314へ出力する。このため、送受信部318は、所定のタイミングにおいてパケット送信が可能である。つまり、送受信部318へ過剰にパケットが転送されないように、データ記憶部313によりパケット量が調整されている。
In addition, the
ヘッダ付加部314は、データ記憶部313に記憶された音声/映像データを読み出し、音声/映像データを所定のサイズ以下のパケットに分割してパケットを生成する。また、ヘッダ付加部314は、生成したパケットにヘッダ情報を付加して、送受信部318に音声/映像パケットを転送する。ヘッダ情報は、クロック生成部312から通知されるSTCのパケット生成過程におけるカウンタ値を示したPCRを含む。PCRは、送信装置31と受信装置32とのクロック同期のための時間情報の1つである。ヘッダ付加部314は、生成した音声/映像パケットのデータ量(パケット量)を送信データ量カウント部316へ通知する。
The
なお、ヘッダ付加部314は、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。
The
送信データ許容量算出部315は、音声/映像パケットの送信前に、例えば予め音声/映像パケットの送信における伝送速度に基づいて、無線リソースの割り当てを受けるデータ送信期間と、データ送信期間の割り当て周期と、を決定する。
The transmission data allowable
また、送信データ許容量算出部315は、データ送信期間を確保するための制御パケットを生成し、データ送信期間を管理する無線通信装置(以下、「通信管理装置」ともいう)との間においてデータ送信期間を調整する。データ送信期間には、例えば、無線区間における再送信の発生を考慮し、実際に必要なデータ送信期間に一定量のマージンを持たせる。
In addition, the transmission data allowable
なお、通信管理装置としての機能は、送信装置31又は受信装置32が担当してもよいし、それ以外の無線通信装置が担当しても良い。制御パケットは、音声/映像パケットと同様に、送受信部318により送受信される。
The function as the communication management device may be handled by the
また、送信データ許容量算出部315は、データ送信期間と、通信回線におけるパケットの伝送速度に基づいて、送信データ許容量を算出する。なお、送信データ許容量には、一定のマージンを持たせることもできる。
Further, the transmission data allowable
送信データ量カウント部316は、ヘッダ付加部314により生成されるパケットのデータ量(パケット量)をカウントする。パケットのデータ量は、送受信部318により送信されるデータ量に相当する。
The transmission data amount counting
データ読み出し制御部317は、送信データ許容量算出部315により算出された送信データ許容量及び送信データ量カウント部316によりカウントされた送信データ量に基づき、データ記憶部313からヘッダ付加部314へのデータ読み出しを制御する。
Based on the transmission data allowable amount calculated by the transmission data allowable
また、データ読み出し制御部317は、所定期間における送信データ量が、送信データ許容量を超過しないように、データ読み出しを制御する。
これにより、送信装置31内において、PCRがパケットに付加されてからパケットが送信されるまでの時間である送信待ち時間の発生を防止できる。
Further, the data read
As a result, it is possible to prevent the
送信装置31は、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、ヘッダ付加部314、送信データ許容量算出部315、送信データ量カウント部316、及びデータ読み出し制御部317の各機能を実現する。
The
なお、受信装置32の構成は、一般的な受信装置の構成であってもよいし、後述する第2の実施形態及び第3の実施形態における受信装置32B,32Cの構成であってもよい。
The configuration of the
図3は、無線リソースの帯域割当例を示す図である。帯域割当情報通知期間1201(1201−1,1201−2)は、通信管理装置が帯域割当情報を通知するための期間である。帯域割当情報には、競合送信期間1202(1202−1,1202−2)及び送信装置送信期間1203(1203−1,1203−2)を含む。競合送信期間1202は、無線通信システム1000における全無線通信装置によりデータ送信が可能な期間である。送信装置送信期間1203は、送信装置31に個別に割り当てられたデータ送信期間であり、調整された割り当て周期毎に割り当てられる。
FIG. 3 is a diagram illustrating an example of bandwidth allocation of radio resources. The bandwidth allocation information notification period 1201 (1201-1, 1201-2) is a period for the communication management device to notify the bandwidth allocation information. The band allocation information includes a contention transmission period 1202 (1202-1, 1202-2) and a transmission apparatus transmission period 1203 (1203-1, 1203-2). The contention transmission period 1202 is a period during which data can be transmitted by all wireless communication apparatuses in the
送信データ許容量算出部315は、通信管理装置からデータ送信期間の割り当てを受けた後、各データ送信期間の開始時に、割り当てられたデータ送信期間において送信できる送信データ許容量を算出する。
After receiving the allocation of the data transmission period from the communication management device, the transmission data allowable
また、送信データ許容量算出部315は、データ送信期間の開始を、送信データ量カウント部316およびデータ読み出し制御部317に通知し、算出した送信データ量を、データ読み出し制御部317に通知する。
Also, the transmission data allowable
送信データ許容量算出部315により算出される送信データ許容量は、データ送信期間において送信可能な最大データ量ではなく、音声/映像パケットの送信における伝送速度から算出したデータ量から、マージン分を除いたデータ量を用いる。
The transmission data allowable amount calculated by the transmission data allowable
送信データ量カウント部316は、送信データ許容量算出部315からのデータ送信期間の開始通知を受けて、送信データ量をカウントするための送信データ量カウント値をリセットする。
The transmission data amount
また、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットのデータ量のカウントを開始し、送信データ量カウント値をデータ読み出し制御部317に通知する。
Also, the transmission data amount counting
データ読み出し制御部317は、送信データ許容量算出部315からのデータ送信期間の開始通知を受けて、データ記憶部313へ通知する音声/映像データ読み出し停止指示を解除する。
The data read
また、データ読み出し制御部317は、送信データ量カウント値が送信データ許容量に到達したら、音声/映像データ読み出し停止指示をデータ記憶部313へ通知する。
Further, when the transmission data amount count value reaches the transmission data allowable amount, the data read
送受信部318は、ヘッダ付加部314から転送される音声/映像パケットを保持し、送信データ許容量算出部315が管理するデータ送信期間に合わせて、受信装置32へ送信する。
The transmission /
また、送受信部318は、受信装置32から送信した音声/映像パケットに対する応答パケットを受信しなかった場合、一定回数または一定期間、再度音声/映像パケットを送信する。また、送受信部318は、データ送信期間に送信しなかった音声/映像パケットを廃棄する。
Also, when the transmission /
次に、送信装置31が音声/映像パケットを生成する場合の動作例について、図4を用いて説明する。
Next, an operation example when the
ステップST401では、送信データ許容量算出部315は、無線管理装置から割り当てられたデータ送信期間の開始を判定する。判定の結果、データ送信期間の開始時には、送信データ許容量算出部315は、送信データ量カウント部316及びデータ読み出し制御部317へデータ送信期間の開始を通知する。そして、ステップST402へ移行する。データ送信期間が開始されるまでは、データ送信期間開始の判定(ステップST401)を続ける。
In step ST401, the transmission data allowable
ステップST402では、送信データ許容量算出部315は、データ送信期間において送信される送信データ許容量を算出し、送信データ許容量をデータ読み出し制御部317に通知する。そして、ステップST403へ移行する。
In step ST402, the transmission data allowable
ステップST403では、送信データ量カウント部316は、送信データ許容量算出部315から通知されるデータ送信期間の開始通知を受けて、送信データ量カウント値をリセットする。また、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットの送信データ量のカウントを開始し、送信データ量カウント値をデータ読み出し制御部317に通知する。そして、ステップST404へ移行する。
In step ST403, the transmission data amount
ステップST404では、データ読み出し制御部317は、送信データ許容量算出部315から通知されるデータ送信期間の開始通知を受けて、データ記憶部313へ通知する音声/映像データ読み出し停止指示を解除する。そして、ステップST405へ移行する。
In step ST404, the data read
ステップST405では、データ読み出し制御部317は、送信データ許容量算出部315から通知される送信データ許容量と、送信データ量カウント部316から通知される送信データ量カウント値と、を比較する。送信データ量カウント値が送信データ許容量未満であればステップST406へ移行し、送信データ量カウント値が送信データ許容量以上であればステップST412へ移行する。
In step ST405, the data read
ステップST406では、送受信部318は、送受信部318の内部メモリのパケット容量が所定量になっているかの判定を行う。パケット容量が所定量に達した場合は、データの読み出しを待機し、所定量未満である場合はステップST407へ移行する。
In step ST406, the transmission /
ステップST407では、送受信部318の内部メモリのパケット容量が所定量でない場合には、データ記憶部313は、データ読み出し制御部317から音声/映像データ読み出し停止指示が通知されていないので、音声/映像データをヘッダ付加部314へ出力する。そして、ステップST408へ移行する。
In step ST407, when the packet capacity of the internal memory of the transmission /
ステップST408では、ヘッダ付加部314は、データ記憶部313から出力される音声/映像データを所定のサイズ以下のパケットに分割して音声/映像パケットを生成し、音声/映像パケットにヘッダ情報を付加する。そして、ステップST409へ移行する。
In step ST408, the
ステップST409では、ヘッダ付加部314は、PCRが付加される音声/映像パケットであるか否かを判定する。PCRが付加される音声/映像パケットである場合、ステップST410へ移行し、PCRが付加されない音声/映像パケットである場合、ステップST411へ移行する。
In step ST409, the
ステップST410では、PCRを付加する音声/映像パケットである場合、ヘッダ付加部314は、クロック生成部312から通知されるSTCであってパケット生成過程におけるカウンタ値をPCRとして、ヘッダ情報に付加する。そして、ステップST411へ移行する。
In step ST410, in the case of an audio / video packet to which PCR is added, the
ステップST411では、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットのデータ量を送信データ量カウント値に加算し、送信データ量カウンタ値を更新する。そして、ステップST405へ移行する。
In step ST411, the transmission data amount counting
ステップST412では、データ読み出し制御部317は、音声/映像データ読み出し停止指示を生成し、データ記憶部313からの音声/映像データの出力を停止させる。そして、ステップST401へ移行する。
In step ST412, the data read
次に、無線通信システム1000の具体的な通信方式について説明する。
本開示の実施形態では、WiGig(Wireless Gigabit)規格のPBSS通信におけるAVストリーミングにおいて、送信装置31と受信装置32との間でクロック(例えばシステムクロック)を同期させる。PBSS(Personal basic service set)通信は、1つの通信装置がスケジュール管理するアドホック通信である。なお、PBSS通信以外であっても、送信装置31における処理遅延を改善できる。また、送信装置31及び受信装置32において、1対1の通信を行うことを想定する。
Next, a specific communication method of the
In the embodiment of the present disclosure, a clock (for example, a system clock) is synchronized between the
図5は、WiGigディスプレイ拡張(WDE:WiGig Display Extension)仕様を考慮した送信装置31(TX)及び受信装置32(RX)の構成例を示すブロック図である。 FIG. 5 is a block diagram illustrating a configuration example of the transmission device 31 (TX) and the reception device 32 (RX) in consideration of the WiGig Display Extension (WDE) specification.
送信装置31は、WDE−PAL(Protocol Adaptation Layer)ブロック110、MAC(Media Access Control)ブロック120、及びPHYブロック130を備える。WDE−PALブロック110は、WDEのPAL層における処理を実行する。MACブロック120は、WDEのMAC層における処理を実行する。PHYブロック130は、WDEのPHY層における処理を実行する
。
The
WDE−PALブロック110は、HDMI(High−Difinition Mu
ltimedia Interface)・I/F部111、RAM112、WDE処理部113、及びPCR付与部114を備える。MACブロック120は、RAM(Random Access Memory)121、MAC処理部122、及びSP送信停止判定部123を備える。
なお、I/F部としては、HDMIに限らず、Display Portであってもよ
い。
The WDE-
lMedia interface) / I /
The I / F unit is not limited to HDMI, but may be a display port.
HDMI・I/F部111は、図2における音声/映像I/F部311としての機能を有する。RAM112は、データ記憶部313としての機能を有する。WDE処理部113及びPCR付与部114は、クロック生成部312及びヘッダ付加部314としての機能を有する。
The HDMI / I /
RAM121は、送受信部318が備える内部メモリに相当する。SP送信停止判定部123は、送信データ許容量算出部315、送信データ量カウント部316、及びデータ読み出し制御部317としての機能を有する。MAC処理部122及びPHYブロック130は、送受信部318としての機能を有する。
The
次に、図5を用いて送信装置31の動作例について説明する。
Next, an operation example of the
MACブロック320は、データ送信期間の長さに応じて、送信データ許容量(送信パケット許容数)を決定する。また、MACブロック320は、WDE−PALブロック310から入力されるデータ量(入力データ量)をカウントする。MACブロック320は、決定された送信パケット許容数に達した場合、WDE−PALブロック310へパケットのWAITを通知する。パケットのWAIT通知とは、例えば音声/映像データ読み出し停止指示を含む。 The MAC block 320 determines a transmission data allowable amount (transmission packet allowable number) according to the length of the data transmission period. The MAC block 320 counts the amount of data (input data amount) input from the WDE-PAL block 310. When the determined allowable number of transmission packets is reached, the MAC block 320 notifies the WDE-PAL block 310 of the WAIT of the packet. The packet WAIT notification includes, for example, a voice / video data read stop instruction.
WDE−PALブロック310は、MACからパケットのWAIT通知を受けると、RAM112にパケットを待機させる。
When receiving a packet WAIT notification from the MAC, the WDE-PAL block 310 causes the
また、MACブロック320は、データ送信期間開始前に、WDE−PALブロック310のWAIT通知を解除する。WDE−PALブロック310は、MACブロック320からのWAIT通知の解除により、RAM112の処理を再開する。WDE−PALブロック310は、RAM112の処理を再開すると、PCR付与部114によりパケットにPCRを付与する。
Further, the MAC block 320 cancels the WAIT notification of the WDE-PAL block 310 before the data transmission period starts. The WDE-PAL block 310 resumes the processing of the
このように、送信装置31は、データ送信期間において送信するパケット数を規定し、PCR付与前のWDE−PALブロック310のRAM112においてパケットを一時的に待機させることにより、遅延を抑制したPCRを付与できる。つまり、送信装置31は、予め決められたデータ送信期間に合わせて、PCRを付与する。
As described above, the
送信装置31によれば、遅延を抑制したPCRを付与するので、受信装置32により複数のPCRの中から有効なPCRを選択する必要がなく、PCRの送信量を削減できる。
According to the
次に、送信装置31と受信装置32との間においてPCRが送受信されるタイミングについて、図6を用いて説明する。
Next, the timing at which PCR is transmitted and received between the
送信装置31は、無線管理装置により割り当てられたデータ送信期間において、受信装
置32とのシステムクロックを同期させるためのパケットを生成する場合に、PCR51(51−1〜51−6)を付加して、パケットを受信装置32に送信する。PCR51は、送信装置31のシステムクロックによりカウントされた時刻情報を表すSTC50のパケット生成過程におけるカウンタ値を示す。
When the
送信装置31から送信されるPCR51が付加されたパケットは、伝送遅延の時間後に受信装置32に到達する。つまり、PCR51-1のタイミングt0からPCR53−1
のタイミングt1までの間が伝送遅延となる。
ここで、無線通信システム1000における音声/映像パケットの伝送では、送信装置31より送信された後の伝送遅延時間の揺らぎは、近距離無線を前提としたWiGigにおいては、無視できるレベルである。PCR付加後の伝送遅延時間の揺らぎは、主に送信装置31におけるPCR付加後からパケット送信されるまでの時間により決まる。
The packet added with the PCR 51 transmitted from the
The transmission delay is until the timing t1.
Here, in the transmission of the audio / video packet in the
送信装置31は、データ記憶部313による音声/映像データの出力およびヘッダ付加部314によるPCRの付加を、割り当てられたデータ送信期間に合わせて制御する。つまり、送信できる期間であることを確認した後に、PCRを付与して送信することになる。従って、送信装置31における伝送遅延時間の揺らぎが抑制できる。
The
受信装置32は、送信装置31から、伝送遅延時間の揺らぎが抑制されたPCR53(53−1〜53−6)を付加したパケットを受信する。また、受信装置32は、PCR53と、パケット受信時の受信装置32のSTC52と、を比較する。
The
比較の結果、PCR53がSTC52よりも大きい場合、受信装置32は、受信装置32のシステムクロックが送信装置31のシステムクロックよりも遅れていると判断する。受信装置32は、受信装置32のシステムクロックの周波数を早め、差分値(STC52−PCR53)が0に近づくように制御し、受信装置32のSTCを生成する。
As a result of the comparison, when the PCR 53 is larger than the STC 52, the receiving
一方、比較の結果、PCR53がSTC52よりも小さい場合、受信装置32は、受信装置32のシステムクロックが送信装置31のシステムクロックよりも進んでいると判断する。受信装置32は、受信装置32のシステムクロックの周波数を遅らせ、差分値(STC52−PCR53)が0に近づくように制御し、受信装置32のSTCを生成する。
On the other hand, as a result of the comparison, when the PCR 53 is smaller than the STC 52, the
従って、無線通信システム1000によれば、送信装置31から受信装置32へ、伝送遅延時間の揺らぎを抑制したPCR51を送信できるため、受信装置32によるPCR53の抽出が不要になる。従って、送信装置31と受信装置32との同期時間を短縮し、無線リソースの利用量を削減できる、という効率的なシステムクロック同期が可能となる。
Therefore, according to the
(第2の実施形態)
図7は、本開示の第2の実施形態における無線通信システム1000Bにおける受信装置32Bの構成例を示すブロック図である。受信装置32Bは、パケットの再送信を考慮した処理を行う。
(Second Embodiment)
FIG. 7 is a block diagram illustrating a configuration example of the
受信装置32Bは、送受信部321、再送検出部322、ヘッダ解析部323、同期時間情報選択部324、クロック同期部325、データ記憶部326、及び音声/映像I/F部327を備える。
The
送受信部321は、送信装置31Bから送信された音声/映像パケットを受信し、送信装置31Bにより付加された音声/映像パケットのCRCをチェックする。チェック結果が正しければ、送受信部321は、音声/映像パケットに対する応答パケットを送信装置31Bに送信し、音声/映像パケットを再送検出部322へ転送する。
The transmission /
再送検出部322は、送受信部321から転送された音声/映像パケットの再送フラグ(retry bit)及びシーケンス番号の少なくとも一方を用いて、再送信の発生を検出する。
The
再送フラグは、送信装置31Bにより受信装置32Bからの応答パケットを受信せず、再送信が発生した場合に、送信装置31Bにより有効とされる。
The retransmission flag is validated by the
シーケンス番号は、送信装置31Bにより送信される音声/映像パケットの順番に合わせて、送信装置31Bにより付加される。再送信におけるパケットのシーケンス番号は、応答パケットが受信されなかったパケットのシーケンス番号と同じ番号になる。
The sequence number is added by the
再送検出部322は、シーケンス番号順に、音声/映像パケットをヘッダ解析部323へ転送する。また、再送検出部322は、再送フラグが有効である音声/映像パケットに加えて、前に送信された音声/映像パケットの受信待ちが発生した音声/映像パケットについても、再送信が発生した旨を同期時間情報選択部324へ通知(再送発生通知)する。再送検出部322は、例えば送受信部321からパケットをシーケンス番号順に入力しなかったことにより、前に送信された音声/映像パケットを受信できなかったことを判別できる。
The
ヘッダ解析部323は、再送検出部322から転送された音声/映像パケットのヘッダを解析し、ヘッダに付加されているPCRを抽出し、PCRを同期時間情報選択部324へ通知する。また、ヘッダ解析部323は、ヘッダが除去された音声/映像データをデータ記憶部326へ転送する。
The
同期時間情報選択部324は、再送検出部322からの再送発生通知、ヘッダ解析部323からのPCR、及びクロック同期部325からのSTCを用いて、PCRをクロック同期部325によるシステムクロックの同期に用いるかどうかを判定する。ヘッダ解析部323からのPCRは、第1の時間情報の一例であり、クロック同期部325からのSTCは、第2の時間情報の一例である。
The synchronization time
例えば、同期時間情報選択部324は、クロック同期部325からのSTCとヘッダ解析部323からのPCRとから求めた差分値(STC−PCR)と、予め同期時間情報選択部324により保持された差分値と、を比較する。なお、予め保持された差分値とは、例えば、過去に取得され、再送検出部322により再送が検出されなかったパケットに含まれるPCRを用いて求めた差分値(STC−PCR)である。
For example, the synchronization time
比較の結果、両差分値の差が所定範囲に収まるならば、同期時間情報選択部324は、再送信の影響がないと判断し、保持された差分値を求めた差分値(STC−PCR)に更新し、PCRをクロック同期部325へ通知する。
As a result of the comparison, if the difference between the two difference values falls within a predetermined range, the synchronization time
一方、比較の結果、両差分値の差が所定範囲に収まらないならば、同期時間情報選択部324は、再送信の影響があると判断し、保持された差分値を求めた差分値(STC−PCR)に更新は行わない。
On the other hand, if the difference between the two difference values does not fall within the predetermined range as a result of the comparison, the synchronization time
このように、同期時間情報選択部324は、再送発生通知を受けた場合、ヘッダ解析部323からのPCRとクロック同期部325からのSTCとの差分が、求めた差分値(STC−PCR)と保持している差分値とを比較した結果、所定範囲内に収束した後に、PCRを選択する。
As described above, when the synchronization time
クロック同期部325は、同期時間情報選択部324からのPCRと、クロック同期部325により管理されたSTCと、を比較する。なお、クロック同期部325により管理されたSTCは、受信装置32BのSTCである。
The
比較の結果、PCRがSTCよりも大きい場合、クロック同期部325は、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも遅れていると判断する。クロック同期部325は、受信装置32のシステムクロックの周波数を早め、差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
As a result of the comparison, when the PCR is larger than the STC, the
また、比較の結果、PCRがSTCよりも小さい場合、クロック同期部325は、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも進んでいると判断する。クロック同期部325は、受信装置32Bのシステムクロックの周波数を遅らせ、求めた差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
As a result of the comparison, if the PCR is smaller than the STC, the
クロック同期部325は、生成したSTCを同期時間情報選択部324に通知し、制御するシステムクロックを、音声/映像I/F部327に通知する。
The
データ記憶部326は、ヘッダ解析部323から転送される音声/映像データを記憶する。また、データ記憶部326は、音声/映像I/F部327からの読み出し要求に合わせて、音声/映像データを音声/映像I/F部327へ転送する。ここで、データ記憶部326は、ヘッダ解析部323からのデータ入力速度と、音声/映像I/F部327へのデータ出力速度と、の瞬時的な違いを吸収するために用いられる。
The
音声/映像I/F部327は、クロック同期部325から通知される送信装置31Bのシステムクロックに同期した受信装置32Bのシステムクロックに合わせて、データ記憶部326から音声/映像データを出力する。
The audio / video I /
また、音声/映像I/F部327は、音声/映像データを処理(例えばフォーマット変換処理)する。音声/映像I/F部327は、一定の伝送速度によって、変換後の音声/映像データを音声/映像受信装置33に転送する。
The audio / video I /
受信装置32Bは、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、再送検出部322、ヘッダ解析部323、同期時間情報選択部324、クロック同期部325の各機能を実現する。
The receiving
なお、送信装置31Bの構成は、一般的な送信装置の構成であってもよいし、前述した第1の実施形態における送信装置31の構成であってもよい。また、送信装置31Bは、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。
The configuration of the
また、送信装置31Bは、図3に示す送信装置送信期間1203の割り当てを予め受け、送信装置送信期間1203において音声/映像パケットを送信してもよい。また、送信装置31Bは、送信装置送信期間1203の割り当てを受けずに、競合送信期間1202において音声/映像パケットを送信してもよい。
Further, the
次に、受信装置32Bが音声/映像パケットを受信した場合の動作例について、図8を用いて説明する。
Next, an operation example when the receiving
ステップST701では、再送検出部322は、送受信部321からのパケットが再送
パケットであるか否かを判定する。再送検出部322は、所定の再送判定条件を満たす場合、再送信が発生した音声/映像パケットであると判定する。所定の再送判定条件は、再送検出部322に入力された音声/映像パケットの再送フラグが有効の場合、又は、後続のシーケンス番号が付与された音声/映像パケットよりも、後にパケットが入力された場合、を含む。再送パケットである場合には、ステップST703へ移行し、再送パケットでない場合には、ステップST702へ移行する。
In step ST701,
ステップST702では、再送検出部322は、入力済みのパケットよりも前のシーケンス番号を付与された音声/映像パケットの受信を待機しているかどうかを判定する。受信を待機している場合には、再送検出部322は、前の音声/映像パケットにおいて再送信が発生したと判定し、ステップST703へ移行する。一方、受信を待機していない場合には、再送検出部322は、前の音声/映像パケットにおいて再送信が発生していないと判断し、ステップST704へ移行する。
In step ST702,
ステップST703では、再送検出部322は、再送信が発生したことを示す情報(再送発生情報)を生成し、同期時間情報選択部324へ通知(再送発生通知)する。そして、ステップST704へ移行する。
In step ST703,
ステップST704では、ヘッダ解析部323は、再送検出部322から転送された音声/映像パケットのヘッダを解析し、ヘッダの情報にPCRが付加されている場合にはPCRを抽出し、PCRを同期時間情報選択部324へ通知する。そして、ステップST705へ移行する。
In Step ST704, the
ステップST705では、同期時間情報選択部324は、再送検出部322から再送発生通知を受けたかどうかを判定する。再送発生通知を受けなかった場合には、ステップST706へ移行する。
In Step ST705, the synchronization time
一方、再送発生通知を受けた場合は、受信装置32Bのシステムクロックを調整せず、図8の処理を終了する。これは、再送発生通知を受けた場合は、PCRの信頼性が低いと判断するためである。
On the other hand, when the notification of occurrence of retransmission is received, the processing of FIG. 8 ends without adjusting the system clock of the receiving
ステップST706では、同期時間情報選択部324は、ヘッダ解析部323からPCRの通知を受けたかどうかを判定する。PCRの通知を受けた場合には、ステップST707へ移行する。また、PCRの通知を受けなかった場合は、受信装置32Bのシステムクロックを調整せず、図8の処理を終了する。
In step ST706, the synchronization time
ステップST707では、同期時間情報選択部324は、クロック同期部325から通知されるSTCとヘッダ解析部323から通知されるPCRとから求めた差分値(STC−PCR)と、同期時間情報選択部324により予め保持された差分値と、を比較する。
In step ST707, the synchronization time
比較の結果、両差分値の差が所定範囲に収まるならば、同期時間情報選択部324は、再送信の影響がないと判定し、ステップST708へ移行する。
As a result of the comparison, if the difference between the two difference values is within the predetermined range, the synchronization time
一方、比較の結果、両差分値が所定範囲に収まらないならば、再送信の影響があると判定し、受信装置32Bのシステムクロックを調整せず、図8の処理を終了する。
On the other hand, if both the difference values do not fall within the predetermined range as a result of the comparison, it is determined that there is an influence of retransmission, the system clock of the receiving
ステップST708では、同期時間情報選択部324は、保持された差分値を、求めた差分値(STC−PCR)に更新し、ステップST709へ移行する。
In step ST708, the synchronization time
ステップST709では、同期時間情報選択部324は、再送信の影響がないPCRと
判定したので、PCRをクロック同期部325へ通知し、ステップST710へ移行する。
In step ST709, since the synchronization time
ステップST710では、クロック同期部325は、同期時間情報選択部324から通知されるPCRと、クロック同期部325により管理されたSTC(受信装置32BのSTC)と、を比較する。
In step ST710, the
比較の結果、PCRがSTCよりも大きい場合、クロック同期部325は、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも遅れていると判断する。クロック同期部325は、受信装置32Bのシステムクロックの周波数を早め、求めた差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
As a result of the comparison, when the PCR is larger than the STC, the
また、比較の結果、PCRがSTCよりも小さい場合、クロック同期部325は、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも進んでいると判断する。クロック同期部325は、受信装置32Bのシステムクロックの周波数を遅らせ、求めた差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
As a result of the comparison, if the PCR is smaller than the STC, the
次に、WiGigディスプレイ拡張(WDE)仕様を考慮した送信装置31B(TX)及び受信装置32B(RX)の構成例について、図9を用いて説明する。
Next, a configuration example of the
受信装置32は、PHYブロック210、MACブロック220、及びWDE−PALブロック230を備える。PHYブロック210は、WDEのPHY層における処理を実行する。MACブロック220は、WDEのMAC層における処理を実行する。WDE−PALブロック230は、WDEのPAL層における処理を実行する。
The receiving
MACブロック220は、RAM221、MAC処理部222、及び再送待ち検出部223を備える。WDE−PALブロック230は、WDE処理部231、PCR選択部232、クロック再生部233、RAM234、及びHDMI・I/F部235を備える。
The
RAM221は、図7における送受信部321の内部メモリに相当する。PHYブロック210及びMAC処理部222は、送受信部321としての機能を有する。再送待ち検出部223は、再送検出部322としての機能を有する。
The
WDE処理部231は、ヘッダ解析部323としての機能を有する。PCR選択部232は、同期時間情報選択部324としての機能を有する。クロック再生部233は、クロック同期部325としての機能を有する。RAM234は、データ記憶部326としての機能を有する。HDMI・I/F部235は、音声/映像I/F部327としての機能を有する。
The
次に、図9を用いて受信装置32Bの動作例について説明する。
Next, an operation example of the receiving
MACブロック220は、再送が発生したパケットを検出し、WDE−PALブロック230へ再送の発生を通知(再送発生通知)する。再送が発生したことを検出する場合、後続のシーケンス番号により識別されるパケットよりも、MACブロック220へ遅れて到達したパケットを、再送パケットとして検出してもよい。また、再送フラグが有効(再送である旨)を示しているパケットを、再送パケットとして検出してもよい。
The
WDE−PALブロック230は、MACブロック220から再送発生通知を受けると
、受信装置32のSTCと送信装置31からのPCRとから求めた差分値(STC−PCR)を比較する。WDE−PALブロック230は、求めた差分値(STC−PCR)が、再送発生通知前の差分値(STC−PCR)の値付近に収束するまで、パケットに含まれるPCRをクロック再生部233によるクロック同期に用いない。
When the WDE-
このように、受信装置32Bは、再送パケットの発生を認識できるので、再送の影響を受けたパケットに含まれるPCRをクロック同期に用いることを防止できる。つまり、受信装置32Bは、再送待ちを検出し、再送待ちが発生した再送待ちパケットと、再送待ちパケットに後続し、所定以上遅延して到達した遅延パケットと、を除くパケットに含まれるPCRをクロック同期に用いることができる。
Thus, the receiving
受信装置32Bによれば、各パケットにおいてPCRの有効性を判断できるので、複数のPCRから不要なPCRを抽出することを防止できる。また、信頼性の高いPCRを用いるので、クロック同期の信頼性が向上し、クロック同期に要する時間も短縮できる。
According to the receiving
次に、送信装置31Bと受信装置32Bとの間においてPCRが送受信されるタイミングについて、図10を用いて説明する。
Next, the timing at which PCR is transmitted and received between the
図10では、送信装置31Bは、パケット生成過程においてパケットにPCR81(81−1〜81−7)を付加し、通信回線上の送信タイミング84(84−1〜84−7),85(85−3)において、パケットを受信装置32Bに送信する。PCR81は、送信装置31Bのシステムクロックによりカウントされた時刻情報を表すSTC80のパケット生成過程におけるカウンタ値を示す。
In FIG. 10, the
送信装置31Bから送信されるPCR81が付加されたパケットは、伝送遅延時間後に、受信装置32Bに到達する。ここで、無線通信システム1000Bにおける音声/映像伝送では、送信装置31Bより送信された後の伝送遅延時間の揺らぎは、近距離無線を前提としたWiGigにおいては、無視できるレベルである。PCR付加後の伝送遅延時間の揺らぎは、主に送信装置31BのPCR付加後から送信装置31Bにより送信される通信回線上の送信タイミング84(再送信では、再送信タイミング85)までの時間により決まる。
The packet added with the PCR 81 transmitted from the
時間的に前のパケットにおいて再送信が発生した場合、次のパケットの送信タイミング84−4は通信回線上の再送信タイミング85−3よりも時間的に後ろになる。従って、後続のパケットの通信回線上の送信タイミング84−4,84−5についても、理想的な送信タイミングと比較して遅れが発生する。 When retransmission occurs in the previous packet in time, the transmission timing 84-4 of the next packet is later in time than the retransmission timing 85-3 on the communication line. Accordingly, the transmission timings 84-4 and 84-5 of the subsequent packets on the communication line are also delayed compared to the ideal transmission timing.
受信装置32Bは、送信装置31Bから伝送遅延時間後にPCR83(83−1〜83−7)が付加されたパケットを受信し、再送信の影響を受けていないPCR83−1,83−2,83−6,83−7を選択する。
The receiving
続いて、受信装置32Bは、選択したPCR83−1,83−2,83−6,83−7と、パケット受信過程の受信装置32BのSTC82と、を比較する。比較の結果、PCRがSTCよりも大きい場合、受信装置32Bは、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも遅れていると判断する。受信装置32Bは、受信装置32Bのシステムクロックの周波数を早め、差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
Subsequently, the
また、比較の結果、PCRがSTCよりも小さい場合、受信装置32Bは、受信装置32Bのシステムクロックが送信装置31Bのシステムクロックよりも進んでいると判断す
る。受信装置32Bは、受信装置32Bのシステムクロックの周波数を遅らせ、差分値(STC−PCR)が0に近づくように制御し、受信装置32BのSTCを生成する。
As a result of the comparison, when the PCR is smaller than the STC, the receiving
つまり、送信装置31Bは、送信したパケットに対して受信装置32Bから応答パケットが返信されなかった場合、パケットが未到達であったことを認識し、パケットを再送する。再送信の発生後、パケットの再送信がなかった場合と比較すると、送信装置31Bによるパケットの送信間隔が小さくなる。これは、再送信が発生することで、送信装置31BのMACブロックのRAM(図9参照)にデータが残存する傾向にあり、残存データを送信可能なタイミングにおいて送信するためである。
That is, when the response packet is not returned from the
パケットの送信間隔が小さくなることは、図10の送信タイミング84−1,84−2の間隔よりも、再送信タイミング85−3、送信タイミング84−4,84−5の間隔が小さいことからも理解できる。これにより、受信装置32Bにおけるパケット受信の遅延時間が徐々に収束する。
The packet transmission interval is reduced because the intervals between the retransmission timing 85-3 and the transmission timings 84-4 and 84-5 are smaller than the intervals between the transmission timings 84-1 and 84-2 in FIG. Understandable. Thereby, the delay time of packet reception in the receiving
一方、受信装置32B側では、再送信が発生すると、パケットに含まれるPCRと受信装置32BのSTCとの差分値(PCR−STC)が急激に大きくなる。これは、再送発生前のパケットの差分値(PCR−STC)は、タイミング81−2からタイミング83−2までとなるのに対して、再送が発生したパケットの差分値(PCR−STC)は、タイミング81−3からタイミング83−3までとなるためである。
なお、再送信の発生後は、差分値が段階的に小さくなり、再送信が発生する前の差分値と同程度に収束する。差分値が収束すると、受信装置32Bは、再送信の影響がなくなったと判断し、パケットに含まれるPCRを用いたクロック同期を再開する。
On the other hand, on the receiving
Note that after the occurrence of retransmission, the difference value decreases stepwise and converges to the same extent as the difference value before retransmission occurs. When the difference value converges, the receiving
従って、受信装置32Bによれば、再送信が発生しても、再送信の影響がないとみなせる状態に収束してから、パケットに含まれるPCRをクロック同期に用いる。つまり、再送信により影響を受けたパケットのPCRを除去してクロック同期を行うので、クロック同期の信頼性を向上でき、同期時間を短縮できる、という効率的なシステムクロック同期が可能となる。
Therefore, according to the receiving
(第3の実施形態)
図11は、本開示の第3の実施形態における無線通信システム1000Cにおける受信装置32Cの構成例を示すブロック図である。
(Third embodiment)
FIG. 11 is a block diagram illustrating a configuration example of the
受信装置32Cは、複数のパケットが結合された結合パケットを考慮した処理を行う。結合パケットでは、結合パケット内の2番目以降のパケットの送信パケットが間隔を短縮されて送信される。従って、パケットに含まれるPCRの値を維持すると、受信装置32Cのシステムクロックと送信装置31Cのシステムクロックとを精度良く比較することが困難なため、受信装置32CはPCRの値を補正(調整)する。なお、送信装置31Cは、パケットを結合パケットとして送るかどうかを予め定めている。
The receiving
受信装置32Cは、送受信部321、パケット順算出部328、ヘッダ解析部323、同期時間情報補正部329、クロック同期部325、データ記憶部326、及び音声/映像I/F部327を備える。図11の受信装置32Cにおいて、図7の受信装置32Bと同様の構成については、同一の符号を付し、説明を省略又は簡略化する。本実施形態では、第2の実施形態との相違点を主に説明する。
The receiving
送受信部321は、受信した音声/映像パケットが複数のパケットを結合した結合パケットである場合、結合パケットに対して応答パケットを送信装置31Cへ送信し、音声/映像パケットをパケット順算出部328へ転送する。
If the received audio / video packet is a combined packet obtained by combining a plurality of packets, the transmission /
パケット順算出部328は、送受信部321から転送された音声/映像パケットが結合パケットである場合、結合パケット内の音声/映像パケット数(パケット数)と結合パケット内の音声/映像パケットの順番を表す番号(パケット番号)を取得する。
When the audio / video packet transferred from the transmission /
パケット数の情報は、結合パケットに含まれてもよいし、パケット順算出部328が結合パケット内のパケット総数をカウントしてもよい。パケット番号の情報は、結合パケット内の各パケットに含まれていてもよいし、パケット順算出部328が結合パケット内の各パケットの順番をカウントして求めてもよい。
The information on the number of packets may be included in the combined packet, or the packet
パケット順算出部328は、パケット数及びパケット番号を同期時間情報補正部329へ通知する。また、パケット順算出部328は、各音声/映像パケットを、入力順にヘッダ解析部323へ転送する。なお、パケット番号は、パケット順を示す情報の一例であり、他の方法でパケット順を示してもよい。
The packet
ヘッダ解析部323は、パケット順算出部328から転送された音声/映像パケットのヘッダを解析し、ヘッダに付加されたPCRを抽出し、PCRを同期時間情報補正部329へ通知する。
The
同期時間情報補正部329は、パケット順算出部328からの結合パケット内の音声/映像パケット数(N)、結合パケット内のパケット番号(n)、およびヘッダ解析部323からのPCRを用いて、PCRの値を補正する。
The synchronization time
例えば、同期時間情報補正部329は、図13に示す結合パケットの送信間隔(Y)を用いて、以下の(式1)により補正後のPCRを算出する。
補正後のPCR=PCR+(n/N)×Y ・・・(式1)
同期時間情報補正部329は、補正後のPCRをクロック同期部325へ通知する。
For example, the synchronization time
PCR after correction = PCR + (n / N) × Y (Formula 1)
The synchronization time
なお、結合パケットの送信間隔(Y)の情報は、例えば帯域割当情報通知期間1201(図3参照)に送信装置31Cから受信装置32Cへ通知される。受信装置32Cは、通知された結合パケットの送信間隔(Y)の情報を保持しておく。なお、結合パケットの送信間隔(Y)の情報は、通知されず、固定値を用いても良く、また、結合パケットの送信間隔(Y)は、実際の結合パケットの送信間隔以下の値でも良い。
The information on the transmission interval (Y) of the combined packet is notified from the
受信装置32Cは、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、パケット順算出部328の機能を実現する。
The receiving
なお、送信装置31Cの構成は、一般的な送信装置の構成であってもよいし、前述した第1の実施形態における送信装置31の構成であってもよい。なお、送信装置31Cは、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。
The configuration of the
次に、受信装置32Cが音声/映像パケットを受信した場合の動作例について、図12を用いて説明する。
Next, an operation example when the receiving
ステップST1001では、パケット順算出部328は、送受信部321から転送される結合パケット内の音声/映像パケット数(N)を算出し、音声/映像パケット数(N)を同期時間情報補正部329へ通知する。そして、ステップST1002へ移行する。
In step ST1001, the packet
ステップST1002では、パケット順算出部328は、送受信部321から転送され
る結合パケット内の音声/映像パケットのパケット番号(n)を、先頭パケットを示す番号である0として、同期時間情報補正部329へ通知する。そして、ステップST1003へ移行する。
In step ST1002, the packet
ステップST1003では、ヘッダ解析部323は、パケット順算出部328から転送される音声/映像パケットのヘッダを解析し、ヘッダ情報にPCRが付加されている場合、PCRを抽出して同期時間情報補正部329へ通知する。そして、ステップST1004へ移行する。
In step ST1003, the
ステップST1004では、同期時間情報補正部329は、パケット順算出部328から通知される結合パケット内のパケット番号(n)に対応するPCRがヘッダ解析部323から通知されているかどうかを判定する。パケット番号に対応するPCRが通知されている場合は、ステップST1005へ移行し、通知されていない場合は、ステップST1007へ移行する。
In Step ST1004, the synchronization time
ステップST1005では、同期時間情報補正部329は、結合パケット内の音声/映像パケット数(N)、パケット番号(n)、ヘッダ解析部323からのPCR、及び結合パケット間の送信間隔(Y)を用いて、PCRの値を補正する。例えば、同期時間情報補正部329は、補正後のPCRを(式1)を用いて算出し、補正後のPCRをクロック同期部325へ通知する。そして、ステップST1006へ移行する。
In step ST1005, the synchronization time
ステップST1006では、クロック同期部325は、同期時間情報補正部329から通知されるPCRと、クロック同期部325により管理されたSTCと、を比較する。比較の結果、PCRがSTCよりも大きい場合、受信装置32Cのシステムクロックが送信装置31Cのシステムクロックよりも遅れていると判断する。クロック同期部325は、受信装置32Cのシステムクロックの周波数を早め、差分値(STC−PCR)が0に近づくように制御し、受信装置32CのSTCを生成する。
In Step ST1006, the
一方、比較の結果、PCRがSTCよりも小さい場合、受信装置32Cのシステムクロックが送信装置31Cのシステムクロックよりも進んでいると判断する。クロック同期部325は、受信装置32Cのシステムクロックの周波数を遅らせ、差分値(STC−PCR)が0に近づくように制御し、受信装置32CのSTCを生成する。クロック同期が終了すると、ステップS1007へ移行する。
On the other hand, if the PCR is smaller than the STC as a result of the comparison, it is determined that the system clock of the receiving
ステップST1007では、パケット順算出部328は、送受信部321から転送される結合パケット内の音声/映像パケットのパケット番号(n)をインクリメント(増加)する。そして、ステップST1008へ移行する。
In Step ST1007, the packet
ステップST1008では、パケット順算出部328は、結合パケット内の音声/映像パケットのパケット番号(n)と結合パケット内のパケット数(N)を比較する。パケット番号(n)とパケット数(N)とが一致する場合、図12の処理を完了する。
In Step ST1008, the packet
一方、パケット番号(n)とパケット数(N)とが一致しない場合、処理していない音声/映像パケットが残っているので、パケット順算出部328は、結合パケット内の音声/映像パケットのパケット番号(n)を同期時間情報補正部329へ通知する。そして、再度ステップST1003へ移行する。
On the other hand, if the packet number (n) and the number of packets (N) do not match, an unprocessed audio / video packet remains, so the packet
従って、受信装置32Cによれば、送信装置31CからのPCRを補正してクロック同期に用いることができるので、同期時間の短縮及び無線リソースの削減ができる、という効率的なシステムクロック同期が可能となる。
Therefore, according to the receiving
本開示は、上記実施形態の構成に限られるものではなく、特許請求の範囲で示した機能、または本実施形態の構成が持つ機能が達成できる構成であれば、どのようなものであっても適用可能である。 The present disclosure is not limited to the configuration of the above-described embodiment, and any configuration can be used as long as the functions shown in the claims or the functions of the configuration of the present embodiment can be achieved. Applicable.
上記実施形態では、送信装置と受信装置との間において無線通信することを説明したが、有線通信に対しても適用可能である。有線通信する場合であっても、送信装置における処理遅延を防止でき、PCRがパケットに付与されてから送信装置において送信待機されることを防止できる。 In the above embodiment, the wireless communication between the transmission device and the reception device has been described. However, the present invention is also applicable to wired communication. Even in the case of wired communication, processing delay in the transmission device can be prevented, and transmission standby in the transmission device after PCR is added to the packet can be prevented.
上記実施形態では、1対1の通信を想定したが、1対多の通信を想定してもよい。1対多の通信であっても、送信装置における処理遅延を防止でき、PCRがパケットに付与されてから送信装置において送信待機されることを防止できる。 In the above embodiment, one-to-one communication is assumed, but one-to-many communication may be assumed. Even in one-to-many communication, processing delay in the transmission device can be prevented, and transmission standby in the transmission device after the PCR is attached to the packet can be prevented.
上記実施形態では、本開示をハードウェアで構成する場合を例にとって説明したが、本開示はハードウェアとの連携においてソフトウェアでも実現することも可能である。 In the above embodiment, the case where the present disclosure is configured by hardware has been described as an example. However, the present disclosure can also be realized by software in cooperation with hardware.
また、上記実施形態の説明に用いた各機能ブロックは、典型的には集積回路であるLSIとして実現される。これらは個別に1チップ化されてもよいし、一部または全てを含むように1チップ化されてもよい。ここでは、LSIとしてもよいし、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称してもよい。 Each functional block used in the description of the above embodiment is typically realized as an LSI that is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include a part or all of them. Here, it may be an LSI, or may be referred to as an IC, a system LSI, a super LSI, or an ultra LSI depending on the degree of integration.
また、集積回路化の手法はLSIに限るものではなく、専用回路または汎用プロセッサで実現してもよい。例えば、LSI製造後にプログラムすることが可能なFPGA(Field Programmable Gate Array)、LSI内部の回路セルの接続、又は、設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。 Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. For example, a Field Programmable Gate Array (FPGA) that can be programmed after manufacturing the LSI, connection of circuit cells in the LSI, or a reconfigurable processor whose settings can be reconfigured may be used.
さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適用等が可能性としてありえる。 Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.
本開示は、同期時間を短縮でき、無線リソースを効率的に利用できる通信装置、クロック同期方法等に有用である。 The present disclosure is useful for a communication apparatus, a clock synchronization method, and the like that can shorten the synchronization time and can efficiently use radio resources.
1000,1000B,1000C 無線通信システム
30 音声/映像発信装置
31,31B,31C 送信装置
32,32B,32C 受信装置
33 音声/映像受信装置
110 WDE−PALブロック
111 HDMI・I/F部
112 RAM
113 WDE処理部
114 PCR付与部
120 MACブロック
121 RAM
122 MAC処理部
123 SP送信停止判定部
130 PHYブロック
210 PHYブロック
220 MACブロック
221 RAM
222 MAC処理部
223 再送待ち検出部
230 WDE−PALブロック
231 WDE処理部
232 PCR選択部
233 クロック再生部
234 RAM
235 HDMI・I/F部
311 音声/映像I/F部
312 クロック生成部
313 データ記憶部
314 ヘッダ付加部
315 送信データ許容量算出部
316 送信データ量カウント部
317 データ読み出し制御部
318 送受信部
321 送受信部
322 再送検出部
323 ヘッダ解析部
324 同期時間情報選択部
325 クロック同期部
326 データ記憶部
327 音声/映像I/F部
328 パケット順算出部
329 同期時間情報補正部
1000, 1000B, 1000C
113
122
222
235 HDMI / I /
Claims (5)
当該他の通信装置は、
データを格納するデータ記憶部と、
当該他の通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、
データ送信期間において、前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するヘッダ付加部と、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信する送信部と、を備え、
当該通信装置は、
前記他の通信装置によりパケットの再送信が発生したことを検出する再送検出部と、
前記再送検出部による検出結果、前記パケットに含まれる時間情報である第1の時間情報、及び当該通信装置の時間情報である第2の時間情報に基づいて、前記第1の時間情報のうち、クロックの同期に用いる第1の時間情報を選択する同期時間情報選択部と、
前記同期時間情報選択部により選択された前記第1の時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるクロック同期部と、を備え、
前記同期時間情報選択部は、前記再送検出部によりパケットの再送信が発生したことを検出した場合、再送信発生後の前記第1の時間情報と前記第2の時間情報との差分が、所定範囲内に収束した後の第1の時間情報から選択する通信装置。 A communication device that receives a packet from another communication device,
The other communication device is
A data storage unit for storing data;
A data reading control unit that controls reading of data from the data storage unit based on a transmission data allowable amount in a data transmission period allocated to the other communication device;
In a data transmission period, a header adding unit that reads data stored in the data storage unit, adds time information to the read data, and generates a packet;
A transmission unit that transmits the packet in the same data transmission period as the data transmission period in which the packet was generated, and
The communication device
A retransmission detection unit for detecting that retransmission of a packet has occurred by the other communication device;
Based on the detection result by the retransmission detection unit, the first time information that is time information included in the packet, and the second time information that is time information of the communication device, among the first time information, A synchronization time information selection unit for selecting first time information used for clock synchronization;
Using the first time information selected by the synchronization time information selection unit, a clock synchronization unit for synchronizing the clock of the communication device and the other communication device,
When the retransmission time detection unit detects that a retransmission of a packet has occurred, the synchronization time information selection unit determines that a difference between the first time information and the second time information after the occurrence of retransmission is a predetermined value. A communication apparatus that selects from first time information after convergence within a range.
当該他の通信装置は、
データを格納するデータ記憶部と、
当該他の通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、前記データ記憶部からのデータの読み出しを制御するデータ読み出し制御部と、
データ送信期間において、前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するヘッダ付加部と、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信する送信部と、を備え、
当該通信装置は、
複数のパケットが結合した結合パケットを受信した場合、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、に基づいて、前記パケットに含まれる時間情報を補正する同期時間情報補正部と、
前記同期時間情報補正部により補正された時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるクロック同期部と、
を備える通信装置。 A communication device that receives a packet from another communication device,
The other communication device is
A data storage unit for storing data;
A data reading control unit that controls reading of data from the data storage unit based on a transmission data allowable amount in a data transmission period allocated to the other communication device;
In a data transmission period, a header adding unit that reads data stored in the data storage unit, adds time information to the read data, and generates a packet;
A transmission unit that transmits the packet in the same data transmission period as the data transmission period in which the packet was generated, and
The communication device
Synchronous time information that corrects time information included in the packet based on the number of packets included in the combined packet and the order of the packets in the combined packet when a combined packet in which a plurality of packets are combined is received A correction unit;
Using the time information corrected by the synchronization time information correction unit, a clock synchronization unit that synchronizes the clocks of the communication device and the other communication device,
A communication device comprising:
前記同期時間情報補正部は、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、前記結合パケットの送信間隔と、に基づいて、前記パケットに含まれる時間情報を補正する通信装置。 The communication device according to claim 2,
The synchronization time information correction unit corrects the time information included in the packet based on the number of packets included in the combined packet, the order of the packets in the combined packet, and the transmission interval of the combined packet. Communication device.
当該他の通信装置のクロックの同期方法は、
当該他の通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、データ記憶部からのデータの読み出しを制御するステップと、
前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するステップと、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信するステップと、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信するステップとを有し、
当該通信装置におけるクロック同期方法は、
前記他の通信装置によりパケットの再送信が発生したことを検出するステップと、
前記パケットの再送信の有無、前記パケットに含まれる時間情報である第1の時間情報、及び当該通信装置の時間情報である第2の時間情報に基づいて、前記第1の時間情報のうち、クロックの同期に用いる第1の時間情報を選択するステップと、
前記選択された前記第1の時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるステップと、を有し、
前記選択するステップは、前記検出するステップによりパケットの再送信が発生したことを検出した場合、再送信発生後の前記第1の時間情報と前記第2の時間情報との差分が、所定範囲内に収束した後の第1の時間情報から選択する、
クロック同期方法。 A clock synchronization method in a communication device that receives a packet from another communication device,
The clock synchronization method of the other communication device is as follows:
Controlling the reading of data from the data storage unit based on the transmission data allowable amount in the data transmission period allocated to the other communication device;
Reading data stored in the data storage unit, adding time information to the read data, and generating a packet;
Transmitting the packet in the same data transmission period as the data transmission period in which the packet was generated;
Transmitting the packet in the same data transmission period as the data transmission period in which the packet was generated,
The clock synchronization method in the communication device is:
Detecting the occurrence of packet retransmission by the other communication device;
Based on the presence / absence of retransmission of the packet, first time information that is time information included in the packet, and second time information that is time information of the communication device, out of the first time information, Selecting first time information for use in clock synchronization;
Using the selected first time information to synchronize clocks of the communication device and the other communication device,
In the selecting step, when it is detected that the retransmission of the packet has occurred in the detecting step, the difference between the first time information and the second time information after the occurrence of the retransmission is within a predetermined range. Select from the first time information after convergence to
Clock synchronization method.
当該他の通信装置のクロックの同期方法は、
当該他の通信装置に割り当てられたデータ送信期間における送信データ許容量に基づいて、データ記憶部からのデータの読み出しを制御するステップと、
前記データ記憶部に格納されたデータを読み出し、読み出されたデータに、時間情報を付加して、パケットを生成するステップと、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信するステップと、
前記パケットが生成された前記データ送信期間と同じデータ送信期間において、前記パケットを送信するステップとを有し、
当該通信装置におけるクロック同期方法は、
複数のパケットが結合した結合パケットを受信した場合、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、に基づいて、前記パケットに含まれる時間情報を補正するステップと、
前記補正された時間情報を用いて、当該通信装置と前記他の通信装置とのクロックを同期させるステップと、
を有するクロック同期方法。 A clock synchronization method in a communication device that receives a packet from another communication device,
The clock synchronization method of the other communication device is as follows:
Controlling the reading of data from the data storage unit based on the transmission data allowable amount in the data transmission period allocated to the other communication device;
Reading data stored in the data storage unit, adding time information to the read data, and generating a packet;
Transmitting the packet in the same data transmission period as the data transmission period in which the packet was generated;
Transmitting the packet in the same data transmission period as the data transmission period in which the packet was generated,
The clock synchronization method in the communication device is:
When receiving a combined packet in which a plurality of packets are combined, correcting the time information included in the packet based on the number of packets included in the combined packet and the order of the packets in the combined packet;
Using the corrected time information to synchronize the clocks of the communication device and the other communication device;
A clock synchronization method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012127289A JP6157064B2 (en) | 2012-06-04 | 2012-06-04 | Communication apparatus and clock synchronization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012127289A JP6157064B2 (en) | 2012-06-04 | 2012-06-04 | Communication apparatus and clock synchronization method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013251865A JP2013251865A (en) | 2013-12-12 |
JP6157064B2 true JP6157064B2 (en) | 2017-07-05 |
Family
ID=49850106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012127289A Active JP6157064B2 (en) | 2012-06-04 | 2012-06-04 | Communication apparatus and clock synchronization method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6157064B2 (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09135272A (en) * | 1995-09-04 | 1997-05-20 | Hitachi Ltd | Packet multiplex transmitter |
JP2000341684A (en) * | 1999-05-27 | 2000-12-08 | Mitsubishi Electric Corp | Device and method for receiving signal and reproducing video signal |
JP3856135B2 (en) * | 2003-03-31 | 2006-12-13 | 日本電気株式会社 | Stream converting / sending device |
JP2006049948A (en) * | 2004-07-30 | 2006-02-16 | Seiko Epson Corp | Data transfer control apparatus, electronic apparatus, and data transfer control method |
JP4367287B2 (en) * | 2004-08-12 | 2009-11-18 | ソニー株式会社 | Receiving apparatus and method, recording medium, program, and communication system |
JP2006060631A (en) * | 2004-08-23 | 2006-03-02 | Matsushita Electric Ind Co Ltd | Communication terminal device |
US20070147435A1 (en) * | 2005-12-23 | 2007-06-28 | Bruce Hamilton | Removing delay fluctuation in network time synchronization |
JP2008085500A (en) * | 2006-09-26 | 2008-04-10 | Sanyo Electric Co Ltd | Receiver, transmitter and synchronization control method |
-
2012
- 2012-06-04 JP JP2012127289A patent/JP6157064B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013251865A (en) | 2013-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8380881B2 (en) | Synchronizing data transmission between a wireless network and a wired network | |
US9830298B2 (en) | Media time based USB frame counter synchronization for Wi-Fi serial bus | |
TWI545971B (en) | Audio synchronization method for bluetooth speaker | |
US20160021612A1 (en) | Wireless transmission device, wireless reception device, wireless transmission program, wireless reception program, and wireless communication system | |
JP6045085B2 (en) | Method and apparatus for arbitration of time sensitive data transmission | |
US9686816B2 (en) | Pause signals for full-duplex wireless networks | |
CN104079957A (en) | Multimedia device synchronous operation method and system | |
EP2846470B1 (en) | A method of mobile terminal internal communications | |
WO2015139551A1 (en) | Method for implementing data transmission by means of audio interface | |
WO2021092859A1 (en) | Method for establishing iso link, and ble device | |
US20170127363A1 (en) | Transmission system, wireless device, and synchronization establishment method | |
WO2012068972A1 (en) | Method for activating configuration and user equipment | |
EP2698944A1 (en) | Dynamic link adjustment method and link managing device | |
JP6157064B2 (en) | Communication apparatus and clock synchronization method | |
TW201601579A (en) | Method of period allocation for medium and wireless communication system thereof | |
US8532111B2 (en) | Transmission apparatus, transmission method, and program | |
WO2021047778A1 (en) | Techniques for two-step random access improvements | |
EP3244652A1 (en) | Channel sending method, and receiving method and device | |
US20130229907A1 (en) | Wireless station, communication system, and communication method | |
US10862830B2 (en) | Real-time on-chip data transfer system | |
US9356722B2 (en) | Time sensitive transaction over an asynchronous serial link | |
WO2023145479A1 (en) | Communication device, communication method, and program | |
CN109413485B (en) | Data caching method and device | |
WO2015040833A1 (en) | Communication device and control method of communication device | |
WO2016039051A1 (en) | Radio master station device, radio slave station device, radio communication system and radio communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131225 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141208 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20150116 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151023 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151117 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160607 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160802 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170110 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170407 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20170417 |
|
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: 20170509 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170606 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6157064 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |