JP3690409B2 - Communication system and communication control method - Google Patents

Communication system and communication control method Download PDF

Info

Publication number
JP3690409B2
JP3690409B2 JP2003300272A JP2003300272A JP3690409B2 JP 3690409 B2 JP3690409 B2 JP 3690409B2 JP 2003300272 A JP2003300272 A JP 2003300272A JP 2003300272 A JP2003300272 A JP 2003300272A JP 3690409 B2 JP3690409 B2 JP 3690409B2
Authority
JP
Japan
Prior art keywords
information signal
packet
output
communication
digital bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2003300272A
Other languages
Japanese (ja)
Other versions
JP2004120734A (en
Inventor
祐子 飯島
晴美 川村
真 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2003300272A priority Critical patent/JP3690409B2/en
Publication of JP2004120734A publication Critical patent/JP2004120734A/en
Application granted granted Critical
Publication of JP3690409B2 publication Critical patent/JP3690409B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、情報信号と制御信号を混在させ、パケットにて通信可能なバスを介して複数の電子機器が接続された通信システム及びこの通信システムにおいて利用される通信制御方法に関する。 The present invention relates to a communication system in which a plurality of electronic devices are connected via a bus in which information signals and control signals are mixed and can be communicated in packets, and a communication control method used in the communication system .

従来、例えばビデオテープレコーダ(以下、VTRという)、テレビジョン受像機(以下、TVという)等のAV機器をディジタル通信線で接続し、AV信号をパケットで伝送する通信システムとしてはD2B(Domestic Digital Bus)を用いた通信システムが考えられている。   Conventionally, for example, D2B (Domestic Digital) is a communication system in which AV equipment such as a video tape recorder (hereinafter referred to as VTR) and a television receiver (hereinafter referred to as TV) is connected by a digital communication line and AV signals are transmitted in packets. A communication system using Bus) has been considered.

まず、図19を参照しながらこのような通信システムの1例を説明する。この通信システムは、AV機器としてTV、ビデオカメラ(以下、CAMという)、VTR−A及びVTR−Bを備えている。そして、CAMの出力プラグP3とTVの入力プラグP1、VTR−Aの出力プラグP3とVTR−Bの入力プラグP1、TVの出力プラグP3とVTR−Aの入力プラグP1の間はAV信号を一方向にのみ伝送できるAV信号線L1,L2,L3により接続されている。また、CAMとVTR−A、VTR−AとVTR−B、TVとVTR−Aの間は制御信号を双方向に伝送できる制御信号線(バス)D1,D2 ,D3により接続されている。そして、各AV機器は制御信号とAV信号の入出力機能を持っているので、例えばCAMとTV又はVTR−B間で制御信号の双方向伝送ができるし、CAMからVTR−A又はVTR−BへAV信号を送信することができる。   First, an example of such a communication system will be described with reference to FIG. This communication system includes a TV, a video camera (hereinafter referred to as CAM), a VTR-A, and a VTR-B as AV devices. The AV signal is connected between the CAM output plug P3 and the TV input plug P1, the VTR-A output plug P3 and the VTR-B input plug P1, and the TV output plug P3 and the VTR-A input plug P1. They are connected by AV signal lines L1, L2, L3 that can be transmitted only in the direction. The CAM and VTR-A, VTR-A and VTR-B, and TV and VTR-A are connected by control signal lines (buses) D1, D2, and D3 capable of transmitting control signals in both directions. Since each AV device has an input / output function for control signals and AV signals, for example, bi-directional transmission of control signals can be performed between the CAM and the TV or VTR-B, and from the CAM to the VTR-A or VTR-B. AV signals can be transmitted to

図20は、図19の通信システムにおける各AV機器の要部構成を示す。各AV機器のAV信号の入出力プラグは、スイッチボックス(SWBox)と呼ばれる機能単位から直接外部に露出するようにP1,P2,P3と番号だけで記され、AV信号線により他のAV機器の入出力プラグに接続されている。また、他のAV機器とはAV信号線とは別に制御信号線がバス接続されており、接続制御等のコマンドが送受される。さらに、各AV機器はそれぞれが本来持っている機能単位、例えばVTRであれば記録・再生を行うデッキと受信信号を選択するチューナー、TVであればモニターとアンプを備えている。また、図示されていないが、AV機器全体の動作を制御するAVC(AVコントローラ)を備えている。以下、本明細書ではこれらの機能単位をサブデバイスという。   FIG. 20 shows a main configuration of each AV device in the communication system of FIG. AV signal input / output plugs of each AV device are indicated by only numbers P1, P2, and P3 so as to be directly exposed to the outside from a functional unit called a switch box (SWBox), and other AV devices are connected by AV signal lines. Connected to the input / output plug. Further, the control signal line is bus-connected separately from the AV signal line from other AV devices, and commands such as connection control are transmitted and received. Furthermore, each AV device has a function unit that it originally has, for example, a VCR, a recording / playback deck and a tuner for selecting a received signal, and a TV, a monitor and an amplifier. Further, although not shown, an AVC (AV controller) that controls the operation of the entire AV device is provided. Hereinafter, these functional units are referred to as sub-devices in this specification.

このように構成された通信システムにおいて、制御接続を行う方法が2種類考えられている。以下、これらを接続制御手法1及び接続制御手法2と呼び、順番に説明する。   In the communication system configured as described above, two types of methods for performing control connection are considered. Hereinafter, these will be referred to as connection control method 1 and connection control method 2, and will be described in order.

接続制御手法1では、各AV機器は、プラグごとにどんな相手AV機器のどの番号のプラグに、入出力どちらの方向で接続されているかという接続構成情報をあらかじめユーザーが設定することにより保持している。これによって、接続制御コマンドを受けた際に、目的に応じるように、AV信号のソースとなるサブデバイスとディスティネーションに到達すると思われる出力プラグを接続し、若しくは指定された番号の入力プラグと適当な出力プラグを接続してAV機器内を通過させると共に、出力プラグの先につながっているAV機器にコマンドを伝搬する。そして、ディスティネーションに指定された特定のAV機器内のサブデバイスにコマンドが到達した時点で目的が達成される。   In connection control method 1, each AV device holds connection configuration information indicating in which direction of input / output to which plug of which partner AV device is connected for each plug by setting in advance by the user. Yes. As a result, when a connection control command is received, a sub-device that is the source of the AV signal is connected to an output plug that is likely to reach the destination, or an input plug with a specified number is appropriately selected. A suitable output plug is connected and passed through the AV device, and the command is transmitted to the AV device connected to the tip of the output plug. The purpose is achieved when the command reaches the sub-device in the specific AV device designated as the destination.

このとき、非バス対応AV機器に対しては、制御信号線を介してコマンドを伝搬することができないため、それに接続されているAV機器のプラグ番号を直接指定する。例えば、図20のVTRデバイスBのプラグP2に非バス対応AV機器が接続されている場合、この非バス対応AV機器に対する接続制御は、VTRデバイスBのプラグP2を指定することにより行う。   At this time, since the command cannot be propagated to the non-bus compatible AV device via the control signal line, the plug number of the AV device connected thereto is directly designated. For example, when a non-bus compatible AV device is connected to the plug P2 of the VTR device B in FIG. 20, connection control to the non-bus compatible AV device is performed by designating the plug P2 of the VTR device B.

次に、接続制御手法2では、中心となる一台のAV機器(以下、AVセンターという)は、各AV機器のプラグごとにどんな相手AV機器のどの番号のポートにどちらの方向(In/Out)で接続されているかという接続情報を全て管理している。そして、制御信号線を介してAV信号接続を依頼するコマンドを受けると、そのコマンドを制御信号線を介して目的のAV機器に送信する。目的のAV機器はこのコマンドを受信し、入力の切換えを行う。   Next, in connection control method 2, a central AV device (hereinafter referred to as an AV center) is connected to any numbered port of any partner AV device in each direction (In / Out) for each AV device plug. ) To manage all connection information. When receiving a command requesting AV signal connection via the control signal line, the command is transmitted to the target AV device via the control signal line. The target AV device receives this command and switches the input.

このとき、コマンドマスターからの最初の接続依頼でサブデバイスをカテゴリー(BSチューナー、Hi8デッキ等)で指定することが可能である。但し、接続依頼の時点でのプラグ指定は、構造を知っている自分の中のプラグのみ可能である。   At this time, it is possible to specify a sub-device by category (BS tuner, Hi8 deck, etc.) in the first connection request from the command master. However, the plug designation at the time of the connection request can be made only for the plug within the user who knows the structure.

前記接続制御手法1では、コマンドを順次隣接するAV機器へ伝搬することによって、制御信号線が混雑する。また、途中に介在するAV機器の設定によっては無限ループとなる可能性がある。さらに、プラグ番号を直接指定するためには、コマンドマスターが制御したいAV機器の構成、さらにはシステム全体のAV機器の接続構成を知っていることが必要である。   In the connection control method 1, the control signal line is congested by sequentially propagating commands to adjacent AV devices. In addition, there is a possibility of an infinite loop depending on the setting of the AV device intervening. Furthermore, in order to directly specify the plug number, it is necessary for the command master to know the configuration of the AV device that the command master wants to control and the connection configuration of the AV device of the entire system.

また、接続制御手法2では、自分のプラグの先に接続されている相手との単純な接続であっても、必ずAVセンターに依頼しなければ実現できない。また、接続依頼のときにサブデバイスのカテゴリーで指定できるが、プラグ指定は構造を知っている自分の中のプラグのみしかできない。   Also, with the connection control method 2, even a simple connection with a partner connected to the end of its own plug cannot be realized without always requesting it from the AV center. In addition, although it can be specified by the category of the sub device at the time of the connection request, the plug specification can be performed only for the plug within one's own who knows the structure.

さらに、どちらの接続制御手法においても、接続依頼を行ったAV機器と目的のAV機器との間に他のAV機器が存在する場合には、間に存在する全てのAV機器を経由してAV信号の入出力の設定を行う必要がある。したがって、システムを構成するAV機器が増えれば増えるほど、入出力の設定をする必要のあるAV機器数が増え、制御が複雑になる。このため、システム構成を限定するなどの措置が必要となる。また、AV信号線はAV機器の電源がONであるときのみ信号の伝送が可能であるため、経由する全てのAV機器の電源がONであることが必要である。   Further, in either connection control method, when there is another AV device between the AV device that has requested connection and the target AV device, the AV is transmitted via all the AV devices existing between them. It is necessary to set signal input and output. Therefore, as the number of AV devices constituting the system increases, the number of AV devices that need to be set for input / output increases and the control becomes more complicated. For this reason, measures such as limiting the system configuration are required. Further, since the AV signal line can transmit a signal only when the power of the AV device is ON, it is necessary that the power of all the AV devices that pass through the AV signal line is ON.

本発明は、上述したような従来の技術が有する問題点を解決することのできる通信システム及びこの通信システムにおいて利用される通信制御方法を提供することを目的とする。 An object of this invention is to provide the communication system which can solve the trouble which the prior arts as mentioned above have, and the communication control method utilized in this communication system .

上述したような目的を達成するために提案される本発明は、所定のデジタルバスが接続した複数の電子機器が、所定の通信サイクルにおける双方向デジタル通信を行い、前記通信サイクルの始めにはサイクル開始パケットがあり、前記サイクル開始パケットに続き同期通信パケットを送信する期間が設定され、前記同期通信パケットの送信が終了した後、次のサイクル開始パケットまでの期間が非同期通信パケットの送信に利用され、前記同期通信パケットのデータとして情報信号が伝送され、前記同期通信パケットは前記情報信号を伝送するチャンネルに関するチャンネル番号情報を含み、前記通信サイクルにおいて複数の前記同期通信パケットの送信を可能とし、前記非同期通信パケットのデータとして制御信号が伝送され、前記非同期通信パケットは前記制御信号の送信元及び送信先の電子機器のアドレスを含む通信システムにおいて、前記デジタルバス上に情報信号を送信する電子機器である送信機器は、前記情報信号に前記チャンネル番号情報を付加し、このチャンネル番号情報を付加した前記情報信号を前記同期通信パケットで前記デジタルバス上に送信し、前記デジタルバスに接続された任意の電子機器を前記送信元とし前記送信機器を送信先とした前記非同期通信パケットにより、前記情報信号の出力を要請する制御信号が送信された場合に、前記情報信号を前記同期通信パケットで送信するとともに、該同期通信パケットに付加したチャンネル番号と、前記情報信号の出力を要請した電子機器の数を表すカウンタとを対応づけて管理し、前記デジタルバス上の情報信号を受信する電子機器である受信機器は、前記デジタルバス上の所定のチャンネル番号情報の付加された前記同期通信パケットを取り込むことで前記情報信号を受信し、前記デジタルバスに接続された任意の電子機器が、前記情報信号の出力を要請した場合に前記カウンタのカウント値増え、前記情報信号の出力を要請した電子機器が、自分が要請をした前記情報信号の出力停止を要請した場合に前記カウンタのカウント値減り、前記カウンタのカウント値が0になったときに、前記送信機器は前記カウンタで管理された情報信号の前記デジタルバスへの出力を停止するようにしたものである。 In the present invention proposed to achieve the above-described object, a plurality of electronic devices to which a predetermined digital bus is connected perform bi-directional digital communication in a predetermined communication cycle. There is a start packet, a period for transmitting the synchronous communication packet is set following the cycle start packet, and after the transmission of the synchronous communication packet is completed, the period until the next cycle start packet is used for the transmission of the asynchronous communication packet. An information signal is transmitted as data of the synchronous communication packet, the synchronous communication packet includes channel number information regarding a channel transmitting the information signal, and enables transmission of a plurality of the synchronous communication packets in the communication cycle, A control signal is transmitted as data of an asynchronous communication packet, and the asynchronous communication packet is transmitted. In the communication system signal packet containing the address of the electronic apparatus of the transmission source and transmission destination of the control signal, the electronic device is a transmitting device that transmits the information signal on the digital bus, the channel number information to the information signal The information signal to which the channel number information is added is transmitted on the digital bus in the synchronous communication packet, and an arbitrary electronic device connected to the digital bus is set as the transmission source and the transmission device is set as a transmission destination. When the control signal requesting the output of the information signal is transmitted by the asynchronous communication packet, the information signal is transmitted by the synchronous communication packet, and the channel number added to the synchronous communication packet and the information A counter that represents the number of electronic devices that have requested output of signals is managed in association with information on the digital bus. A receiving device, which is an electronic device that receives a signal, receives the information signal by capturing the synchronous communication packet to which predetermined channel number information is added on the digital bus, and receives an arbitrary signal connected to the digital bus. When the electronic device requests the output of the information signal, the count value of the counter increases, and the electronic device that has requested the output of the information signal requests the output stop of the information signal requested by the electronic device. In this case, when the count value of the counter decreases and the count value of the counter becomes 0, the transmitting device stops outputting the information signal managed by the counter to the digital bus. is there.

また、本発明は、所定のデジタルバスが接続した複数の電子機器が、所定の通信サイクルにおける双方向デジタル通信を行い、前記通信サイクルの始めにはサイクル開始パケットがあり、前記サイクル開始パケットに続き同期通信パケットを送信する期間が設定され、前記同期通信パケットの送信が終了した後、次のサイクル開始パケットまでの期間が非同期通信パケットの送信に利用され、前記同期通信パケットのデータとして情報信号が伝送され、前記同期通信パケットは前記情報信号を伝送するチャンネルに関するチャンネル番号情報を含み、前記通信サイクルにおいて複数の前記同期通信パケットの送信を可能とし、前記非同期通信パケットのデータとして制御信号が伝送され、前記非同期通信パケットは前記制御信号の送信元及び送信先の電子機器のアドレスを含む通信制御方法において、前記デジタルバス上に情報信号を送信する電子機器である送信機器は、前記情報信号に前記チャンネル番号情報を付加し、このチャンネル番号情報を付加した前記情報信号を前記同期通信パケットで前記デジタルバス上に送信し、前記デジタルバスに接続された任意の電子機器を前記送信元とし前記送信機器を送信先とした前記非同期通信パケットにより、前記情報信号の出力を要請する制御信号が送信された場合に、前記情報信号を前記同期通信パケットで送信するとともに、該同期通信パケットに付加したチャンネル番号と、前記情報信号の出力を要請した電子機器の数を表すカウンタとを対応づけて管理し、前記デジタルバス上の情報信号を受信する電子機器である受信機器は、前記デジタルバス上の所定のチャンネル番号情報の付加された前記同期通信パケットを取り込むことで前記情報信号を受信し、前記デジタルバスに接続された任意の電子機器が、前記情報信号の出力を要請した場合に前記カウンタのカウント値増え、前記情報信号の出力を要請した電子機器が、自分が要請をした前記情報信号の出力停止を要請した場合に前記カウンタのカウント値減り、前記カウンタのカウント値が0になったときに、前記送信機器は前記カウンタで管理された情報信号の前記デジタルバスへの出力を停止するようにしたものである。 Further, according to the present invention, a plurality of electronic devices to which a predetermined digital bus is connected perform bidirectional digital communication in a predetermined communication cycle. A cycle start packet is provided at the beginning of the communication cycle, and the cycle start packet is followed. A period for transmitting the synchronous communication packet is set, and after the transmission of the synchronous communication packet is completed, a period until the next cycle start packet is used for transmission of the asynchronous communication packet, and an information signal is used as data of the synchronous communication packet. The synchronous communication packet includes channel number information related to a channel transmitting the information signal, enables transmission of a plurality of the synchronous communication packets in the communication cycle, and transmits a control signal as data of the asynchronous communication packet. the asynchronous communication packet transmission source of the control signal and In the communication control method including the address of the electronic device of the signal destination, an electronic apparatus in which the transmitting device for transmitting information signals on the digital bus, and adds the channel number information to the information signal, adding the channel number information The information signal is transmitted on the digital bus by the synchronous communication packet, and the information is transmitted by the asynchronous communication packet having an arbitrary electronic device connected to the digital bus as the transmission source and the transmission device as a transmission destination. When a control signal requesting output of a signal is transmitted, the information signal is transmitted in the synchronous communication packet, and the channel number added to the synchronous communication packet and the electronic device requesting the output of the information signal Receiving device which is an electronic device that manages a counter representing a number in association with each other and receives an information signal on the digital bus The information signal is received by capturing the synchronous communication packet to which the predetermined channel number information is added on the digital bus, and an arbitrary electronic device connected to the digital bus requests the output of the information signal In this case, the count value of the counter is increased, and the electronic device that has requested the output of the information signal decreases the count value of the counter when the electronic device requested to stop the output of the information signal requested by the electronic device. When the count value of the counter reaches 0, the transmitting device stops outputting the information signal managed by the counter to the digital bus.

本発明は、デジタルバス上の情報信号を受信する電子機器である受信機器がデジタルバス上の所定のチャンネル番号情報の付加された同期通信パケットを取り込むことで情報信号を受信し、デジタルバスに接続された任意の電子機器が、情報信号の出力を要請した場合にカウンタのカウント値を増加させ、情報信号の出力を要請した電子機器が、自分が要請をした情報信号の出力停止を要請した場合にはカウンタのカウント値を減らし、カウンタのカウント値が0になったときに、送信機器がカウンタで管理された情報信号のデジタルバスへの出力を停止するようにしているので、使用されていない情報信号を無駄にバスに流さないですむ。したがって、限りあるチャンネル数の中でバスの有効利用を図ることができる。 In the present invention , a receiving device, which is an electronic device that receives an information signal on a digital bus, receives an information signal by fetching a synchronous communication packet to which predetermined channel number information is added on the digital bus, and connects to the digital bus. When the requested electronic device requests the output of the information signal, the count value of the counter is increased, and the electronic device that requested the output of the information signal requests the output stop of the information signal requested by the electronic device. Is not used because the transmission device stops the output of the information signal managed by the counter to the digital bus when the count value of the counter is reduced to 0. You don't waste information signals on the bus. Therefore, the bus can be effectively used within a limited number of channels.

以下、本発明の実施例について図面を参照しながら、〔1〕本発明を適用した通信システム〔2〕信号入力切換えの考え方〔3〕具体例〔4〕信号入出力管理の考え方〔5〕具体例の順序で詳細に説明する。   [1] Communication system to which the present invention is applied [2] Signal input switching concept [3] Specific example [4] Signal input / output management concept [5] Specific This will be described in detail in the order of examples.

〔1〕本発明を適用した通信システム
図1は、本発明を適用した通信システムの構成の1例を示すシステム構成図である。この通信システムは、AV機器として、CAM1、TV1、VTR1〜4及び編集機(編集コントローラ)を備えている。そして、CAM1とTV1、TV1とVTR3、VTR3とVTR1及び編集機、VTR1とVTR2、及び編集機とVTR4との間はP1394シリアルバスで接続されている。P1394シリアルバスは、制御信号とAV信号を混在して双方向に伝送することができる。また、各機器はP1394シリアルバス上の制御信号及びAV信号を中継する機能を備えている。
[1] Communication System to which the Present Invention is Applied FIG. 1 is a system configuration diagram showing an example of a configuration of a communication system to which the present invention is applied. This communication system includes CAM1, TV1, VTR1 to 4, and an editing machine (editing controller) as AV equipment. The CAM1 and the TV1, the TV1 and the VTR3, the VTR3 and the VTR1 and the editing machine, the VTR1 and the VTR2, and the editing machine and the VTR4 are connected by a P1394 serial bus. The P1394 serial bus can mix and transmit control signals and AV signals in both directions. Each device has a function of relaying control signals and AV signals on the P1394 serial bus.

図2は、図1の通信システムにおけるAV機器の1例であるVTRの基本構成を示すブロック図である。このVTRはVTRとしての基本的ブロックであるデッキサブデバイス1とチューナーサブデバイス2、ユーザーインターフェースである操作部3と表示部4、VTR全体の動作制御を行うマイコン5に加えて、P1394シリアルバスに対するディジタルインターフェース(以下、ディジタルI/Fという)6、デッキサブデバイス1−チューナーサブデバイス2−ディジタルI/F6間の信号の切換えを行うスイッチボックスサブデバイス7を備えている。なお、AV機器がTVの場合はデッキサブデバイス1の代わりにモニターサブデバイスとアンプサブデバイスが設けられており、CAMの場合はチューナーサブデバイス2の代わりにカメラサブデバイスが設けられている。   FIG. 2 is a block diagram showing a basic configuration of a VTR which is an example of an AV device in the communication system of FIG. In addition to the deck subdevice 1 and tuner subdevice 2, which are the basic blocks of the VTR, the operation unit 3 and display unit 4 which are user interfaces, and the microcomputer 5 which controls the overall operation of the VTR, this VTR also supports the P1394 serial bus A digital interface (hereinafter referred to as a digital I / F) 6 and a switch box sub device 7 for switching signals between a deck sub device 1-a tuner sub device 2-a digital I / F 6 are provided. When the AV device is a TV, a monitor subdevice and an amplifier subdevice are provided instead of the deck subdevice 1, and when the AV device is a CAM, a camera subdevice is provided instead of the tuner subdevice 2.

各AV機器の表示部4は、例えば図3に示すように、通信システム上の全機器の名称が蛍光管表示されるように構成されており、操作部3のキー3aを操作することによりAV信号を送信又は受信する相手を選択することができる。なお、通信システム上の全機器は、同時に表示してもよいし、順次表示してもよい。また、自分以外の機器のみ表示してもよい。さらに、これらの操作は赤外線リモコンやマウスを用いて行うように構成することもできる。また、デバイスがTVの場合は、モニターサブデバイスに表示することもできる。そして、機器の名称ではなく絵文字(アイコン)を表示することもできる。   For example, as shown in FIG. 3, the display unit 4 of each AV device is configured such that the names of all devices on the communication system are displayed as fluorescent tubes. By operating the key 3a of the operation unit 3, the AV unit is operated. The other party to send or receive the signal can be selected. Note that all devices on the communication system may be displayed simultaneously or sequentially. Also, only devices other than the user may be displayed. Furthermore, these operations can be performed using an infrared remote controller or a mouse. When the device is a TV, it can be displayed on the monitor subdevice. In addition, pictograms (icons) can be displayed instead of device names.

図1の通信システムでは、図4に示されているように、所定の通信サイクル(例、125μs)で通信が行われる。そして、ディジタルビデオ信号のように一定のデータレートで連続的に通信を行う同期通信と、接続制御コマンドなどを必要に応じて不定期に伝送する非同期通信の両方を行うことができる。   In the communication system of FIG. 1, communication is performed in a predetermined communication cycle (for example, 125 μs) as shown in FIG. Then, both synchronous communication that performs continuous communication at a constant data rate, such as a digital video signal, and asynchronous communication that transmits connection control commands and the like irregularly as necessary can be performed.

通信サイクルの始めにはサイクルスタートパケットCSPがあり、それに続いて同期通信のためのパケットを送信する期間が設定される。同期通信を行うパケットそれぞれにチャンネル番号1,2,3 ,・・・Nを付けることにより、複数の同期通信を行うことが可能である。例えば、CAM1からVTR1に対する通信にチャンネル1が割り付けられているとすると、CAM1はサイクルスタートパケットCSPの直後にチャンネル番号1を付けた同期通信パケットを送信し、VTR1はバスを監視し、チャンネル番号1が付いた同期通信パケットを取り込むことで通信が行われる。さらに、VTR3からVTR4に対する通信にチャンネル2を割り付けられていれば、CAM1からVTR1の通信とVTR3からVTR4に対する通信を並行して行うことができる。   There is a cycle start packet CSP at the beginning of the communication cycle, followed by a period for transmitting a packet for synchronous communication. By assigning channel numbers 1, 2, 3,... N to each packet for synchronous communication, a plurality of synchronous communications can be performed. For example, if channel 1 is assigned to communication from CAM1 to VTR1, CAM1 transmits a synchronous communication packet with channel number 1 immediately after the cycle start packet CSP, VTR1 monitors the bus, and channel number 1 Communication is performed by fetching synchronous communication packets marked with. Furthermore, if channel 2 is assigned to communication from VTR3 to VTR4, communication from CAM1 to VTR1 and communication from VTR3 to VTR4 can be performed in parallel.

そして、すべてのチャンネルの同期通信パケットの送信が終了した後、次のサイクルスタートパケットCSPまでの期間が非同期通信に使用される。非同期通信パケット(図4ではパケットA,B)には送信機器及び受信機器の物理アドレスや論理アドレスが付いており、各ノードは自分のアドレスが付いたパケットを取り込む。   Then, after the transmission of synchronous communication packets for all channels is completed, a period until the next cycle start packet CSP is used for asynchronous communication. Asynchronous communication packets (packets A and B in FIG. 4) have the physical and logical addresses of the transmitting device and the receiving device, and each node captures a packet with its own address.

〔2〕信号入力切換えの考え方
図5は、本発明を適用した通信システムで用いる非同期通信パケットの要部構成の1例を示す。この図において、マスターアドレスはパケットの送信元の論理アドレス、スレーブアドレスは宛先の論理アドレス、フレーム種別はパケットの種類(コマンド、応答、問い合わせ等)、SSSA/DADAは送信元又は宛先のサブデバイスアドレス、OPC(オペコード)及びOPR(オペランド)はコマンドの内容である。
[2] Concept of signal input switching FIG. 5 shows an example of a main configuration of an asynchronous communication packet used in a communication system to which the present invention is applied. In this figure, the master address is the logical address of the packet source, the slave address is the logical address of the destination, the frame type is the type of packet (command, response, inquiry, etc.), and SSSA / DADA is the subdevice address of the source or destination , OPC (opcode) and OPR (operand) are the contents of the command.

以下、入力切換え手順を示す図6及び各手順で用いるパケットを示す図7を参照しながら、CAM1の再生画をVTR1で録画する場合の例で説明を行う。   Hereinafter, an example in which a playback image of CAM1 is recorded by VTR1 will be described with reference to FIG. 6 showing an input switching procedure and FIG. 7 showing a packet used in each procedure.

まず、コマンドマスターがCAM1に対し「CH?に出力せよ。」と要請する(A1)。これに対して、CAM1がコマンドマスターへ(出力OK。CH1へ出力しました。」と答える(A2)。次に、これを受けて、コマンドマスターはVTR1に「CH1を入力せよ。」と要求する(A3)。そして、VTR1がコマンドマスターに「CH1入力OK。」と答える(A4)。以上で入力切換えの処理は終了する。   First, the command master requests CAM1 “output to CH?” (A1). In response to this, CAM1 responds to the command master (output OK. Output to CH1) (A2). Next, the command master requests VTR1 to input “CH1”. (A3) Then, VTR1 responds to the command master as “CH1 input OK.” (A4) This completes the input switching process.

なお、ここでコマンドマスターは、最初にコマンドを出力するAV機器であって、あらかじめコマンドマスターとなる機能を持っているかどうか及びどのAV機器を用いて通信相手を選択したか等によってコマンドマスターとなるAV機器は変わってくる(後述具体例参照)。また、パケットのSSDA/DSDAにおけるSW BOX(スイッチボックス)はコマンドの目的が入出力切換えであることを意味する。また、P1394での入力切り換えコマンドを仮に、P1394入力切換と呼んでいる。さらに、AV信号のデスティネーションにおけるDeck(デッキ)はCAM1のデッキサブデバイスを意味する。   Here, the command master is an AV device that first outputs a command, and becomes a command master depending on whether or not it has a function as a command master in advance and which AV device is used to select a communication partner. AV equipment changes (see specific examples below). The SW BOX (switch box) in the SSDA / DSDA of the packet means that the purpose of the command is input / output switching. Further, the input switching command in P1394 is temporarily called P1394 input switching. Further, Deck (deck) in the destination of the AV signal means a deck subdevice of CAM1.

〔3〕具体例
(1)CAM1の再生画をVTR1,VTR2で録画する場合
前記したように、VTR1及びVTR2の表示部は、通信システム上のAV機器が蛍光管表示されるように構成されているため、ユーザーはこれを見ながら各々目的のCAM1を通信相手(入力相手)として選択することができる。このようにして、ユーザーがVTR1及びVTR2を用いて動作モードを設定した場合にはVTR1及びVTR2がコマンドマスターとなる。以下、入力切換え手順を示す図8及びその各々で用いるコマンドのパケット構造の1例を示す図9を参照しながら、動作を説明する。
[3] Specific Example (1) When CAM1 Playback Images are Recorded by VTR1 and VTR2 As described above, the display units of VTR1 and VTR2 are configured so that AV equipment on the communication system is displayed as a fluorescent tube. Therefore, the user can select the target CAM 1 as a communication partner (input partner) while watching this. In this way, when the user sets an operation mode using VTR1 and VTR2, VTR1 and VTR2 become command masters. The operation will be described below with reference to FIG. 8 showing the input switching procedure and FIG. 9 showing an example of the packet structure of the command used in each.

まず、VTR1がCAM1に対し「CH?に出力せよ。」と要求する(B1)。次に、これに対し、CAM1はVTR1へ「出力OK。CH1へ出力しました。」と答える(B2)。VTR1はCH1を入力して録画を開始する。   First, the VTR 1 requests the CAM 1 “output to CH?” (B1). Next, CAM1 responds to VTR1 with “Output OK. Output to CH1” (B2). VTR1 inputs CH1 and starts recording.

次に、VTR1の処理と同様に、VTR2がCAM1に対し「CH?に出力せよ。」と要求する(B3)。次に、これを受けて、CAM1はVTR2へ「出力OK。CH1に出力しています。」と答える(B4)。VTR2もCH1を入力して、録画を開始する。   Next, similarly to the processing of VTR1, VTR2 requests CAM1 to “output to CH?” (B3). Next, in response to this, CAM1 answers to VTR2 “Output OK. Outputting to CH1” (B4). VTR2 also inputs CH1 and starts recording.

ここでは、まずVTR1がCAM1に対してコマンドを送出し、次にVTR2がCAM1に対してコマンドを送出するものとして説明したが、実際にはこれらの動作は独立して行われる。   Here, it has been described that VTR 1 first sends a command to CAM 1, and then VTR 2 sends a command to CAM 1, but actually these operations are performed independently.

(2)編集機を使用してVTR3の再生画をVTR4で録画する場合
この場合は、編集機の表示部を用いてVTR3を出力AV機器として選択し、VTR4を入力AV機器として選択する。この場合編集機がコマンドマスターとなる。以下、図10及び図11を参照しながら入力切換え手順を説明する。
(2) When recording the playback image of the VTR 3 with the VTR 4 using the editing machine In this case, the VTR 3 is selected as the output AV device using the display unit of the editing machine, and the VTR 4 is selected as the input AV device. In this case, the editing machine becomes the command master. The input switching procedure will be described below with reference to FIGS.

まず、コマンドマスターである編集機が、VTR3に対して「CH?へ出力せよ。」と要求する(C1)。次に、これを受けて、VTR3はCH1が既に使用されているため、CH2へ出力し、編集機へ「出力OK。CH2へ出力しました。」と答る(C2)。次に、編集機はVTR4へ「CH2を入力せよ。」と要求する(C3)。これに対し、VTR4は編集機へ「CH2入力OK。」と答える(C4)。VTR4はCH2を入力し、録画を開始する。   First, the editing machine that is the command master requests the VTR 3 to “output to CH?” (C1). Next, in response to this, VTR3 outputs to CH2 because CH1 has already been used, and responds to the editing machine “output OK. Output to CH2” (C2). Next, the editing machine requests the VTR 4 to “input CH2” (C3). In response to this, the VTR 4 answers “CH2 input OK” to the editing machine (C4). The VTR 4 inputs CH2 and starts recording.

〔4〕信号入出力管理の考え方
以下、入出力管理手順を示す図12及び各手順で用いるパケットを示す図13を参照しながら、CAM1の再生画をVTR1で録画し、その後VTR1が録画を中断する場合の例で説明を行う。
[4] Concept of signal input / output management Hereinafter, referring to FIG. 12 showing the input / output management procedure and FIG. 13 showing the packet used in each procedure, the playback image of CAM1 is recorded by VTR1, and then VTR1 interrupts the recording. An example of the case will be described.

まず、コマンドマスターがCAM1に対し「CH?に出力せよ。」と要請し、さらにCAM1のアドレスを保持する(D1)。ここで、アドレスとしてはP1394シリアルバス特有のノードID(機器の物理アドレス)ではなく、商品カテゴリー別アドレス(機器の論理アドレス)を用いる。この理由は、例えば、所定のAV機器間でダビングを行っていたときにそれと関係ない他のAV機器がシステム上から抜かれたとすると、バスにリセットがかかってしまう。このとき、システムの構成が変わってしまうためリセット後のノードIDも変わってしまうが、商品カテゴリー別アドレスはAV機器のレジスタに保持されているため、録画状態を守ることができるためである。   First, the command master requests CAM1 to “output to CH?” And holds the address of CAM1 (D1). Here, as the address, a product category-specific address (device logical address) is used instead of a node ID (device physical address) unique to the P1394 serial bus. This is because, for example, if another AV device unrelated to the dubbing is performed between predetermined AV devices, the bus is reset. At this time, since the system configuration changes, the node ID after reset also changes, but the product category address is held in the register of the AV device, so that the recording state can be protected.

次に、これに対して、CAM1がコマンドマスターへ(出力OK。CH1へ出力しました。」と答え、入力機器のカウント値に1加える(D2)。ここでは、入力機器数をカウントするだけで、出力要請してきたコマンドマスターのアドレスまで保持する必要はない。逆に、入力AV機器は複数存在する可能性があるため、出力要請してきた機器のアドレスを全て保持するのは大変である。ここで、コマンドマスターはCAM1がCH1に出力しているという情報を保持する。   Next, CAM1 responds to the command master (output OK. Output to CH1), and adds 1 to the count value of the input device (D2). However, it is not necessary to hold the address of the command master that requested the output, and conversely, since there may be a plurality of input AV devices, it is difficult to retain all the addresses of the devices that requested the output. Thus, the command master holds information that CAM1 is outputting to CH1.

次に、これを受けて、コマンドマスターはVTR1に「CH1を入力せよ。」と要求する(D3)。ここでも、アドレスを保持する必要はないが、入力せよと要求した相手機器の数を責任持って管理する必要があるため、入力要請した機器のカウント値を1増やす。但し、入力要請した場合は準出力機であると考えられ、出力要請された場合は出力機であると考えられる。入力要請した場合と出力要請された場合共に、入力機器のカウントを行うが、どちらも共通の構造で作ることができる。   Next, in response to this, the command master requests VTR1 “Input CH1” (D3). In this case as well, it is not necessary to hold the address, but since it is necessary to manage the number of counterpart devices requested to be input responsibly, the count value of the requested device is increased by one. However, when an input is requested, it is considered as a semi-output machine, and when an output is requested, it is considered as an output machine. Both the input request and output request count the input devices, but both can be made with a common structure.

次に、VTR1がコマンドマスターに「CH1入力OK。」と答えて、コマンドマスターのアドレスを保持する(D4)。ここまでで、入出力設定は完了し、VTR1がCAM1の出力の録画を始める。   Next, the VTR 1 replies “CH 1 input OK” to the command master, and holds the address of the command master (D 4). Up to this point, the input / output setting is completed, and VTR1 starts recording the output of CAM1.

次に、しばらく経過して、VTR1が録画を中断した場合について説明する。まず、VTR1はコマンドマスターへ「CH1入力を中断しました。」と知らせる。そして、入力を中断すると共に、保持していたコマンドマスターのアドレスをクリアする(D5)。なお、ここでパケットのDummy(ダミー)はソースCH1の中断を意味する。   Next, a case where the video recording is interrupted by the VTR 1 after a while will be described. First, VTR1 informs the command master that “CH1 input has been interrupted”. Then, the input is interrupted and the held address of the command master is cleared (D5). Here, Dummy (dummy) of the packet means interruption of the source CH1.

次に、これを受けて、コマンドマスターはVTR1に「CH1入力中断OK。」と返し、入力機器のカウンタ数を1減らす(D6)。従って、カウンタの合計は0となり、入力機器は存在しないと判断できる。   Next, in response to this, the command master returns “CH1 input interruption OK” to the VTR 1 and decrements the counter number of the input device by 1 (D6). Therefore, the sum of the counters becomes 0, and it can be determined that there is no input device.

次に、D1,D2で記憶したアドレス情報から、CH1へ出力しているのはCAM1であることがわかるため、CAM1へ「CH1入力中断しました。」と伝える。また、自分が、カウントしている入力機器は全て存在しなくなったため、アドレスをクリアする(D7)。   Next, since it is understood from the address information stored in D1 and D2 that it is CAM1 that is outputting to CH1, it is informed to CAM1 that “CH1 input has been interrupted”. Further, since all the input devices that the user counts no longer exist, the address is cleared (D7).

これに対し、CAM1はコマンドマスターへ「CH1入力中断OK。」と返答し、入力機器のカウント値を1減らす。ここでは、カウント値は1であったため、現在のカウント値は0となり、入力している機器が全くないと判断して、AV信号をバスに乗せるのを中断する(D8)。   In response to this, CAM1 returns a “CH1 input interruption OK” response to the command master and decrements the count value of the input device by one. Here, since the count value is 1, the current count value is 0, and it is determined that there is no input device, and the AV signal is suspended from being placed on the bus (D8).

なお、入力機器ではなく、AV信号を出力している機器自身が何らかの理由により信号出力を中断してしまった場合には、入力している側から、パケットを読み出している位置(チャンネル)にAV信号が含まれていないことが判断できるため、そのときは自発的に信号の入力を中断する。   Note that if the device that outputs the AV signal, instead of the input device, interrupts the signal output for some reason, the AV is read from the input side to the position (channel) where the packet is read out. Since it can be determined that the signal is not included, the input of the signal is voluntarily interrupted at that time.

これらの、コマンドマスターとスレーブ機器(コマンドマスター以外のAV機器)における信号の入出力切換え時のアドレス保持の必要の有無に関する対応関係を図14に示す。   FIG. 14 shows the correspondence relationship regarding whether or not the address needs to be held when switching the input / output of signals in the command master and the slave device (AV device other than the command master).

このように、本発明は、使用していない情報信号を無駄にバスに流すことを避け、限られたチャンネル数の中でより多くのAV信号処理を行えるよう、入出力管理を行うものである。   In this way, the present invention performs input / output management so that unused AV signals can be prevented from flowing unnecessarily to the bus and more AV signal processing can be performed within a limited number of channels. .

〔5〕具体例
(1)CAM1の再生画をVTR1,VTR2で録画し、VTR1,VTR2の順で入力を中断する場合
この場合には前記〔3〕(1)と同様、VTR1,VTR2が共にコマンドマスターとなる。以下、入出力管理手順を示す図15及びその各々で用いるコマンドのパケット構造の一例を示す図16を参照しながら、動作を説明する。
[5] Specific example (1) When recording the playback image of CAM1 with VTR1 and VTR2 and interrupting the input in the order of VTR1 and VTR2 In this case, as with [3] (1), both VTR1 and VTR2 Become a command master. The operation will be described below with reference to FIG. 15 showing the input / output management procedure and FIG. 16 showing an example of the packet structure of the command used in each.

まず、VTR1がCAM1に対し「CH?に出力せよ。」と要求する。同時にCAM1のアドレスを保持する(E1)。次に、これに対し、CAM1はVTR1へ「出力OK。CH1へ出力しました。」と答え、入力機器数のカウント値を1増やす(E2)。したがって、VTR1はCH1を入力して、録画を開始する。ここで、VTR1はCAM1がCH1へ出力しているという情報も保持する。   First, the VTR 1 requests the CAM 1 “output to CH?”. At the same time, the address of CAM1 is held (E1). Next, CAM1 responds to VTR1 “output OK. Output to CH1” and increments the count value of the number of input devices by 1 (E2). Therefore, VTR1 inputs CH1 and starts recording. Here, VTR1 also holds information that CAM1 is outputting to CH1.

次に、VTR1の処理と同様に、VTR2がCAM1に対し「CH?に出力せよ。」と要求し、かつCAM1のアドレスを保持する(E3)。次に、これを受けて、CAM1はVTR2へ「出力OK。CH1に出力しています。」と答え、入力機器数のカウント値をさらに1増やす(E4)。この結果、入力機器数は合計2となる。ここで、VTR2はCAM1がCH1へ出力しているという情報も保持する。   Next, similarly to the processing of VTR1, VTR2 requests CAM1 to “output to CH?” And holds the address of CAM1 (E3). Next, in response to this, CAM1 replies “Output OK. Outputting to CH1” to VTR2, and further increases the count value of the number of input devices by 1 (E4). As a result, the total number of input devices is 2. Here, VTR2 also holds information that CAM1 is outputting to CH1.

さらに、しばらくして、VTR1がE1でアドレスを保持していたCAM1へ「CH1入力を中断しました。」と知らせる。そして、保持していたCAM1のアドレス及びCH1をクリアする(E5)。次に、これを受けて、CAM1はVTR1へ「CH1入力中断OK。」と返答し、入力機器のカウント値を1減らす(E6)。入力機器の合計数は1に減るが、まだ一台入力している機器が存在するため、CAM1はCH1へAV信号の出力を続ける。   Further, after a while, the VTR 1 informs the CAM 1 holding the address at E 1 that “CH 1 input has been interrupted”. Then, the held address of CAM1 and CH1 are cleared (E5). Next, in response to this, CAM1 replies “CH1 input interruption OK” to VTR1 and decrements the count value of the input device by 1 (E6). Although the total number of input devices is reduced to 1, CAM1 continues to output AV signals to CH1 because there is still one input device.

次に、VTR2もE4でアドレスを覚えておいたCAM1へ「CH1入力を中断しました。」と知らせる。ここで、CAM1のアドレス及びCH1をクリアする(E7)。次に、これに対して、CAM1はVTR2へ「CH1入力中断OK。」と答え、さらに、入力機器のカウント値を1減らす。これにより、入力機器のカウンタ数は0となるため、入力している機器が全てなくなったと判断し、CAM1はAV信号をバスに流すのを中断する(E8)。   Next, VTR2 also informs CAM1 who has remembered the address at E4 that "CH1 input has been interrupted". Here, the address of CAM1 and CH1 are cleared (E7). Next, in response to this, CAM1 responds to the VTR2 “CH1 input interruption OK”, and further decreases the count value of the input device by one. As a result, the number of counters of the input device becomes 0. Therefore, it is determined that all the input devices are gone, and the CAM 1 interrupts the flow of the AV signal to the bus (E8).

なお、CAM1が何らかの理由によりAV信号の出力を中断した場合は、VTR1,VTR2がCH1 にAV信号が出力されていないことを判断し、タイムアウト処理で入力を中断する。   When CAM1 interrupts the output of the AV signal for some reason, VTR1 and VTR2 determine that the AV signal is not output to CH1, and the input is interrupted by a timeout process.

(2)編集機を使用してVTR3の再生画をTV1でモニターし、かつVTR4で録画、その後、VTR4,TV1の順に入力を中断する場合
この場合は前記〔3〕(2)と同様編集機がコマンドマスターとなる。したがって、VTR3とVTR4,TV1の間でデータのやり取りが行われることがわかっているため、VTRやTVの蛍光管表示で入力対象機器の選択をする必要はない。以下、図17及び図18を参照しながら手順を説明する。
(2) When a VTR3 playback image is monitored on the TV1 using an editing machine, and recorded on the VTR4, and then the input is interrupted in the order of VTR4 and TV1. In this case, the editing machine is the same as [3] (2) above Becomes the command master. Therefore, since it is known that data is exchanged between the VTR 3 and the VTR 4 and the TV 1, it is not necessary to select an input target device on the fluorescent tube display of the VTR or TV. The procedure will be described below with reference to FIGS.

まず、コマンドマスターである編集機が、VTR3に対して、「CH?へ出力せよ。」と要求し、VTR3のアドレスを保持する(F1)。次に、これを受けて、VTR3はCH1が既に使用されているため、CH2へ出力し、編集機へ「出力OK。CH2へ出力しました。」と答え、入力機器のカウント値を1増やす。また、編集機はVTR3がCH2へ出力しているという情報も保持する(F2)。   First, the editing machine that is the command master requests the VTR 3 to “output to CH?” And holds the address of the VTR 3 (F1). Next, in response to this, VTR 3 outputs CH 2 because CH 1 has already been used, and responds to the editing machine “output OK. Output to CH 2”, and increments the count value of the input device by one. The editing machine also holds information that the VTR 3 is outputting to CH2 (F2).

次に、編集機はTV1へ「CH2を入力せよ。」と要求し、入力要請した機器のカウント値を1増やす(F3)。これに対し、TV1は編集機へ「CH2入力OK。」と答え、編集機のアドレスを保持する(F4)。次に、編集機はVTR4にも「CH2を入力せよ。」と要求し、入力要請した機器のカウント値をさらに1増やす(F5)。そこで、編集機が管理している入力機器数は、合計2となる。これに対し、VTR4は編集機へ「CH2入力OK。」と答え、編集機のアドレスを保持する(F6)。   Next, the editing machine requests TV 1 to “input CH2”, and increments the count value of the device that has requested input (F3). On the other hand, TV1 answers “CH2 input OK” to the editing machine and holds the address of the editing machine (F4). Next, the editing machine requests the VTR 4 to “input CH2”, and further increments the count value of the device that requested the input (F5). Therefore, the total number of input devices managed by the editing machine is two. On the other hand, the VTR 4 answers “CH2 input OK” to the editing machine and holds the address of the editing machine (F6).

その後、VTR4がF6でアドレスを覚えておいた編集機へ「CH2の入力を中断しました。」と知らせ、編集機のアドレスをクリアする(F7)。これを受けて、編集機はVTR4へ「CH2入力中断OK。」と答え、入力要請した機器のカウント値を1減らす。従って、編集機の管理している入力要請した機器数は合計1となる。入力している機器がまだ1台存在しているため、VTR3のアドレスはそのまま保持する(F8)。   Thereafter, the VTR 4 informs the editing machine that has remembered the address at F6 that “CH2 input has been interrupted” and clears the address of the editing machine (F7). In response to this, the editing machine replies “CH2 input interruption OK” to the VTR 4 and decrements the count value of the device that requested the input by one. Accordingly, the total number of input requested devices managed by the editing machine is one. Since there is still one input device, the address of the VTR 3 is held as it is (F8).

次に、TV1から編集機へ「CH2入力中断しました。」と知らせが来る(F9)。編集機は入力要請した機器のカウント値を1減らし、合計が0となるため、編集機の管理する入力機器は全て存在しなくなったと判断し、TV1へ「CH2入力中断OK。」と答え(F10)、アドレスを保持しておいたVTR3へ「CH2入力中断しました。」と知らせ、アドレスとCH2をクリアする(F11)。これに対し、VTR3は編集機へ「CH2入力中断OK。」と答え、VTR3がカウントしていた入力機器のカウント値から1減らす。これにより、カウント値の合計が0となり、入力している機器は全てなくなったと判断できるため、VTR3はCH2へのAV信号出力を中断する(F12)。   Next, TV 1 informs the editing machine that “CH2 input has been interrupted” (F9). The editing machine decrements the count value of the device that requested the input and the total becomes 0. Therefore, the editing machine determines that all the input devices managed by the editing machine no longer exist, and responds to TV 1 with “CH2 input interrupt OK” (F10). ) Informs the VTR 3 that holds the address that “CH2 input has been interrupted” and clears the address and CH2 (F11). On the other hand, the VTR 3 responds to the editing machine with “CH2 input interrupt OK” and decrements by 1 from the count value of the input device counted by the VTR 3. As a result, the sum of the count values becomes 0, and it can be determined that all the input devices are gone, so the VTR 3 interrupts the output of the AV signal to CH2 (F12).

なお、VTR3が何らかの理由により、CH2への出力中断を行った場合は、VTR4はCH2上にAV信号が出力されていないことが判断できるため、タイムアウト処理で入力を中断する。   When VTR 3 interrupts output to CH 2 for some reason, VTR 4 can determine that an AV signal is not output on CH 2, and therefore interrupts input in a timeout process.

また、例えば、VTR3自身が出力を開始し、TV1へ「CH2を入力せよ。」と要求すると共に、VTR4からVTR3へ「出力せよ。」と要求が来た場合でも、どちらの場合もカウントの意味は同じであるため、VTR3が管理する入力機器のカウント値が合計2となり、TV1,VTR4両方から「CH2入力中断しました。」と知らされた時点で全入力機器がいなくなったと判断し、VTR3はCH2へのAV信号出力を中断する。   Further, for example, even when VTR 3 starts outputting and requests TV 1 to “input CH 2”, and when V TR 4 requests “output” to VTR 3, in both cases the meaning of counting Therefore, the total number of input devices managed by VTR3 is 2, and when both TV1 and VTR4 are informed that “CH2 input has been interrupted.” The AV signal output to CH2 is interrupted.

なお、ここでは、P1394シリアルバスを用いたが、制御線と信号線を混在させて乗せることができるディジタルバスであれば、他のバスを用いることも可能である。また、入力対象機器の選択では、蛍光管表示に限らず、TV等のOSD表示で表示させることも考えられる。さらに本発明は、AV機器をつないだシステムに限らずコンピューターをつないでデータの通信をするシステムなどにも適応できる。   Although the P1394 serial bus is used here, any other bus can be used as long as it is a digital bus on which control lines and signal lines can be mixed. Further, in selecting an input target device, it is conceivable to display an OSD display such as a TV as well as a fluorescent tube display. Furthermore, the present invention can be applied not only to a system connected to an AV device but also to a system that communicates data by connecting a computer.

本発明を適用した通信システムの構成の1例を示すシステム構成図である。1 is a system configuration diagram showing an example of a configuration of a communication system to which the present invention is applied. 図1の通信システムにおけるAV機器の1例であるVTRの基本構成を示すブロック図である。FIG. 2 is a block diagram illustrating a basic configuration of a VTR that is an example of an AV device in the communication system of FIG. 1. 図1の通信システムにおけるAV機器の表示部の1例を示す図である。It is a figure which shows an example of the display part of AV apparatus in the communication system of FIG. P1394シリアルバスにおける通信サイクルの1例を示す図である。It is a figure which shows an example of the communication cycle in a P1394 serial bus. 本発明を適用した通信システムで用いる非同期通信パケットの要部構成の1例を示す図である。It is a figure which shows one example of the principal part structure of the asynchronous communication packet used with the communication system to which this invention is applied. CAM1の再生画をVTR1で録画する場合の入力切換え手順を示す図である。It is a figure which shows the input switching procedure in the case of recording the reproduction image of CAM1 by VTR1. 図6の手順で用いるパケットの構成を示す図である。It is a figure which shows the structure of the packet used in the procedure of FIG. CAM1の出力をVTR1及びVTR2で録画する場合の入力切換え手順を示す図である。It is a figure which shows the input switching procedure in the case of recording the output of CAM1 by VTR1 and VTR2. 図8の手順で用いるパケットの構成を示す図である。It is a figure which shows the structure of the packet used in the procedure of FIG. 編集機を使用してVTR3の出力をVTR4で録画する場合の入力切換え手順を示す図である。It is a figure which shows the input switching procedure in the case of recording the output of VTR3 by VTR4 using an editing machine. 図10の手順で用いるパケットの構成を示す図である。It is a figure which shows the structure of the packet used in the procedure of FIG. CAM1の再生画をVTR1で録画する場合の入出力管理手順を示す図である。It is a figure which shows the input / output management procedure in the case of recording the reproduction image of CAM1 by VTR1. 図12の手順で用いるパケット構造の1例を示す図である。It is a figure which shows an example of the packet structure used in the procedure of FIG. コマンドマスター及びスレーブ機器と信号の入出力時のアドレス保持の有無に関する対応関係を示す図である。It is a figure which shows the correspondence regarding the presence or absence of the address holding at the time of the input / output of a command master and a slave apparatus. CAM1の再生画をVTR1,VTR2で録画し、その後VTR1,VTR2が入力を中断する場合の入出力管理手順を示す図である。It is a figure which shows the input / output management procedure in the case of recording the reproduction image of CAM1 by VTR1 and VTR2, and VTR1 and VTR2 interrupting input after that. 図15の手順で用いるパケットの構造の1例を示す図である。It is a figure which shows an example of the structure of the packet used in the procedure of FIG. 編集機を使用してVTR3の再生画をVTR4で録画し、その後VTR4が入力を中断する場合の入出力管理手順を示す図である。It is a figure which shows the input / output management procedure in the case of recording the reproduction | regeneration image of VTR3 by VTR4 using an editing machine, and VTR4 interrupting input after that. 図17の手順で用いるパケットの構造の1例を示す図である。It is a figure which shows an example of the structure of the packet used in the procedure of FIG. 従来のAV機器をディジタル通信線で接続し、AV信号をパケットで伝送する通信システムの構成の1例を示す図である。It is a figure which shows one example of a structure of the communication system which connects the conventional AV apparatus with a digital communication line, and transmits AV signal with a packet. 図19の通信システムにおける各AV機器の要部構成を示す図である。It is a figure which shows the principal part structure of each AV apparatus in the communication system of FIG.

符号の説明Explanation of symbols

VTR1〜4 ビデオテープレコーダ、 TV1 テレビジョン受像機、 CAM ビデオカメラ、 1 デッキサブデバイス、 2 チューナーサブデバイス、 3 操作部、 4 表示部、 5 マイコン、 6 ディジタルI/F、 7 スイッチボックスサブデバイス   VTR1 to 4 Video tape recorder, TV1 Television receiver, CAM video camera, 1 deck subdevice, 2 tuner subdevice, 3 operation unit, 4 display unit, 5 microcomputer, 6 digital I / F, 7 switch box subdevice

Claims (2)

所定のデジタルバスが接続した複数の電子機器が、所定の通信サイクルにおける双方向デジタル通信を行い、前記通信サイクルの始めにはサイクル開始パケットがあり、前記サイクル開始パケットに続き同期通信パケットを送信する期間が設定され、前記同期通信パケットの送信が終了した後、次のサイクル開始パケットまでの期間が非同期通信パケットの送信に利用され、前記同期通信パケットのデータとして情報信号が伝送され、前記同期通信パケットは前記情報信号を伝送するチャンネルに関するチャンネル番号情報を含み、前記通信サイクルにおいて複数の前記同期通信パケットの送信を可能とし、前記非同期通信パケットのデータとして制御信号が伝送され、前記非同期通信パケットは前記制御信号の送信元及び送信先の電子機器のアドレスを含む通信システムにおいて、
前記デジタルバス上に情報信号を送信する電子機器である送信機器は、前記情報信号に前記チャンネル番号情報を付加し、このチャンネル番号情報を付加した前記情報信号を前記同期通信パケットで前記デジタルバス上に送信し、前記デジタルバスに接続された任意の電子機器を前記送信元とし前記送信機器を送信先とした前記非同期通信パケットにより、前記情報信号の出力を要請する制御信号が送信された場合に、前記情報信号を前記同期通信パケットで送信するとともに、該同期通信パケットに付加したチャンネル番号と、前記情報信号の出力を要請した電子機器の数を表すカウンタとを対応づけて管理し、
前記デジタルバス上の情報信号を受信する電子機器である受信機器は、前記デジタルバス上の所定のチャンネル番号情報の付加された前記同期通信パケットを取り込むことで前記情報信号を受信し、
前記デジタルバスに接続された任意の電子機器が、前記情報信号の出力を要請した場合に前記カウンタのカウント値増え、
前記情報信号の出力を要請した電子機器が、自分が要請をした前記情報信号の出力停止を要請した場合に前記カウンタのカウント値減り、
前記カウンタのカウント値が0になったときに、前記送信機器は前記カウンタで管理された情報信号の前記デジタルバスへの出力を停止する
ことを特徴とする通信システム。
A plurality of electronic devices connected to a predetermined digital bus perform bi-directional digital communication in a predetermined communication cycle. A cycle start packet is present at the beginning of the communication cycle, and a synchronous communication packet is transmitted following the cycle start packet. After a period is set and the transmission of the synchronous communication packet is completed, a period until the next cycle start packet is used for transmission of an asynchronous communication packet, an information signal is transmitted as data of the synchronous communication packet, and the synchronous communication The packet includes channel number information related to a channel for transmitting the information signal, enables transmission of a plurality of the synchronous communication packets in the communication cycle, a control signal is transmitted as data of the asynchronous communication packet, and the asynchronous communication packet is source and destination of the electronic device of said control signal In a communication system including an address,
A transmitting device that is an electronic device that transmits an information signal on the digital bus adds the channel number information to the information signal, and the information signal to which the channel number information is added is transmitted on the digital bus in the synchronous communication packet. When a control signal for requesting output of the information signal is transmitted by the asynchronous communication packet having the transmission source as an arbitrary electronic device connected to the digital bus and the transmission device as a transmission destination The information signal is transmitted in the synchronous communication packet, and the channel number added to the synchronous communication packet is managed in association with a counter indicating the number of electronic devices that have requested the output of the information signal.
A receiving device that is an electronic device that receives an information signal on the digital bus receives the information signal by capturing the synchronous communication packet to which predetermined channel number information is added on the digital bus,
When any electronic device connected to the digital bus requests the output of the information signal, the count value of the counter increases,
When the electronic device requesting the output of the information signal requests the output stop of the information signal requested by the electronic device, the count value of the counter is decreased.
When the count value of the counter reaches 0, the transmitting device stops outputting the information signal managed by the counter to the digital bus.
A communication system characterized by the above.
所定のデジタルバスが接続した複数の電子機器が、所定の通信サイクルにおける双方向デジタル通信を行い、前記通信サイクルの始めにはサイクル開始パケットがあり、前記サイクル開始パケットに続き同期通信パケットを送信する期間が設定され、前記同期通信パケットの送信が終了した後、次のサイクル開始パケットまでの期間が非同期通信パケットの送信に利用され、前記同期通信パケットのデータとして情報信号が伝送され、前記同期通信パケットは前記情報信号を伝送するチャンネルに関するチャンネル番号情報を含み、前記通信サイクルにおいて複数の前記同期通信パケットの送信を可能とし、前記非同期通信パケットのデータとして制御信号が伝送され、前記非同期通信パケットは前記制御信号の送信元及び送信先の電子機器のアドレスを含む通信制御方法において、
前記デジタルバス上に情報信号を送信する電子機器である送信機器は、前記情報信号に前記チャンネル番号情報を付加し、このチャンネル番号情報を付加した前記情報信号を前記同期通信パケットで前記デジタルバス上に送信し、前記デジタルバスに接続された任意の電子機器を前記送信元とし前記送信機器を送信先とした前記非同期通信パケットにより、前記情報信号の出力を要請する制御信号が送信された場合に、前記情報信号を前記同期通信パケットで送信するとともに、該同期通信パケットに付加したチャンネル番号と、前記情報信号の出力を要請した電子機器の数を表すカウンタとを対応づけて管理し、
前記デジタルバス上の情報信号を受信する電子機器である受信機器は、前記デジタルバス上の所定のチャンネル番号情報の付加された前記同期通信パケットを取り込むことで前記情報信号を受信し、
前記デジタルバスに接続された任意の電子機器が、前記情報信号の出力を要請した場合に前記カウンタのカウント値増え、
前記情報信号の出力を要請した電子機器が、自分が要請をした前記情報信号の出力停止を要請した場合に前記カウンタのカウント値減り、
前記カウンタのカウント値が0になったときに、前記送信機器は前記カウンタで管理された情報信号の前記デジタルバスへの出力を停止する
ことを特徴とする通信制御方法。
A plurality of electronic devices connected to a predetermined digital bus perform bi-directional digital communication in a predetermined communication cycle. A cycle start packet is present at the beginning of the communication cycle, and a synchronous communication packet is transmitted following the cycle start packet. After a period is set and the transmission of the synchronous communication packet is completed, a period until the next cycle start packet is used for transmission of an asynchronous communication packet, an information signal is transmitted as data of the synchronous communication packet, and the synchronous communication The packet includes channel number information related to a channel for transmitting the information signal, enables transmission of a plurality of the synchronous communication packets in the communication cycle, a control signal is transmitted as data of the asynchronous communication packet, and the asynchronous communication packet is source and destination of the electronic device of said control signal In the communication control method including the address,
A transmitting device that is an electronic device that transmits an information signal on the digital bus adds the channel number information to the information signal, and the information signal to which the channel number information is added is transmitted on the digital bus in the synchronous communication packet. When a control signal for requesting output of the information signal is transmitted by the asynchronous communication packet having the transmission source as an arbitrary electronic device connected to the digital bus and the transmission device as a transmission destination The information signal is transmitted in the synchronous communication packet, and the channel number added to the synchronous communication packet is managed in association with a counter indicating the number of electronic devices that have requested the output of the information signal.
A receiving device that is an electronic device that receives an information signal on the digital bus receives the information signal by capturing the synchronous communication packet to which predetermined channel number information is added on the digital bus,
When any electronic device connected to the digital bus requests the output of the information signal, the count value of the counter increases,
When the electronic device requesting the output of the information signal requests the output stop of the information signal requested by the electronic device, the count value of the counter is decreased.
When the count value of the counter reaches 0, the transmitting device stops outputting the information signal managed by the counter to the digital bus.
A communication control method characterized by the above .
JP2003300272A 2003-08-25 2003-08-25 Communication system and communication control method Expired - Lifetime JP3690409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003300272A JP3690409B2 (en) 2003-08-25 2003-08-25 Communication system and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003300272A JP3690409B2 (en) 2003-08-25 2003-08-25 Communication system and communication control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001317316A Division JP3567920B2 (en) 2001-10-15 2001-10-15 Data communication method and electronic device

Publications (2)

Publication Number Publication Date
JP2004120734A JP2004120734A (en) 2004-04-15
JP3690409B2 true JP3690409B2 (en) 2005-08-31

Family

ID=32290705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003300272A Expired - Lifetime JP3690409B2 (en) 2003-08-25 2003-08-25 Communication system and communication control method

Country Status (1)

Country Link
JP (1) JP3690409B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7725916B2 (en) 2003-07-14 2010-05-25 Panasonic Corporation Signal switching device, signal distribution device, display device, and signal transmission system

Also Published As

Publication number Publication date
JP2004120734A (en) 2004-04-15

Similar Documents

Publication Publication Date Title
EP1085700B1 (en) Data transmission system and method
JP3520572B2 (en) Input device selection method
JP3661175B2 (en) Connection status display method
EP0669727A2 (en) Connection of electronic devices
JP3271110B2 (en) Data communication method and electronic device
JP3690409B2 (en) Communication system and communication control method
JP3291926B2 (en) Electronic device control method
JPH07212662A (en) Electronic device
JP3567920B2 (en) Data communication method and electronic device
EP1061692A2 (en) Controlling device, communication system and controlling method
JP3700303B2 (en) Information signal display method and electronic apparatus
JP3583811B2 (en) Input device selection method and electronic device
US20010046231A1 (en) Communication control apparatus
EP1328134A1 (en) Controlled device in network apparatus, controlling device, and its control method
KR100763716B1 (en) Information control method, information processor, and information control system
JP3704773B2 (en) Electronic device and control method thereof
JP3991060B2 (en) Imaging processing device
JP3659244B2 (en) COMMUNICATION SYSTEM CONTROL METHOD AND COMMUNICATION DEVICE
JPH11168489A (en) Data communication equipment, its method and its system
JP3341758B2 (en) Data transfer method
JP3358618B2 (en) Data transfer method
JPH07250072A (en) Data transfer method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20050118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050315

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050524

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050606

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

Free format text: PAYMENT UNTIL: 20080624

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100624

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100624

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110624

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120624

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120624

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130624

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term