[go: up one dir, main page]

JP2002101116A - Data communication method and electronic apparatus - Google Patents

Data communication method and electronic apparatus

Info

Publication number
JP2002101116A
JP2002101116A JP2001248211A JP2001248211A JP2002101116A JP 2002101116 A JP2002101116 A JP 2002101116A JP 2001248211 A JP2001248211 A JP 2001248211A JP 2001248211 A JP2001248211 A JP 2001248211A JP 2002101116 A JP2002101116 A JP 2002101116A
Authority
JP
Japan
Prior art keywords
connection
devices
bus
data communication
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.)
Granted
Application number
JP2001248211A
Other languages
Japanese (ja)
Other versions
JP3478285B2 (en
Inventor
Yuko Iijima
祐子 飯島
Hisato Shima
久登 嶋
Harumi Kawamura
晴美 川村
Makoto Sato
真 佐藤
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)

Abstract

PROBLEM TO BE SOLVED: To avoid interrupting the transmission and reception of information signals between apparatus during the bus reset in a communication system connected via a P1394 serial bus. SOLUTION: A command processor 2 transmits a command including connection parameters registered in a CMT 4 to own inter-apparatus connection processor 3 when no AVM exists in a communication system. This processor 3 executes inter-apparatus processes according to the parameters. When an AVM exists, the processor 3 transmits a command including connection parameters registered in the CMT 4 to the AVM to entrust the inter-apparatus connection processes to it.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ビデオデータやオーデ
ィオデータのようなデジタルデータを、例えばIEEE
−P1394に準拠したシリアルバス(以下「P139
4シリアルバス」と略す。)のような通信制御バスを用
いて伝送するデータ通信方法及びこの伝送法を用いた電
子機器に関する。
The present invention relates to digital data such as video data and audio data, for example, IEEE
-A serial bus compliant with P1394 (hereinafter referred to as “P139
4 serial bus ". The present invention relates to a data communication method for transmitting data by 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 such as a P1394 serial bus capable of mixing control signals and information signals, and communicating information signals and control signals between these devices is known. 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 "VTR"), one camcorder (hereinafter, referred to as "CAM"), one editing machine, and one computer. The devices are connected by a twisted pair cable of a P1394 serial bus. Each device has a function to relay 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」という。)をバス上の他
の機器へ伝送することによってその通信サイクルにおけ
るデータ伝送が開始される。
Data transmission in devices sharing a bus is performed in a predetermined communication cycle (for example, 125
μsec) by time division multiplexing. The management of communication cycles on the bus is a cycle master
By transmitting a synchronization packet (cycle start packet: hereinafter referred to as “CSP”) indicating that a predetermined device called r, for example, an editing machine, is at the start of a communication cycle to another device on the bus, the communication cycle is started. Is started.

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

【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への書き込みに成功すれば、バスへの出力が可
能となる。
[0006] A device that intends to transmit an Iso data packet to a bus first secures a channel and a band necessary for data transmission. For this reason, a predetermined device (Bus Manager: hereinafter referred to as “B
M ”. ), Apply to the computer, for example, for the channel and the required bandwidth. BM is, as shown in FIG. 7, a register RE indicating the use state of each channel of the bus.
G1 and a register REG2 indicating the remaining capacity of the bus. A device that intends to transmit an Iso data packet sends an Asy signal to these registers REG1 and REG2.
nc data packet to send a read command,
The contents of G1 and G2 are read. If there is an available channel and available capacity, the BM sends a write command for writing the channel and band that the user wants to use to REG1 and REG2 using the Async data packet. 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 essential functional units, 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
Or, it comprises a switch box section 14 for switching connection of the tuner section 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の構造図を示す。
[0008] In the electronic device configured as described above,
The connection between the devices is performed by the communication control microcomputer 15. In FIG.
A table (Conn) that manages layer division of processing transmission among the application 1, the command processing unit 2, and the inter-device connection processing unit 3 of the communication control microcomputer 15, and manages inter-device connection information.
Action Management Table: Hereinafter referred to as “CMT”. FIG.

【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 transfers the command to the command processing unit 2. The command processing unit 2 includes a representative device (Audio) that manages connection between devices in the entire communication system in the communication system.
Video Manager: Hereinafter, referred to as “AVM”. ), The inter-device connection process is passed to the AVM, and the process is left to the AVM. On the other hand, if there is no AVM,
The parameter is passed to its own inter-device connection processing unit 3. The inter-device connection processing unit 3 executes the inter-device connection processing based on the parameters, and registers the parameters in the CMT 4.

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

【0011】[0011]

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

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

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

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

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

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

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

【0018】[0018]

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

【0019】また、本発明は、バスで接続された複数の
電子機器間でデータ通信を行うデータ通信方法におい
て、機器間の接続を行った電子機器は機器毎に定めた接
続情報を各々の接続に対して保持し、データ通信中にバ
スリセットが発生した場合には、該保持しておいた接続
情報に基づいて再度機器間の接続を行うようになし、情
報信号を出力している機器を指定せず、情報信号を入力
している機器のノードIDと入力プラグ番号を指定する
ブロードキャスト入力の機器接続状態を指定可能とした
ものである。
According to the present invention, there is provided 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 transmits connection information determined for each device to each connection device. If a bus reset occurs during data communication, the connection between the devices is re-established based on the held connection information, and the device outputting the information signal is reset. 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 the device can be specified.

【0020】更に、本発明は、バスで接続された複数の
電子機器間でデータ通信を行う電子機器において、機器
間の接続毎に定めた接続情報を各々の接続に対して保持
する手段を有し、データ通信中にバスリセットが発生し
た場合には、該手段に保持しておいた接続情報に基づい
て再度機器間の接続を行うようになし、情報信号を出力
している機器のノードIDと出力プラグ番号を指定し、
入力される機器を指定しないブロードキャスト出力の機
器接続状態を指定可能としたものである。ことを特徴と
する電子機器。
Further, according to the present invention, in an electronic device for performing data communication between a plurality of electronic devices connected by a bus, there is provided means for holding connection information defined for each connection between the devices for each connection. If a bus reset occurs during data communication, the connection between the devices is re-established based on the connection information stored in the means, and the node ID of the device outputting the information signal is output. And the output plug number,
The device connection state of the broadcast output that does not specify the input device can be specified. Electronic equipment characterized by the above.

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

【0022】[0022]

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

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

【0024】[0024]

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

【0025】〔1〕本発明の実施例におけるCMTへの
登録/削除 図1に本発明の実施例における通信制御マイコンのアプ
リケーション1とコマンド処理部2と機器間接続処理部
3間の処理伝達のレイヤー分け及びCMTの構造図を示
す。
[1] Registration / deletion to CMT in the embodiment of the present invention FIG. 1 shows the transmission of processing among 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. FIG. 3 shows a structure diagram of layering and CMT.

【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 operation, the command processing unit 2 assigns a connection ID uniquely determined in the device to each connection. Register in CMT4 together with the parameters passed from application 1. By passing this connection ID as a reply from the command processing unit 2 to the application 1,
Thereafter, the application 1 simply transmits a command using the connection ID, and the connection parameters are uniquely determined.

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

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

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

【0030】図5に示した通信システムにおいて、例え
ばCAMで再生しVTR1で録画していると共に、編集
機がVTR2及びVTR3を操作している場合について
考える。
In the communication system shown in FIG. 5, a case is considered in which, for example, reproduction is performed by CAM and recording is performed by VTR1, and the 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が付与されている。
FIG. 2 shows the CMT of the CAM at this time. In this figure, the output node ID of the parameter is the ID of the device outputting the information signal, in this case, the node ID of the CAM. The output plug number is the number of the plug that outputs 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, since the CAM is in the reproduction mode and outputs the information signal to the bus, it is broadcast. The input plug number is a plug number for inputting the information signal. Here, since the broadcast output is performed, “don't care” is set. BW (Ban
dwidth) is a band necessary for transmission of an information signal.
PB (Protect Bit) indicates whether the connection between the devices is protected. In this case, it is 0 and 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 the VTR 1 is shown in FIG.
The broadcast of the output node ID of the parameter means that the input is from a default (fixed) channel.

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

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

【0035】〔2〕バスリセット時の処理 次に、バスリセット時の処理について説明する。[2] Processing at Bus Reset Next, processing at 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 no AVM exists before and after the bus reset When no AVM exists before the bus reset and no AVM exists after the bus reset, the command processing unit of the CAM that has output the broadcast. 2 passes the connection processing on the CMT 4 to its own inter-device connection processing unit 3. Similarly, the editor also has VTR2-VTR3 registered on CMT4.
The one-to-one connection process is passed to its own inter-device connection processing unit 3. When the inter-device connection processing is actually executed, the inter-device connection is maintained. Here, the VTR 1 that has been performing the broadcast input need only be input from the default channel even 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 after the bus reset will be described below, in which the recording operation between the CAM and the VTR 1 is stopped and the CA is stopped.
A case where the power supply 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 stopping the reproduction operation of the CAM, the application 1 of the CAM is stopped.
Releases the broadcast output (disconnect
t) The command to be passed is passed to the command processing unit 2. The command processing unit 2 passes this command to its own inter-device connection processing unit 3 because there is no AVM in the system.
When the process of releasing the connection between the devices is completed, the command processing unit 2 releases the release (d
The connection process corresponding to the connection ID of the “connect” command is deleted from the CMT 4. Then, C
When the power of the AM is turned off, a bus reset occurs. After the bus reset, the editing machine issues a request for one-to-one connection processing to its own inter-device connection processing unit 3 because there is no AVM in the system. In the inter-device connection processing unit 3, the band and the channel are reacquired and the inter-device connection is reestablished, so that the editing operation 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, it is assumed that 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 reset, the command processing unit 2 of the editing machine 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 to perform acquisition of a band and a channel and connection processing. After that, the VTR
It is assumed that work between the VTR 1 and the VTR 4 has been performed. In this case, the computer knows the band and the channel used by the editing machine, and performs the work such as editing using another channel. 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) Case Where AVM Exists Before Bus Reset and Disappears After Reset Next, a case where AVM exists before bus reset and AVM disappears after bus reset will be described. When the editing work on the computer has been completed, a bus reset has occurred, and the computer has taken down system management as an AVM, the editor knows that the AVM has disappeared,
The one-to-one connection command is transmitted to its own inter-device connection processing unit 3. Since the inter-device connection processing unit 3 of the editing machine executes the one-to-one connection processing according to this command, the VTR2-
Editing work between VTRs 3 is continued. On the other hand, since the computer has exited the system management as the AVM and the CMT4 has been cleared, the connection between the VTR1 and VTR4 has not been re-established, and the VTR1-VT operated on the computer has not been re-established.
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 as the upper layer manages the CMT 4 and
After confirming the presence or absence of the CMT 4, the processing on the CMT 4 is transmitted to the AVM or its own inter-device connection processing unit 3. Therefore, it is possible to maintain the connection between the devices on the system regardless of the presence or absence and change of the AVM before and after the bus reset, and it is not necessary for the new AVM to inquire each device about the connection information on the CMT4.

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

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

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

【0046】[0046]

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

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

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

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

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

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

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

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

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

【図7】P1394シリアルバスを用いた通信システム
において、チャンネルと帯域を確保する方法を説明す図
である。
FIG. 7 is a diagram illustrating a method for securing a channel and a band 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 an application of a communication control microcomputer in the VTR shown in FIG. 5, a layer division of processing transmission between a command processing unit and an inter-device connection processing unit, and a structure of a CMT.

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

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

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川村 晴美 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 佐藤 真 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5K033 CB13 DB13 EC01  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Harumi Kawamura 6-7-35 Kita Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Makoto Sato 6-35-35 Kita Shinagawa, Shinagawa-ku, Tokyo Sony Corporation F term (reference) 5K033 CB13 DB13 EC01

Claims (4)

【特許請求の範囲】[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 that has made a connection between the devices holds connection information determined for each device for each connection. If a bus reset occurs during data communication, the connection between the devices is re-established based on the held connection information, and the node ID of the device outputting the information signal and the output are output. A data communication method, wherein a plug number is specified, and a device connection state of broadcast output without specifying an input device can be specified.
【請求項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 connected between the devices holds connection information determined for each device for each connection. However, if a bus reset occurs during data communication, the connection between the devices is not performed again based on the held connection information, and the device outputting the information signal is not specified, A data communication method characterized in that a device connection state of a broadcast input for specifying a node ID and an input plug number of a device to which an information signal is input can be specified.
【請求項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 for each connection; If a bus reset occurs during the connection, the connection between the devices is re-established based on the connection information held in the means, and the node ID and output plug number of the device outputting the information signal An electronic device characterized in that it is possible to specify a broadcast output device connection state without specifying a device to be input.
【請求項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 for each connection; If a bus reset occurs during the connection, the connection between the devices is re-established based on the connection information held in the means, the device outputting the information signal is not specified, and the information signal is output. An electronic device characterized in that a device connection state of a broadcast input that specifies a node ID and an input plug number of a device that is inputting a device can be designated.
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 true JP2002101116A (en) 2002-04-05
JP3478285B2 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
JP3478285B2 (en) 2003-12-15

Similar Documents

Publication Publication Date Title
KR100497689B1 (en) A method of data communication and ellectronic apparatus
EP0957609B1 (en) Data transmission system and method
JPH1070561A (en) Electronic equipment its operating mode control method
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
JP3972288B2 (en) Signal processing system, signal output device, signal input device, and communication control method
JP3637817B2 (en) Device connection method and program recording medium
JP3739087B2 (en) AV equipment, control method therefor, and AV equipment network system
JP3127704B2 (en) Data transfer method
JP3567920B2 (en) Data communication method and electronic device
JP3560522B2 (en) Reception method in data receiving apparatus on IEEE1394
CA2354102C (en) Communication system and electronic apparatus
JPH09160869A (en) Electronic equipment and its control method
JP3358618B2 (en) Data transfer method
JP3341758B2 (en) Data transfer method
JP2000059407A (en) Network management method, information processing method, its system and information distributing medium
US6721895B1 (en) Data communications system and data communications method
JP2005252920A (en) Network controller
JP2005176251A (en) Data transfer method, data transfer apparatus, and control program
JP2002319992A (en) Connection management method and connection management node

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