JP6157064B2 - Communication apparatus and clock synchronization method - Google Patents

Communication apparatus and clock synchronization method Download PDF

Info

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
Application number
JP2012127289A
Other languages
Japanese (ja)
Other versions
JP2013251865A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2012127289A priority Critical patent/JP6157064B2/en
Publication of JP2013251865A publication Critical patent/JP2013251865A/en
Application granted granted Critical
Publication of JP6157064B2 publication Critical patent/JP6157064B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1 has been proposed. The clock synchronization method described in Patent Document 1 will be briefly described.

送信側の無線通信装置(以下、「送信装置」という)は、パケット生成過程において、プログラムクロックリファレンス(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.

特許第4100144号公報Japanese Patent No. 4100144

本発明者らは、送信装置と受信装置とのシステムクロックの同期を行う通信装置およびクロック同期方法を検討した。しかしながら、従来の送信装置と受信装置とのシステムクロックの同期を行う通信装置およびクロック同期方法では、同期確立のために必要な時間が長くなる課題があった。
従って、本開示は、前記課題を解決するために、同期確立のために必要な時間を短縮することができる通信装置およびクロック同期方法を提供する。
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 is a block diagram illustrating a configuration example of a wireless communication system according to an embodiment of the present disclosure. 第1の実施形態における無線通信システムにおける送信装置の構成例を示すブロック図1 is a block diagram illustrating a configuration example of a transmission device in a wireless communication system according to a first embodiment. 実施形態における無線リソースの帯域割当例を示す図The figure which shows the band allocation example of the radio | wireless resource in embodiment 第1の実施形態における送信装置のパケット生成時の動作例を示すフローチャートThe flowchart which shows the operation example at the time of the packet generation of the transmitter in 1st Embodiment 第1の実施形態におけるWDE仕様を考慮した送信装置及び受信装置の構成例を示すブロック図The block diagram which shows the structural example of the transmitter and receiver which considered the WDE specification in 1st Embodiment 第1の実施形態においてPCRが送受信されるタイミングの一例を示す図The figure which shows an example of the timing which PCR is transmitted / received in 1st Embodiment 第2の実施形態における無線通信システムにおける受信装置の構成例を示すブロック図The block diagram which shows the structural example of the receiver in the radio | wireless communications system in 2nd Embodiment. 第2の実施形態における受信装置のパケット受信時の動作例を示すフローチャートThe flowchart which shows the operation example at the time of packet reception of the receiver in 2nd Embodiment 第2の実施形態におけるWDE仕様を考慮した送信装置及び受信装置の構成例を示すブロック図The block diagram which shows the structural example of the transmitter and receiver which considered the WDE specification in 2nd Embodiment 第2の実施形態におけるPCRが送受信されるタイミングの一例を示す図The figure which shows an example of the timing which PCR is transmitted / received in 2nd Embodiment 第3の実施形態における無線通信システムにおける受信装置の構成例を示すブロック図The block diagram which shows the structural example of the receiver in the radio | wireless communications system in 3rd Embodiment. 第3の実施形態における受信装置のパケット受信時の動作例を示すフローチャートThe flowchart which shows the operation example at the time of packet reception of the receiver in 3rd Embodiment 第3の実施形態における結合パケットが送受信されるタイミングの一例を示す図The figure which shows an example of the timing at which the joint packet in 3rd Embodiment is transmitted / received

<本開示に至る経緯>
特許文献1に示されるクロック同期方法では、受信装置は、一定サンプル数のPCRから差分値(STC−PCR)の小さいPCRを選択するため、抽出するPCRの数が少なく、システムクロックの同期に必要な一定数のPCRを得るために、時間を要していた。また、数多くのPCRを送信する必要があり、無線リソースを多く消費していた。
<Background to this disclosure>
In the clock synchronization method disclosed in Patent Document 1, the receiving apparatus selects a PCR having a small difference value (STC-PCR) from a certain number of PCRs. Therefore, the number of PCRs to be extracted is small, and is necessary for system clock synchronization. It took time to obtain a certain number of PCRs. In addition, it is necessary to transmit a large number of PCRs, which consumes a lot of radio resources.

本開示は、上記事情に鑑みてなされたものであって、同期時間を短縮でき、無線リソースを効率的に利用できる通信装置およびクロック同期方法を提供することを目的とする。
<本開示の概要>
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 wireless communication system 1000 according to an embodiment of the present disclosure. The wireless communication system 1000 includes an audio / video transmission device 30, a transmission device 31, a reception device 32, and an audio / video reception device 33. The transmission device 31 and the reception device 32 are connected by a wireless communication line.

また、送信装置31及び受信装置32は、通信装置の一例であり、無線通信システム1000は、複数の送信装置31又は受信装置32を含んでもよい。   The transmission device 31 and the reception device 32 are examples of communication devices, and the wireless communication system 1000 may include a plurality of transmission devices 31 or reception devices 32.

音声/映像発信装置30は、例えば、音声データ/映像データ(音声データ及び映像データの少なくとも一方)を送信装置31へ出力する。   The audio / video transmission device 30 outputs, for example, audio data / video data (at least one of audio data and video data) to the transmission device 31.

送信装置31は、音声/映像発信装置30から音声データ/映像データが入力され、所定のタイミングにおいてパケットを受信装置32へ送信する。   The transmission device 31 receives the audio data / video data from the audio / video transmission device 30 and transmits the packet to the reception device 32 at a predetermined timing.

受信装置32は、送信装置31からパケットを受信し、パケットに含まれる音声データ/映像データを音声/映像受信装置33へ出力する。   The receiving device 32 receives the packet from the transmitting device 31 and outputs the audio data / video data included in the packet to the audio / video receiving device 33.

音声/映像受信装置33は、受信装置32から音声データ/映像データが入力される。入力された音声データ/映像データは、音声/映像発信装置30により出力されたデータに対応する。音声/映像受信装置33は、例えばモニタである。   The audio / video receiving device 33 receives audio data / video data from the receiving device 32. The input audio data / video data corresponds to the data output by the audio / video transmission device 30. The audio / video receiving device 33 is a monitor, for example.

次に、送信装置31の構成例について説明する。
図2は、無線通信システム1000における送信装置31の構成例を示すブロック図である。
Next, a configuration example of the transmission device 31 will be described.
FIG. 2 is a block diagram illustrating a configuration example of the transmission device 31 in the wireless communication system 1000.

送信装置31は、音声/映像I/F部311、クロック生成部312、データ記憶部313、ヘッダ付加部314、送信データ許容量算出部315、送信データ量カウント部316、データ読み出し制御部317、および送受信部318を備える。   The transmission device 31 includes an audio / video I / F unit 311, a clock generation unit 312, a data storage unit 313, a header addition unit 314, a transmission data allowable amount calculation unit 315, a transmission data amount count unit 316, a data read control unit 317, And a transmission / reception unit 318.

音声/映像I/F(インタフェース)部311は、音声/映像発信装置30から入力される音声/映像データを処理し、変換後の音声/映像データをデータ記憶部313に転送する。音声/映像I/F部311による処理は、例えばフォーマット変換処理を含む。   The audio / video I / F (interface) unit 311 processes the audio / video data input from the audio / video transmission device 30 and transfers the converted audio / video data to the data storage unit 313. The processing by the audio / video I / F unit 311 includes, for example, format conversion processing.

クロック生成部312は、入力される音声/映像データのタイミングに同期した送信装置31のSTCを生成し、ヘッダ付加部314へSTCを通知する。   The clock generation unit 312 generates the STC of the transmission device 31 synchronized with the timing of the input audio / video data, and notifies the header addition unit 314 of the STC.

データ記憶部313は、音声/映像I/F部311から転送された音声/映像データを記憶する。また、データ記憶部313は、データ読み出し制御部317からの音声/映像データ読み出し停止指示、又は送受信部318の図示しない内部メモリに保持できるパケット容量が所定量以上になった旨の通知に応じて、ヘッダ付加部314への音声/映像データの出力を停止する。なお、送受信部318は、パケットを、図示しない内部メモリに一旦保持した後に、送信する。
音声/映像データ読み出し停止指示は、データ記憶部313からの音声/映像データ読み出しを停止するための指示情報である。
データ記憶部313にデータを貯めることで、音声/映像I/F部311からのデータ入力速度とヘッダ付加部314へのデータ出力速度との瞬時的な違いを吸収する。
The data storage unit 313 stores the audio / video data transferred from the audio / video I / F unit 311. In addition, the data storage unit 313 responds to a voice / video data read stop instruction from the data read control unit 317 or a notification that the packet capacity that can be held in an internal memory (not shown) of the transmission / reception unit 318 has exceeded a predetermined amount. The audio / video data output to the header adding unit 314 is stopped. The transmission / reception unit 318 transmits the packet after temporarily holding it in an internal memory (not shown).
The audio / video data reading stop instruction is instruction information for stopping the audio / video data reading from the data storage unit 313.
By storing data in the data storage unit 313, an instantaneous difference between the data input speed from the audio / video I / F unit 311 and the data output speed to the header adding unit 314 is absorbed.

また、データ記憶部313は、送受信部318による音声/映像パケット(音声パケット及び映像パケットの少なくとも一方)の送信における伝送速度に合わせて、音声/映像パケットをヘッダ付加部314へ出力する。このため、送受信部318は、所定のタイミングにおいてパケット送信が可能である。つまり、送受信部318へ過剰にパケットが転送されないように、データ記憶部313によりパケット量が調整されている。   In addition, the data storage unit 313 outputs the audio / video packet to the header adding unit 314 in accordance with the transmission rate in transmission of the audio / video packet (at least one of the audio packet and the video packet) by the transmission / reception unit 318. Therefore, the transmission / reception unit 318 can transmit a packet at a predetermined timing. That is, the amount of packets is adjusted by the data storage unit 313 so that packets are not excessively transferred to the transmission / reception unit 318.

ヘッダ付加部314は、データ記憶部313に記憶された音声/映像データを読み出し、音声/映像データを所定のサイズ以下のパケットに分割してパケットを生成する。また、ヘッダ付加部314は、生成したパケットにヘッダ情報を付加して、送受信部318に音声/映像パケットを転送する。ヘッダ情報は、クロック生成部312から通知されるSTCのパケット生成過程におけるカウンタ値を示したPCRを含む。PCRは、送信装置31と受信装置32とのクロック同期のための時間情報の1つである。ヘッダ付加部314は、生成した音声/映像パケットのデータ量(パケット量)を送信データ量カウント部316へ通知する。   The header adding unit 314 reads the audio / video data stored in the data storage unit 313, divides the audio / video data into packets having a predetermined size or less, and generates a packet. The header adding unit 314 adds header information to the generated packet and transfers the audio / video packet to the transmission / reception unit 318. The header information includes a PCR indicating a counter value in the STC packet generation process notified from the clock generation unit 312. The PCR is one piece of time information for clock synchronization between the transmission device 31 and the reception device 32. The header adding unit 314 notifies the transmission data amount counting unit 316 of the data amount (packet amount) of the generated audio / video packet.

なお、ヘッダ付加部314は、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。   The header adding unit 314 may not add PCR to all audio / video packets, and may omit adding PCR to some audio / video packets.

送信データ許容量算出部315は、音声/映像パケットの送信前に、例えば予め音声/映像パケットの送信における伝送速度に基づいて、無線リソースの割り当てを受けるデータ送信期間と、データ送信期間の割り当て周期と、を決定する。   The transmission data allowable amount calculation unit 315, before transmitting the audio / video packet, for example, a data transmission period for which radio resources are allocated in advance based on a transmission rate in transmission of the audio / video packet, and an allocation period of the data transmission period And decide.

また、送信データ許容量算出部315は、データ送信期間を確保するための制御パケットを生成し、データ送信期間を管理する無線通信装置(以下、「通信管理装置」ともいう)との間においてデータ送信期間を調整する。データ送信期間には、例えば、無線区間における再送信の発生を考慮し、実際に必要なデータ送信期間に一定量のマージンを持たせる。   In addition, the transmission data allowable amount calculation unit 315 generates a control packet for securing a data transmission period, and transmits data to and from a wireless communication apparatus (hereinafter also referred to as “communication management apparatus”) that manages the data transmission period. Adjust the transmission period. In the data transmission period, for example, in consideration of the occurrence of retransmission in the wireless section, a certain amount of margin is given to the actually required data transmission period.

なお、通信管理装置としての機能は、送信装置31又は受信装置32が担当してもよいし、それ以外の無線通信装置が担当しても良い。制御パケットは、音声/映像パケットと同様に、送受信部318により送受信される。   The function as the communication management device may be handled by the transmission device 31 or the reception device 32, or may be handled by another wireless communication device. The control packet is transmitted / received by the transmission / reception unit 318 in the same manner as the audio / video packet.

また、送信データ許容量算出部315は、データ送信期間と、通信回線におけるパケットの伝送速度に基づいて、送信データ許容量を算出する。なお、送信データ許容量には、一定のマージンを持たせることもできる。   Further, the transmission data allowable amount calculation unit 315 calculates the transmission data allowable amount based on the data transmission period and the transmission rate of the packet on the communication line. Note that the transmission data allowable amount can have a certain margin.

送信データ量カウント部316は、ヘッダ付加部314により生成されるパケットのデータ量(パケット量)をカウントする。パケットのデータ量は、送受信部318により送信されるデータ量に相当する。   The transmission data amount counting unit 316 counts the data amount (packet amount) of the packet generated by the header adding unit 314. The data amount of the packet corresponds to the data amount transmitted by the transmission / reception unit 318.

データ読み出し制御部317は、送信データ許容量算出部315により算出された送信データ許容量及び送信データ量カウント部316によりカウントされた送信データ量に基づき、データ記憶部313からヘッダ付加部314へのデータ読み出しを制御する。   Based on the transmission data allowable amount calculated by the transmission data allowable amount calculation unit 315 and the transmission data amount counted by the transmission data amount counting unit 316, the data read control unit 317 sends data from the data storage unit 313 to the header addition unit 314. Controls data reading.

また、データ読み出し制御部317は、所定期間における送信データ量が、送信データ許容量を超過しないように、データ読み出しを制御する。
これにより、送信装置31内において、PCRがパケットに付加されてからパケットが送信されるまでの時間である送信待ち時間の発生を防止できる。
Further, the data read control unit 317 controls data read so that the transmission data amount in the predetermined period does not exceed the transmission data allowable amount.
As a result, it is possible to prevent the transmission apparatus 31 from generating a transmission waiting time, which is the time from when the PCR is added to the packet until the packet is transmitted.

送信装置31は、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、ヘッダ付加部314、送信データ許容量算出部315、送信データ量カウント部316、及びデータ読み出し制御部317の各機能を実現する。   The transmission device 31 includes, for example, a CPU and a RAM. When the CPU executes a program stored in the RAM, the header addition unit 314, the transmission data allowable amount calculation unit 315, the transmission data amount counting unit 316, and the data Each function of the read control unit 317 is realized.

なお、受信装置32の構成は、一般的な受信装置の構成であってもよいし、後述する第2の実施形態及び第3の実施形態における受信装置32B,32Cの構成であってもよい。   The configuration of the reception device 32 may be a general configuration of the reception device, or may be the configuration of the reception devices 32B and 32C in the second embodiment and the third embodiment described later.

図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 wireless communication system 1000. The transmission device transmission period 1203 is a data transmission period individually assigned to the transmission device 31, and is assigned for each adjusted assignment cycle.

送信データ許容量算出部315は、通信管理装置からデータ送信期間の割り当てを受けた後、各データ送信期間の開始時に、割り当てられたデータ送信期間において送信できる送信データ許容量を算出する。   After receiving the allocation of the data transmission period from the communication management device, the transmission data allowable amount calculation unit 315 calculates the transmission data allowable amount that can be transmitted in the allocated data transmission period at the start of each data transmission period.

また、送信データ許容量算出部315は、データ送信期間の開始を、送信データ量カウント部316およびデータ読み出し制御部317に通知し、算出した送信データ量を、データ読み出し制御部317に通知する。   Also, the transmission data allowable amount calculation unit 315 notifies the transmission data amount counting unit 316 and the data read control unit 317 of the start of the data transmission period, and notifies the data read control unit 317 of the calculated transmission data amount.

送信データ許容量算出部315により算出される送信データ許容量は、データ送信期間において送信可能な最大データ量ではなく、音声/映像パケットの送信における伝送速度から算出したデータ量から、マージン分を除いたデータ量を用いる。   The transmission data allowable amount calculated by the transmission data allowable amount calculation unit 315 is not the maximum data amount that can be transmitted in the data transmission period, but excludes the margin from the data amount calculated from the transmission speed in the transmission of the audio / video packet. The amount of data that was used.

送信データ量カウント部316は、送信データ許容量算出部315からのデータ送信期間の開始通知を受けて、送信データ量をカウントするための送信データ量カウント値をリセットする。   The transmission data amount count unit 316 receives a data transmission period start notification from the transmission data allowable amount calculation unit 315 and resets a transmission data amount count value for counting the transmission data amount.

また、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットのデータ量のカウントを開始し、送信データ量カウント値をデータ読み出し制御部317に通知する。   Also, the transmission data amount counting unit 316 starts counting the data amount of the audio / video packet notified from the header adding unit 314 and notifies the data read control unit 317 of the transmission data amount count value.

データ読み出し制御部317は、送信データ許容量算出部315からのデータ送信期間の開始通知を受けて、データ記憶部313へ通知する音声/映像データ読み出し停止指示を解除する。   The data read control unit 317 receives the start notification of the data transmission period from the transmission data allowable amount calculation unit 315 and cancels the audio / video data read stop instruction notified to the data storage unit 313.

また、データ読み出し制御部317は、送信データ量カウント値が送信データ許容量に到達したら、音声/映像データ読み出し停止指示をデータ記憶部313へ通知する。   Further, when the transmission data amount count value reaches the transmission data allowable amount, the data read control unit 317 notifies the data storage unit 313 of an audio / video data read stop instruction.

送受信部318は、ヘッダ付加部314から転送される音声/映像パケットを保持し、送信データ許容量算出部315が管理するデータ送信期間に合わせて、受信装置32へ送信する。   The transmission / reception unit 318 holds the audio / video packet transferred from the header addition unit 314 and transmits it to the reception device 32 in accordance with the data transmission period managed by the transmission data allowable amount calculation unit 315.

また、送受信部318は、受信装置32から送信した音声/映像パケットに対する応答パケットを受信しなかった場合、一定回数または一定期間、再度音声/映像パケットを送信する。また、送受信部318は、データ送信期間に送信しなかった音声/映像パケットを廃棄する。   Also, when the transmission / reception unit 318 does not receive a response packet for the audio / video packet transmitted from the receiving device 32, the transmission / reception unit 318 transmits the audio / video packet again for a certain number of times or for a certain period. In addition, the transmission / reception unit 318 discards the audio / video packet that has not been transmitted during the data transmission period.

次に、送信装置31が音声/映像パケットを生成する場合の動作例について、図4を用いて説明する。   Next, an operation example when the transmission apparatus 31 generates an audio / video packet will be described with reference to FIG.

ステップST401では、送信データ許容量算出部315は、無線管理装置から割り当てられたデータ送信期間の開始を判定する。判定の結果、データ送信期間の開始時には、送信データ許容量算出部315は、送信データ量カウント部316及びデータ読み出し制御部317へデータ送信期間の開始を通知する。そして、ステップST402へ移行する。データ送信期間が開始されるまでは、データ送信期間開始の判定(ステップST401)を続ける。   In step ST401, the transmission data allowable amount calculation unit 315 determines the start of the data transmission period allocated from the radio management apparatus. As a result of the determination, at the start of the data transmission period, the transmission data allowable amount calculation unit 315 notifies the transmission data amount count unit 316 and the data read control unit 317 of the start of the data transmission period. Then, the process proceeds to step ST402. Until the data transmission period is started, the determination of the start of the data transmission period (step ST401) is continued.

ステップST402では、送信データ許容量算出部315は、データ送信期間において送信される送信データ許容量を算出し、送信データ許容量をデータ読み出し制御部317に通知する。そして、ステップST403へ移行する。   In step ST402, the transmission data allowable amount calculation unit 315 calculates the transmission data allowable amount transmitted in the data transmission period, and notifies the data read control unit 317 of the transmission data allowable amount. Then, the process proceeds to step ST403.

ステップST403では、送信データ量カウント部316は、送信データ許容量算出部315から通知されるデータ送信期間の開始通知を受けて、送信データ量カウント値をリセットする。また、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットの送信データ量のカウントを開始し、送信データ量カウント値をデータ読み出し制御部317に通知する。そして、ステップST404へ移行する。   In step ST403, the transmission data amount count unit 316 receives the start notification of the data transmission period notified from the transmission data allowable amount calculation unit 315, and resets the transmission data amount count value. Also, the transmission data amount counting unit 316 starts counting the transmission data amount of the audio / video packet notified from the header adding unit 314 and notifies the data read control unit 317 of the transmission data amount count value. Then, the process proceeds to step ST404.

ステップST404では、データ読み出し制御部317は、送信データ許容量算出部315から通知されるデータ送信期間の開始通知を受けて、データ記憶部313へ通知する音声/映像データ読み出し停止指示を解除する。そして、ステップST405へ移行する。   In step ST404, the data read control unit 317 receives the start notification of the data transmission period notified from the transmission data allowable amount calculation unit 315, and cancels the audio / video data read stop instruction notified to the data storage unit 313. Then, the process proceeds to step ST405.

ステップST405では、データ読み出し制御部317は、送信データ許容量算出部315から通知される送信データ許容量と、送信データ量カウント部316から通知される送信データ量カウント値と、を比較する。送信データ量カウント値が送信データ許容量未満であればステップST406へ移行し、送信データ量カウント値が送信データ許容量以上であればステップST412へ移行する。   In step ST405, the data read control unit 317 compares the transmission data allowable amount notified from the transmission data allowable amount calculation unit 315 with the transmission data amount count value notified from the transmission data amount counting unit 316. If the transmission data amount count value is less than the transmission data allowable amount, the process proceeds to step ST406, and if the transmission data amount count value is equal to or larger than the transmission data allowable amount, the process proceeds to step ST412.

ステップST406では、送受信部318は、送受信部318の内部メモリのパケット容量が所定量になっているかの判定を行う。パケット容量が所定量に達した場合は、データの読み出しを待機し、所定量未満である場合はステップST407へ移行する。   In step ST406, the transmission / reception unit 318 determines whether the packet capacity of the internal memory of the transmission / reception unit 318 is a predetermined amount. If the packet capacity has reached a predetermined amount, data reading is awaited, and if it is less than the predetermined amount, the process proceeds to step ST407.

ステップST407では、送受信部318の内部メモリのパケット容量が所定量でない場合には、データ記憶部313は、データ読み出し制御部317から音声/映像データ読み出し停止指示が通知されていないので、音声/映像データをヘッダ付加部314へ出力する。そして、ステップST408へ移行する。   In step ST407, when the packet capacity of the internal memory of the transmission / reception unit 318 is not a predetermined amount, the data storage unit 313 has not been notified of the audio / video data read stop instruction from the data read control unit 317. The data is output to the header adding unit 314. Then, the process proceeds to step ST408.

ステップST408では、ヘッダ付加部314は、データ記憶部313から出力される音声/映像データを所定のサイズ以下のパケットに分割して音声/映像パケットを生成し、音声/映像パケットにヘッダ情報を付加する。そして、ステップST409へ移行する。   In step ST408, the header addition unit 314 generates audio / video packets by dividing the audio / video data output from the data storage unit 313 into packets having a predetermined size or less, and adds header information to the audio / video packets. To do. Then, the process proceeds to step ST409.

ステップST409では、ヘッダ付加部314は、PCRが付加される音声/映像パケットであるか否かを判定する。PCRが付加される音声/映像パケットである場合、ステップST410へ移行し、PCRが付加されない音声/映像パケットである場合、ステップST411へ移行する。   In step ST409, the header addition unit 314 determines whether or not the audio / video packet is added with PCR. If it is an audio / video packet to which PCR is added, the process proceeds to step ST410, and if it is an audio / video packet to which PCR is not added, the process proceeds to step ST411.

ステップST410では、PCRを付加する音声/映像パケットである場合、ヘッダ付加部314は、クロック生成部312から通知されるSTCであってパケット生成過程におけるカウンタ値をPCRとして、ヘッダ情報に付加する。そして、ステップST411へ移行する。   In step ST410, in the case of an audio / video packet to which PCR is added, the header addition unit 314 adds the counter value in the packet generation process as PCR to the header information as the STC notified from the clock generation unit 312. Then, the process proceeds to step ST411.

ステップST411では、送信データ量カウント部316は、ヘッダ付加部314から通知される音声/映像パケットのデータ量を送信データ量カウント値に加算し、送信データ量カウンタ値を更新する。そして、ステップST405へ移行する。   In step ST411, the transmission data amount counting unit 316 adds the data amount of the audio / video packet notified from the header adding unit 314 to the transmission data amount count value, and updates the transmission data amount counter value. Then, the process proceeds to step ST405.

ステップST412では、データ読み出し制御部317は、音声/映像データ読み出し停止指示を生成し、データ記憶部313からの音声/映像データの出力を停止させる。そして、ステップST401へ移行する。   In step ST412, the data read control unit 317 generates an audio / video data read stop instruction, and stops outputting audio / video data from the data storage unit 313. Then, the process proceeds to step ST401.

次に、無線通信システム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 wireless communication system 1000 will be described.
In the embodiment of the present disclosure, a clock (for example, a system clock) is synchronized between the transmission device 31 and the reception device 32 in AV streaming in PBSS communication of the WiGig (Wireless Gigabit) standard. PBSS (Personal basic service set) communication is ad hoc communication managed by a single communication device. Note that the processing delay in the transmission device 31 can be improved even in cases other than PBSS communication. Further, it is assumed that the transmission device 31 and the reception device 32 perform one-to-one communication.

図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 transmission device 31 includes a WDE-PAL (Protocol Adaptation Layer) block 110, a MAC (Media Access Control) block 120, and a PHY block 130. The WDE-PAL block 110 executes processing in the PAL layer of the WDE. The MAC block 120 executes processing in the MAC layer of the WDE. The PHY block 130 executes processing in the PHY layer of the WDE.

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-PAL block 110 is an HDMI (High-Definition Mu).
lMedia interface) / I / F unit 111, RAM 112, WDE processing unit 113, and PCR providing unit 114. The MAC block 120 includes a RAM (Random Access Memory) 121, a MAC processing unit 122, and an SP transmission stop determination unit 123.
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 / F unit 111 has a function as the audio / video I / F unit 311 in FIG. The RAM 112 has a function as the data storage unit 313. The WDE processing unit 113 and the PCR adding unit 114 have functions as a clock generation unit 312 and a header addition unit 314.

RAM121は、送受信部318が備える内部メモリに相当する。SP送信停止判定部123は、送信データ許容量算出部315、送信データ量カウント部316、及びデータ読み出し制御部317としての機能を有する。MAC処理部122及びPHYブロック130は、送受信部318としての機能を有する。   The RAM 121 corresponds to an internal memory provided in the transmission / reception unit 318. The SP transmission stop determination unit 123 has functions as a transmission data allowable amount calculation unit 315, a transmission data amount count unit 316, and a data read control unit 317. The MAC processing unit 122 and the PHY block 130 have a function as the transmission / reception unit 318.

次に、図5を用いて送信装置31の動作例について説明する。   Next, an operation example of the transmission device 31 will be described with reference to FIG.

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 RAM 112 to wait for the packet.

また、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 RAM 112 by releasing the WAIT notification from the MAC block 320. When the WDE-PAL block 310 resumes the processing of the RAM 112, the PCR adding unit 114 adds PCR to the packet.

このように、送信装置31は、データ送信期間において送信するパケット数を規定し、PCR付与前のWDE−PALブロック310のRAM112においてパケットを一時的に待機させることにより、遅延を抑制したPCRを付与できる。つまり、送信装置31は、予め決められたデータ送信期間に合わせて、PCRを付与する。   As described above, the transmission device 31 prescribes the number of packets to be transmitted in the data transmission period, and assigns the PCR with the delay suppressed by temporarily waiting the packet in the RAM 112 of the WDE-PAL block 310 before the PCR is granted. it can. That is, the transmission apparatus 31 provides PCR in accordance with a predetermined data transmission period.

送信装置31によれば、遅延を抑制したPCRを付与するので、受信装置32により複数のPCRの中から有効なPCRを選択する必要がなく、PCRの送信量を削減できる。   According to the transmission device 31, since a PCR with a suppressed delay is given, it is not necessary for the reception device 32 to select an effective PCR from a plurality of PCRs, and the amount of PCR transmission can be reduced.

次に、送信装置31と受信装置32との間においてPCRが送受信されるタイミングについて、図6を用いて説明する。   Next, the timing at which PCR is transmitted and received between the transmission device 31 and the reception device 32 will be described with reference to FIG.

送信装置31は、無線管理装置により割り当てられたデータ送信期間において、受信装
置32とのシステムクロックを同期させるためのパケットを生成する場合に、PCR51(51−1〜51−6)を付加して、パケットを受信装置32に送信する。PCR51は、送信装置31のシステムクロックによりカウントされた時刻情報を表すSTC50のパケット生成過程におけるカウンタ値を示す。
When the transmission device 31 generates a packet for synchronizing the system clock with the reception device 32 in the data transmission period assigned by the wireless management device, the transmission device 31 adds the PCR 51 (51-1 to 51-6). The packet is transmitted to the receiving device 32. The PCR 51 indicates a counter value in the packet generation process of the STC 50 that represents time information counted by the system clock of the transmission device 31.

送信装置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 transmission device 31 reaches the reception device 32 after a transmission delay time. That is, PCR 53-1 from timing t 0 of PCR 51-1.
The transmission delay is until the timing t1.
Here, in the transmission of the audio / video packet in the wireless communication system 1000, the fluctuation of the transmission delay time after being transmitted from the transmission device 31 is a level that can be ignored in WiGig based on short-range wireless communication. The fluctuation of the transmission delay time after the PCR addition is mainly determined by the time from the PCR addition to the packet transmission in the transmission device 31.

送信装置31は、データ記憶部313による音声/映像データの出力およびヘッダ付加部314によるPCRの付加を、割り当てられたデータ送信期間に合わせて制御する。つまり、送信できる期間であることを確認した後に、PCRを付与して送信することになる。従って、送信装置31における伝送遅延時間の揺らぎが抑制できる。   The transmission device 31 controls the output of audio / video data by the data storage unit 313 and the addition of PCR by the header addition unit 314 according to the allocated data transmission period. That is, after confirming that it is a period during which transmission is possible, PCR is added and transmission is performed. Therefore, fluctuations in the transmission delay time in the transmission device 31 can be suppressed.

受信装置32は、送信装置31から、伝送遅延時間の揺らぎが抑制されたPCR53(53−1〜53−6)を付加したパケットを受信する。また、受信装置32は、PCR53と、パケット受信時の受信装置32のSTC52と、を比較する。   The reception device 32 receives from the transmission device 31 a packet to which the PCR 53 (53-1 to 53-6) to which the fluctuation of the transmission delay time is suppressed is added. In addition, the reception device 32 compares the PCR 53 with the STC 52 of the reception device 32 at the time of packet reception.

比較の結果、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 device 32 determines that the system clock of the receiving device 32 is delayed from the system clock of the transmitting device 31. The receiving device 32 increases the system clock frequency of the receiving device 32 and controls the difference value (STC52-PCR53) to approach 0, thereby generating the STC of the receiving device 32.

一方、比較の結果、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 reception device 32 determines that the system clock of the reception device 32 is ahead of the system clock of the transmission device 31. The receiving device 32 delays the frequency of the system clock of the receiving device 32, controls the difference value (STC52-PCR53) to approach 0, and generates the STC of the receiving device 32.

従って、無線通信システム1000によれば、送信装置31から受信装置32へ、伝送遅延時間の揺らぎを抑制したPCR51を送信できるため、受信装置32によるPCR53の抽出が不要になる。従って、送信装置31と受信装置32との同期時間を短縮し、無線リソースの利用量を削減できる、という効率的なシステムクロック同期が可能となる。   Therefore, according to the wireless communication system 1000, the PCR 51 can be transmitted from the transmission device 31 to the reception device 32 with the fluctuation of the transmission delay time suppressed, so that it is not necessary to extract the PCR 53 by the reception device 32. Therefore, efficient system clock synchronization is possible in which the synchronization time between the transmission device 31 and the reception device 32 can be shortened and the amount of radio resources used can be reduced.

(第2の実施形態)
図7は、本開示の第2の実施形態における無線通信システム1000Bにおける受信装置32Bの構成例を示すブロック図である。受信装置32Bは、パケットの再送信を考慮した処理を行う。
(Second Embodiment)
FIG. 7 is a block diagram illustrating a configuration example of the reception device 32B in the wireless communication system 1000B according to the second embodiment of the present disclosure. The receiving device 32B performs processing in consideration of packet retransmission.

受信装置32Bは、送受信部321、再送検出部322、ヘッダ解析部323、同期時間情報選択部324、クロック同期部325、データ記憶部326、及び音声/映像I/F部327を備える。   The reception device 32B includes a transmission / reception unit 321, a retransmission detection unit 322, a header analysis unit 323, a synchronization time information selection unit 324, a clock synchronization unit 325, a data storage unit 326, and an audio / video I / F unit 327.

送受信部321は、送信装置31Bから送信された音声/映像パケットを受信し、送信装置31Bにより付加された音声/映像パケットのCRCをチェックする。チェック結果が正しければ、送受信部321は、音声/映像パケットに対する応答パケットを送信装置31Bに送信し、音声/映像パケットを再送検出部322へ転送する。   The transmission / reception unit 321 receives the audio / video packet transmitted from the transmission device 31B, and checks the CRC of the audio / video packet added by the transmission device 31B. If the check result is correct, the transmission / reception unit 321 transmits a response packet to the audio / video packet to the transmission device 31B, and transfers the audio / video packet to the retransmission detection unit 322.

再送検出部322は、送受信部321から転送された音声/映像パケットの再送フラグ(retry bit)及びシーケンス番号の少なくとも一方を用いて、再送信の発生を検出する。   The retransmission detection unit 322 detects the occurrence of retransmission using at least one of the retransmission flag (retry bit) and the sequence number of the audio / video packet transferred from the transmission / reception unit 321.

再送フラグは、送信装置31Bにより受信装置32Bからの応答パケットを受信せず、再送信が発生した場合に、送信装置31Bにより有効とされる。   The retransmission flag is validated by the transmission device 31B when the transmission device 31B does not receive a response packet from the reception device 32B and a retransmission occurs.

シーケンス番号は、送信装置31Bにより送信される音声/映像パケットの順番に合わせて、送信装置31Bにより付加される。再送信におけるパケットのシーケンス番号は、応答パケットが受信されなかったパケットのシーケンス番号と同じ番号になる。   The sequence number is added by the transmission apparatus 31B in accordance with the order of the audio / video packets transmitted by the transmission apparatus 31B. The sequence number of the packet in the retransmission is the same as the sequence number of the packet for which no response packet has been received.

再送検出部322は、シーケンス番号順に、音声/映像パケットをヘッダ解析部323へ転送する。また、再送検出部322は、再送フラグが有効である音声/映像パケットに加えて、前に送信された音声/映像パケットの受信待ちが発生した音声/映像パケットについても、再送信が発生した旨を同期時間情報選択部324へ通知(再送発生通知)する。再送検出部322は、例えば送受信部321からパケットをシーケンス番号順に入力しなかったことにより、前に送信された音声/映像パケットを受信できなかったことを判別できる。   The retransmission detection unit 322 transfers the audio / video packet to the header analysis unit 323 in the order of the sequence numbers. In addition to the audio / video packet for which the retransmission flag is valid, the retransmission detection unit 322 also indicates that retransmission has occurred for an audio / video packet that has waited for reception of a previously transmitted audio / video packet. Is sent to the synchronization time information selection unit 324 (retransmission occurrence notification). The retransmission detection unit 322 can determine that a previously transmitted audio / video packet could not be received, for example, because the packet was not input from the transmission / reception unit 321 in order of sequence number.

ヘッダ解析部323は、再送検出部322から転送された音声/映像パケットのヘッダを解析し、ヘッダに付加されているPCRを抽出し、PCRを同期時間情報選択部324へ通知する。また、ヘッダ解析部323は、ヘッダが除去された音声/映像データをデータ記憶部326へ転送する。   The header analysis unit 323 analyzes the header of the audio / video packet transferred from the retransmission detection unit 322, extracts the PCR added to the header, and notifies the synchronization time information selection unit 324 of the PCR. In addition, the header analysis unit 323 transfers the audio / video data from which the header has been removed to the data storage unit 326.

同期時間情報選択部324は、再送検出部322からの再送発生通知、ヘッダ解析部323からのPCR、及びクロック同期部325からのSTCを用いて、PCRをクロック同期部325によるシステムクロックの同期に用いるかどうかを判定する。ヘッダ解析部323からのPCRは、第1の時間情報の一例であり、クロック同期部325からのSTCは、第2の時間情報の一例である。   The synchronization time information selection unit 324 uses the retransmission notification from the retransmission detection unit 322, the PCR from the header analysis unit 323, and the STC from the clock synchronization unit 325 to synchronize the PCR to the system clock by the clock synchronization unit 325. Determine whether to use. The PCR from the header analysis unit 323 is an example of first time information, and the STC from the clock synchronization unit 325 is an example of second time information.

例えば、同期時間情報選択部324は、クロック同期部325からのSTCとヘッダ解析部323からのPCRとから求めた差分値(STC−PCR)と、予め同期時間情報選択部324により保持された差分値と、を比較する。なお、予め保持された差分値とは、例えば、過去に取得され、再送検出部322により再送が検出されなかったパケットに含まれるPCRを用いて求めた差分値(STC−PCR)である。   For example, the synchronization time information selection unit 324 includes a difference value (STC-PCR) obtained from the STC from the clock synchronization unit 325 and the PCR from the header analysis unit 323, and the difference previously held by the synchronization time information selection unit 324. Compare the value. The difference value held in advance is, for example, a difference value (STC-PCR) obtained using a PCR included in a packet acquired in the past and for which retransmission has not been detected by the retransmission detection unit 322.

比較の結果、両差分値の差が所定範囲に収まるならば、同期時間情報選択部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 information selection unit 324 determines that there is no influence of retransmission, and the difference value (STC-PCR) for which the retained difference value is obtained. And the clock synchronization unit 325 is notified of the PCR.

一方、比較の結果、両差分値の差が所定範囲に収まらないならば、同期時間情報選択部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 information selecting unit 324 determines that there is an effect of retransmission, and determines the difference value (STC) obtained as the held difference value. -PCR) is not updated.

このように、同期時間情報選択部324は、再送発生通知を受けた場合、ヘッダ解析部323からのPCRとクロック同期部325からのSTCとの差分が、求めた差分値(STC−PCR)と保持している差分値とを比較した結果、所定範囲内に収束した後に、PCRを選択する。   As described above, when the synchronization time information selection unit 324 receives the retransmission occurrence notification, the difference between the PCR from the header analysis unit 323 and the STC from the clock synchronization unit 325 is the difference value (STC-PCR) obtained. As a result of comparison with the held difference value, the PCR is selected after convergence within a predetermined range.

クロック同期部325は、同期時間情報選択部324からのPCRと、クロック同期部325により管理されたSTCと、を比較する。なお、クロック同期部325により管理されたSTCは、受信装置32BのSTCである。   The clock synchronization unit 325 compares the PCR from the synchronization time information selection unit 324 with the STC managed by the clock synchronization unit 325. Note that the STC managed by the clock synchronization unit 325 is the STC of the receiving device 32B.

比較の結果、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 clock synchronization unit 325 determines that the system clock of the receiving device 32B is behind the system clock of the transmitting device 31B. The clock synchronizer 325 increases the frequency of the system clock of the receiving device 32, controls the difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32B.

また、比較の結果、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 clock synchronization unit 325 determines that the system clock of the receiving device 32B is ahead of the system clock of the transmitting device 31B. The clock synchronizer 325 delays the frequency of the system clock of the receiving device 32B, controls the obtained difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32B.

クロック同期部325は、生成したSTCを同期時間情報選択部324に通知し、制御するシステムクロックを、音声/映像I/F部327に通知する。   The clock synchronization unit 325 notifies the generated STC to the synchronization time information selection unit 324 and notifies the audio / video I / F unit 327 of the system clock to be controlled.

データ記憶部326は、ヘッダ解析部323から転送される音声/映像データを記憶する。また、データ記憶部326は、音声/映像I/F部327からの読み出し要求に合わせて、音声/映像データを音声/映像I/F部327へ転送する。ここで、データ記憶部326は、ヘッダ解析部323からのデータ入力速度と、音声/映像I/F部327へのデータ出力速度と、の瞬時的な違いを吸収するために用いられる。   The data storage unit 326 stores audio / video data transferred from the header analysis unit 323. Further, the data storage unit 326 transfers the audio / video data to the audio / video I / F unit 327 in accordance with the read request from the audio / video I / F unit 327. Here, the data storage unit 326 is used to absorb an instantaneous difference between the data input speed from the header analysis unit 323 and the data output speed to the audio / video I / F unit 327.

音声/映像I/F部327は、クロック同期部325から通知される送信装置31Bのシステムクロックに同期した受信装置32Bのシステムクロックに合わせて、データ記憶部326から音声/映像データを出力する。   The audio / video I / F unit 327 outputs audio / video data from the data storage unit 326 in synchronization with the system clock of the reception device 32B synchronized with the system clock of the transmission device 31B notified from the clock synchronization unit 325.

また、音声/映像I/F部327は、音声/映像データを処理(例えばフォーマット変換処理)する。音声/映像I/F部327は、一定の伝送速度によって、変換後の音声/映像データを音声/映像受信装置33に転送する。   The audio / video I / F unit 327 processes audio / video data (for example, format conversion processing). The audio / video I / F unit 327 transfers the converted audio / video data to the audio / video receiving device 33 at a constant transmission speed.

受信装置32Bは、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、再送検出部322、ヘッダ解析部323、同期時間情報選択部324、クロック同期部325の各機能を実現する。   The receiving device 32B includes, for example, a CPU and a RAM. When the CPU executes a program stored in the RAM, the retransmission detection unit 322, the header analysis unit 323, the synchronization time information selection unit 324, and the clock synchronization unit 325 Implement each function.

なお、送信装置31Bの構成は、一般的な送信装置の構成であってもよいし、前述した第1の実施形態における送信装置31の構成であってもよい。また、送信装置31Bは、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。   The configuration of the transmission device 31B may be a general configuration of the transmission device, or may be the configuration of the transmission device 31 in the first embodiment described above. Further, the transmission apparatus 31B may omit adding PCR to all the audio / video packets, and omit adding PCR to some of the audio / video packets.

また、送信装置31Bは、図3に示す送信装置送信期間1203の割り当てを予め受け、送信装置送信期間1203において音声/映像パケットを送信してもよい。また、送信装置31Bは、送信装置送信期間1203の割り当てを受けずに、競合送信期間1202において音声/映像パケットを送信してもよい。   Further, the transmission apparatus 31B may receive the allocation of the transmission apparatus transmission period 1203 shown in FIG. Further, the transmission device 31B may transmit the audio / video packet in the contention transmission period 1202 without receiving the assignment of the transmission device transmission period 1203.

次に、受信装置32Bが音声/映像パケットを受信した場合の動作例について、図8を用いて説明する。   Next, an operation example when the receiving device 32B receives an audio / video packet will be described with reference to FIG.

ステップST701では、再送検出部322は、送受信部321からのパケットが再送
パケットであるか否かを判定する。再送検出部322は、所定の再送判定条件を満たす場合、再送信が発生した音声/映像パケットであると判定する。所定の再送判定条件は、再送検出部322に入力された音声/映像パケットの再送フラグが有効の場合、又は、後続のシーケンス番号が付与された音声/映像パケットよりも、後にパケットが入力された場合、を含む。再送パケットである場合には、ステップST703へ移行し、再送パケットでない場合には、ステップST702へ移行する。
In step ST701, retransmission detection section 322 determines whether or not the packet from transmission / reception section 321 is a retransmission packet. When the predetermined retransmission determination condition is satisfied, the retransmission detection unit 322 determines that the audio / video packet has undergone retransmission. The predetermined retransmission determination condition is that when the retransmission flag of the audio / video packet input to the retransmission detection unit 322 is valid, or the packet is input later than the audio / video packet to which the subsequent sequence number is assigned. If included. If it is a retransmission packet, the process proceeds to step ST703, and if it is not a retransmission packet, the process proceeds to step ST702.

ステップST702では、再送検出部322は、入力済みのパケットよりも前のシーケンス番号を付与された音声/映像パケットの受信を待機しているかどうかを判定する。受信を待機している場合には、再送検出部322は、前の音声/映像パケットにおいて再送信が発生したと判定し、ステップST703へ移行する。一方、受信を待機していない場合には、再送検出部322は、前の音声/映像パケットにおいて再送信が発生していないと判断し、ステップST704へ移行する。   In step ST702, retransmission detection section 322 determines whether or not it is waiting to receive an audio / video packet to which a sequence number prior to the input packet has been assigned. When waiting for reception, retransmission detection section 322 determines that retransmission has occurred in the previous audio / video packet, and moves to step ST703. On the other hand, when not waiting for reception, retransmission detection section 322 determines that retransmission has not occurred in the previous audio / video packet, and moves to step ST704.

ステップST703では、再送検出部322は、再送信が発生したことを示す情報(再送発生情報)を生成し、同期時間情報選択部324へ通知(再送発生通知)する。そして、ステップST704へ移行する。   In step ST703, retransmission detection section 322 generates information (retransmission occurrence information) indicating that retransmission has occurred, and notifies synchronization time information selection section 324 (retransmission occurrence notification). And it transfers to step ST704.

ステップST704では、ヘッダ解析部323は、再送検出部322から転送された音声/映像パケットのヘッダを解析し、ヘッダの情報にPCRが付加されている場合にはPCRを抽出し、PCRを同期時間情報選択部324へ通知する。そして、ステップST705へ移行する。   In Step ST704, the header analysis unit 323 analyzes the header of the audio / video packet transferred from the retransmission detection unit 322, extracts the PCR when the header information is added, and extracts the PCR for the synchronization time. The information selection unit 324 is notified. Then, the process proceeds to step ST705.

ステップST705では、同期時間情報選択部324は、再送検出部322から再送発生通知を受けたかどうかを判定する。再送発生通知を受けなかった場合には、ステップST706へ移行する。   In Step ST705, the synchronization time information selection unit 324 determines whether or not a retransmission occurrence notification has been received from the retransmission detection unit 322. If no retransmission notification is received, the mobile terminal makes a transition to step ST706.

一方、再送発生通知を受けた場合は、受信装置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 device 32B. This is because it is determined that the reliability of the PCR is low when a notification of occurrence of retransmission is received.

ステップST706では、同期時間情報選択部324は、ヘッダ解析部323からPCRの通知を受けたかどうかを判定する。PCRの通知を受けた場合には、ステップST707へ移行する。また、PCRの通知を受けなかった場合は、受信装置32Bのシステムクロックを調整せず、図8の処理を終了する。   In step ST706, the synchronization time information selection unit 324 determines whether a PCR notification is received from the header analysis unit 323. When the notification of PCR is received, it transfers to step ST707. If the notification of PCR is not received, the system clock of the receiving device 32B is not adjusted, and the process of FIG. 8 ends.

ステップST707では、同期時間情報選択部324は、クロック同期部325から通知されるSTCとヘッダ解析部323から通知されるPCRとから求めた差分値(STC−PCR)と、同期時間情報選択部324により予め保持された差分値と、を比較する。   In step ST707, the synchronization time information selection unit 324 determines the difference value (STC-PCR) obtained from the STC notified from the clock synchronization unit 325 and the PCR notified from the header analysis unit 323, and the synchronization time information selection unit 324. Is compared with the difference value held in advance.

比較の結果、両差分値の差が所定範囲に収まるならば、同期時間情報選択部324は、再送信の影響がないと判定し、ステップST708へ移行する。   As a result of the comparison, if the difference between the two difference values is within the predetermined range, the synchronization time information selecting section 324 determines that there is no influence of retransmission, and moves to step ST708.

一方、比較の結果、両差分値が所定範囲に収まらないならば、再送信の影響があると判定し、受信装置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 device 32B is not adjusted, and the processing of FIG.

ステップST708では、同期時間情報選択部324は、保持された差分値を、求めた差分値(STC−PCR)に更新し、ステップST709へ移行する。   In step ST708, the synchronization time information selection unit 324 updates the held difference value to the obtained difference value (STC-PCR), and proceeds to step ST709.

ステップST709では、同期時間情報選択部324は、再送信の影響がないPCRと
判定したので、PCRをクロック同期部325へ通知し、ステップST710へ移行する。
In step ST709, since the synchronization time information selection section 324 determines that the PCR is not affected by retransmission, the synchronization time information selection section 324 notifies the clock synchronization section 325 of the PCR and moves to step ST710.

ステップST710では、クロック同期部325は、同期時間情報選択部324から通知されるPCRと、クロック同期部325により管理されたSTC(受信装置32BのSTC)と、を比較する。   In step ST710, the clock synchronization unit 325 compares the PCR notified from the synchronization time information selection unit 324 with the STC (STC of the receiving device 32B) managed by the clock synchronization unit 325.

比較の結果、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 clock synchronization unit 325 determines that the system clock of the receiving device 32B is behind the system clock of the transmitting device 31B. The clock synchronizer 325 increases the frequency of the system clock of the reception device 32B, controls the obtained difference value (STC-PCR) to approach 0, and generates the STC of the reception device 32B.

また、比較の結果、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 clock synchronization unit 325 determines that the system clock of the receiving device 32B is ahead of the system clock of the transmitting device 31B. The clock synchronizer 325 delays the frequency of the system clock of the receiving device 32B, controls the obtained difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32B.

次に、WiGigディスプレイ拡張(WDE)仕様を考慮した送信装置31B(TX)及び受信装置32B(RX)の構成例について、図9を用いて説明する。   Next, a configuration example of the transmission device 31B (TX) and the reception device 32B (RX) in consideration of the WiGig display extension (WDE) specification will be described with reference to FIG.

受信装置32は、PHYブロック210、MACブロック220、及びWDE−PALブロック230を備える。PHYブロック210は、WDEのPHY層における処理を実行する。MACブロック220は、WDEのMAC層における処理を実行する。WDE−PALブロック230は、WDEのPAL層における処理を実行する。   The receiving device 32 includes a PHY block 210, a MAC block 220, and a WDE-PAL block 230. The PHY block 210 executes processing in the PHY layer of the WDE. The MAC block 220 executes processing in the MAC layer of the WDE. The WDE-PAL block 230 executes processing in the PAL layer of the WDE.

MACブロック220は、RAM221、MAC処理部222、及び再送待ち検出部223を備える。WDE−PALブロック230は、WDE処理部231、PCR選択部232、クロック再生部233、RAM234、及びHDMI・I/F部235を備える。   The MAC block 220 includes a RAM 221, a MAC processing unit 222, and a retransmission wait detection unit 223. The WDE-PAL block 230 includes a WDE processing unit 231, a PCR selection unit 232, a clock reproduction unit 233, a RAM 234, and an HDMI / I / F unit 235.

RAM221は、図7における送受信部321の内部メモリに相当する。PHYブロック210及びMAC処理部222は、送受信部321としての機能を有する。再送待ち検出部223は、再送検出部322としての機能を有する。   The RAM 221 corresponds to the internal memory of the transmission / reception unit 321 in FIG. The PHY block 210 and the MAC processing unit 222 have a function as the transmission / reception unit 321. The retransmission wait detection unit 223 has a function as the retransmission detection unit 322.

WDE処理部231は、ヘッダ解析部323としての機能を有する。PCR選択部232は、同期時間情報選択部324としての機能を有する。クロック再生部233は、クロック同期部325としての機能を有する。RAM234は、データ記憶部326としての機能を有する。HDMI・I/F部235は、音声/映像I/F部327としての機能を有する。   The WDE processing unit 231 has a function as the header analysis unit 323. The PCR selection unit 232 has a function as the synchronization time information selection unit 324. The clock recovery unit 233 has a function as the clock synchronization unit 325. The RAM 234 has a function as the data storage unit 326. The HDMI / I / F unit 235 has a function as the audio / video I / F unit 327.

次に、図9を用いて受信装置32Bの動作例について説明する。   Next, an operation example of the receiving device 32B will be described with reference to FIG.

MACブロック220は、再送が発生したパケットを検出し、WDE−PALブロック230へ再送の発生を通知(再送発生通知)する。再送が発生したことを検出する場合、後続のシーケンス番号により識別されるパケットよりも、MACブロック220へ遅れて到達したパケットを、再送パケットとして検出してもよい。また、再送フラグが有効(再送である旨)を示しているパケットを、再送パケットとして検出してもよい。   The MAC block 220 detects a packet in which retransmission has occurred, and notifies the WDE-PAL block 230 of the occurrence of retransmission (retransmission occurrence notification). When detecting that retransmission has occurred, a packet that arrived later than the packet identified by the subsequent sequence number after reaching the MAC block 220 may be detected as a retransmission packet. Also, a packet indicating that the retransmission flag is valid (indicating that it is a retransmission) may be detected as a retransmission packet.

WDE−PALブロック230は、MACブロック220から再送発生通知を受けると
、受信装置32のSTCと送信装置31からのPCRとから求めた差分値(STC−PCR)を比較する。WDE−PALブロック230は、求めた差分値(STC−PCR)が、再送発生通知前の差分値(STC−PCR)の値付近に収束するまで、パケットに含まれるPCRをクロック再生部233によるクロック同期に用いない。
When the WDE-PAL block 230 receives the retransmission notification from the MAC block 220, the WDE-PAL block 230 compares the difference value (STC-PCR) obtained from the STC of the receiving device 32 and the PCR from the transmitting device 31. The WDE-PAL block 230 clocks the PCR included in the packet by the clock recovery unit 233 until the obtained difference value (STC-PCR) converges to the vicinity of the difference value (STC-PCR) before notification of occurrence of retransmission. Not used for synchronization.

このように、受信装置32Bは、再送パケットの発生を認識できるので、再送の影響を受けたパケットに含まれるPCRをクロック同期に用いることを防止できる。つまり、受信装置32Bは、再送待ちを検出し、再送待ちが発生した再送待ちパケットと、再送待ちパケットに後続し、所定以上遅延して到達した遅延パケットと、を除くパケットに含まれるPCRをクロック同期に用いることができる。   Thus, the receiving device 32B can recognize the occurrence of a retransmission packet, and thus can prevent the PCR included in the packet affected by the retransmission from being used for clock synchronization. That is, the receiving device 32B detects the waiting for retransmission, and clocks the PCR included in the packet excluding the retransmission waiting packet in which the retransmission waiting has occurred and the delayed packet that arrives after the retransmission waiting packet after a predetermined delay. Can be used for synchronization.

受信装置32Bによれば、各パケットにおいてPCRの有効性を判断できるので、複数のPCRから不要なPCRを抽出することを防止できる。また、信頼性の高いPCRを用いるので、クロック同期の信頼性が向上し、クロック同期に要する時間も短縮できる。   According to the receiving device 32B, since the validity of the PCR can be determined in each packet, it is possible to prevent unnecessary PCR from being extracted from a plurality of PCRs. In addition, since a highly reliable PCR is used, the reliability of clock synchronization is improved and the time required for clock synchronization can be shortened.

次に、送信装置31Bと受信装置32Bとの間においてPCRが送受信されるタイミングについて、図10を用いて説明する。   Next, the timing at which PCR is transmitted and received between the transmission device 31B and the reception device 32B will be described with reference to FIG.

図10では、送信装置31Bは、パケット生成過程においてパケットにPCR81(81−1〜81−7)を付加し、通信回線上の送信タイミング84(84−1〜84−7),85(85−3)において、パケットを受信装置32Bに送信する。PCR81は、送信装置31Bのシステムクロックによりカウントされた時刻情報を表すSTC80のパケット生成過程におけるカウンタ値を示す。   In FIG. 10, the transmission device 31B adds PCR 81 (81-1 to 81-7) to the packet in the packet generation process, and transmits transmission timings 84 (84-1 to 84-7) and 85 (85-85) on the communication line. In 3), the packet is transmitted to the receiving device 32B. The PCR 81 indicates a counter value in the packet generation process of the STC 80 that represents time information counted by the system clock of the transmission device 31B.

送信装置31Bから送信されるPCR81が付加されたパケットは、伝送遅延時間後に、受信装置32Bに到達する。ここで、無線通信システム1000Bにおける音声/映像伝送では、送信装置31Bより送信された後の伝送遅延時間の揺らぎは、近距離無線を前提としたWiGigにおいては、無視できるレベルである。PCR付加後の伝送遅延時間の揺らぎは、主に送信装置31BのPCR付加後から送信装置31Bにより送信される通信回線上の送信タイミング84(再送信では、再送信タイミング85)までの時間により決まる。   The packet added with the PCR 81 transmitted from the transmission device 31B arrives at the reception device 32B after the transmission delay time. Here, in the audio / video transmission in the wireless communication system 1000B, the fluctuation of the transmission delay time after being transmitted from the transmission device 31B is at a level that can be ignored in WiGig based on short-range wireless communication. The fluctuation of the transmission delay time after the PCR is added is mainly determined by the time from the time when the transmitter 31B adds the PCR to the transmission timing 84 (retransmission timing 85 in the case of retransmission) on the communication line transmitted by the transmitter 31B. .

時間的に前のパケットにおいて再送信が発生した場合、次のパケットの送信タイミング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 device 32B receives the packet to which the PCR 83 (83-1 to 83-7) is added after the transmission delay time from the transmitting device 31B, and is not affected by the retransmission PCR 83-1, 83-2, 83- Select 6,83-7.

続いて、受信装置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 reception device 32B compares the selected PCRs 83-1, 83-2, 83-6, 83-7 with the STC 82 of the reception device 32B in the packet reception process. As a result of the comparison, when the PCR is larger than the STC, the receiving device 32B determines that the system clock of the receiving device 32B is behind the system clock of the transmitting device 31B. The receiving device 32B increases the system clock frequency of the receiving device 32B, controls the difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32B.

また、比較の結果、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 device 32B determines that the system clock of the receiving device 32B is ahead of the system clock of the transmitting device 31B. The receiving device 32B delays the frequency of the system clock of the receiving device 32B, controls the difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32B.

つまり、送信装置31Bは、送信したパケットに対して受信装置32Bから応答パケットが返信されなかった場合、パケットが未到達であったことを認識し、パケットを再送する。再送信の発生後、パケットの再送信がなかった場合と比較すると、送信装置31Bによるパケットの送信間隔が小さくなる。これは、再送信が発生することで、送信装置31BのMACブロックのRAM(図9参照)にデータが残存する傾向にあり、残存データを送信可能なタイミングにおいて送信するためである。   That is, when the response packet is not returned from the reception device 32B to the transmitted packet, the transmission device 31B recognizes that the packet has not arrived and retransmits the packet. Compared to the case where there is no packet retransmission after the occurrence of retransmission, the packet transmission interval by the transmission device 31B becomes smaller. This is because when retransmission occurs, data tends to remain in the RAM (see FIG. 9) of the MAC block of the transmission device 31B, and the remaining data is transmitted at a transmittable timing.

パケットの送信間隔が小さくなることは、図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 device 32B gradually converges.

一方、受信装置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 device 32B side, when retransmission occurs, the difference value (PCR-STC) between the PCR included in the packet and the STC of the receiving device 32B increases rapidly. This is because the difference value (PCR-STC) of the packet before the occurrence of retransmission is from timing 81-2 to timing 83-2, whereas the difference value (PCR-STC) of the packet at which retransmission has occurred is This is because the timing is from timing 81-3 to timing 83-3.
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 device 32B determines that the effect of retransmission has been lost, and resumes clock synchronization using the PCR included in the packet.

従って、受信装置32Bによれば、再送信が発生しても、再送信の影響がないとみなせる状態に収束してから、パケットに含まれるPCRをクロック同期に用いる。つまり、再送信により影響を受けたパケットのPCRを除去してクロック同期を行うので、クロック同期の信頼性を向上でき、同期時間を短縮できる、という効率的なシステムクロック同期が可能となる。   Therefore, according to the receiving device 32B, even if retransmission occurs, the PCR included in the packet is used for clock synchronization after convergence to a state where it can be considered that there is no influence of retransmission. That is, since the clock synchronization is performed by removing the PCR of the packet affected by the re-transmission, it is possible to improve the clock synchronization reliability and to reduce the synchronization time efficiently.

(第3の実施形態)
図11は、本開示の第3の実施形態における無線通信システム1000Cにおける受信装置32Cの構成例を示すブロック図である。
(Third embodiment)
FIG. 11 is a block diagram illustrating a configuration example of the reception device 32C in the wireless communication system 1000C according to the third embodiment of the present disclosure.

受信装置32Cは、複数のパケットが結合された結合パケットを考慮した処理を行う。結合パケットでは、結合パケット内の2番目以降のパケットの送信パケットが間隔を短縮されて送信される。従って、パケットに含まれるPCRの値を維持すると、受信装置32Cのシステムクロックと送信装置31Cのシステムクロックとを精度良く比較することが困難なため、受信装置32CはPCRの値を補正(調整)する。なお、送信装置31Cは、パケットを結合パケットとして送るかどうかを予め定めている。   The receiving device 32C performs processing in consideration of a combined packet in which a plurality of packets are combined. In the combined packet, the transmission packets of the second and subsequent packets in the combined packet are transmitted with a reduced interval. Accordingly, if the PCR value included in the packet is maintained, it is difficult to accurately compare the system clock of the receiving device 32C and the system clock of the transmitting device 31C, so the receiving device 32C corrects (adjusts) the PCR value. To do. Note that the transmitter 31C determines in advance whether or not to send the packet as a combined packet.

受信装置32Cは、送受信部321、パケット順算出部328、ヘッダ解析部323、同期時間情報補正部329、クロック同期部325、データ記憶部326、及び音声/映像I/F部327を備える。図11の受信装置32Cにおいて、図7の受信装置32Bと同様の構成については、同一の符号を付し、説明を省略又は簡略化する。本実施形態では、第2の実施形態との相違点を主に説明する。   The receiving device 32C includes a transmission / reception unit 321, a packet order calculation unit 328, a header analysis unit 323, a synchronization time information correction unit 329, a clock synchronization unit 325, a data storage unit 326, and an audio / video I / F unit 327. In the receiving device 32C of FIG. 11, the same components as those of the receiving device 32B of FIG. 7 are denoted by the same reference numerals, and description thereof is omitted or simplified. In the present embodiment, differences from the second embodiment will be mainly described.

送受信部321は、受信した音声/映像パケットが複数のパケットを結合した結合パケットである場合、結合パケットに対して応答パケットを送信装置31Cへ送信し、音声/映像パケットをパケット順算出部328へ転送する。   If the received audio / video packet is a combined packet obtained by combining a plurality of packets, the transmission / reception unit 321 transmits a response packet to the combined packet to the transmission device 31C, and transmits the audio / video packet to the packet order calculation unit 328. Forward.

パケット順算出部328は、送受信部321から転送された音声/映像パケットが結合パケットである場合、結合パケット内の音声/映像パケット数(パケット数)と結合パケット内の音声/映像パケットの順番を表す番号(パケット番号)を取得する。   When the audio / video packet transferred from the transmission / reception unit 321 is a combined packet, the packet order calculation unit 328 determines the number of audio / video packets (number of packets) in the combined packet and the order of the audio / video packets in the combined packet. Get the number (packet number) to represent.

パケット数の情報は、結合パケットに含まれてもよいし、パケット順算出部328が結合パケット内のパケット総数をカウントしてもよい。パケット番号の情報は、結合パケット内の各パケットに含まれていてもよいし、パケット順算出部328が結合パケット内の各パケットの順番をカウントして求めてもよい。   The information on the number of packets may be included in the combined packet, or the packet order calculation unit 328 may count the total number of packets in the combined packet. The packet number information may be included in each packet in the combined packet, or the packet order calculation unit 328 may obtain the packet number by counting the order of each packet in the combined packet.

パケット順算出部328は、パケット数及びパケット番号を同期時間情報補正部329へ通知する。また、パケット順算出部328は、各音声/映像パケットを、入力順にヘッダ解析部323へ転送する。なお、パケット番号は、パケット順を示す情報の一例であり、他の方法でパケット順を示してもよい。   The packet order calculation unit 328 notifies the synchronization time information correction unit 329 of the number of packets and the packet number. Also, the packet order calculation unit 328 transfers each audio / video packet to the header analysis unit 323 in the order of input. The packet number is an example of information indicating the packet order, and the packet order may be indicated by other methods.

ヘッダ解析部323は、パケット順算出部328から転送された音声/映像パケットのヘッダを解析し、ヘッダに付加されたPCRを抽出し、PCRを同期時間情報補正部329へ通知する。   The header analysis unit 323 analyzes the header of the audio / video packet transferred from the packet order calculation unit 328, extracts the PCR added to the header, and notifies the synchronization time information correction unit 329 of the PCR.

同期時間情報補正部329は、パケット順算出部328からの結合パケット内の音声/映像パケット数(N)、結合パケット内のパケット番号(n)、およびヘッダ解析部323からのPCRを用いて、PCRの値を補正する。   The synchronization time information correction unit 329 uses the number of audio / video packets (N) in the combined packet from the packet order calculation unit 328, the packet number (n) in the combined packet, and the PCR from the header analysis unit 323, Correct the PCR value.

例えば、同期時間情報補正部329は、図13に示す結合パケットの送信間隔(Y)を用いて、以下の(式1)により補正後のPCRを算出する。
補正後のPCR=PCR+(n/N)×Y ・・・(式1)
同期時間情報補正部329は、補正後のPCRをクロック同期部325へ通知する。
For example, the synchronization time information correction unit 329 calculates the corrected PCR by the following (Equation 1) using the transmission interval (Y) of the combined packet shown in FIG.
PCR after correction = PCR + (n / N) × Y (Formula 1)
The synchronization time information correction unit 329 notifies the clock synchronization unit 325 of the corrected PCR.

なお、結合パケットの送信間隔(Y)の情報は、例えば帯域割当情報通知期間1201(図3参照)に送信装置31Cから受信装置32Cへ通知される。受信装置32Cは、通知された結合パケットの送信間隔(Y)の情報を保持しておく。なお、結合パケットの送信間隔(Y)の情報は、通知されず、固定値を用いても良く、また、結合パケットの送信間隔(Y)は、実際の結合パケットの送信間隔以下の値でも良い。   The information on the transmission interval (Y) of the combined packet is notified from the transmission device 31C to the reception device 32C, for example, in the bandwidth allocation information notification period 1201 (see FIG. 3). The receiving device 32C holds information on the transmission interval (Y) of the notified combined packet. Note that the information on the transmission interval (Y) of the combined packet is not notified, and a fixed value may be used, and the transmission interval (Y) of the combined packet may be a value equal to or less than the actual transmission interval of the combined packet. .

受信装置32Cは、例えば、CPU、RAMを有し、RAMに格納されたプログラムをCPUが実行することで、パケット順算出部328の機能を実現する。   The receiving device 32C includes, for example, a CPU and a RAM, and realizes the function of the packet order calculation unit 328 when the CPU executes a program stored in the RAM.

なお、送信装置31Cの構成は、一般的な送信装置の構成であってもよいし、前述した第1の実施形態における送信装置31の構成であってもよい。なお、送信装置31Cは、全ての音声/映像パケットにPCRを付加せず、一部の音声/映像パケットにはPCRの付加を省略しても良い。   The configuration of the transmission device 31C may be a general configuration of the transmission device, or may be the configuration of the transmission device 31 in the first embodiment described above. Note that the transmitting device 31C may not add PCR to all audio / video packets, and may omit adding PCR to some audio / video packets.

次に、受信装置32Cが音声/映像パケットを受信した場合の動作例について、図12を用いて説明する。   Next, an operation example when the receiving device 32C receives an audio / video packet will be described with reference to FIG.

ステップST1001では、パケット順算出部328は、送受信部321から転送される結合パケット内の音声/映像パケット数(N)を算出し、音声/映像パケット数(N)を同期時間情報補正部329へ通知する。そして、ステップST1002へ移行する。   In step ST1001, the packet order calculation unit 328 calculates the number of audio / video packets (N) in the combined packet transferred from the transmission / reception unit 321 and sends the number of audio / video packets (N) to the synchronization time information correction unit 329. Notice. Then, the process proceeds to step ST1002.

ステップST1002では、パケット順算出部328は、送受信部321から転送され
る結合パケット内の音声/映像パケットのパケット番号(n)を、先頭パケットを示す番号である0として、同期時間情報補正部329へ通知する。そして、ステップST1003へ移行する。
In step ST1002, the packet order calculation unit 328 sets the packet number (n) of the audio / video packet in the combined packet transferred from the transmission / reception unit 321 to 0, which is the number indicating the first packet, and the synchronization time information correction unit 329. To notify. Then, the process proceeds to step ST1003.

ステップST1003では、ヘッダ解析部323は、パケット順算出部328から転送される音声/映像パケットのヘッダを解析し、ヘッダ情報にPCRが付加されている場合、PCRを抽出して同期時間情報補正部329へ通知する。そして、ステップST1004へ移行する。   In step ST1003, the header analysis unit 323 analyzes the header of the audio / video packet transferred from the packet order calculation unit 328, and extracts the PCR and adds the synchronization time information correction unit when the PCR is added to the header information. 329 is notified. Then, the process proceeds to step ST1004.

ステップST1004では、同期時間情報補正部329は、パケット順算出部328から通知される結合パケット内のパケット番号(n)に対応するPCRがヘッダ解析部323から通知されているかどうかを判定する。パケット番号に対応するPCRが通知されている場合は、ステップST1005へ移行し、通知されていない場合は、ステップST1007へ移行する。   In Step ST1004, the synchronization time information correction unit 329 determines whether or not the PCR corresponding to the packet number (n) in the combined packet notified from the packet order calculation unit 328 is notified from the header analysis unit 323. When the PCR corresponding to the packet number is notified, the process proceeds to step ST1005, and when not notified, the process proceeds to step ST1007.

ステップST1005では、同期時間情報補正部329は、結合パケット内の音声/映像パケット数(N)、パケット番号(n)、ヘッダ解析部323からのPCR、及び結合パケット間の送信間隔(Y)を用いて、PCRの値を補正する。例えば、同期時間情報補正部329は、補正後のPCRを(式1)を用いて算出し、補正後のPCRをクロック同期部325へ通知する。そして、ステップST1006へ移行する。   In step ST1005, the synchronization time information correction unit 329 sets the number of audio / video packets (N) in the combined packet, the packet number (n), the PCR from the header analysis unit 323, and the transmission interval (Y) between the combined packets. Use to correct PCR values. For example, the synchronization time information correction unit 329 calculates the corrected PCR using (Equation 1), and notifies the clock synchronization unit 325 of the corrected PCR. Then, the process proceeds to step ST1006.

ステップST1006では、クロック同期部325は、同期時間情報補正部329から通知されるPCRと、クロック同期部325により管理されたSTCと、を比較する。比較の結果、PCRがSTCよりも大きい場合、受信装置32Cのシステムクロックが送信装置31Cのシステムクロックよりも遅れていると判断する。クロック同期部325は、受信装置32Cのシステムクロックの周波数を早め、差分値(STC−PCR)が0に近づくように制御し、受信装置32CのSTCを生成する。   In Step ST1006, the clock synchronization unit 325 compares the PCR notified from the synchronization time information correction unit 329 with the STC managed by the clock synchronization unit 325. As a result of the comparison, if the PCR is larger than the STC, it is determined that the system clock of the receiving device 32C is behind the system clock of the transmitting device 31C. The clock synchronizer 325 increases the frequency of the system clock of the receiving device 32C, controls the difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32C.

一方、比較の結果、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 device 32C is ahead of the system clock of the transmitting device 31C. The clock synchronization unit 325 delays the frequency of the system clock of the receiving device 32C, controls the difference value (STC-PCR) to approach 0, and generates the STC of the receiving device 32C. When clock synchronization ends, the process proceeds to step S1007.

ステップST1007では、パケット順算出部328は、送受信部321から転送される結合パケット内の音声/映像パケットのパケット番号(n)をインクリメント(増加)する。そして、ステップST1008へ移行する。   In Step ST1007, the packet order calculation unit 328 increments (increases) the packet number (n) of the audio / video packet in the combined packet transferred from the transmission / reception unit 321. Then, the process proceeds to step ST1008.

ステップST1008では、パケット順算出部328は、結合パケット内の音声/映像パケットのパケット番号(n)と結合パケット内のパケット数(N)を比較する。パケット番号(n)とパケット数(N)とが一致する場合、図12の処理を完了する。   In Step ST1008, the packet order calculation unit 328 compares the packet number (n) of the audio / video packet in the combined packet with the number of packets (N) in the combined packet. When the packet number (n) matches the number of packets (N), the processing in FIG. 12 is completed.

一方、パケット番号(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 order calculation unit 328 performs the packet of the audio / video packet in the combined packet. The number (n) is notified to the synchronization time information correction unit 329. And it transfers to step ST1003 again.

従って、受信装置32Cによれば、送信装置31CからのPCRを補正してクロック同期に用いることができるので、同期時間の短縮及び無線リソースの削減ができる、という効率的なシステムクロック同期が可能となる。   Therefore, according to the receiving device 32C, since the PCR from the transmitting device 31C can be corrected and used for clock synchronization, it is possible to perform efficient system clock synchronization in which the synchronization time can be shortened and the radio resources can be reduced. Become.

本開示は、上記実施形態の構成に限られるものではなく、特許請求の範囲で示した機能、または本実施形態の構成が持つ機能が達成できる構成であれば、どのようなものであっても適用可能である。   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 Wireless communication system 30 Audio / video transmission device 31, 31B, 31C Transmission device 32, 32B, 32C Reception device 33 Audio / video reception device 110 WDE-PAL block 111 HDMI / I / F unit 112 RAM
113 WDE processing unit 114 PCR adding unit 120 MAC block 121 RAM
122 MAC processing unit 123 SP transmission stop determination unit 130 PHY block 210 PHY block 220 MAC block 221 RAM
222 MAC processing unit 223 Retransmission waiting detection unit 230 WDE-PAL block 231 WDE processing unit 232 PCR selection unit 233 Clock recovery unit 234 RAM
235 HDMI / I / F unit 311 Audio / video I / F unit 312 Clock generation unit 313 Data storage unit 314 Header addition unit 315 Transmission data allowable amount calculation unit 316 Transmission data amount count unit 317 Data read control unit 318 Transmission / reception unit 321 Transmission / reception Unit 322 retransmission detection unit 323 header analysis unit 324 synchronization time information selection unit 325 clock synchronization unit 326 data storage unit 327 audio / video I / F unit 328 packet order calculation unit 329 synchronization time information correction unit

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:
請求項2に記載の通信装置であって、
前記同期時間情報補正部は、前記結合パケットに含まれるパケット数と、前記結合パケット内のパケットの順番と、前記結合パケットの送信間隔と、に基づいて、前記パケットに含まれる時間情報を補正する通信装置。
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.
JP2012127289A 2012-06-04 2012-06-04 Communication apparatus and clock synchronization method Active JP6157064B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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