JP2000175275A - Network control device and method - Google Patents
Network control device and methodInfo
- Publication number
- JP2000175275A JP2000175275A JP10350549A JP35054998A JP2000175275A JP 2000175275 A JP2000175275 A JP 2000175275A JP 10350549 A JP10350549 A JP 10350549A JP 35054998 A JP35054998 A JP 35054998A JP 2000175275 A JP2000175275 A JP 2000175275A
- Authority
- JP
- Japan
- Prior art keywords
- network
- node
- state
- mode
- determining
- 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.)
- Withdrawn
Links
Landscapes
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
- Details Of Television Systems (AREA)
Abstract
(57)【要約】
【課題】ホームバスに接続されていても、各機器を操作
するためには個々の機器を操作する必要があった。
【解決手段】玄関インタホン200とセントラルコント
ロール210との間で会話が始まると、セントラルコン
トロール210は、バスに接続された機器220〜27
0に静音あるいは消音機能があるか問合せ、あれば消音
機能を有効にして騒音レベルを下げる。会話が終了する
と、消音機能を有効にした各機器を元に戻す。
(57) [Summary] Even when connected to a home bus, it is necessary to operate each device in order to operate each device. When a conversation starts between a front door intercom 200 and a central control 210, the central control 210 operates devices 220 to 27 connected to a bus.
If 0 has a silent or mute function, the mute function is enabled and the noise level is reduced. When the conversation is over, the devices for which the mute function is enabled are restored.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば制御信号と
データ等を混在させて通信することが可能なネットワー
クに電子機器(以下、機器)を接続したネットワークシ
ステムを制御するネットワーク制御装置及び方法に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network control apparatus and method for controlling a network system in which electronic equipment (hereinafter, equipment) is connected to a network capable of communicating a control signal and data in a mixed manner. .
【0002】[0002]
【従来の技術】近年、家庭内のさまざまな機器をネット
ワークに接続するホームバスシステムが採用されつつあ
る。このホームバスシステムを採用することにより、家
庭内のTVやステレオ等のオーディオ・ビジュアル機器
や、冷蔵庫・電子レンジ等の台所機器、さらには風呂や
ドアホーンなどの住宅設備機器を接続して、さまざまな
家庭内の情報通信を行い、各機器を電話回線等を通し
て、遠隔操作で制御することが出来るようになってきて
いる。2. Description of the Related Art In recent years, a home bus system for connecting various devices in a home to a network has been adopted. By adopting this home bus system, various audio and visual devices such as TVs and stereos in the home, kitchen equipment such as refrigerators and microwave ovens, and other household equipment such as baths and door horns can be connected. 2. Description of the Related Art Information communication in a home has been performed, and each device can be remotely controlled through a telephone line or the like.
【0003】[0003]
【発明が解決しようとする課題】ところが、上述のホー
ムバスシステムは、それぞれの機器ごとに、それぞれの
機器を目的の状態になるように手動で遠隔操作する必要
性があった。However, in the above-described home bus system, it is necessary to manually remotely control each device so that each device is in a desired state.
【0004】本発明では、上記従来例に鑑みてなされた
もので、それぞれの機器をそれぞれ手動で遠隔操作する
のではなく、例えば家庭内を静音化するなどといった所
期の目的を果たすように、バスに接続された各機器を制
御するネットワーク制御装置及び方法を提供することを
目的とする。。[0004] The present invention has been made in view of the above-mentioned conventional example, and does not manually operate each device individually, but achieves an intended purpose such as silencing the home. It is an object of the present invention to provide a network control device and a method for controlling each device connected to a bus. .
【0005】[0005]
【課題を解決するための手段】上述の目的を達成するた
めに、次のような構成からなる。すなわち、ネットワー
クに接続された機器を制御する制御装置であって、前記
制御装置が所定の状態の間で遷移したことを判定する第
1の判定手段と、前記所定の状態あると判定された場
合、前記ネットワークに接続された機器それぞれに対し
て消音機能を有するか判定する第2の判定手段と、前記
制御装置の現在の状態を判定する第3の判定手段と、前
記第3の判定手段により判定された状態に応じて、前記
消音機能を有する機器に対して、消音機能を有効にする
か無効にするかを切り替える切替え手段とを備える。Means for Solving the Problems In order to achieve the above-mentioned object, the following arrangement is provided. That is, a control device for controlling a device connected to a network, a first determination unit that determines that the control device has transitioned between predetermined states, and a case where it is determined that the predetermined state exists. A second determining unit that determines whether each of the devices connected to the network has a muffling function, a third determining unit that determines a current state of the control device, and a third determining unit. Switching means for switching between enabling and disabling the mute function for the device having the mute function according to the determined state.
【0006】また好ましくは、前記ネットワークは、I
EEE1394規格の通信プロトコルに即したネットワ
ークである。[0006] Preferably, the network is an I-network.
The network conforms to the communication protocol of the EEE1394 standard.
【0007】また好ましくは、音声通信機をさらに備
え、前記第1の判定手段は、前記音声通信機が通話から
非通話へ、あるいは非通話から通話へと遷移したか判定
し、前記切替え手段は、前記第3の判定手段により前記
音声通信機が通話状態であると判定された場合には、前
記機器の消音機能を有効化し、非通話状態であると判定
された場合には、前記機器の消音機能を無効化する。Preferably, the apparatus further comprises a voice communication device, wherein the first determination means determines whether the voice communication device has transitioned from a call to a non-call or from a non-call to a call. When the third determining unit determines that the voice communication device is in a call state, the mute function of the device is enabled, and when the voice communication device is determined to be in a non-talk state, the device is disabled. Disable the mute function.
【0008】また好ましくは、公衆電話回線と接続され
た電話機をさらに備え、前記第1の判定手段は、前記電
話機に対する呼出し要求が在る状態からない状態へ、あ
るいは読み出し要求がない状態からある状態へと遷移し
たか判定し、前記切替え手段は、前記第3の判定手段に
より前記電話機に読み出し要求があると判定された場合
には、前記機器の消音機能を有効化し、読み出し要求が
ないと判定された場合には、前記機器の消音機能を無効
化する。Preferably, the apparatus further comprises a telephone connected to a public telephone line, wherein the first determining means changes from a state in which there is no call request to the telephone to a state in which there is no read request. When the third determining means determines that the telephone has a read request, the switching means activates the mute function of the device and determines that there is no read request. If so, the mute function of the device is disabled.
【0009】また好ましくは、利用者がモード設定可能
な設定手段をさらに備え、前記第1の判定手段は、前記
設定手段により第1のモードから第2のモードへ、ある
いは第2のモードから第1のモードに遷移したか判定
し、前記切替え手段は、前記第3の判定手段により第2
のモードであると判定された場合には、前記機器の消音
機能を有効化し、第1のモードであると判定された場合
には、前記機器の消音機能を無効化する。[0009] Preferably, the apparatus further comprises setting means for allowing a user to set a mode, wherein the first judging means is set by the setting means from the first mode to the second mode or from the second mode to the second mode. It is determined whether the mode has transitioned to the first mode.
When it is determined that the mode is the first mode, the mute function of the device is enabled, and when it is determined that the mode is the first mode, the mute function of the device is disabled.
【0010】あるいは、ネットワークに接続された機器
を制御する制御装置であって、所定の状態の間で状態が
遷移したことを判定する第1の判定手段と、前記所定の
状態あると判定された場合、前記ネットワークに接続さ
れた機器それぞれに対して所定の機能を有するか判定す
る第2の判定手段と、現在の状態を判定する第3の判定
手段と、前記第3の判定手段により判定された状態に応
じて、前記所定の機能を有する機器を、前記所定の機能
を有効化するか、あるいは無効化するよう制御する制御
手段とを備える。[0010] Alternatively, a control device for controlling a device connected to the network, a first determination means for determining that a state has transitioned between predetermined states, and a control apparatus for determining that the predetermined state exists. In this case, it is determined by the second determination unit that determines whether each of the devices connected to the network has a predetermined function, the third determination unit that determines a current state, and the third determination unit. Control means for controlling the device having the predetermined function to activate or deactivate the predetermined function according to the state.
【0011】[0011]
【発明の実施の形態】[第1の実施の形態]以下、第1
の実施の形態について図面を参照しながら説明する。図
1にホームバスシステムのネットワーク構成の一例を示
す。電話/室内インターホン/セントラルコントロール
装置210は、公衆回線電話網に接続されるとともに、
IEEE1394シリアルバスを介して玄関インターホ
ーン200等の機器と接続されている。さらに、リビン
グ用TV230やVTR240やルームエアコン250
や洗濯機260や掃除機270等の家庭内機器に接続し
ている。電話/室内インターホーン/セントラルコント
ロール210は、IEEE1394シリアルバスを介し
て玄関インターホーンと会話できるばかりでなく、各家
庭内機器とデータ交換することで、遠隔操作したり、各
家庭内機器の状態を知ることができる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment]
An embodiment will be described with reference to the drawings. FIG. 1 shows an example of a network configuration of a home bus system. The telephone / room intercom / central control device 210 is connected to a public line telephone network,
It is connected to devices such as the entrance interphone 200 via an IEEE 1394 serial bus. Furthermore, TV 230 for living room, VTR 240, room air conditioner 250
And home appliances such as a washing machine 260 and a vacuum cleaner 270. The telephone / room interphone / central control 210 can not only communicate with the entrance interphone via the IEEE 1394 serial bus, but also exchange data with each home device to remotely control the status of each home device. You can know.
【0012】ここで、本実施の形態のホームバスシステ
ムでは、各機器間を接続するのに、デジタルI/Fであ
るIEEE1394シリアルバスを用いるので、IEE
E1394シリアルバスについてあらかじめ説明する。Here, in the home bus system according to the present embodiment, an IEEE 1394 serial bus, which is a digital I / F, is used to connect each device.
The E1394 serial bus will be described in advance.
【0013】<IEEE1394の技術の概要>家庭用
デジタルVTRやDVDの登場も伴って、ビデオデータ
やオーディオデータなどのリアルタイムでかつ高情報量
のデータ転送のサポートが必要になっている。こういっ
たビデオデータやオーディオデータをリアルタイムで転
送し、パソコン(PC)に取り込んだり、またはその他
のデジタル機器に転送を行なうには、必要な転送機能を
備えた高速データ転送可能なインタフェースが必要にな
ってくるものであり、そういった観点から開発されたイ
ンタフェースがIEEE1394−1995(High Per
formance Serial Bus)(以下1394シリアルバス)
である。<Overview of IEEE 1394 Technology> With the advent of home digital VTRs and DVDs, it is necessary to support real-time and high-information-volume data transfer of video data and audio data. In order to transfer such video and audio data in real time, and to transfer it to a personal computer (PC) or other digital devices, an interface capable of high-speed data transfer with the necessary transfer functions is required. The interface developed from such a viewpoint is IEEE 1394-1995 (High Per
formance Serial Bus) (hereinafter 1394 serial bus)
It is.
【0014】図7に1394シリアルバスを用いて構成
されるネットワーク・システムの例を示す。このシステ
ムは機器A,B,C,D,E,F,G,Hを備えてお
り、A−B間、A−C間、B−D間、D−E間、C−F
間、C−G間、及びC−H間をそれぞれ1394シリア
ルバスのツイスト・ペア・ケーブルで接続されている。
この機器A〜Hは例としてPC、デジタルVTR、DV
D、デジタルカメラ、ハードディスク、モニタ等であ
る。FIG. 7 shows an example of a network system configured using a 1394 serial bus. This system is provided with devices A, B, C, D, E, F, G, and H. A-B, A-C, B-D, D-E, C-F
, CG, and CH are connected by a twisted pair cable of a 1394 serial bus.
The devices A to H are, for example, PC, digital VTR, DV
D, digital camera, hard disk, monitor, etc.
【0015】各機器間の接続方式は、ディジーチェーン
方式とノード分岐方式とを混在可能としたものであり、
自由度の高い接続が可能である。[0015] The connection method between the devices is such that the daisy chain method and the node branch method can be mixed.
A highly flexible connection is possible.
【0016】また、各機器は各自固有のIDを有し、そ
れぞれが認識し合うことによって1394シリアルバス
で接続された範囲において、1つのネットワークを構成
している。各デジタル機器間をそれぞれ1本の1394
シリアルバスケーブルで順次接続するだけで、それぞれ
の機器が中継の役割を行い、全体として1つのネットワ
ークを構成するものである。また、1394シリアルバ
スの特徴でもある、Plug&Play機能でケーブル
を機器に接続した時点で自動で機器の認識や接続状況な
どを認識する機能を有している。また、図7に示したよ
うなシステムにおいて、ネットワークからある機器が削
除されたり、または新たに追加されたときなど、自動的
にバスリセットを行い、それまでのネットワーク構成を
リセットしてから、新たなネットワークの再構築を行な
う。この機能によって、その時々のネットワークの構成
を常時設定、認識することができる。Also, each device has its own unique ID, and by recognizing each other, forms a single network in a range connected by a 1394 serial bus. One 1394 connection between each digital device
Just by sequentially connecting with a serial bus cable, each device plays a role of relay, and constitutes one network as a whole. In addition, it has a function of automatically recognizing the device and recognizing the connection status when the cable is connected to the device by the Plug & Play function, which is a feature of the 1394 serial bus. In addition, in a system such as that shown in FIG. 7, when a device is deleted from the network or newly added, the bus is automatically reset, and the network configuration up to that point is reset. Rebuild the network. With this function, the configuration of the network at that time can be constantly set and recognized.
【0017】またデータ転送速度は、100/200/
400Mbpsと備えており、上位の転送速度を持つ機
器が下位の転送速度をサポートし、互換をとるようにな
っている。The data transfer rate is 100/200 /
It has a transmission rate of 400 Mbps, and a device having a higher transfer rate supports a lower transfer rate and is compatible.
【0018】データ転送モードとしては、コントロール
信号などの非同期データ(アシンクロナスデータ:以下
Asyncデータ)を転送するアシンクロナス転送モー
ド、リアルタイムなビデオデータやオーディオデータ等
の同期データ(アイソクロナスデータ:以下Isoデー
タ)を転送するアイソクロナス転送モードがある)この
AsyncデータとIsoデータは各サイクル(通常1
サイクル125μS)の中において、サイクル開始を示
すサイクル・スタート・パケット(CSP)の転送に続
き、Isoデータの転送を優先しつつサイクル内で混在
して転送される。The data transfer mode includes an asynchronous transfer mode for transferring asynchronous data such as a control signal (asynchronous data: hereinafter referred to as Async data), and synchronous data (isochronous data: hereinafter referred to as Iso data) such as real-time video data and audio data. The Async data and the Iso data are transmitted in each cycle (usually 1 cycle).
In the cycle 125 μS), following the transfer of the cycle start packet (CSP) indicating the start of the cycle, the transfer is performed in a mixed manner within the cycle while giving priority to the transfer of the Iso data.
【0019】次に、図8に1394シリアルバスの構成
要素を示す。Next, FIG. 8 shows the components of the 1394 serial bus.
【0020】1394シリアルバスは全体としてレイヤ
(階層)構造で構成されている。図8に示したように、
最もハード的なのが1394シリアルバスのケーブルで
あり、そのケーブルのコネクタが接続されるコネクタポ
ートがあり、その上にハードウェアとしてフィジカル・
レイヤとリンク・レイヤがある。The 1394 serial bus has a layer (hierarchical) structure as a whole. As shown in FIG.
The most hardware type is a 1394 serial bus cable, which has a connector port to which a connector of the cable is connected.
There are layers and link layers.
【0021】ハードウェア部は実質的なインターフェイ
スチップの部分であり、そのうちフィジカル・レイヤは
符号化やコネクタ関連の制御等を行い、リンク・レイヤ
はパケット転送やサイクルタイムの制御等を行なう。The hardware part is a substantial part of an interface chip. The physical layer performs coding and control related to connectors, and the link layer performs packet transfer and cycle time control.
【0022】ファームウェア部のトランザクション・レ
イヤは、転送(トランザクション)すべきデータの管理
を行ない、ReadやWriteといった命令を出す。
シリアルバスマネージメントは、接続されている各機器
の接続状況やIDの管理を行ない、ネットワークの構成
を管理する部分である。The transaction layer of the firmware section manages data to be transferred (transacted), and issues commands such as Read and Write.
The serial bus management is a part that manages the connection status and ID of each connected device and manages the configuration of the network.
【0023】このハードウェアとファームウェアまでが
実質上の1394シリアルバスの構成である。The hardware and firmware are substantially the configuration of the 1394 serial bus.
【0024】またソフトウェア部のアプリケーション・
レイヤは使うソフトによって異なり、インタフェース上
にどのようにデータをのせるか規定する部分であり、A
Vプロトコルなどのプロトコルによって規定されてい
る。The software application
The layer differs depending on the software used, and is a part that defines how data is placed on the interface.
It is specified by a protocol such as the V protocol.
【0025】以上が1394シリアルバスの構成であ
る。The above is the configuration of the 1394 serial bus.
【0026】次に、図9に1394シリアルバスにおけ
るアドレス空間の図を示す。Next, FIG. 9 shows a diagram of an address space in the 1394 serial bus.
【0027】1394シリアルバスに接続された各機器
(ノード)には必ず各ノード固有の、64ビットアドレ
スを持たせておく。そしてこのアドレスをROMに格納
しておくことで、自分や相手のノードアドレスを常時確
認でき、相手を指定した通信も行なえる。Each device (node) connected to the 1394 serial bus always has a 64-bit address unique to each node. By storing this address in the ROM, it is possible to always check the node address of the user and the other party, and perform communication specifying the other party.
【0028】1394シリアルバスのアドレッシング
は、IEEE1212規格に準じた方式であり、アドレ
ス設定は、最初の10bitがバスの番号の指定用に、
次の6bitがノードID番号の指定用に使われる。残
りの48bitが機器に与えられたアドレス幅になり、
それぞれ固有のアドレス空間として使用できる。最後の
28bitは固有データの領域として、各機器の識別や
使用条件の指定の情報などを格納する。The addressing of the 1394 serial bus is based on the IEEE 1212 standard, and the first 10 bits are used for specifying the bus number.
The next 6 bits are used for specifying the node ID number. The remaining 48 bits become the address width given to the device,
Each can be used as a unique address space. The last 28 bits store information such as identification of each device and designation of use conditions as an area of unique data.
【0029】以上が1394シリアルバスの技術の概要
である。The above is the outline of the technology of the 1394 serial bus.
【0030】次に、1394シリアルバスの特徴といえ
る技術の部分を、より詳細に説明する。Next, the technical portion which can be said to be a feature of the 1394 serial bus will be described in more detail.
【0031】<1394シリアルバスの電気的仕様>図
10に1394シリアルバス・ケーブルの断面図を示
す。1394シリアルバスでは接続ケーブル内に、2組
のツイストペア信号線の他に、電源ラインを設けてい
る。これによって、電源を持たない機器や、故障により
電圧低下した機器等にも電力の供給が可能になってい
る。<Electrical Specifications of 1394 Serial Bus> FIG. 10 is a sectional view of a 1394 serial bus cable. In the 1394 serial bus, a power supply line is provided in a connection cable in addition to two twisted pair signal lines. As a result, power can be supplied to a device having no power supply, a device whose voltage has dropped due to a failure, and the like.
【0032】電源線内を流れる電源の電圧は8〜40
V、電流は最大電流DC1.5Aと規定されている。The voltage of the power supply flowing in the power supply line is 8 to 40.
V and the current are specified as a maximum current DC of 1.5 A.
【0033】<DS−Link符号化>1394シリア
ルバスで採用されている、データ転送フォーマットのD
S−Link符号化方式を説明するための図を図11に
示す。<DS-Link encoding> The data transfer format D, which is adopted in the 1394 serial bus,
FIG. 11 is a diagram illustrating the S-Link coding scheme.
【0034】1394シリアルバスでは、DS−Lin
k(DATA/Strobe Link)符号化方式が
採用されている。このDS−Link符号化方式は、高
速なシリアルデータ通信に適しており、その構成は、2
本の信号線を必要とする。より対線のうち1本に主とな
るデータを送り、他方のより対線にはストローブ信号を
送る構成になっている。In the 1394 serial bus, DS-Lin
The k (DATA / Strobe Link) coding method is adopted. This DS-Link coding scheme is suitable for high-speed serial data communication,
Requires two signal lines. The main data is sent to one of the twisted pairs, and the strobe signal is sent to the other twisted pair.
【0035】受信側では、この通信されるデータと、ス
トローブとの排他的論理和をとることによってクロック
を再現できる。On the receiving side, the clock can be reproduced by taking the exclusive OR of this communicated data and the strobe.
【0036】このDS−Link符号化方式を用いるメ
リットとして、他のシリアルデータ転送方式に比べて転
送効率が高いこと、PLL回路が不要となるのでコント
ローラLSIの回路規模を小さくできること、更には、
転送すべきデータが無いときにアイドル状態であること
を示す情報を送る必要が無いので、各機器のトランシー
バ回路をスリープ状態にすることができることによっ
て、消費電力の低減が図れる、などが挙げられる。The advantages of using the DS-Link coding method include higher transfer efficiency compared with other serial data transfer methods, and the circuit scale of the controller LSI can be reduced because a PLL circuit is not required.
Since there is no need to send information indicating the idle state when there is no data to be transferred, the power consumption can be reduced by setting the transceiver circuit of each device to the sleep state.
【0037】<バスリセットのシーケンス>1394シ
リアルバスでは、接続されている各機器(ノード)には
ノードIDが与えられ、ネットワーク構成として認識さ
れている。<Bus Reset Sequence> In the 1394 serial bus, each connected device (node) is given a node ID and recognized as a network configuration.
【0038】このネットワーク構成に変化があったと
き、例えばノードの挿抜や電源のON/OFFなどによ
るノード数の増減などによって変化が生じて、新たなネ
ットワーク構成を認識する必要があるとき、変化を検知
した各ノードはバス上にバスリセット信号を送信して、
新たなネットワーク構成を認識するモードに入る。この
ときの変化の検知方法は、1394ポート基板上でのバ
イアス電圧の変化を検知することによって行われる。When there is a change in the network configuration, for example, a change occurs due to an increase or decrease in the number of nodes due to insertion / removal of a node or turning on / off of a power supply, and it is necessary to recognize a new network configuration, the change is made. Each detected node sends a bus reset signal on the bus,
Enter the mode to recognize the new network configuration. The method of detecting the change at this time is performed by detecting a change in the bias voltage on the 1394 port substrate.
【0039】あるノードからバスリセット信号が伝達さ
れて、各ノードのフィジカルレイヤはこのバスリセット
信号を受けると同時にリンクレイヤにバスリセットの発
生を伝達し、かつ他のノードにバスリセット信号を伝達
する。最終的にすべてのノードがバスリセット信号を検
知した後、バスリセットが起動となる。When a bus reset signal is transmitted from a certain node, the physical layer of each node transmits the bus reset signal to the link layer at the same time as receiving the bus reset signal, and transmits the bus reset signal to another node. . After all the nodes finally detect the bus reset signal, the bus reset is activated.
【0040】バスリセットは、先に述べたようなケーブ
ル抜挿や、ネットワーク異常等によるハード検出による
起動と、プロトコルからのホスト制御などによってフィ
ジカルレイヤに直接命令を出すことによっても起動す
る。The bus reset is also activated by the above-described activation by hardware insertion / removal due to cable disconnection or network abnormality or the like, and also by directly issuing a command to the physical layer by host control from a protocol or the like.
【0041】また、バスリセットが起動するとデータ転
送は一時中断され、この間のデータ転送は待たされ、終
了後、新しいネットワーク構成のもとで再開される。Further, when the bus reset is activated, the data transfer is suspended, the data transfer during this period is waited, and after the end, the data transfer is resumed under a new network configuration.
【0042】以上がバスリセットのシーケンスである。The above is the bus reset sequence.
【0043】<ノードID決定のシーケンス>バスリセ
ットの後、各ノードは新しいネットワーク構成を構築す
るために、各ノードにIDを与える動作に入る。このと
きの、バスリセットからノードID決定までの一般的な
シーケンスを図19,20,21のフローチャートを用
いて説明する。<Sequence of Node ID Determination> After the bus reset, each node starts an operation of giving an ID to each node in order to construct a new network configuration. The general sequence from the bus reset to the determination of the node ID at this time will be described with reference to the flowcharts of FIGS.
【0044】図19のフローチャートは、バスリセット
の発生からノードIDが決定し、データ転送が行えるよ
うになるまでの、一連のバスの作業を示してある。The flowchart of FIG. 19 shows a series of bus operations from the occurrence of a bus reset until the node ID is determined and data transfer can be performed.
【0045】まず、ステップS101として、ネットワ
ーク内にバスリセットが発生することを常時監視してい
て、ここでノードの電源ON/OFFなどでバスリセッ
トが発生するとステップS102に移る。First, as step S101, the occurrence of a bus reset in the network is constantly monitored. If a bus reset occurs due to power ON / OFF of a node, the process proceeds to step S102.
【0046】ステップS102では、ネットワークがリ
セットされた状態から、新たなネットワークの接続状況
を知るために、直接接続されている各ノード間において
親子関係の宣言がなされる。ステップS103として、
すべてのノード間で親子関係が決定すると、ステップS
104として一つのルートが決定する。すべてのノード
間で親子関係が決定するまで、ステップS102の親子
関係の宣言をおこない、またルートも決定されない。In step S102, a parent-child relationship is declared between the directly connected nodes in order to know the connection status of a new network after the network has been reset. As step S103,
When the parent-child relationship is determined between all nodes, step S
One route is determined as 104. Until the parent-child relationship is determined between all nodes, the parent-child relationship is declared in step S102, and the route is not determined.
【0047】ステップS104でルートが決定される
と、次はステップS105として、各ノードにIDを与
えるノードIDの設定作業が行われる。所定のノード順
序で、ノードIDの設定が行われ、すべてのノードにI
Dが与えられるまで繰り返し設定作業が行われ、最終的
にステップS106としてすべてのノードにIDを設定
し終えたら、新しいネットワーク構成がすべてのノード
において認識されたので、ステップS107としてノー
ド間のデータ転送が行える状態となり、データ転送が開
始される。After the route is determined in step S104, the operation of setting a node ID for giving an ID to each node is performed in step S105. Node IDs are set in a predetermined node order, and I
The setting operation is repeatedly performed until D is given. When the IDs are finally set in all the nodes in step S106, the new network configuration is recognized in all the nodes. And data transfer is started.
【0048】このステップS107の状態になると、再
びバスリセットが発生するのを監視するモードに入り、
バスリセットが発生したらステップS101からステッ
プS106までの設定作業が繰り返し行われる。In the state of step S107, a mode for monitoring the occurrence of a bus reset again is entered.
When the bus reset occurs, the setting operation from step S101 to step S106 is repeatedly performed.
【0049】以上が、図19のフローチャートの説明で
あるが、図19のフローチャートのバスリセットからル
ート決定までの部分と、ルート決定後からID設定終了
までの手順をより詳しくフローチャート図に表したもの
をそれぞれ、図20、図21に示す。The above is the description of the flowchart of FIG. 19. The flowchart from FIG. 19 shows the portion from the bus reset to the route determination and the procedure from the route determination to the end of the ID setting in a more detailed flowchart. Are shown in FIGS. 20 and 21, respectively.
【0050】まず、図20のフローチャートの説明を行
う。First, the flowchart of FIG. 20 will be described.
【0051】ステップS201としてバスリセットが発
生すると、ネットワーク構成は一旦リセットされる。な
お、ステップS201としてバスリセットが発生するの
を常に監視している。When a bus reset occurs in step S201, the network configuration is reset once. The occurrence of a bus reset is constantly monitored in step S201.
【0052】次に、ステップS202として、リセット
されたネットワークの接続状況を再認識する作業の第1
歩として、各機器にリーフ(ノード)であることを示す
フラグを立てておく。さらに、ステップS203として
各機器が自分の持つポートがいくつ他ノードと接続され
ているのかを調べる。Next, in step S202, the first operation of re-recognizing the connection status of the reset network is performed.
As a step, a flag indicating a leaf (node) is set in each device. Further, in step S203, each device checks how many ports it has are connected to other nodes.
【0053】ステップS204のポート数の結果に応じ
て、これから親子関係の宣言を始めていくために、未定
義(親子関係が決定されていない)ポートの数を調べ
る。バスリセットの直後はポート数=未定義ポート数で
あるが、親子関係が決定されていくにしたがって、ステ
ップS204で検知する未定義ポートの数は変化してい
くものである。According to the result of the number of ports in step S204, the number of undefined (undetermined parent-child) ports is checked in order to start the declaration of the parent-child relationship. Immediately after the bus reset, the number of ports = the number of undefined ports. However, as the parent-child relationship is determined, the number of undefined ports detected in step S204 changes.
【0054】まず、バスリセットの直後、はじめに親子
関係の宣言を行えるのはリーフに限られている。リーフ
であるというのはステップS203のポート数の確認で
知ることができる。リーフは、ステップS205とし
て、自分に接続されているノードに対して、「自分は
子、相手は親」と宣言し動作を終了する。First, immediately after a bus reset, only a leaf can declare a parent-child relationship. A leaf can be known by checking the number of ports in step S203. In step S205, the leaf declares "I am a child and the other is a parent" to the node connected thereto, and ends the operation.
【0055】ステップS203でポート数が複数ありブ
ランチと認識したノードは、バスリセットの直後はステ
ップS204で未定義ポート数>1ということなので、
ステップS206へと移り、まずブランチというフラグ
が立てられ、ステップS207でリーフからの親子関係
宣言で「親」の受付をするために待つ。A node which has a plurality of ports in step S203 and is recognized as a branch has a number of undefined ports> 1 in step S204 immediately after the bus reset.
Moving to step S206, a flag of branch is first set, and in step S207, the process waits for reception of "parent" in the parent-child relationship declaration from the leaf.
【0056】リーフが親子関係の宣言を行い、ステップ
S207でそれを受けたブランチは適宜ステップS20
4の未定義ポート数の確認を行い、未定義ポート数が1
になっていれば残っているポートに接続されているノー
ドに対して、ステップS205の「自分が子」の宣言を
することが可能になる。2度目以降、ステップS204
で未定義ポート数を確認しても2以上あるブランチに対
しては、再度ステップS207でリーフ又は他のブラン
チからの「親」の受付をするために待つ。The leaf declares the parent-child relationship, and the branch that has received the declaration in step S207 appropriately returns to step S20.
Confirm the number of undefined ports of 4 and find that the number of undefined ports is 1
If it becomes, it becomes possible to declare “I am a child” in step S205 for the node connected to the remaining port. After the second time, step S204
Even if the number of undefined ports is checked in step S207, for a branch having two or more ports, the process waits again in step S207 to accept a "parent" from a leaf or another branch.
【0057】最終的に、いずれか1つのブランチ、又は
例外的にリーフ(子宣言を行えるのにすばやく動作しな
かった為)がステップS204の未定義ポート数の結果
としてゼロになったら、これにてネットワーク全体の親
子関係の宣言が終了したものであり、未定義ポート数が
ゼロ(すべて親のポートとして決定)になった唯一のノ
ードはステップS208としてルートのフラグが立てら
れ、ステップS209としてルートとしての認識がなさ
れる。Finally, if any one branch or exceptional leaf (because it did not operate quickly to allow child declaration) becomes zero as a result of the number of undefined ports in step S204, In this case, the declaration of the parent-child relationship of the entire network has been completed, and the only node for which the number of undefined ports has become zero (all are determined as parent ports) is flagged as a root in step S208, and the root is flagged in step S209. Is recognized.
【0058】このようにして、図20に示したバスリセ
ットから、ネットワーク内すべてのノード間における親
子関係の宣言までが終了する。Thus, the process from the bus reset shown in FIG. 20 to the declaration of the parent-child relationship between all the nodes in the network is completed.
【0059】次に、図21のフローチャートについて説
明する。Next, the flowchart of FIG. 21 will be described.
【0060】まず、図20までのシーケンスでリーフ、
ブランチ、ルートという各ノードのフラグの情報が設定
されているので、これを元にして、ステップS301で
それぞれ分類する。First, in the sequence up to FIG.
Since the information of the flag of each node such as branch and route is set, classification is performed in step S301 based on this.
【0061】各ノードにIDを与える作業として、最初
にIDの設定を行うことができるのはリーフからであ
る。リーフ→ブランチ→ルートの順で若い番号(ノード
番号=0〜)からIDの設定がなされていく。As a task of assigning an ID to each node, an ID can be first set from the leaf. The IDs are set in ascending order of leaf → branch → route (node number = 0).
【0062】ステップS302としてネットワーク内に
存在するリーフの数N(Nは自然数)を設定する。この
後、ステップS303として各自リーフがルートに対し
て、IDを与えるように要求する。この要求が複数ある
場合には、ルートはステップS304としてアービトレ
ーション(1つに調停する作業)を行い、ステップS3
05として勝ったノード1つにID番号を与え、負けた
ノードには失敗の結果通知を行う。ステップS306と
してID取得が失敗に終わったリーフは、再度ID要求
を出し、同様の作業を繰り返す。IDを所得できたリー
フからステップS307として、そのノードのID情報
をブロードキャストで全ノードに転送する。1ノードI
D情報のブロードキャストが終わると、ステップS30
8として残りのリーフの数が1つ減らされる。ここで、
ステップS309として、この残りのリーフの数が1以
上ある時はステップS303のID要求の作業からを繰
り返し行い、最終的にすべてのリーフがID情報をブロ
ードキャストすると、ステップS309がN=0とな
り、次はブランチのID設定に移る。In step S302, the number N (N is a natural number) of leaves existing in the network is set. Thereafter, in step S303, each leaf requests the root to give an ID. If there are a plurality of such requests, the route performs arbitration (operation of arbitration into one) in step S304, and proceeds to step S3.
As 05, an ID number is given to one winning node, and a failure result is notified to the losing node. In step S306, the leaf whose ID acquisition has failed fails issues an ID request again, and repeats the same operation. In step S307, the ID information of the node is transmitted to all the nodes by broadcasting from the leaf having obtained the ID. One node I
When the broadcasting of the D information is completed, step S30
As 8, the number of remaining leaves is reduced by one. here,
In step S309, when the number of the remaining leaves is one or more, the operation from the ID request in step S303 is repeatedly performed, and finally, when all the leaves broadcast the ID information, N = 0 in step S309, and the next Moves to the branch ID setting.
【0063】ブランチのID設定もリーフの時と同様に
行われる。The setting of the branch ID is performed in the same manner as in the leaf setting.
【0064】まず、ステップS310としてネットワー
ク内に存在するブランチの数M(Mは自然数)を設定す
る。この後、ステップS311として各自ブランチがル
ートに対して、IDを与えるように要求する。これに対
してルートは、ステップS312としてアービトレーシ
ョンを行い、勝ったブランチから順にリーフに与え終っ
た次の若い番号から与えていく。ステップS313とし
て、ルートは要求を出したブランチにID情報又は失敗
結果を通知し、ステップS314としてID取得が失敗
に終わったブランチは、再度ID要求を出し、同様の作
業を繰り返す。IDを取得できたブランチからステップ
S315として、そのノードのID情報をブロードキャ
ストで全ノードに転送する。1ノードID情報のブロー
ドキャストが終わると、ステップS316として残りの
ブランチの数が1つ減らされる。ここで、ステップS3
17として、この残りのブランチの数が1以上ある時は
ステップS311のID要求の作業からを繰り返し、最
終的にすべてのブランチがID情報をブロードキャスト
するまで行われる。すべてのブランチがノードIDを取
得すると、ステップS317はM=0となり、ブランチ
のID取得モードも終了する。First, as step S310, the number M (M is a natural number) of branches existing in the network is set. Thereafter, in step S311, each branch requests the root to give an ID. On the other hand, for the route, arbitration is performed in step S312, and the branch is given in order from the winning branch to the next youngest number given to the leaf. In step S313, the root notifies the branch that issued the request of ID information or a failure result, and in step S314, the branch whose ID acquisition has failed fails issues an ID request again and repeats the same operation. In step S315, the ID information of the node is broadcast and transferred to all the nodes from the branch where the ID has been obtained. When the broadcast of the one node ID information ends, the number of remaining branches is reduced by one in step S316. Here, step S3
When the number of the remaining branches is 1 or more, the operation from the ID request in step S311 is repeated until all branches finally broadcast ID information. When all the branches have acquired the node IDs, M = 0 in step S317, and the branch ID acquisition mode ends.
【0065】ここまで終了すると、最終的にID情報を
取得していないノードはルートのみなので、ステップS
318として与えていない番号で最も大きい番号を自分
のID番号と設定し、ステップS319としてルートの
ID情報をブロードキャストする。At this point, since only the root node has not obtained the ID information at the end, step S
The largest number among the numbers not given as 318 is set as the own ID number, and the ID information of the route is broadcast at step S319.
【0066】以上で、図21に示したように、親子関係
が決定した後から、すべてのノードのIDが設定される
までの手順が終了する。Thus, as shown in FIG. 21, the procedure from the determination of the parent-child relationship to the setting of the IDs of all the nodes is completed.
【0067】次に、一例として図12に示した実際のネ
ットワークにおける動作を図12を参照しながら説明す
る。Next, the operation in the actual network shown in FIG. 12 will be described as an example with reference to FIG.
【0068】図12の説明として、(ルート)ノードB
の下位にはノードAとノードCが直接接続されており、
更にノードCの下位にはノードDが直接接続されてお
り、更にノードDの下位にはノードEとノードFが直接
接続された階層構造になっている。この、階層構造やル
ートノード、ノードIDを決定する手順を以下で説明す
る。Referring to FIG. 12, the (root) node B
Are directly connected to node A and node C,
Further, a node D is directly connected below the node C, and a node E and a node F are directly connected below the node D in a hierarchical structure. The procedure for determining the hierarchical structure, the root node, and the node ID will be described below.
【0069】バスリセットがされた後、まず各ノードの
接続状況を認識するために、各ノードの直接接続されて
いるポート間において、親子関係の宣言がなされる。こ
の親子とは親側が階層構造で上位となり、子側が下位と
なると言うことができる。After the bus reset, first, in order to recognize the connection status of each node, a parent-child relationship is declared between ports directly connected to each node. The parent and child can be said to be such that the parent is higher in the hierarchical structure and the child is lower.
【0070】図12ではバスリセットの後、最初に親子
関係の宣言を行ったのはノードAである。基本的にノー
ドの1つのポートにのみ接続があるノード(リーフと呼
ぶ)から親子関係の宣言を行なうことができる。これは
自分には1ポートの接続のみということをまず知ること
ができるので、これによってネットワークの端であるこ
とを認識し、その中で早く動作を行なったノードから親
子関係が決定されていく。こうして親子関係の宣言を行
なった側(A−B間ではノードA)のポートが子と設定
され、相手側(ノードB)のポートが親と設定される。
こうして、ノードA−B間では子−親、ノードE−D間
で子−親、ノードF−D間で子−親と決定される。In FIG. 12, the node A first declares the parent-child relationship after the bus reset. Basically, a node (called a leaf) having a connection to only one port of the node can declare a parent-child relationship. Since the user can first know that only one port is connected, it recognizes that this is the edge of the network, and the parent-child relationship is determined from the node that operates earlier in the network. In this manner, the port on the side that has declared the parent-child relationship (node A between AB) is set as a child, and the port on the other side (node B) is set as a parent.
Thus, a child-parent is determined between nodes AB, a child-parent is determined between nodes ED, and a child-parent is determined between nodes FD.
【0071】さらに1階層あがって、今度は複数個接続
ポートを持つノード(ブランチと呼ぶ)のうち、他ノー
ドからの親子関係の宣言を受けたものから順次、更に上
位に親子関係の宣言を行なっていく。図12ではまずノ
ードDがD−E間、D−F間と親子関係が決定した後、
ノードCに対する親子関係の宣言を行っており、その結
果ノードD−C間で子−親と決定している。Further up in the hierarchy, among nodes having a plurality of connection ports (branches), the parent-child relationship is declared further higher in order from the node that received the declaration of the parent-child relationship from another node. To go. In FIG. 12, after the parent-child relationship between the node D and DE and between DF is determined,
The parent-child relationship is declared for node C, and as a result, child-parent is determined between nodes D and C.
【0072】ノードDからの親子関係の宣言を受けたノ
ードCは、もう一つのポートに接続されているノードB
に対して親子関係の宣言を行なっている。これによって
ノードC−B間で子−親と決定している。The node C that has received the declaration of the parent-child relationship from the node D becomes the node B connected to another port.
Declares a parent-child relationship. As a result, a child-parent is determined between the nodes C and B.
【0073】このようにして、図12のような階層構造
が構成され、最終的に接続されているすべてのポートに
おいて親となったノードBが、ルートノードと決定され
た。ルートは1つのネットワーク構成中に一つしか存在
しないものである。In this way, a hierarchical structure as shown in FIG. 12 is formed, and the node B that has become the parent in all finally connected ports is determined as the root node. There is only one route in one network configuration.
【0074】なお、この図12においてノードBがルー
トノードと決定されたが、これはノードAから親子関係
宣言を受けたノードBが、他のノードに対して親子関係
宣言を早いタイミングで行なっていれば、ルートノード
は他ノードに移っていたこともあり得る。すなわち、伝
達されるタイミングによってはどのノードもルートノー
ドとなる可能性があり、同じネットワーク構成でもルー
トノードは一定とは限らない。In FIG. 12, node B is determined to be the root node. This is because node B, which has received the parent-child relationship declaration from node A, makes a parent-child relationship declaration for other nodes at an early timing. If so, the root node may have moved to another node. That is, any node may become a root node depending on the transmission timing, and the root node is not always constant even in the same network configuration.
【0075】ルートノードが決定すると、次は各ノード
IDを決定するモードに入る。ここではすべてのノード
が、決定した自分のノードIDを他のすべてのノードに
通知する(ブロードキャスト機能)。When the root node is determined, the process enters a mode for determining each node ID. Here, all nodes notify their determined node IDs to all other nodes (broadcast function).
【0076】自己ID情報は、自分のノード番号、接続
されている位置の情報、持っているポートの数、接続の
あるポートの数、各ポートの親子関係の情報等を含んで
いる。The self ID information includes its own node number, information on the connected position, the number of ports it has, the number of connected ports, information on the parent-child relationship of each port, and the like.
【0077】ノードID番号の割り振りの手順として
は、まず1つのポートにのみ接続があるノード(リー
フ)から起動することができ、この中から順にノード番
号=0,1,2,,と割り当てられる。As a procedure for assigning node ID numbers, first, nodes can be started from nodes (leaves) connected to only one port, and node numbers = 0, 1, 2, and so on are assigned in this order. .
【0078】ノードIDを手にしたノードは、ノード番
号を含む情報をブロードキャストで各ノードに送信す
る。これによって、そのID番号は『割り当て済み』で
あることが認識される。The node that has obtained the node ID broadcasts information including the node number to each node. As a result, it is recognized that the ID number is “assigned”.
【0079】すべてのリーフが自己ノードIDを取得し
終ると、次はブランチへ移りリーフに引き続いたノード
ID番号が各ノードに割り当てられる。リーフと同様
に、ノードID番号が割り当てられたブランチから順次
ノードID情報をブロードキャストし、最後にルートノ
ードが自己ID情報をブロードキャストする。すなわ
ち、常にルートは最大のノードID番号を所有するもの
である。When all the leaves have acquired their own node IDs, the next step is to move to the branch and the node ID number following the leaf is assigned to each node. Similarly to the leaf, the node ID information is broadcast sequentially from the branch to which the node ID number is assigned, and finally, the root node broadcasts its own ID information. That is, the root always owns the maximum node ID number.
【0080】以上のようにして、階層構造全体のノード
IDの割り当てが終り、ネットワーク構成が再構築さ
れ、バスの初期化作業が完了する。As described above, the assignment of the node IDs of the entire hierarchical structure is completed, the network configuration is reconstructed, and the bus initialization operation is completed.
【0081】<アービトレーション>1394シリアル
バスでは、データ転送に先立って必ずバス使用権のアー
ビトレーション(調停)を行なう。1394シリアルバ
スは個別に接続された各機器が、転送された信号をそれ
ぞれ中継することによって、ネットワーク内すべての機
器に同信号を伝えるように、論理的なバス型ネットワー
クであるので、パケットの衝突を防ぐ意味でアービトレ
ーションは必要である。これによってある時間には、た
った一つのノードのみ転送を行なうことができる。<Arbitration> In the 1394 serial bus, arbitration (arbitration) of the right to use the bus is always performed prior to data transfer. Since the 1394 serial bus is a logical bus-type network in which each device connected individually relays the transferred signal to transmit the same signal to all devices in the network, packet collision occurs. Arbitration is necessary to prevent This allows only one node to transfer at a given time.
【0082】アービトレーションを説明するための図と
して図13(a)にバス使用要求の図(b)にバス使用
許可の図を示し、以下これを用いて説明する。As a diagram for explaining arbitration, FIG. 13A shows a bus use request diagram, and FIG. 13B shows a bus use permission diagram.
【0083】アービトレーションが始まると、1つもし
くは複数のノードが親ノードに向かって、それぞれバス
使用権の要求を発する。図13(a)のノードCとノー
ドFがバス使用権の要求を発しているノードである。こ
れを受けた親ノード(図13ではノードA)は更に親ノ
ードに向かって、バス使用権の要求を発する(中継す
る)。この要求は最終的に調停を行なうルートに届けら
れる。When arbitration starts, one or a plurality of nodes issue a bus use right request to the parent node. Nodes C and F in FIG. 13A are nodes that have issued a bus use right request. The parent node (node A in FIG. 13) which has received the request further issues (relays) a bus use request toward the parent node. This request is finally delivered to the arbitration route.
【0084】バス使用要求を受けたルートノードは、ど
のノードにバスを使用させるかを決める。この調停作業
はルートノードのみが行なえるものであり、調停によっ
て勝ったノードにはバスの使用許可を与える。図13
(b)ではノードCに使用許可が与えられ、ノードFの
使用は拒否された図である。アービトレーションに負け
たノードに対してはDP(data prefix)パケットを送
り、拒否されたことを知らせる。拒否されたノードのバ
ス使用要求は次回のアービトレーションまで待たされ
る。The root node that has received the bus use request determines which node is to use the bus. This arbitration work can be performed only by the root node, and the node that has won the arbitration is given permission to use the bus. FIG.
In (b), use permission is given to the node C, and use of the node F is rejected. A DP (data prefix) packet is sent to the node that has lost the arbitration to notify that the node has been rejected. The rejected node use request waits until the next arbitration.
【0085】以上のようにして、アービトレーションに
勝ってバスの使用許可を得たノードは、以降データの転
送を開始できる。As described above, the node that has won the arbitration and obtained the permission to use the bus can start transferring data thereafter.
【0086】ここで、アービトレーションの一連の流れ
をフローチャート図22に示して、説明する。ノードが
データ転送を開始できる為には、バスがアイドル状態で
あることが必要である。先に行われていたデータ転送が
終了して、現在バスが空き状態であることを認識するた
めには、各転送モードで個別に設定されている所定のア
イドル時間ギャップ長(例.サプアクション・ギャッ
プ)を経過する事によって、各ノードは自分の転送が開
始できると判断する。Here, a series of arbitration flows will be described with reference to a flowchart shown in FIG. In order for a node to be able to start data transfer, the bus must be idle. In order to recognize that the data transfer that has been performed earlier is completed and that the bus is currently idle, a predetermined idle time gap length (eg, a subaction / sequence) that is individually set in each transfer mode. Each node determines that its own transfer can be started by passing the gap.
【0087】ステップS401として、Asyncデー
タ、Isoデータ等それぞれ転送するデータに応じた所
定のギャップ長が得られたか判断する。所定のギャップ
長が得られない限り、転送を開始するために必要なバス
使用権の要求はできないので、所定のギャップ長が得ら
れるまで待つ。In step S401, it is determined whether a predetermined gap length corresponding to each data to be transferred, such as Async data and Iso data, has been obtained. Unless the predetermined gap length is obtained, the request for the right to use the bus required to start the transfer cannot be made, so the process waits until the predetermined gap length is obtained.
【0088】ステップS401で所定のギャップ長が得
られたら、ステップS402として転送すべきデータが
あるか判断し、ある場合はステップS403として転送
するためにバスを確保するよう、バス使用権の要求をル
ートに対して発する。このときの、バス使用権の要求を
表す信号の伝達は、図13に示したように、ネットワー
ク内各機器を中継しながら、最終的にルートに届けられ
る。ステップS402で転送するデータがない場合は、
そのまま待機する。If a predetermined gap length is obtained in step S401, it is determined in step S402 whether there is data to be transferred. If so, a request for a bus use right is issued in step S403 to secure a bus for transfer. Emit to the route. At this time, the transmission of the signal indicating the request for the right to use the bus is finally delivered to the route while relaying each device in the network, as shown in FIG. If there is no data to be transferred in step S402,
Wait as it is.
【0089】次に、ステップS404として、ステップ
S403のバス使用要求を1つ以上ルートが受信した
ら、ルートはステップS405として使用要求を出した
ノードの数を調べる。ステップS405での選択値がノ
ード数=1(使用権要求を出したノードは1つ)だった
ら、そのノードに直後のバス使用許可が与えられること
となる。ステップS405での選択値がノード数>1
(使用要求を出したノードは複数)だったら、ルートは
ステップS406として使用許可を与えるノードを1つ
に決定する調停作業を行う。この調停作業は公平なもの
であり、毎回同じノードばかりが許可を得る様なことは
なく、平等に権利を与えていくような構成となってい
る。Next, at step S404, when the route receives one or more bus use requests at step S403, the route checks at step S405 the number of nodes that have issued use requests. If the selection value in step S405 is the number of nodes = 1 (the number of nodes that issued the use right request is one), the immediately subsequent bus use permission is given to that node. The selection value in step S405 is the number of nodes> 1
If (the number of nodes requesting the use is plural), the root performs an arbitration operation of deciding one node to which use permission is given in step S406. This arbitration work is fair, and the same node does not always obtain permission each time, and the right is equally given.
【0090】ステップS407として、ステップS40
6で使用要求を出した複数ノードの中からルートが調停
して使用許可を得た1つのノードと、敗れたその他のノ
ードに分ける選択を行う。ここで、調停されて使用許可
を得た1つのノード、またはステップS405の選択値
から使用要求ノード数=1で調停無しに使用許可を得た
ノードには、ステップS408として、ルートはそのノ
ードに対して許可信号を送る。許可信号を得たノード
は、受け取った直後に転送すべきデータ(パケット)を
転送開始する。また、ステップS406の調停で敗れ
て、バス使用が許可されなかったノードにはステップS
409としてルートから、アービトレーション失敗を示
すDP(data prefix)パケットを送られ、これを受け
取ったノードは再度転送を行うためのバス使用要求を出
すため、ステップS401まで戻り、所定ギャップ長が
得られるまで待機する。As step S407, step S40
In step 6, a selection is made to divide the route into one node whose route has been arbitrated and the use of which has been granted, and another node which has lost the route. Here, for one node that has been arbitrated and has obtained use permission, or a node that has obtained use permission without arbitration with the number of use request nodes = 1 from the selection value in step S405, the route is set to that node as step S408. A permission signal is sent to it. The node that has received the permission signal starts transferring data (packets) to be transferred immediately after receiving the permission signal. Further, the nodes that have been defeated in the arbitration in step S406 and have not been permitted to use the bus are given step S406.
At step 409, a DP (data prefix) packet indicating an arbitration failure is sent from the root, and the node that has received the packet returns to step S401 to issue a bus use request for performing the transfer again, until the predetermined gap length is obtained. stand by.
【0091】以上がアービトレーションの流れを説明し
た、フローチャート図22の説明である。The flow of arbitration has been described above with reference to the flowchart of FIG.
【0092】<アシンクロナス(非同期)転送>アシン
クロナス転送は、非同期転送である。図14にアシンク
ロナス転送における時間的な遷移状態を示す。図14の
最初のサブアクション・ギャップは、バスのアイドル状
態を示すものである。このアイドル時間が一定値になっ
た時点で、転送を希望するノードはバスが使用できると
判断して、バス獲得のためのアービトレーションを実行
する。<Asynchronous (Asynchronous) Transfer> The asynchronous transfer is an asynchronous transfer. FIG. 14 shows a temporal transition state in the asynchronous transfer. The first sub-action gap in FIG. 14 indicates the idle state of the bus. When the idle time reaches a certain value, the node desiring transfer determines that the bus can be used and executes arbitration for acquiring the bus.
【0093】アービトレーションでバスの使用許可を得
ると、次にデータの転送がパケット形式で実行される。
データ転送後、受信したノードは転送されたデータに対
しての受信結果のack(受信確認用返送コード)をa
ck gapという短いギャップの後、返送して応答す
るか、応答パケットを送ることによって転送が完了す
る。ackは4ビットの情報と4ビットのチェックサム
からなり、成功か、ビジー状態か、ペンディング状態で
あるかといった情報を含み、すぐに送信元ノードに返送
される。When the use of the bus is obtained by arbitration, data transfer is executed in packet format.
After the data transfer, the receiving node sets ack (reception confirmation return code) of the reception result for the transferred data to a.
After a short gap of ck gap, the transfer is completed by returning and responding or sending a response packet. The ack is composed of 4-bit information and a 4-bit checksum, and includes information such as success, busy status, and pending status, and is immediately returned to the source node.
【0094】次に、図15にアシンクロナス転送のパケ
ットフォーマットの例を示す。Next, FIG. 15 shows an example of the packet format of the asynchronous transfer.
【0095】パケットには、データ部及び誤り訂正用の
データCRCの他にはヘッダ部があり、そのヘッダ部に
は図15に示したような、目的ノードID、ソースノー
ドID、転送データ長さや各種コードなどが書き込ま
れ、転送が行なわれる。The packet has a header in addition to the data part and the data CRC for error correction, and the header part has the destination node ID, the source node ID, the transfer data length and the like as shown in FIG. Various codes and the like are written and transferred.
【0096】また、アシンクロナス転送は自己ノードか
ら相手ノードへの1対1の通信である。転送元ノードか
ら転送されたパケットは、ネットワーク中の各ノードに
行き渡るが、自分宛てのアドレス以外のものは無視され
るので、宛先の1つのノードのみが読込むことになる。Asynchronous transfer is one-to-one communication from a self-node to a partner node. The packet transferred from the transfer source node is distributed to each node in the network, but the address other than its own address is ignored, so that only one destination node reads the packet.
【0097】以上がアシンクロナス転送の説明である。The above is the description of the asynchronous transfer.
【0098】<アイソクロナス(同期)転送>アイソク
ロナス転送は同期転送である。1394シリアルバスの
最大の特徴であるともいえるこのアイソクロナス転送
は、特にVIDEO映像データや音声データといったマ
ルチメディアデータなど、リアルタイムな転送を必要と
するデータの転送に適した転送モードである。<Isochronous (Synchronous) Transfer> Isochronous transfer is synchronous transfer. This isochronous transfer, which can be said to be the greatest feature of the 1394 serial bus, is a transfer mode suitable for transferring data that requires real-time transfer, such as multimedia data such as VIDEO video data and audio data.
【0099】また、アシンクロナス転送(非同期)が1
対1の転送であったのに対し、このアイソクロナス転送
はブロードキャスト機能によって、転送元の1つのノー
ドから他のすべてのノードへ一様に転送される。Also, when the asynchronous transfer (asynchronous) is 1
Unlike the one-to-one transfer, the isochronous transfer is uniformly transferred from one transfer source node to all other nodes by the broadcast function.
【0100】図16はアイソクロナス転送における、時
間的な遷移状態を示す図である。FIG. 16 is a diagram showing a temporal transition state in the isochronous transfer.
【0101】アイソクロナス転送は、バス上一定時間毎
に実行される。この時間間隔をアイソクロナスサイクル
と呼ぶ。アイソクロナスサイクル時間は、125μSで
ある。この各サイクルの開始時間を示し、各ノードの時
間調整を行なう役割を担っているのがサイクル・スター
ト・パケットである。サイクル・スタート・パケットを
送信するのは、サイクル・マスタと呼ばれるノードであ
り、1つ前のサイクル内の転送終了後、所定のアイドル
期間(サブアクションギャップ)を経た後、本サイクル
の開始を告げるサクル・スタート・パケットを送信す
る。このサイクル・スタート・パケットの送信される時
間間隔が125μSとなる。また、図16にチャネル
A、チャネルB、チャネルCと示したように、1サイク
ル内において複数種のパケットがチャンネルIDをそれ
ぞれ与えられることによって、区別して転送できる。こ
れによって同時に複数ノード間でのリアルタイムな転送
が可能であり、また受信するノードでは自分が欲しいチ
ャネルIDのデータのみを取り込む。このチャネルID
は送信先のアドレスを表すものではなく、データに対す
る論理的な番号を与えているに過ぎない。よって、ある
パケットの送信は1つの送信元ノードから他のすべての
ノードに行き渡る、ブロードキャストで転送されること
になる。The isochronous transfer is executed at fixed time intervals on the bus. This time interval is called an isochronous cycle. The isochronous cycle time is 125 μS. A cycle start packet indicates the start time of each cycle, and plays a role of adjusting the time of each node. A node called a cycle master transmits a cycle start packet, and after a transfer in a previous cycle is completed, a predetermined idle period (subaction gap) is passed, and then the start of this cycle is announced. Send a Sakuru start packet. The time interval at which this cycle start packet is transmitted is 125 μS. Further, as shown in FIG. 16 as channel A, channel B, and channel C, a plurality of types of packets can be distinguished and transferred by being given channel IDs in one cycle. This allows real-time transfer between a plurality of nodes at the same time, and the receiving node fetches only the data of the channel ID desired by itself. This channel ID
Does not indicate a destination address, but merely gives a logical number for data. Therefore, the transmission of a certain packet is transmitted by broadcast, which is distributed from one source node to all other nodes.
【0102】アイソクロナス転送のパケット送信に先立
って、アシンクロナス転送同様アービトレーションが行
われる。しかし、アシンクロナス転送のように1対1の
通信ではないので、アイソクロナス転送にはack(受
信確認用返信コード)は存在しない。Prior to the packet transmission in the isochronous transfer, arbitration is performed as in the asynchronous transfer. However, since the communication is not one-to-one communication as in the asynchronous transfer, there is no ack (reception confirmation reply code) in the isochronous transfer.
【0103】また、図16に示したiso gap(ア
イソクロナスギャップ)とは、アイソクロナス転送を行
なう前にバスが空き状態であると認識するために必要な
アイドル期間を表している。この所定のアイドル期間を
経過すると、アイソクロナス転送を行ないたいノードは
バスが空いていると判断し、転送前のアービトレーショ
ンを行なうことができる。The iso gap (isochronous gap) shown in FIG. 16 indicates an idle period necessary for recognizing that the bus is empty before performing the isochronous transfer. After the predetermined idle period has elapsed, a node that wishes to perform isochronous transfer determines that the bus is free, and can perform arbitration before transfer.
【0104】つぎに、図17にアイソクロナス転送のパ
ケットフォーマットの例を示し、説明する。Next, an example of a packet format for isochronous transfer will be described with reference to FIG.
【0105】各チャネルに分かれた、各種のパケットに
はそれぞれデータ部及び誤り訂正用のデータCRCの他
にヘッダ部があり、そのヘッダ部には図17に示したよ
うな、転送データ長やチャネルNO、その他各種コード
及び誤り訂正用のヘッダCRCなどが書き込まれ、転送
が行なわれる。Each packet divided into each channel has a header portion in addition to a data portion and data CRC for error correction, and the header portion has a transfer data length and a channel length as shown in FIG. NO and other various codes and a header CRC for error correction are written and transferred.
【0106】以上がアイソクロナス転送の説明である。The above is the description of the isochronous transfer.
【0107】<バス・サイクル>実際の1394シリア
ルバス上の転送では、アイソクロナス転送と、アシンク
ロナス転送は混在できる。その時の、アイソクロナス転
送とアシンクロナス転送が混在した、バス上の転送状態
の時間的な遷移の様子を表した図を図18に示す。<Bus Cycle> In an actual transfer on the 1394 serial bus, isochronous transfer and asynchronous transfer can coexist. FIG. 18 shows a temporal transition of the transfer state on the bus in which the isochronous transfer and the asynchronous transfer are mixed at that time.
【0108】アイソクロナス転送はアシンクロナス転送
より優先して実行される。その理由は、サイクル・スタ
ート・パケットの後、アシンクロナス転送を起動するた
めに必要なアイドル期間のギャップ長(サブアクション
ギャップ)よりも短いギャップ長(アイソクロナスギャ
ップ)で、アイソクロナス転送を起動できるからであ
る。したがって、アシンクロナス転送より、アイソクロ
ナス転送は優先して実行されることとなる。The isochronous transfer is executed prior to the asynchronous transfer. The reason is that after the cycle start packet, the isochronous transfer can be started with a gap length (isochronous gap) shorter than the gap length (subaction gap) of the idle period required to start the asynchronous transfer. . Therefore, the isochronous transfer is executed with priority over the asynchronous transfer.
【0109】図18に示した、一般的なバスサイクルに
おいて、サイクル#mのスタート時にサイクル・スター
ト・パケットがサイクル・マスタから各ノードに転送さ
れる。これによって、各ノードで時刻調整を行ない、所
定のアイドル期間(アイソクロナスギャップ)を待って
からアイソクロナス転送を行なうべきノードはアービト
レーションを行い、パケット転送に入る。図18ではチ
ャネルeとチャネルsが順にアイソクロナス転送されて
いる。In the general bus cycle shown in FIG. 18, at the start of cycle #m, a cycle start packet is transferred from the cycle master to each node. As a result, each node adjusts the time, and after waiting for a predetermined idle period (isochronous gap), the node that should perform isochronous transfer performs arbitration and starts packet transfer. In FIG. 18, the channel e and the channel s are sequentially subjected to isochronous transfer.
【0110】このアービトレーションからパケット転送
までの動作を、与えられているチャネル分繰り返し行な
った後、サイクル#mにおけるアイソクロナス転送がす
べて終了したら、アシンクロナス転送を行うことができ
るようになる。After the operations from the arbitration to the packet transfer are repeatedly performed for the given channel, when all the isochronous transfers in the cycle #m have been completed, the asynchronous transfer can be performed.
【0111】アイドル時間がアシンクロナス転送が可能
なサブアクションギャップに達する事によって、アシン
クロナス転送を行いたいノードはアービトレーションの
実行に移れると判断する。ただし、アシンクロナス転送
が行える期間は、アイソクロナス転送終了後から、次の
サイクル・スタート・パケットを転送すべき時間(cy
cle cynch)までの間にアシンクロナス転送を
起動するためのサブアクションギャップが得られた場合
に限っている。When the idle time reaches the subaction gap in which asynchronous transfer is possible, it is determined that the node that wishes to perform asynchronous transfer can shift to execution of arbitration. However, the period during which the asynchronous transfer can be performed is the time (cy) at which the next cycle start packet should be transferred after the end of the isochronous transfer.
This is limited to a case where a sub-action gap for activating asynchronous transfer is obtained before cle sync).
【0112】図18のサイクル#mでは3つのチャネル
分のアイソクロナス転送と、その後アシンクロナス転送
(含むack)が2パケット(パケット1、パケット
2)転送されている。このアシンクロナスパケット2の
後は、サイクルm+1をスタートすべき時間(cycl
e synch)にいたるので、サイクル#mでの転送
はここまでで終わる。In cycle #m of FIG. 18, two packets (packet 1 and packet 2) of isochronous transfer for three channels and then asynchronous transfer (including ack) are transferred. After this asynchronous packet 2, a time (cycle) to start cycle m + 1
e sync), the transfer in cycle #m ends here.
【0113】ただし、非同期または同期転送動作中に次
のサイクル・スタート・パケットを送信すべき時間(c
ycle synch)に至ったとしたら、無理に中断
せず、その転送が終了した後のアイドル期間を待ってか
ら次サイクルのサイクル・スタート・パケットを送信す
る。すなわち、1つのサイクルが125μS以上続いた
ときは、その分次サイクルは基準の125μSより短縮
されたとする。このようにアイソクロナス・サイクルは
125μSを基準に超過、短縮し得るものである。However, the time (c) at which the next cycle start packet should be transmitted during the asynchronous or synchronous transfer operation
If (cycle synch) is reached, a cycle start packet of the next cycle is transmitted after waiting for an idle period after the transfer is completed without forcibly interrupting the transfer. That is, when one cycle continues for 125 μS or more, it is assumed that the next cycle is shortened by that much from the reference 125 μS. As described above, the isochronous cycle can be exceeded or shortened on the basis of 125 μS.
【0114】しかし、アイソクロナス転送はリアルタイ
ム転送を維持するために毎サイクル必要であれば必ず実
行され、アシンクロナス転送はサイクル時間が短縮され
たことによって次以降のサイクルにまわされることもあ
る。However, the isochronous transfer is always executed if necessary every cycle to maintain the real-time transfer, and the asynchronous transfer may be transferred to the next and subsequent cycles due to the shortened cycle time.
【0115】こういった遅延情報も含めて、サイクル・
マスタによって管理される。A cycle including such delay information
Controlled by the master.
【0116】以上が、IEEE1394シリアルバスの
説明である。なお、以下の説明では、IEEE1394
シリアルバスを単に1394と呼ぶことがある。The above is the description of the IEEE 1394 serial bus. In the following description, IEEE 1394
The serial bus may simply be called 1394.
【0117】<ホームバスシステムの構成>次に、図2
及び図3を用いて図1のホームバスシステムの具体的な
構成について説明する。<Configuration of Home Bus System> Next, FIG.
A specific configuration of the home bus system of FIG. 1 will be described with reference to FIG.
【0118】200は玄関インターホーンの主な構成を
表わし、201は1394インターフェース部、202
は1394インターフェースとやり取りするデータを選
択するためのセレクタ、203は圧縮音声データを解凍
する音声復号器、204は音声データを圧縮符号化する
音声符号化器、205はデジタル音声データとアナログ
音声データを変換したりスイッチ208の状態を読み取
ったりマイク206やスピーカ207を制御したりする
ことでインターホーン全体を制御するインターホン制御
部である。Reference numeral 200 denotes a main structure of the entrance interphone, 201 denotes a 1394 interface, 202
Is a selector for selecting data exchanged with the 1394 interface, 203 is an audio decoder for decompressing compressed audio data, 204 is an audio encoder for compressing and encoding audio data, and 205 is digital audio data and analog audio data. An interphone control unit that controls the entire interphone by performing conversion, reading the state of the switch 208, and controlling the microphone 206 and the speaker 207.
【0119】210は電話/室内インターホーン/セン
トラルコントロール部の主な構成を表わし、211は1
394インターフェース部、212はデータセレクタ、
213は公衆回線と接続するためのアナログ電話部、2
14は圧縮音声データを復号化する音声復号化器、21
5は音声データを復号化する音声符号化器、216はア
ナログ音声とデジタル音声データを変換したりマイク2
17やスピーカ218を制御したりキーボード219を
読み取ったりアナログ電話部を制御することで電話/室
内インターホーン/セントラルコントロール部の全体を
制御する制御部、220はホームバスシステムのセント
ラルコントロール部である。Reference numeral 210 denotes the main configuration of the telephone / room interphone / central control unit;
394 interface unit, 212 is a data selector,
213 is an analog telephone section for connecting to a public line, 2
14 is an audio decoder for decoding compressed audio data, 21
Reference numeral 5 denotes a voice encoder for decoding voice data, and 216 denotes a microphone 2 which converts analog voice and digital voice data.
A control unit for controlling the entire telephone / room interphone / central control unit by controlling the analog telephone unit and controlling the speaker 17 and the speaker 218, reading the keyboard 219, and 220 is a central control unit of the home bus system.
【0120】玄関インターホーン200にて来客がま
ず、スイッチ208を押すと、スイッチ情報をインター
ホーン制御部205で読み取る。スイッチ情報は、デー
タセレクタ202を通り、1394I/F部201にて
1394のパケット化され、1394シリアルバス28
0を介して、電話/室内インターホーン/セントラルコ
ントロールに送られる。電話/室内インターホーン/セ
ントラルコントロール210にて呼び出し音が鳴り、そ
れに応答するために居住者が電話を取り上げると、応答
情報が発信され、制御部216、セレクタ212を通
り、1394I/F部211にて1349のパケット化
され、シリアルバス280、1394I/F部201、
セレクタ202を介してインターホン制御部205へ伝
わる。応答情報が伝わると、玄関インターホン200と
電話/室内インターホーン/セントラルコントロール2
10は通話状態になる。When the customer first presses the switch 208 at the entrance interphone 200, the switch information is read by the interphone control unit 205. The switch information passes through the data selector 202 and is converted into a 1394 packet by the 1394 I / F unit 201.
0 to the telephone / room intercom / central control. When the resident picks up the telephone to answer the telephone / room interphone / central control 210 and responds to it, response information is transmitted and passed through the control unit 216 and the selector 212 to the 1394 I / F unit 211. The serial bus 280, the 1394 I / F unit 201,
The information is transmitted to intercom control section 205 via selector 202. When the response information is transmitted, the entrance intercom 200 and the telephone / room interphone / central control 2
10 is in a call state.
【0121】この状態になった後は、玄関インターホー
ンからの音声は、マイク206から入力されインターホ
ン制御部205でデジタル音声データに変換され、音声
符号化器204で圧縮されデータセレクタ202を通り
1394I/F部201で1349のパケット化され電
話/室内インターホン/セントラルコントロール部21
0へ送られる。電話/室内インターホン/セントラルコ
ントロール部210では、このパケットデータを受け
て、1394I/F部211でパケットを解釈、分解す
る。分解されたデータはデータセレクタ212を通り、
音声複合化器214で非圧縮データに復号化され、制御
部216にてアナログ信号に変換されスピーカ218に
て鳴らされる。After entering this state, the sound from the entrance intercom is input from the microphone 206, converted into digital audio data by the interphone control unit 205, compressed by the audio encoder 204, passed through the data selector 202, and transmitted to the 1394I. / F unit 201, 1349 packetized telephone / room intercom / central control unit 21
Sent to 0. The telephone / room intercom / central control unit 210 receives this packet data, and the 1394 I / F unit 211 interprets and decomposes the packet. The decomposed data passes through a data selector 212,
The data is decoded into uncompressed data by the audio demultiplexer 214, converted into an analog signal by the control unit 216, and sounded by the speaker 218.
【0122】また、この逆に電話/室内インターホン/
セントラルコントロール部210からの音声はマイク2
17から入力され制御部216でデジタル音声データに
変換され、音声符号化器215で圧縮されデータセレク
タ212を通り1394I/F部211で玄関インター
ホン向けの1349のパケット化され玄関インターホン
200へ送られる。玄関インターホン200では、この
パケットデータを受けて、1394I/F部201でパ
ケットを解釈、分解する。分解されたデータはデータセ
レクタ202を通り、音声複合化器203で非圧縮デー
タに復号化され、制御部205にてアナログ信号に変換
されスピーカ207にて鳴らされる。これにより双方向
の音声会話を行う。On the other hand, telephone / room intercom /
The sound from the central control unit 210 is the microphone 2
The data is input from the controller 17, is converted into digital audio data by the control unit 216, is compressed by the audio encoder 215, passes through the data selector 212, is converted into a packet of 1349 for the entrance intercom by the 1394 I / F unit 211, and is sent to the entrance intercom 200. The entrance intercom 200 receives the packet data, and the 1394 I / F unit 201 interprets and decomposes the packet. The decomposed data passes through the data selector 202, is decoded into uncompressed data by the audio demultiplexer 203, is converted into an analog signal by the control unit 205, and is sounded by the speaker 207. Thus, a two-way voice conversation is performed.
【0123】電話/室内インターホン/セントラルコン
トロール210は、前述のインターホン機能の他に、公
衆回線に接続する電話機能とホームバスのセントラルコ
ントロール機能がある。電話機能では、マイク217、
スピーカ218、キーボード219が制御部216を介
してアナログ電話部213に接続され、アナログ公衆回
線へ接続する。また、キーボード219はホームバスの
セントラルコントロールのインターフェースの働きも行
っており、制御部216で読み取ったキーボード情報は
セントラルコントロール部220へと送られ、ここで、
ホームバスと制御するように各種命令がデータセレクタ
212を通って、1394I/F部211にて制御する
機器の目的ノードを設定した1394パケットに変換さ
れ送出される。The telephone / room intercom / central control 210 has a telephone function for connecting to a public line and a central control function for a home bus, in addition to the above-described intercom function. In the telephone function, microphone 217,
A speaker 218 and a keyboard 219 are connected to the analog telephone unit 213 via the control unit 216, and are connected to an analog public line. The keyboard 219 also serves as an interface for central control of the home bus, and the keyboard information read by the control unit 216 is sent to the central control unit 220, where
Various instructions for controlling with the home bus are passed through the data selector 212, converted into a 1394 packet in which the target node of the device controlled by the 1394 I / F unit 211 is set, and transmitted.
【0124】230はリビングTVの主な構成を示し、
231は1394インターフェース部、232はデータ
セレクタ、233はデジタル映像・音声データを復号化
するための復号化器、234はテレビチューナ、235
はセレクタ、236はリビングTV全体を制御するため
の制御部、237はブラウン管や液晶やプラズマなどの
表示装置、238は音声を増幅するためのアンプ、23
9はスピーカである。Numeral 230 indicates the main structure of the living TV,
231 is a 1394 interface unit, 232 is a data selector, 233 is a decoder for decoding digital video / audio data, 234 is a TV tuner, 235
Is a selector, 236 is a control unit for controlling the entire living TV, 237 is a display device such as a cathode ray tube, liquid crystal, or plasma, 238 is an amplifier for amplifying audio, 23
9 is a speaker.
【0125】240はVTRの主な構成を表わし、24
1は1394インターフェース部、242はセレクタ、
244はVTRの記録再生を行うための記録再生装置、
243はVTR全体を制御するためのVTR制御部であ
る。記録再生装置244で再生された映像データは、デ
ータセレクタ242を通って、1394I/F部241
からアイソクロノス転送にて、たとえば、目的ノードで
あるリビングTV230へ送られる。リビングTV23
0では、アイソクロノスで送られてくるデータを受信し
て映像を表示装置237で表示したり、音声をスピーカ
239にて鳴らしたりする。Reference numeral 240 denotes the main structure of the VTR,
1 is a 1394 interface unit, 242 is a selector,
244 is a recording / reproducing device for recording / reproducing a VTR,
A VTR control unit 243 controls the entire VTR. The video data reproduced by the recording / reproducing device 244 passes through the data selector 242 and passes through the 1394 I / F unit 241.
Is transmitted to the living TV 230, which is the destination node, by isochronous transfer. Living TV23
In the case of 0, the data transmitted by isochronous is received and the video is displayed on the display device 237 and the sound is sounded by the speaker 239.
【0126】250はルーム・エアー・コンディショナ
ー(以下エアコン)の主な構成を表わし、251は13
94インターフェース部、252はセレクタ、253は
エアコン全体の制御を行うエアコン制御部、254は主
に室外に置かれる熱交換器、255は室内に空調された
空気を送り出す送風機である。Reference numeral 250 denotes a main configuration of a room air conditioner (hereinafter referred to as an air conditioner).
Reference numeral 94 denotes an interface unit, reference numeral 252 denotes a selector, reference numeral 253 denotes an air conditioner control unit for controlling the entire air conditioner, reference numeral 254 denotes a heat exchanger mainly placed outside the room, and reference numeral 255 denotes a blower for sending out air-conditioned air to the room.
【0127】260は洗濯機の主な構成を表わし、26
1は1394インターフェース部、262はセレクタ、
263は洗濯機の全体の制御を行う洗濯機制御部、26
4は実際に洗濯や脱水を行う洗濯槽、265は洗濯槽の
一部または全部を駆動するためのモータである。Reference numeral 260 denotes the main structure of the washing machine.
1 is a 1394 interface unit, 262 is a selector,
A washing machine control unit 263 controls the entire washing machine.
Reference numeral 4 denotes a washing tub for actually performing washing and dehydration, and 265 a motor for driving a part or all of the washing tub.
【0128】270は掃除機の主な構成を表わし、27
1は1394インターフェース部、272はセレクタ、
273は掃除機の全体の制御を行う掃除機制御部、27
4はゴミを吸うために空気の負圧をつくるバキューム機
構、275はバキューム機構を駆動するためのモータで
ある。Reference numeral 270 denotes the main structure of the vacuum cleaner,
1 is a 1394 interface unit, 272 is a selector,
273, a vacuum cleaner control unit for controlling the entire vacuum cleaner;
Reference numeral 4 denotes a vacuum mechanism for creating a negative pressure of air for sucking dust, and 275 denotes a motor for driving the vacuum mechanism.
【0129】次に、図3を用いて、図1〜図3に示した
ホームバスシステムの動作について説明する。図4は、
電話/室内インターホン/セントラルコントロール21
0の動作について説明する図である。Next, the operation of the home bus system shown in FIGS. 1 to 3 will be described with reference to FIG. FIG.
Phone / Intercom / Central Control 21
It is a figure explaining operation | movement of 0.
【0130】まずS301で動作を開始して、S302
で、公衆回線に接続する電話やインターホン動作が、通
話中から非通話へのきり変わり目か、または、非通話中
から通話中への切り替わり目かどうか判断する。この切
り替わり目の判断は、例えば、状態を記憶しておくこと
で行える。すなわち、S302で状態の判断を行ったな
らそのたびにごとにその時点で非通話状態であるか通話
状態であるか記憶しておく。S302においては、現在
の状態と直前の判定時に記憶された状態とを比較し、両
者が一致していなければ、通話から非通話へ、あるい
は、非通話から通話へと切り替わったと判断できる。First, the operation starts in S301, and in S302
Then, it is determined whether the operation of the telephone or the intercom connected to the public line is a transition from a call to a non-call or a change from a non-call to a call. The determination of the switching point can be made, for example, by storing the state. That is, each time the state is determined in S302, whether the state is the non-talking state or the talking state at that time is stored. In S302, the current state is compared with the state stored at the time of the immediately preceding determination, and if they do not match, it can be determined that the call has been switched from non-call or from non-call.
【0131】この切り替わり目に該当しないときは再び
S302へと進み、該当する場合はS303へ進む。S
303では、内部の変数である“アクセスノード番号”
を0に設定する。次にS304で“アクセスノード番
号”が自分のノード番号と一致するかどうか判別し、一
致する場合はS311に進み、一致しない場合はS30
5に進む。S305でIEEE1394のパケットの目
的ノード番号を現在の“アクセスノード番号”に設定
し、S306にて消音モードに設定することが可能かど
うかをたずねるパケットを送出する。S307で目的ノ
ードの機器から返事が返ってくるのを待ち、その機器が
消音設定不可能な場合はS311へと進み、可能な場合
はS308へ進む。S308では現在が通話中かどうか
の判断を行い、現在通話中の場合はS310に進む。S
310では、まず現在のその機器の状態(消音モードか
否か)を問い合わせて記憶しておき、その後目的ノード
番号の機器を消音モードに設定する命令のパケットを送
出した後、S311に進む。If it does not correspond to this switch, the process proceeds to S302 again, and if it does, the process proceeds to S303. S
At 303, an internal variable “access node number”
Is set to 0. Next, in S304, it is determined whether or not the “access node number” matches its own node number. If they match, the process proceeds to S311. If they do not match, S30.
Go to 5. In step S305, the target node number of the IEEE 1394 packet is set to the current “access node number”, and in step S306, a packet asking whether the mute mode can be set is transmitted. In step S307, the process waits for a response from the device of the target node. If the device cannot be set to mute, the process proceeds to step S311; otherwise, the process proceeds to step S308. In S308, it is determined whether or not a call is currently in progress. If a call is currently in progress, the process proceeds to S310. S
At 310, first, the current state of the device (whether or not the device is in the mute mode) is inquired and stored, and thereafter, a packet of a command for setting the device of the target node number to the mute mode is transmitted, and the process proceeds to S311.
【0132】一方、S308にて通話中では無い場合は
S309に進む。S309ではS310で記憶しておい
た、目的ノード番号の機器を消音モードに設定する以前
の非通話時の状態に戻してS311へ進む。S311で
は、“アクセスノード番号”を1だけインクリメントし
て、S312で“アクセスノード番号”がルートのノー
ド番号+1と同じかどうかの判別を行う。“アクセスノ
ード番号”がルートのノード番号+1と同じならばS3
02に戻り、異なる場合はS304に戻り以下繰り返す
ことでホームバスに接続されているすべての機器の消音
設定を行う。On the other hand, if it is determined in step S308 that no call is in progress, the flow advances to step S309. In step S309, the state of the device having the target node number stored in step S310 is returned to the non-communication state before the mute mode is set, and the process proceeds to step S311. In S311, the "access node number" is incremented by one, and in S312, it is determined whether the "access node number" is the same as the root node number + 1. If the “access node number” is the same as the root node number + 1, S3
02, and if different, the process returns to S304 and repeats the following steps to perform mute setting for all devices connected to the home bus.
【0133】一方、この消音設定が、可能かどうかをた
ずねるパケットをうけた各機器のうち、玄関インターホ
ン、VTRには、その機能がないので、その機能がない
旨の返事を返す。それらに対して、リビング用TV23
0や、ルームエアコン250、洗濯機260、掃除機2
70には、それぞれ消音モード(静音モード)が存在す
るので、設定可能な旨の返事を返す。さらに、消音設定
の命令を受け取ったときには、リビング用TV230は
アンプ238を制御して、スピーカ239の音量を所定
量まで下げる。ルームエアコン250は、消音命令を受
け取ると、送風器255を制御することで、送風音がき
こえない(にくい)ような制御に変える。例えば、強く
風が吹き出している状態では、風を弱めることで、風切
り音が聞こえにくいレベルまで下げる。また、洗濯機2
60では、消音命令を受け取ると、モータ265の制御
を変えることで、モータの音がきこえない(にくい)よ
うな制御に変える。例えば、一時的に停止させるとか、
弱く回したりする。掃除機270でも洗濯機と同様に、
消音命令を受け取ると、モータ275の制御を変えるこ
とで、モータの音が聞こえない(にくい)ような制御に
変える。こうすることで、個々の機器を操作しなくと
も、バスに接続された全機器を所望の状態に設定でき
る。On the other hand, among the devices that have received the packet asking whether this mute setting is possible, the entrance intercom and the VTR do not have the function, so a reply indicating that the function is not provided is returned. For those, TV23 for living
0, room air conditioner 250, washing machine 260, vacuum cleaner 2
Since 70 has a mute mode (silent mode), respectively, a reply indicating that setting can be made is returned. Further, when receiving the mute setting command, the living room TV 230 controls the amplifier 238 to lower the volume of the speaker 239 to a predetermined amount. Upon receiving the mute command, the room air conditioner 250 controls the blower 255 to change the control so that the blow sound cannot be heard (is difficult). For example, when the wind is blowing strongly, the wind is weakened to reduce the wind noise to a level where it is difficult to hear the wind noise. In addition, washing machine 2
At 60, when the mute command is received, the control of the motor 265 is changed to change the control so that the motor sound cannot be heard (is difficult). For example, to stop temporarily,
Turn it weakly. In the vacuum cleaner 270, like the washing machine,
When the mute command is received, the control of the motor 275 is changed so that the sound of the motor cannot be heard (is difficult). In this way, all devices connected to the bus can be set to a desired state without operating individual devices.
【0134】以上の手順により、インタフォンによる会
話の開始とともに、ホームバスに接続された各機器の発
する音量を下げ、会話の妨げにならないようにできる。
また、会話の終了とともに、消音状態にしておいた各機
器を元の状態に戻すことができる。According to the above procedure, the volume of each device connected to the home bus can be reduced at the same time as the conversation by the interphone is started, so that the conversation is not hindered.
Further, at the end of the conversation, the mute devices can be returned to the original state.
【0135】なお、本実施例では、すべての消音設定可
能な機器を消音モードし設定したが、電話/室内インタ
ーホン/セントラルコントロール210に距離が近い機
器のみを消音設定すれば、インタフォンによる会話を妨
げないという目的を達成できるし、電話/室内インター
ホン/セントラルコントロール210に距離が近い機器
ほど消音の度合いを高め、距離が遠い機器は消音の度合
いを少なくすることで、一層効果が上がる。こうするこ
とで、コントロール210から離れており、消音の必要
がない機器については、例えば音量やモータの回転数を
下げるといった本来の機器の能力を低下させる必要がな
くなる。さらに、本実施例では、通話/非通話の変化を
トリガーとして消音モードを有する機器を調査するが、
IEEE1394のバスリセットのときに接続している
機器をすべて調べてもかまわない。In this embodiment, all the mute-settable devices are set to the mute mode. However, if only the devices that are close to the telephone / room intercom / central control 210 are set to mute, the conversation by the interphone can be performed. The effect of not disturbing can be achieved, and the effect is further enhanced by increasing the degree of silencing for devices closer to the telephone / room intercom / central control 210 and reducing the degree of silencing for devices farther away. By doing so, it is not necessary to lower the original performance of the device that is apart from the control 210 and does not need to mute the sound, such as lowering the volume or the number of rotations of the motor. Further, in the present embodiment, a device having a mute mode triggered by a change of a call / non-call is investigated.
All the connected devices may be checked at the time of the IEEE 1394 bus reset.
【0136】[第2の実施の形態]次に、第2の実施形
態のホームバスシステムについて説明する。なお、本実
施形態のホームバスシステムの構成については、第1の
実施形態と同様なので省略し、実施例2の特徴となる電
話/室内インターホン/セントラルコントロール210
の動作フローのみを説明する。[Second Embodiment] Next, a home bus system according to a second embodiment will be described. Note that the configuration of the home bus system of the present embodiment is the same as that of the first embodiment, so that the description is omitted, and the telephone / room intercom / central control 210 which is a feature of the second embodiment
Only the operation flow of will be described.
【0137】図5は、電話/室内インターホン/セント
ラルコントロールの動作について説明する図である。S
401で開始して、S402で電話/室内インターホン
/セントラルコントロールが、公衆回線や玄関インター
ホンから、呼び出し音を鳴らす要求がない状態で呼び出
し音を鳴らす要求が来たときか、または、呼び出し音を
鳴らす要求が来ている状態で呼び出し音を鳴らす要求が
途絶えたかどうかを判断する。この判断は、例えば、状
態を記憶しておくことで行える。すなわち、S402で
状態の判断を行ったならそのたびにごとにその時点で呼
出し音を鳴らす要求があるか、それともないかを記憶し
ておく。S402においては、現在の状態と直前の判定
時に記憶された状態とを比較し、両者が一致していなけ
れば、呼出し音の要求がある状態からない状態へ、ある
いは、呼出し音の要求がある状態からない状態へと切り
替わったと判断できる。FIG. 5 is a diagram for explaining the operation of telephone / intercom interphone / central control. S
Beginning at 401, the telephone / room intercom / central control at S402 issues a ringing request or a ringing tone from a public line or entrance intercom in the absence of a ringing request. Determine whether the request to ring while the request is coming has ceased. This determination can be made, for example, by storing the state. That is, each time the state is determined in S402, it is stored whether there is a request for ringing at that time or not at each time. In step S402, the current state is compared with the state stored at the time of the immediately preceding determination. If the two do not match, the state changes from a state in which there is a request for a ringing tone to a state in which there is a request for a ringing tone. It can be determined that it has been switched to a state where it does not come out.
【0138】この切り替わり目に該当しないときは再び
S402へと進み、該当する場合はS403へ進む。S
403では、内部の変数である“アクセスノード番号”
を0に設定する。次にS404で“アクセスノード番
号”が自分のノード番号と一致するかどうか判別し、一
致する場合はS411に進み、一致しない場合はS40
5に進む。S405で1394のパケットの目的ノード
番号を“アクセスノード番号”に設定し、S406にて
消音モードに設定することが可能かどうかをたずねるパ
ケットを送出する。S407で目的ノードの機器から返
事が返ってくるのを待ち、その機器が消音設定不可能な
場合はS411へと進み、可能な場合はS408へ進
む。S408では現在が呼び出し音を鳴らす要求が来て
いるかどうかの判断を行い、現在呼び出し要求がある場
合はS410に進む。S410では、その機器の現在の
状態(消音モードか否か)を読み出して記憶し、その後
目的ノード番号の機器を消音モードに設定する命令のパ
ケットを送出した後、S411に進む。If it does not correspond to this switch, the process proceeds to S402 again, and if it does, the process proceeds to S403. S
In 403, an internal variable “access node number”
Is set to 0. Next, in S404, it is determined whether or not the “access node number” matches its own node number. If they match, the process proceeds to S411, and if they do not match, S40.
Go to 5. In step S405, the target node number of the 1394 packet is set to the “access node number”, and in step S406, a packet asking whether the mute mode can be set is transmitted. In step S407, the process waits for a response from the device of the target node. If the device cannot be set to mute, the process proceeds to step S411; otherwise, the process proceeds to step S408. In S408, it is determined whether or not a request to sound a ringing tone is present, and if there is a calling request at present, the process proceeds to S410. At S410, the current state of the device (whether or not the device is in the mute mode) is read and stored, and thereafter, a command packet for setting the device of the target node number to the mute mode is transmitted, and the process proceeds to S411.
【0139】一方、S408にて呼び出し要求がない場
合はS409に進む。S409では、S410で記憶し
ておいた機器のモードに基づいて目的ノード番号の機器
を消音モードに設定する以前の非通話時の状態に戻し、
S411へ進む。S411では、“アクセスノード番
号”を1だけインクリメントして、S412で“アクセ
スノード番号”がルートのノード番号+1と同じかどう
かの判断を行う。“アクセスノード番号”がルートのノ
ード番号+1と同じならばS402に戻り、異なる場合
はS404に戻り以下繰り返すことでホームバスに接続
されているすべての機器の消音設定を行う。なお、この
消音設定が、可能かどうかをたずねるパケットをうけた
各機器の対応は、第1の実施形態と同じである。On the other hand, if there is no call request in S408, the flow advances to S409. In S409, based on the mode of the device stored in S410, the device of the target node number is returned to the non-communication state before the device is set to the mute mode,
Proceed to S411. In S411, the “access node number” is incremented by one, and in S412, it is determined whether the “access node number” is the same as the root node number + 1. If the “access node number” is the same as the root node number + 1, the process returns to S402. If the “access node number” is different, the process returns to S404 and repeats the following steps to mute all the devices connected to the home bus. The correspondence of each device receiving a packet asking whether this mute setting is possible is the same as in the first embodiment.
【0140】以上のように、呼出し音が鳴る際には消音
機能を有する装置を消音モードに設定し、呼出し音が鳴
り終える際には以前のモードに戻すことで、機器のたて
る音によって呼出し音が聞き取りにくくなることを防止
できる。こうすることで、個々の機器を操作しなくと
も、バスに接続された全機器を所望の状態に設定でき
る。As described above, when the ringing tone sounds, the device having the mute function is set to the mute mode, and when the ringing tone ends, the device returns to the previous mode. It is possible to prevent the sound from being difficult to hear. In this way, all the devices connected to the bus can be set to a desired state without operating individual devices.
【0141】[第3の実施の形態]最後に、第3の実施
形態のホームバスシステムについて説明する。なお、本
実施形態のホームバスシステムの構成については、第1
の実施形態と同様なので省略し、本実施形態の特徴とな
る電話/室内インターホン/セントラルコントロール2
10の動作フローのみを説明する。[Third Embodiment] Finally, a home bus system according to a third embodiment will be described. The configuration of the home bus system according to the present embodiment is described in the first section.
The description is omitted because it is the same as that of the first embodiment, and the telephone / room intercom / central control 2
Only the operation flow of No. 10 will be described.
【0142】図5は、電話/室内インターホン/セント
ラルコントロールの動作について説明する図である。S
501で開始して、S502で電話/室内インターホン
/セントラルコントロールが通常モードから来客モード
に設定されたか、または、来客モードから通常モードに
設定されたかどうか判断する。このモードの切替は、例
えばキーボード219から行うことができる。また、モ
ードが切り替えられたことの判断は、例えば、モードを
記憶しておくことで行える。すなわち、S502で状態
の判断を行ったならそのたびにごとにその時点でのモー
ドを記憶しておく。S502においては、現在のモード
と直前の判定時に記憶されたモードとを比較し、両者が
一致していなければモードが切り替わったと判断でき
る。FIG. 5 is a diagram for explaining the operation of the telephone / intercom / central control. S
Starting at 501, it is determined at S502 whether the telephone / room intercom / central control has been set from the normal mode to the visitor mode or from the visitor mode to the normal mode. The switching of the mode can be performed from the keyboard 219, for example. The determination that the mode has been switched can be made, for example, by storing the mode. That is, each time the state is determined in S502, the mode at that time is stored each time. In S502, the current mode is compared with the mode stored at the time of the immediately preceding determination, and if they do not match, it can be determined that the mode has been switched.
【0143】この切り替わり目に該当しないときは再び
S502へと進み、該当する場合はS503へ進む。S
503では、内部の変数である“アクセスノード番号”
を0に設定する。次にS504で“アクセスノード番
号”が自分のノード番号と一致するかどうか判別し、一
致する場合はS511に進み、一致しない場合はS50
5に進む。S505で1394のパケットの目的ノード
番号を“アクセスノード番号”に設定し、S506にて
消音モードに設定することが可能かどうかをたずねるパ
ケットを送出する。S507で目的ノードの機器から返
事が返ってくるのを待ち、その機器が消音設定不可能な
場合はS511へと進み、可能な場合はS508へ進
む。S508では現在が来客モードかどうかの判断を行
い、現在来客モードの場合はS510に進み、S510
では目的ノード番号の機器を消音モードに設定する命令
のパケットを送出した後、S511に進む。If it does not correspond to the switch, the process proceeds to S502 again, and if it does, the process proceeds to S503. S
In 503, an internal variable “access node number”
Is set to 0. Next, in S504, it is determined whether or not the “access node number” matches its own node number. If they match, the process proceeds to S511, and if they do not match, S50.
Go to 5. In step S505, the destination node number of the 1394 packet is set to the “access node number”, and in step S506, a packet asking whether the mute mode can be set is transmitted. In step S507, the process waits for a response from the device of the target node. If the device cannot be set to mute, the process proceeds to step S511; otherwise, the process proceeds to step S508. In S508, it is determined whether or not the current mode is the visitor mode. If the current mode is the visitor mode, the process proceeds to S510 and S510.
Then, after transmitting the packet of the command to set the device of the target node number to the mute mode, the process proceeds to S511.
【0144】一方、S508にて来客モードでは無い場
合はS509に進み、S509では目的ノード番号の機
器を消音モードに設定する以前の非通話時の状態に戻し
S511へ進む。S511では、“アクセスノード番
号”を1だけインクリメントして、S512で“アクセ
スノード番号”がルートのノード番号+1と同じかどう
かの判別を行う。“アクセスノード番号”がルートのノ
ード番号+1と同じならばS502に戻り、異なる場合
はS504に戻り以下繰り返すことでホームバスに接続
されているすべての機器の消音設定を行う。なお、この
消音設定が、可能かどうかをたずねるパケットをうけた
各機器の対応は、第1の実施形態と同じである。On the other hand, if the mode is not the visitor mode in S508, the flow advances to S509. In S509, the state of the device of the target node number is returned to the non-communication state before the mute mode is set, and the flow advances to S511. In S511, the “access node number” is incremented by one, and in S512, it is determined whether the “access node number” is the same as the root node number + 1. If the “access node number” is the same as the root node number + 1, the process returns to S502. If the “access node number” is different, the process returns to S504 and repeats the following steps to mute all the devices connected to the home bus. The correspondence of each device receiving a packet asking whether this mute setting is possible is the same as in the first embodiment.
【0145】以上のように、電話がかかってきて呼び出
し音がなるときや、電話が通話中のとき、インターホー
ンで外部や内部から呼び出しを行うときや、インターホ
ーンで外部や内部と通話を行うとき、さらには、ホーム
バスシステムのセントラルコントローラで来客モードに
設定したときなどには、ホームバスを介して家庭内の各
機器に静音または消音機能があるかどうか問い合わせを
行い、静音または消音機能を持つ家庭内機器のうち必要
な機器に対して一気に静音または消音モードに移行させ
ることで、家庭内機器がうるさくて電話の呼び出し音が
聞こえないことや、家庭内機器がうるさくて電話をかけ
る邪魔になることや、家庭内機器がうるさくてインター
ホーンでの呼び出し音が聞こえないことや、家庭内機器
がうるさくてインターホーンでの通話の邪魔になること
や、家庭内機器がうるさくて接客の邪魔になるなどの問
題点を解消することが出来る効果がある。As described above, when an incoming call makes a ringing tone, when a telephone call is in progress, when a call is made from the outside or inside with the interphone, or a call with the outside or inside is made with the interphone. In addition, when the visitor mode is set by the central controller of the home bus system or the like, an inquiry is made as to whether or not each device in the home has a silent or mute function via the home bus. By immediately switching to the quiet or mute mode for the necessary devices among the household devices that you have, you can prevent the household devices from being loud and unable to hear the ringing sound of the phone, and the household devices being loud and disturbing you from making calls That the home equipment is noisy and you cannot hear the ringing sound in the interphone, or that the home equipment is noisy and The way to be or become a call on a Hon, there is an effect that it is possible to solve the problems, such as home appliances gets in the way of customer service and noisy.
【0146】また、これらの設定については、ネットワ
ーク全体について設定することで、個々の機器を操作し
なくとも、バスに接続された全機器を所望の状態、すな
わ消音モードに設定できる。[0146] By setting these settings for the entire network, all the devices connected to the bus can be set to a desired state, that is, a mute mode, without operating individual devices.
【0147】なお、図1において接続された家庭内機器
は、VTRやTVやルームエアコンや洗濯機や掃除機に
限ったものではなく、ラジオ、ステレオ、冷蔵庫、換気
扇、ジューサ、ミキサー、ガス湯沸かし器、食器洗い
機、等々、消音/静音機能を有すことの出来る機器なら
ば何でもかまわない。The household equipment connected in FIG. 1 is not limited to a VTR, TV, room air conditioner, washing machine, or vacuum cleaner, but may be a radio, a stereo, a refrigerator, a ventilation fan, a juicer, a mixer, a gas heater, Dishwashers, etc., can be anything that can have a mute / silent function.
【0148】[0148]
【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ,インタフェイス機器,リーダ,プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機,ファクシミリ
装置など)に適用してもよい。[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).
【0149】また、本発明の目的は、前述した実施形態
の機能を実現する、図4〜図6の手順を反映するプログ
ラムコードを記録した記憶媒体を、システムあるいは装
置に供給し、そのシステムあるいは装置のコンピュータ
(またはCPUやMPU)が記憶媒体に格納されたプロ
グラムコードを読出し実行することによっても達成され
る。Further, an object of the present invention is to provide a system or an apparatus with a storage medium storing a program code reflecting the procedures of FIGS. 4 to 6 and realizing the functions of the above-described embodiment. It is also achieved by a computer (or CPU or MPU) of the device reading and executing the program code stored in the storage medium.
【0150】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
【0151】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
【0152】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0153】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれる。Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The case where the CPU of the function expansion board or the function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing.
【0154】[0154]
【発明の効果】以上説明したように、ネットワークに接
続された個々の機器について設定を行わなくとも、1つ
の指示を与えるだけで、機器全体についてその指示に従
った設定を行うことが可能となる。その設定は、電話の
呼び出し音がなるときや、電話やインターホーンで通話
を行うときをきっかけとして設定できるし、また利用者
が所定のモードを選択することなどで設定することがで
きる。また、指示の内容を、機器の消音とすることがで
き、その場合には消音機能を持つ家庭内機器に対して一
気に静音または消音モードに移行させることができる。As described above, it is possible to perform the setting according to the instruction for the entire device only by giving one instruction without setting the individual device connected to the network. . The setting can be made when a ringing tone of a telephone is generated or when a telephone call or interphone is used, or when a user selects a predetermined mode. In addition, the content of the instruction can be set to mute the device, and in that case, the home device having the mute function can be immediately shifted to the silent or mute mode.
【図1】ホームバスシステムのネットワーク構成を表わ
す図である。FIG. 1 is a diagram illustrating a network configuration of a home bus system.
【図2】ホームバスシステムのネットワーク構成を表わ
す図である。FIG. 2 is a diagram illustrating a network configuration of a home bus system.
【図3】ホームバスシステムのネットワーク構成を表わ
す図である。FIG. 3 is a diagram illustrating a network configuration of a home bus system.
【図4】第1の実施形態のコントロールの動作を表わす
図である。FIG. 4 is a diagram illustrating a control operation according to the first embodiment.
【図5】第2の実施形態のコントロールの動作を表わす
図である。FIG. 5 is a diagram illustrating an operation of a control according to a second embodiment.
【図6】第3の実施形態のコントロールの動作を表わす
図である。FIG. 6 is a diagram illustrating an operation of control according to a third embodiment.
【図7】1394シリアルバスを用いて接続されたネッ
トワーク構成の一例を示す図である。FIG. 7 is a diagram illustrating an example of a network configuration connected using a 1394 serial bus.
【図8】1394シリアルバスの構成要素を表す図であ
る。FIG. 8 is a diagram illustrating components of a 1394 serial bus.
【図9】1394シリアルバスのアドレスマップを示す
図である。FIG. 9 is a diagram showing an address map of a 1394 serial bus.
【図10】1394シリアルバスケーブルの断面図であ
る。FIG. 10 is a sectional view of a 1394 serial bus cable.
【図11】DS−Link符号化方式を説明するための
図である。FIG. 11 is a diagram for explaining a DS-Link coding scheme.
【図12】1394シリアルバスで各ノードのIDを決
定する為のトポロジ設定を説明するための図である。FIG. 12 is a diagram illustrating a topology setting for determining an ID of each node on a 1394 serial bus.
【図13】1394シリアルバスでのアービトレーショ
ンを説明するための図である。FIG. 13 is a diagram for explaining arbitration on a 1394 serial bus.
【図14】アシンクロナス転送の時間的な状態遷移を表
す基本的な構成図である。FIG. 14 is a basic configuration diagram illustrating temporal state transition of asynchronous transfer.
【図15】アシンクロナス転送のパケットのフォーマッ
トの一例の図である。FIG. 15 is a diagram showing an example of a format of an asynchronous transfer packet.
【図16】アイソクロナス転送の時間的な状態遷移を表
す基本的な構成図である。FIG. 16 is a basic configuration diagram illustrating a temporal state transition of isochronous transfer.
【図17】アイソクロナス転送のパケットのフォーマッ
トの一例の図である。FIG. 17 is a diagram showing an example of a format of a packet for isochronous transfer.
【図18】1394シリアルバスで実際のバス上を転送
されるパケットの様子を示したバスサイクルの一例の図
である。FIG. 18 is an example of a bus cycle showing a state of a packet transferred on an actual bus in a 1394 serial bus.
【図19】バスリセットからノードIDの決定までの流
れを示すフローチャート図である。FIG. 19 is a flowchart illustrating a flow from a bus reset to a determination of a node ID.
【図20】バスリセットにおける親子関係決定の流れを
示すフローチャート図である。FIG. 20 is a flowchart showing a flow of parent-child relationship determination in a bus reset.
【図21】バスリセットにおける親子関係決定後から、
ノードID決定までの流れを示すフローチャート図であ
る。FIG. 21 is a diagram showing a state after a parent-child relationship is determined in a bus reset.
It is a flowchart figure which shows the flow until a node ID is determined.
【図22】アービトレーションを説明するためのフロー
チャート図である。FIG. 22 is a flowchart for explaining arbitration.
Claims (8)
る制御装置であって、 前記制御装置が所定の状態の間で遷移したことを判定す
る第1の判定手段と、 前記所定の状態あると判定された場合、前記ネットワー
クに接続された機器それぞれに対して消音機能を有する
か判定する第2の判定手段と、 前記制御装置の現在の状態を判定する第3の判定手段
と、 前記第3の判定手段により判定された状態に応じて、前
記消音機能を有する機器に対して、消音機能を有効にす
るか無効にするかを切り替える切替え手段とを備えるこ
とを特徴とするネットワーク制御装置。1. A control device for controlling a device connected to a network, comprising: first determination means for determining that the control device has transitioned between predetermined states; and determining that the predetermined state exists. The second determination means for determining whether or not each of the devices connected to the network has a mute function; a third determination means for determining a current state of the control device; A network control device, comprising: a switching unit that switches between a device having the mute function and a device that has a mute function, in accordance with a state determined by the determination unit.
規格の通信プロトコルに即したネットワークであること
を特徴とする請求項1に記載のネットワーク制御装置。2. The network according to claim 1, wherein said network is IEEE 1394.
2. The network control device according to claim 1, wherein the network is a network conforming to a standard communication protocol.
定手段は、前記音声通信機が通話から非通話へ、あるい
は非通話から通話へと遷移したか判定し、前記切替え手
段は、前記第3の判定手段により前記音声通信機が通話
状態であると判定された場合には、前記機器の消音機能
を有効化し、非通話状態であると判定された場合には、
前記機器の消音機能を無効化することを特徴とする請求
項1に記載のネットワーク制御装置。3. The apparatus further comprises a voice communication device, wherein the first determination means determines whether the voice communication device has transitioned from a call to a non-call or from a non-call to a call, and the switching means includes: If the voice communication device is determined to be in a call state by the third determination means, the mute function of the device is enabled, and if the voice communication device is determined to be in the non-talk state,
The network control device according to claim 1, wherein a mute function of the device is invalidated.
に備え、前記第1の判定手段は、前記電話機に対する呼
出し要求が在る状態からない状態へ、あるいは読み出し
要求がない状態からある状態へと遷移したか判定し、前
記切替え手段は、前記第3の判定手段により前記電話機
に読み出し要求があると判定された場合には、前記機器
の消音機能を有効化し、読み出し要求がないと判定され
た場合には、前記機器の消音機能を無効化することを特
徴とする請求項1に記載のネットワーク制御装置。4. A telephone connected to a public telephone line, wherein the first determining means switches from a state in which there is no call request to the telephone to a state in which there is no readout request. It is determined whether or not a transition has been made, and if the third determination means determines that the telephone has a read request, the switching means activates the mute function of the device and determines that there is no read request. 2. The network control device according to claim 1, wherein, in the case, the mute function of the device is invalidated.
らに備え、前記第1の判定手段は、前記設定手段により
第1のモードから第2のモードへ、あるいは第2のモー
ドから第1のモードに遷移したか判定し、前記切替え手
段は、前記第3の判定手段により第2のモードであると
判定された場合には、前記機器の消音機能を有効化し、
第1のモードであると判定された場合には、前記機器の
消音機能を無効化することを特徴とする請求項1に記載
のネットワーク制御装置。5. The apparatus according to claim 1, further comprising setting means for allowing a user to set a mode, wherein said first determination means is configured to switch from the first mode to the second mode or from the second mode to the first mode by the setting means. It is determined whether or not the mode has transitioned to the mode, and the switching unit activates the mute function of the device when the third determination unit determines that the mode is the second mode,
The network control device according to claim 1, wherein when it is determined that the mode is the first mode, the mute function of the device is invalidated.
る制御装置であって、 所定の状態の間で状態が遷移したことを判定する第1の
判定手段と、 前記所定の状態あると判定された場合、前記ネットワー
クに接続された機器それぞれに対して所定の機能を有す
るか判定する第2の判定手段と、 現在の状態を判定する第3の判定手段と、 前記第3の判定手段により判定された状態に応じて、前
記所定の機能を有する機器を、前記所定の機能を有効化
するか、あるいは無効化するよう制御する制御手段とを
備えることを特徴とするネットワーク制御装置。6. A control device for controlling a device connected to a network, comprising: first determining means for determining that a state has transitioned between predetermined states; and determining that the predetermined state exists. In this case, the determination is made by the second determination unit that determines whether each of the devices connected to the network has a predetermined function, the third determination unit that determines the current state, and the third determination unit. A control unit that controls the device having the predetermined function to enable or disable the predetermined function according to the state of the network control device.
置により制御する方法であって、 前記制御装置が所定の状態の間で遷移したことを判定す
る第1の判定工程と、 前記所定の状態あると判定された場合、前記ネットワー
クに接続された機器それぞれに対して消音機能を有する
か判定する第2の判定工程と、 前記制御装置の現在の状態を判定する第3の判定工程
と、 前記第3の判定工程により判定された状態に応じて、前
記消音機能を有する機器に対して、消音機能を有効にす
るか無効にするかを切り替える切替え工程とを備えるこ
とを特徴とするネットワーク制御方法。7. A method for controlling a device connected to a network by a control device, comprising: a first determination step of determining that the control device has transitioned between predetermined states; A second determination step of determining whether or not each of the devices connected to the network has a muffling function; a third determination step of determining a current state of the control device; 3. A network control method, comprising: switching a device having the mute function to enable or disable the mute function according to the state determined in the determination step of 3.
続された機器を制御するプログラムを格納するコンピュ
ータ可読の記憶媒体であって、前記プログラムは、 前記コンピュータが所定の状態の間で遷移したことを判
定する第1の判定工程と、 前記所定の状態あると判定された場合、前記ネットワー
クに接続された機器それぞれに対して消音機能を有する
か判定する第2の判定工程と、 前記コンピュータの現在の状態を判定する第3の判定工
程と、 前記第3の判定工程により判定された状態に応じて、前
記消音機能を有する機器に対して、消音機能を有効にす
るか無効にするかを切り替える切替え工程とを備えるこ
とを特徴とする記憶媒体。8. A computer-readable storage medium for storing, by a computer, a program for controlling a device connected to a network, wherein the program determines that the computer has transitioned between predetermined states. A first determining step; a second determining step of determining whether each of the devices connected to the network has a mute function when the predetermined state is determined; and determining a current state of the computer. A third determining step of performing, and, in accordance with the state determined in the third determining step, a switching step of switching between enabling and disabling a mute function for the device having the mute function A storage medium comprising: a storage medium;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10350549A JP2000175275A (en) | 1998-12-09 | 1998-12-09 | Network control device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10350549A JP2000175275A (en) | 1998-12-09 | 1998-12-09 | Network control device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000175275A true JP2000175275A (en) | 2000-06-23 |
Family
ID=18411249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10350549A Withdrawn JP2000175275A (en) | 1998-12-09 | 1998-12-09 | Network control device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000175275A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7956766B2 (en) | 2003-01-06 | 2011-06-07 | Panasonic Corporation | Apparatus operating system |
JP2011154542A (en) * | 2010-01-27 | 2011-08-11 | Fujitsu Ltd | Terminal device, equipment, system and method for message existence notification, and computer program |
JP2017505692A (en) * | 2014-12-03 | 2017-02-23 | 小米科技有限責任公司Xiaomi Inc. | Silent operation method and apparatus for automatic cleaning apparatus, and electronic apparatus |
-
1998
- 1998-12-09 JP JP10350549A patent/JP2000175275A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7956766B2 (en) | 2003-01-06 | 2011-06-07 | Panasonic Corporation | Apparatus operating system |
JP2011154542A (en) * | 2010-01-27 | 2011-08-11 | Fujitsu Ltd | Terminal device, equipment, system and method for message existence notification, and computer program |
JP2017505692A (en) * | 2014-12-03 | 2017-02-23 | 小米科技有限責任公司Xiaomi Inc. | Silent operation method and apparatus for automatic cleaning apparatus, and electronic apparatus |
US9962055B2 (en) | 2014-12-03 | 2018-05-08 | Xiaomi Inc. | Mute operation method and apparatus for automatic cleaning device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2000059459A (en) | Data communication device, data communication system, data communication method, and storage medium | |
JP4411368B2 (en) | WIRELESS COMMUNICATION AND COMMUNICATION METHOD, COMMUNICATION SYSTEM AND COMMUNICATION TELEPHONE IN "Smart Home SmartHome" Environment | |
US20030023741A1 (en) | Digital multi-room, multi-source entertainment and communications network | |
US20020186662A1 (en) | Initialization method for an entertainment and communications network | |
JP2001306428A (en) | Network device, network system, communication method, and recording medium | |
JP3293779B2 (en) | Signal processing device and control method thereof | |
JP2000358033A (en) | Data communication system and data communication method | |
JP2000175275A (en) | Network control device and method | |
JP4006116B2 (en) | Imaging condition management apparatus, imaging condition management method, and storage medium | |
JP2003318916A (en) | Data transmission/reception system, transmission apparatus, and data transmission/reception method | |
JP2003087871A (en) | Home bus system | |
US20030165154A1 (en) | Digital media networking and arbitration system and method | |
KR100697617B1 (en) | Home Automation Devices and Control Methods | |
JP3501613B2 (en) | Data communication system, print system and data communication device | |
JP2001169198A (en) | Signal transmission device, signal transmission method, and storage medium | |
JP2000092086A (en) | Communication apparatus, communication information recording method, response information reproduction / communication information recording method, and storage medium | |
JP6410159B2 (en) | Door phone system and communication method | |
JPH077765A (en) | Bus system | |
JP5979522B1 (en) | Base unit and communication method | |
JP2000115853A (en) | Information communication device and method, information communication system, recording medium | |
JP2001308950A (en) | Electronic device, control method for electronic device, and computer-readable storage medium | |
JP5979521B1 (en) | Slave unit, monitor and communication method | |
JP2638326B2 (en) | Cordless telephone | |
JP6176507B1 (en) | Door phone system and communication method | |
JP2001313688A (en) | Data transmission system, data transmission method, communication terminal, communication method, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051201 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20051201 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20051201 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20071002 |