JP2010166337A - Communication equipment, method for controlling communication equipment, control program, and recording medium - Google Patents

Communication equipment, method for controlling communication equipment, control program, and recording medium Download PDF

Info

Publication number
JP2010166337A
JP2010166337A JP2009006997A JP2009006997A JP2010166337A JP 2010166337 A JP2010166337 A JP 2010166337A JP 2009006997 A JP2009006997 A JP 2009006997A JP 2009006997 A JP2009006997 A JP 2009006997A JP 2010166337 A JP2010166337 A JP 2010166337A
Authority
JP
Japan
Prior art keywords
data
information
transmission
clock
adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009006997A
Other languages
Japanese (ja)
Inventor
Yusuke Miki
裕介 三木
Akihiko Murakoshi
昭彦 村越
Masatsune Terauchi
真恒 寺内
Masashi Higashimoto
雅至 東本
Masahiro Otani
昌弘 大谷
Satoshi Terada
智 寺田
Susumu Kitaguchi
進 北口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2009006997A priority Critical patent/JP2010166337A/en
Publication of JP2010166337A publication Critical patent/JP2010166337A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To receive a plurality of pieces of AV (Audio Video) information and respective clocks synchronized with the plurality of pieces of AV information, and to transmit the plurality of pieces of AV information through one transmission port without damaging the respective clocks. <P>SOLUTION: The communication equipment includes: a plurality of reception ports 20 for receiving a plurality of reception clocks different from each other and the plurality of pieces of AV information 80 synchronized with the respective reception clocks; a plurality of buffers 30 for respectively storing the plurality of pieces of AV information 80; a clock generating part 40 for generating a transmission clock that can transmit the total of an information amount of AV information 80 stored in each buffer 30 per unit time to the outside on the basis of each reception clock; a scheduler 50 for determining a schedule period Ti for transmitting a transmission clock and the AV information 80 to the outside; and a transmission port 60 for transmitting the transmission clock and the AV information 80 to the outside on the basis of the schedule period Ti. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数の非圧縮AV情報と、当該複数の非圧縮AV情報に同期している各クロックとを受信し、1つの送信ポートを介して、その各クロックを損なわずに、複数の非圧縮AV情報を送信する通信装置、通信装置の制御方法、制御プログラム、および、記録媒体に関するものである。   The present invention receives a plurality of non-compressed AV information and each clock synchronized with the plurality of non-compressed AV information, and transmits a plurality of non-compressed AV information via one transmission port without impairing each clock. The present invention relates to a communication device that transmits compressed AV information, a control method for the communication device, a control program, and a recording medium.

従来、非圧縮AV(Audio Video)情報を入出力するためのインターフェースであるHDMI(High−Definition Multimedia Interface)(非特許文献1)が非圧縮AV情報の伝送システムにおいて広く採用されている。以下、図21、22および23を用いて、HDMI規格を説明する。   Hitherto, HDMI (High-Definition Multimedia Interface) (Non-Patent Document 1), which is an interface for inputting / outputting uncompressed AV (Audio Video) information, has been widely adopted in transmission systems for uncompressed AV information. Hereinafter, the HDMI standard will be described with reference to FIGS.

図21は、HDMI規格を用いた伝送システムの一例を示すブロック図である。HDMI伝送システム4000は、AV再生機1000、テレビ2000およびHDMIケーブル3から構成される。   FIG. 21 is a block diagram illustrating an example of a transmission system using the HDMI standard. The HDMI transmission system 4000 includes an AV playback device 1000, a television 2000, and an HDMI cable 3.

AV再生機1000は、AV情報を再生する機器である。AV再生機1000は、AVソース1010、AVデコーダ1020およびHDMIソース1100を備えている。AV再生機1000は、例えば、BD(BluRay Disc)プレイヤー、HD(ハードディスク)レコーダ、STB(Set Top Box)や放送/IP(Internet Protocol)チューナなどである。AV再生機1000は、AV情報をHDMIケーブル3を介してテレビ2000に伝送する。   The AV player 1000 is a device that plays back AV information. The AV player 1000 includes an AV source 1010, an AV decoder 1020, and an HDMI source 1100. The AV player 1000 is, for example, a BD (BluRay Disc) player, an HD (hard disk) recorder, an STB (Set Top Box), a broadcast / IP (Internet Protocol) tuner, or the like. The AV player 1000 transmits AV information to the television 2000 via the HDMI cable 3.

AVソース1010は、BD、HD、または外部(ケーブル、放送、IP)から送られる圧縮されたAV情報を格納するものである。   The AV source 1010 stores compressed AV information sent from BD, HD, or the outside (cable, broadcast, IP).

AVデコーダ1020は、AVソース1010から圧縮されたAV情報を読み出し、圧縮されたAV情報を非圧縮AV情報に変換し、そして、非圧縮AV情報をHDMIソース1100に伝送する。なお、非圧縮AV情報は、映像データおよび音声データだけではなく、通常の文字情報などの補助データも含む。また、AVデコーダ1020は、非圧縮AV情報に含まれる音声データを圧縮して、HDMIソース1100に伝送することもできる。   The AV decoder 1020 reads the compressed AV information from the AV source 1010, converts the compressed AV information into uncompressed AV information, and transmits the uncompressed AV information to the HDMI source 1100. The uncompressed AV information includes not only video data and audio data but also auxiliary data such as normal character information. The AV decoder 1020 can also compress the audio data included in the uncompressed AV information and transmit it to the HDMI source 1100.

さらに、AVデコーダ1020は、映像データ、音声データおよび補助データと共に、映像データの画素に同期した画素クロック信号をHDMIソース1100に出力する。通常、AVデコーダ1020は、自己の速度で映像データ、音声データおよび補助データを出力する。画素クロック信号を用いることにより、HDMIソース1100は、AVデコーダ1020の出力速度と同じ速度で映像データ、音声データおよび補助データをHDMIシンク2100に出力することができる。   Further, the AV decoder 1020 outputs a pixel clock signal synchronized with the pixels of the video data to the HDMI source 1100 together with the video data, audio data, and auxiliary data. Normally, the AV decoder 1020 outputs video data, audio data, and auxiliary data at its own speed. By using the pixel clock signal, the HDMI source 1100 can output video data, audio data, and auxiliary data to the HDMI sink 2100 at the same speed as the output speed of the AV decoder 1020.

HDMIソース1100は、AVデコーダ1020から非圧縮AV情報を受信し、HDMIケーブル3を介して、HDMI2100に伝送する。   The HDMI source 1100 receives uncompressed AV information from the AV decoder 1020 and transmits it to the HDMI 2100 via the HDMI cable 3.

なお、AV再生機1000はゲーム機またはパソコンであってもよい。この場合、ゲーム機またはパソコンの内部にある例えばグラフィック部(図示せず)がAVソース1010およびAVデコーダ1020の代わりとなる。グラフィック部は、自身が生成した非圧縮AV情報をHDMIソース1100に伝送する。このように、この場合のAV再生機1000の構成は、図21のAV再生機1000と構成が異なる。しかし、HDMIソース1100の動作は、図21の構成の場合と同じである。   Note that the AV player 1000 may be a game machine or a personal computer. In this case, for example, a graphic unit (not shown) in the game machine or personal computer replaces the AV source 1010 and the AV decoder 1020. The graphic unit transmits the uncompressed AV information generated by itself to the HDMI source 1100. Thus, the configuration of the AV player 1000 in this case is different from the configuration of the AV player 1000 of FIG. However, the operation of the HDMI source 1100 is the same as that of the configuration of FIG.

テレビ2000は、非圧縮AV情報を受信して映像を表示する表示装置である。テレビ2000は、HDMIシンク2100および表示・スピーカ部2010を備えている。   The television 2000 is a display device that receives uncompressed AV information and displays video. The television 2000 includes an HDMI sink 2100 and a display / speaker unit 2010.

HDMIシンク2100は、HDMIソース1100が伝送した非圧縮AV情報を受信する。そして、HDMIシンク2100は、受信した非圧縮AV情報を表示・スピーカ部2010に伝送する。表示・スピーカ部2010は、映像データを液晶パネルなどの表示部(図示せず)に表示し、音声データをスピーカ部(図示せず)に出力する。なお、HDMIシンク2100から表示・スピーカ部2010に伝送される音声データが圧縮されている場合、表示・スピーカ部2010が音声データを出力する前に、圧縮された音声データをデコード処理する必要がある。そのため、この場合には、HDMIシンク2100と表示・スピーカ部2010との間に、音声デコーダ(図示せず)を設置する必要がある。   The HDMI sink 2100 receives uncompressed AV information transmitted by the HDMI source 1100. Then, the HDMI sink 2100 transmits the received uncompressed AV information to the display / speaker unit 2010. The display / speaker unit 2010 displays video data on a display unit (not shown) such as a liquid crystal panel, and outputs audio data to the speaker unit (not shown). When the audio data transmitted from the HDMI sink 2100 to the display / speaker unit 2010 is compressed, the compressed audio data needs to be decoded before the display / speaker unit 2010 outputs the audio data. . Therefore, in this case, it is necessary to install an audio decoder (not shown) between the HDMI sink 2100 and the display / speaker unit 2010.

次に、図22に、HDMIソース1100、HDMIシンク2100およびHDMIケーブル3の構成をより具体的に示す。HDMIソース1100は、HDMI送信機1110を備えている。HDMIシンク2100は、HDMI受信機2110およびEDID(Extended Display Identification Data)ROM(Read Only Memory)2120を備えている。HDMIケーブル3は、TMDS(Transition Minimized Differential Signaling)チャンネル0/1/2およびTMDSクロックチャンネルを有している。さらに、HDMIケーブル3は、双方向のDDC(Display Data Channel)信号およびCEC(Consumer Electronics Control)信号をHDMIソース1100とHDMIシンク2100との間で交換する。   Next, FIG. 22 shows the configurations of the HDMI source 1100, the HDMI sink 2100, and the HDMI cable 3 more specifically. The HDMI source 1100 includes an HDMI transmitter 1110. The HDMI sink 2100 includes an HDMI receiver 2110 and an EDID (Extended Display Identification Data) ROM (Read Only Memory) 2120. The HDMI cable 3 has a TMDS (Transition Minimized Differential Signaling) channel 0/1/2 and a TMDS clock channel. Further, the HDMI cable 3 exchanges a bidirectional DDC (Display Data Channel) signal and a CEC (Consumer Electronics Control) signal between the HDMI source 1100 and the HDMI sink 2100.

HDMI送信機1110は、TMDSチャンネル0/1/2を介して、AVデコーダ1020からの映像(Video)データ、音声(Audio)データおよび文字情報などの補助データをHDMI受信機2110に伝送する。通常、映像データの青画素はTMDSチャンネル0、緑画素はTMDSチャンネル1、赤画素はTMDSチャンネル2によって伝送される。その他の音声データおよび補助データは、TMDSチャンネル0/1/2のいずれかによって伝送される。そして、HDMI受信機2110は、受信した映像データ、音声データおよび補助データを表示・スピーカ部2010に出力する。   The HDMI transmitter 1110 transmits auxiliary data such as video (Video) data, audio (Audio) data, and character information from the AV decoder 1020 to the HDMI receiver 2110 via the TMDS channel 0/1/2. Normally, blue pixels of video data are transmitted by TMDS channel 0, green pixels are transmitted by TMDS channel 1, and red pixels are transmitted by TMDS channel 2. Other audio data and auxiliary data are transmitted by one of the TMDS channels 0/1/2. The HDMI receiver 2110 then outputs the received video data, audio data, and auxiliary data to the display / speaker unit 2010.

さらに、HDMI送信機1110は、AVデコーダ1020からの画素クロック信号に基づいてTMDSチャンネル信号を出力すると共に、画素クロック信号に同期したTMDSクロックチャンネル信号も出力する。HDMI受信機2110はTMDSクロックチャンネル信号をもとにTMDSチャンネル信号を受け入れ、映像データ、音声データおよび補助データとこれらに同期した画素クロック信号とを表示・スピーカ部2010に出力する。映像データ、音声データおよび補助データと画素クロック信号とを表示・スピーカ部2010に伝送することによって、表示・スピーカ部2010は、AVデコーダ1020が映像データ、音声データおよび補助データを出力した速度と同じ速度で映像データ、音声データおよび補助データを出力することができる。   Further, the HDMI transmitter 1110 outputs a TMDS channel signal based on the pixel clock signal from the AV decoder 1020 and also outputs a TMDS clock channel signal synchronized with the pixel clock signal. The HDMI receiver 2110 receives the TMDS channel signal based on the TMDS clock channel signal, and outputs video data, audio data, auxiliary data, and a pixel clock signal synchronized therewith to the display / speaker unit 2010. By transmitting the video data, audio data, auxiliary data, and pixel clock signal to the display / speaker unit 2010, the display / speaker unit 2010 has the same speed as the AV decoder 1020 outputs the video data, audio data, and auxiliary data. Video data, audio data and auxiliary data can be output at a speed.

なお、DDC信号は、HDMIソース1100が、HDMIシンク2100のEDIDROM2120に保存されている情報を知るために使用される信号である。この情報は、テレビ2000がサポートしている解像度および音声情報の形式を示すものである。AVデコーダ1020はこの情報が示す解像度および音声情報の形式を判断することによって、テレビ2000がサポートしている形式を用いて映像データ、音声データおよび補助データを出力することができる。   The DDC signal is a signal used by the HDMI source 1100 to know information stored in the EDIDROM 2120 of the HDMI sink 2100. This information indicates the resolution and audio information format supported by the television 2000. The AV decoder 1020 can output video data, audio data, and auxiliary data using a format supported by the television 2000 by determining the resolution and audio information format indicated by this information.

また、CEC信号は、例えばテレビ2000側からAV再生機1000を操作するために使用される信号である。これは、例えばテレビ2000のリモコンを操作することにより、AV再生機1000の電源を入れたり、AV再生機1000が再生を開始するための信号である。   The CEC signal is a signal used for operating the AV player 1000 from the television 2000 side, for example. This is a signal for, for example, operating the remote controller of the television 2000 to turn on the AV player 1000 or start the playback of the AV player 1000.

次に、図23に、720×480の映像解像度の映像データと、それに付随する音声データと、映像データに付随する文字情報などの補助データとをHDMI規格で伝送する事例を示す。一般に、1つの映像の画面(フレーム)で伝送される情報量は、映像解像度より大きい858×525のフレーム解像度となる。水平同期(HSYNC)および垂直同期(VSYNC)信号はフレームの水平および垂直の同期を取るための信号であり、TMDSチャンネルに含まれる。TMDS期間は、HDMI送信機1110からHDMI受信機へ、映像データ、音声データ、補助データ、制御情報などを伝送する期間である。TMDS期間は制御期間・関連データ期間・映像データ期間の3つの期間に分けられる。映像データ期間に映像データの画素が伝送され、関連データ期間に音声データまたは補助データが伝送される。制御期間は、映像データまたは音声データおよび補助データを伝送する必要がない期間である。つまり、制御期間は、映像データ期間および関連データ期間以外の期間である。制御期間は、映像データ期間または関連データ期間との間に入れる必要がある。制御期間には制御情報が伝送される。制御期間に送られる制御情報として、例えばPreambleがある。Preambleには音声データ、補助データ、または映像データに対応する2種類の情報があり、関連データ期間、または映像データ期間の直前の制御期間にPreambleが含まれる。Preambleを参照することにより、HDMI受信機2110は、直後の情報が音声データ、補助データ、または映像データであるのかを判断する。   Next, FIG. 23 shows an example in which video data having a video resolution of 720 × 480, audio data associated therewith, and auxiliary data such as character information associated with the video data are transmitted according to the HDMI standard. In general, the amount of information transmitted on one video screen (frame) is a frame resolution of 858 × 525, which is larger than the video resolution. The horizontal synchronization (HSYNC) and vertical synchronization (VSYNC) signals are signals for synchronizing the horizontal and vertical frames, and are included in the TMDS channel. The TMDS period is a period for transmitting video data, audio data, auxiliary data, control information, and the like from the HDMI transmitter 1110 to the HDMI receiver. The TMDS period is divided into three periods: a control period, a related data period, and a video data period. Pixels of video data are transmitted during the video data period, and audio data or auxiliary data are transmitted during the related data period. The control period is a period during which it is not necessary to transmit video data or audio data and auxiliary data. That is, the control period is a period other than the video data period and the related data period. The control period must be between the video data period or the related data period. Control information is transmitted during the control period. As control information sent during the control period, for example, there is a preamble. There are two types of information corresponding to audio data, auxiliary data, or video data in the preamble, and the preamble is included in the related data period or the control period immediately before the video data period. By referring to the preamble, the HDMI receiver 2110 determines whether the immediately following information is audio data, auxiliary data, or video data.

なお、フレーム形式として、以下の事例のように、映像解像度およびフレームレートに対し、対応するフレーム解像度およびクロックが決まっている。   As the frame format, the corresponding frame resolution and clock are determined for the video resolution and frame rate as in the following example.

Figure 2010166337
Figure 2010166337

このように、HDMI規格では、HDMIソース1100は、AV情報に含まれる映像データ、音声データおよび補助データをTMDSチャネルを介してHDMIシンク2100へ伝送する。また、HDMIソース1100は、AV情報に同期した画素クロック信号をTMDSクロックチャンネルを介してHDMIシンク2100に伝送する。さらに、HDMIソース1100は、DDC信号、CEC信号などの制御情報をHDMIシンク2100に伝送する。   As described above, in the HDMI standard, the HDMI source 1100 transmits video data, audio data, and auxiliary data included in the AV information to the HDMI sink 2100 through the TMDS channel. Also, the HDMI source 1100 transmits a pixel clock signal synchronized with AV information to the HDMI sink 2100 via the TMDS clock channel. Further, the HDMI source 1100 transmits control information such as a DDC signal and a CEC signal to the HDMI sink 2100.

ところで、近年、放送/IPチューナ・パソコン・BDまたはDVDのプレイヤー・ゲーム機などで多くのAV情報を扱うことが増え、1つの表示装置に複数のAV情報を同時に表示させる要望が強くなっている。   By the way, in recent years, a large amount of AV information is handled in broadcasting / IP tuners, personal computers, BD or DVD players, game machines, and the like, and there is an increasing demand for simultaneously displaying a plurality of AV information on one display device. .

例えば、テレビ2000が2つのチューナを内蔵している場合では、1つのテレビ画面上に2つの番組を同時に表示することができる。また、複数のAV情報を1つのテレビ画面に表示することが考えられる。これは、一例として図24のように、テレビ画面の一部にスポーツ番組を表示すると同時に、パソコンから出力されるブラウザおよびメールを表示することである。さらに別の事例として、図25は、例えばFHD(Full High Definition)の映像解像度のテレビ2000に、SD(Standard Definition)の映像解像度のDVDを再生する場合を示した図である。この場合、SDのAV情報を拡大してFHDのテレビ2000に全画面表示することも考えられる。しかし、AV情報の画質が落ちるため、拡大せずにFHDの画面にSDのAV情報をそのまま表示することも考えられる。この場合、FHDの全画面にAV情報を表示させないため、AV情報が表示されていない部分に、動画の壁紙を表示することもできる。   For example, when the television 2000 includes two tuners, two programs can be simultaneously displayed on one television screen. It is also conceivable to display a plurality of AV information on one television screen. For example, as shown in FIG. 24, a sports program is displayed on a part of a television screen, and at the same time, a browser and mail output from a personal computer are displayed. As yet another example, FIG. 25 is a diagram showing a case where a DVD with SD (Standard Definition) video resolution is reproduced on a television 2000 with video resolution of FHD (Full High Definition), for example. In this case, the SD AV information may be enlarged and displayed on the FHD television 2000 in full screen. However, since the image quality of the AV information deteriorates, it may be possible to display the SD AV information as it is on the FHD screen without enlarging. In this case, since the AV information is not displayed on the entire screen of the FHD, the wallpaper of the moving image can be displayed in a portion where the AV information is not displayed.

また、複数のAV情報を1つのテレビ画面に表示する場合、それぞれの元のAV情報は別のAV再生機1000から来る方が望ましい。例えば図24の場合では、スポーツ番組はIPチューナ経由であり、ブラウザおよびメールはパソコンからの出力であることが望ましい。   Further, when a plurality of AV information is displayed on one television screen, it is preferable that each original AV information comes from another AV player 1000. For example, in the case of FIG. 24, the sports program is preferably via the IP tuner, and the browser and the mail are preferably output from a personal computer.

次に、複数のAV情報がそれぞれ異なるAV再生機1000から伝送される場合として、複数のAV再生機1000から複数のAV情報を同時に1つのテレビ2000に表示する場合を考える。このような場合、AV再生機1000とテレビ2000とを接続する方法として3つの方法が考えられる。第1の方法は図26に示すスター型である。この場合、テレビ2000側に接続できるAV再生機1000の数が、テレビ2000が有するコネクタ数に限られてしまう。第2の方法は図27に示すカスケード型である。この場合は、テレビ2000のコネクタ数が少ないため、AV再生機1000の接続および配置の自由度が限られてしまう。第3の方法として、第1および第2の方法を組み合わせた総合型の方法を図28に示す。この方法を用いることにより、図26および図27の方法が有する問題を低減できる。そのため、複数のAV再生機1000からの複数のAV情報を1つのテレビ2000に同時に表示する場合、図28のAV再生機1000とテレビ2000との接続方法が適切と考えられる。   Next, as a case where a plurality of AV information is transmitted from different AV players 1000, a case where a plurality of AV information from a plurality of AV players 1000 are simultaneously displayed on one television 2000 is considered. In such a case, three methods are conceivable as a method of connecting the AV player 1000 and the television 2000. The first method is the star type shown in FIG. In this case, the number of AV players 1000 that can be connected to the television 2000 is limited to the number of connectors that the television 2000 has. The second method is a cascade type shown in FIG. In this case, since the number of connectors of the television 2000 is small, the degree of freedom of connection and arrangement of the AV player 1000 is limited. As a third method, an integrated method combining the first and second methods is shown in FIG. By using this method, the problems of the methods of FIGS. 26 and 27 can be reduced. Therefore, when a plurality of AV information from a plurality of AV players 1000 are displayed simultaneously on one television 2000, the connection method between the AV player 1000 and the television 2000 shown in FIG.

図28に示すテレビ2000に直接接続されるAV再生機1000はテレビ2000に接続する際に、1本のケーブルで接続されていることが望ましい。しかし、前述のHDMI規格では、複数のAV情報を1本のHDMIケーブル3で同時に伝送することが標準化されていない。そこで、1本のHDMIケーブル3を用いて複数のAV情報を同時に伝送する方法として特許文献1に記載の方法がある。   The AV player 1000 directly connected to the television 2000 shown in FIG. 28 is preferably connected by a single cable when connecting to the television 2000. However, in the above-mentioned HDMI standard, it is not standardized to simultaneously transmit a plurality of AV information through a single HDMI cable 3. Therefore, there is a method described in Patent Document 1 as a method of transmitting a plurality of AV information simultaneously using one HDMI cable 3.

特許文献1では、複数の映像データを1フレームの各画素の伝送期間に割り当て、割り当てによって合成された映像データを画素クロックに同期して伝送する。この方法を図28のAV再生機に用いると、1本のHDMIケーブル3で複数のAV情報を伝送することができる。そして、テレビ画面に複数のAV情報を同時に表示することができる。   In Patent Document 1, a plurality of video data is allocated to the transmission period of each pixel of one frame, and the video data synthesized by the allocation is transmitted in synchronization with the pixel clock. When this method is used in the AV player shown in FIG. 28, a plurality of AV information can be transmitted with one HDMI cable 3. A plurality of AV information can be simultaneously displayed on the television screen.

特開2007−311929号公報(2007年11月29日公開)JP 2007-311929 A (published November 29, 2007)

「HDMI:High−Definition Multimedia Interface、Specification 1.3a」 2006年11月10日発表"HDMI: High-Definition Multimedia Interface, Specification 1.3a" announced on November 10, 2006

しかしながら、特許文献1の方法では、複数の映像データをテレビ2000に同時に表示するためには、全ての映像データを単一の画素クロックに同期させなければならない。そのため、各映像データを出力する各AVデコーダ1020は、或る単一の画素クロックに同期して全ての映像データを出力しなければならなかった。つまり、テレビ2000には複数のAV情報が同時に表示されているが、全AV情報の再生(更新)は或る決められた速度で行われる。従って、各AV再生機1000が有するそれぞれの出力速度を生かして1つのテレビに同時に表示させることが出来ないという問題があった。   However, in the method of Patent Document 1, in order to simultaneously display a plurality of video data on the television 2000, all the video data must be synchronized with a single pixel clock. Therefore, each AV decoder 1020 that outputs each video data has to output all the video data in synchronization with a single pixel clock. That is, a plurality of AV information is simultaneously displayed on the television 2000, but all AV information is reproduced (updated) at a predetermined speed. Therefore, there is a problem that it is impossible to display on one television at the same time by utilizing the respective output speeds of each AV player 1000.

なお、特許文献1の方法を用いて、図28の構成を考える場合、各AV再生機1000は、個々に独立したクロック生成装置(図示せず)でクロックを生成し、そのクロックに同期したAV情報の再生を行う。そのため、各AV再生機1000に対して或る一定のクロックを生成することを指示したとしても、各AV再生機1000のクロック生成装置が生成するクロックは、実際には全て或る一定のクロックではなく、各クロック生成装置に起因する誤差を含んだクロックとなる。なお、この各装置に起因してクロックに誤差が生じることをクロック同期問題(詳細は後述する)という。   When considering the configuration of FIG. 28 using the method of Patent Document 1, each AV playback device 1000 generates a clock with an independent clock generation device (not shown) and synchronizes with the AV. Play information. Therefore, even if each AV player 1000 is instructed to generate a certain clock, the clocks generated by the clock generator of each AV player 1000 are actually all at a certain clock. Instead, the clock includes an error caused by each clock generator. Note that an error in the clock caused by each device is called a clock synchronization problem (details will be described later).

特許文献1では、このクロック同期問題に関して考慮されていない。そのため、各AV再生機1000が再生した全てのAV情報に対して、実際にどのように同期を行うのかという問題があった。   Patent Document 1 does not consider this clock synchronization problem. For this reason, there is a problem of how to actually synchronize all AV information reproduced by each AV player 1000.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、複数の非圧縮AV情報と、当該複数の非圧縮AV情報に同期している各クロックとを受信し、1つの送信ポートを介して、その各クロックを損なわずに、複数の非圧縮AV情報を送信することが可能なAV通信装置およびAV通信方法を提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to receive a plurality of uncompressed AV information and each clock synchronized with the plurality of uncompressed AV information, An object of the present invention is to provide an AV communication apparatus and an AV communication method capable of transmitting a plurality of uncompressed AV information via a transmission port without losing each clock.

本発明に係る通信装置は、上記課題を解決するために、それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信する複数の受信手段と、上記複数の受信手段が受信した上記複数のデータをそれぞれ格納する複数のバッファと、上記受信手段がそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成手段と、上記クロック生成手段によって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリング手段と、上記スケジューリング手段によって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信手段と、を備えることを特徴としている。   In order to solve the above problems, a communication device according to the present invention includes a plurality of receiving means for receiving a plurality of different reception clocks and a plurality of data synchronized with the respective reception clocks, and the plurality of receiving means. A plurality of buffers for storing the plurality of data received by the receiver and a total data amount of data stored per unit time for each buffer can be transmitted to the outside based on the reception clock received by the receiving unit. A clock generation unit for generating a transmission clock, a scheduling unit for determining a fixed period for transmitting the transmission clock generated by the clock generation unit and the data stored in the buffer to the outside, and Based on the fixed period determined by the scheduling means, the transmission clock and the upper It is characterized by comprising a transmitting means for transmitting data to the outside.

本発明に係る通信装置の制御方法は、上記課題を解決するために、それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信し、当該複数のデータそれぞれを複数のバッファに格納する受信ステップと、上記受信ステップにてそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成ステップと、上記クロック生成ステップによって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリングステップと、上記スケジューリングステップによって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信ステップと、を含むことを特徴としている。   In order to solve the above-described problem, a communication device control method according to the present invention receives a plurality of different reception clocks and a plurality of data synchronized with each reception clock, and a plurality of each of the plurality of data is received. And a reception clock stored in the buffer, and a transmission clock capable of transmitting the total amount of data stored per unit time for each buffer to the outside based on the reception clock received in the reception step. A clock generation step, a scheduling step for determining a fixed period during which the transmission clock generated by the clock generation step and the data stored in the buffer are transmitted to the outside, and a determination step determined by the scheduling step. Based on the fixed period, the transmission clock and the upper It is characterized in that it comprises a transmission step of transmitting the data to the outside.

上記の構成によれば、通信装置およびその制御方法では、複数のデータと、当該複数のデータに同期している各受信クロックとを受信し、1つの送信手段を介して、その各受信クロックを損なわずに、複数のデータを送信することができるという効果を奏する。   According to the above configuration, in the communication device and the control method thereof, a plurality of data and each reception clock synchronized with the plurality of data are received, and each reception clock is received via one transmission unit. There is an effect that a plurality of data can be transmitted without loss.

本発明に係る通信装置は、上記受信手段は、1つまたは複数のデータを受信することが好ましい。   In the communication apparatus according to the present invention, it is preferable that the receiving unit receives one or a plurality of data.

上記の構成によれば、1つの受信手段に複数の他の通信装置(例えばAV伝送装置、AVデコーダおよび外部機器)が接続されている場合であっても、複数のデータを受信し、1つの送信手段を介して、その各受信クロックを損なわずに、複数のデータを送信することができるという効果を奏する。   According to the above configuration, even when a plurality of other communication devices (for example, an AV transmission device, an AV decoder, and an external device) are connected to one receiving means, There is an effect that a plurality of data can be transmitted through the transmission means without damaging each reception clock.

本発明に係る通信装置は、上記バッファはそれぞれ、上記送信手段が送信可能な送信可能データ量以上のデータ量を基準データ量として設定し、当該基準データ量と、当該基準データ量を設定したときの固定期間後の固定期間に上記バッファに格納されている格納データ量とを比較する送信制御手段と、上記送信制御手段の比較結果に基づいて、上記スケジューリング手段に送信する送信データを作成する送信調整手段と、を備えることが好ましい。   In the communication device according to the present invention, each of the buffers sets a reference data amount that is equal to or larger than a transmittable data amount that can be transmitted by the transmission unit, and sets the reference data amount and the reference data amount. Transmission control means for comparing the amount of stored data stored in the buffer in a fixed period after the fixed period, and transmission for generating transmission data to be transmitted to the scheduling means based on the comparison result of the transmission control means And adjusting means.

上記の構成によれば、たとえクロック同期問題が発生したとしても、通信装置は、受信したデータに同期している受信クロックと異なるクロックによって受信したデータを外部へ送信した場合でも、通信装置が受信したデータを受信した速度と同じ速度で送信データを外部へ送信することができるという効果を奏する。   According to the above configuration, even if a clock synchronization problem occurs, the communication device receives the data even if the communication device transmits data received using a clock different from the reception clock synchronized with the received data. Thus, the transmission data can be transmitted to the outside at the same speed as the received data.

本発明に係る通信装置は、上記送信制御手段は、上記基準データ量を設定したときの固定期間後の固定期間において、上記格納データ量が上記基準データ量以下であると判定した場合、{上記送信可能データ量−(上記基準データ量−上記格納データ量)}を上記送信データのデータ量として決定し、上記格納データ量が上記基準データ量よりも大きいと判定した場合、当該格納データ量から(当該格納データ量−当該基準データ量)を示す差分データ量を除外した除外データ量を求め、当該除外データ量から上記送信可能データ量を抽出したデータ量を、上記送信データのデータ量として決定することが好ましい。   In the communication apparatus according to the present invention, when the transmission control unit determines that the stored data amount is equal to or less than the reference data amount in a fixed period after the fixed period when the reference data amount is set, When the amount of transmittable data− (the reference data amount−the stored data amount)} is determined as the data amount of the transmission data and it is determined that the stored data amount is larger than the reference data amount, The excluded data amount excluding the difference data amount indicating (the stored data amount−the reference data amount) is obtained, and the data amount obtained by extracting the transmittable data amount from the excluded data amount is determined as the data amount of the transmission data. It is preferable to do.

上記の構成によれば、通信装置は、受信したデータを外部に安定したデータ量で送信することができるという効果を奏する。   According to said structure, there exists an effect that a communication apparatus can transmit the received data to the exterior with the stable data amount.

本発明に係る通信装置は、上記データは、映像データと、当該映像データとは異なる非映像データとを含むものであって、上記送信調整手段は、さらに、上記送信データのデータ量と、上記差分データ量と、当該送信データの状態を、当該送信データのデータ量を決定したときの固定期間に上記バッファに格納されていたデータの状態に戻すための当該データにおける位置情報と、を含むヘッダを当該送信データに付与することが好ましい。   In the communication apparatus according to the present invention, the data includes video data and non-video data different from the video data, and the transmission adjustment unit further includes a data amount of the transmission data, A header including the difference data amount and position information in the data for returning the state of the transmission data to the data state stored in the buffer during a fixed period when the data amount of the transmission data is determined Is preferably added to the transmission data.

上記の構成によれば、通信装置は、例えば送信先の外部装置に対して、送信データの状態を知らせることができるという効果を奏する。   According to said structure, there exists an effect that a communication apparatus can notify the state of transmission data with respect to the external apparatus of a transmission destination, for example.

本発明に係る通信装置は、上記送信調整手段は、さらに、上記格納データ量から除外された除外データに上記非映像データが含まれている場合には、当該非映像データを、上記送信データのデータ量を決定したときの固定期間以降に上記スケジューリング手段に送信する送信データに付与することが好ましい。   In the communication device according to the present invention, the transmission adjustment unit may further include the non-video data in the transmission data when the non-video data is included in the excluded data excluded from the stored data amount. It is preferable to attach to transmission data to be transmitted to the scheduling means after a fixed period when the data amount is determined.

上記の構成によれば、通信装置は、非映像データを失うことなく、送信先の外部装置へ送信することができるという効果を奏する。   According to said structure, there exists an effect that a communication apparatus can transmit to the external device of a transmission destination, without losing non-video data.

本発明に係る通信装置は、上記受信手段は、上記バッファを備える外部装置からデータを受信しており、自装置の上記バッファはそれぞれ、上記受信手段が上記ヘッダおよび上記非映像データを含むデータを受信した場合に、当該ヘッダおよび当該非映像データに基づいて、当該データの状態を、上記外部装置のバッファに格納されていたデータの状態に戻す受信制御手段をさらに備えることが好ましい。   In the communication device according to the present invention, the receiving unit receives data from an external device including the buffer, and the buffer of the own device respectively receives data including the header and the non-video data. It is preferable to further include a reception control means for returning the state of the data to the state of the data stored in the buffer of the external device based on the header and the non-video data.

上記の構成によれば、通信装置は、データのヘッダを確認することによって、外部装置が当該通信装置に送信したデータの状態に戻すことができるという効果を奏する。   According to said structure, there exists an effect that a communication apparatus can return to the state of the data which the external apparatus transmitted to the said communication apparatus by confirming the header of data.

本発明に係る通信装置は、上記送信調整手段は、上記バッファそれぞれに格納されているデータに対応する固定期間になったときから所定時間経過後に、当該送信データを当該スケジューリング手段に送信することが好ましい。   In the communication apparatus according to the present invention, the transmission adjusting unit may transmit the transmission data to the scheduling unit after a predetermined time has elapsed since the fixed period corresponding to the data stored in each of the buffers. preferable.

上記の構成によれば、通信装置は、複数のデータを送信するために決定した固定期間の間に、遅延することなく、各データを送信することができるという効果を奏する。   According to said structure, there exists an effect that a communication apparatus can transmit each data, without delay during the fixed period determined in order to transmit several data.

本発明に係る通信装置は、上記スケジューリング手段は、上記固定期間を、上記送信可能データ量×(上記受信手段が受信するデータのフレームレート/上記送信手段が送信するデータのフレームレート)/上記送信クロックにより求めることが好ましい。   In the communication apparatus according to the present invention, the scheduling unit determines the fixed period as the transmittable data amount × (the frame rate of data received by the receiving unit / the frame rate of data transmitted by the transmitting unit) / the transmission. It is preferable to obtain from a clock.

上記の構成によれば、各バッファが受信する各データを送信手段が外部へ送信するための最適な固定期間を決定することができるという効果を奏する。   According to said structure, there exists an effect that the optimal fixed period for a transmission means to transmit each data which each buffer receives to the exterior can be determined.

本発明に係る通信装置は、上記データは、映像データを含むものであって、
上記格納データ量、上記送信可能データ量および上記基準データ量は、上記映像データの所定のデータ量単位であることが好ましい。
In the communication device according to the present invention, the data includes video data,
The stored data amount, the transmittable data amount, and the reference data amount are preferably a predetermined data amount unit of the video data.

上記の構成によれば、スケジューリング手段、受信制御手段、送信制御手段および送信調整手段の処理を低減させることができるという効果を奏する。   According to said structure, there exists an effect that the process of a scheduling means, a reception control means, a transmission control means, and a transmission adjustment means can be reduced.

本発明に係る通信装置は、上記受信手段と上記バッファとの間に、当該受信手段それぞれが受信するデータのフレームレートを変換するフレームレート変換手段を備えることが好ましい。   The communication apparatus according to the present invention preferably includes a frame rate conversion unit that converts a frame rate of data received by each receiving unit between the receiving unit and the buffer.

上記の構成によれば、通信装置がサポートしていないフレームレートを有するデータを受信することができるという効果を奏する。また、通信装置が生成することのできる送信クロックによって送信可能なデータ量より大きいデータ量を受信しても、フレームレート変換手段が、受信するデータ量を減らすことによって、通信装置が受信したデータを外部に送信することができるという効果を奏する。   According to said structure, there exists an effect that the data which has a frame rate which a communication apparatus does not support can be received. Further, even if a data amount larger than the data amount that can be transmitted by the transmission clock that can be generated by the communication device is received, the frame rate conversion means reduces the data amount received, thereby reducing the data received by the communication device. There is an effect that it can be transmitted to the outside.

本発明に係る通信装置は、上記受信手段と上記バッファとの間に、当該受信手段それぞれが受信するデータの解像度を変換する解像度変換手段を備えることが好ましい。   The communication apparatus according to the present invention preferably includes resolution conversion means for converting the resolution of data received by each of the receiving means between the receiving means and the buffer.

上記の構成によれば、通信装置が、サポートしていない解像度を有するデータを受信することができるという効果を奏する。また、通信装置が生成することのできる送信クロックによって送信可能なデータ量より大きいデータ量を受信しても、解像度変換手段が、受信するデータ量を減らすことによって、通信装置が受信したデータを外部に送信することができるという効果を奏する。   According to said structure, there exists an effect that the communication apparatus can receive the data which has the resolution which is not supported. Further, even when a data amount larger than the amount of data that can be transmitted by the transmission clock that can be generated by the communication device is received, the resolution conversion means reduces the amount of data received so that the data received by the communication device is externally The effect that it can transmit to is produced.

本発明に係る通信装置は、上記クロック生成手段は、上記複数のバッファのうちのいずれかのバッファにて受信する受信クロックを用いて、上記送信クロックを生成することが好ましい。   In the communication apparatus according to the present invention, it is preferable that the clock generation unit generates the transmission clock using a reception clock received by any one of the plurality of buffers.

上記の構成によれば、例えばPLL(Phase Locked Loop)を有するクロック生成手段は、受信クロックおよびPLLを用いることにより、例えば水晶およびPLLでは生成できない送信クロックも生成可能となるという効果を奏する。   According to the above configuration, for example, a clock generation unit having a PLL (Phase Locked Loop) can generate a transmission clock that cannot be generated by a crystal and a PLL, for example, by using the reception clock and the PLL.

本発明に係る通信装置は、上記バッファそれぞれに格納されているデータに対応する固定期間全てを含む期間を固定周期とし、上記固定周期は、上記データのフレームレートのうち、最も大きいフレームレートの逆数であることが好ましい。   In the communication apparatus according to the present invention, a period including all the fixed periods corresponding to the data stored in each of the buffers is set as a fixed period, and the fixed period is an inverse number of the largest frame rate among the frame rates of the data. It is preferable that

上記の構成によれば、最も大きいフレームレートの逆数(周期)は、上記データの1フレームの期間のうち、最も短い期間であるため、スケジュールによる処理時間の遅延(オーバーヘッド)を小さくすることができるという効果を奏する。   According to the above configuration, since the reciprocal (cycle) of the largest frame rate is the shortest of the periods of one frame of the data, the processing time delay (overhead) due to the schedule can be reduced. There is an effect.

なお、上記通信装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記通信装置の各手段として動作させることにより、上記通信装置をコンピュータにて実現させる制御プログラム、及びそれを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に入る。   The communication device may be realized by a computer. In this case, a control program for causing the communication device to be realized by the computer by causing the computer to operate as each unit of the communication device, and recording the program. Such computer-readable recording media also fall within the scope of the present invention.

以上のように、本発明に係る通信装置は、それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信する複数の受信手段と、上記複数の受信手段が受信した上記複数のデータをそれぞれ格納する複数のバッファと、上記受信手段がそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成手段と、上記クロック生成手段によって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリング手段と、上記スケジューリング手段によって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信手段と、を備えることを特徴としている。   As described above, the communication device according to the present invention receives a plurality of reception clocks, a plurality of reception units that receive a plurality of data synchronized with each reception clock, and the plurality of reception units. A plurality of buffers each storing the plurality of data, and a transmission clock capable of transmitting the total amount of data stored per unit time for each buffer to the outside based on the reception clocks received by the receiving unit. Generating means, scheduling means for determining a fixed period for transmitting the transmission clock generated by the clock generation means and the data stored in the buffer to the outside, and the scheduling means The transmission clock and the data are excluded based on the determined fixed period. It is characterized by a transmission unit for transmitting to.

また、本発明に係る通信装置の制御方法は、それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信し、当該複数のデータそれぞれを複数のバッファに格納する受信ステップと、上記受信ステップにてそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成ステップと、上記クロック生成ステップによって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリングステップと、上記スケジューリングステップによって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信ステップと、を含むことを特徴としている。   Further, the communication device control method according to the present invention receives a plurality of different reception clocks and a plurality of data synchronized with each reception clock, and stores the plurality of data in a plurality of buffers. A clock generation step for generating a transmission clock capable of transmitting the total data amount of data stored per unit time for each buffer to the outside based on the reception clock respectively received in the reception step; and A scheduling step for determining a fixed period for transmitting the transmission clock generated by the clock generation step and the data stored in the buffer to the outside, and the fixed period determined by the scheduling step. , Send the transmission clock and the data to the outside It is characterized in that it comprises a transmission step that, a.

したがって、複数のデータと、当該複数のデータに同期している各受信クロックとを受信し、1つの送信手段を介して、その各受信クロックを損なわずに、複数のデータを送信することができるという効果を奏する。   Therefore, a plurality of data and each reception clock synchronized with the plurality of data can be received, and a plurality of data can be transmitted via one transmission means without damaging each reception clock. There is an effect.

本発明の一実施形態に係るAV伝送装置10の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of an AV transmission apparatus 10 according to an embodiment of the present invention. 本発明の一実施形態に係るAV再生機1とテレビ2とをHDMIケーブル3で接続したAV再生システム4の一例を示すブロック図である。1 is a block diagram showing an example of an AV playback system 4 in which an AV playback device 1 and a television 2 according to an embodiment of the present invention are connected by an HDMI cable 3. FIG. 図2に示すAV再生システム4におけるAV再生機1およびテレビ2の内部構成を示すブロック図である。FIG. 3 is a block diagram showing an internal configuration of an AV player 1 and a television 2 in the AV playback system 4 shown in FIG. 2. 送信仕様クロックを用いて、各AV情報80をそれぞれ送信する期間の一例を示す図である。It is a figure which shows an example of the period which each AV information 80 transmits, respectively using a transmission specification clock. AV再生機1a〜1dの各AVデコーダ1020が出力するAV情報80a〜80dと、AV再生機1dからテレビ2に入力されるAV情報80a〜80dとを示す図である。It is a figure which shows AV information 80a-80d which each AV decoder 1020 of AV player 1a-1d outputs, and AV information 80a-80d input into the television 2 from AV player 1d. 図1に示すバッファ30iが、スケジューラ50の命令に従って、蓄積している蓄積データSiを調整する方法の事例である。The buffer 30i shown in FIG. 1 is an example of a method of adjusting the accumulated data Si accumulated according to the instruction of the scheduler 50. 図1に示すバッファ30iが、スケジューラ50の命令に従って、蓄積している蓄積データSiを調整する方法の事例である。The buffer 30i shown in FIG. 1 is an example of a method of adjusting the accumulated data Si accumulated according to the instruction of the scheduler 50. 図1に示すバッファ30iが、スケジューラ50の命令に従って、蓄積している蓄積データSiを調整する方法の事例である。The buffer 30i shown in FIG. 1 is an example of a method of adjusting the accumulated data Si accumulated according to the instruction of the scheduler 50. 図1に示すバッファ30、およびスケジューラ50の内部の詳細を示す図である。It is a figure which shows the detail inside the buffer 30 and the scheduler 50 which are shown in FIG. 図9に示すスケジューラ制御部52の処理を示すフローチャートである。It is a flowchart which shows the process of the scheduler control part 52 shown in FIG. 図9に示すスケジューラ制御部52の送信処理命令に基づいて行うバッファ送信制御部38の処理を示すフローチャートである。It is a flowchart which shows the process of the buffer transmission control part 38 performed based on the transmission process command of the scheduler control part 52 shown in FIG. 図9に示すAVメモリ32、または管理メモリ35の構成を示す図である。It is a figure which shows the structure of AV memory 32 shown in FIG. 9, or the management memory 35. 図9に示す管理メモリ35に格納される管理情報を示す図である。It is a figure which shows the management information stored in the management memory 35 shown in FIG. 図9に示すバッファ送信制御部38が調整フレームを作成する際に追加するヘッダの構成を示す図である。It is a figure which shows the structure of the header added when the buffer transmission control part shown in FIG. 9 produces an adjustment frame. 図9に示すバッファ送信制御部38がAVフレームから調整フレームを作成する際に、作成されることがある調整データの構成を示す図である。It is a figure which shows the structure of the adjustment data which may be produced when the buffer transmission control part 38 shown in FIG. 9 produces an adjustment frame from an AV frame. 図9に示す受信調整・解析部34が使用する変数(レジスタ)を示す図である。It is a figure which shows the variable (register) which the reception adjustment and analysis part 34 shown in FIG. 9 uses. 図9に示す受信調整・解析部34の状態遷移図を示す図である。It is a figure which shows the state transition diagram of the reception adjustment / analysis part 34 shown in FIG. 図9に示すバッファ送信制御部38が使用する変数(レジスタ)を示す図である。It is a figure which shows the variable (register) which the buffer transmission control part 38 shown in FIG. 9 uses. 図9に示すバッファ送信制御部38の状態遷移を示す図である。It is a figure which shows the state transition of the buffer transmission control part 38 shown in FIG. 図1に示すAV伝送装置10の変形例を示すものであり、AV伝送装置10aの概略構成を示すブロック図である。FIG. 9 is a block diagram illustrating a schematic configuration of an AV transmission apparatus 10a, illustrating a modification of the AV transmission apparatus 10 illustrated in FIG. 1. 従来技術を示すものであり、HDMI規格を用いた伝送システムの一例を示すブロック図である。It is a block diagram which shows a prior art and shows an example of the transmission system using a HDMI specification. 従来技術を示すものであり、HDMIソース1100、HDMIシンク2100およびHDMIケーブル3の概略構成を示すブロック図である。FIG. 11 is a block diagram illustrating a conventional technique and illustrating a schematic configuration of an HDMI source 1100, an HDMI sink 2100, and an HDMI cable 3. 従来技術を示すものであり、720×480の映像解像度の映像データと、それに付随する音声データと、映像データに付随する補助データとをHDMI規格で伝送する事例を示す図である。It is a figure which shows the prior art and shows the example which transmits the video data of the video resolution of 720x480, the audio data accompanying it, and the auxiliary data accompanying the video data by the HDMI standard. 従来技術を示すものであり、テレビ2000が、画面にスポーツ番組と、パソコンから出力されるブラウザおよびメールとを同時にそれぞれ表示する場合のテレビ2000の画面表示例を示す図である。It is a figure which shows a prior art and is a figure which shows the example of a screen display of the television 2000 when the television 2000 displays a sports program and the browser and mail output from a personal computer simultaneously on a screen, respectively. 従来技術を示すものであり、FHDの映像解像度のテレビ2000が、画面にSDの映像解像度のDVDを表示する場合のテレビ2000の画面表示例を示す図である。It is a figure which shows a prior art and shows the screen display example of the television 2000 in case the television 2000 of the video resolution of FHD displays DVD of the video resolution of SD on a screen. 従来技術を示すものであり、AV再生機1000とテレビ2000とを接続する方法の一例であるスター型の接続方法を示す図である。It is a figure which shows a prior art and shows the star-type connection method which is an example of the method of connecting AV player 1000 and the television 2000. FIG. 従来技術を示すものであり、AV再生機1000とテレビ2000とを接続する方法の一例であるカスケード型の接続方法を示す図である。It is a figure which shows a prior art and is a figure which shows the cascade type connection method which is an example of the method of connecting AV player 1000 and the television 2000. FIG. 従来技術を示すものであり、AV再生機1000とテレビ2000とを接続する方法の一例である総合型の接続方法を示す図である。It is a figure which shows a prior art and shows the comprehensive connection method which is an example of the method of connecting AV player 1000 and the television 2000. FIG.

本発明の一実施形態について図1〜図20に基づいて説明すると以下の通りである。   An embodiment of the present invention will be described below with reference to FIGS.

〔AV再生システム〕
図2は、本発明に係るAV再生機1とテレビ2とをHDMIケーブル3で接続したAV再生システム4の一例を示すブロック図である。AV再生システム4は、AV再生機1、テレビ2およびHDMIケーブル3を備える。図2は、一例として4個のAV再生機1a、1b、1cおよび1dが接続され、各AV再生機1a、1b、1cおよび1dが有するAV情報(データ)80をテレビ2に伝送する場合を示す。
[AV playback system]
FIG. 2 is a block diagram showing an example of an AV playback system 4 in which an AV playback device 1 and a television 2 according to the present invention are connected by an HDMI cable 3. The AV playback system 4 includes an AV player 1, a television 2, and an HDMI cable 3. FIG. 2 shows an example in which four AV players 1a, 1b, 1c and 1d are connected and AV information (data) 80 of each AV player 1a, 1b, 1c and 1d is transmitted to the television 2 as an example. Show.

なお、図2のAV再生システム4では、図28に示す総合型を用いた接続方法で、AV再生機1a、1b、1c、1dおよびテレビ2が接続されている。また、AV再生機1a、1b、1cおよび1dは、同様の構成を備えているので、以下の説明では、AV再生機1a、1b、1cおよび1dをAV再生機1と称して説明する。   In the AV playback system 4 of FIG. 2, the AV players 1a, 1b, 1c, 1d and the television 2 are connected by the connection method using the general type shown in FIG. Since the AV players 1a, 1b, 1c and 1d have the same configuration, the AV players 1a, 1b, 1c and 1d will be referred to as the AV player 1 in the following description.

AV再生機1は、自身が有するAV情報80を再生して他の機器に伝送するものであり、且つ、外部からAV情報80を受信して、その受信したAV情報80を他の機器へ伝送するものである。AV再生機1としては、例えば、パソコン、BDプレイヤー、HDレコーダ、STB、放送/IPチューナやゲーム機などが挙げられる。   The AV player 1 reproduces the AV information 80 included in the AV player 1 and transmits the AV information 80 to another device. The AV player 1 receives the AV information 80 from the outside and transmits the received AV information 80 to the other device. To do. Examples of the AV player 1 include a personal computer, a BD player, an HD recorder, an STB, a broadcast / IP tuner, a game machine, and the like.

テレビ2は、AV再生機1からAV情報80の出力を受けて、映像を表示する表示装置である。テレビ2としては、例えば、テレビ、モニター、ディスプレイ、またはプロジェクターなどが挙げられる。   The television 2 is a display device that receives the output of AV information 80 from the AV player 1 and displays video. Examples of the television 2 include a television, a monitor, a display, or a projector.

HDMIケーブル3が伝送するAV情報80は、映像データ、音声データ、文字情報などの補助データ、および空白情報を含む。空白情報は、映像データ、音声データ、および補助データが存在しないデータである。なお、本発明に係る実施形態では、音声データ、および通常の補助データを関連データと称する。また、映像以外のデータである関連データ、補助データおよび空白情報を非映像データと称する。またHDMIケーブル3はAV情報80以外に、映像データに同期したクロックと、HDMI規格のDDC信号、CEC信号などの制御情報とを伝送する。クロックは、映像データの画素単位に対して同期してもよい。なお、HDMI規格の場合、映像データの1画素が24ビットの場合、映像データの1画素は、1つのTMDSクロックに割り当てられる。一方、映像データの1画素が24ビットより大きい場合、映像データの1画素は1つ以上のTMDSクロックに割り当てられる。ここで、TMDSクロックは、図21のHDMIシンク2100がデータを再生する際に、リファレンス・クロックとして使用されるものである。   AV information 80 transmitted by the HDMI cable 3 includes video data, audio data, auxiliary data such as character information, and blank information. The blank information is data in which video data, audio data, and auxiliary data do not exist. In the embodiment according to the present invention, voice data and normal auxiliary data are referred to as related data. In addition, related data, auxiliary data, and blank information other than video are referred to as non-video data. In addition to the AV information 80, the HDMI cable 3 transmits a clock synchronized with video data and control information such as an HDMI standard DDC signal and CEC signal. The clock may be synchronized with the pixel unit of the video data. In the HDMI standard, when one pixel of video data is 24 bits, one pixel of video data is assigned to one TMDS clock. On the other hand, when one pixel of the video data is larger than 24 bits, one pixel of the video data is assigned to one or more TMDS clocks. Here, the TMDS clock is used as a reference clock when the HDMI sink 2100 in FIG. 21 reproduces data.

ここで、図2において、AV情報80がAV再生機1からテレビ2に伝送される流れについて説明する。   Here, referring to FIG. 2, the flow in which AV information 80 is transmitted from the AV player 1 to the television 2 will be described.

AV再生機1aは、AV情報80aを再生して、AV情報80aをAV再生機1bに伝送する。AV再生機1cは、AV情報80cを再生して、AV情報80cをAV再生機1dに伝送する。AV再生機1bは、AV情報80bを再生すると共に、AV再生機1aから伝送されるAV情報80aを受信して、AV情報80aおよびAV情報80bをAV再生機1dに伝送する。AV再生機1dは、AV情報80dを再生すると共に、AV再生機1bから伝送されるAV情報80aおよびAV情報80bを受信し、さらに、AV再生機1cから伝送されるAV情報80cを受信して、AV情報80a、AV情報80b、AV情報80cおよびAV情報80dをテレビ2に伝送する。そして、テレビ2は、受信したAV情報80a、AV情報80b、AV情報80cおよびAV情報80dを同時に表示する。なお、AV情報80は、AV情報の総称として扱い、AV情報80a、80b、80c、または80dは、各AV再生機1が送信するAV情報を個々に識別するものとして扱う。   The AV player 1a reproduces the AV information 80a and transmits the AV information 80a to the AV player 1b. The AV player 1c reproduces the AV information 80c and transmits the AV information 80c to the AV player 1d. The AV player 1b reproduces the AV information 80b, receives the AV information 80a transmitted from the AV player 1a, and transmits the AV information 80a and the AV information 80b to the AV player 1d. The AV player 1d reproduces the AV information 80d, receives the AV information 80a and the AV information 80b transmitted from the AV player 1b, and further receives the AV information 80c transmitted from the AV player 1c. AV information 80a, AV information 80b, AV information 80c, and AV information 80d are transmitted to the television 2. The television 2 simultaneously displays the received AV information 80a, AV information 80b, AV information 80c, and AV information 80d. The AV information 80 is treated as a general term for AV information, and the AV information 80a, 80b, 80c, or 80d is treated as identifying each AV information transmitted by each AV player 1.

図3は、図2に示すAV再生システム4におけるAV再生機1およびテレビ2の内部構成を示すブロック図である。AV再生機1a、AV再生機1bおよびAV再生機1cは、AV伝送装置(通信装置)10、2個の受信ポート(受信手段)201、202、送信ポート(送信手段)60、AVソース1010、およびAVデコーダ1020を含む。AV再生機1dは、AV伝送装置10、3個の受信ポート201、202、203、送信ポート60、AVソース1010、およびAVデコーダ1020を含む。テレビ2は、AV伝送装置10および1個の受信ポート201を含む。なお、各AV再生機1およびテレビ2の受信ポート201、202、および203は、同様の構成を備えているので、以下の説明では、受信ポート201、202、および203を受信ポート20と称して説明する。   FIG. 3 is a block diagram showing an internal configuration of the AV player 1 and the television 2 in the AV playback system 4 shown in FIG. The AV player 1a, AV player 1b and AV player 1c include an AV transmission device (communication device) 10, two reception ports (reception means) 201 and 202, a transmission port (transmission means) 60, an AV source 1010, And an AV decoder 1020. The AV player 1d includes an AV transmission device 10, three reception ports 201, 202, 203, a transmission port 60, an AV source 1010, and an AV decoder 1020. The television 2 includes an AV transmission device 10 and one reception port 201. Since the reception ports 201, 202, and 203 of each AV player 1 and the television 2 have the same configuration, the reception ports 201, 202, and 203 are referred to as the reception port 20 in the following description. explain.

AV伝送装置10は、詳細は後述するが、複数の受信ポート20を介して複数のAV情報80を受信し、その複数のAV情報80を送信ポート60を介して外部機器へ伝送するものである。   As will be described in detail later, the AV transmission apparatus 10 receives a plurality of AV information 80 via a plurality of reception ports 20 and transmits the plurality of AV information 80 to an external device via a transmission port 60. .

受信ポート20は、AVデコーダ1020または外部機器から伝送されるAV情報80をAV伝送装置10に入力するためのAV伝送装置10のインターフェースである。   The reception port 20 is an interface of the AV transmission apparatus 10 for inputting AV information 80 transmitted from the AV decoder 1020 or an external device to the AV transmission apparatus 10.

なお、図3では、AV再生機1a、1bおよび1cは、受信ポート20を2個、AV再生機1dは受信ポート20を3個有しているAV伝送装置10を示したが、受信ポート20の数はこれに限定されない。すなわち、図3は一例を示したものであり、AV伝送装置10の受信ポート20の数は1つ以上であればよい。また、1つの受信ポート20は、複数のAV情報80を受信することができる。   3 shows the AV transmission apparatus 10 in which the AV players 1a, 1b, and 1c have two reception ports 20, and the AV player 1d has three reception ports 20. The number of is not limited to this. That is, FIG. 3 shows an example, and the number of reception ports 20 of the AV transmission apparatus 10 may be one or more. One receiving port 20 can receive a plurality of AV information 80.

送信ポート60は、AV伝送装置10から伝送されるAV情報80を外部機器へ出力するためのAV伝送装置10のインターフェースである。   The transmission port 60 is an interface of the AV transmission apparatus 10 for outputting AV information 80 transmitted from the AV transmission apparatus 10 to an external device.

なお、本発明に係る実施形態では、受信ポート20および送信ポート60は、AV伝送装置10に含まれるものとして記載したが、これに限るものではない。例えば、AV再生機1またはテレビ2が、同様の機能を有する受信ポート20および送信ポート60を備えていてもよい。   In the embodiment according to the present invention, the reception port 20 and the transmission port 60 are described as being included in the AV transmission apparatus 10, but the present invention is not limited to this. For example, the AV player 1 or the television 2 may include the reception port 20 and the transmission port 60 having the same function.

AVソース1010は、圧縮されたAV情報80を格納するものである。   The AV source 1010 stores the compressed AV information 80.

AVデコーダ1020は、圧縮されたAV情報80を非圧縮のAV情報80に変換したり、AV情報80の映像解像度、フレーム解像度、フレームレートおよびクロックなどのフレーム形式を決定し、他の装置へ伝送するものである。なお、AV再生機1がゲーム機またはパソコンの場合は、ゲーム機またはパソコンのグラフィック機などがAVデコーダ1020に相当する。   The AV decoder 1020 converts the compressed AV information 80 into uncompressed AV information 80, determines a frame format such as video resolution, frame resolution, frame rate, and clock of the AV information 80, and transmits it to another device. To do. When the AV player 1 is a game machine or a personal computer, the game machine or the graphic machine of the personal computer corresponds to the AV decoder 1020.

ここで、図3におけるAV再生機1とテレビ2との内部の接続関係について説明する。各AV再生機1のAVソース1010は各AV再生機1のAVデコーダ1020に接続されている。また、各AV再生機1の受信ポート20の1つには、各AV再生機1に備えられたAVデコーダ1020の出力が接続されている。AV再生機1aおよび1cの1つの受信ポート20には、これらAV再生機1aおよび1cにAV情報80を送信する前段の外部機器(図示せず)が接続されている。何も接続されていないが、AV再生機1などの外部機器の数を増やした場合にこれらの受信ポート20に接続することができる。そして、AV再生機1aの送信ポート60がAV再生機1bの受信ポート20へ、AV再生機1bの送信ポート60がAV再生機1dの受信ポート20へ、AV再生機1cの送信ポート60がAV再生機1dの受信ポート20へ、AV再生機1dの送信ポート60がテレビ2の受信ポート20へそれぞれ接続されている。   Here, an internal connection relationship between the AV player 1 and the television 2 in FIG. 3 will be described. The AV source 1010 of each AV player 1 is connected to the AV decoder 1020 of each AV player 1. The output of the AV decoder 1020 provided in each AV player 1 is connected to one of the reception ports 20 of each AV player 1. One receiving port 20 of the AV players 1a and 1c is connected to an external device (not shown) in the previous stage that transmits AV information 80 to the AV players 1a and 1c. Nothing is connected, but when the number of external devices such as the AV player 1 is increased, it is possible to connect to these reception ports 20. The transmission port 60 of the AV player 1a is connected to the reception port 20 of the AV player 1b, the transmission port 60 of the AV player 1b is connected to the reception port 20 of the AV player 1d, and the transmission port 60 of the AV player 1c is connected to the AV. The receiving port 20 of the player 1d and the transmitting port 60 of the AV player 1d are connected to the receiving port 20 of the television 2, respectively.

なお、AV再生機1aおよび1cにおける、外部機器と接続された受信ポート20は、前段の外部機器が存在しない場合には、接続されない状態であってもよい。   Note that the reception port 20 connected to the external device in the AV players 1a and 1c may be in a state of being not connected when there is no previous external device.

〔AV伝送装置の構成〕
次に、図1は、本発明の実施形態に係るAV伝送装置10の概略構成を示すブロック図である。AV伝送装置10は、n個の受信ポート201、202…20n、n個のバッファ301、302…30n、クロック生成部(クロック生成手段)40、スケジューラ(スケジューリング手段)50、送信ポート60および全体制御部70から構成される。なお、受信ポート201〜20nは、同様の構成を備えているので、以下の説明では、受信ポート201〜20nを受信ポート20と称して説明する。また、バッファ301〜30nについても同様に、バッファ30と称して説明する。
[Configuration of AV transmission device]
Next, FIG. 1 is a block diagram showing a schematic configuration of the AV transmission apparatus 10 according to the embodiment of the present invention. The AV transmission apparatus 10 includes n reception ports 201, 202... 20n, n buffers 301, 302... 30n, a clock generation unit (clock generation unit) 40, a scheduler (scheduling unit) 50, a transmission port 60, and overall control. The unit 70 is configured. Since the reception ports 201 to 20n have the same configuration, the reception port 201 to 20n will be referred to as the reception port 20 in the following description. Similarly, the buffers 301 to 30n will be described as the buffer 30.

バッファ30は、詳細は後述するが、受信ポート20を介して受信したAV情報80を一時的に格納し、スケジューラ50の命令により、スケジューラ50へAV情報80を送信するものである。   Although details will be described later, the buffer 30 temporarily stores the AV information 80 received via the reception port 20 and transmits the AV information 80 to the scheduler 50 according to a command of the scheduler 50.

クロック生成部40は、全体制御部70の命令に従って、バッファ30がAV情報80をスケジューラ50へ送信するために用いる送信クロックを生成するものである。   The clock generation unit 40 generates a transmission clock used by the buffer 30 to transmit the AV information 80 to the scheduler 50 in accordance with an instruction from the overall control unit 70.

ここで、送信クロックは、バッファ30がAV情報80を送信するために用いるクロックである。送信クロックの生成方法の詳細は、後述する。受信クロックは、受信ポート20を介してバッファ30が受信するAV情報80に同期されているクロックである。   Here, the transmission clock is a clock used by the buffer 30 to transmit the AV information 80. Details of the transmission clock generation method will be described later. The reception clock is a clock that is synchronized with the AV information 80 received by the buffer 30 via the reception port 20.

なお、クロックの周波数には、仕様として用いる値と、実際の値がある。例えばあるAVデコーダ1020が、27MHzのクロックを用いてAV情報80を送信する場合を考える。ここで、AVデコーダ1020は、27MHzのクロックを生成することができる水晶を用いるものとする。この27MHzとは、規格として水晶が生成することができるクロックの値である。しかしながら、実際に、水晶が生成するクロックは、常に一定の値(規格上の27MHz)ではなく、わずかな誤差がある。また、このクロックの誤差は、温度などにも依存する。従って、水晶が実際に生成するクロックは、この誤差を含んだクロックとなる。そこで、本明細書では、水晶の規格上のクロック(この例では27MHz)を「仕様クロック」とし、誤差を含んだ実際のクロックを「実クロック」とする。   The clock frequency has a value used as a specification and an actual value. For example, consider a case where an AV decoder 1020 transmits AV information 80 using a 27 MHz clock. Here, it is assumed that the AV decoder 1020 uses a crystal capable of generating a 27 MHz clock. The 27 MHz is a clock value that can be generated by a crystal as a standard. In practice, however, the clock generated by the crystal is not always a constant value (27 MHz on the standard), and there is a slight error. The clock error also depends on temperature and the like. Therefore, the clock actually generated by the crystal is a clock including this error. Therefore, in this specification, a clock according to a crystal standard (in this example, 27 MHz) is referred to as a “specification clock”, and an actual clock including an error is referred to as an “real clock”.

具体例として、図3を用いて説明する。受信仕様クロックは、例えば、AVデコーダ1020が送信して、AV伝送装置10が受信するAV情報80に同期しているクロックであって、AVデコーダ1020が生成する受信クロックの規格上の値である。また、受信実クロックは、AV伝送装置10が受信するAV情報80に同期しているクロックであって、誤差を含んだ実際の受信クロックの値である。同様に、送信仕様クロックは、AV伝送装置10が送信するAV情報80に同期しているクロックであって、クロック生成部40が生成する送信クロックの規格上の値である。また、送信実クロックは、AV伝送装置10が送信するAV情報80に同期しているクロックであって、誤差を含んだ実際の送信クロックの値である。   A specific example will be described with reference to FIG. The reception specification clock is, for example, a clock that is synchronized with the AV information 80 transmitted by the AV decoder 1020 and received by the AV transmission apparatus 10 and is a standard value of the reception clock generated by the AV decoder 1020. . The reception real clock is a clock synchronized with the AV information 80 received by the AV transmission apparatus 10 and is an actual reception clock value including an error. Similarly, the transmission specification clock is a clock that is synchronized with the AV information 80 transmitted by the AV transmission apparatus 10 and is a standard value of the transmission clock generated by the clock generation unit 40. The transmission real clock is a clock synchronized with the AV information 80 transmitted by the AV transmission device 10 and is an actual transmission clock value including an error.

スケジューラ50は、各バッファ30がスケジューラ50にAV情報80を送信する期間を決定し、各バッファ30がスケジューラ50にAV情報80を送信するように各バッファ30に対して命令するものである。また、スケジューラ50は、各バッファ30から送られてきたAV情報80を上記の決定した期間に基づいて送信ポート60へ転送するものである。   The scheduler 50 determines a period during which each buffer 30 transmits the AV information 80 to the scheduler 50, and instructs each buffer 30 to transmit the AV information 80 to the scheduler 50. Further, the scheduler 50 transfers the AV information 80 sent from each buffer 30 to the transmission port 60 based on the determined period.

受信ポート20および送信ポート60は、図3で説明したものと同様のインターフェースである。なお、受信ポート20は、n個全てが常に信号を受信しているとは限らない。   The reception port 20 and the transmission port 60 are interfaces similar to those described with reference to FIG. Note that all the n reception ports 20 do not always receive signals.

全体制御部70は、受信ポート20、バッファ30、クロック生成部40、スケジューラ、および送信ポート60の状態を確認するものである。また、全体制御部70は、各部の状態を判断して、各部の設定などを行うものである。   The overall control unit 70 checks the states of the reception port 20, the buffer 30, the clock generation unit 40, the scheduler, and the transmission port 60. Further, the overall control unit 70 determines the state of each unit, and sets each unit.

例えば、全体制御部70は、n個の受信ポート20における、AV情報80などの信号の有無を確認する。従って、全体制御部70は、それぞれの受信ポート20の状態を確認することにより、どの受信ポート20にAV情報80などの信号があるのかを知る。   For example, the overall control unit 70 checks the presence / absence of a signal such as AV information 80 in the n reception ports 20. Therefore, the overall control unit 70 knows which reception port 20 has a signal such as AV information 80 by confirming the state of each reception port 20.

また、全体制御部70は、他のAV伝送装置10の全体制御部70と制御情報とを交換して、他のAV伝送装置10の各部の設定などを行うものである。   Further, the overall control unit 70 exchanges control information with the overall control unit 70 of the other AV transmission device 10 to set each part of the other AV transmission device 10.

その例として、全体制御部70は、他のAV再生機1またはテレビ2の全体制御部70とDDC信号、CEC信号などの制御情報を交換する。そして、その制御情報に応じてバッファ30、またはスケジューラ50の設定などを行う。   As an example, the overall control unit 70 exchanges control information such as a DDC signal and a CEC signal with the overall control unit 70 of another AV player 1 or the television 2. Then, the buffer 30 or the scheduler 50 is set according to the control information.

具体的には、AV再生機1の全体制御部70は、テレビ2に制御情報を送信することによって、テレビ2が映像を表示するように命令する。これは、例えばAV再生機1がゲーム機の場合、ゲーム機を直接操作してゲーム機の電源が入ると、自動的にテレビ2がゲーム機の起動画面を表示することを指す。   Specifically, the overall control unit 70 of the AV player 1 instructs the television 2 to display a video by transmitting control information to the television 2. For example, when the AV player 1 is a game machine, the TV 2 automatically displays a start screen of the game machine when the game machine is turned on by directly operating the game machine.

一方、テレビ2の全体制御部70は、各AV再生機1の制御情報を取得することによって、各AV再生機1の状態を確認する。その状態の一例としては、AV再生機1の電源が入っているか否か、AV再生機1が再生中であるか否か、再生しているAV情報80のフレーム解像度、または、AV再生機1がサポートしているフレーム形式などがある。また別の例として、AV再生機1がBD再生機の場合、BD再生機の中にBDが入っているか否かなどが挙げられる。   On the other hand, the overall control unit 70 of the television 2 confirms the state of each AV player 1 by acquiring control information of each AV player 1. As an example of the state, whether the AV player 1 is turned on, whether the AV player 1 is playing, the frame resolution of the AV information 80 being played back, or the AV player 1 There are frame formats supported by. As another example, when the AV player 1 is a BD player, whether or not a BD is included in the BD player can be cited.

さらに、テレビ2は、制御情報を各AV再生機1に送信することによって、指定したAV再生機1の電源の入・切、または再生の命令を送る。   Furthermore, the television 2 sends control information to each AV player 1 to send an instruction to turn on / off the designated AV player 1 or play it back.

〔送信仕様クロックの決定方法〕
本発明の目的は、前述のように、AV伝送装置10が、複数のAV情報80を受信して、各AV情報80を、各AV情報80が同期している受信クロックを生かして、他の装置へ送信することである。この目的を達成するためには、AV伝送装置10は、送信クロックを単位時間当たりに受信する各AV情報80の合計の情報量を、同じ単位時間の間に送信することが十分に可能な値に設定する。これにより、AV伝送装置10は、この送信クロックを用いることによって、受信した各AV情報80を遅滞なく、受信したそれぞれの速度、つまり、それぞれの受信クロックの処理速度で、送信することができる。以下では、本実施形態に係るAV伝送装置10における上記送信クロックの値の決定方法について説明する。
[Determining the transmission specification clock]
As described above, the object of the present invention is that the AV transmission apparatus 10 receives a plurality of AV information 80, makes use of each AV information 80 using the reception clock with which each AV information 80 is synchronized, To send to the device. In order to achieve this object, the AV transmission apparatus 10 is a value that can sufficiently transmit the total information amount of each AV information 80 that receives the transmission clock per unit time during the same unit time. Set to. Thereby, the AV transmission apparatus 10 can transmit each received AV information 80 at a received speed, that is, a processing speed of each received clock without delay, by using this transmission clock. Hereinafter, a method for determining the value of the transmission clock in the AV transmission apparatus 10 according to the present embodiment will be described.

まず、AV伝送装置10は、当該AV伝送装置10が受信する各AV情報80の情報量を求める。ここで、AV情報80の情報量を求めるために用いるAV情報80のフレーム形式および伝送速度について述べる。   First, the AV transmission device 10 obtains the information amount of each AV information 80 received by the AV transmission device 10. Here, the frame format and transmission rate of the AV information 80 used for obtaining the information amount of the AV information 80 will be described.

AV再生機1のAVデコーダ1020(AV再生機1がゲーム機、またはパソコンの場合は、グラフィック機)は、所定の映像解像度、およびフレーム(1つの画面)レートなどのフレーム形式をサポートしている。また、同様にテレビ2も、所定のフレーム形式をサポートしている。よって、テレビ2は、各AVデコーダ1020が出力するAV情報80のフレーム形式を指定する必要がある(AVデコーダ1020がAV情報80を出力しないという選択肢も含まれる)。具体的には、テレビ2は、制御情報をAV再生機1に送信する、またはユーザがAV再生機1を操作することによって、各AVデコーダ1020が出力するAV情報80のフレーム形式を指定する。また、AV再生機1は、制御情報をテレビ2に送信することによって、テレビ2に指定したフレーム形式のAV情報80に基づく映像を表示させることを指示する。   The AV decoder 1020 of the AV player 1 (a graphic machine when the AV player 1 is a game machine or a personal computer) supports a frame format such as a predetermined video resolution and a frame (one screen) rate. . Similarly, the television 2 supports a predetermined frame format. Therefore, the television 2 needs to specify the frame format of the AV information 80 output from each AV decoder 1020 (including an option that the AV decoder 1020 does not output the AV information 80). Specifically, the television 2 designates the frame format of the AV information 80 output by each AV decoder 1020 when the control information is transmitted to the AV player 1 or the user operates the AV player 1. Further, the AV player 1 instructs the television 2 to display a video based on the AV information 80 in the frame format designated by transmitting the control information to the television 2.

このように、AV再生機1またはテレビ2は、各AVデコーダ1020が出力するAV情報80のフレーム形式を決定する。そして、AV再生機1またはテレビ2のAV伝送装置10は、フレーム形式から、AV情報80の単位時間当たりの情報量を求める。具体的な値として、1つのAVデコーダ1020が出力するAV情報80の1秒あたりの情報量は、
フレーム解像度[画素/フレーム] × フレームレート[フレーム/秒](数式1)
となる。
Thus, the AV player 1 or the television 2 determines the frame format of the AV information 80 output from each AV decoder 1020. Then, the AV transmitter 1 of the AV player 1 or the television 2 obtains the information amount per unit time of the AV information 80 from the frame format. As a specific value, the amount of information per second of AV information 80 output by one AV decoder 1020 is:
Frame resolution [pixel / frame] x frame rate [frame / second] (Formula 1)
It becomes.

なお、AV情報80の1秒あたりの情報量の値は、規格上では、フレーム形式の仕様クロックの値と同じである。従って、AV伝送装置10は、各AV情報80の情報量を求める場合、実際には、各AV情報80に同期している受信仕様クロックから情報量を決定する。つまり、AV伝送装置10の全体制御部70が、各AV情報80の送信元の全体制御部70から受信仕様クロックに関する情報を取得し、各AV情報80の情報量を決定する。または、AV伝送装置10の全体制御部70が、全ての送信元の情報を持っているテレビ2から各AV情報80の受信仕様クロックに関する情報を取得し、各AV情報80の情報量を決定する。または、バッファ30が格納するAV情報80に同期している受信実クロックを解析し、クロック生成部40が各AV情報80の情報量を決定する。なお、この3つの各AV情報80の情報量の決定方法のうち、或る1つの方法を用いてもよいし、その3つの方法を組み合わせてもよいし、または、その他の方法を用いてもよい。   Note that the value of the information amount per second of the AV information 80 is the same as the value of the frame format specification clock in the standard. Therefore, when the AV transmission device 10 obtains the information amount of each AV information 80, the AV transmission device 10 actually determines the information amount from the reception specification clock synchronized with each AV information 80. That is, the overall control unit 70 of the AV transmission apparatus 10 acquires information on the reception specification clock from the overall control unit 70 that is the transmission source of each AV information 80, and determines the information amount of each AV information 80. Alternatively, the overall control unit 70 of the AV transmission apparatus 10 acquires information related to the reception specification clock of each AV information 80 from the television 2 having all transmission source information, and determines the information amount of each AV information 80. . Alternatively, the received real clock synchronized with the AV information 80 stored in the buffer 30 is analyzed, and the clock generation unit 40 determines the information amount of each AV information 80. Of the three methods for determining the information amount of each AV information 80, one method may be used, the three methods may be combined, or other methods may be used. Good.

上述のように、1つのAV再生機1が送信ポート60を介して出力可能な1秒あたりのAV情報80の情報量は、それぞれの受信ポート20が受信した1秒当たりのAV情報80の情報量の合計に等しい、またはより大きい値にする必要がある。すなわち、AV再生機1のクロック生成部40が生成する送信仕様クロックの周波数を、少なくとも、単位時間当たりにAV再生機1が受信するAV情報80の合計情報量に相当する値にする必要がある。   As described above, the information amount of the AV information 80 per second that can be output via the transmission port 60 by one AV player 1 is the information of the AV information 80 per second received by each receiving port 20. Must be equal to or greater than the total amount. That is, the frequency of the transmission specification clock generated by the clock generator 40 of the AV player 1 needs to be at least a value corresponding to the total amount of AV information 80 received by the AV player 1 per unit time. .

なお、クロック生成部40は、いずれかの受信ポート20において受信する受信仕様クロックをPLL(Phase Locked Loop)などで逓倍して送信仕様クロックを生成する。あるいは、水晶およびPLLを有するクロック生成部40は、クロック生成部40の内部において、水晶およびPLLを用いて送信仕様クロックを生成してもよい。   The clock generation unit 40 generates a transmission specification clock by multiplying a reception specification clock received at any of the reception ports 20 by a PLL (Phase Locked Loop) or the like. Alternatively, the clock generation unit 40 having a crystal and a PLL may generate a transmission specification clock using the crystal and the PLL inside the clock generation unit 40.

例えば、受信仕様クロックおよびPLLを用いて送信仕様クロックを生成する場合、受信仕様クロックに依存することになるが、水晶およびPLLでは生成できない送信仕様クロックも生成することができる。   For example, when a transmission specification clock is generated using a reception specification clock and a PLL, it depends on the reception specification clock, but a transmission specification clock that cannot be generated by a crystal and a PLL can also be generated.

ここで、送信仕様クロックを生成する条件は、
送信仕様クロック≧各受信ポート20が受信する各AV情報80の情報量の合計(数式2)
となる。
Here, the conditions for generating the transmission specification clock are:
Transmission specification clock ≧ total amount of AV information 80 received by each receiving port 20 (Formula 2)
It becomes.

数式2では、送信仕様クロックを各AV情報80の情報量の合計以上としたが、実際には、AV伝送装置10のコストおよび消費電力を抑えるために、送信仕様クロックはできるだけ小さい値であることが好ましい。しかし、クロック生成部40が生成する仕様クロックは、任意に仕様クロックが生成されるのではなく、所定の仕様クロックの中から選ばれる。つまり、クロック生成部40は、全体制御部70のクロック選択命令を受けて、実際には、数式2を満たし、且つ、送信仕様クロックをサポートしている仕様クロックの中から一番小さい値を選択することになる。すなわち、
送信仕様クロック=数式2を満たし、且つ、クロック生成部40がサポートしている仕様クロックの中で一番小さい値(数式3)
となる。
In Expression 2, the transmission specification clock is set to be equal to or greater than the total amount of information of each AV information 80. In practice, however, the transmission specification clock is as small as possible in order to reduce the cost and power consumption of the AV transmission apparatus 10. Is preferred. However, the specification clock generated by the clock generation unit 40 is not arbitrarily generated, but is selected from predetermined specification clocks. That is, the clock generation unit 40 receives the clock selection command from the overall control unit 70, and actually selects the smallest value from the specification clocks that satisfy Equation 2 and that support the transmission specification clock. Will do. That is,
Transmission specification clock = the value that satisfies Equation 2 and that is the smallest value of the specification clocks supported by the clock generator 40 (Equation 3)
It becomes.

なお、AV伝送装置10が数式2満たす仕様クロックをサポートしていない場合、例えば、AV伝送装置10は、他のAV伝送装置10に対して、他のAV伝送装置10が出力するAV情報80の情報量を小さくするように命令を送信する。これにより、AV伝送装置10が受信するAV情報80の合計情報量を減らすことができる。   When the AV transmission device 10 does not support the specification clock that satisfies Equation 2, for example, the AV transmission device 10 transmits the AV information 80 output from the other AV transmission device 10 to the other AV transmission device 10. A command is transmitted so as to reduce the amount of information. Thereby, the total amount of AV information 80 received by the AV transmission apparatus 10 can be reduced.

〔複数のAV情報の送信時間配分〕
本発明の目的を達成するために、クロック生成部40は、前述のように送信仕様クロックを決定したが、これだけでは、目的を達成することはできない。なぜなら、本発明では、各受信ポート20が受信する各AV情報80のフレーム形式が、お互いに異なる場合も想定している。よって、ある期間における各受信ポート20が受信するAV情報80の情報量は、各受信ポート20において互いに異なる場合がある。各受信ポート20が受信するAV情報80の情報量が異なる場合において、情報量が異なるAV情報80を1つの送信ポート60で伝送する方法は、様々である。
[Transmission time distribution of multiple AV information]
In order to achieve the object of the present invention, the clock generation unit 40 determines the transmission specification clock as described above, but this alone cannot achieve the object. This is because the present invention assumes that the frame formats of the AV information 80 received by the receiving ports 20 are different from each other. Therefore, the amount of AV information 80 received by each receiving port 20 in a certain period may be different from each other at each receiving port 20. When the information amount of the AV information 80 received by each receiving port 20 is different, there are various methods for transmitting the AV information 80 having a different amount of information through one transmission port 60.

この方法としては、例えば、(1)受信したAV情報80のそれぞれのフレーム単位で伝送することが考えられる。また、(2)(1)に対してより小さいかより大きい情報量を有する伝送単位を用いる等の様々な組合せが考えられる。(1)に関しては、各AV情報80のフレームレートが異なる場合、各AV情報80の1フレームの期間(フレームレートの逆数)が異なるため、各AV情報80のフレームをどのような順番で送信するのかを定期的に求める必要があるという問題がある。(2)に関しては、スケジューラ50の処理が複雑になるという問題がある。また、(1)および(2)では、後述する同期問題を解消できない。従って、本発明では、(1)および(2)の問題を回避し、且つ、同期問題を解消する以下の方法を採用する。   As this method, for example, (1) transmission of each received AV information 80 in units of frames can be considered. Various combinations such as (2) using transmission units having a smaller or larger amount of information than (1) are conceivable. Regarding (1), when the frame rate of each AV information 80 is different, the period of one frame (reciprocal of the frame rate) of each AV information 80 is different, so the frames of each AV information 80 are transmitted in any order. There is a problem that it is necessary to periodically ask whether. Regarding (2), there is a problem that the processing of the scheduler 50 becomes complicated. In (1) and (2), the synchronization problem described later cannot be solved. Therefore, the present invention employs the following method that avoids the problems (1) and (2) and solves the synchronization problem.

本発明で採用する方法は、スケジューラ50が、AV情報80の1フレームあたりの情報量を送信仕様クロックから見た見かけの情報量として設定し、その見かけの情報量を送信仕様クロックを用いて送信できる期間を決定するものである。これにより、スケジューラ50は、その所定の期間に各AV情報80を送信するようにバッファ30に命令を送信することによって、(1)、(2)の問題を回避して情報量が異なるAV情報80を1つの送信ポート60で送信できる。その期間の決定方法を図4を用いて説明する。   In the method employed in the present invention, the scheduler 50 sets the information amount per frame of the AV information 80 as an apparent amount of information seen from the transmission specification clock, and transmits the apparent amount of information using the transmission specification clock. It determines the possible period. As a result, the scheduler 50 transmits the instruction to the buffer 30 so as to transmit each AV information 80 during the predetermined period, thereby avoiding the problems (1) and (2) and different AV information. 80 can be transmitted by one transmission port 60. A method for determining the period will be described with reference to FIG.

図4は、送信仕様クロックを用いて、各AV情報80をそれぞれ送信する期間の一例を示す図である。スケジュール期間(固定期間)T1、T2…Tnは、バッファ301、302…30nがそれぞれ受信ポート201、202…20nが受信したAV情報801、802…80nを、送信仕様クロックを用いてスケジューラ50へ送信する期間を示すものである。また、スケジュール期間T1、T2…Tnの合計時間をスケジュール周期(固定周期)TSとする。AV伝送装置10が各AV情報80を送信する間、このスケジュール周期TSは繰り返される。従って、バッファ301は、AV情報801をTS秒毎に、スケジューラ50へ送信する。   FIG. 4 is a diagram illustrating an example of a period in which each AV information 80 is transmitted using a transmission specification clock. In the schedule periods (fixed periods) T1, T2,... Tn, the buffers 301, 302,... 30n transmit the AV information 801, 802,. It shows the period to do. The total time of the schedule periods T1, T2,... Tn is defined as a schedule period (fixed period) TS. While the AV transmission apparatus 10 transmits each AV information 80, this schedule cycle TS is repeated. Accordingly, the buffer 301 transmits the AV information 801 to the scheduler 50 every TS seconds.

なお、1つの受信ポート20iが複数のAV情報80ia、80ibを受信する場合、例えば、スケジュール期間Tia中に、受信ポート20iが受信したAV情報80iaを送信し、スケジュール期間Tib中に受信ポート20iが受信した別のAV情報80ibを送信することにしても良い。   When one receiving port 20i receives a plurality of AV information 80ia and 80ib, for example, the AV information 80ia received by the receiving port 20i is transmitted during the schedule period Tia, and the receiving port 20i is received during the schedule period Tib. Another received AV information 80ib may be transmitted.

スケジューラ50は、それぞれの受信ポート20のスケジュール期間(T1、T2…Tn)を以下のように算出する。ここで、受信ポート20iが受信するAV情報80の1フレームの画素数(フレーム解像度)をPiとする。また、受信ポート20iが受信するAV情報80のフレームレートをFi、送信ポート60が出力するAV情報80のフレームレートをFS、受信ポート20iが受信したAV情報80iをスケジューラ50が送信する期間(スケジュール期間)をTiとする。   The scheduler 50 calculates the schedule period (T1, T2,... Tn) of each receiving port 20 as follows. Here, Pi represents the number of pixels (frame resolution) of one frame of the AV information 80 received by the reception port 20i. Also, the frame rate of AV information 80 received by the reception port 20i is Fi, the frame rate of AV information 80 output by the transmission port 60 is FS, and the AV information 80i received by the reception port 20i is transmitted by the scheduler 50 (schedule) Period) is Ti.

スケジュール期間Tiは、
Di=画素数Pi*Fi/FS (数式4)
Ti=Di/送信仕様クロック (数式5)
となる。なお、数式4で求めたDiが上述の「見かけの情報量(送信可能データ量)」である。なお、スケジューラ50は、見かけの情報量Di(画素数Pi*Fi/FS)の計算結果において、行単位で切り上げして算出してもよい。また、見かけの情報量Diは、クロックが全て規格の数値として扱われる場合、バッファ30が送信可能なAV情報80の情報量である。
The schedule period Ti is
Di = number of pixels Pi * Fi / FS (Formula 4)
Ti = Di / Transmission specification clock (Formula 5)
It becomes. Note that Di obtained by Expression 4 is the above-mentioned “apparent information amount (transmittable data amount)”. Note that the scheduler 50 may calculate the apparent information amount Di (number of pixels Pi * Fi / FS) by rounding up in units of rows. The apparent information amount Di is the information amount of the AV information 80 that can be transmitted by the buffer 30 when all the clocks are handled as standard numerical values.

数式5より算出したスケジュール期間T1〜Tnの合計時間をスケジュール周期TSとしたが、実際には以下のようにスケジューラ50がスケジュール周期TSを算出する。   Although the total time of the schedule periods T1 to Tn calculated from Equation 5 is defined as the schedule period TS, the scheduler 50 actually calculates the schedule period TS as follows.

例えば、スケジュール期間T1〜Tnの合計時間のスケジュール周期TSが1秒のように長すぎる場合、受信ポート201のAV情報801を伝送して、次のAV情報801を伝送するまで1−T1秒待つ必要があるため、遅延が長すぎる。一方、合計時間のスケジュール周期TSが極端に短い場合、AV情報80の1フレームを必要以上に複数に分割することになる。そのため、スケジューラ50のオーバーヘッドが高くなり、効率的ではない。よって、スケジューラ50は、スケジュール周期TSを、1/(受信するAV情報の中で最も大きいフレームレート)(すなわち最も大きいフレームレートの逆数)として算出する。   For example, if the schedule period TS of the total time of the schedule periods T1 to Tn is too long, such as 1 second, the AV information 801 of the reception port 201 is transmitted, and 1-T1 seconds are waited until the next AV information 801 is transmitted. The delay is too long because it is necessary. On the other hand, when the schedule period TS of the total time is extremely short, one frame of the AV information 80 is divided more than necessary. Therefore, the overhead of the scheduler 50 becomes high and is not efficient. Therefore, the scheduler 50 calculates the schedule period TS as 1 / (the largest frame rate in the received AV information) (that is, the reciprocal of the largest frame rate).

受信するAV情報80の中で、最も大きいフレームレートの逆数(周期)というのは、受信する各AV情報80の1フレームの期間のうち、最も短い期間である。   Among the AV information 80 to be received, the reciprocal (cycle) of the largest frame rate is the shortest period among the periods of one frame of each AV information 80 to be received.

ここで、スケジューラ50が設定する期間(スケジュール周期TS)が大きくなる場合、スケジューラ50の同じ情報量に対する処理時間が増えることになり、その分リアルタイムに伝送することができなくなる。例えばAV再生機1を再生させた場合、オーバーヘッドが大きいほど、再生した映像がテレビ2に表示されるまでに時間を必要とする。ゲーム機などではリアルタイム性が重要視されるので、オーバーヘッドを小さくすることは特に必要になる。なお、このスケジュール周期TSの算出方法は、これに限定されるものではない。   Here, when the period (schedule period TS) set by the scheduler 50 becomes large, the processing time for the same amount of information of the scheduler 50 increases, and real time transmission becomes impossible. For example, when the AV player 1 is played, the longer the overhead is, the more time is required until the played video is displayed on the television 2. Since real-time performance is regarded as important in game machines, it is particularly necessary to reduce overhead. Note that the method for calculating the schedule period TS is not limited to this.

なお、実際には、本実施形態に係るスケジューラ50は、スケジュール周期TSを送信仕様クロックに合わせる必要があるため、以下のように算出する。   Actually, the scheduler 50 according to the present embodiment needs to match the schedule cycle TS with the transmission specification clock, and thus calculates as follows.

まず、スケジューラ50は、TSNumClkを、
TSNumClk=(1/(受信するAV情報80の中で最も大きいフレームレート/送信仕様クロック))の切り上げ(数式6)
に設定する。なお、切り上げは、TSNumClkが整数になるように切り上げる。また、TSNumClkは、TS期間中の送信実クロックの回数のカウントを示すものである。次に、スケジューラ50は、スケジュール周期TSを、
TS=TSNumClk/送信仕様クロック(数式7)
に設定する。
First, the scheduler 50 sets TSNumClk,
TSNumClk = (1 / (largest frame rate in received AV information 80 / transmission specification clock)) rounded up (Formula 6)
Set to. Note that rounding up is performed so that TSNumClk is an integer. TSNumClk indicates the count of the number of transmission real clocks during the TS period. Next, the scheduler 50 sets the schedule cycle TS to
TS = TSNumClk / Transmission specification clock (Formula 7)
Set to.

なお、数式6において、TSNumClkを切り上げた結果、スケジュール周期TSが1/(受信するAV情報80の中で最も大きいフレームレート)より大きくなる場合、もしくは、送信仕様クロックが、各受信ポート20が単位時間当たりに受信するAV情報80の情報量の合計より大きいクロックで選択される場合がある。この場合、スケジュール期間T1、T2…Tnの合計時間はスケジュール周期TS以下になり、スケジュール周期TS中にAV情報80を伝送しない期間ができる。このAV情報80を伝送しない期間を伝送空白期間Teと称する。つまり、伝送空白期間Teは、
伝送空白期間Te=TS−T1−T2…−Tn(数式8)
となる。
In Formula 6, when TSNumClk is rounded up, the schedule period TS is greater than 1 / (the largest frame rate in the received AV information 80), or the transmission specification clock is a unit for each reception port 20. In some cases, the clock is selected with a clock larger than the total amount of AV information 80 received per hour. In this case, the total time of the schedule periods T1, T2,... Tn is equal to or less than the schedule period TS, and there is a period during which the AV information 80 is not transmitted during the schedule period TS. A period in which the AV information 80 is not transmitted is referred to as a transmission blank period Te. That is, the transmission blank period Te is
Transmission blank period Te = TS−T1−T2... −Tn (Equation 8)
It becomes.

この伝送空白期間Teをスケジュール周期TS中に分配する方法は様々である。例えば、伝送空白期間Teを各スケジュール期間T1、T2…Tn期間後に均等に割り当てる方法がある。しかし、本実施形態ではスケジュール期間Tn後に伝送空白期間Teをそのまま割り当てる方法を採用する。   There are various methods for distributing the transmission blank period Te in the schedule period TS. For example, there is a method in which the transmission blank period Te is equally allocated after each schedule period T1, T2,. However, in this embodiment, a method of assigning the transmission blank period Te as it is after the schedule period Tn is adopted.

上述のように、送信クロック、スケジュール期間およびスケジュール周期を設定することによって、AV伝送装置10は、複数のAV情報80と、当該複数のAV情報80に同期している各受信クロックとを受信し、1つの送信ポート60を介して、その各受信クロックを損なわずに、複数のAV情報80を送信することができる。具体的には、AV伝送装置10は、他の複数の装置(例えば、AV(Audio Video)伝送装置、AVデコーダおよび外部機器)から、それぞれ異なる受信クロックで出力された複数のAV情報80を受信し、1つの送信ポート60を介して、その各受信クロックを損なわずに、複数のAV情報80を送信することができる。他の複数の装置として、例えば、DVD/BD再生機、STB、ゲーム機などが挙げられる。   As described above, by setting the transmission clock, the schedule period, and the schedule cycle, the AV transmission device 10 receives the plurality of AV information 80 and each reception clock synchronized with the plurality of AV information 80. A plurality of AV information 80 can be transmitted through one transmission port 60 without damaging each reception clock. Specifically, the AV transmission apparatus 10 receives a plurality of AV information 80 output at different reception clocks from a plurality of other apparatuses (for example, an AV (Audio Video) transmission apparatus, an AV decoder, and an external device). A plurality of AV information 80 can be transmitted through one transmission port 60 without damaging each reception clock. Examples of the plurality of other devices include a DVD / BD player, an STB, and a game machine.

〔クロック同期問題〕
一般に、仕様クロックによって全ての装置が動作する場合、同期の問題は発生しない。しかし、実際には前述のようにクロックには誤差がある。そのため、受信実クロックと送信実クロックとは完全に同期していない場合がある。この場合、以下のクロック同期問題が生じる。
[Clock synchronization problem]
In general, no synchronization problem occurs when all devices operate with a specified clock. However, there is actually an error in the clock as described above. Therefore, the reception real clock and the transmission real clock may not be completely synchronized. In this case, the following clock synchronization problem occurs.

例えば、2つのAV伝送装置10が出力する際に用いる仕様クロックが同じ27MHzであるとする。しかし、厳密には、各AV伝送装置10のクロック生成部40固有の誤差が生じるため、両者が生成する実クロックは同じではない。両者のクロック生成部40がこの27MHzを生成するために、それぞれ±25ppmの誤差を含む水晶を使用した場合、生成した両者の実クロックは、最大で50ppmのずれが生じる。具体的な例として、以下の2つの実クロックAおよびBの場合を考えると、
実クロックA:27MHz+ 0ppm=27MHz
実クロックB:27MHz+25ppm=27.00135MHz
となる。
For example, it is assumed that the specification clock used when the two AV transmission apparatuses 10 output is the same 27 MHz. However, strictly speaking, an error peculiar to the clock generation unit 40 of each AV transmission apparatus 10 occurs, so that the actual clocks generated by both are not the same. When both clock generators 40 use crystals having an error of ± 25 ppm in order to generate this 27 MHz, the generated real clocks are shifted by a maximum of 50 ppm. As a specific example, consider the following two real clocks A and B:
Real clock A: 27 MHz + 0 ppm = 27 MHz
Real clock B: 27 MHz + 25 ppm = 27.00013 MHz
It becomes.

上述のように、各クロック生成部40によって2つのクロックが生成された結果、実クロックAは27MHz、実クロックBは27.00135MHzである。つまり、この場合、実クロックAは、1秒間に27M回動作することに対し、実クロックBは、1秒間に27.00135M回動作することになる。従って、実クロックBは、実クロックAより、1秒間に1350回多く動作することになる。すなわち、AV伝送装置10は、実クロックBを用いた場合、実クロックAより1秒間に1350画素分多く伝送する。   As described above, as a result of the generation of the two clocks by each clock generator 40, the actual clock A is 27 MHz and the actual clock B is 27.00013 MHz. That is, in this case, the real clock A operates 27M times per second, whereas the real clock B operates 27.30013M times per second. Therefore, the real clock B operates 1350 times more per second than the real clock A. That is, when the real clock B is used, the AV transmission apparatus 10 transmits 1350 pixels more per second than the real clock A.

図5は、図3のAV再生機1a〜1dの各AVデコーダ1020が出力するAV情報80a〜80dと、テレビ2がAV再生機1dから入力されるAV情報80a〜80dとを示す図である。それぞれのAV再生機1a〜1dそれぞれのAVデコーダ1020の出力クロックは27MHzであることに対して、テレビ2への入力は148.500MHzのクロックで行なわれるものとする。また、AV再生機1a〜1dのAVデコーダ1020が出力するAV情報80a〜80dのフレームレートは60fpsであるとする。この場合、AV再生機1a〜1dそれぞれが出力するAV情報80a〜80dの1フレームの期間が1/60秒であることに対し、テレビ2に入力されるAV情報80の1フレームの期間は、1/60/(148.500/27)=1/60/5.5秒となる。   FIG. 5 is a diagram illustrating AV information 80a to 80d output from each AV decoder 1020 of the AV players 1a to 1d in FIG. 3, and AV information 80a to 80d input from the AV player 1d to the television 2. . Assume that the output clock of the AV decoder 1020 of each of the AV players 1a to 1d is 27 MHz, whereas the input to the television 2 is performed with a clock of 148.500 MHz. Further, it is assumed that the frame rate of the AV information 80a to 80d output from the AV decoder 1020 of the AV players 1a to 1d is 60 fps. In this case, the period of one frame of the AV information 80a to 80d output from each of the AV players 1a to 1d is 1/60 second, whereas the period of one frame of the AV information 80 input to the television 2 is 1/60 / (148.500 / 27) = 1/60 / 5.5 seconds.

図5の場合でも、クロックを生成する際に誤差が生じるため、クロック同期問題が発生する。例えば、AV再生機1cのAVデコーダ1020の出力実クロックが27MHzであり、AV再生機1dのAV伝送装置10の送信実クロック(テレビ2への入力実クロック)が148.500+25ppmであった場合、上記と同様にずれの問題が生じる。   Even in the case of FIG. 5, a clock synchronization problem occurs because an error occurs when generating a clock. For example, when the output real clock of the AV decoder 1020 of the AV player 1c is 27 MHz, and the transmission real clock of the AV transmission device 10 of the AV player 1d (input real clock to the television 2) is 148.500 + 25 ppm, Similar to the above, the problem of misalignment occurs.

〔クロック同期問題の解決方法〕
上述のように、送信仕様クロックおよびスケジュール期間を設定することによって、複数のAV情報80を受信仕様クロックを生かして、送信することができる。ただし、一般的に、複数のクロック生成装置で生成したクロックを使用する場合、クロック同期問題が発生する。そのため、送信仕様クロックを、数式2で算出する理論上必要な値より大きい値に設定する。しかし、上述のように必要以上に送信仕様クロックを大きい値に設定することは、好ましくない。従って、本発明では、クロック同期問題を以下に示す方法によって解決する。
[Solutions to clock synchronization problems]
As described above, by setting the transmission specification clock and the schedule period, a plurality of AV information 80 can be transmitted using the reception specification clock. However, generally, when using clocks generated by a plurality of clock generators, a clock synchronization problem occurs. Therefore, the transmission specification clock is set to a value larger than the theoretically required value calculated by Expression 2. However, it is not preferable to set the transmission specification clock to a value larger than necessary as described above. Therefore, the present invention solves the clock synchronization problem by the following method.

本発明では、複数のクロック生成装置から生成したクロックを使用するため、常にクロック同期問題が発生する。しかし、本発明の解決方法を用いることによって、AV情報80は、たとえクロック同期問題が生じたとしても、各AVデコーダ1020がAV情報80を出力する速度で、複数のAV伝送装置10を通った後、同じ速度でテレビ2に伝送される。そして、テレビ2が、そのAV情報80に基づいて映像を画面に表示することを可能にする。具体的には、本発明の解決方法は、バッファ30およびスケジューラ50が、送信するAV情報80を調整することによって、クロック同期問題に対処することである。そのバッファ30およびスケジューラ50の調整方法について、図1、6、7および8を用いて説明する。   In the present invention, since clocks generated from a plurality of clock generators are used, a clock synchronization problem always occurs. However, by using the solution of the present invention, the AV information 80 passes through a plurality of AV transmission apparatuses 10 at a speed at which each AV decoder 1020 outputs the AV information 80 even if a clock synchronization problem occurs. Then, it is transmitted to the television 2 at the same speed. Then, the television 2 can display a video on the screen based on the AV information 80. Specifically, the solution of the present invention is to deal with the clock synchronization problem by adjusting the AV information 80 that the buffer 30 and scheduler 50 transmit. A method for adjusting the buffer 30 and the scheduler 50 will be described with reference to FIGS.

〔バッファ30およびスケジューラ50のAV情報80の調整方法〕
前提として、AV情報80の各フレームは、前述の図23の説明のように、通常、制御期間を有するものとする。そして、その制御期間のうち、Preambleが含まれない期間は空白期間である。つまり、制御期間の中において、Preamble以外の情報は、何の情報もない空白情報である。
[Adjustment method of AV information 80 of buffer 30 and scheduler 50]
As a premise, it is assumed that each frame of the AV information 80 usually has a control period as described above with reference to FIG. In the control period, a period in which no preamble is included is a blank period. That is, in the control period, information other than Preamble is blank information with no information.

まず、図1において、受信ポート20iが受信するAV情報80iは、バッファ30iに書き込まれる。ここで、AV情報80iと、送信ポート60から送信されるAV情報80SとのFiおよびFSが同一であり、且つ、フレーム解像度も同一の場合、見かけの情報量Di=画素数Piとなる(数式4を参照)。   First, in FIG. 1, AV information 80i received by the reception port 20i is written into the buffer 30i. Here, when the Fi and FS of the AV information 80i and the AV information 80S transmitted from the transmission port 60 are the same and the frame resolution is also the same, the apparent information amount Di = the number of pixels Pi. 4).

しかし、受信実クロックと送信実クロックとが実際には異なる場合がある。そのため、スケジュール周期TS中に受信実クロックによってバッファ30に蓄積される蓄積データ(格納データ)Siと見かけの情報量Diとの値が異なる場合がある。従って、FiおよびFSが同一の場合でも、スケジュール期間Ti中に受信実クロックによって蓄積される蓄積データSiの情報量を、そのまま全て送信ポート60からスケジュール期間Ti中に送信実クロックによって送信することができない場合がある。なお、蓄積データSiから送信するAV情報80の情報量の計算については後述する。   However, the actual reception clock and the actual transmission clock may be different. Therefore, the value of the accumulated data (stored data) Si accumulated in the buffer 30 by the received real clock during the schedule period TS and the apparent information amount Di may be different. Therefore, even if Fi and FS are the same, the information amount of the accumulated data Si accumulated by the reception real clock during the schedule period Ti can be transmitted as it is from the transmission port 60 by the transmission real clock during the schedule period Ti. There are cases where it is not possible. The calculation of the information amount of the AV information 80 transmitted from the accumulated data Si will be described later.

そこで、スケジューラ50は、バッファ30iのAV情報80iを受信ポート20iのスケジュール期間(Ti)中に送信ポート60へ送信するようにバッファ30iに命令を送信する際、バッファ30iに蓄積されている蓄積データSiを参照する。そして、その蓄積された蓄積データSiを判断して、スケジューラ50は、蓄積データSiから抽出して作成した調整フレーム(後述する)を送信ポート60へ送信するようにバッファ30iに命令を送信する。前提として述べたように、バッファ30iに蓄積されている蓄積データSiは、空白情報を含む。そのため、バッファ30iは、空白期間に映像データ、関連データおよびヘッダ(詳細は後述する)などの必要なデータを入れることによって、スケジュール期間Ti中に伝送する調整フレームを作成する。その調整フレームの作成方法の詳細は、図6〜図8の事例を用いて説明する。   Therefore, when the scheduler 50 transmits an instruction to the buffer 30i so as to transmit the AV information 80i of the buffer 30i to the transmission port 60 during the schedule period (Ti) of the reception port 20i, the stored data stored in the buffer 30i. Reference is made to Si. Then, judging the accumulated data Si, the scheduler 50 transmits an instruction to the buffer 30 i so as to transmit an adjustment frame (described later) extracted from the accumulated data Si to the transmission port 60. As described above, the accumulated data Si accumulated in the buffer 30i includes blank information. Therefore, the buffer 30i creates necessary frames such as video data, related data, and header (details will be described later) in the blank period, thereby creating an adjustment frame to be transmitted during the schedule period Ti. Details of the method of creating the adjustment frame will be described with reference to examples of FIGS.

図6、および図7は、バッファ30iが、スケジューラ50の命令に従って、蓄積している蓄積データSiを調整する方法の事例である。図6、および図7の(A)は、バッファ30iが格納している蓄積データSiの状態を3つの時点で示している。バッファ状態ph0は、バッファ30iの初期状態の蓄積データSi0を示すものである。バッファ状態ph0からTS−Ti秒後にバッファ状態ph1へ、バッファ状態ph1からTS−Ti秒後にバッファ状態ph2へそれぞれ遷移する。図6、および図7の(B)は、バッファ状態ph0、ph1およびph2から、それぞれの場合において、バッファ30iがスケジューラ50を介して送信ポート60に送信する調整フレームを示す。   6 and 7 are examples of a method in which the buffer 30 i adjusts the accumulated data Si accumulated according to the instruction of the scheduler 50. FIG. 6 and FIG. 7A show the state of the accumulated data Si stored in the buffer 30i at three points in time. The buffer state ph0 indicates the accumulated data Si0 in the initial state of the buffer 30i. Transition from the buffer state ph0 to the buffer state ph1 after TS-Ti seconds and from the buffer state ph1 to the buffer state ph2 after TS-Ti seconds. FIG. 6 and FIG. 7B show adjustment frames that the buffer 30i transmits to the transmission port 60 via the scheduler 50 in each case from the buffer states ph0, ph1, and ph2.

ここで、本発明では、バッファ30がAV情報80を送信するために、バッファ30iが蓄積データSiを調整したAV情報80iの1フレーム単位を調整フレーム(例えば、図6の101、111)と称する。また、AVデコーダ1020が出力したAV情報80など、バッファ30によって調整されていないAV情報80の1フレーム単位(例えば、図6の100、110、120)をAVフレームと称する。なお、調整フレームには、後述のヘッダが備えられ、また後述の調整データが追加されることがあるが、AVフレームは元のフレームと同じため、AVフレームには、ヘッダおよび調整データは含まれない。   Here, in the present invention, since the buffer 30 transmits the AV information 80, one frame unit of the AV information 80i in which the buffer 30i has adjusted the accumulated data Si is referred to as an adjustment frame (for example, 101 and 111 in FIG. 6). . Further, one frame unit (for example, 100, 110, 120 in FIG. 6) of the AV information 80 that is not adjusted by the buffer 30, such as the AV information 80 output from the AV decoder 1020, is referred to as an AV frame. The adjustment frame is provided with a header described later, and adjustment data described later may be added. However, since the AV frame is the same as the original frame, the AV frame includes the header and the adjustment data. Absent.

例えば、2つのAV情報80iおよび80jがあり、2つのAV情報80i、80jの受信仕様クロック、フレーム解像度およびフレームレートが同一であるとする。そして、クロック生成部40において、送信仕様クロックが、数式1および2より、受信仕様クロックの2倍として生成されたとする。このとき、クロックに誤差が生じるため、受信ポート20iが受信するAV情報80iに同期している受信実クロックのppm誤差が、そのAV情報80iをスケジューラ50が送信する際に用いる送信実クロックのppm誤差より小さい場合がある。この場合において、バッファ30iの蓄積データSiの状態は、図6に示すような状態となる。   For example, it is assumed that there are two AV information 80i and 80j, and the reception specification clock, frame resolution and frame rate of the two AV information 80i and 80j are the same. Then, it is assumed that the transmission specification clock is generated by the clock generation unit 40 as twice the reception specification clock from Equations 1 and 2. At this time, since an error occurs in the clock, the ppm error of the reception real clock synchronized with the AV information 80i received by the reception port 20i is the ppm of the transmission real clock used when the scheduler 50 transmits the AV information 80i. It may be smaller than the error. In this case, the state of the accumulated data Si in the buffer 30i is as shown in FIG.

図6において、初期状態であるバッファ(30i)状態ph0では、AVフレーム100の全部と、AVフレーム110の一部がバッファ30iに蓄積されている。この最初に蓄積されている2つのAVフレーム100、110の合計情報量である蓄積データSi0の値を基準情報量(基準データ量)Sthiとする。   In FIG. 6, in the buffer (30i) state ph0 which is an initial state, the entire AV frame 100 and a part of the AV frame 110 are accumulated in the buffer 30i. The value of the accumulated data Si0, which is the total information amount of the two AV frames 100 and 110 accumulated first, is set as a reference information amount (reference data amount) Sti.

AV情報80iとAV情報80Sとのフレーム解像度が同一であるので、AVフレーム100の情報量がDiとなる。つまり、AVフレーム100が有する情報量そのままが、バッファ状態ph0において、バッファ30iによってスケジューラ50へ送信される。AV情報80を送信する前に、バッファ30iは、AVフレーム100にヘッダ(後述する)を追加して調整フレーム101とする。この調整フレーム101が、バッファ30iによってスケジューラ50を介して送信ポート60から外部機器へ送信される。なお、ヘッダを追加する期間が空白期間でない場合、バッファ30iは、映像データ、関連データおよびPleambleなどのデータを別の期間に移動して送信を行う。ヘッダおよびヘッダの追加方法について、詳細は後述する。   Since the AV information 80i and the AV information 80S have the same frame resolution, the information amount of the AV frame 100 is Di. That is, the information amount of the AV frame 100 is transmitted as it is to the scheduler 50 by the buffer 30i in the buffer state ph0. Before transmitting the AV information 80, the buffer 30 i adds a header (described later) to the AV frame 100 to make the adjustment frame 101. This adjustment frame 101 is transmitted from the transmission port 60 to the external device via the scheduler 50 by the buffer 30i. If the period for adding the header is not a blank period, the buffer 30i transmits data such as video data, related data, and preamble to another period. Details of the header and the method of adding the header will be described later.

バッファ状態ph0において、調整フレーム101が送信された後、受信ポート20iが受信する新たなAVフレーム110、および120がバッファ30iに書き込まれる。この時のバッファ30iの蓄積データSiの状態を示したものが、バッファ状態ph1である。   In the buffer state ph0, after the adjustment frame 101 is transmitted, new AV frames 110 and 120 received by the reception port 20i are written into the buffer 30i. The state of the stored data Si in the buffer 30i at this time is the buffer state ph1.

バッファ状態ph1の時点で、AVフレーム110の全部と、次のAVフレーム120の一部がバッファ30iに蓄積されている。このバッファ状態ph1においてバッファ30iに蓄積しているAV情報80を蓄積データSi1とする。受信実クロックと送信実クロックとが異なっており、図6の例では、Si1<Sthiとなっている。ここで、蓄積データSi1と基準情報量Sthiとの差を差分情報量(差分データ量)Diffとする。図6の場合では、差分情報量Diffは、Sthi−Si1で表される。   At the time of the buffer state ph1, the entire AV frame 110 and a part of the next AV frame 120 are accumulated in the buffer 30i. The AV information 80 stored in the buffer 30i in the buffer state ph1 is assumed to be stored data Si1. The reception real clock and the transmission real clock are different, and in the example of FIG. 6, Si1 <Sthi. Here, a difference between the accumulated data Si1 and the reference information amount Sthi is defined as a difference information amount (difference data amount) Diff. In the case of FIG. 6, the difference information amount Diff is represented by Sthi-Si1.

そして、バッファ状態ph1において、送信実クロックを用いてバッファ30iに蓄積された蓄積データSi1をスケジューラ50に伝送する際、バッファ30iは、差分情報量Diffを算出する。次に、バッファ30iは、AVフレーム110から差分情報量Diffに相当するデータ112を差し引き、調整フレーム111を作成する。受信実クロックのppm誤差が送信実クロックのppm誤差より小さい場合(図6に示す場合)、上記のように、差分情報量Diffに相当するデータを差し引くことによって、送信するフレーム毎に蓄積データSiが徐々に小さくなることを防ぐことができる。そして、バッファ30iは、調整フレーム111にヘッダを追加してスケジューラ50へ送信する。調整フレーム111のAVフレーム110からデータ112を差し引いた部分(図6の113)は、例えば空白情報としても良い。   Then, in the buffer state ph1, when the accumulated data Si1 accumulated in the buffer 30i is transmitted to the scheduler 50 using the transmission real clock, the buffer 30i calculates the difference information amount Diff. Next, the buffer 30 i subtracts the data 112 corresponding to the difference information amount Diff from the AV frame 110 to create the adjustment frame 111. When the ppm error of the reception real clock is smaller than the ppm error of the transmission real clock (as shown in FIG. 6), the accumulated data Si is transmitted for each frame to be transmitted by subtracting the data corresponding to the difference information amount Diff as described above. Can be gradually reduced. Then, the buffer 30 i adds a header to the adjustment frame 111 and transmits it to the scheduler 50. A portion (113 in FIG. 6) obtained by subtracting the data 112 from the AV frame 110 of the adjustment frame 111 may be blank information, for example.

バッファ30iは、次のバッファ状態ph2において、調整フレーム121を送信する際も、バッファ状態ph1と同様の処理を行う。   The buffer 30i performs the same processing as that in the buffer state ph1 when transmitting the adjustment frame 121 in the next buffer state ph2.

次に、図7における調整方法の説明をする。   Next, the adjustment method in FIG. 7 will be described.

例えば、2つのAV情報80iおよび80jがあり、2つのAV情報80i、80jの受信仕様クロック、フレーム解像度およびフレームレートが同一であるとする。そして、クロック生成部40において、送信仕様クロックが、数式1および2より、受信仕様クロックの2倍として生成されたとする。このとき、クロックに誤差が生じるため、受信ポート20iが受信するAV情報80iに同期している受信実クロックのppm誤差が、そのAV情報80iをスケジューラ50が送信する際に用いる送信実クロックのppm誤差より大きくなる場合がある。この場合において、バッファ30iの蓄積データSiの状態は、図7に示すような状態となる。   For example, it is assumed that there are two AV information 80i and 80j, and the reception specification clock, frame resolution and frame rate of the two AV information 80i and 80j are the same. Then, it is assumed that the transmission specification clock is generated by the clock generation unit 40 as twice the reception specification clock from Equations 1 and 2. At this time, since an error occurs in the clock, the ppm error of the reception real clock synchronized with the AV information 80i received by the reception port 20i is the ppm of the transmission real clock used when the scheduler 50 transmits the AV information 80i. May be larger than error. In this case, the state of the accumulated data Si in the buffer 30i is as shown in FIG.

図7において、初期状態であるバッファ状態ph0では、図6と同様に、AVフレーム100の全部およびAVフレーム110の一部がバッファ30iに蓄積している。また、この最初に蓄積されている2つのAVフレーム100、110の合計情報量である蓄積データSi0の値を基準情報量(Sthi)とする。   In FIG. 7, in the buffer state ph0 which is the initial state, the entire AV frame 100 and a part of the AV frame 110 are accumulated in the buffer 30i as in FIG. In addition, the value of the accumulated data Si0, which is the total information amount of the two AV frames 100 and 110 accumulated first, is set as the reference information amount (Sthi).

そして、図6の場合と同様に、バッファ30iは、バッファ状態ph0において、AVフレーム100にヘッダを追加した調整フレーム101を送信する。TS−Ti秒後に、バッファ30iの蓄積データSiは、新たにAV情報80iが追加されてバッファ状態ph1aとなる。   Similarly to the case of FIG. 6, the buffer 30i transmits the adjustment frame 101 in which the header is added to the AV frame 100 in the buffer state ph0. After TS-Ti seconds, the AV data 80i is newly added to the stored data Si in the buffer 30i to enter the buffer state ph1a.

バッファ状態ph1aでは、AVフレーム110の全部、および次のAVフレーム120aの一部がバッファ30iに蓄積されている。このバッファ30iに蓄積している情報量を蓄積データSi1aとする。受信実クロックと送信実クロックが異なるため、図7の例では、Si1a>Sthiとなっている。従って、差分情報量Diffは、Si1a―Sthiで表される。   In the buffer state ph1a, the entire AV frame 110 and a part of the next AV frame 120a are accumulated in the buffer 30i. The amount of information stored in the buffer 30i is assumed to be stored data Si1a. Since the actual reception clock and the actual transmission clock are different, in the example of FIG. 7, Si1a> Sthi. Therefore, the difference information amount Diff is expressed by Si1a-Sthi.

ここで、バッファ30iは、調整フレームを作成する際に、差分情報量Diffに相当する情報量を減らす。従って、バッファ30iは、蓄積データSi1aの中から映像データが含まれない行を調整フレームから除外する。この蓄積データSi1aの中から映像データが含まれない行を除外した残りのAV情報80、つまり、(Si1a−Diff)を除外データと称する。しかし、除外した行には空白情報ではないデータも含まれている可能性がある。そのため、バッファ30iは、除外する行に含まれる関連データおよび制御情報は別の期間に移すことになる。なお、除外する行(空白情報)は調整データに含めないという意味であり、バッファ30から除外するという意味ではない。すなわち、データを送信する際、調整データは、バッファ30に保存されているデータから作成されるとともに、スケジューラ50へ送信される。ここで、本発明では、この移動させた空白情報ではないデータを調整データと称する。調整データの詳細は後述する。   Here, the buffer 30i reduces the information amount corresponding to the difference information amount Diff when creating the adjustment frame. Accordingly, the buffer 30i excludes from the adjustment frame a row that does not include video data from the accumulated data Si1a. The remaining AV information 80 obtained by excluding a row that does not include video data from the accumulated data Si1a, that is, (Si1a-Diff) is referred to as excluded data. However, the excluded line may include data that is not blank information. For this reason, the buffer 30i moves related data and control information included in the excluded row to another period. It should be noted that the line to be excluded (blank information) is not included in the adjustment data, and is not meant to be excluded from the buffer 30. That is, when data is transmitted, the adjustment data is created from the data stored in the buffer 30 and is transmitted to the scheduler 50. Here, in the present invention, the moved non-blank data is referred to as adjustment data. Details of the adjustment data will be described later.

図7の事例では、バッファ30iは、差分情報量Diffに相当するデータ124のデータを移動(調整)することになる。移動する場所は、バッファ30iが、調整フレーム111a、またはその次の調整フレーム121aに指定することができる。ここでは、バッファ30iは、データ124に含まれる調整データがAVフレーム120aの一部であるため、データ124に含まれる調整データを次の調整フレーム121aに移動することにする。よって、調整フレーム111aは、AVフレーム110、および追加したヘッダのみを含む。   In the example of FIG. 7, the buffer 30 i moves (adjusts) the data 124 corresponding to the difference information amount Diff. The moving location can be designated by the buffer 30i in the adjustment frame 111a or the next adjustment frame 121a. Here, since the adjustment data included in the data 124 is a part of the AV frame 120a, the buffer 30i moves the adjustment data included in the data 124 to the next adjustment frame 121a. Therefore, the adjustment frame 111a includes only the AV frame 110 and the added header.

次のバッファ状態ph2aでは、バッファ30iは、データ124を除外したフレーム120aの全部、およびAVフレーム130aの一部から調整フレーム121aを作成して、スケジューラ50へ伝送することになる。そこで、バッファ30iは、ヘッダとデータ124に含まれる調整データとを調整フレーム121aの最初の空白情報の部分に入れる。また、この場合、バッファ30iは、AVフレーム130aの一部も調整フレームに加えることができる。このAVフレーム130aの一部には、除外可能な空白情報がある。しかしながら、バッファ30iは、調整フレーム121aを作成するために、既に、AVフレーム120aの空白情報を除外している。そのため、ここでは除外せず、除外は、以降に伝送する調整フレームにおいて行われる。なお、除外する部分については後述する。   In the next buffer state ph2a, the buffer 30i creates the adjustment frame 121a from the entire frame 120a excluding the data 124 and a part of the AV frame 130a, and transmits it to the scheduler 50. Therefore, the buffer 30i puts the header and the adjustment data included in the data 124 into the first blank information portion of the adjustment frame 121a. In this case, the buffer 30i can also add a part of the AV frame 130a to the adjustment frame. Part of the AV frame 130a has blank information that can be excluded. However, the buffer 30i has already excluded the blank information of the AV frame 120a in order to create the adjustment frame 121a. Therefore, it is not excluded here, and the exclusion is performed in an adjustment frame to be transmitted later. The part to be excluded will be described later.

次に、図8に示す事例を説明する。図7では、除外するデータ124に含まれる調整データが次に送信する調整フレーム121aに移動することに対し(調整フレーム111aではなく、次の調整フレーム121aに移動)、図8では、除外するデータ154に含まれる調整データが、その時点で送信する調整フレーム151に移動する場合の事例である。   Next, the example shown in FIG. 8 will be described. In FIG. 7, the adjustment data included in the excluded data 124 moves to the adjustment frame 121a to be transmitted next (moves to the next adjustment frame 121a instead of the adjustment frame 111a), whereas in FIG. This is a case where the adjustment data included in 154 moves to the adjustment frame 151 to be transmitted at that time.

図8に示すバッファ状態ph0は図6、7と同様である。バッファ状態ph0から複数の調整フレームを伝送した後の状態が、バッファ状態phxである。ここで、AVフレーム150の一部は、バッファ状態phx−1の時点で伝送されており、AVフレーム150のうち伝送されずに残っているデータがバッファ状態phxの蓄積データSixに含まれる。よって、バッファ状態phxの蓄積データSixは、AVフレーム150の一部と、AVフレーム160の一部との合計である。図8に示すように、蓄積データSixの情報量は基準情報量Sthiより大きい。ここで
差分情報量Diff=Six−Sthi
である。
The buffer state ph0 shown in FIG. 8 is the same as that shown in FIGS. The state after transmitting a plurality of adjustment frames from the buffer state ph0 is the buffer state phx. Here, a part of the AV frame 150 is transmitted at the time of the buffer state phx−1, and the remaining data of the AV frame 150 that is not transmitted is included in the accumulated data Six in the buffer state phx. Therefore, the accumulated data Six in the buffer state phx is the sum of a part of the AV frame 150 and a part of the AV frame 160. As shown in FIG. 8, the information amount of the accumulated data Six is larger than the reference information amount Sthi. Here, the difference information amount Diff = Six−Sthi
It is.

そして、送信実クロックでAV情報80を伝送する際、AVフレーム150の残りの部分と、AVフレーム160の大部分と、追加するヘッダと、を調整フレーム151として伝送する。しかし、蓄積データSixが基準情報量Sthiより大きいため、差分情報量Diffに相当する情報量を除外する必要がある。映像データの部分は除外することができない。そのため、映像データが存在しない行であるデータ154を除外する。そして、データ154に存在する空白情報でないデータを調整データとして調整フレーム151の除外していない空白情報に移動させる。このように調整フレーム151を作成する。   Then, when transmitting the AV information 80 with the transmission real clock, the remaining portion of the AV frame 150, the majority of the AV frame 160, and the header to be added are transmitted as the adjustment frame 151. However, since the accumulated data Six is larger than the reference information amount Sthi, it is necessary to exclude the information amount corresponding to the difference information amount Diff. The video data portion cannot be excluded. Therefore, data 154 that is a row in which no video data exists is excluded. Data that is not blank information existing in the data 154 is moved as adjustment data to blank information that is not excluded from the adjustment frame 151. In this way, the adjustment frame 151 is created.

このように、調整フレームは、AVフレームと異なり、2つのAVフレームのAV情報80を含んでいる(例えば、図7の調整フレーム121aは、2つのAVフレーム120a、130aを含む)。また、調整フレームが、AVフレームの1つ以下のAV情報80しか含まない場合もある(例えば、図6の調整フレーム111は、AVフレーム110の一部である)。従って、調整フレームがどのようなAV情報80を含むのか、または、調整フレームが各AVフレームのAV情報80のどの期間を含むのかなどの情報を、AV伝送装置10は、送信先のAV再生機1またはテレビ2に知らせる。そのため、バッファ30iは、この調整フレームの内容を示す情報をヘッダとして作成して、そのヘッダを空白期間に埋める。   Thus, unlike the AV frame, the adjustment frame includes AV information 80 of two AV frames (for example, the adjustment frame 121a in FIG. 7 includes two AV frames 120a and 130a). In addition, the adjustment frame may include only one or less AV information 80 of the AV frame (for example, the adjustment frame 111 in FIG. 6 is a part of the AV frame 110). Accordingly, the AV transmission apparatus 10 transmits information such as what AV information 80 the adjustment frame includes or what period the AV information 80 includes in each AV frame. 1 or TV 2 is notified. Therefore, the buffer 30i creates information indicating the contents of the adjustment frame as a header, and fills the header with a blank period.

なお、図6〜図8ではバッファ30iのデータ単位は、フレームの行単位となっているが、画素単位であっても良い。   6 to 8, the data unit of the buffer 30i is a frame row unit, but may be a pixel unit.

また、上記事例では、バッファ30iに蓄積された蓄積データSiは、AVデコーダ1020、または他のAV伝送装置10から送信されるAV情報80であってもよい。   In the above case, the accumulated data Si accumulated in the buffer 30 i may be AV information 80 transmitted from the AV decoder 1020 or another AV transmission device 10.

〔バッファ30、およびスケジューラ50の内部構成〕
図6〜8において、バッファ30、およびスケジューラ50のAV情報80の調整方法を示したが、実際には、バッファ30、およびスケジューラ50の各部が上述のAV情報80の調整を行う。以下に、バッファ30、およびスケジューラ50の内部構成、およびその動作を説明する。
[Internal configuration of buffer 30 and scheduler 50]
6-8, the adjustment method of the AV information 80 of the buffer 30 and the scheduler 50 was shown, but actually, each part of the buffer 30 and the scheduler 50 adjusts the AV information 80 described above. Hereinafter, the internal configuration and operation of the buffer 30 and the scheduler 50 will be described.

図9は、図1のバッファ30、およびスケジューラ50の内部の詳細を示す図である。スケジューラ50は、スケジューラ制御部52およびスイッチ54を含む。バッファ30は、受信調整・解析部(受信制御手段)34、AVメモリ32、管理メモリ35、送信調節部(送信調整手段)36およびバッファ送信制御部(送信制御手段)38を含む。   FIG. 9 is a diagram showing the internal details of the buffer 30 and the scheduler 50 of FIG. The scheduler 50 includes a scheduler control unit 52 and a switch 54. The buffer 30 includes a reception adjustment / analysis unit (reception control unit) 34, an AV memory 32, a management memory 35, a transmission adjustment unit (transmission adjustment unit) 36, and a buffer transmission control unit (transmission control unit) 38.

スケジューラ制御部52は、全体制御部70の処理開始命令を受けて、Di、Tiなどの値の設定、バッファ送信制御部38に対する初期化命令、バッファ送信制御部38に対する送信処理命令、変数iの確認および設定などを行う。また、スケジューラ制御部52は、送信調節部36から送信されるAV情報80を転送するスイッチ54を、スケジュール期間Tiに基づいて制御するものである。   Upon receiving a process start command from the overall control unit 70, the scheduler control unit 52 sets values such as Di and Ti, an initialization command for the buffer transmission control unit 38, a transmission processing command for the buffer transmission control unit 38, and a variable i Check and set. The scheduler control unit 52 controls the switch 54 for transferring the AV information 80 transmitted from the transmission adjusting unit 36 based on the schedule period Ti.

スイッチ54は、スケジューラ制御部52からのスイッチ切り替え命令を受けて、各バッファ301〜30nから1つ選択し、送信調節部36から送信されるAV情報80を送信ポート60へ転送するものである。   The switch 54 receives a switch switching command from the scheduler control unit 52, selects one from each of the buffers 301 to 30n, and transfers the AV information 80 transmitted from the transmission adjustment unit 36 to the transmission port 60.

受信調整・解析部34は、まず、受信ポート20を介してバッファ30が受信したAV情報80の解析を行う。次に、受信したAV情報80の中で、調整フレームがある場合は、調整フレームを元のAVフレームに戻す処理を行う。なお、調整フレームの中に、移動(調整)された調整データがある場合は、調整データを元の場所に戻す処理を行う。そして、AV情報80をAVメモリ32に受信実クロックを用いて書き込む。また、調整フレームおよび調整データを元のAVフレームに戻した後、AV情報80の管理情報の作成を行い、その作成した管理情報を管理メモリ35に書き込む(詳細は後述)。   The reception adjustment / analysis unit 34 first analyzes the AV information 80 received by the buffer 30 via the reception port 20. Next, when there is an adjustment frame in the received AV information 80, processing for returning the adjustment frame to the original AV frame is performed. If there is adjustment data that has been moved (adjusted) in the adjustment frame, processing for returning the adjustment data to the original location is performed. Then, the AV information 80 is written into the AV memory 32 using the received real clock. Further, after the adjustment frame and the adjustment data are returned to the original AV frame, management information for the AV information 80 is created, and the created management information is written in the management memory 35 (details will be described later).

なお、1つの受信ポート20iが複数のAV情報80ia、80ibを受信した場合、受信調整・解析部34は、AVメモリ32を、各AV情報80をそれぞれ蓄積することができる副AVメモリ32a、32bに分割する。そして、各AV情報80ia、80ibを別々の入力としてそれぞれ副AVメモリ32a、32bに書き込む。   When one receiving port 20i receives a plurality of AV information 80ia and 80ib, the reception adjustment / analysis unit 34 stores the AV memory 32 and the sub AV memories 32a and 32b that can store the AV information 80, respectively. Divide into Then, the AV information 80ia and 80ib are written into the sub AV memories 32a and 32b as separate inputs.

AVメモリ32は、受信調整・解析部34が処理した後のAV情報80を保存するメモリである。   The AV memory 32 is a memory for storing AV information 80 after the reception adjustment / analysis unit 34 has processed it.

管理メモリ35は、空白情報に対して、映像データ、関連データ、または制御情報がAVメモリ32のどこにあるのかを示す管理情報を保存する。   The management memory 35 stores management information indicating where the video data, related data, or control information is in the AV memory 32 with respect to the blank information.

送信調節部36は、バッファ送信制御部38から調整フレーム作成命令を受けて、ヘッダと、必要であれば調整データとを調整フレームに追加することにより、当該調整フレームを作成する。スケジューラ制御部52の送信開始命令に基づくバッファ送信制御部38の調整フレーム送信命令を受けて、送信調節部36は、作成した調整フレームをスケジューラ50のスイッチ54へ送信する。   The transmission adjusting unit 36 receives the adjustment frame creation command from the buffer transmission control unit 38 and adds the header and, if necessary, adjustment data to the adjustment frame to create the adjustment frame. In response to the adjustment frame transmission command of the buffer transmission control unit 38 based on the transmission start command of the scheduler control unit 52, the transmission adjustment unit 36 transmits the created adjustment frame to the switch 54 of the scheduler 50.

バッファ送信制御部38は、スケジューラ制御部52の命令を受けて、AVメモリ32の初期化、AVメモリ32の蓄積データSiの確認、基準情報量Sthiの設定、差分情報量Diffの算出、調整フレームの情報量の設定、調整データの作成、管理メモリ35の管理情報に基づくヘッダの作成、送信調節部36への調整フレーム作成命令の送信、および、送信調節部36への調整フレーム送信命令などの送信処理を行う。   Upon receiving an instruction from the scheduler control unit 52, the buffer transmission control unit 38 initializes the AV memory 32, checks the stored data Si in the AV memory 32, sets the reference information amount Sthi, calculates the difference information amount Diff, and adjusts the frame. Information amount setting, adjustment data generation, header generation based on management information in the management memory 35, adjustment frame generation command transmission to the transmission adjustment unit 36, adjustment frame transmission command to the transmission adjustment unit 36, etc. Perform transmission processing.

〔スケジューラ制御部52の処理内容〕
図10は、スケジューラ制御部52の処理を示すフローチャートである。
[Processing content of scheduler control unit 52]
FIG. 10 is a flowchart showing processing of the scheduler control unit 52.

スケジューラ制御部52は、全体制御部70の処理開始命令によって、バッファ30に蓄積されているAV情報80の送信処理を開始(Start)する(S10)。   The scheduler control unit 52 starts transmission processing of the AV information 80 stored in the buffer 30 in response to a processing start command from the overall control unit 70 (S10).

次に、スケジューラ制御部52は、各バッファ送信制御部38に初期化命令を送信する。それを受けて、各バッファ送信制御部38は、それぞれのAVメモリ32の初期化を行う。初期化命令と同時に、スケジューラ制御部52は、各バッファ送信制御部38に値設定命令を送信して、各バッファ送信制御部38から必要な情報を集めて、以下の値の設定を行う(S20)。   Next, the scheduler control unit 52 transmits an initialization command to each buffer transmission control unit 38. In response to this, each buffer transmission control unit 38 initializes each AV memory 32. Simultaneously with the initialization command, the scheduler control unit 52 transmits a value setting command to each buffer transmission control unit 38, collects necessary information from each buffer transmission control unit 38, and sets the following values (S20). ).

スケジューラ制御部52が設定を行う値としては、前述のDi、Ti、TSNumClk、TS、およびSthiに加えて、TxClkCnt、TSpi、TStiがある。スケジューラ制御部52は、数式4よりDiを、数式5よりTiを、数式6よりTSNumClkを、数式7よりTSを設定する。バッファ送信制御部38がAVメモリ32を初期化するため、スケジューラ制御部52は、Sthiを全て未設定に設定する。なお、バッファ送信制御部38は、スケジューラ制御部52の変数の値を参照することができる。これは例えばTxClkCntがハードウエアのレジスタであり、バッファ送信制御部38にはこのレジスタの信号が直接接続されている場合である。この場合、バッファ送信制御部38からもこれらのレジスタを直接設定することができる。   Values set by the scheduler control unit 52 include TxClkCnt, TSpi, and TSti in addition to the aforementioned Di, Ti, TSNumClk, TS, and Sthi. The scheduler control unit 52 sets Di from Equation 4, Ti from Equation 5, TSNumClk from Equation 6, and TS from Equation 7. Since the buffer transmission control unit 38 initializes the AV memory 32, the scheduler control unit 52 sets all Sti to unset. Note that the buffer transmission control unit 38 can refer to the value of the variable of the scheduler control unit 52. This is the case, for example, when TxClkCnt is a hardware register and the signal of this register is directly connected to the buffer transmission control unit 38. In this case, these registers can also be set directly from the buffer transmission control unit 38.

また、TxClkCntは、送信実クロックのカウント数を示すものである。ここでは、TxClkCntを初期化の値として0に設定する。その場合の最大値は、TSNumClk−1である。TxClkCntは、初期化された後、送信実クロックの回数に合わせて、
TxClkCnt<TSNumClk−1の場合:
TxClkCnt=TxClkCnt+1
TxClkCnt=TSNumClk−1の場合:
TxClkCnt=0(数式9)
のように更新される。
TxClkCnt indicates the count number of transmission real clocks. Here, TxClkCnt is set to 0 as an initialization value. In this case, the maximum value is TSNumClk-1. After TxClkCnt is initialized, it matches the number of transmission real clocks,
If TxClkCnt <TSNumClk-1:
TxClkCnt = TxClkCnt + 1
If TxClkCnt = TSNumClk-1:
TxClkCnt = 0 (Formula 9)
It is updated as follows.

さらに、TSpiは、i番目のバッファ30iが行う処理の開始時刻である。具体的には、バッファ送信制御部38がAVメモリ32に蓄積された蓄積データSiの確認処理を開始する時刻であり、具体的には、
i=1の場合、TSpi=0
i≠1の場合、TSpi=TSp(i−1)+T(i−1)(数式10)
となる。
Furthermore, TSpi is the start time of processing performed by the i-th buffer 30i. Specifically, it is the time at which the buffer transmission control unit 38 starts the confirmation process of the accumulated data Si accumulated in the AV memory 32. Specifically,
When i = 1, TSpi = 0
When i ≠ 1, TSpi = TSp (i−1) + T (i−1) (Formula 10)
It becomes.

また、TStiは、i番目のバッファ30iの送信調節部36が、AV情報80をスイッチ54に送信開始する時刻であり、具体的には、
TSti=TSpi+α(数式11)
となる。なお、αは固定値である(詳細は後述する)。
TSti is a time at which the transmission adjustment unit 36 of the i-th buffer 30i starts transmitting the AV information 80 to the switch 54. Specifically,
TSti = TSpi + α (Formula 11)
It becomes. Α is a fixed value (details will be described later).

次に、スケジューラ制御部52がTxAdjMode=1(詳細は後述)の比較を行う(S25)。TxAdjMode=0の場合(S25でNO)は、バッファ30がAVフレームを送信する場合であり、スケジューラ制御部52は、バッファ送信制御部38に送信開始命令を送信する。そのときに、スケジューラ制御部52は、スイッチ54にスイッチ切り替え命令を送信する(S26)。AVフレームのAV情報80の送信は、バッファ30にAVフレームのAV情報80がなくなる、または全体制御部70からスケジューラ制御部52に送信終了の命令があるまで行う。そして、スケジューラ制御部52は、AVフレームの送信終了を待ち(S27)、送信終了するとS70に遷移する。   Next, the scheduler control unit 52 compares TxAdjMode = 1 (details will be described later) (S25). When TxAdjMode = 0 (NO in S25), the buffer 30 transmits an AV frame, and the scheduler control unit 52 transmits a transmission start command to the buffer transmission control unit 38. At that time, the scheduler control unit 52 transmits a switch switching command to the switch 54 (S26). The AV information 80 of the AV frame is transmitted until the AV information 80 of the AV frame disappears in the buffer 30 or until the transmission end command is issued from the overall control unit 70 to the scheduler control unit 52. Then, the scheduler control unit 52 waits for the end of transmission of the AV frame (S27), and transitions to S70 when the transmission ends.

一方、TxAdjMode=1の場合(S25でYES)は、調整フレームを送信する場合であり、スケジューラ制御部52は、変数i=1に設定する(S30)。   On the other hand, when TxAdjMode = 1 (YES in S25), the adjustment frame is transmitted, and the scheduler control unit 52 sets the variable i = 1 (S30).

そして、スケジューラ制御部52は、バッファ30iのバッファ送信制御部38に送信処理命令を送信して、バッファ送信制御部38が送信処理を開始する(S100)。送信処理の詳細の内容は、図11において説明する。   Then, the scheduler control unit 52 transmits a transmission processing command to the buffer transmission control unit 38 of the buffer 30i, and the buffer transmission control unit 38 starts transmission processing (S100). Details of the transmission process will be described with reference to FIG.

バッファ30iのAV情報80iの送信処理終了後、スケジューラ制御部52は、変数i=i+1に設定する(S40)。   After the transmission processing of the AV information 80i in the buffer 30i is completed, the scheduler control unit 52 sets the variable i = i + 1 (S40).

次に、スケジューラ制御部52は、変数iの確認を行う(S50)。すなわち、スケジューラ制御部52は、変数iよりもnが大きいか否かを判定する。変数iがnより大きい場合(S50でYES)、スケジューラ制御部52は、AV情報80の伝送完了確認を行う(S60)。一方、変数iがn以下の場合(S50でNO)、S100の送信処理を行う。   Next, the scheduler control unit 52 checks the variable i (S50). That is, the scheduler control unit 52 determines whether n is larger than the variable i. When the variable i is larger than n (YES in S50), the scheduler control unit 52 confirms the completion of transmission of the AV information 80 (S60). On the other hand, when the variable i is n or less (NO in S50), the transmission process of S100 is performed.

スケジューラ制御部52は、AV情報80の伝送完了確認を行い、伝送完了と判断した場合(S60でYES)には、全ての処理を終了する(S70)。一方、伝送完了していないと判断した場合(S60でNO)には、S30に戻る。なお、スケジューラ制御部52が伝送完了と判断する場合とは、例えばユーザなどの指示により、テレビ2またはAV再生機1の電源を切る命令があった場合である。   The scheduler control unit 52 confirms the completion of transmission of the AV information 80, and if it is determined that the transmission is completed (YES in S60), all the processes are terminated (S70). On the other hand, when it is determined that the transmission is not completed (NO in S60), the process returns to S30. The case where the scheduler control unit 52 determines that the transmission is completed is a case where there is an instruction to turn off the power of the television 2 or the AV player 1 in accordance with an instruction from a user, for example.

〔バッファ送信制御部38の処理内容〕
図11は、スケジューラ制御部52の送信処理命令に基づいて行うバッファ送信制御部38の処理(S100)を示すフローチャートである。なお、スケジューラ制御部52は、バッファ送信制御部38に対して、初期化命令(S20)および送信処理命令(S100)を行う。そのスケジューラ制御部52の命令に基づいて、バッファ送信制御部38は送信処理を行う。
[Processing contents of buffer transmission control unit 38]
FIG. 11 is a flowchart showing the processing (S100) of the buffer transmission control unit 38 performed based on the transmission processing command of the scheduler control unit 52. The scheduler control unit 52 issues an initialization command (S20) and a transmission processing command (S100) to the buffer transmission control unit 38. Based on the instruction of the scheduler control unit 52, the buffer transmission control unit 38 performs transmission processing.

スケジューラ制御部52は、TxClkCntがTSpiに等しくなるのを待つ(S110)。   The scheduler control unit 52 waits for TxClkCnt to be equal to TSpi (S110).

TxClkCntがTSpiに等しくなると、スケジューラ制御部52は、バッファ30iのバッファ送信制御部38に、送信処理命令を送信する。バッファ30iのバッファ送信制御部38は、送信処理命令を受けて、バッファ30iのAVメモリ32を参照して、前述のAV情報80の蓄積データSi(一例として図6に示すSi0、Si1、またはSi2)を求める(S120)。   When TxClkCnt becomes equal to TSpi, the scheduler control unit 52 transmits a transmission processing command to the buffer transmission control unit 38 of the buffer 30i. The buffer transmission control unit 38 of the buffer 30i receives the transmission processing instruction, refers to the AV memory 32 of the buffer 30i, and stores the stored data Si of the AV information 80 (for example, Si0, Si1, or Si2 shown in FIG. 6). ) Is obtained (S120).

次に、バッファ送信制御部38は、AVメモリ32に、或る一定量以上の蓄積データSiが蓄積されているかどうかの確認を行う(S130)。AVメモリ32には、最初の送信処理を行う際、Di以上の情報量が溜まっていることが好ましい。しかし、前述のクロック同期問題が発生するため、送信処理を繰り返す間にAVメモリ32の蓄積データSiが、見かけの情報量Di以下になることがある。   Next, the buffer transmission control unit 38 checks whether or not a certain amount or more of accumulated data Si is accumulated in the AV memory 32 (S130). In the AV memory 32, it is preferable that an amount of information equal to or greater than Di is accumulated when the first transmission process is performed. However, since the above-described clock synchronization problem occurs, the accumulated data Si in the AV memory 32 may become less than the apparent information amount Di while the transmission process is repeated.

そこで、本発明では、バッファ送信制御部38には、上記一定量としてDi+βが設定されている。なお、βは、バッファ30iがAV情報80を送信する際に、AVメモリ32の蓄積データSiがDi以下にならないようにするための値である。例えばβをDi/2に設定しても良い。なお、この処理は、後述のS140において基準情報量Sthiを設定する際、基準情報量Sthiを見かけの情報量Di以上にするためである。基準情報量Sthiが見かけの情報量Di未満に設定された場合、1つの調整フレームで送信するデータ量が見かけの情報量より小さくなってしまう。   Therefore, in the present invention, Di + β is set as the fixed amount in the buffer transmission control unit 38. Note that β is a value for preventing the accumulated data Si of the AV memory 32 from becoming Di or less when the buffer 30 i transmits the AV information 80. For example, β may be set to Di / 2. This process is for setting the reference information amount Sthi to the apparent information amount Di or more when setting the reference information amount Sthi in S140 described later. When the reference information amount Sthi is set to be less than the apparent information amount Di, the data amount transmitted in one adjustment frame is smaller than the apparent information amount.

AVメモリ32の蓄積データSiがDi+β以上の場合(S130でYES)、バッファ送信制御部38は、AVメモリ32に蓄積しているAV情報80の基準量である基準情報量Sthiが未設定かどうかを確認する(S140)。基準情報量Sthiが未設定の場合(S140でYES)、バッファ送信制御部38は、AVメモリ32にその時点で蓄積している蓄積データSiの値をSthiに設定する(S150)。なお、基準情報量Sthiが未設定の場合、バッファ状態ph0(図6)の状態である。そして、バッファ送信制御部38は、送信する調整フレームの情報量をDiに設定する。   When the accumulated data Si in the AV memory 32 is Di + β or more (YES in S130), the buffer transmission control unit 38 determines whether the reference information amount Sthi that is the reference amount of the AV information 80 stored in the AV memory 32 is not set. Is confirmed (S140). When the reference information amount Sthi is not set (YES in S140), the buffer transmission control unit 38 sets the value of the stored data Si stored in the AV memory 32 at that time to Sthi (S150). When the reference information amount Sthi is not set, the buffer state ph0 (FIG. 6) is set. Then, the buffer transmission control unit 38 sets the information amount of the adjustment frame to be transmitted to Di.

一方、基準情報量Sthiに対してすでに何らかの基準量が与えられている場合(S140でNO)、バッファ送信制御部38は、基準情報量Sthiと蓄積データSiとを比較し、差分情報量Diffを算出する(S160)。本発明では、Diff=Sthi―Siとする。Diff≧0の場合(図6の場合)、バッファ送信制御部38は、送信する調整フレームの情報量をDi−Diffとし、除外する情報量を0に設定する。Diff<0の場合(図7の場合)、バッファ送信制御部38は、送信する調整フレームの情報量をDiとし、除外する情報量をDiffに設定する。なお、本発明では、除外する情報量は、(Diff/一行の情報量)の切り上げとする。また、前述したように、除外する情報量は、行単位に限るものではなく、画素単位などその他の方法であってよい。   On the other hand, when some reference amount is already given to the reference information amount Sthi (NO in S140), the buffer transmission control unit 38 compares the reference information amount Sthi with the accumulated data Si, and determines the difference information amount Diff. Calculate (S160). In the present invention, Diff = Sthi-Si. When Diff ≧ 0 (in the case of FIG. 6), the buffer transmission control unit 38 sets the information amount of the adjustment frame to be transmitted as Di-Diff, and sets the excluded information amount to 0. When Diff <0 (in the case of FIG. 7), the buffer transmission control unit 38 sets the information amount of the adjustment frame to be transmitted as Di and sets the information amount to be excluded as Diff. In the present invention, the amount of information to be excluded is rounded up (Diff / amount of information per line). As described above, the amount of information to be excluded is not limited to a row unit, but may be other methods such as a pixel unit.

そして、除外するデータの中に、空白情報以外のデータが含まれている場合、バッファ送信制御部38は、調整データを作成し、AVメモリ32の別の場所に保存する。   When the data to be excluded includes data other than blank information, the buffer transmission control unit 38 creates adjustment data and stores it in another location in the AV memory 32.

このように、S150、およびS160において、調整フレームの情報量が設定された後、バッファ送信制御部38は、管理メモリ35から管理情報を読み出し、ヘッダを作成する。そして、バッファ送信制御部38は、送信調節部36に調整フレーム作成命令を送信する(S170)。   In this manner, after the information amount of the adjustment frame is set in S150 and S160, the buffer transmission control unit 38 reads management information from the management memory 35 and creates a header. Then, the buffer transmission control unit 38 transmits an adjustment frame creation command to the transmission adjustment unit 36 (S170).

送信調節部36は、調整フレーム作成命令を受けて、AVメモリ32に蓄積している蓄積データSiのうち最も先に蓄積されているAV情報80から順番に調整フレームの情報量分のAV情報80を読み出し、読み出したAV情報80にヘッダを追加して調整フレームを作成する。ここで、必要であれば、送信調節部36は、調整データも追加して調整フレームを作成する。そして、スケジューラ制御部52は、TxClkCntがTStiに等しくなるのを待つ(S180)。   In response to the adjustment frame creation command, the transmission adjustment unit 36 sequentially receives AV information 80 corresponding to the information amount of the adjustment frame from the AV information 80 stored first in the stored data Si stored in the AV memory 32. And a header is added to the read AV information 80 to create an adjustment frame. Here, if necessary, the transmission adjustment unit 36 also adds adjustment data to create an adjustment frame. Then, the scheduler control unit 52 waits for TxClkCnt to be equal to TSti (S180).

TxClkCntがTStiに等しくなると、スケジューラ制御部52は、バッファ送信制御部38に送信開始命令を送信する。そのときに、スケジューラ制御部52は、スイッチ54にスイッチ切り替え命令を送信する(S190)。   When TxClkCnt becomes equal to TSti, the scheduler control unit 52 transmits a transmission start command to the buffer transmission control unit 38. At that time, the scheduler control unit 52 transmits a switch switching command to the switch 54 (S190).

なお、スイッチ54は、複数のバッファ30iから1つを選択して送信ポート60に出力を行う。そのため、スイッチ54の切り替えはバッファ30iのAV情報80がスイッチ54に入力されたときに行う。スイッチ54がスイッチ切り替え命令を受けてから切り替えるまでの時間は、スケジューラ制御部52がバッファ送信制御部38に送信開始命令を出してから、送信調節部36がバッファ送信制御部38の調整フレーム送信命令を受けて、AV情報80をスイッチ54に出力するまでの時間である。この時間を考慮して、スイッチ54は、スイッチ切り替え命令を受けて、ある所定の時間経過後にスイッチを切り替える。   The switch 54 selects one from the plurality of buffers 30 i and outputs it to the transmission port 60. Therefore, the switch 54 is switched when the AV information 80 in the buffer 30 i is input to the switch 54. The time from when the switch 54 receives the switch switching command to when the switch is switched is from the time when the scheduler control unit 52 issues a transmission start command to the buffer transmission control unit 38 and the time when the transmission adjustment unit 36 performs the adjustment frame transmission command of the buffer transmission control unit 38. The time until the AV information 80 is output to the switch 54 is received. Considering this time, the switch 54 receives a switch switching command and switches the switch after a predetermined time has elapsed.

スイッチ54が送信ポート60へ全てのAV情報を転送した後、S40に遷移する。   After the switch 54 transfers all the AV information to the transmission port 60, the process proceeds to S40.

ここで、S110からS170までの処理時間では、複数の確認が行われるため、一定の時間で処理されない。しかし、スケジューラ制御部52は、複数の処理時間の合計の最大の時間を求めることができる。よって、前述のαは、S110からS170までの処理を十分に行うことができる値とする。また、通常αはTiより小さく設定されている。   Here, in the processing time from S110 to S170, since a plurality of confirmations are performed, the processing is not performed in a certain time. However, the scheduler control unit 52 can obtain the maximum time of the total of a plurality of processing times. Therefore, the above-mentioned α is a value that can sufficiently perform the processing from S110 to S170. Moreover, normally α is set smaller than Ti.

ところで、AVメモリ32の蓄積データSiがDi+β未満の場合(S130でNO)、送信制御部38は、AVメモリ32の蓄積データSiとDiとを比較する(S190)。Si≧Diの場合(S190でNO)、AVメモリ32が蓄積している蓄積データSiがもっと蓄積されるのを待つためにS40に遷移する。一方、Si<Diの場合(S190でYES)、何らかの原因でバッファ30iがAV情報80iを正常に受信できなくなったことを意味する。この場合、スケジューラ制御部52は、AVメモリ32の初期化、およびSthiを未設定に設定する(S200)。そして、初期化などの設定をした後、S40に遷移する。   By the way, when the accumulated data Si in the AV memory 32 is less than Di + β (NO in S130), the transmission control unit 38 compares the accumulated data Si and Di in the AV memory 32 (S190). If Si ≧ Di (NO in S190), the process proceeds to S40 in order to wait for the accumulated data Si accumulated in the AV memory 32 to be accumulated. On the other hand, if Si <Di (YES in S190), this means that the buffer 30i cannot receive the AV information 80i normally for some reason. In this case, the scheduler control unit 52 initializes the AV memory 32 and sets Sti to be unset (S200). Then, after setting such as initialization, the process proceeds to S40.

〔AVメモリ32の構成〕
図12は、AVメモリ32、または管理メモリ35の構成を示す図である。図12に示すメモリ(AVメモリ32または管理メモリ35)は、2つの書き込みポート311、312および1つの読み出しポート33を含む。なお、書き込みポート311および312は、同様の構成を備えているので、以下の説明では、書き込みポート311および312を書き込みポート31と称して説明する。
[Configuration of AV Memory 32]
FIG. 12 is a diagram showing the configuration of the AV memory 32 or the management memory 35. As shown in FIG. The memory (AV memory 32 or management memory 35) shown in FIG. 12 includes two write ports 311 and 312 and one read port 33. Since the write ports 311 and 312 have the same configuration, in the following description, the write ports 311 and 312 will be referred to as the write port 31.

書き込みポート31は、書き込みアドレス(WADDR1、2)、書き込みデータ(WDATA1、2)、書き込みクロック(WCLK1、2)、および書き込みイネーブル(WR1、2)が入力される。読み出しポート33は、読み出しアドレス(RADDR)、読み出しデータ(RDATA)、および読み出しクロック(RCLK)が入力される。   The write port 31 receives a write address (WADDR1, 2), write data (WDATA1, 2), a write clock (WCLK1, 2), and a write enable (WR1, 2). The read port 33 receives a read address (RADDR), read data (RDATA), and a read clock (RCLK).

なお、図12に示すメモリの構成は、そのままAVメモリ32の構成として適用することができる。一方、管理メモリ35は、図12に示すメモリの構成である必要なく、1つの書き込みポート31と1つの読み出しポート33とを含むメモリであればよい。   The configuration of the memory shown in FIG. 12 can be applied as it is to the configuration of the AV memory 32. On the other hand, the management memory 35 does not have to have the memory configuration shown in FIG. 12 and may be a memory including one write port 31 and one read port 33.

書き込みアドレス(WADDR1、2)は、受信調整・解析部34がAVメモリ32に書き込んだAV情報80のAVメモリ32上の所在を示すものである。   The write address (WADDR1, 2) indicates the location on the AV memory 32 of the AV information 80 written to the AV memory 32 by the reception adjustment / analysis unit 34.

書き込みデータ(WDATA1、2)は、受信調整・解析部34がAVメモリ32に書き込んだAV情報80である。   The write data (WDATA1, 2) is AV information 80 written to the AV memory 32 by the reception adjustment / analysis unit 34.

書き込みクロック(WCLK1、2)は、受信調整・解析部34がAVメモリ32に書き込んだAV情報80に同期している受信仕様クロックである。   The write clock (WCLK 1, 2) is a reception specification clock synchronized with the AV information 80 written in the AV memory 32 by the reception adjustment / analysis unit 34.

書き込みイネーブル(WR1、2)は、書き込みデータ(WDATA1、2)をメモリに書き込むための信号である。例えば、書き込みイネーブルWRが0を示す場合、書き込みデータWDATAはメモリに書き込まれない。一方、書き込みイネーブルWRが1を示す場合、書き込みデータWDATAはメモリに書き込まれる。   The write enable (WR1, 2) is a signal for writing the write data (WDATA1, 2) into the memory. For example, when the write enable WR indicates 0, the write data WDATA is not written to the memory. On the other hand, when the write enable WR indicates 1, the write data WDATA is written to the memory.

読み出しアドレス(RADDR)は、送信調節部36がAVメモリ32から読み出すAV情報80のAVメモリ上の所在を示すものである。   The read address (RADDR) indicates the location on the AV memory of the AV information 80 that the transmission adjustment unit 36 reads from the AV memory 32.

読み出しデータ(RDATA)は、送信調節部36がAVメモリ32から読み出すAV情報80である。   The read data (RDATA) is AV information 80 that the transmission adjustment unit 36 reads from the AV memory 32.

読み出しクロック(RCLK)は、クロック生成部40が生成する送信仕様クロックである。   The read clock (RCLK) is a transmission specification clock generated by the clock generation unit 40.

受信調整・解析部34は、受信実クロックを用いてAV情報80を書き込みポート311を介してAVメモリ32に書き込む。また、バッファ送信制御部38は、送信実クロックを用いてAVメモリ32から読み出しポート33を介してAV情報80を読み出す。   The reception adjustment / analysis unit 34 writes the AV information 80 in the AV memory 32 via the write port 311 using the received real clock. Further, the buffer transmission control unit 38 reads the AV information 80 from the AV memory 32 via the read port 33 using the transmission real clock.

(1)前段に接続しているAV伝送装置10から、受信調整・解析部34に、図6および7に示す調整フレーム101、111aのように、受信したAV情報80をそのまま送信された場合、当該受信調整・解析部34は、受信した調整フレーム101、111aを順番にAVメモリ32に書き込み、そのAV情報80の所在を示すアドレスも順序通りにAVメモリ32に書き込む。   (1) When the received AV information 80 is transmitted as it is from the AV transmission device 10 connected in the previous stage to the reception adjustment / analysis unit 34 as in the adjustment frames 101 and 111a shown in FIGS. The reception adjustment / analysis unit 34 sequentially writes the received adjustment frames 101 and 111a to the AV memory 32, and also writes the address indicating the location of the AV information 80 to the AV memory 32 in order.

(2)また、図6に示す調整フレーム111、121を受信調整・解析部34が受信する場合、受信調整・解析部34は、調整フレーム111、121を順番にAVメモリ32に書き込み、そのAV情報80の所在を示すアドレスも順序通りにAVメモリ32に書き込む。   (2) When the reception adjustment / analysis unit 34 receives the adjustment frames 111 and 121 shown in FIG. 6, the reception adjustment / analysis unit 34 writes the adjustment frames 111 and 121 to the AV memory 32 in order. The address indicating the location of the information 80 is also written in the AV memory 32 in order.

(3)しかし、図7に示す調整フレーム121aを受信調整・解析部34が受信する場合、受信調整・解析部34は、調整データを本来の場所に戻して、元の場所に戻したAV情報80をAVメモリ32に書き込み、その調整データの所在を示すアドレスは、元の場所を示すアドレスに調整して、AVメモリ32に書き込む。このように、受信調整・解析部34は、AV情報80をAVメモリ32に書き込む際に、書き込みアドレスの調整を行う。   (3) However, when the reception adjustment / analysis unit 34 receives the adjustment frame 121a shown in FIG. 7, the reception adjustment / analysis unit 34 returns the adjustment data to the original location, and returns the AV information to the original location. 80 is written in the AV memory 32, and the address indicating the location of the adjustment data is adjusted to the address indicating the original location and written in the AV memory 32. As described above, the reception adjustment / analysis unit 34 adjusts the write address when writing the AV information 80 into the AV memory 32.

なお、ヘッダの情報はAVメモリ32に書き込まれない。ヘッダの情報は後述のように、受信調整・解析部34のレジスタに保存される。   The header information is not written to the AV memory 32. The header information is stored in a register of the reception adjustment / analysis unit 34 as described later.

一方、送信調節部36がAVメモリ32からAV情報80を読み出す場合も、送信調節部36は、読み出しアドレスの調整を行う場合がある。上記の(1)および(2)のように受信調整・解析部34が書き込んだAV情報80を送信調節部36が読み出す場合、送信調節部36は、アドレスの順番に従って、AVメモリ32からAV情報80を読み出す。しかし、上記の(3)のように受信調整・解析部34が書き込んだAV情報80を送信調節部36が読み出す場合、送信調節部36は、除外された空白情報を考慮して、元のAVフレーム120a、130aを復元するように、アドレスを調整して、AVメモリ32からAV情報80を読み出す。   On the other hand, even when the transmission adjustment unit 36 reads the AV information 80 from the AV memory 32, the transmission adjustment unit 36 may adjust the read address. When the transmission adjustment unit 36 reads the AV information 80 written by the reception adjustment / analysis unit 34 as in (1) and (2) above, the transmission adjustment unit 36 reads the AV information from the AV memory 32 according to the order of the addresses. 80 is read. However, when the transmission adjustment unit 36 reads the AV information 80 written by the reception adjustment / analysis unit 34 as described in (3) above, the transmission adjustment unit 36 considers the excluded blank information and considers the original AV. The AV information 80 is read from the AV memory 32 by adjusting the address so that the frames 120a and 130a are restored.

なお、AVメモリ32の容量が限られているため、受信調整・解析部34(送信調節部36)は、書き込み(読み出し)を最終アドレスまで行うと、書き込み(読み出し)を初期アドレスから再び始める。このように、アドレスは再び初期アドレスに戻るため、受信調整・解析部34は、まだ送信調節部36が読み出していないAV情報80の所在を示すアドレスに、新しいAV情報80の所在を書き込む可能性がある。従って、これを避けるために、本実施形態では、AVメモリ32の容量が十分に大きいものを使用する。   Since the capacity of the AV memory 32 is limited, the reception adjustment / analysis unit 34 (transmission adjustment unit 36) starts writing (reading) from the initial address again after writing (reading) to the final address. As described above, since the address returns to the initial address again, the reception adjustment / analysis unit 34 may write the location of the new AV information 80 to the address indicating the location of the AV information 80 that has not yet been read by the transmission adjustment unit 36. There is. Therefore, in order to avoid this, in the present embodiment, the AV memory 32 having a sufficiently large capacity is used.

ここで、AVメモリ32に蓄積されている蓄積データ(Si)は、まだ、読み出しされていないアドレスから、最後に書き込みが行われたアドレスまでを示すAV情報80である。   Here, the accumulated data (Si) accumulated in the AV memory 32 is AV information 80 indicating from an address that has not yet been read to an address at which writing was last performed.

なお、上記の(3)のように、受信調整・解析部34がアドレスを調整する場合があるため、受信調整・解析部34は、連続して全てのアドレスに書き込まない可能性がある。その場合、受信調整・解析部34がアドレスを書き込まないことは、その書き込みされなかったアドレスの場所に、空白情報があることを示す。しかし、受信調整・解析部34は、制御している書き込みポート311を介して、空白情報を示すアドレスを書き込む余裕がない場合がある。そのため、他の方法によって空白情報を示すアドレスを書き込む。一例として、空白情報を示すアドレスを書き込む方法を以下に示す。   Since the reception adjustment / analysis unit 34 may adjust the address as in (3) above, the reception adjustment / analysis unit 34 may not write continuously to all addresses. In this case, the fact that the reception adjustment / analysis unit 34 does not write an address indicates that there is blank information at the address where the address has not been written. However, the reception adjustment / analysis unit 34 may not have room to write an address indicating blank information via the controlled write port 311. Therefore, an address indicating blank information is written by another method. As an example, a method of writing an address indicating blank information is shown below.

まず、バッファ送信制御部38がスケジューラ制御部52から初期化命令を受信した際、バッファ送信制御部38は、AVメモリ32の全てのアドレスに、空白情報を示すアドレスを書き込みポート312から書き込む。そして、送信調節部36がAVメモリ32からAV情報80を読み出した直後、読み出したAV情報80を示すアドレスと同じアドレスに、バッファ送信制御部38は、書き込みポート312から空白情報を示すアドレスを書き込む。バッファ送信制御部38は、送信調節部36が行うAV情報80を示すアドレスの読み出しと、連続して、空白情報を示すアドレスの書き込みを行うため、バッファ送信制御部38は、書き込みポート312の書き込みクロックに、読み出しポート33と同じ送信仕様クロックを用いる。   First, when the buffer transmission control unit 38 receives an initialization command from the scheduler control unit 52, the buffer transmission control unit 38 writes addresses indicating blank information from the write port 312 to all addresses of the AV memory 32. Immediately after the transmission adjustment unit 36 reads the AV information 80 from the AV memory 32, the buffer transmission control unit 38 writes an address indicating blank information from the write port 312 to the same address as the address indicating the read AV information 80. . Since the buffer transmission control unit 38 reads the address indicating the AV information 80 performed by the transmission adjustment unit 36 and writes the address indicating the blank information continuously, the buffer transmission control unit 38 writes the address of the write port 312. The same transmission specification clock as that of the read port 33 is used as the clock.

なお、空白情報には水平同期信号(HDMI規格ではHSYNC)も含まれるが、HDMI規格では水平同期信号HSYNCの位置は決まっているため、全体制御部70は、この位置を求めることができる。そして、その求まった位置に水平同期信号を書き込む。なお、全体制御部70が水平同期信号を求めることに限るのではなく、例えば、受信調整・解析部34などが水平同期信号を求めてもよい。   The blank information includes a horizontal synchronization signal (HSYNC in the HDMI standard). Since the position of the horizontal synchronization signal HSYNC is determined in the HDMI standard, the overall control unit 70 can obtain this position. Then, a horizontal synchronization signal is written at the obtained position. The overall control unit 70 is not limited to obtaining the horizontal synchronization signal, but, for example, the reception adjustment / analysis unit 34 may obtain the horizontal synchronization signal.

なお、上述のように、AVメモリ32のAV情報80の所在を示すアドレスが最終アドレスになると、その次のアドレスは初期アドレスになる。本実施形態では、AVメモリ32のAV情報80を示す様々なアドレスの算出を行うが、説明の簡単化のため、アドレスの加算(例:+)または比較(例:>)などの数式は、最終アドレスが無限と仮定して算出する。なお、実際にアドレスを算出する場合は、最終アドレスが有限であるため、最終アドレスを考慮して加算や比較を行う必要がある。   As described above, when the address indicating the location of the AV information 80 in the AV memory 32 becomes the final address, the next address becomes the initial address. In the present embodiment, various addresses indicating the AV information 80 of the AV memory 32 are calculated. For simplicity of explanation, mathematical expressions such as address addition (for example, +) or comparison (for example:>) Calculated assuming that the final address is infinite. When the address is actually calculated, since the final address is finite, it is necessary to perform addition and comparison in consideration of the final address.

〔管理メモリ35の構成〕
管理メモリ35は、受信調整・解析部34がデータを調整して格納することがないため、書き込みと読み出しとは連続のアドレスで行われる。なお、受信調整・解析部34が管理メモリ35に書き込む情報は、管理情報である。
[Configuration of Management Memory 35]
In the management memory 35, since the reception adjustment / analysis unit 34 does not adjust and store data, writing and reading are performed with continuous addresses. The information written in the management memory 35 by the reception adjustment / analysis unit 34 is management information.

図13は、管理メモリ35に格納される管理情報を示す図である。管理情報は、DataStartAddrおよびDataSizeを含む。   FIG. 13 is a diagram showing management information stored in the management memory 35. The management information includes DataStartAddr and DataSize.

DataStartAddrは、AVフレーム内の1つの関連データの最初のアドレスを示すデータである。このDataStartAddrは、AVメモリ32の所在を示す。   DataStartAddr is data indicating the first address of one related data in the AV frame. This DataStartAddr indicates the location of the AV memory 32.

DataSizeは、AVメモリ32に格納された関連データの情報量である。なお、情報量の代わりに、例えばAV情報80の終了アドレスを用いてもよい。なお、DataStartAddrおよびDataSizeが示す情報量は、例えば画素単位であってもよい。   DataSize is the amount of information of related data stored in the AV memory 32. Note that, for example, the end address of the AV information 80 may be used instead of the information amount. The amount of information indicated by DataStartAddr and DataSize may be, for example, in units of pixels.

〔ヘッダの構成〕
上述のように、本発明では、受信したそのままのAV情報80のパケットデータ(AVフレーム)と異なる(1)新たなヘッダ、および(2)調整データがある。このため、受信調整・解析部34およびバッファ送信制御部38は、通常のパケットデータと、(1)および(2)のパケットデータと、を識別する必要がある。通常、パケットデータは、識別子を含む。従って、この識別子に上記(1)および(2)を示すパケットデータの種別を追加して識別すればよい。HDMI規格の場合、(1)および(2)を識別する情報を、例えば、Packet Type、またはPreambleに追加すれば良い。本実施形態では、一例としてPreambleを利用する場合を考える。
[Configuration of header]
As described above, in the present invention, there are (1) a new header and (2) adjustment data different from the packet data (AV frame) of the received AV information 80 as it is. Therefore, it is necessary for the reception adjustment / analysis unit 34 and the buffer transmission control unit 38 to distinguish between normal packet data and packet data (1) and (2). Usually, the packet data includes an identifier. Accordingly, it is only necessary to identify the identifier by adding the type of packet data indicating (1) and (2) above to this identifier. In the case of the HDMI standard, information for identifying (1) and (2) may be added to, for example, Packet Type or Preamble. In the present embodiment, a case where Preamble is used is considered as an example.

図14は、本実施形態に係る調整フレームを作成する際に追加するヘッダの構成を示す図である。ただし、図14の構成に限るものではない。また、ヘッダの作成方法は後述する。ヘッダは、Preamble、SourceAddr、StartFrameAddr、Size、およびSkipLinesから構成される。   FIG. 14 is a diagram illustrating a configuration of a header added when an adjustment frame according to the present embodiment is created. However, the configuration is not limited to that of FIG. The header creation method will be described later. The header includes Preamble, SourceAddr, StartFrameAddr, Size, and SkipLines.

Preambleは、元のAVフレームのデータ期間もしくは調整フレームのヘッダであることを示すものである。   Preamble indicates the data period of the original AV frame or the header of the adjustment frame.

SourceAddrは、どのAVデコーダ1020、他のAV伝送装置10または外部機器から出力されたAV情報80かを区別する識別子である。これは、後述のように、例えばどのAV情報80がAVメモリ32のどの領域に蓄積されているのかを区別するためである。例えば図3の事例では、AV再生機1dの受信ポート201は、AV再生機1aおよび1bのAV情報80aおよび80bを受信する。すなわち、AV再生機1dのバッファ301のAVメモリ32は、AV情報80aおよび80bの情報を保存しており、この区別をする必要があるため、SourceAddrを用いてAVメモリ32のどの領域にAV情報80aおよび80bの情報が保存されているのかを区別する。   SourceAddr is an identifier for distinguishing which AV decoder 1020, other AV transmission apparatus 10 or AV information 80 output from an external device. This is to distinguish which AV information 80 is stored in which area of the AV memory 32, for example, as will be described later. For example, in the case of FIG. 3, the reception port 201 of the AV player 1d receives the AV information 80a and 80b of the AV players 1a and 1b. That is, the AV memory 32 of the buffer 301 of the AV player 1d stores the AV information 80a and 80b information, and it is necessary to make a distinction between them, so in any area of the AV memory 32 using the SourceAddr, the AV information It is distinguished whether the information of 80a and 80b is stored.

StartFrameAddrは、調整前のAV情報80、つまりAVフレーム上の開始アドレスである。例えば、図7の調整フレーム121aは、調整前のAVフレーム120aの途中から抽出したAV情報80を含む。StartFrameAddrは、調整フレーム121aの最初のパケットデータが、調整前のAVフレーム120aのフレーム全体に対して、どの場所に存在していたのかを示すアドレスである。なお、StartFrameAddrが示すAV情報80は、画素単位ではなく、行単位であってもよい。   StartFrameAddr is the AV information 80 before adjustment, that is, the start address on the AV frame. For example, the adjustment frame 121a in FIG. 7 includes AV information 80 extracted from the middle of the AV frame 120a before adjustment. StartFrameAddr is an address indicating where the first packet data of the adjustment frame 121a is located with respect to the entire frame of the AV frame 120a before adjustment. Note that the AV information 80 indicated by StartFrameAddr may be in units of rows instead of in units of pixels.

Sizeは、これは実際に伝送する調整フレームの情報量である。すなわち、Sizeが調整フレームの大きさを表すものである。図6の事例では、調整フレーム111のSizeは、調整フレーム101のSizeより小さくなっている。なお、Sizeが示す情報量は、画素単位ではなく、行単位であってもよい。   Size is the amount of information of the adjustment frame that is actually transmitted. That is, Size represents the size of the adjustment frame. In the example of FIG. 6, the size of the adjustment frame 111 is smaller than the size of the adjustment frame 101. Note that the amount of information indicated by Size may be in units of rows instead of in units of pixels.

SkipLinesは、バッファ送信制御部38が調整フレームを作成する際に、除外した情報量を示すものである。例えば、図7のバッファ状態ph1aにおいて、調整フレーム111aを作成する際に、差分情報量Diffに相当する、除外したデータ124の情報量を示すものである。   SkipLines indicates the amount of information excluded when the buffer transmission control unit 38 creates an adjustment frame. For example, in the buffer state ph1a of FIG. 7, when the adjustment frame 111a is created, the information amount of the excluded data 124 corresponding to the difference information amount Diff is shown.

なお、ヘッダは、伝送する調整フレームの最初の部分に埋め込まれることが好ましい。もし、ヘッダを埋め込む場所に、既に伝送するデータがある場合、調整データの作成・移動と同様に、別の場所に移動(調整)する。その方法は後述する。   The header is preferably embedded in the first part of the adjustment frame to be transmitted. If there is already data to be transmitted at the place where the header is embedded, it is moved (adjusted) to another place in the same manner as the adjustment data is created / moved. The method will be described later.

また、ヘッダを調整フレームの最初に入れることにより、調整フレームの同期を行うことができる。ただし、この方法に限るものではなく、他の方法を用いてもよい。   Further, the adjustment frame can be synchronized by putting the header at the beginning of the adjustment frame. However, the method is not limited to this method, and other methods may be used.

なお、本実施形態では、簡単化のため、ヘッダを入れる場所を、調整フレームのStartHeaderAddr(固定値)とし、それ以前の場所(調整フレームの最初の場所からヘッダの最初の場所まで)には、空白情報のみを入れる。   In the present embodiment, for simplification, the place where the header is inserted is set to StartHeaderAddr (fixed value) of the adjustment frame, and the previous place (from the first place of the adjustment frame to the first place of the header) Enter only blank information.

〔調整データの構成〕
図15は、AVフレームから調整フレームを作成する際に、作成されることがある調整データの構成を示す図である。調整データは、Preamble、AdjSize、OriginalSize、AddrDiff、および元の情報から構成される。
[Configuration of adjustment data]
FIG. 15 is a diagram illustrating a configuration of adjustment data that may be generated when an adjustment frame is generated from an AV frame. The adjustment data includes Preamble, AdjSize, OriginalSize, AddrDiff, and original information.

Preambleは、Pleambleに続くデータが調整データであるかどうかを示すものである。   “Preamble” indicates whether the data following the preamble is adjustment data.

ここで、バッファ送信制御部38は、調整データを作成し、移動する際に、作成した調整データを全て1箇所に移動できない場合がある。その場合、バッファ送信制御部38は、調整データを分割して、複数の箇所に分割した調整データを移動させることがある。   Here, when the buffer transmission control unit 38 creates adjustment data and moves it, there are cases where all the created adjustment data cannot be moved to one place. In this case, the buffer transmission control unit 38 may divide the adjustment data and move the divided adjustment data to a plurality of locations.

AdjSizeは、作成された調整データの分割後の自身が有している情報量を示すものである。詳細は後述する。   AdjSize indicates the amount of information that the created adjustment data has after being divided. Details will be described later.

OriginalSizeは、作成された調整データ(分割前の調整データ)の情報量を示すものである。詳細は後述する。   OriginalSize represents the amount of information of the created adjustment data (adjustment data before division). Details will be described later.

AddrDiffは、元のAVフレームに対する調整フレームの開始アドレスと、元のAVフレームに対する調整データの開始アドレスとの差分アドレスを示すものであり、本実施形態では、
AddrDiff=調整フレームの開始アドレス−調整データの開始アドレス
とする。AddrDiffは、後述のように、受信調整・解析部34が調整データを元の場所に入れるために利用される。
AddrDiff indicates the difference address between the start address of the adjustment frame for the original AV frame and the start address of the adjustment data for the original AV frame. In this embodiment,
AddrDiff = Adjustment frame start address−Adjustment data start address. As described later, AddrDiff is used by the reception adjustment / analysis unit 34 to put the adjustment data in the original location.

元の情報は、調整データに含まれるAV情報80である。   The original information is AV information 80 included in the adjustment data.

〔受信調整・解析部34が使用するレジスタ〕
次に、受信調整・解析部34の具体的な処理の説明を行う。
[Register used by reception adjustment / analysis unit 34]
Next, specific processing of the reception adjustment / analysis unit 34 will be described.

図16は、受信調整・解析部34が使用する変数(レジスタ)を示す図である。受信調整・解析部34が使用する変数は、m個のWrAddr1、2…m、m個のStartAddr1、2…m、m個のManWrAddr1、2…m、m個のManStartAddr1、2…m、m個のFrameWrAddr1、2…m、m個のSourceAddr1、2…m、NumInput、RxSourceAddr、RxAdjMode、RxAdjAddr、RxSize、RxCnt、およびRxSkipLinesから構成される。なお、WrAddr1〜mは、同様の構成を備えているので、以下の説明では、WrAddr1〜mをWrAddrと称して説明する。また、同様に、StartAddr1〜mをStartAddrと、ManWrAddr1〜mをManWrAddrと、ManStartAddr1〜mをManStartAddrと、FrameWrAddr1〜mをFrameWrAddrと、SourceAddr1〜mをSourceAddrと称して説明する。   FIG. 16 is a diagram illustrating variables (registers) used by the reception adjustment / analysis unit 34. Variables used by the reception adjustment / analysis unit 34 are m WrAddr1, 2,... M, m StartAddr1, 2,... M, m ManWrAddr1, 2,. FrameWrAddr1, 2,... M, SourceAddr1, 2,. Since WrAddr1 to m have the same configuration, in the following description, WrAddr1 to m will be referred to as WrAddr. Similarly, StartAddr1 to m are StartAddr, ManWrAddr1 to m are ManWrAddr, ManStartAddr1 to m are ManStartAddr, FrameWrAddr1 to m are called, and ce

WrAddrは、受信調整・解析部34がAVメモリ32に書き込んだAV情報80のアドレスを示すものである。WrAddrがm個あるため、1つの受信ポート20が受信できるAV情報80はm個となる。   WrAddr indicates the address of the AV information 80 written to the AV memory 32 by the reception adjustment / analysis unit 34. Since there are m WrAddrs, the number of AV information 80 that can be received by one receiving port 20 is m.

従って、AVメモリ32は、最大m個まで分けられる。受信調整・解析部34は、それぞれのAV情報80を書き込むAVメモリ32の領域を決める。本実施形態では、1つのAV情報80に相当するAVメモリ32の領域を前述のDi+βにγを加えた量に設定する。ただし、これに限るものではない。また、γは、例えばγ=βにしてもよい。   Therefore, the AV memory 32 can be divided into a maximum of m pieces. The reception adjustment / analysis unit 34 determines an area of the AV memory 32 in which each AV information 80 is written. In the present embodiment, the area of the AV memory 32 corresponding to one AV information 80 is set to an amount obtained by adding γ to Di + β described above. However, the present invention is not limited to this. Further, γ may be, for example, γ = β.

そして、AVメモリ32が分割された結果、各WrAddr1、2…mは、分割されたAVメモリ32の或る1つの領域内を指すアドレスを示すものとなる。   As a result of the division of the AV memory 32, each WrAddr1, 2,... M indicates an address indicating a certain area of the divided AV memory 32.

StartAddrは、それぞれのWrAddrの最初のアドレスを示すものである。なお、それぞれのWrAddrの最後のアドレスは、次のStartAddr−1である。例えば、WrAddr2の最後のアドレスは、StartAddr3−1である。また、最後のWrAddrmの最後のアドレスを指定するようにしてもよいが、本実施形態では、AVメモリ32の最後のアドレスとする。   StartAddr indicates the first address of each WrAddr. Note that the last address of each WrAddr is the next StartAddr-1. For example, the last address of WrAddr2 is StartAddr3-1. Although the last address of the last WrAddrm may be designated, in this embodiment, it is the last address of the AV memory 32.

ManWrAddrは、受信調整・解析部34が管理メモリ35に書き込んだ管理情報のアドレスを示すものである。管理メモリ35は、AVメモリ32と同様にm個に分けられる。   ManWrAddr indicates the address of the management information written in the management memory 35 by the reception adjustment / analysis unit 34. As with the AV memory 32, the management memory 35 is divided into m pieces.

ManStartAddrは、それぞれのManWrAddrに対する最初のアドレスを示すものである。   ManStartAddr indicates the first address for each ManWrAddr.

FrameWrAddrは、WrAddrがAVメモリ32のAV情報80の場所を示すものであることに対し、AVフレームの場所を示すものである。   FrameWrAddr indicates the location of the AV frame, whereas WrAddr indicates the location of the AV information 80 in the AV memory 32.

SourceAddrは、AVメモリ32の分割した領域内に、どのAVデコーダ1020、AV伝送装置10または外部機器から出力されたAV情報80が書き込まれているのかを識別するためのものである。これは、図14のヘッダの構成で説明したSourceAddrと同じ値である。   The SourceAddr is for identifying which AV decoder 1020, the AV transmission device 10 or the AV information 80 output from the external device is written in the divided area of the AV memory 32. This is the same value as SourceAddr described in the header configuration of FIG.

NumInputは、変数m個の中で受信調整・解析部34が使用しているレジスタを示すものである。   NumInput indicates a register used by the reception adjustment / analysis unit 34 among m variables.

RxSourceAddrは、受信中のAV情報80のSourceAddrを示すものである。   RxSourceAddr indicates the SourceAddr of the AV information 80 being received.

RxAdjModeは、調整フレーム、またはAVフレームのどちらのAV情報80であるかを識別するものである。RxAdjModeが、1であれば調整フレームであり、0の場合、AVフレームである。   RxAdjMode identifies which of the AV information 80 is an adjustment frame or an AV frame. If RxAdjMode is 1, it is an adjustment frame, and if 0, it is an AV frame.

RxAdjAddrは、調整データを書き込むアドレスであり、詳細は後述する。   RxAdjAddr is an address at which adjustment data is written, and details will be described later.

RxSizeは、受信調整・解析部34が受信しているAVフレームまたは調整フレームの情報量を示すものである。   RxSize indicates the information amount of the AV frame or adjustment frame received by the reception adjustment / analysis unit 34.

RxCntは、受信するAVフレームおよび調整フレーム中のそれぞれのデータ順を、クロック順で示すものである。   RxCnt indicates the data order in the received AV frame and adjustment frame in clock order.

RxSkipLinesは、受信調整・解析部34が受信している調整フレームの作成時に除外された情報量を示すものである。   RxSkipLines indicates the amount of information excluded when the adjustment frame received by the reception adjustment / analysis unit 34 is created.

なお、受信調整・解析部34がAVフレームを受信している場合は、RxAdjAddrおよびRxSkipLinesは、使用しない。   Note that when the reception adjustment / analysis unit 34 receives an AV frame, RxAdjAddr and RxSkipLines are not used.

なお、StartAddr、ManStartAddr、NumInput、およびRxAdjModeの設定は、全体制御部70が行う。また、受信するAV情報80が1つのAVフレームのみであった場合、RxAdjMode=0に設定する。   Note that the overall control unit 70 sets StartAddr, ManStartAddr, NumInput, and RxAdjMode. If the received AV information 80 is only one AV frame, RxAdjMode = 0 is set.

その他レジスタの設定は、受信調整・解析部34が一括して初期化を行う。または、バッファ送信制御部38から初期化命令が来た際に、受信調整・解析部34が初期化を行う。このとき、バッファ送信制御部38は、m個の変数のうち、初期化される変数を指定する。全体制御部70および受信調整・解析部34が初期化を行うと、それぞれのレジスタは以下の値に初期化される。WrAddrは、StartAddrに、ManWrAddrは、ManStartAddrに設定される。FrameWrAddrおよびSourceAddrは0に設定される。RxSourceAddrは、無効値を示す−1に設定される。なお、詳細は後述するが、RxAdjAddr、RxSize、RxCntおよびRxSkipLinesの設定は受信調整・解析部34が行う。   Other register settings are collectively initialized by the reception adjustment / analysis unit 34. Alternatively, when an initialization command is received from the buffer transmission control unit 38, the reception adjustment / analysis unit 34 performs initialization. At this time, the buffer transmission control unit 38 designates a variable to be initialized among the m variables. When the overall control unit 70 and the reception adjustment / analysis unit 34 perform initialization, the respective registers are initialized to the following values. WrAddr is set to StartAddr, and ManWrAddr is set to ManStartAddr. FrameWrAddr and SourceAddr are set to 0. RxSourceAddr is set to −1 indicating an invalid value. Although details will be described later, the reception adjustment / analysis unit 34 sets RxAdjAddr, RxSize, RxCnt, and RxSkipLines.

〔受信調整・解析部34の状態遷移〕
図17は、受信調整・解析部34の状態遷移図を示す図である。
[State Transition of Reception Adjustment / Analysis Unit 34]
FIG. 17 is a diagram illustrating a state transition diagram of the reception adjustment / analysis unit 34.

受信調整・解析部34としては、wr_wait、wr_avframe、wr_start、wr_blank、wr_dataおよびwr_adj_dataの6つの状態がある。   The reception adjustment / analysis unit 34 has six states: wr_wait, wr_avframe, wr_start, wr_blank, wr_data, and wr_adj_data.

wr_waitは、受信調整・解析部34の初期状態を示すものである。受信調整・解析部34が受信開始信号(後述する)を受信すると、受信調整・解析部34は、wr_waitの状態からwr_avframeまたはwr_startの状態へ遷移する。   wr_wait indicates the initial state of the reception adjustment / analysis unit 34. When the reception adjustment / analysis unit 34 receives a reception start signal (described later), the reception adjustment / analysis unit 34 transitions from the wr_wait state to the wr_avframe or wr_start state.

wr_avframeは、受信調整・解析部34がAVフレームを受信している状態である。受信し終わると、受信調整・解析部34は、wr_waitの状態に遷移する。   wr_avframe is a state in which the reception adjustment / analysis unit 34 receives an AV frame. When reception is completed, the reception adjustment / analysis unit 34 transitions to a wr_wait state.

wr_startは、受信調整・解析部34がヘッダを受信する状態を示すものである。受信調整・解析部34がヘッダを受信し終わると、受信調整・解析部34は、wr_blankの状態に遷移する。   wr_start indicates a state in which the reception adjustment / analysis unit 34 receives a header. When the reception adjustment / analysis unit 34 finishes receiving the header, the reception adjustment / analysis unit 34 transitions to a state of wr_blank.

wr_blankは、受信調整・解析部34が空白情報を受信する状態を示すものである。受信調整・解析部34がwr_blankの状態において、空白情報でないデータを受信すると、受信調整・解析部34は、wr_startの状態において受信したヘッダのPreambleが示す情報によって、wr_dataもしくはwr_adj_dataの状態に遷移する。   wr_blank indicates a state in which the reception adjustment / analysis unit 34 receives blank information. When the reception adjustment / analysis unit 34 receives data that is not blank information in the wr_blank state, the reception adjustment / analysis unit 34 transitions to the wr_data or wr_adj_data state depending on the information indicated by the preamble of the header received in the wr_start state. .

wr_dataは、受信調整・解析部34が調整データではないAV情報80を受信する状態を示すものである。   The wr_data indicates a state in which the reception adjustment / analysis unit 34 receives AV information 80 that is not adjustment data.

wr_adj_dataは、受信調整・解析部34が調整データを受信する状態を示すものである。   wr_adj_data indicates a state in which the reception adjustment / analysis unit 34 receives adjustment data.

図16が複数のAV情報80のレジスタを保存することに対し、図17は受信調整・解析部34の状態遷移であり、この1つの状態遷移が1つのバッファ30が受信する全てのAV情報80に対応する。例えば、図3のAV再生機1dの受信ポート201では、AV再生機1aおよび1bの2つのAV情報80aおよび80bを受信しているため、図17の状態遷移図は、この2つのAV情報80aおよび80bの受信処理を行うことを示す。   While FIG. 16 stores a plurality of AV information 80 registers, FIG. 17 shows the state transition of the reception adjustment / analysis unit 34, and all the AV information 80 received by one buffer 30 in one state transition. Corresponding to For example, since the receiving port 201 of the AV player 1d in FIG. 3 receives the two AV information 80a and 80b of the AV players 1a and 1b, the state transition diagram of FIG. 17 shows the two AV information 80a. And 80b.

まず、受信調整・解析部34は、図14に示すヘッダのSourceAddrを確認することによって、受信ポート20を介して受信するAV情報80がどの外部機器から出力されたAV情報80であるかを知っている。初期状態では、受信調整・解析部34は、RxSourceAddrを無効値(本実施形態では「−1」)に設定する。また、状態は、待ち状態のwr_waitに設定される。   First, the reception adjustment / analysis unit 34 knows from which external device the AV information 80 received via the reception port 20 is the AV information 80 by checking the SourceAddr in the header shown in FIG. ing. In the initial state, the reception adjustment / analysis unit 34 sets RxSourceAddr to an invalid value (“−1” in the present embodiment). The state is set to wr_wait in the waiting state.

wr_waitは、受信調整・解析部34がAV情報80の受信開始を待つ状態である。受信調整・解析部34は、AV情報80に含まれる受信開始信号を受信すると、RxAdjMode=0の場合はwr_avframeに遷移し、RxAdjMode=1の場合はwr_startの状態に遷移する。   wr_wait is a state in which the reception adjustment / analysis unit 34 waits for the start of reception of the AV information 80. When receiving the reception start signal included in the AV information 80, the reception adjustment / analysis unit 34 transitions to wr_avframe when RxAdjMode = 0, and transitions to the wr_start state when RxAdjMode = 1.

wr_waitで、受信調整・解析部34が受信するAV情報80がRxAdjMode=0の場合、受信開始信号は、例えば垂直同期信号であってもよい。ただし、受信開始信号を垂直同期信号とする場合は、垂直同期信号は、映像データが含まれないAVフレームの最初の行に配置されることが好ましい。この場合、受信調整・解析部34は、垂直同期信号を受信すると、映像データを探し、映像データの受信を行う。受信調整・解析部34は、次の垂直同期信号を受信すると、WrAddrを更新すると共に、次に受信するAV情報80をAVメモリ32への書き込みを始める。   When the AV information 80 received by the reception adjustment / analysis unit 34 at wr_wait is RxAdjMode = 0, the reception start signal may be, for example, a vertical synchronization signal. However, when the reception start signal is a vertical synchronization signal, the vertical synchronization signal is preferably arranged in the first row of the AV frame that does not include video data. In this case, when receiving the vertical synchronization signal, the reception adjustment / analysis unit 34 searches for video data and receives the video data. When receiving the next vertical synchronization signal, the reception adjustment / analysis unit 34 updates WrAddr and starts writing the AV information 80 received next to the AV memory 32.

なお、受信調整・解析部34は、全体制御部70が有する情報を参照することによって、受信するAV情報80のフレーム情報(フレーム解像度や映像解像度を含む)を知ることができる。また、全体制御部70は、他のAV伝送装置10の全体制御部70と交換することによってフレーム情報を取得する。なお、受信調整・解析部34は、全体制御部70が有するフレーム情報を参照してもよいし、全体制御部70が取得したフレーム情報は、バッファ30i内のレジスタに保存しても良い。   The reception adjustment / analysis unit 34 can know the frame information (including frame resolution and video resolution) of the received AV information 80 by referring to the information held by the overall control unit 70. The overall control unit 70 acquires frame information by exchanging with the overall control unit 70 of another AV transmission apparatus 10. The reception adjustment / analysis unit 34 may refer to the frame information included in the overall control unit 70, or the frame information acquired by the overall control unit 70 may be stored in a register in the buffer 30i.

また、受信調整・解析部34は、全体制御部70が有する情報を参照することによって、受信するAV情報80がAVフレームまたは調整フレームであるのかを知ることができる。   In addition, the reception adjustment / analysis unit 34 can know whether the received AV information 80 is an AV frame or an adjustment frame by referring to the information held by the overall control unit 70.

また、受信調整・解析部34は、wr_avframeの状態に遷移する際に、WrAddrをStartAddrに、RxCntを0に設定する。   In addition, the reception adjustment / analysis unit 34 sets WrAddr to StartAddr and RxCnt to 0 when transitioning to the wr_avframe state.

wr_waitで、受信調整・解析部34が受信するAV情報80がRxAdjMode=1の場合、受信開始信号は、ヘッダのPreambleとする。受信調整・解析部34は、ヘッダのPreambleを受信すると、wr_startの状態に遷移する。前述のように、WrAddrは、StartAddrに設定されている。そこで、受信調整・解析部34は、wr_startの状態になる際に、WrAddrおよびRxCntを、
WrAddr=WrAddr+StartHeaderAddr
RxCnt=StartHeaderAddr
に設定する。
When the AV information 80 received by the reception adjustment / analysis unit 34 at wr_wait is RxAdjMode = 1, the reception start signal is set to the preamble of the header. When receiving the header preamble, the reception adjustment / analysis unit 34 transitions to a state of wr_start. As described above, WrAddr is set to StartAddr. Therefore, the reception adjustment / analysis unit 34 sets WrAddr and RxCnt to the state of wr_start.
WrAddr = WrAddr + StartHeaderAddr
RxCnt = StartHeaderAddr
Set to.

そして、受信調整・解析部34は、以降wr_waitの状態に戻るまで、後述の「例外」の場合を除いて、受信実クロック毎にWrAddr、FrameWrAddrおよびRxCntそれぞれを+1で更新する。   The reception adjustment / analysis unit 34 then updates WrAddr, FrameWrAddr, and RxCnt with +1 for each reception real clock, except for the case of “exception” described later, until returning to the state of wr_wait.

wr_avframeの状態では、受信開始信号を含め、受信したその後の全てのAV情報80をAVメモリ32に書き込みを始める。このため、受信調整・解析部34は、受信実クロック毎にWrAddrを+1で更新する。そして、1つ分のAVフレームを受信し終わると、つまり、次の垂直同期信号を受信すると、再びWrAddrをStartAddrに設定する。ここで、受信調整・解析部34にAV情報80が入力されなくなった場合、または全体制御部70からバッファ送信制御部38に受信終了命令があった場合、前述のように、全体制御部70および受信調整・解析部34は、図17に示すレジスタを初期化するとともに、受信調整・解析部34はwr_waitの状態に戻る。   In the state of wr_avframe, all subsequent AV information 80 including the reception start signal is written into the AV memory 32. Therefore, the reception adjustment / analysis unit 34 updates WrAddr with +1 for each reception real clock. When reception of one AV frame is completed, that is, when the next vertical synchronization signal is received, WrAddr is set to StartAddr again. Here, when the AV information 80 is no longer input to the reception adjustment / analysis unit 34 or when there is a reception end command from the overall control unit 70 to the buffer transmission control unit 38, as described above, the overall control unit 70 and The reception adjustment / analysis unit 34 initializes the register shown in FIG. 17, and the reception adjustment / analysis unit 34 returns to the state of wr_wait.

wr_startの状態では、受信調整・解析部34は、受信開始信号、つまりヘッダのPreambleを受信した後、続けてSourceAddrを受信し、これをRxSourceAddrに書き込む。   In the wr_start state, the reception adjustment / analysis unit 34 receives the reception start signal, that is, the preamble of the header, and then receives the SourceAddr and writes it to the RxSourceAddr.

受信調整・解析部34は、続けてStartFrameAddrを受信し、FrameWrAddrに書き込む。   The reception adjustment / analysis unit 34 subsequently receives StartFrameAddr and writes it to FrameWrAddr.

受信調整・解析部34は、続けてSizeを受信し、RxSizeに書き込む。   The reception adjustment / analysis unit 34 continuously receives Size and writes it to RxSize.

受信調整・解析部34は、続けてSkipLinesを受信し、RxSkipLinesに書き込む。   The reception adjustment / analysis unit 34 continuously receives SkipLines and writes it to RxSkipLines.

受信調整・解析部34は、ヘッダを受信し終わると、wr_blankの状態に遷移する。受信調整・解析部34は、ここでも、以降wr_waitの状態に戻るまで、以下の「例外」の場合を除いて、受信実クロック毎にFrameWrAddrを+1で更新する。   The reception adjustment / analysis unit 34 transitions to a wr_blank state after receiving the header. Here again, the reception adjustment / analysis unit 34 updates FrameWrAddr by +1 for each reception actual clock, except for the following “exception”, until the state returns to the state of wr_wait.

もしFrameWrAddrが、垂直同期信号が含まれる行の最後のアドレスを示す場合、受信調整・解析部34は、次の受信実クロックにおいて、
FrameWrAddr=FrameWrAddr+(SkipLinesの情報量分)+1
に設定する。
If FrameWrAddr indicates the last address of the row including the vertical synchronization signal, the reception adjustment / analysis unit 34 performs the following reception real clock:
FrameWrAddr = FrameWrAddr + (information amount of SkipLines) +1
Set to.

また、受信調整・解析部34は、WrAddrを、
WrAddr=WrAddr+(SkipLinesの情報量分)+1
に設定する。
In addition, the reception adjustment / analysis unit 34 sets WrAddr to
WrAddr = WrAddr + (SkipLines information amount) +1
Set to.

なお、HDMI規格では、垂直同期信号はVSYNC信号である。また、垂直同期信号が含まれる行の最後のアドレスにした理由は、空白情報に含まれる垂直同期信号もAVメモリ32に保存するためである。   In the HDMI standard, the vertical synchronization signal is a VSYNC signal. The reason why the last address of the row including the vertical synchronization signal is used is that the vertical synchronization signal included in the blank information is also stored in the AV memory 32.

なお、前述のように、AVメモリ32にAV情報80を保存しなかった部分には空白情報が書き込まれている。   As described above, blank information is written in a portion where the AV information 80 is not stored in the AV memory 32.

wr_blankの状態では、受信調整・解析部34は、空白情報ではないデータを受信するまで待機する。受信調整・解析部34は、受信する空白情報ではないデータのPreambleが調整データを示す場合は、wr_adj_dataの状態に遷移する。一方、受信調整・解析部34は、受信する空白情報ではないデータのPreambleが調整データ以外を示す場合は、wr_dataの状態に遷移する。なお、受信調整・解析部34は、wr_blankの状態にいる間、受信した垂直同期信号および水平同期信号を含む全ての空白情報をAVメモリ32のWrAddrに書き込む。   In the wr_blank state, the reception adjustment / analysis unit 34 stands by until data that is not blank information is received. The reception adjustment / analysis unit 34 transitions to a state of wr_adj_data when the preamble of data that is not blank information to be received indicates adjustment data. On the other hand, if the preamble of data that is not blank information to be received indicates data other than adjustment data, the reception adjustment / analysis unit 34 transitions to a state of wr_data. The reception adjustment / analysis unit 34 writes all blank information including the received vertical synchronization signal and horizontal synchronization signal to WrAddr of the AV memory 32 while in the wr_blank state.

wr_dataの状態では、受信調整・解析部34は、調整データではないAV情報80を受信し、映像データ期間、または関連データ期間が終わるまで、受信したAV情報80をWrAddrに書き込む。また、受信調整・解析部34がwr_dataの状態になると、受信調整・解析部34は、最初のWrAddrをManWrAddr(図13のDataStartAddr)に書き込み、ManWrAddrを+1で更新する。   In the state of wr_data, the reception adjustment / analysis unit 34 receives the AV information 80 that is not adjustment data, and writes the received AV information 80 to WrAddr until the video data period or the related data period ends. When the reception adjustment / analysis unit 34 is in the wr_data state, the reception adjustment / analysis unit 34 writes the first WrAddr to ManWrAddr (DataStartAddr in FIG. 13) and updates ManWrAddr with +1.

受信調整・解析部34は、映像データ期間、または関連データ期間が終わると、RxCntとRxSizeとの比較を行う。RxCnt=RxSizeの場合は、受信調整・解析部34が受信していたAVフレームもしくは調整フレームを全て受信したことを示す。そして、受信調整・解析部34は、次のAVフレーム、もしくは調整フレームを受信するため、wr_waitの状態に遷移する。RxCnt<RxSizeの場合は、受信調整・解析部34が受信しているAVフレームもしくは調整フレームのAV情報80の中で、まだ受信していないAV情報80が残っていることを示す。受信調整・解析部34は、残りのAV情報80を受信するため、wr_blankの状態に戻る。   The reception adjustment / analysis unit 34 compares RxCnt and RxSize when the video data period or the related data period ends. When RxCnt = RxSize, it indicates that the reception adjustment / analysis unit 34 has received all the AV frames or adjustment frames. Then, the reception adjustment / analysis unit 34 transitions to the wr_wait state in order to receive the next AV frame or adjustment frame. In the case of RxCnt <RxSize, it indicates that the AV information 80 that has not yet been received remains among the AV frames received by the reception adjustment / analysis unit 34 or the AV information 80 of the adjustment frame. The reception adjustment / analysis unit 34 returns to the state of wr_blank in order to receive the remaining AV information 80.

なお、関連データのデータ長は、データ長を示す識別子、もしくは関連データの末端を示す識別子から判断することができる。例えばHDMI規格の場合、関連データの終わりにある保護バンドであるTrailing Guard Bandを確認することによって、関連データの最後の位置が分かる。そして、受信調整・解析部34は、識別子からパケットデータの長さを判断し、パケットデータの長さを図13に示すDataSizeに書き込み、そのアドレスをManWrAddrに書き込んで、ManWrAddrを+1で更新する。   The data length of the related data can be determined from an identifier indicating the data length or an identifier indicating the end of the related data. For example, in the case of the HDMI standard, the last position of related data can be known by checking the Trailing Guard Band, which is a protection band at the end of the related data. Then, the reception adjustment / analysis unit 34 determines the length of the packet data from the identifier, writes the length of the packet data in DataSize shown in FIG. 13, writes the address in ManWrAddr, and updates ManWrAddr with +1.

wr_adj_dataの状態では、受信調整・解析部34は、調整データのPreambleの次にAdjSize、OriginalSize、AddrDiffを続けて受信する。後述のように、元のデータが分割されて送られることがあり、AdjSizeが今回送られた情報量である。OriginalSizeが分割前の情報量であるが、分割後の最初の部分以外は0に設定する。例えば元のデータが3つに分割される場合、最初に伝送する調整データのOriginalSizeは元のデータの情報量に設定され、以降に伝送する2つの調整データのOriginalSizeを0に設定する。なお、AdjSize、OriginalSize、AddrDiffの設定は、受信調整・解析部34が行う。   In the state of wr_adj_data, the reception adjustment / analysis unit 34 continuously receives AdjSize, OriginalSize, and AddrDiff after the preamble of the adjustment data. As will be described later, the original data may be divided and sent, and AdjSize is the amount of information sent this time. OriginalSize is the amount of information before division, but is set to 0 except for the first part after division. For example, when the original data is divided into three, the OriginalSize of the adjustment data to be transmitted first is set to the information amount of the original data, and the OriginalSize of the two adjustment data to be transmitted thereafter is set to 0. The reception adjustment / analysis unit 34 sets AdjSize, OriginalSize, and AddrDiff.

そして、受信調整・解析部34は、調整データを元の場所に戻すために、RxAdjAddrを、
RxAdjAddr=WrAddr+AddrDiff
に設定する。
Then, the reception adjustment / analysis unit 34 returns RxAdjAddr to return the adjustment data to the original location.
RxAdjAddr = WrAddr + AddrDiff
Set to.

上記計算を行った直後、OriginalSizeが0でない場合、受信調整・解析部34は、RxAdjAddrを管理メモリ35に保存する場所を示すManWrAddrを書き込んで、ManWrAddrを+1で更新する。それと共に、受信調整・解析部34は、RxAdjAddrを管理メモリ35のDataStartAddr(図13)に書き込む。   Immediately after performing the above calculation, if OriginalSize is not 0, the reception adjustment / analysis unit 34 writes ManWrAddr indicating the location where RxAdjAddr is stored in the management memory 35, and updates ManWrAddr with +1. At the same time, the reception adjustment / analysis unit 34 writes RxAdjAddr to DataStartAddr (FIG. 13) of the management memory 35.

次に、受信調整・解析部34は、OriginalSizeを管理メモリ35に保存する場所を示すManWrAddrを書き込んで、ManWrAddrを+1で更新する。それと共に、受信調整・解析部34は、OriginalSizeを管理メモリ35のDataSize(図13)に書き込む。   Next, the reception adjustment / analysis unit 34 writes ManWrAddr indicating the location where OriginalSize is stored in the management memory 35, and updates ManWrAddr with +1. At the same time, the reception adjustment / analysis unit 34 writes OriginalSize to DataSize (FIG. 13) of the management memory 35.

そして、上記設定以降、受信調整・解析部34は、受信クロックごとにRxAdjAddrを+1で更新する。   After the above setting, the reception adjustment / analysis unit 34 updates RxAdjAddr with +1 for each reception clock.

ここで、RxAdjAddrは元のデータの箇所(AVフレーム内の元のデータの位置)を指すため、次に元のデータを連続に受信するため、元のデータをRxAdjAddrに書き込むことにより、元のデータを元のところに書き込むことができる。例えば図8のデータ154の部分に含まれる関連データは、送信される調整フレーム151において、調整データとして別の箇所に移動されている。この調整フレーム151を受信する側は、RxAdjAddrに基づいて、移動された調整データを、元のデータの元の箇所に戻すことができる。   Here, since RxAdjAddr indicates the location of the original data (the position of the original data in the AV frame), the original data is continuously received next, so that the original data is written into RxAdjAddr by the original data. Can be written in place. For example, the related data included in the data 154 portion of FIG. 8 is moved to another location as adjustment data in the adjustment frame 151 to be transmitted. The side receiving this adjustment frame 151 can return the moved adjustment data to the original location of the original data based on RxAdjAddr.

受信調整・解析部34は、AdjSizeに基づいて受信している(分割後の)調整データを全てAVメモリ32に書き込むまで行う。そして、調整データの書き込みが終わると、受信調整・解析部34は、RxCnt=RxSizeの場合、wr_waitの状態に遷移する。一方、受信調整・解析部34は、RxCnt=RxSizeではない場合、wr_blankの状態に戻る。   The reception adjustment / analysis unit 34 performs the process until all the adjustment data received (after division) is written in the AV memory 32 based on AdjSize. When the adjustment data has been written, the reception adjustment / analysis unit 34 transitions to a wr_wait state when RxCnt = RxSize. On the other hand, if RxCnt = RxSize is not satisfied, the reception adjustment / analysis unit 34 returns to the state of wr_blank.

このように、受信調整・解析部34が受信したAV情報80にヘッダや調整データがあった場合でも、受信調整・解析部34は、AVメモリ32にAVデコーダ1020が出力した同じAV情報80を書き込むことができる。   As described above, even when the AV information 80 received by the reception adjustment / analysis unit 34 includes a header or adjustment data, the reception adjustment / analysis unit 34 stores the same AV information 80 output by the AV decoder 1020 in the AV memory 32. Can write.

〔バッファ送信制御部38が使用するレジスタ〕
次に、ヘッダおよび調整フレームの作成について図18および図19を用いて説明する。図18は、バッファ送信制御部38が使用する変数(レジスタ)を示す図である。
[Register used by buffer transmission control unit 38]
Next, creation of a header and an adjustment frame will be described with reference to FIGS. FIG. 18 is a diagram illustrating variables (registers) used by the buffer transmission control unit 38.

バッファ送信制御部38が使用する変数は、m個のRdAddr1、2…m、m個のStartAddr1、2…m、m個のManRdAddr1、2…m、m個のManStartAddr1、2…m、m個のFrameRdAddr1、2…m、m個のSourceAddr1、2…m、NumInput、TxSourceIdx、TxAdjMode、DivFlag、TxCnt、TxSize、TxDataStartAddr、TxDataSize、およびTxSkipLinesから構成される。なお、RdAddr1〜mは、同様の構成を備えているので、以下の説明では、RdAddr1〜mをRdAddrと称して説明する。また、同様に、ManRdAddr1〜mをManRdAddrとFrameRdAddr1〜mをFrameRdAddrと称して説明する。   Variables used by the buffer transmission control unit 38 are m RdAddr1, 2,... M, m StartAddr1, 2,... M, m ManRdAddr1, 2 .... m, m ManStartAddr1, 2 .... m, m. FrameRdAddr1,2 ... m, m SourceAddr1,2 ... m, NumInput, TxSourceIdx, TxAdjMode, DivFlag, TxCnt, TxSize, TxDataStartAddr, TxDataSize, and TxDataSize. Since RdAddr1 to m have the same configuration, RdAddr1 to m will be referred to as RdAddr in the following description. Similarly, ManRdAddr1 to m will be described as ManRdAddr and FrameRdAddr1 to m will be referred to as FrameRdAddr.

RdAddrは、バッファ送信制御部38がAVメモリ32から読み出すAV情報80のアドレスを示すものである。   RdAddr indicates the address of the AV information 80 that the buffer transmission control unit 38 reads from the AV memory 32.

ManRdAddrは、バッファ送信制御部38が管理メモリ35から読み出す管理情報のアドレスを示すものである。   ManRdAddr indicates the address of management information read from the management memory 35 by the buffer transmission control unit 38.

FrameRdAddrは、送信調節部36が送信する調整フレームの最初の情報が元のAVフレーム上のどの場所に存在したかを示すものである。   FrameRdAddr indicates where on the original AV frame the first information of the adjustment frame transmitted by the transmission adjustment unit 36 is located.

StartAddr、ManStartAddr、SourceAddrおよびNumInputは、図17に示すレジスタと同じレジスタである。また、これらのレジスタの初期化も、前述と同様である。TxAdjModeの設定は、全体制御部70が行う。なお、RxAdjMode=0であり、かつ、送信クロックが受信クロックに等しい場合(すなわち、送信する映像数が1つのみである場合)、TxAdjMode=0に設定してもよい。   StartAddr, ManStartAddr, SourceAddr and NumInput are the same registers as those shown in FIG. The initialization of these registers is the same as described above. The overall control unit 70 sets TxAdjMode. Note that when RxAdjMode = 0 and the transmission clock is equal to the reception clock (that is, when only one video is transmitted), TxAdjMode = 0 may be set.

TxSourceIdxは、変数m個の中でバッファ送信制御部38が使用しているレジスタを示すものである。   TxSourceIdx indicates a register used by the buffer transmission control unit 38 among the m variables.

DivFlagは、調整データを分割してそれぞれを複数の調整フレームに移動して送信する場合、分割された調整データが全て送信されたかどうかの判定を行うために用いられるものである。詳細は後述するが、分割された調整データのうち、最後の調整データを送信する場合、DivFlag=0に設定される。一方、分割された調整データが全て送信されていない場合(分割された調整データがまだ残っている場合)、DivFlag=1に設定される。   DivFlag is used to determine whether or not all of the divided adjustment data has been transmitted when the adjustment data is divided and moved to a plurality of adjustment frames for transmission. Although details will be described later, DivFlag = 0 is set when the last adjustment data among the divided adjustment data is transmitted. On the other hand, when all of the divided adjustment data has not been transmitted (when the divided adjustment data still remains), DivFlag = 1 is set.

StartFrameAddrは、送信調節部36が送信する調整フレームのヘッダの末端(SkipLines)の次の情報が元のAVフレーム上のどの場所に存在したか示すものである。   StartFrameAddr indicates where on the original AV frame the next information of the end (SkipLines) of the header of the adjustment frame transmitted by the transmission adjustment unit 36 exists.

TxCntは、送信するAVフレームおよび調整フレーム中のそれぞれのデータ順を、クロック順で示すものである。   TxCnt indicates the data order in the transmitted AV frame and adjustment frame in clock order.

TxSizeは、送信調節部36が送信する調整フレームの情報量を示すものである。   TxSize indicates the information amount of the adjustment frame transmitted by the transmission adjustment unit 36.

TxDataStartAddrは、AVメモリ32の、送信する次の関連データのアドレスである。   TxDataStartAddr is the address of the next related data to be transmitted in the AV memory 32.

TxDataSizeは、次に送る調整データの情報量である。   TxDataSize is the amount of information of adjustment data to be sent next.

TxSkipLinesは、除外する情報量(行数)である。   TxSkipLines is the amount of information (number of rows) to be excluded.

図18は複数のAV情報80のレジスタを保存することに対し、図19はバッファ送信制御部38の状態遷移であり、図17の状態遷移と同様に、この1つの状態遷移が、1つのバッファが受信する全てのAV情報80に対応する。   FIG. 18 stores a plurality of AV information 80 registers, while FIG. 19 shows the state transition of the buffer transmission control unit 38. Like the state transition of FIG. 17, this one state transition is one buffer. Corresponds to all AV information 80 received.

〔バッファ送信制御部38の状態遷移〕
図19は、バッファ送信制御部38の状態遷移を示す図である。バッファ送信制御部38は、rd_wait、rd_avframe、rd_start、rd_blank、rd_dataおよびrd_adj_dataの6つの状態がある。
[State Transition of Buffer Transmission Control Unit 38]
FIG. 19 is a diagram illustrating a state transition of the buffer transmission control unit 38. The buffer transmission control unit 38 has six states of rd_wait, rd_avframe, rd_start, rd_blank, rd_data, and rd_adj_data.

rd_waitは、バッファ送信制御部38の初期状態を示すものである。バッファ送信制御部38がスケジューラ制御部52から送信開始命令を受信すると、バッファ送信制御部38は、rd_waitの状態からrd_avframeまたはrd_startの状態へ遷移する。   rd_wait indicates the initial state of the buffer transmission control unit 38. When the buffer transmission control unit 38 receives a transmission start command from the scheduler control unit 52, the buffer transmission control unit 38 transitions from the rd_wait state to the rd_avframe or rd_start state.

rd_avframeはバッファ送信制御部38がAVフレームを送信する状態である。送信し終わると、バッファ送信制御部38は、rd_waitの状態に遷移する。   rd_avframe is a state in which the buffer transmission control unit 38 transmits an AV frame. When the transmission is completed, the buffer transmission control unit 38 transitions to the rd_wait state.

rd_startは、バッファ送信制御部38が送信調節部36に命令し、送信調節部36がヘッダをスイッチ54へ送信する状態を示すものである。送信調節部36がヘッダを送信し終わると、バッファ送信制御部38は、rd_blankの状態に遷移する。   rd_start indicates a state in which the buffer transmission control unit 38 instructs the transmission adjustment unit 36 and the transmission adjustment unit 36 transmits a header to the switch 54. When the transmission adjustment unit 36 finishes transmitting the header, the buffer transmission control unit 38 transitions to the rd_blank state.

rd_blankは、バッファ送信制御部38が送信調節部36に命令し、送信調節部36が空白情報を送信する状態を示すものである。バッファ送信制御部38がrd_blankの状態において、送信調節部36が空白情報でないデータを送信すると、バッファ送信制御部38は、rd_startの状態において送信調節部36が送信したヘッダのPreambleが示す情報によって、rd_dataもしくはrd_adj_dataの状態に遷移する。   rd_blank indicates a state in which the buffer transmission control unit 38 instructs the transmission adjustment unit 36 and the transmission adjustment unit 36 transmits blank information. When the buffer transmission control unit 38 transmits data that is not blank information when the buffer transmission control unit 38 is in the rd_blank state, the buffer transmission control unit 38 uses the information indicated by the preamble of the header transmitted by the transmission adjustment unit 36 in the rd_start state. Transition to the state of rd_data or rd_adj_data.

rd_dataは、バッファ送信制御部38が送信調節部36に命令し、送信調節部36が調整データではないAV情報80を送信する状態である。   rd_data is a state in which the buffer transmission control unit 38 instructs the transmission adjustment unit 36, and the transmission adjustment unit 36 transmits AV information 80 that is not adjustment data.

rd_adj_dataは、バッファ送信制御部38が送信調節部36に命令し、送信調節部36が調整データを送信する状態である。   rd_adj_data is a state in which the buffer transmission control unit 38 instructs the transmission adjustment unit 36 and the transmission adjustment unit 36 transmits adjustment data.

初期状態では、バッファ送信制御部38は、TxSourceAddrを無効値(本実施形態では「−1」)に設定する。また、バッファ送信制御部38は、状態を待ち状態のrd_waitに設定する。そして、バッファ送信制御部38は、スケジューラ制御部52からの送信開始命令を受信すると、TxAdjMode=0の場合、rd_avframeの状態に遷移する。一方、TxAdjMode=1の場合、rd_startの状態に遷移する。なお、TxAdjMode=0の場合、AVフレームのみが連なる1つの映像のみを伝送する。一方、TxAdjMode=1の場合、調整フレームを含む複数の映像を伝送することになり、これらをそれぞれスケジュール周期TS中に順番に伝送する(図10に示すS30〜S60の処理を行う)。   In the initial state, the buffer transmission control unit 38 sets TxSourceAddr to an invalid value (“−1” in the present embodiment). In addition, the buffer transmission control unit 38 sets the state to rd_wait in the wait state. When receiving the transmission start command from the scheduler control unit 52, the buffer transmission control unit 38 transitions to the rd_avframe state when TxAdjMode = 0. On the other hand, when TxAdjMode = 1, the state transits to the rd_start state. When TxAdjMode = 0, only one video in which only AV frames are connected is transmitted. On the other hand, in the case of TxAdjMode = 1, a plurality of videos including the adjustment frame are transmitted, and these are sequentially transmitted during the schedule period TS (the processes of S30 to S60 shown in FIG. 10 are performed).

バッファ送信制御部38は、rd_avframeの状態に遷移するとともに、RdAddrをStartAddrに設定する。そして、バッファ送信制御部38は、rd_avframeの状態において、RdAddrが指定するAVメモリ32上にあるAVフレームのAV情報80を順番に送信するように送信調節部36に命令する。このため、送信クロック毎にRdAddrを+1で更新する。そして、バッファ送信制御部38は、1つ分のAVフレームを送信し終わると、再びRdAddrをStartAddrに設定する。AVフレームのAV情報80の送信は、AVメモリ32に1つの映像が有するAVフレームのAV情報80がなくなる、または全体制御部70からバッファ送信制御部38に送信終了の命令があるまで行う(図10に示すS27の送信終了待ちの状態)。送信が終了すると同時に、バッファ送信制御部38は、NumInputおよびTxSourceIdxを0に設定し、rd_waitの状態に戻る。この際、スケジューラ制御部52はS27からS70に遷移する。   The buffer transmission control unit 38 changes to the rd_avframe state and sets RdAddr to StartAddr. Then, the buffer transmission control unit 38 instructs the transmission adjustment unit 36 to sequentially transmit the AV information 80 of the AV frames on the AV memory 32 specified by RdAddr in the state of rd_avframe. For this reason, RdAddr is updated by +1 for each transmission clock. Then, when the transmission of one AV frame is completed, the buffer transmission control unit 38 sets RdAddr to StartAddr again. The AV information 80 of the AV frame is transmitted until there is no AV information 80 of the AV frame included in one video in the AV memory 32 or until there is a transmission end command from the overall control unit 70 to the buffer transmission control unit 38 (see FIG. 10 in the state of waiting for the end of transmission in S27 shown in FIG. At the same time as the transmission ends, the buffer transmission control unit 38 sets NumInput and TxSourceIdx to 0, and returns to the rd_wait state. At this time, the scheduler control unit 52 transitions from S27 to S70.

バッファ送信制御部38は、rd_startの状態になると、RdAddrが指定するAVメモリ32上にあるAV情報80を順番に送信するように送信調節部36に命令する。このため、バッファ送信制御部38は、送信クロック毎にRdAddrを+1で更新する。送信の修了は、AVメモリ32にAV情報80がなくなる、または全体制御部70から命令があるまでに行う。送信が修了する際、バッファ送信制御部38は、NumInputおよびTxSourceIdxの更新を行い、rd_waitの状態に戻る。また、この際、S160で求まった情報量はTxSizeに設定され、S160で求まった除外する行数はTxSkipLinesに設定される。なお、バッファ送信制御部38は、rd_startの状態からrd_waitの状態に戻るまでに、1つの調整フレームの送信処理を行う。AVフレームを送信する場合(TxAdjMode=0の場合)、バッファ送信制御部38は、rd_avframeの状態からrd_waitの状態に戻るまでに、複数のAVフレームの送信処理を行う。そのため、1つの調整フレームの送信処理時間(rd_startの状態からrd_waitの状態に戻るまでの時間)より、複数のAVフレームの送信処理時間(rd_avframeの状態からrd_waitの状態に戻るまでの時間)の方が処理時間が長くなる。   When the buffer transmission control unit 38 enters the rd_start state, the buffer transmission control unit 38 instructs the transmission adjustment unit 36 to sequentially transmit the AV information 80 on the AV memory 32 specified by RdAddr. For this reason, the buffer transmission control unit 38 updates RdAddr with +1 for each transmission clock. The transmission is completed until the AV information 80 disappears in the AV memory 32 or an instruction is issued from the overall control unit 70. When the transmission is completed, the buffer transmission control unit 38 updates NumInput and TxSourceIdx, and returns to the rd_wait state. At this time, the information amount obtained in S160 is set to TxSize, and the number of excluded lines obtained in S160 is set to TxSkipLines. Note that the buffer transmission control unit 38 performs transmission processing of one adjustment frame from the rd_start state to the rd_wait state. When transmitting an AV frame (when TxAdjMode = 0), the buffer transmission control unit 38 performs transmission processing of a plurality of AV frames before returning from the rd_avframe state to the rd_wait state. Therefore, the transmission processing time of a plurality of AV frames (the time from the rd_avframe state to the return to the rd_wait state) is longer than the transmission processing time of one adjustment frame (the time from the rd_start state to the return to the rd_wait state). Increases processing time.

一方、バッファ送信制御部38は、rd_startの状態になると共に、TxCnt=0、DivFlag=0に設定する。そして、以降バッファ送信制御部38がrd_waitに戻るまで、後述の「例外」の場合を除いて、バッファ送信制御部38は、送信実クロック毎にRdAddr、FrameRdAddrおよびTxCntを+1で更新する。   On the other hand, the buffer transmission control unit 38 enters the state of rd_start and sets TxCnt = 0 and DivFlag = 0. Then, until the buffer transmission control unit 38 returns to rd_wait, the buffer transmission control unit 38 updates RdAddr, FrameRdAddr, and TxCnt with +1 for each transmission real clock except in the case of “exception” described later.

バッファ送信制御部38がrd_startの状態になると、送信調節部36に対して、AVメモリ32からAV情報80を読み出して、スイッチ54へ送信するように命令する。送信調節部36が送信するAV情報80は、最初は空白情報である。その後、TxCntがStartHeaderAddrに等しくなると、送信調節部36は、ヘッダのPreambleをスイッチ54へ送信する。その次に、送信調節部36は、SourceAddr、StartFrameAddr、Size、SkipLinesを順にスイッチ54へ送信する。送信調節部36がヘッダをスイッチ54へ送信し終わると、バッファ送信制御部38は、rd_blankの状態に遷移する。   When the buffer transmission control unit 38 enters the rd_start state, it instructs the transmission adjustment unit 36 to read the AV information 80 from the AV memory 32 and transmit it to the switch 54. The AV information 80 transmitted by the transmission adjusting unit 36 is initially blank information. Thereafter, when TxCnt becomes equal to StartHeaderAddr, the transmission adjustment unit 36 transmits the preamble of the header to the switch 54. Next, the transmission adjustment unit 36 sequentially transmits SourceAddr, StartFrameAddr, Size, and SkipLines to the switch 54. When the transmission adjusting unit 36 finishes transmitting the header to the switch 54, the buffer transmission control unit 38 transitions to the rd_blank state.

また、送信調節部36がヘッダを送信すると共に、バッファ送信制御部38は、送信するヘッダの情報に基づいて、以下のレジスタを設定する。バッファ送信制御部38は、TxSourceIdxに対応するSourceAddriにヘッダのSourceAddrの情報を、StartFrameAddrにFrameRdAddr+FrameRdAddrOffsetを、TxSizeにヘッダのSizeの情報を、TxSkipLinesにヘッダのSkipLinesを設定する。   In addition, the transmission adjustment unit 36 transmits a header, and the buffer transmission control unit 38 sets the following registers based on information on the header to be transmitted. The buffer transmission control unit 38 sets SourceAddr information of the header in SourceAddri corresponding to TxSourceIdx, FrameRdAddr + FrameRdAddrOffset in L, and s in the header.

ここで、StartFrameAddrは、バッファ送信制御部38がrd_startからrd_blankの状態に入る際のFrameRdAddrの値である。バッファ送信制御部38は、StartFrameAddrの設定をrd_blankの状態になる前に行う。そのため、バッファ送信制御部38は、そのオフセット分を追加する必要がある。そのオフセット分を示すものがFrameRdAddrOffset(固定値)である。つまり、FrameRdAddrOffsetは、StartHeaderAddrにヘッダの情報量分を示すアドレスを追加したものである。   Here, StartFrameAddr is a value of FrameRdAddr when the buffer transmission control unit 38 enters the rd_blank state from rd_start. The buffer transmission control unit 38 sets StartFrameAddr before the rd_blank state is set. Therefore, the buffer transmission control unit 38 needs to add the offset. A value indicating the offset is FrameRdAddrOffset (fixed value). That is, FrameRdAddrOffset is obtained by adding an address indicating the amount of header information to StartHeaderAddr.

なお、バッファ送信制御部38がFrameRdAddrを更新している際、以下の確認を行う。   In addition, when the buffer transmission control part 38 is updating FrameRdAddr, the following confirmation is performed.

もしFrameRdAddrが垂直同期信号が含まれている行の最後のアドレスを示す場合、バッファ送信制御部38は、次の送信実クロックにおいて、FrameRdAddrを、
FrameRdAddr=FrameRdAddr+(SkipLinesの情報量分)+1
に設定する。
If FrameRdAddr indicates the last address of the row including the vertical synchronization signal, the buffer transmission control unit 38 sets FrameRdAddr in the next transmission real clock.
FrameRdAddr = FrameRdAddr + (for the amount of information of SkipLines) +1
Set to.

また、バッファ送信制御部38は、RdAddrを、
RdAddr=RdAddr+(SkipLinesの情報量分)+1
に設定する。
Further, the buffer transmission control unit 38 sets RdAddr to
RdAddr = RdAddr + (SkipLines information amount) +1
Set to.

rd_blankの状態では、送信調節部36は、まずHDMI規格において定められている、送信するために最低必要となる空白情報を、AVメモリ32から読み出して送る。そして、空白情報を送信している間、DivFlag=0の場合、バッファ送信制御部38は、管理メモリ35のManRdAddrからDataStartAddrを読み込み、その情報をTxDataStartAddrに書き込み、ManWrAddrを+1で更新する。   In the rd_blank state, the transmission adjustment unit 36 first reads from the AV memory 32 and transmits the blank information required for transmission, which is defined in the HDMI standard. If DivFlag = 0 while transmitting blank information, the buffer transmission control unit 38 reads DataStartAddr from ManRdAddr of the management memory 35, writes the information to TxDataStartAddr, and updates ManWrAddr with +1.

次に、バッファ送信制御部38は、管理メモリ35のManRdAddrからDataSizeを読み込み、その情報をTxDataSizeに書き込み、ManWrAddrを+1で更新する。バッファ送信制御部38は、送信調節部36が最低限必要となる空白情報を送信した後、常に以下の処理を行う。   Next, the buffer transmission control unit 38 reads DataSize from ManRdAddr in the management memory 35, writes the information in TxDataSize, and updates ManWrAddr with +1. The buffer transmission control unit 38 always performs the following processing after the transmission adjusting unit 36 transmits the minimum necessary blank information.

RdAddrが、送信調節部が送信する空白情報ではないデータを示すアドレスになると、バッファ送信制御部38は、rd_dataの状態に遷移する。   When RdAddr becomes an address indicating data that is not blank information transmitted by the transmission adjustment unit, the buffer transmission control unit 38 transitions to the state of rd_data.

また、バッファ送信制御部38は、TxDataStartAddrとRdAddrの比較を常に行う。TxDataStartAddr=RdAddrの場合、バッファ送信制御部38は、rd_dataの状態に遷移する。   Further, the buffer transmission control unit 38 always compares TxDataStartAddr and RdAddr. When TxDataStartAddr = RdAddr, the buffer transmission control unit 38 transitions to the state of rd_data.

TxDataStartAddr<RdAddrで、且つ、TxDataStartAddrとRdAddrとの差分の情報量が、映像データを伝送するまで十分の余裕がある場合、バッファ送信制御部38は、rd_adj_dataの状態に遷移する。すなわち、映像データの位置はフレーム内で決まっており、かつ、映像データの位置は移動されないことから、調整データとして送るデータがあった場合(TxDataStartAddr<RdAddr)、現在のアドレス(RdAddr)から映像データを送るまでに余裕がある場合、この余裕がある期間で調整データを送る。なお、HDMI規格の場合、その十分の余裕とは、(Preamble+1つのデータパケット+最低必要な空白情報)の情報量の大きさである。   When TxDataStartAddr <RdAddr and the amount of information of the difference between TxDataStartAddr and RdAddr has a sufficient margin until video data is transmitted, the buffer transmission control unit 38 transitions to a state of rd_adj_data. That is, since the position of the video data is determined within the frame and the position of the video data is not moved, when there is data to be sent as adjustment data (TxDataStartAddr <RdAddr), the video data from the current address (RdAddr) If there is a margin before sending the adjustment data, the adjustment data is sent in a period with this margin. In the case of the HDMI standard, the sufficient margin is the amount of information of (Preamble + 1 data packet + minimum necessary blank information).

また、バッファ送信制御部38は、TxCnt=TxSizeになると、rd_waitの状態に戻る。   Further, when TxCnt = TxSize, the buffer transmission control unit 38 returns to the rd_wait state.

rd_dataの状態では、バッファ送信制御部38は、映像データまたは関連データを送信調節部36が全て送信するまでRdAddrから情報を読み出す。送信調節部36が映像データまたは関連データを送信し終わると、バッファ送信制御部38は、TxCnt=TxSizeの場合、rd_waitの状態に遷移する。一方、バッファ送信制御部38は、TxCnt=TxSizeではない場合、rd_blankの状態に戻る。なお、映像データの場合、情報量は決まっている。また、関連データの場合、情報量はTxDataSizeである。   In the state of rd_data, the buffer transmission control unit 38 reads information from RdAddr until the transmission adjustment unit 36 transmits all video data or related data. When the transmission adjustment unit 36 finishes transmitting the video data or the related data, the buffer transmission control unit 38 transitions to the rd_wait state when TxCnt = TxSize. On the other hand, when TxCnt = TxSize is not satisfied, the buffer transmission control unit 38 returns to the state of rd_blank. In the case of video data, the amount of information is fixed. In the case of related data, the information amount is TxDataSize.

rd_adj_dataの状態では、バッファ送信制御部38は、調整フレームを作成する。   In the state of rd_adj_data, the buffer transmission control unit 38 creates an adjustment frame.

まず、バッファ送信制御部38は、映像データまたは関連データの伝送が始まるまでにある空白情報の情報量を求める。そして、空白情報の情報量から、どれだけの調整データの情報量が伝送可能なのかを求める。例えば、バッファ送信制御部38は、(伝送する調整データのPreambleの情報量+調整データの情報量+調整データとその他のデータとの間に必要な空白情報の情報量)を算出して調整データの情報量を求める。   First, the buffer transmission control unit 38 obtains the amount of blank information before transmission of video data or related data starts. Then, the amount of adjustment data that can be transmitted is determined from the amount of blank information. For example, the buffer transmission control unit 38 calculates (preamble information amount of adjustment data to be transmitted + information amount of adjustment data + information amount of blank information necessary between adjustment data and other data) to adjust the adjustment data. Find the amount of information.

そして、調整データを1つの調整フレームで伝送できない場合、バッファ送信制御部38は、調整データを分割して、分割した調整データを複数の調整フレームに埋め込んで伝送を行う。分割されたそれぞれの調整フレームを送信する際、以下の順でそれぞれの変数を設定する。   When the adjustment data cannot be transmitted in one adjustment frame, the buffer transmission control unit 38 divides the adjustment data and embeds the divided adjustment data in a plurality of adjustment frames for transmission. When transmitting each divided adjustment frame, each variable is set in the following order.

バッファ送信制御部38は、AddrDiffを、
1)AddrDiff=TxDataStartAddr−RdAddr
に設定する。
The buffer transmission control unit 38 sets AddrDiff to
1) AddrDiff = TxDataStartAddr−RdAddr
Set to.

次に、バッファ送信制御部38は、
2.1)DivFlag=0の場合、OriginalSize=TxDataSize(分割された調整データを送信する最初の調整フレームを送信する場合)
2.2)DivFlag=1の場合、OriginalSize=0
に設定する。
Next, the buffer transmission control unit 38
2.1) When DivFlag = 0, OriginalSize = TxDataSize (when transmitting the first adjustment frame for transmitting the divided adjustment data)
2.2) When DivFlag = 1, OriginalSize = 0
Set to.

そして、バッファ送信制御部38は、
3.1)伝送可能な情報量がTxDataSize以上の場合(これが分割された調整データを送信する最後の調整フレームを送信する場合)、
AdjSize=TxDataSize
DivFlag=0
に設定する。
3.2)一方、伝送可能な情報量がTxDataSizeより小さい場合(分割された調整データを送信する調整フレームがまだ残っている場合)、バッファ送信制御部38は、
AdjSize=伝送可能な情報量
DivFlag=1
に設定する。
Then, the buffer transmission control unit 38
3.1) When the amount of information that can be transmitted is equal to or greater than TxDataSize (when this is the last adjustment frame for transmitting divided adjustment data),
AdjSize = TxDataSize
DivFlag = 0
Set to.
3.2) On the other hand, when the amount of information that can be transmitted is smaller than TxDataSize (when the adjustment frame for transmitting the divided adjustment data still remains), the buffer transmission control unit 38
AdjSize = Amount of information that can be transmitted DivFlag = 1
Set to.

なお、後述のように、TxDataStartAddr、RdAddr、TxDataSizeは調整データの送信中、または送信後に更新される。   As will be described later, TxDataStartAddr, RdAddr, and TxDataSize are updated during or after transmission of adjustment data.

ここで、具体的な例として、1000画素(TxDataSize=1000)を調整データで送るとする。初期状態では、DivFlag=0である。さらに、最初の調整フレームで300画素が伝送可能とする。   Here, as a specific example, assume that 1000 pixels (TxDataSize = 1000) are sent as adjustment data. In the initial state, DivFlag = 0. Further, 300 pixels can be transmitted in the first adjustment frame.

この場合、2.1)でOriginalSize=1000に設定され、3.2)でAdjSize=300、DivFlag=1に設定される。調整フレーム送信後、TxDataSize=1000−300=700となる。   In this case, OriginalSize = 1000 is set in 2.1), and AdjSize = 300 and DivFlag = 1 are set in 3.2). After the adjustment frame is transmitted, TxDataSize = 1000−300 = 700.

そして、次の調整フレームでは500画素が伝送可能とする。この場合、2.2)でOriginalSize=0となり、3.2)でAdjSize=500、DivFlag=1に設定される。調整フレーム送信後、TxDataSize=700−500=200となる。   In the next adjustment frame, 500 pixels can be transmitted. In this case, OriginalSize = 0 in 2.2), and AdjSize = 500 and DivFlag = 1 are set in 3.2). After the adjustment frame is transmitted, TxDataSize = 700−500 = 200.

さらに、次の調整フレームでは400画素が伝送可能とする。この場合、2.2)でOriginalSize=0となり、3.1)でAdjSize=200、DivFlag=0に設定される、分割された最後の調整フレームとなる。また、DivFlag=0となるため、次の調整データを送る際、最初の調整フレームがこの調整データの最初の調整フレームであることを指定する。   Furthermore, 400 pixels can be transmitted in the next adjustment frame. In this case, OriginalSize = 0 in 2.2) and AdjSize = 200 and DivFlag = 0 are set in 3.1), which is the last divided adjustment frame. Also, since DivFlag = 0, when the next adjustment data is sent, it is specified that the first adjustment frame is the first adjustment frame of this adjustment data.

このように、バッファ送信制御部38は、調整データが分割されない場合、OriginalSizeを、TxDataSizeに設定する。あるいは、バッファ送信制御部38は、分割した調整データを含む最初に送信される調整フレームにおいて、OriginalSizeをTxDataSizeに設定する。分割した調整データを含む2番目以降に送信される調整フレームでは、バッファ送信制御部38は、OriginalSizeを0に設定する。そのための管理にDivFlagの変数を上記のように用いる。そして、この調整フレームを受けた受信側は、OriginalSizeおよびDivFlagを参照することにより、調整データの全ての調整フレームを受信したのかを確認することができる。   As described above, when the adjustment data is not divided, the buffer transmission control unit 38 sets OriginalSize to TxDataSize. Alternatively, the buffer transmission control unit 38 sets OriginalSize to TxDataSize in the adjustment frame transmitted first including the divided adjustment data. In the second and subsequent adjustment frames including the divided adjustment data, the buffer transmission control unit 38 sets OriginalSize to 0. DivFlag variables are used as described above for management. Then, the receiving side that has received this adjustment frame can check whether all the adjustment frames of the adjustment data have been received by referring to OriginalSize and DivFlag.

そして、バッファ送信制御部38は、送信調節部36に命令して、送信調節部36が順番にAdjSize、OriginalSize、AddrDiffをスイッチ54に送信する。次に、送信調節部36は、AdjSize分の調整データをスイッチ54に送信する。なお、送信調節部36が調整データを送信中、バッファ送信制御部38は、送信実クロックごとに、TxDataStartAddr=TxDataStartAddr+1に設定する。送信調節部36が調整データを送信後、バッファ送信制御部38は、TxDataSize=TxDataSize−AdjSizeに設定する。そして、送信調節部36が調整データの送信し終わると、バッファ送信制御部38は、rd_blankに戻る。   Then, the buffer transmission control unit 38 instructs the transmission adjustment unit 36 so that the transmission adjustment unit 36 sequentially transmits AdjSize, OriginalSize, and AddrDiff to the switch 54. Next, the transmission adjustment unit 36 transmits adjustment data for AdjSize to the switch 54. While the transmission adjustment unit 36 is transmitting adjustment data, the buffer transmission control unit 38 sets TxDataStartAddr = TxDataStartAddr + 1 for each transmission real clock. After the transmission adjustment unit 36 transmits the adjustment data, the buffer transmission control unit 38 sets TxDataSize = TxDataSize−AdjSize. When the transmission adjustment unit 36 finishes transmitting the adjustment data, the buffer transmission control unit 38 returns to rd_blank.

〔AV伝送装置10の変形例〕
ここで、AV伝送装置10の変形例について図20を用いて説明する。図20は、AV伝送装置10の変形例を示すものであり、AV伝送装置10aの概略構成を示すブロック図である。
[Modification of AV Transmission Device 10]
Here, a modification of the AV transmission apparatus 10 will be described with reference to FIG. FIG. 20 is a block diagram showing a schematic configuration of the AV transmission apparatus 10a, showing a modification of the AV transmission apparatus 10. As shown in FIG.

AV伝送装置10aは、図20に示すように、フレームレート変換部(フレームレート変換手段)911、912…91nおよび解像度変換部(解像度変換手段)921、922…92nを備える構成となっている点で、AV伝送装置10の構成と異なる。なお、AV伝送装置10aにおける受信ポート20、バッファ30、クロック生成部40、スケジューラ50、送信ポート60および全体制御部70については、AV伝送装置10と同一の構成であるため、ここではその説明を省略する。なお、フレームレート変換部911〜91nは、同様の構成を備えているので、以下の説明では、フレームレート変換部911〜91nをフレームレート変換部91と称して説明する。また、解像度変換部921〜92nについても同様に、解像度変換部92と称して説明する。   As shown in FIG. 20, the AV transmission device 10a includes frame rate converters (frame rate converters) 911, 912,... 91n and resolution converters (resolution converters) 921, 922,. Thus, the configuration of the AV transmission apparatus 10 is different. Note that the reception port 20, buffer 30, clock generation unit 40, scheduler 50, transmission port 60, and overall control unit 70 in the AV transmission device 10a have the same configuration as the AV transmission device 10, and will be described here. Omitted. Since the frame rate conversion units 911 to 91n have the same configuration, in the following description, the frame rate conversion units 911 to 91n are referred to as the frame rate conversion unit 91. Similarly, the resolution converters 921 to 92n will be described as the resolution converter 92.

フレームレート変換部91は、AV伝送装置10aが受信する各AV情報80のフレームレートを変換するものである。   The frame rate conversion unit 91 converts the frame rate of each AV information 80 received by the AV transmission device 10a.

解像度変換部92は、AV伝送装置10aが受信する各AV情報80の映像解像度を変換するものである。   The resolution conversion unit 92 converts the video resolution of each AV information 80 received by the AV transmission device 10a.

AV伝送装置10aがフレームレート変換部91を備えることにより、AV情報80のフレームレートを変換することができるので、受信する各AV情報80の情報量を増減することができる。また、AV伝送装置10aが解像度変換部92を備えることにより、各AV情報80の映像解像度を変換することができるので、受信するAV情報80の情報量を増減することができる。   Since the AV transmission device 10a includes the frame rate conversion unit 91, the frame rate of the AV information 80 can be converted, so that the information amount of each AV information 80 to be received can be increased or decreased. Further, since the AV transmission device 10a includes the resolution conversion unit 92, the video resolution of each AV information 80 can be converted, so that the information amount of the received AV information 80 can be increased or decreased.

なお、送信ポートの伝送速度には限界がある。よって、AV伝送装置10は、情報量が多いAV情報80を同時に複数伝送できない場合がある。また、AV伝送装置10は、たとえ情報量が多いAV情報80を複数伝送できたとしても、各AV情報80の映像解像度を生かして、全てのAV情報80を同時に1つのテレビの画面に表示することができない。よって、それぞれのAV伝送装置10がAV情報80を伝送する前に、当該AV伝送装置10にAV情報80を送信する他のAV伝送装置10、AVデコーダ1020または外部機器によって各AV情報80の情報量を減らすことが好ましい。なお、上記のフレームレート変換部91または解像度変換部92がフレームレートまたは映像解像度を低くすることによって、AV伝送装置10は送信するAV情報80の情報量を減らしてもよい。   There is a limit to the transmission speed of the transmission port. Therefore, the AV transmission apparatus 10 may not be able to transmit a plurality of AV information 80 having a large amount of information at the same time. Further, even if the AV transmission apparatus 10 can transmit a plurality of pieces of AV information 80 having a large amount of information, the AV transmission apparatus 10 displays all the AV information 80 simultaneously on one television screen by utilizing the video resolution of each AV information 80. I can't. Therefore, before each AV transmission apparatus 10 transmits the AV information 80, the information of each AV information 80 is transmitted by another AV transmission apparatus 10, AV decoder 1020, or an external device that transmits the AV information 80 to the AV transmission apparatus 10. It is preferred to reduce the amount. Note that the AV transmission apparatus 10 may reduce the information amount of the AV information 80 to be transmitted by the frame rate conversion unit 91 or the resolution conversion unit 92 reducing the frame rate or the video resolution.

なお、図20では、AV伝送装置10aは、フレームレート変換部91および解像度変換部92を備えた構成となっているが、これに限定されず、フレームレート変換部91または解像度変換部92を備えた構成であってもよい。   In FIG. 20, the AV transmission device 10 a includes the frame rate conversion unit 91 and the resolution conversion unit 92, but is not limited thereto, and includes the frame rate conversion unit 91 or the resolution conversion unit 92. It may be a configuration.

また、図20では、各バッファ301…n全てに対して、それぞれフレームレート変換部911…91nと解像度変換部921…92nとが配置されているが、これに限るものではない。フレームレートまたは解像度を変換する必要があるAV情報80を受信するバッファ30の前段に必要な分だけフレームレート変換部91または解像度変換部92を配置すればよい。   20, the frame rate conversion units 911... 91n and the resolution conversion units 921... 92n are arranged for all the buffers 301... N, respectively. The frame rate conversion unit 91 or the resolution conversion unit 92 may be disposed in the preceding stage of the buffer 30 that receives the AV information 80 whose frame rate or resolution needs to be converted.

このように、フレームレート変換部91、または解像度変換部92を用いることにより、情報量を調整することが可能となる。なお、調整するために必要な情報交換は、各AV伝送装置10間において、制御情報を用いて行う。   As described above, by using the frame rate conversion unit 91 or the resolution conversion unit 92, the amount of information can be adjusted. Information exchange necessary for adjustment is performed between the AV transmission apparatuses 10 using control information.

〔本発明の別の表現〕
なお、本発明は、以下のようにも表現できる。
[Another expression of the present invention]
The present invention can also be expressed as follows.

すなわち、本発明に係るAV通信装置は、受信クロック信号とこれに同期している空白情報、音声とデータを含む受信AV信号を受信する複数の受信ポートと、それぞれの受信ポート用のメモリと、送信クロックを生成するクロック生成手段と、スケジューラと、送信ポートを備え、前記受信AV信号は前記受信クロック信号の駆動により前記メモリに書き込まれ、前記スケジューラはそれぞれの前記メモリの受信AV信号のスケジュールを行ってそれぞれの前記メモリから前記送信クロック信号の駆動により前記メモリからスケジュールされた時間に受信AV信号を読み出して前記送信クロック信号と合わせて送信ポートに送信することを特徴としている。   That is, an AV communication apparatus according to the present invention includes a reception clock signal, blank information synchronized with the reception clock signal, a plurality of reception ports that receive a reception AV signal including audio and data, a memory for each reception port, A clock generation means for generating a transmission clock, a scheduler, and a transmission port are provided. The reception AV signal is written to the memory by driving the reception clock signal, and the scheduler schedules the reception AV signal of each memory. The received AV signal is read from the memory at a scheduled time by driving the transmission clock signal from each of the memories, and transmitted to the transmission port together with the transmission clock signal.

また、本発明に係るAV通信装置は、前記受信ポートは一つまたは複数のAV信号を受信することが好ましい。   In the AV communication apparatus according to the present invention, it is preferable that the reception port receives one or a plurality of AV signals.

また、本発明に係る映像通信装置は、送信制御部と受信制御部をさらに備え、前記スケジューラは前記メモリ上の一つのAV信号を、固定周期に固定期間で送信し、前記送信制御部は一定の受信水準を定めて、送信クロックを元に前記固定周期に溜まったAVの信号量と、前記固定期間に送信可能な最大伝送量に対し、前記信号量≦前記受信水準の場合、前記メモリ上の未送信最古(前記最大伝送量―前記受信水準+前記信号量)分の前記AV信号の一部空白情報をヘッダに置き換えた情報を送信し、前記信号量>前記受信水準の場合、前記メモリ上の未送信最古(前記最大伝送量+前記信号量−前記受信水準)分の前記受信AV信号の一部空白情報をヘッダに置き換えてさらに(前記信号量−前記受信水準)分の情報量を除外した情報を送信し、前記ヘッダには送信する情報量や除外された情報を含み、前記ヘッダの追加、または前記情報量の除外によりメモリ上と同じ順番で送信できないデータに関しては空白の調整を行ってさらにデータの元の位置情報とデータサイズを含んで送信を行い、前記受信制御部は受信した前記ヘッダおよび前記元の位置情報とデータサイズを元に、調整されて受信した情報を、元の位置で前記メモリに書き込むことが好ましい。   The video communication apparatus according to the present invention further includes a transmission control unit and a reception control unit, the scheduler transmits one AV signal on the memory at a fixed period in a fixed period, and the transmission control unit is constant. When the signal amount ≦ the reception level with respect to the AV signal amount accumulated in the fixed period based on the transmission clock and the maximum transmission amount that can be transmitted in the fixed period, And transmitting information obtained by replacing the partial blank information of the AV signal for the oldest untransmitted (the maximum transmission amount−the reception level + the signal amount) with a header, and when the signal amount> the reception level, The information on the part of the received AV signal corresponding to the oldest untransmitted (the maximum transmission amount + the signal amount−the reception level) in the memory is replaced with a header, and further the information for the (signal amount−the reception level). Send information excluding volume The header includes the amount of information to be transmitted and excluded information. For data that cannot be transmitted in the same order as on the memory due to the addition of the header or the exclusion of the information amount, blank adjustment is performed to further reduce the data. The transmission is performed including the original position information and data size, and the reception control unit adjusts the received information based on the received header and the original position information and data size at the original position in the memory. It is preferable to write to.

また、本発明に係る映像通信装置は、前記メモリの前にフレームレート変換部を備えることが好ましい。   The video communication apparatus according to the present invention preferably includes a frame rate conversion unit in front of the memory.

また、本発明に係る映像通信装置は、前記メモリの前に解像度変換部を備えることが好ましい。   The video communication apparatus according to the present invention preferably includes a resolution conversion unit in front of the memory.

また、本発明に係る映像通信装置は、前記スケジューラは、それぞれの前記固定期間を順番に前記固定周期に割り当て、それぞれの前記固定期間の送信時間が来る一定の時刻前に前記送信する情報量や前記除外する情報量の計算の処理を開始し、送信時間が来ると前記送信制御部に送信開始命令を行うことが好ましい。   Further, in the video communication apparatus according to the present invention, the scheduler assigns the fixed periods in order to the fixed period, and the amount of information to be transmitted before a certain time before the transmission time of each fixed period comes. It is preferable to start processing for calculating the amount of information to be excluded and to send a transmission start command to the transmission control unit when the transmission time comes.

また、本発明に係る映像通信装置は、前記送信クロックの仕様クロックは、(受信仕様クロックを元にメモリ上に一秒間に保存する全受信AV信号の合計量)/1秒に等しい、または大きいことが好ましい。   In the video communication apparatus according to the present invention, the specification clock of the transmission clock is equal to or greater than (the total amount of all received AV signals stored in the memory for one second based on the reception specification clock) / 1 second. It is preferable.

また、本発明に係る映像通信装置は、前記クロック生成手段は、いずれかの前記受信クロックを用いて前記送信クロックを生成することが好ましい。   In the video communication apparatus according to the present invention, it is preferable that the clock generation unit generates the transmission clock using any one of the reception clocks.

また、本発明に係る映像通信装置は、前記固定周期は受信する最も高いフレームレートのAV信号の周期であることが好ましい。   In the video communication apparatus according to the present invention, it is preferable that the fixed period is a period of an AV signal having the highest frame rate to be received.

また、本発明に係る映像通信装置は、前記固定期間は、前記固定周期にメモリ上書き込まれた対象となる前記AV信号の情報量に対して、(前記情報量/仕様送信クロックレート)であることが好ましい。   In the video communication apparatus according to the present invention, the fixed period is (the information amount / specification transmission clock rate) with respect to the information amount of the AV signal to be written in the memory at the fixed period. It is preferable.

また、本発明に係る映像通信装置は、前記信号量、前記受信水準と前記最大伝送量は映像の行単位であることが好ましい。   In the video communication apparatus according to the present invention, it is preferable that the signal amount, the reception level, and the maximum transmission amount are in units of video lines.

また、本発明に係る映像通信装置は、前記受信水準は前記最大伝送量より大きいことが好ましい。   In the video communication apparatus according to the present invention, the reception level is preferably larger than the maximum transmission amount.

また、本発明に係る映像通信装置は、前記除外する(前記信号量−前記受信水準)は、空白情報、音声とデータのみを含む映像の行であることが好ましい。   In the video communication apparatus according to the present invention, it is preferable that the exclusion (the signal amount−the reception level) is a video row including only blank information, audio, and data.

〔補足〕
このように、上記AV再生システム4では、1つのAV再生機1で、複数の映像を1つの出力で出力することができる。例えば図2の事例では、テレビ2には4つの映像が入力されている。
[Supplement]
Thus, in the AV playback system 4, a single AV player 1 can output a plurality of videos with one output. For example, in the case of FIG. 2, four videos are input to the television 2.

なお、テレビ2では、テレビ2が受信した複数のAV情報80を1つの表示装置に出力する。同期が取れていない複数のAV情報80を表示する方法は多数考えられるが、ここでは以下の事例を挙げる。   Note that the television 2 outputs a plurality of AV information 80 received by the television 2 to one display device. There are many possible methods for displaying a plurality of AV information 80 that are not synchronized. Here, the following examples are given.

まず、テレビ2にはテレビ2の全画面用のメモリ(図示せず)がある。このメモリは、図13のメモリと同様の構成である。ただし、1つの書き込みポート31および1つの読み出しポート33があれば十分である。そして、テレビ2は、例えばユーザ設定により、テレビ2の画面のどの部分にどのAV情報80を表示するのかを認識している。また、テレビ2は、どのAV情報80の音声を出力するのかも認識している。テレビ2は、複数のAV情報80を受信すると、テレビ2のメモリの各AV情報80に与えられた所定の領域に、新たに受信した各AV情報80を格納する。それぞれのAV情報80は、調整フレームとして伝送される。そのため、1つのAVフレームは分割されて、複数の調整フレームの中に含まれて伝送される可能性がある。そのため、テレビ2のAV伝送装置10が調整フレームを解析してテレビ2のメモリに伝送することによって、テレビ2のメモリには、その分割されたAVフレームのAV情報80が順次書き込まれる。そして、テレビ2は、各AV情報80に与えられたメモリの所定の領域に、順次書き込みポート31を介して、新しいAV情報80を受信するとともに、読み出しポート33を介して、メモリから連続的にAV情報80が読み出して、画面に各AV情報80の映像を表示する。   First, the television 2 has a memory (not shown) for the full screen of the television 2. This memory has the same configuration as the memory of FIG. However, one write port 31 and one read port 33 are sufficient. Then, the television 2 recognizes which AV information 80 is displayed on which part of the screen of the television 2, for example, by user setting. Also, the television 2 recognizes which AV information 80 is to be output. When the television 2 receives the plurality of AV information 80, the television 2 stores each newly received AV information 80 in a predetermined area given to each AV information 80 in the memory of the television 2. Each AV information 80 is transmitted as an adjustment frame. Therefore, one AV frame may be divided and transmitted by being included in a plurality of adjustment frames. Therefore, when the AV transmission device 10 of the television 2 analyzes the adjustment frame and transmits it to the memory of the television 2, the AV information 80 of the divided AV frames is sequentially written in the memory of the television 2. Then, the television 2 sequentially receives new AV information 80 in a predetermined area of the memory given to each AV information 80 via the write port 31 and continuously from the memory via the read port 33. The AV information 80 is read and the video of each AV information 80 is displayed on the screen.

ただし、テレビ2は、受信実クロックと送信実クロックとの違いがあるため、AVデコーダ1020がAV情報80を出力したと同時にテレビ2の画面にそのAV情報80の映像を表示することができない。実際には、テレビ2は、AVデコーダ1020が出力した時刻から少し遅延してそのAV情報80の映像を表示する。しかし、テレビ2は、それぞれのAVデコーダ1020がAV情報80を出力する同じ速度で、複数のAV情報80の映像を画面に同時に表示することができる。   However, since the television 2 has a difference between the reception real clock and the transmission real clock, the video of the AV information 80 cannot be displayed on the screen of the television 2 at the same time when the AV decoder 1020 outputs the AV information 80. Actually, the television 2 displays the video of the AV information 80 with a slight delay from the time output by the AV decoder 1020. However, the television 2 can simultaneously display a plurality of AV information 80 images on the screen at the same speed at which each AV decoder 1020 outputs the AV information 80.

また、複数の全体制御部70が情報交換をすることにより、例えばそれぞれの全体制御部70は、どのAV伝送装置10がどこに接続されているのかが分かる。   In addition, by exchanging information between the plurality of overall control units 70, for example, each overall control unit 70 can identify which AV transmission device 10 is connected to which location.

また、それぞれのAV伝送装置10がサポートしている特徴情報は異なる可能性がある。この特徴情報は、例えば、サポートしているフレーム形式、クロックなどである。   Further, the feature information supported by each AV transmission device 10 may be different. This feature information is, for example, a supported frame format, clock, and the like.

また、図2のように、テレビ2に近いAV伝送装置10の方が、より情報量が多いAV情報80を伝送する可能性がある。よって、テレビ2に近いAV伝送装置10が、他のAV伝送装置10より早く処理できることが好ましい。このように、例えばテレビ2はどのAV伝送装置10がどれに接続されているのかが分かるため、テレビ2はより効率的に伝送を行うAV伝送装置10間の接続構成を求めることができ、ユーザにこれを提案することができる。   Further, as shown in FIG. 2, the AV transmission apparatus 10 closer to the television 2 may transmit AV information 80 having a larger amount of information. Therefore, it is preferable that the AV transmission device 10 close to the television 2 can process faster than the other AV transmission devices 10. In this way, for example, the television 2 knows which AV transmission device 10 is connected to which, so the television 2 can determine the connection configuration between the AV transmission devices 10 that perform transmission more efficiently. You can suggest this.

なお、本発明のAV伝送装置10に対して、物理層やアナログ部は対象外としたが、これは現在のHDMI規格と同じ方式、または例えば光伝送方式を用いても良い。   Note that although the physical layer and the analog unit are excluded from the AV transmission apparatus 10 of the present invention, the same system as the current HDMI standard, for example, an optical transmission system may be used.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

最後に、AV伝送装置10および10aの各ブロック、特にバッファ30(受信調整・解析部34、送信調節部36、バッファ送信制御部38)、クロック生成部40、スケジューラ50(スケジューラ制御部52、スイッチ54)、全体制御部70、フレームレート変換部91および解像度変換部92は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Finally, each block of the AV transmission apparatuses 10 and 10a, particularly the buffer 30 (reception adjustment / analysis unit 34, transmission adjustment unit 36, buffer transmission control unit 38), clock generation unit 40, scheduler 50 (scheduler control unit 52, switch) 54) The overall control unit 70, the frame rate conversion unit 91, and the resolution conversion unit 92 may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、AV伝送装置10および10aは、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアであるAV伝送装置10および10aの制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記AV伝送装置10および10aに供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   In other words, the AV transmission apparatuses 10 and 10a each have a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM (random access) that expands the program. memory), a storage device (recording medium) such as a memory for storing the program and various data. An object of the present invention is a recording in which program codes (execution format program, intermediate code program, source program) of control programs for the AV transmission apparatuses 10 and 10a, which are software for realizing the functions described above, are recorded so as to be readable by a computer. This can also be achieved by supplying a medium to the AV transmission apparatuses 10 and 10a and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include tapes such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and disks including optical disks such as CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、AV伝送装置10および10aを通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the AV transmission apparatuses 10 and 10a may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明のAV伝送装置10は、複数のAV情報80を1つのHDMIケーブル3を介して送信することができるので、AV再生機1またはテレビ2は、他の複数のAV再生機1から複数のAV情報80を受信することができる。本発明のAV伝送装置10は、例えば、パソコン、BDプレイヤー、HDレコーダ、STB、放送/IPチューナ、ゲーム機などにも適用できる。   Since the AV transmission apparatus 10 of the present invention can transmit a plurality of AV information 80 via one HDMI cable 3, the AV player 1 or the television 2 can receive a plurality of AV information from other AV players 1. AV information 80 can be received. The AV transmission apparatus 10 of the present invention can be applied to, for example, a personal computer, a BD player, an HD recorder, an STB, a broadcast / IP tuner, a game machine, and the like.

1 AV再生機
2 テレビ
3 HDMIケーブル
4 AV再生システム
10 AV伝送装置(通信装置)
20 受信ポート(受信手段)
30 バッファ
32 AVメモリ
34 受信調整・解析部(受信制御手段)
35 管理メモリ
36 送信調節部(送信調整手段)
38 バッファ送信制御部(送信制御手段)
40 クロック生成部(クロック生成手段)
50 スケジューラ(スケジューリング手段)
52 スケジューラ制御部
54 スイッチ
60 送信ポート(送信手段)
70 全体制御部
80 AV情報(データ)
1 AV player 2 TV 3 HDMI cable 4 AV playback system 10 AV transmission device (communication device)
20 Receiving port (receiving means)
30 Buffer 32 AV Memory 34 Reception Adjustment / Analysis Unit (Reception Control Unit)
35 Management memory 36 Transmission adjustment unit (transmission adjustment means)
38 Buffer transmission control unit (transmission control means)
40 Clock generator (clock generator)
50 Scheduler (scheduling means)
52 Scheduler control unit 54 Switch 60 Transmission port (transmission means)
70 Overall control unit 80 AV information (data)

Claims (17)

それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信する複数の受信手段と、
上記複数の受信手段が受信した上記複数のデータをそれぞれ格納する複数のバッファと、
上記受信手段がそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成手段と、
上記クロック生成手段によって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリング手段と、
上記スケジューリング手段によって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信手段と、を備えることを特徴とする通信装置。
A plurality of reception means for receiving a plurality of different reception clocks and a plurality of data synchronized with each reception clock;
A plurality of buffers respectively storing the plurality of data received by the plurality of receiving means;
Clock generating means for generating a transmission clock capable of transmitting the total amount of data stored per unit time for each buffer to the outside based on the reception clock received by each of the receiving means;
Scheduling means for determining a fixed period for transmitting the transmission clock generated by the clock generation means and the data respectively stored in the buffer to the outside;
A communication apparatus comprising: a transmission unit configured to transmit the transmission clock and the data to the outside based on the fixed period determined by the scheduling unit.
上記受信手段は、1つまたは複数のデータを受信することを特徴とする請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the receiving unit receives one or more data. 上記バッファはそれぞれ、
上記送信手段が送信可能な送信可能データ量以上のデータ量を基準データ量として設定し、当該基準データ量と、当該基準データ量を設定したときの固定期間後の固定期間に上記バッファに格納されている格納データ量とを比較する送信制御手段と、
上記送信制御手段の比較結果に基づいて、上記スケジューリング手段に送信する送信データを作成する送信調整手段と、を備えることを特徴とする請求項1または2に記載の通信装置。
Each of the above buffers is
A data amount equal to or larger than the transmittable data amount that can be transmitted by the transmission means is set as a reference data amount, and the reference data amount is stored in the buffer in a fixed period after the fixed period when the reference data amount is set. Transmission control means for comparing the stored data amount,
The communication apparatus according to claim 1, further comprising: a transmission adjustment unit that creates transmission data to be transmitted to the scheduling unit based on a comparison result of the transmission control unit.
上記送信制御手段は、上記基準データ量を設定したときの固定期間後の固定期間において、
上記格納データ量が上記基準データ量以下であると判定した場合、{上記送信可能データ量−(上記基準データ量−上記格納データ量)}を上記送信データのデータ量として決定し、
上記格納データ量が上記基準データ量よりも大きいと判定した場合、当該格納データ量から(当該格納データ量−当該基準データ量)を示す差分データ量を除外した除外データ量を求め、当該除外データ量から上記送信可能データ量を抽出したデータ量を、上記送信データのデータ量として決定することを特徴とする請求項3に記載の通信装置。
In the fixed period after the fixed period when the reference data amount is set,
When it is determined that the stored data amount is equal to or less than the reference data amount, {transmittable data amount− (the reference data amount−the stored data amount)} is determined as the data amount of the transmission data;
When it is determined that the stored data amount is larger than the reference data amount, an excluded data amount excluding a difference data amount indicating (the stored data amount−the reference data amount) is obtained from the stored data amount, and the excluded data 4. The communication apparatus according to claim 3, wherein a data amount obtained by extracting the transmittable data amount from the amount is determined as a data amount of the transmission data.
上記データは、映像データと、当該映像データとは異なる非映像データとを含むものであって、
上記送信調整手段は、さらに、上記送信データのデータ量と、上記差分データ量と、当該送信データの状態を、当該送信データのデータ量を決定したときの固定期間に上記バッファに格納されていたデータの状態に戻すための当該データにおける位置情報と、を含むヘッダを当該送信データに付与することを特徴とする請求項3または4に記載の通信装置。
The data includes video data and non-video data different from the video data,
The transmission adjustment unit further stores the data amount of the transmission data, the difference data amount, and the state of the transmission data in the buffer during a fixed period when the data amount of the transmission data is determined. The communication apparatus according to claim 3 or 4, wherein a header including position information in the data for returning to the data state is added to the transmission data.
上記送信調整手段は、さらに、上記格納データ量から除外された除外データに上記非映像データが含まれている場合には、当該非映像データを、上記送信データのデータ量を決定したときの固定期間以降に上記スケジューリング手段に送信する送信データに付与することを特徴とする請求項5に記載の通信装置。   The transmission adjusting unit further fixes the non-video data when the data amount of the transmission data is determined when the excluded data excluded from the stored data amount includes the non-video data. 6. The communication apparatus according to claim 5, wherein the communication apparatus adds the transmission data to be transmitted to the scheduling means after a period. 上記受信手段は、上記バッファを備える外部装置からデータを受信しており、
自装置の上記バッファはそれぞれ、
上記受信手段が上記ヘッダおよび上記非映像データを含むデータを受信した場合に、当該ヘッダおよび当該非映像データに基づいて、当該データの状態を、上記外部装置のバッファに格納されていたデータの状態に戻す受信制御手段をさらに備えることを特徴とする請求項5または6に記載の通信装置。
The receiving means receives data from an external device including the buffer;
Each of the above-mentioned buffers of its own device
When the receiving means receives data including the header and the non-video data, the status of the data is stored in the buffer of the external device based on the header and the non-video data. The communication apparatus according to claim 5, further comprising reception control means for returning to the above.
上記送信調整手段は、上記バッファそれぞれに格納されているデータに対応する固定期間になったときから所定時間経過後に、当該送信データを当該スケジューリング手段に送信することを特徴とする請求項3〜7の何れか1項に記載の通信装置。   The transmission adjusting means transmits the transmission data to the scheduling means after a predetermined time has elapsed since a fixed period corresponding to the data stored in each of the buffers. The communication device according to any one of the above. 上記スケジューリング手段は、上記固定期間を、
上記送信可能データ量×(上記受信手段が受信するデータのフレームレート/上記送信手段が送信するデータのフレームレート)/上記送信クロック
により求めることを特徴とする請求項3〜8の何れか1項に記載の通信装置。
The scheduling means sets the fixed period as
9. The amount of transmittable data × (the frame rate of data received by the receiving unit / the frame rate of data transmitted by the transmitting unit) / the transmission clock. The communication apparatus as described in.
上記データは、映像データを含むものであって、
上記格納データ量、上記送信可能データ量および上記基準データ量は、上記映像データの所定のデータ量単位であることを特徴とする請求項3〜9の何れか1項に記載の通信装置。
The above data includes video data,
The communication apparatus according to claim 3, wherein the stored data amount, the transmittable data amount, and the reference data amount are a predetermined data amount unit of the video data.
上記受信手段と上記バッファとの間に、当該受信手段それぞれが受信するデータのフレームレートを変換するフレームレート変換手段を備えることを特徴とする請求項1〜10の何れか1項に記載の通信装置。   The communication according to any one of claims 1 to 10, further comprising a frame rate conversion unit configured to convert a frame rate of data received by each of the reception units between the reception unit and the buffer. apparatus. 上記受信手段と上記バッファとの間に、当該受信手段それぞれが受信するデータの解像度を変換する解像度変換手段を備えることを特徴とする請求項1〜11の何れか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising a resolution conversion unit configured to convert a resolution of data received by each of the receiving units between the receiving unit and the buffer. 上記クロック生成手段は、上記複数のバッファのうちのいずれかのバッファにて受信する受信クロックを用いて、上記送信クロックを生成することを特徴とする請求項1〜12の何れか1項に記載の通信装置。   The said clock generation means produces | generates the said transmission clock using the receiving clock received in any one of these buffers, The one of Claims 1-12 characterized by the above-mentioned. Communication equipment. 上記バッファそれぞれに格納されているデータに対応する固定期間全てを含む期間を固定周期とし、
上記固定周期は、上記データのフレームレートのうち、最も大きいフレームレートの逆数であることを特徴とする請求項1〜13の何れか1項に記載の通信装置。
The period including all the fixed periods corresponding to the data stored in each of the buffers is a fixed period,
The communication apparatus according to claim 1, wherein the fixed period is a reciprocal of the largest frame rate among the frame rates of the data.
それぞれ異なる複数の受信クロックと、各受信クロックに同期している複数のデータとを受信し、当該複数のデータそれぞれを複数のバッファに格納する受信ステップと、
上記受信ステップにてそれぞれ受信した受信クロックに基づいて、上記バッファ毎に単位時間当たりに格納されたデータの合計データ量を外部に送信可能な送信クロックを生成するクロック生成ステップと、
上記クロック生成ステップによって生成された上記送信クロックと、上記バッファにそれぞれ格納されている上記データとを外部に送信する固定期間を決定するスケジューリングステップと、
上記スケジューリングステップによって決定された上記固定期間に基づいて、上記送信クロックおよび上記データを外部に送信する送信ステップと、を含むことを特徴とする通信装置の制御方法。
Receiving a plurality of different reception clocks and a plurality of data synchronized with each reception clock, and storing each of the plurality of data in a plurality of buffers;
A clock generation step for generating a transmission clock capable of transmitting the total data amount of data stored per unit time for each buffer to the outside based on the reception clock respectively received in the reception step;
A scheduling step for determining a fixed period for transmitting the transmission clock generated by the clock generation step and the data respectively stored in the buffer to the outside;
And a transmission step of transmitting the transmission clock and the data to the outside based on the fixed period determined by the scheduling step.
コンピュータを請求項1〜14の何れか1項に記載の通信装置の各手段として機能させるための通信装置の制御プログラム。   A control program for a communication apparatus for causing a computer to function as each unit of the communication apparatus according to any one of claims 1 to 14. 請求項16に記載の通信装置の制御プログラムを記録したコンピュータ読取可能な記録媒体。   The computer-readable recording medium which recorded the control program of the communication apparatus of Claim 16.
JP2009006997A 2009-01-15 2009-01-15 Communication equipment, method for controlling communication equipment, control program, and recording medium Pending JP2010166337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009006997A JP2010166337A (en) 2009-01-15 2009-01-15 Communication equipment, method for controlling communication equipment, control program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009006997A JP2010166337A (en) 2009-01-15 2009-01-15 Communication equipment, method for controlling communication equipment, control program, and recording medium

Publications (1)

Publication Number Publication Date
JP2010166337A true JP2010166337A (en) 2010-07-29

Family

ID=42582151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009006997A Pending JP2010166337A (en) 2009-01-15 2009-01-15 Communication equipment, method for controlling communication equipment, control program, and recording medium

Country Status (1)

Country Link
JP (1) JP2010166337A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016163100A1 (en) * 2015-04-10 2016-10-13 ソニー株式会社 Video server, video server system, and instruction processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016163100A1 (en) * 2015-04-10 2016-10-13 ソニー株式会社 Video server, video server system, and instruction processing method
US10931981B2 (en) 2015-04-10 2021-02-23 Sony Corporation Video server, video server system, and command processing method

Similar Documents

Publication Publication Date Title
US8903523B2 (en) Audio processing device, audio processing method, and program
JP4844230B2 (en) COMMUNICATION SYSTEM, TRANSMISSION DEVICE AND RECEPTION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP4623069B2 (en) Information processing apparatus and method, program, and recording medium
US7865021B2 (en) Compressed stream decoding apparatus and method
JP2007150855A (en) Receiving system
JP2009253644A (en) Electronic apparatus and method for transmitting control signal in electronic apparatus
US8898347B2 (en) Repeater device and control method
JP2009272791A (en) Transmitter, information transmission method, receiver, and information processing method
JP2007072130A (en) Image display system, image display device, image data output device, image processing program, and recording medium with this image processing program recorded
JP3438223B2 (en) Multiplexing device and multiplexing method, and transmission device and transmission method
WO2017032072A1 (en) Audio/video playing device
CN102170547A (en) Communication device, communication control method, and program
JP2010166337A (en) Communication equipment, method for controlling communication equipment, control program, and recording medium
JP2006301105A (en) Image processor, image processing method and program
WO2017032115A1 (en) Audio and video playback device and audio and video playback method
WO2017043378A1 (en) Transmission device, transmission method, reception device, and reception method
US20020026458A1 (en) Image processing apparatus and image processing method as well as recording medium
JP2007311929A (en) Device and method for sending and receiving video image
JP4501854B2 (en) Video / audio recording device
JP2004007118A (en) Television signal reproducing apparatus and reproducing method
JP2011004015A (en) Playback device and content playback method
JP2012090006A (en) Video display device
JP2009124223A (en) Av system
WO2017032116A1 (en) Audio and video playback device and audio and video playback method
JP5178680B2 (en) Video apparatus and image processing method using a plurality of processors