JP3478285B2 - Data communication method and electronic device - Google Patents

Data communication method and electronic device

Info

Publication number
JP3478285B2
JP3478285B2 JP2001248211A JP2001248211A JP3478285B2 JP 3478285 B2 JP3478285 B2 JP 3478285B2 JP 2001248211 A JP2001248211 A JP 2001248211A JP 2001248211 A JP2001248211 A JP 2001248211A JP 3478285 B2 JP3478285 B2 JP 3478285B2
Authority
JP
Japan
Prior art keywords
connection
data communication
bus
devices
avm
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
JP2001248211A
Other languages
Japanese (ja)
Other versions
JP2002101116A (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 JP2001248211A priority Critical patent/JP3478285B2/en
Publication of JP2002101116A publication Critical patent/JP2002101116A/en
Application granted granted Critical
Publication of JP3478285B2 publication Critical patent/JP3478285B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ビデオデータやオーデ
ィオデータのようなデジタルデータを、例えばIEEE
−P1394に準拠したシリアルバス(以下「P139
4シリアルバス」と略す。)のような通信制御バスを用
いて伝送するデータ通信方法及びこの伝送法を用いた電
子機器に関する。
BACKGROUND OF THE INVENTION The present invention relates to digital data such as video data and audio data, for example, IEEE.
-P1394-compliant serial bus (hereinafter referred to as "P139"
4 Serial bus ”. And a data communication method for transmission using a communication control bus as described above and an electronic device using this transmission method.

【0002】[0002]

【従来の技術】P1394シリアルバスのような制御信
号と情報信号とを混在させることのできる通信制御バス
によって複数の電子機器を接続し、これらの機器間で情
報信号及び制御信号を通信するシステムが考えられてい
る。
2. Description of the Related Art A system for connecting a plurality of electronic devices by a communication control bus capable of coexisting control signals and information signals, such as a P1394 serial bus, and communicating information signals and control signals between these devices is available. It is considered.

【0003】図5にこのようなシステムの例を示す。こ
のシステムは4台のデジタルビデオテープレコーダー
(以下「VTR」という。)、1台のカムコーダー(以
下「CAM」という。)、1台の編集機、及び1台のコ
ンピュータを備えている。各機器の間は、P1394シ
リアルバスのツイストペアケーブルにより接続されてい
る。各機器は、ツイストペアケーブルから入力される情
報信号及び制御信号を中継する機能を持っているので、
この通信システムは各機器が共通のP1394シリアル
バスに接続されている通信システムと等価である。
FIG. 5 shows an example of such a system. This system includes four digital video tape recorders (hereinafter referred to as "VTRs"), one camcorder (hereinafter referred to as "CAMs"), one editing machine, and one computer. The devices are connected by a twisted pair cable of P1394 serial bus. Since each device has the function of relaying the information signal and control signal input from the twisted pair cable,
This communication system is equivalent to a communication system in which each device is connected to a common P1394 serial bus.

【0004】バスを共有している機器におけるデータ伝
送は、図6のように所定の通信サイクル(例えば125
μsec)毎に時分割多重によって行なわれる。バス上
における通信サイクルの管理はCycle Maste
rと呼ばれる所定の機器、例えば編集機が通信サイクル
の開始時であることを示す同期パケット(サイクルスタ
ートパケット:以下「CSP」という。)をバス上の他
の機器へ伝送することによってその通信サイクルにおけ
るデータ伝送が開始される。
For data transmission in devices sharing a bus, a predetermined communication cycle (for example, 125) is used as shown in FIG.
.mu.sec) and time division multiplexing is performed. Cycle Master manages communication cycles on the bus.
By transmitting a synchronization packet (cycle start packet: hereinafter referred to as "CSP"), which indicates that a predetermined device, for example, an editor, is at the start of the communication cycle, to the other device on the bus, the communication cycle. The data transmission in is started.

【0005】1通信サイクル中に伝送されるデータの形
態は、ビデオデータやオーディオデータなどの同期型デ
ータ(以下「Isoデータ」という。)と、接続制御コ
マンド等の非同期型データ(以下「Asyncデータ」
という。)の2種類である。そして、Isoデータパケ
ットがAsyncデータパケットより先に伝送される。
Isoデータパケットそれぞれにチャンネル番号1,
2,3 ,・・・Nを付けることにより、複数のIsoデ
ータパケットを区別することができる。すべてのチャン
ネルのIsoデータパケットの送信が終了した後、次の
CSPまでの期間がAsyncデータパケットの伝送に
使用される。
The form of data transmitted during one communication cycle is synchronous data such as video data and audio data (hereinafter referred to as "Iso data") and asynchronous data such as connection control commands (hereinafter referred to as "Async data"). "
Say. ) Are two types. Then, the Iso data packet is transmitted before the Async data packet.
Channel number 1 for each Iso data packet
A plurality of Iso data packets can be distinguished by adding 2, 3, ... N. After transmission of the Iso data packet of all channels is completed, the period until the next CSP is used for transmission of the Async data packet.

【0006】バスにIsoデータパケットを送出しよう
とする機器は、チャンネルとデータ伝送に必要な帯域を
まず確保する。このため、バスのチャンネルと帯域を管
理する所定の機器(Bus Manager:以下「B
M」という。)、例えばコンピュータに、チャンネル及
び必要とする帯域を申請する。BMは、図7に示すよう
に、バスの各チャンネルの使用状態を示すレジスタRE
G1と、バスの残りの容量を示すレジスタREG2を備
えている。Isoデータパケットを送出しようとする機
器は、これらのレジスタREG1,2に対して、Asy
ncデータパケットを用いて読み出し命令を送り、RE
G1,2の内容を読み出す。そして、空きチャンネルと
空き容量があれば、Asyncデータパケットを用いて
自分が使用したいチャンネルと帯域をREG1,2に書
き込むための書き込み命令をBMへ送る。レジスタRE
G1,2への書き込みに成功すれば、バスへの出力が可
能となる。
A device that intends to send an Iso data packet to the bus first secures a channel and a band required for data transmission. Therefore, a predetermined device (Bus Manager: hereinafter referred to as “B”) that manages the channel and band of the bus.
M ”. ), For example, apply to a computer for channels and required bandwidth. The BM is, as shown in FIG. 7, a register RE indicating the usage status of each channel of the bus.
G1 and a register REG2 indicating the remaining capacity of the bus are provided. The device that intends to send the Iso data packet sends the Asy to the registers REG1 and REG2.
Send read command using nc data packet
Read the contents of G1 and G2. Then, if there is a free channel and a free space, a write command for writing the channel and band that the user wants to use to the REGs 1 and 2 using the Async data packet is sent to the BM. Register RE
If writing to G1 and G2 succeeds, output to the bus becomes possible.

【0007】図5に示した通信システム内の機器である
VTRの基本構成を図8に示す。このVTRは、VTR
としての本質的な機能単位であるデッキ部11とチュー
ナー部12に加えて、P1394シリアルバスに対する
デジタルインターフェイス(以下「デジタルI/F」と
いう。)13、このデジタルI/F13とデッキ部11
又はチューナー部12の切り換え接続を行うスイッチボ
ックス部14、及び通信制御マイコン15を備えてい
る。機器がCAMであれば、デッキ部11とチューナー
部12の代わりにカメラ部があり、編集機やコンピュー
タであれば、ビデオデータやコンピュータデータの処理
部がある。
FIG. 8 shows a basic configuration of a VTR which is a device in the communication system shown in FIG. This VTR is a VTR
In addition to the deck unit 11 and the tuner unit 12, which are the essential functional units of the above, a digital interface (hereinafter referred to as “digital I / F”) 13 for the P1394 serial bus, the digital I / F 13 and the deck unit 11
Alternatively, it is provided with a switch box unit 14 for switching connection of the tuner unit 12, and a communication control microcomputer 15. If the device is a CAM, there is a camera unit instead of the deck unit 11 and the tuner unit 12, and if it is an editing machine or a computer, there is a processing unit for video data and computer data.

【0008】このように構成された電子機器において、
機器間の接続は通信制御マイコン15が行う。図9に、
通信制御マイコン15のアプリケーション1とコマンド
処理部2と機器間接続処理部3間の処理伝達のレイヤー
分け及び機器間接続情報を管理するテーブル(Conn
ection Management Table:以下
「CMT」という。)4の構造図を示す。
In the electronic device configured as described above,
The communication control microcomputer 15 connects the devices. In Figure 9,
A table (Conn) that manages the layering of process transmission between the application 1 of the communication control microcomputer 15, the command processing unit 2, and the inter-device connection processing unit 3 and inter-device connection information.
section Management Table: Hereinafter referred to as “CMT”. ) 4 is shown.

【0009】アプリケーション1は通信相手、帯域等の
パラメータを含むコマンド生成し、コマンド処理部2へ
渡す。コマンド処理部2は、通信システム内に通信シス
テム全体の機器間接続を管理する代表機器(Audio
Video Manager:以下「AVM」とい
う。)が存在する場合は、機器間接続処理をAVMに渡
し、処理を任せる。一方、AVMが存在しない場合は、
自己の機器間接続処理部3へパラメータを渡す。機器間
接続処理部3は、このパラメータを基に機器間接続処理
を実行すると共に、パラメータをCMT4に登録する。
The application 1 generates a command including parameters such as a communication partner and a band, and passes it to the command processing section 2. The command processing unit 2 is a representative device (Audio) that manages inter-device connection of the entire communication system in the communication system.
Video Manager: Hereinafter referred to as "AVM". ) Exists, the inter-device connection process is passed to the AVM and the process is entrusted. On the other hand, if the AVM does not exist,
The parameter is passed to its own device-to-device connection processing unit 3. The inter-device connection processing unit 3 executes the inter-device connection process based on this parameter and registers the parameter in the CMT 4.

【0010】ここで、AVMになるのは、コンピュータ
のような通信システム全体を管理する能力のある機器で
ある。そして、AVMになるためには、システム内の全
機器のAVMレジスタ(図示せず)に自分のノードID
を書き込むことが必要であり、この書き込みに成功した
機器がAVMとなる。そして、各機器はシステム内にA
VMがいるかいないかは、自分のAVMレジスタにノー
ドIDが書かれているかどうかにより判別することがで
きる。
Here, the AVM is an apparatus capable of managing the entire communication system such as a computer. Then, in order to become the AVM, the node IDs of its own are stored in the AVM registers (not shown) of all devices in the system.
Must be written, and the device that succeeded in writing this becomes the AVM. And each device is A
Whether or not there is a VM can be determined by whether or not the node ID is written in its own AVM register.

【0011】[0011]

【発明が解決しようとする課題】このように構成された
通信システムにおいて、機器の電源をオン/オフにした
り、バスに対して機器を抜き差しすることによりバスリ
セットが起きた際のことを考える。
Consider a case in which a bus reset occurs in the communication system configured as described above, when the power of the device is turned on / off or the device is connected / disconnected to / from the bus.

【0012】このとき、バスリセット前に自己の機器間
接続処理部3で機器間接続処理を実行した場合には、バ
スリセットが起きた際に、各々の機器間接続処理部3で
管理しているCMT4に登録されている機器間接続情報
を基に機器間接続を張り直すため、リセット前の機器間
接続を維持することができる。
At this time, if the inter-device connection processing unit 3 executes its inter-device connection processing before the bus reset, when the bus reset occurs, each inter-device connection processing unit 3 manages the inter-device connection processing unit 3. Since the device-to-device connection is reestablished based on the device-to-device connection information registered in the existing CMT 4, the device-to-device connection before resetting can be maintained.

【0013】一旦、AVMに機器間接続処理を任せた場
合、バスリセット等が起こると、自分の機器間接続処理
部3に機器間接続情報を保持していないため、接続を張
り直すことができない。
Once the AVM is entrusted with the inter-device connection processing, if a bus reset or the like occurs, the inter-device connection processing unit 3 does not hold the inter-device connection information, and therefore the connection cannot be reestablished. .

【0014】このため、バスリセット前にAVMが存在
しリセット後にいなくなった場合や、リセットの前後で
AVMが変わってしまった場合には、リセット後のシス
テム全体の機器間接続が解除されてしまうため、VTR
の記録や編集処理等が中断されてしまう。
Therefore, when the AVM exists before the bus reset and disappears after the reset, or when the AVM changes before and after the reset, the device-to-device connection of the entire system after the reset is released. For VTR
The recording and editing process will be interrupted.

【0015】さらに、バスリセット前にAVMが存在せ
ず、リセット後に出現した場合等には、リセット前に各
々の機器が各自張っていた接続を張り直すのみで、AV
MへCMTの内容を送信しないため、新しいAVMはシ
ステム全体の機器間接続状況を把握するために、全機器
に対してCMTの内容を問い合わせる必要があり、通信
数が多くなることがある。
Furthermore, when the AVM does not exist before the bus reset and appears after the reset, each device simply re-establishes its own connection before the reset.
Since the contents of CMT are not transmitted to M, the new AVM needs to inquire the contents of CMT to all the devices in order to grasp the connection status between the devices of the entire system, which may increase the number of communications.

【0016】本発明は、このような問題点を解決するた
めに提案されたものであって、バスリセット時に機器間
の情報信号の送受信が中断されないようにしたデータ通
信方法及び電子機器を提供することを目的とする。
The present invention has been proposed in order to solve such a problem, and provides a data communication method and an electronic device in which transmission / reception of an information signal between devices is not interrupted at the time of bus reset. The purpose is to

【0017】また、本発明は、バスリセット前にAVM
が存在せず、リセット後に出現した場合であっても、A
VMが各機器に対して機器間接続情報の問い合わせる必
要をなくしたデータ通信方法及び電子機器を提供するこ
とを目的とする。
Further, according to the present invention, the AVM is provided before the bus reset.
A does not exist and appears after a reset, A
An object of the present invention is to provide a data communication method and an electronic device that eliminates the need for the VM to inquire of each device about inter-device connection information.

【0018】[0018]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、バスで接続された複数の電子機器間でデ
ータ通信を行うデータ通信方法において、機器間の接続
を行った電子機器は機器毎に定めた接続情報を各々の接
続に対して保持し、データ通信中にバスリセットが発生
した場合には、該保持しておいた接続情報に基づいて再
度機器間の接続を行うようになし、情報信号を出力して
いる機器のノードIDと出力プラグ番号を指定し、入力
される機器を指定しないブロードキャスト出力の機器接
続状態を指定可能としたものである。
In order to solve the above problems, the present invention provides a data communication method for performing data communication between a plurality of electronic devices connected by a bus, wherein the electronic devices are connected to each other. Holds the connection information defined for each device for each connection, and when a bus reset occurs during data communication, reconnects between devices based on the held connection information. However, the node ID and the output plug number of the device outputting the information signal can be specified, and the device connection state of broadcast output can be specified without specifying the input device.

【0019】また、本発明は、バスで接続された複数の
電子機器間でデータ通信を行うデータ通信方法におい
て、機器間の接続を行った電子機器は機器毎に定めた接
続情報を各々の接続に対して保持し、データ通信中にバ
スリセットが発生した場合には、該保持しておいた接続
情報に基づいて再度機器間の接続を行うようになし、情
報信号を出力している機器を指定せず、情報信号を入力
している機器のノードIDと入力プラグ番号を指定する
ブロードキャスト入力の機器接続状態を指定可能とした
ものである。
Further, according to the present invention, in a data communication method for performing data communication between a plurality of electronic devices connected by a bus, the electronic devices connected to each other have connection information determined for each device. When a bus reset occurs during data communication, the device is not connected again based on the held connection information and the device outputting the information signal is It is possible to specify the device connection state of the broadcast input that specifies the node ID and the input plug number of the device that is inputting the information signal without specifying.

【0020】 更に、本発明は、バスで接続された複数
の電子機器間でデータ通信を行う電子機器において、機
器間の接続毎に定めた接続情報を各々の接続に対して保
持する手段を有し、データ通信中にバスリセットが発生
した場合には、該手段に保持しておいた接続情報に基づ
いて再度機器間の接続を行うようになし、情報信号を出
力している機器のノードIDと出力プラグ番号を指定
し、入力される機器を指定しないブロードキャスト出力
の機器接続状態を指定可能としたものである。
Furthermore, the present invention has a means for holding connection information, which is determined for each connection between devices, for each connection in an electronic device that performs data communication between a plurality of electronic devices connected by a bus. However, if a bus reset occurs during data communication, the devices are reconnected based on the connection information held in the means, and the node ID of the device outputting the information signal. And the output plug number are specified, and the device connection state of broadcast output can be specified without specifying the input device.

【0021】更にまた、本発明は、バスで接続された複
数の電子機器間でデータ通信を行う電子機器において、
機器間の接続毎に定めた接続情報を各々の接続に対して
保持する手段を有し、データ通信中にバスリセットが発
生した場合には、該手段に保持しておいた接続情報に基
づいて再度機器間の接続を行うようになし、情報信号を
出力している機器を指定せず、情報信号を入力している
機器のノードIDと入力プラグ番号を指定するブロード
キャスト入力の機器接続状態を指定可能としたものであ
る。
Furthermore, the present invention provides an electronic device for performing data communication between a plurality of electronic devices connected by a bus,
When a bus reset occurs during data communication, it has a means to hold the connection information defined for each connection between devices, and based on the connection information held in the means. Do not connect the devices again, do not specify the device that outputs the information signal, specify the node ID and the input plug number of the device that inputs the information signal. Specify the device connection status of broadcast input. It was possible.

【0022】[0022]

【作用】本発明によれば、データ通信を行おうとする電
子機器は、機器間の接続情報を保持し、システム全体の
機器間接続を管理する電子機器の存在の有無に応じて、
機器間の接続情報をシステム全体の機器間接続を管理す
る電子機器へ送信して接続処理を任せるか又は自分で接
続処理を行うかを選択する。
According to the present invention, an electronic device that intends to perform data communication holds connection information between devices and determines whether or not there is an electronic device that manages connection between devices of the entire system.
Select whether to send the connection information between the devices to the electronic device that manages the device-to-device connection of the entire system and let the connection process be performed or perform the connection process by yourself.

【0023】データ通信中にバスリセットが発生した場
合には、保持しておいた接続情報に基づいて再度機器間
の接続を行う。したがって、バスリセット前後におけ
る、システム全体の機器間接続を管理する電子機器の存
在の有無あるいは変更にかかわらず機器間接続を維持す
ることができる。
When a bus reset occurs during data communication, the devices are reconnected based on the held connection information. Therefore, the inter-device connection can be maintained regardless of the presence or absence of the electronic device that manages the inter-device connection of the entire system before and after the bus reset.

【0024】[0024]

【実施例】以下、本発明の実施例について、図面を参照
しながら、 〔1〕本発明の実施例におけるCMTへの登録/削除 〔2〕バスリセット時の処理 (2−1)バスリセット前後共AVMが存在しない場合 (2−2)バスリセット前にAVMが存在せず、リセッ
ト後に現れた場合 (2−3)バスリセット前にはAVMが存在し、リセッ
ト後にいなくなった場合 の順序で詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. [1] Registration / deletion in CMT in the embodiment of the present invention [2] Processing at bus reset (2-1) Before and after bus reset When there is no shared AVM (2-2) AVM does not exist before the bus reset and appears after the reset (2-3) In the order in which the AVM exists before the bus reset and disappears after the reset The details will be described.

【0025】〔1〕本発明の実施例におけるCMTへの
登録/削除 図1に本発明の実施例における通信制御マイコンのアプ
リケーション1とコマンド処理部2と機器間接続処理部
3間の処理伝達のレイヤー分け及びCMTの構造図を示
す。
[1] Registration / Deletion in CMT in the Embodiment of the Present Invention FIG. 1 shows transmission of processing between the application 1, the command processing unit 2, and the inter-device connection processing unit 3 of the communication control microcomputer in the embodiment of the present invention. The structural diagram of layer division and CMT is shown.

【0026】本実施例では、ユーザーの操作に応じてア
プリケーション1が接続のパラメータを含むコマンドを
作成すると、コマンド処理部2は各々の接続に対して機
器内で一意に定まるコネクションIDを付与し、アプリ
ケーション1から渡されたパラメータと共にCMT4に
登録する。コマンド処理部2からアプリケーション1へ
の返事としてこのコネクションIDを渡すことにより、
これ以後、アプリケーション1はコネクションIDを用
いたコマンドを送信するだけで、接続のパラメータが一
意に決定される。
In this embodiment, when the application 1 creates a command including connection parameters in response to a user's operation, the command processing unit 2 gives each connection a connection ID uniquely determined in the device, It is registered in the CMT 4 together with the parameters passed from the application 1. By passing this connection ID as a reply from the command processing unit 2 to the application 1,
After that, the application 1 simply sends a command using the connection ID to uniquely determine the connection parameters.

【0027】コマンド処理部2は、通信システム内にA
VMが存在しない場合には、CMT4に登録した接続の
パラメータを含むコマンドを自己の機器間接続処理部3
へ送信する。機器間接続処理部3は、このパラメータに
したがって機器間接続処理を実行する。一方、AVMが
存在する場合には、CMT4に登録した接続のパラメー
タを含むコマンドをAVMへ送信して機器間接続処理を
任せる。
The command processing unit 2 uses A in the communication system.
When the VM does not exist, the command including the connection parameter registered in the CMT 4 is used as the device-to-device connection processing unit 3 itself.
Send to. The inter-device connection processing unit 3 executes inter-device connection processing according to this parameter. On the other hand, when the AVM exists, the command including the connection parameter registered in the CMT 4 is transmitted to the AVM and the inter-device connection processing is entrusted.

【0028】コマンド処理部2は、アプリケーション1
から機器間接続の解放(disconnect)コマン
ドを受けた場合、通信システム内にAVMが存在するか
どうかを判断する。前記したように、この解放コマンド
はコネクションIDを用いたコマンドである。そして、
AVMが存在しない場合には解放コマンドを自己の機器
間接続処理部3へ送信し、AVMが存在する場合には解
放コマンドをAVMへ送信する。自己の機器間接続処理
部3又はAVMが機器間接続の解放処理を行った後に、
コマンド処理部2はコネクションID及びパラメータを
CMT4から削除する。
The command processing section 2 includes an application 1
When receiving a disconnect command from the device, it determines whether the AVM exists in the communication system. As described above, this release command is a command using the connection ID. And
When the AVM does not exist, the release command is transmitted to its own inter-device connection processing unit 3, and when the AVM exists, the release command is transmitted to the AVM. After the device-to-device connection processing unit 3 or the AVM of itself performs the process of releasing the device-to-device connection,
The command processing unit 2 deletes the connection ID and the parameter from the CMT 4.

【0029】以上各機器において機器間接続を行う部分
について説明したが、AVMも基本的に同じ構成であ
る。ただ、AVMの場合、各機器との間で機器間接続情
報を送受信するように構成されている点が異なる。
Although the parts for connecting the devices have been described above, the AVM has basically the same configuration. However, the AVM is different in that it is configured to transmit and receive device-to-device connection information to and from each device.

【0030】図5に示した通信システムにおいて、例え
ばCAMで再生しVTR1で録画していると共に、編集
機がVTR2及びVTR3を操作している場合について
考える。
In the communication system shown in FIG. 5, let us consider a case where, for example, CAM is reproduced and VTR1 is recorded, and an editing machine is operating VTR2 and VTR3.

【0031】このときの、CAMが持つCMTを図2に
示す。この図において、パラメータの出力ノードIDは
情報信号を出力している機器のID、この場合CAMの
ノードIDである。出力プラグ番号は情報信号を出力し
ているプラグの番号、この場合、プラグ0である。入力
ノードIDは、情報信号を入力している機器のIDであ
る。この場合、CAMは、再生モードにして情報信号を
バスへ出力しているので、ブロードキャストになってい
る。入力プラグ番号は、情報信号を入力しているプラグ
番号である。ここでは、ブロードキャスト出力なので
「don’t care」になっている。BW(Ban
dwidth)は情報信号の伝送に必要な帯域である。
PB(Protect Bit)は、機器間接続が保護
されているかどうかを示す。この場合、0なので保護さ
れていない。以上のパラメータを持つ機器間接続に対し
てコネクションID=1が付与されている。
The CMT of the CAM at this time is shown in FIG. In this figure, the output node ID of the parameter is the ID of the device outputting the information signal, in this case the CAM node ID. The output plug number is the number of the plug that is outputting the information signal, in this case, plug 0. The input node ID is the ID of the device that is inputting the information signal. In this case, the CAM is in the reproduction mode and outputs the information signal to the bus, so that it is broadcast. The input plug number is the plug number that inputs the information signal. Here, since it is a broadcast output, it is “don't care”. BW (Ban
dwidth) is a band required for transmitting an information signal.
PB (Protect Bit) indicates whether the inter-device connection is protected. In this case, since it is 0, it is not protected. Connection ID = 1 is assigned to the inter-device connection having the above parameters.

【0032】同様に、VTR1のCMTを図3に示す。
パラメータの出力ノードIDがブロードキャストになっ
ているのは、デフォルト(固定)のチャンネルから入力
している状態を意味する。
Similarly, the CMT of VTR1 is shown in FIG.
The output node ID of the parameter being broadcast means that the input is made from the default (fixed) channel.

【0033】さらに、編集機のCMTを図4に示す。こ
のように、編集機など他の機器を管理できる機器によっ
て機器間接続が張られる場合を1対1(one to o
ne)接続と呼ぶ。1対1接続の場合、機器間接続を保
護するので、PBは1になっている。
Further, FIG. 4 shows the CMT of the editing machine. In this way, when a device-to-device connection is established by a device capable of managing another device such as an editing machine, one-to-one (one to one)
ne) Called connection. In the case of the one-to-one connection, PB is 1 because the connection between the devices is protected.

【0034】接続がブロードキャストの場合には、通常
は機器間接続は保護されないが、ユーザーの設定により
機器間接続を保護するように構成することもできる。こ
の場合、コマンド処理部2は、アプリケーション1から
プロテクト処理の要求を受ける。コマンド処理部2は、
プロテクト処理を行ったときは、CMT4上の対応する
コネクションIDのPBを1にセットし、逆にプロテク
ト解除処理を行ったときは、PBを0にする。但し、1
対1接続の場合は、接続が張られるとそれが必ず保護さ
れるため、登録時にPBは1になる。
When the connection is broadcast, the device-to-device connection is not normally protected, but the device-to-device connection can be protected by user setting. In this case, the command processing unit 2 receives a request for protection processing from the application 1. The command processing unit 2
When the protection process is performed, PB of the corresponding connection ID on the CMT 4 is set to 1, and conversely, when the protection release process is performed, PB is set to 0. However, 1
In the case of a one-to-one connection, PB becomes 1 at the time of registration because it is always protected when the connection is established.

【0035】〔2〕バスリセット時の処理 次に、バスリセット時の処理について説明する。[2] Processing at bus reset Next, the processing at the time of bus reset will be described.

【0036】(2−1)バスリセット前後共AVMが存
在しない場合 バスリセット前にAVMが存在せず、バスリセット後に
もAVMが存在しない場合には、ブロードキャスト出力
をしていたCAMのコマンド処理部2はCMT4上の接
続処理を自己の機器間接続処理部3に渡す。同様に、編
集機も、CMT4上に登録してあるVTR2−VTR3
間の1対1接続処理を自己の機器間接続処理部3に渡
す。各々、実際に機器間接続処理が実行されると、機器
間接続が維持される。ここで、ブロードキャスト入力を
していたVTR1は、リセット後もそのままデフォルト
のチャンネルから入力していればよい。
(2-1) When there is no AVM before and after the bus reset If there is no AVM before the bus reset and no AVM exists after the bus reset, the command processing unit of the CAM that has broadcast output 2 passes the connection processing on the CMT 4 to its own inter-device connection processing unit 3. Similarly, the editing machine also registers the VTR2-VTR3 registered on the CMT4.
The one-to-one connection process between the devices is passed to its own device-to-device connection processing unit 3. When the inter-device connection process is actually executed, the inter-device connection is maintained. Here, the VTR 1 that has received the broadcast input may be input from the default channel as it is after the reset.

【0037】次に、バスリセット前にAVMが存在せ
ず、バスリセット後にもAVMが存在しない場合の一例
を、CAMとVTR1との間の録画動作を停止し、CA
Mの電源を落とす場合について説明する。
Next, an example in which the AVM does not exist before the bus reset and the AVM does not exist even after the bus reset, the recording operation between the CAM and the VTR 1 is stopped, and the CA
A case where the power source of M is turned off will be described.

【0038】VTR1の録画動作を停止し、CAMの再
生動作を停止することで、CAMのアプリケーション1
はブロードキャスト出力を解放(disconnec
t)させるコマンドをコマンド処理部2に渡す。コマン
ド処理部2では、システム内にAVMが存在しないた
め、このコマンドを自己の機器間接続処理部3へ渡す。
機器間接続を解放する処理が完了とすると、コマンド処
理部2ではアプリケーション1から知らされた解放(d
isconnect)コマンドのコネクションIDに対
応する接続処理をCMT4上から削除する。その後、C
AMの電源を落とすとバスリセットが起こる。バスリセ
ット後、編集機は、システム内にAVMが存在しないた
め、自己の機器間接続処理部3へ1対1接続処理の要求
を出す。機器間接続処理部3において、帯域とチャンネ
ルを獲得し直し、機器間接続を張り直すことで編集機に
よるVTR2とVTR3との間の編集作業は維持され
る。
By stopping the recording operation of the VTR 1 and the reproducing operation of the CAM, the CAM application 1
Releases broadcast output (disconnect
The command t) is passed to the command processing unit 2. Since there is no AVM in the system, the command processing unit 2 passes this command to its own inter-device connection processing unit 3.
When the process of releasing the device-to-device connection is completed, the command processing unit 2 releases (d
The connection process corresponding to the connection ID of the isconnect) command is deleted from the CMT 4. Then C
A bus reset occurs when the AM power is turned off. After the bus is reset, the editing machine issues a request for one-to-one connection processing to its own inter-device connection processing section 3 because there is no AVM in the system. In the device-to-device connection processing unit 3, the band and channel are reacquired, and the device-to-device connection is reestablished, so that the editing work between the VTR 2 and the VTR 3 by the editing machine is maintained.

【0039】(2−2)バスリセット前にAVMが存在
せず、リセット後に現れた場合 次に、バスリセット前にAVMが存在せず、バスリセッ
ト後にAVMが現れた場合について説明する。ここで
は、コンピュータがAVMになり、システム全体を把握
する場合を考える。
(2-2) Case where AVM does not exist before bus reset and appears after reset Next, a case where AVM does not exist before bus reset and AVM appears after bus reset will be described. Here, consider a case where the computer becomes an AVM and grasps the entire system.

【0040】バスリセット後、編集機のコマンド処理部
2は、システム内にAVMが存在するため、1対1接続
処理コマンドをAVMへ渡す。AVMは編集機のコマン
ド処理部2から受けた機器間接続処理を自己の機器間接
続処理部3に渡し、帯域とチャンネルの取得の代行と接
続処理を行う。その後、コンピュータ上の操作でVTR
1とVTR4間の作業を行ったとする。この場合、コン
ピュータは、編集機が使用している帯域とチャンネルを
把握しており、自分は他のチャンネルを使用して編集等
の作業を行う。なお、AVMは、バス全体を有効に利用
するために必要があれば、他の機器間接続を強制的に解
放することも可能である。
After the bus is reset, the command processing unit 2 of the editor passes the one-to-one connection processing command to the AVM because the AVM exists in the system. The AVM passes the inter-device connection processing received from the command processing unit 2 of the editing machine to its own inter-device connection processing unit 3, and performs band and channel acquisition agency and connection processing. After that, the VTR is operated on the computer.
Suppose that the work between 1 and VTR4 was done. In this case, the computer knows the band and the channel used by the editing machine, and performs the work such as editing using the other channel. It should be noted that the AVM can forcibly release the connection between other devices if necessary to effectively use the entire bus.

【0041】(2−3)バスリセット前にはAVMが存
在し、リセット後にいなくなった場合 次に、バスリセット前にはAVMが存在し、バスリセッ
ト後にAVMがいなくなった場合について説明する。コ
ンピュータ上の編集作業が終了し、バスリセットを起こ
して、コンピュータがAVMとしてのシステム管理を降
りると、編集機は今度はAVMがいなくなったと知り、
1対1接続コマンドを自己の機器間接続処理部3へ送信
する。編集機の機器間接続処理部3はこのコマンドにし
たがって、1対1接続処理を実行するので、VTR2−
VTR3間の編集作業は続行される。一方、コンピュー
タはAVMとしてのシステム管理を降りCMT4もクリ
アされているため、VTR1−VTR4間の接続は張り
直さず、コンピュータ上で操作していたVTR1−VT
R4間の接続は解放されたままである。
(2-3) AVM exists before the bus reset and disappears after the reset Next, a case where the AVM exists before the bus reset and disappears after the bus reset will be described. When the editing work on the computer was completed, a bus reset occurred, and the computer left the system management as the AVM, the editing machine learned that the AVM was gone this time.
The one-to-one connection command is transmitted to its own inter-device connection processing unit 3. Since the device-to-device connection processing unit 3 of the editing machine executes the one-to-one connection process according to this command, VTR2-
Editing work between VTRs 3 continues. On the other hand, since the computer has exited the system management as AVM and CMT4 has been cleared, the connection between VTR1 and VTR4 is not reestablished and the VTR1-VT operated on the computer
The connection between R4 remains open.

【0042】このように、本実施例では、上位のレイヤ
ーであるコマンド処理部2がCMT4を管理し、AVM
の存在の有無を確認したうえでAVMあるいは自己の機
器間接続処理部3へCMT4上の処理を送信する。した
がって、バスリセット前後のAVMの存在の有無及び変
更にかかわらずシステム上の機器間接続を維持すること
ができ、且つ新しいAVMが各機器に対してCMT4上
の接続情報を問い合わせる必要がなくなる。
As described above, in this embodiment, the command processing unit 2 which is the upper layer manages the CMT 4, and the AVM
After the presence or absence of the CMT 4 is confirmed, the processing on the CMT 4 is transmitted to the AVM or its own inter-device connection processing unit 3. Therefore, the connection between the devices on the system can be maintained regardless of the presence or absence of the AVM before and after the bus reset, and the new AVM does not need to inquire each device of the connection information on the CMT 4.

【0043】このため、複数の編集作業を行っている際
に、一部の編集機等の抜き差しをしても、その編集作業
に係わっていた機器間の接続は切れても、他の1対1接
続は維持されるため、P1394のシステム上で機器の
抜き差しがあっても、他の機器には影響を及ぼさないと
いう理念に適合できる。
Therefore, when a plurality of editing operations are performed, even if a part of the editing machines is removed or connected, the connection between the devices involved in the editing operation is lost, and the other pair of Since one connection is maintained, it is possible to comply with the principle that even if a device is connected or disconnected on the P1394 system, other devices are not affected.

【0044】さらに、本実施例では、各々の接続に対し
て一意に定まるコネクションIDを付け、アプリケーシ
ョン1から渡されたパラメータと共にCMT4に登録す
るので、以後はアプリケーション1がコネクションID
を用いたコマンドを送信するだけで、コマンド処理部2
は接続のパラメータを一意に決定し、コネクションID
に対応するパラメータを用いたコマンドを作成すること
ができる。
Further, in the present embodiment, a connection ID that is uniquely determined for each connection is added and registered in the CMT 4 together with the parameters passed from the application 1, so that the application 1 will thereafter have a connection ID.
Command processing unit 2 by simply sending a command using
Uniquely determines the connection parameters, and the connection ID
You can create a command with parameters corresponding to.

【0045】なお、前記実施例では、各機器のコマンド
処理部とAVMのコマンド処理部との間は接続のパラメ
ータを用いたコマンドを送受信するものとして説明した
が、AVMに機器別のコネクションIDを管理する能力
を持たせることにより、一旦コネクションIDとパラメ
ータを用いたコマンドを送信し、これがAVMのCMT
に登録された後はコネクションIDを用いたコマンドを
送受信するように構成することもできる。
In the above embodiment, the command processing unit of each device and the command processing unit of the AVM are described as transmitting and receiving the command using the connection parameter, but the AVM has the connection ID for each device. By giving the ability to manage, the command using the connection ID and the parameter is transmitted once, and this is the CMT of AVM.
It is also possible to configure so as to send and receive a command using the connection ID after being registered in.

【0046】[0046]

【発明の効果】以上詳細に説明したように、本発明によ
れば、バスリセット前後における、システム全体の機器
間接続を管理する電子機器の存在の有無あるいは変更に
かかわらず機器間接続を維持することができる。
As described above in detail, according to the present invention, the inter-device connection is maintained regardless of the presence or change of the electronic device that manages the inter-device connection of the entire system before and after the bus reset. be able to.

【0047】また、本発明によれば、バスリセット後の
新しいAVMは各機器に対して接続情報を問い合わせる
必要がない。そして、バスリセット時の処理は、自動的
に行われるため、ユーザーはバスリセットを意識しなく
てもすむ。
Further, according to the present invention, the new AVM after the bus reset does not need to inquire each device about the connection information. Since the processing at the time of bus reset is automatically performed, the user does not need to be aware of the bus reset.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明における通信制御マイコンのアプリケー
ションとコマンド処理部と機器間接続処理部間の処理伝
達のレイヤー分け及びCMTの構造図を示す図である。
FIG. 1 is a diagram showing a layered structure of a process transmission between an application of a communication control microcomputer, a command processing unit, and an inter-device connection processing unit and a CMT structure diagram according to the present invention.

【図2】本発明において、CAMが持つCMTの内容を
示す図である。
FIG. 2 is a diagram showing the contents of a CMT held by a CAM in the present invention.

【図3】本発明において、VTR1が持つCMTの内容
を示す図である。
FIG. 3 is a diagram showing the contents of CMT possessed by a VTR1 in the present invention.

【図4】本発明において編集機が持つCMTの内容を示
す図である。
FIG. 4 is a diagram showing the contents of a CMT possessed by an editor in the present invention.

【図5】P1394シリアルバスを用いた通信システム
の一例を示す図である。
FIG. 5 is a diagram showing an example of a communication system using a P1394 serial bus.

【図6】P1394シリアルバスを用いた通信システム
を用いた通信システムにおけるバス上のデータ構造の一
例を示す図である。
FIG. 6 is a diagram showing an example of a data structure on a bus in a communication system using a communication system using a P1394 serial bus.

【図7】P1394シリアルバスを用いた通信システム
において、チャンネルと帯域を確保する方法を説明す図
である。
FIG. 7 is a diagram illustrating a method of securing channels and bands in a communication system using a P1394 serial bus.

【図8】図5に示す通信システムにおけるVTRの基本
構成を示す図である。
8 is a diagram showing a basic configuration of a VTR in the communication system shown in FIG.

【図9】図5に示すVTRにおける通信制御マイコンの
アプリケーションとコマンド処理部と機器間接続処理部
間の処理伝達のレイヤー分け及びCMTの構造を示す図
である。
9 is a diagram showing the layering of the process transmission between the application of the communication control microcomputer in the VTR shown in FIG. 5, the command processing unit, and the device connection processing unit, and the structure of the CMT.

【符号の説明】[Explanation of symbols]

1 アプリケーション、 2 コマンド処理部、 3
機器間接続処理部、4 CMT
1 application, 2 command processing part, 3
Equipment connection processing unit, 4 CMT

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 真 東京都品川区北品川6丁目7番35号 ソ ニー株式会社内 (56)参考文献 特開 平5−175964(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/44 H04L 12/28 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Makoto Sato 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (56) Reference JP-A-5-175964 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 12/44 H04L 12/28

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 バスで接続された複数の電子機器間でデ
ータ通信を行うデータ通信方法において、 機器間の接続を行った電子機器は機器毎に定めた接続情
報を各々の接続に対して保持し、データ通信中にバスリ
セットが発生した場合には、該保持しておいた接続情報
に基づいて再度機器間の接続を行うようになし、情報信
号を出力している機器のノードIDと出力プラグ番号を
指定し、入力される機器を指定しないブロードキャスト
出力の機器接続状態を指定可能としたことを特徴とする
データ通信方法。
1. A data communication method for performing data communication between a plurality of electronic devices connected by a bus, wherein the electronic device connected between the devices holds connection information defined for each device for each connection. However, when a bus reset occurs during data communication, the devices are not connected again based on the held connection information, and the node ID and output of the device outputting the information signal are output. A data communication method characterized in that the device connection state of broadcast output can be specified by specifying a plug number and not specifying an input device.
【請求項2】 バスで接続された複数の電子機器間でデ
ータ通信を行うデータ通信方法において、 機器間の接続を行った電子機器は機器毎に定めた接続情
報を各々の接続に対して保持し、データ通信中にバスリ
セットが発生した場合には、該保持しておいた接続情報
に基づいて再度機器間の接続を行うようになし、情報信
号を出力している機器を指定せず、情報信号を入力して
いる機器のノードIDと入力プラグ番号を指定するブロ
ードキャスト入力の機器接続状態を指定可能としたこと
を特徴とするデータ通信方法。
2. A data communication method for performing data communication between a plurality of electronic devices connected by a bus, wherein the electronic device connecting the devices holds connection information defined for each device for each connection. However, when a bus reset occurs during data communication, the devices are not connected again based on the held connection information, and the device outputting the information signal is not specified. A data communication method characterized in that it is possible to specify a device connection state of broadcast input for specifying a node ID of a device inputting an information signal and an input plug number.
【請求項3】 バスで接続された複数の電子機器間でデ
ータ通信を行う電子機器において、 機器間の接続毎に定めた接続情報を各々の接続に対して
保持する手段を有し、データ通信中にバスリセットが発
生した場合には、該手段に保持しておいた接続情報に基
づいて再度機器間の接続を行うようになし、情報信号を
出力している機器のノードIDと出力プラグ番号を指定
し、入力される機器を指定しないブロードキャスト出力
の機器接続状態を指定可能としたことを特徴とする電子
機器。
3. An electronic device for performing data communication between a plurality of electronic devices connected by a bus, comprising means for holding connection information defined for each connection between the devices, and data communication. If a bus reset occurs during this time, the devices are reconnected based on the connection information held in the means, and the node ID and output plug number of the device that is outputting the information signal. Is specified, and the device connection state of broadcast output can be specified without specifying the input device.
【請求項4】 バスで接続された複数の電子機器間でデ
ータ通信を行う電子機器において、 機器間の接続毎に定めた接続情報を各々の接続に対して
保持する手段を有し、データ通信中にバスリセットが発
生した場合には、該手段に保持しておいた接続情報に基
づいて再度機器間の接続を行うようになし、情報信号を
出力している機器を指定せず、情報信号を入力している
機器のノードIDと入力プラグ番号を指定するブロード
キャスト入力の機器接続状態を指定可能としたことを特
徴とする電子機器。
4. An electronic device for performing data communication between a plurality of electronic devices connected by a bus, comprising means for holding connection information defined for each connection between the devices, and data communication. If a bus reset occurs during that time, the devices are reconnected based on the connection information held in the means, and the device outputting the information signal is not specified. An electronic device capable of specifying a device connection state of broadcast input for specifying a node ID and an input plug number of a device inputting.
JP2001248211A 2001-08-17 2001-08-17 Data communication method and electronic device Expired - Lifetime JP3478285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001248211A JP3478285B2 (en) 2001-08-17 2001-08-17 Data communication method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001248211A JP3478285B2 (en) 2001-08-17 2001-08-17 Data communication method and electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP16588394A Division JP3246200B2 (en) 1994-06-24 1994-06-24 Data communication method and electronic device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003273502A Division JP3702888B2 (en) 2003-07-11 2003-07-11 Communication control method and communication system

Publications (2)

Publication Number Publication Date
JP2002101116A JP2002101116A (en) 2002-04-05
JP3478285B2 true JP3478285B2 (en) 2003-12-15

Family

ID=19077413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001248211A Expired - Lifetime JP3478285B2 (en) 2001-08-17 2001-08-17 Data communication method and electronic device

Country Status (1)

Country Link
JP (1) JP3478285B2 (en)

Also Published As

Publication number Publication date
JP2002101116A (en) 2002-04-05

Similar Documents

Publication Publication Date Title
KR100497689B1 (en) A method of data communication and ellectronic apparatus
JP3500785B2 (en) Communication control method and electronic device
JPH0847058A (en) Input device selection method
US6286071B1 (en) Communication control method, communication system and electronic device used therefor
JP3291926B2 (en) Electronic device control method
JP3671738B2 (en) Transmission management method
JP3246200B2 (en) Data communication method and electronic device
JP3348526B2 (en) Audio-video manager device, audio-video device, and communication method
US5838248A (en) Electronic arrangement and communication control method therefor
JP3478285B2 (en) Data communication method and electronic device
JP3702888B2 (en) Communication control method and communication system
EP1061692A2 (en) Controlling device, communication system and controlling method
JP3271110B2 (en) Data communication method and electronic device
JP3972288B2 (en) Signal processing system, signal output device, signal input device, and communication control method
JP3704773B2 (en) Electronic device and control method thereof
JP3127704B2 (en) Data transfer method
JP3358618B2 (en) Data transfer method
CA2354102C (en) Communication system and electronic apparatus
JP3341758B2 (en) Data transfer method
JP3560522B2 (en) Reception method in data receiving apparatus on IEEE1394
JP3627726B2 (en) Electronics
JP2003324451A (en) Signal processing system, signal output device, signal input device and communication control method
US6721895B1 (en) Data communications system and data communications method
JP2005176251A (en) Data transfer method, data transfer apparatus, and control program
JP2001077826A (en) Equipment connecting method and program recording medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030902

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term