JP2005094189A - Communication system and method for restoring connection - Google Patents

Communication system and method for restoring connection Download PDF

Info

Publication number
JP2005094189A
JP2005094189A JP2003322750A JP2003322750A JP2005094189A JP 2005094189 A JP2005094189 A JP 2005094189A JP 2003322750 A JP2003322750 A JP 2003322750A JP 2003322750 A JP2003322750 A JP 2003322750A JP 2005094189 A JP2005094189 A JP 2005094189A
Authority
JP
Japan
Prior art keywords
connection
connection information
bus
unit
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003322750A
Other languages
Japanese (ja)
Other versions
JP3920828B2 (en
Inventor
Masahide Watanabe
雅英 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2003322750A priority Critical patent/JP3920828B2/en
Publication of JP2005094189A publication Critical patent/JP2005094189A/en
Application granted granted Critical
Publication of JP3920828B2 publication Critical patent/JP3920828B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for restoring a connection easily in a communication system of IEEE1394. <P>SOLUTION: According to the inventive technology for restoring connection, a timer for restoring connection is set (S18) upon occurrence of bus reset (S14). An AV apparatus previously makes a connection table indicative of connection information with a connection partner before the occurrence of bus reset (S12) and executes processing for restoring connection (S28) with reference to that connection table (S22) after the occurrence of bus reset. Since the connection table is made previously, connection state before the occurrence of bus reset can be realized quickly and easily. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、データを送信または受信する通信技術に関し、例えば、IEEE1394規格に基づいた通信を行う通信装置およびこの通信装置におけるコネクション復旧方法に関する。   The present invention relates to a communication technique for transmitting or receiving data, for example, a communication apparatus that performs communication based on the IEEE 1394 standard and a connection recovery method in the communication apparatus.

家庭内にLAN(ローカルエリアネットワーク)を敷設し、DTV(デジタルテレビジョン)、D−VHSデッキなどのAV機器や、その他の家電製品、コンピュータなどを接続するホームネットワークに対する要求が高まっている。近年では、ホームネットワークを実現する高速バスインタフェースとして、様々な機器を簡単に接続することができ、また情報の高速伝送を可能とするIEEE1394に関心が集まっている。   There is an increasing demand for a home network in which a LAN (local area network) is laid in a home and AV equipment such as DTV (digital television) and D-VHS deck, other home appliances, computers and the like are connected. In recent years, as a high-speed bus interface for realizing a home network, there is an interest in IEEE 1394, which can easily connect various devices and enables high-speed transmission of information.

IEEE1394規格によりデータ通信を行う場合、各ノードに設定されたプラグを接続するために、ノード間でコネクションを設定する。このデータ通信システムでは、バスのトポロジー接続の変更に伴いバスリセットが発生し、確立したコネクションを解除した後、新たなトポロジー構成においてダイナミックにコネクションを再設定する。バスリセット以前にコネクションを張られていた出力あるいは入力プラグは、バスリセットから1秒間はコネクションが張られていなくても送信または受信を継続する。AV(オーディオ/ビジュアル)信号の伝送がバスリセットで途切れないようにするには、コネクション管理アプリケーションが、この1秒の間に再度コネクションを張る必要がある。
特開2000−49824号公報
When data communication is performed according to the IEEE 1394 standard, a connection is set between nodes in order to connect a plug set to each node. In this data communication system, a bus reset occurs with a change in the topology connection of the bus, and after the established connection is released, the connection is dynamically reset in a new topology configuration. The output or input plug that has been connected before the bus reset continues transmission or reception for one second after the bus reset even if the connection is not established. In order to prevent transmission of AV (audio / visual) signals from being interrupted by a bus reset, the connection management application needs to establish a connection again during this one second.
JP 2000-49824 A

現状のIEEE1394通信システムでは、バスの初期化後、各々のノードは、他のノードとの接続状況を検出する。このとき、例えばD−VHSのIEEE1394ケーブルがジャックから抜かれているような場合には、そのD−VHSを認識することはできず、コネクションを張ることはできない。ケーブルが再度ジャックに挿入されると、D−VHSは新たな機器の接続として認識され、バスリセット後にコネクションが張られることになる。   In the current IEEE 1394 communication system, after the bus is initialized, each node detects the connection status with other nodes. At this time, for example, when a D-VHS IEEE 1394 cable is disconnected from the jack, the D-VHS cannot be recognized and a connection cannot be established. When the cable is inserted into the jack again, the D-VHS is recognized as a new device connection, and the connection is established after the bus reset.

AVデータの伝送中にD−VHSのケーブルを引き抜いた場合、1秒以内にケーブルを差し込まなければ、それぞれのプラグは、入出力を停止する。1秒を経過してケーブルを差し込んだ場合には、ユーザ側から、D−VHSの再生ボタンや録画ボタンなどの操作ボタンを押すことで、コネクション管理アプリケーションを起動し、コネクションを再設定する必要があるが、この操作はユーザにとって面倒である。   When the D-VHS cable is pulled out during transmission of AV data, the plugs stop input / output unless the cable is inserted within one second. When the cable is plugged in after 1 second has elapsed, it is necessary to start the connection management application and reset the connection by pressing an operation button such as a D-VHS playback button or recording button from the user side. However, this operation is troublesome for the user.

本発明は、このような課題に鑑みてなされたものであり、その目的は、簡易にコネクションを復旧することのできる技術を提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to provide a technique capable of easily recovering a connection.

上記課題を解決するために、本発明のある態様は、他の機器とコネクションを確立してデータ通信を行わしめるコネクション設定部と、確立したコネクションの接続情報を記憶部に記憶させる制御部と、コネクションを確立した相手機器の存在の有無を検出する監視部とを備える通信装置を提供する。この態様の通信装置において、監視部により相手機器が存在しなくなったことが検出された場合であっても、制御部は接続情報を記憶部に保持し、その後、監視部により相手機器の存在が検出された場合に、コネクション設定部は、接続情報をもとに相手機器とのコネクションを復旧することを可能とする。   In order to solve the above problems, an aspect of the present invention includes a connection setting unit that establishes a connection with another device and performs data communication, a control unit that stores connection information of the established connection in a storage unit, Provided is a communication device including a monitoring unit that detects the presence or absence of a partner device that has established a connection. In the communication apparatus according to this aspect, even when the monitoring unit detects that the counterpart device is no longer present, the control unit holds the connection information in the storage unit, and then the presence of the counterpart device is detected by the monitoring unit. If detected, the connection setting unit can restore the connection with the counterpart device based on the connection information.

この態様の通信装置によると、一旦、相手機器のケーブルが引き抜かれるなどした場合であっても、記憶部が、コネクション切断前の接続情報を記憶しているため、この接続情報をもとに、コネクション設定部が容易にコネクションを復旧することができる。これにより、通信装置は、ユーザからの操作指示がなくても、コネクション切断前の接続構成に自律的に戻ることができ、データの連続性を維持するとともに、ユーザの手間を解消することができる。コネクション設定部は、IEEE1394規格に準拠したシリアルバス上で相手機器とのコネクションを確立し、制御部は、バスリセットの発生タイミングから、所定時間の間、接続情報を記憶部に保持させることが好ましい。   According to the communication device of this aspect, even if the cable of the counterpart device is once pulled out, the storage unit stores the connection information before disconnection, so based on this connection information, The connection setting unit can easily restore the connection. As a result, the communication device can autonomously return to the connection configuration before disconnection without receiving an operation instruction from the user, maintain data continuity, and eliminate user trouble. . It is preferable that the connection setting unit establishes a connection with the counterpart device on the serial bus compliant with the IEEE 1394 standard, and the control unit holds the connection information in the storage unit for a predetermined time from the occurrence timing of the bus reset. .

また、本発明の別の態様は、他の機器とのコネクションを復旧する方法を提供する。この態様の方法は、既に確立した相手機器とのコネクションの接続情報を記憶するステップと、相手機器が存在しなくなったことを検出するステップと、コネクション復旧用のタイマを設定するステップと、タイマの終了前に相手機器の存在を検出すると、記憶した接続情報をもとにコネクションの復旧処理を行うステップとを備える。   Another aspect of the present invention provides a method for restoring a connection with another device. The method of this aspect includes a step of storing connection information of a connection with an already established counterpart device, a step of detecting that the counterpart device no longer exists, a step of setting a timer for connection recovery, When the presence of the counterpart device is detected before the end, a step of performing a connection recovery process based on the stored connection information is provided.

この態様のコネクション復旧方法によると、相手機器が存在しなくなった場合であっても、タイマの終了までに相手機器を見つけた場合には、コネクション切断前の接続情報を利用することで、容易に元の接続構成に戻ることが可能となる。   According to the connection recovery method of this aspect, even when the partner device no longer exists, if the partner device is found by the end of the timer, it is easy to use the connection information before disconnection. It becomes possible to return to the original connection configuration.

本発明によれば、相手機器が一瞬いなくなった場合であっても、接続時の情報を保持しておくことで、その情報を利用してコネクションを容易に復旧することが可能となる。   According to the present invention, even when the counterpart device is lost for a moment, it is possible to easily restore the connection using the information by holding the information at the time of connection.

図1は、IEEE1394の通信規格において実現される通信システムの概念図を示す。IEEE1394の通信システム1では、各AV機器10a、10b、10c(以下、総称する場合は「AV機器10」と呼ぶ)が、論理的に信号接続を行うための仮想的なプラグを設定する。プラグには信号接続の入力側となる入力プラグと、出力側となる出力プラグが存在する。AV機器10は、入力プラグと出力プラグをそれぞれ複数個持つことが可能である。   FIG. 1 is a conceptual diagram of a communication system implemented in the IEEE 1394 communication standard. In the IEEE 1394 communication system 1, each AV device 10a, 10b, 10c (hereinafter collectively referred to as "AV device 10") sets a virtual plug for logical signal connection. There are an input plug on the input side of the signal connection and an output plug on the output side. The AV device 10 can have a plurality of input plugs and output plugs.

AV機器10aおよび10bは、入力プラグの属性を制御する入力プラグ制御レジスタ(iPCR:input Plug Control Register)と、iPCRに共通の属性を制御する入力マスタプラグレジスタ(iMPR:input Master Plug Register)を備える。また、AV機器10bおよび10cは、出力プラグの属性を制御する出力プラグ制御レジスタ(oPCR:output Plug Control Register)と、oPCRに共通の属性を制御する出力マスタプラグレジスタ(oMPR:output Master Plug Register)を備える。なお、1つのAV機器10でプラグ数は最大31個まで設定可能であり、したがって1つのAV機器10において、iPCRおよびoPCRは、最大31個まで設定される場合がある。   The AV devices 10a and 10b include an input plug control register (iPCR: input plug control register) that controls input plug attributes and an input master plug register (iMPR: input master plug register) that controls attributes common to iPCRs. . The AV devices 10b and 10c include an output plug control register (oPCR: output Plug Control Register) that controls the attribute of the output plug and an output master plug register (oMPR: output Master Plug Register) that controls the attribute common to the oPCR. Is provided. Note that up to 31 plugs can be set in one AV device 10, and therefore, up to 31 iPCRs and oPCRs may be set in one AV device 10.

図1に示す例では、AV機器10cの出力プラグを経由してアイソクロナスデータがバス12上に送出され、AV機器10aが、入力プラグからアイソクロナスデータを受け取っている。また同様に、AV機器10bの出力プラグを経由してアイソクロナスデータがバス12上に送出され、AV機器10aが、入力プラグからアイソクロナスデータを受け取っている。IEEE1394の通信システム1においては、バス12上に対応機器を接続するだけで、コネクションを確立することができ、コネクションの種別としては、point-to-pointコネクションと、broadcastコネクションの2種類がある。   In the example shown in FIG. 1, isochronous data is sent onto the bus 12 via the output plug of the AV device 10c, and the AV device 10a receives the isochronous data from the input plug. Similarly, isochronous data is sent to the bus 12 via the output plug of the AV device 10b, and the AV device 10a receives isochronous data from the input plug. In the IEEE 1394 communication system 1, a connection can be established simply by connecting a corresponding device on the bus 12, and there are two types of connection: a point-to-point connection and a broadcast connection.

1つの出力プラグと1つの入力プラグを、1つのチャネルを介して接続することをpoint-to-pointコネクションという。point-to-pointコネクションは、それを確立したアプリケーションのみがコネクションを解除することができる。使用する状況としては、コントローラであるDTVがD−VHSにコネクションを確立し、AVデータの再生もしくは録画を行う場合があげられる。   Connecting one output plug and one input plug via one channel is called a point-to-point connection. A point-to-point connection can only be released by the application that established it. As a situation of use, there is a case where a DTV as a controller establishes a connection to D-VHS and plays back or records AV data.

また、1つの出力プラグを1つのチャネルに接続することをbroadcast outコネクションといい、1つの入力プラグを1つのチャネルに接続することをbroadcast inコネクションという。このように、相手のプラグを指定しないコネクションをbroadcastコネクションという。broadcastコネクションを確立するアプリケーションは、自機器のプラグしか確立してはならないが、解除はどの機器のプラグに対して行ってもよい。使用する状況としては、ある特定のチャネルを定めておき、出力機器は特に相手機器を指定しないでそのチャネルにAVデータを流し、入力機器もまた相手機器を指定しないでそのチャネルからAVデータを入力する場合があげられる。   Connecting one output plug to one channel is called a broadcast out connection, and connecting one input plug to one channel is called a broadcast in connection. A connection that does not specify the partner's plug is called a broadcast connection. An application that establishes a broadcast connection must establish only the plug of its own device, but the release may be performed on the plug of any device. As a situation of use, a specific channel is determined, the output device sends AV data to the channel without specifying the other device, and the input device also inputs AV data from the channel without specifying the other device. If you want to.

以上が、IEEE1394の通信システム1における各AV機器10のコネクション管理動作である。本発明においては、コネクションを確立した相手機器が存在しなくなった場合であっても、相手機器とのコネクションを復旧することができる技術を提供する。説明のために、以下の例では、DTVが主体となって、D−VHSに対してコネクションを確立し、AVデータを再生または録画している状況を例にとる。なお本発明は、point-to-pointコネクションのみならず、broadcastコネクションにおいても利用することができる。   The above is the connection management operation of each AV device 10 in the IEEE 1394 communication system 1. In the present invention, there is provided a technique capable of recovering a connection with a partner device even when the partner device with which the connection has been established no longer exists. For the sake of explanation, in the following example, a situation will be described in which the DTV is the main body, a connection is established to the D-VHS, and AV data is reproduced or recorded. Note that the present invention can be used not only for point-to-point connections but also for broadcast connections.

図2は、本発明の実施例にかかるAV機器10の構成を示す。AV機器10は、IEEE1394のバス12に接続して、バス12上の機器との間でデータ通信を行う通信装置として機能する。図2に示すAV機器10はDTVであり、チューナ22、AVデータ処理部24、モニタ26およびスピーカ28を含むAVデータ再生部20を備えている。AVデータ処理部24は、チューナ22で受信したデジタルTV放送波をデコードし、映像信号をモニタ26に、また音声信号をスピーカ28に供給する機能をもつ。なお、DTVは例示であり、AV機器10は、他の家電機器やコンピュータであってもよい。   FIG. 2 shows a configuration of the AV device 10 according to the embodiment of the present invention. The AV device 10 is connected to the IEEE 1394 bus 12 and functions as a communication device that performs data communication with devices on the bus 12. The AV device 10 shown in FIG. 2 is a DTV, and includes an AV data reproducing unit 20 including a tuner 22, an AV data processing unit 24, a monitor 26, and a speaker 28. The AV data processing unit 24 has a function of decoding digital TV broadcast waves received by the tuner 22 and supplying a video signal to the monitor 26 and an audio signal to the speaker 28. Note that the DTV is an example, and the AV device 10 may be another home appliance or a computer.

AV機器10は、さらにIEEE1394のバス12上のD−VHS等のAV機器との間でデータ通信を行う通信機能をもつ。そのための構成として、AV機器10は、通信インタフェース30、コネクション設定部32、監視部34、制御部36、タイマ38および記憶部40を備える。コネクション設定部32は、バス12上の機器とコネクションを確立して、データ通信を行わしめる。コネクション設定部32は、コネクション管理アプリケーションにより実現される機能であり、図1において説明したMPRとしての機能をもつ。DTVが、IEEE1394のバス12上でD−VHSと接続して、D−VHSにTV番組を録画させる場合には、DTVのコネクション設定部32が、自身に出力プラグを設定し、またD−VHSに入力プラグを設定させる。また、D−VHSからAVデータを受信する場合には、DTVは自身に入力プラグを設定し、またD−VHSに出力プラグを設定させる。このとき、AVデータ再生部20は、D−VHSから供給されるAVデータを映像信号および音声信号にデコードし、モニタ26およびスピーカ28に供給する。   The AV device 10 further has a communication function for performing data communication with an AV device such as a D-VHS on the IEEE 1394 bus 12. As a configuration for this, the AV device 10 includes a communication interface 30, a connection setting unit 32, a monitoring unit 34, a control unit 36, a timer 38, and a storage unit 40. The connection setting unit 32 establishes a connection with a device on the bus 12 and performs data communication. The connection setting unit 32 is a function realized by the connection management application, and has the function as the MPR described in FIG. When the DTV is connected to the D-VHS on the IEEE 1394 bus 12 and causes the D-VHS to record a TV program, the DTV connection setting unit 32 sets the output plug in itself, and the D-VHS To set the input plug. Further, when receiving AV data from the D-VHS, the DTV sets an input plug for itself and also causes the D-VHS to set an output plug. At this time, the AV data reproducing unit 20 decodes the AV data supplied from the D-VHS into a video signal and an audio signal, and supplies them to the monitor 26 and the speaker 28.

本実施例のAV機器10において、制御部36が、確立したコネクションの接続情報を記憶部40に記憶させる。記憶部40はRAMなどのメモリであって、この接続情報を接続テーブルに格納する。接続情報には、接続する相手機器を識別するための識別子と、その相手機器との接続状態を示す情報とが含まれる。識別子は、例えばGUID(Global Unique Identifier)などの機器を一意に特定するための情報であることが好ましい。また、接続状態を示す情報は、その相手機器との間で確立しているコネクションの種別と、設定したプラグが入力であるか又は出力であるかを示す情報を含む。   In the AV apparatus 10 according to the present embodiment, the control unit 36 causes the storage unit 40 to store connection information of the established connection. The storage unit 40 is a memory such as a RAM, and stores this connection information in a connection table. The connection information includes an identifier for identifying a partner device to be connected and information indicating a connection state with the partner device. The identifier is preferably information for uniquely specifying a device such as a GUID (Global Unique Identifier). The information indicating the connection state includes information indicating the type of connection established with the counterpart device and whether the set plug is an input or an output.

図3は、記憶部40に記憶される接続テーブルの接続情報の一例を示す。この例では接続状態として、「point-to-pointコネクションの入力」を設定していることが示される。上記のように、DTVがpoint-to-pointコネクションの入力として動作する場合は、例えばD−VHSからのAVデータを再生するときである。接続状態の他の例としては、「point-to-pointコネクションの出力」、「broadcastコネクションの入力」、また「接続要求なし」、などがあげられる。例えば、D−VHSからの再生終了時には、point-to-pointコネクションを切断し、図3に示す接続テーブルの接続状態が「接続要求なし」に更新される。以上は、DTVが主体としてコネクションを確立する場合の接続状態の例であるが、D−VHSが主体としてコネクションを設定している場合には、接続状態として「broadcastコネクションの出力」も存在する。   FIG. 3 shows an example of connection information in the connection table stored in the storage unit 40. In this example, it is indicated that “input of point-to-point connection” is set as the connection state. As described above, the DTV operates as an input of a point-to-point connection when, for example, AV data from the D-VHS is reproduced. Other examples of the connection state include “point-to-point connection output”, “broadcast connection input”, and “no connection request”. For example, at the end of playback from the D-VHS, the point-to-point connection is disconnected, and the connection state of the connection table shown in FIG. 3 is updated to “no connection request”. The above is an example of a connection state when a connection is established by the DTV as a subject. However, when the connection is set by the D-VHS as a subject, “broadcast connection output” also exists as the connection state.

新たな機器がバス12に参加したり、接続されている機器がバス12から外されるなど、トポロジーに変化が起きると、バスリセット信号がバス上の全ノードに伝わり、トポロジー情報は全てクリアされる。監視部34は、バスリセット以前にバス12上に存在していた機器のGUIDとノードIDとの対応リストを有しており、バスリセット後にバス12上に存在する機器を検出して、バス12から外された機器や、バス12に追加された機器を認識する。このようにして監視部34は、バス12上に存在するノードを監視し、ここでは、コネクションを既に確立していた相手機器の存在の有無を検出する。   When a topology change occurs, such as when a new device joins the bus 12 or a connected device is removed from the bus 12, a bus reset signal is transmitted to all nodes on the bus, and all topology information is cleared. The The monitoring unit 34 has a correspondence list of GUIDs and node IDs of devices that existed on the bus 12 before the bus reset, detects a device that exists on the bus 12 after the bus reset, and detects the bus 12 It recognizes devices that have been removed from the network or devices that have been added to the bus 12. In this way, the monitoring unit 34 monitors the nodes existing on the bus 12, and detects the presence / absence of a partner device that has already established a connection.

本実施例では、監視部34が、コネクションを確立した相手機器がバス12上に存在しなくなったことを検出しても、制御部36は、接続情報を記憶部40に保持させ、不存在を検出したタイミングから所定時間の間は、記憶部40から削除しない。これにより、所定の時間内に相手機器のケーブルがバス12に物理的に再接続されたとき、コネクション設定部32は、記憶部40に記憶した接続情報を用いてコネクションを迅速且つ容易に復旧することが可能となる。この所定時間は、アイソクロナスリソースディレイ処理による時間、すなわち1秒よりも長く設定される。タイマ38は、コネクションの復旧猶予時間を例えば10秒程度に設定してもよい。ケーブルを差し込める時間を確保し、またAVデータ再生部20の出力の停止時間を長すぎないようにするためには、10秒程度に設定することが適当である。   In the present embodiment, even if the monitoring unit 34 detects that the partner device with which the connection has been established does not exist on the bus 12, the control unit 36 holds the connection information in the storage unit 40, and the presence of the non-existence is confirmed. It is not deleted from the storage unit 40 for a predetermined time from the detected timing. As a result, when the cable of the counterpart device is physically reconnected to the bus 12 within a predetermined time, the connection setting unit 32 quickly and easily restores the connection using the connection information stored in the storage unit 40. It becomes possible. This predetermined time is set longer than the time by the isochronous resource delay process, that is, 1 second. The timer 38 may set the connection recovery grace time to about 10 seconds, for example. In order to secure the time for inserting the cable and to prevent the output stop time of the AV data reproducing unit 20 from being too long, it is appropriate to set it to about 10 seconds.

図4は、実施例に係るコネクションの復旧処理フローを示す。まず、コネクション設定部32が、バス12上の機器とコネクションを確立して、データ通信を行わしめる(S10)。すなわち、DTVであるAV機器10は、相手機器、例えばD−VHSとの間でAVデータを送信し又は受信する。このとき、制御部36は、確立したコネクションの接続情報を用いて接続テーブルを作成し、記憶部40に格納する(S12)。   FIG. 4 shows a connection recovery process flow according to the embodiment. First, the connection setting unit 32 establishes a connection with a device on the bus 12 and performs data communication (S10). That is, the AV device 10 that is a DTV transmits or receives AV data to or from a partner device, for example, D-VHS. At this time, the control unit 36 creates a connection table using the connection information of the established connection and stores it in the storage unit 40 (S12).

D−VHSのケーブルを引き抜くことでバスリセットが発生すると(S14)、IEEE1394規格において規定されているアイソクロナスリソースディレイ処理が実行される(S16)。バスリセットによりコネクションは解除されるが、アイソクロナスリソースディレイ処理においては、バスリセット以前のプラグの状態を1秒間だけ維持し、コネクション管理アプリケーションが、この期間に再度コネクションを設定すれば、バスリセットをまたがってAVデータ信号を維持することができる。バスリセット後、1秒以内にD−VHSとのコネクションが確立されれば、アイソクロナスリソースディレイ処理によるコネクションの再設定処理が成功したこととなり、以降の復旧処理は行わない。なおバスリセットがD−VHSのケーブルを引き抜いたことを受けて発生している場合には、D−VHSがバス12上に検出されないため、アイソクロナスリソースディレイ処理によるコネクションの再設定処理は行われない。   When a bus reset occurs by pulling out the D-VHS cable (S14), an isochronous resource delay process defined in the IEEE 1394 standard is executed (S16). The connection is released by the bus reset, but in the isochronous resource delay processing, if the plug state before the bus reset is maintained for 1 second and the connection management application sets the connection again during this period, the bus reset is crossed. Thus, the AV data signal can be maintained. If the connection with the D-VHS is established within 1 second after the bus reset, it means that the connection resetting process by the isochronous resource delay process is successful, and the subsequent recovery process is not performed. If a bus reset is generated in response to the D-VHS cable being pulled out, the D-VHS is not detected on the bus 12, so that the connection resetting process by the isochronous resource delay process is not performed. .

アイソクロナスリソースディレイ処理と並行して、本実施例によるコネクションの復旧処理が同時に行われる。復旧処理のために、制御部36がバスリセットをトリガとして、コネクション復旧用のタイマ38を所定時間、例えば10秒に設定する(S18)。タイマが終了するまでの間は、記憶部40の接続テーブルの内容は保持される。監視部34は、機器情報、すなわちバスリセット後のIEEE1394バス12上に接続されている機器のGUIDを取得し(S20)、切断前にコネクションを確立していた相手機器の存在の有無を検出して、その検出結果を制御部36に供給する。続いて制御部36は、記憶部40に格納されている接続テーブルを参照して(S22)、バスリセット以前の接続状態を把握する。   In parallel with the isochronous resource delay processing, the connection recovery processing according to this embodiment is performed simultaneously. For the restoration process, the control unit 36 sets the connection restoration timer 38 to a predetermined time, for example, 10 seconds, using the bus reset as a trigger (S18). Until the timer expires, the contents of the connection table in the storage unit 40 are retained. The monitoring unit 34 acquires the device information, that is, the GUID of the device connected on the IEEE1394 bus 12 after the bus reset (S20), and detects the presence or absence of the partner device that established the connection before disconnection. Then, the detection result is supplied to the control unit 36. Subsequently, the control unit 36 refers to the connection table stored in the storage unit 40 (S22) and grasps the connection state before the bus reset.

接続テーブルに含まれる接続状態を参照して、バスリセット以前に接続要求が存在していなかった場合には(S24のN)、このコネクション復旧処理フローを終了するが、一方で、接続要求が存在していた場合には(S24のY)、監視部34による検出結果をもとに、相手機器がバス12上に存在しているか否かを判断する(S26)。相手機器が存在している場合には(S26のY)、接続テーブルに含まれる接続情報をもとに、その相手機器とのコネクションの復旧処理を行う(S28)。なお通常、相手機器が存在する場合には、アイソクロナスリソースディレイ処理によりコネクションの再設定が行われることとなるが、それを失敗している場合に、S28のステップでコネクションの復旧を行うことができる。したがって、本実施例によるコネクション復旧処理は、アイソクロナスリソースディレイ処理の補助的な役割も果たすことができる。コネクション確立に必要な接続情報を予め保持しておくことで、コネクションの復旧を迅速且つ容易に行うことが可能となり、また、コネクションの復旧を、ユーザの手を煩わすことなく、自動的に行うことが可能となる。   With reference to the connection state included in the connection table, if there is no connection request before the bus reset (N in S24), this connection recovery processing flow is terminated, but there is a connection request. If yes (Y in S24), it is determined whether the counterpart device is on the bus 12 based on the detection result by the monitoring unit 34 (S26). If the counterpart device exists (Y in S26), the recovery processing of the connection with the counterpart device is performed based on the connection information included in the connection table (S28). Normally, if there is a partner device, the connection is reset by isochronous resource delay processing. If this fails, the connection can be restored in step S28. . Therefore, the connection recovery process according to the present embodiment can also play an auxiliary role in the isochronous resource delay process. By holding the connection information necessary for establishing a connection in advance, it is possible to quickly and easily restore the connection, and automatically restore the connection without bothering the user. Is possible.

S26において相手機器が存在しない場合(S26のN)、制御部36は、タイマが終了するまで、相手機器がバス12に接続されるのを待つ。IEEE1394においては、相手機器がバス12に接続されるとバスリセットが発生するため、監視部34はタイマが終了するまでバスリセットを監視し、タイマが終了する前にバスリセットが発生した場合には(S32のN、S14)、S16〜S26までのステップを繰り返す。このとき、S26において相手機器が発見されると、接続情報をもとにコネクションの復旧処理が実行される(S28)。また、タイマが終了するまでにバスリセットが発生しない場合には(S32のY)、接続テーブルにおける接続状態を「接続要求なし」と更新して(S34)、このコネクション復旧フローを終了する。   When there is no counterpart device in S26 (N in S26), the control unit 36 waits for the counterpart device to be connected to the bus 12 until the timer expires. In IEEE 1394, when a counterpart device is connected to the bus 12, a bus reset occurs. Therefore, the monitoring unit 34 monitors the bus reset until the timer expires, and if a bus reset occurs before the timer expires. (N of S32, S14), the steps from S16 to S26 are repeated. At this time, if a partner device is found in S26, a connection recovery process is executed based on the connection information (S28). If no bus reset occurs until the timer expires (Y in S32), the connection state in the connection table is updated to “no connection request” (S34), and this connection recovery flow is terminated.

上記したコネクション復旧フローにおいて、バスリセットが発生してから1秒以上が経過すると、AVデータ転送が停止されるため、この間は、ユーザに対して状況を説明するための案内メッセージをモニタ26に表示させてもよい。また、タイマの終了によりコネクション復旧処理が不成功に終わった場合には、DTVの出力を、チューナから受信したデジタルTV放送に切り替えて、TV番組を再生させてもよい。   In the connection recovery flow described above, when one second or more has elapsed after the bus reset has occurred, AV data transfer is stopped. During this time, a guidance message for explaining the situation to the user is displayed on the monitor 26. You may let them. Further, when the connection restoration process is unsuccessful due to the end of the timer, the output of the DTV may be switched to the digital TV broadcast received from the tuner to reproduce the TV program.

以上、実施例をもとに本発明を説明した。なお本発明はこの実施例に限定されることなく、そのさまざまな変形例もまた、本発明の態様として有効である。   In the above, this invention was demonstrated based on the Example. The present invention is not limited to this embodiment, and various modifications thereof are also effective as an embodiment of the present invention.

そうした変形例として、実施例では、バスに接続した機器間の通信について説明したが、本発明を無線接続による機器間の通信に応用することも可能である。特に、IEEE1394でサポートする無線通信においては、上記した実施例と同様の手順で、コネクションの復旧処理を行うことができる。また、本発明は、IEEE1394を用いた通信に限定するものではなく、他の通信プロトコルにおいても応用することが可能である。   As such a modification, in the embodiment, communication between devices connected to a bus has been described. However, the present invention can also be applied to communication between devices by wireless connection. In particular, in wireless communication supported by IEEE 1394, connection recovery processing can be performed in the same procedure as in the above-described embodiment. Further, the present invention is not limited to communication using IEEE1394, and can be applied to other communication protocols.

また、以上は、ケーブルをAV機器から引き抜いた場合のコネクション復旧処理について説明したが、例えば、本発明を、ケーブルをAV機器に差し込むときに発生するチャタリングを吸収する技術としても応用することができる。チャタリングは、ケーブルを差し込むときに、コネクタの接触状態と非接触状態とが交互に短時間で発生することによって生じるが、制御部36は、一旦その機器を検出すると、記憶部40に接続情報を格納しておく。続いて、チャタリングにより電気的接触がオンオフして、バスリセットがその都度発生しても、タイマ38が終了しない限りは、その接続情報を保持することで、最終的に、安定なバス状態となった後に相手機器とのコネクションを確立することが可能となる。   Further, the connection recovery process when the cable is pulled out from the AV device has been described above. For example, the present invention can also be applied as a technique for absorbing chattering that occurs when the cable is inserted into the AV device. . Chattering occurs when the connector is in a contact state and a non-contact state alternately in a short time when the cable is inserted. Once the control unit 36 detects the device, the control unit 36 sends connection information to the storage unit 40. Store it. Subsequently, even if the electrical contact is turned on and off by chattering and a bus reset occurs each time, as long as the timer 38 does not end, the connection information is retained, so that a stable bus state is finally obtained. After that, it is possible to establish a connection with the counterpart device.

IEEE1394の通信規格において実現される通信システムの概念図である。It is a conceptual diagram of the communication system implement | achieved in the communication standard of IEEE1394. 実施例にかかるAV機器の構成図である。It is a block diagram of AV equipment concerning an example. 接続テーブルの接続情報の一例を示す図である。It is a figure which shows an example of the connection information of a connection table. コネクションの復旧処理フローを示す図である。It is a figure which shows the restoration process flow of a connection.

符号の説明Explanation of symbols

1・・・通信システム、10・・・AV機器、12・・・バス、30・・・通信インタフェース、32・・・コネクション設定部、34・・・監視部、36・・・制御部、38・・・タイマ、40・・・記憶部。
DESCRIPTION OF SYMBOLS 1 ... Communication system, 10 ... AV apparatus, 12 ... Bus, 30 ... Communication interface, 32 ... Connection setting part, 34 ... Monitoring part, 36 ... Control part, 38 ... Timer, 40 ... Storage section.

Claims (7)

他の機器とコネクションを確立してデータ通信を行わしめるコネクション設定部と、
確立したコネクションの接続情報を記憶部に記憶させる制御部と、
コネクションを確立した相手機器の存在の有無を検出する監視部とを備え、
前記監視部により相手機器が存在しなくなったことが検出された場合であっても、前記制御部は接続情報を記憶部に保持し、その後、前記監視部により相手機器の存在が検出された場合に、前記コネクション設定部は、接続情報をもとに相手機器とのコネクションを復旧することを特徴とする通信装置。
A connection setting unit that establishes a connection with another device and performs data communication;
A control unit for storing connection information of the established connection in the storage unit;
A monitoring unit that detects the presence or absence of a partner device that has established a connection,
Even when the monitoring unit detects that the counterpart device no longer exists, the control unit holds connection information in the storage unit, and then the presence of the counterpart device is detected by the monitoring unit In addition, the connection setting unit restores the connection with the counterpart device based on the connection information.
前記制御部は、接続情報を、所定のタイミングから所定時間が経過するまでの間、記憶部に保持させることを特徴とする請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the control unit holds the connection information in the storage unit until a predetermined time elapses from a predetermined timing. 前記制御部は、所定時間を超えると、接続情報を記憶部から削除することを特徴とする請求項2に記載の通信装置。   The communication apparatus according to claim 2, wherein the control unit deletes the connection information from the storage unit when a predetermined time is exceeded. 前記コネクション設定部は、IEEE1394規格に準拠したシリアルバス上で相手機器とのコネクションを確立し、前記制御部は、バスリセットの発生タイミングから、所定時間の間、接続情報を記憶部に保持させることを特徴とする請求項2または3に記載の通信装置。   The connection setting unit establishes a connection with a counterpart device on a serial bus conforming to the IEEE 1394 standard, and the control unit causes the storage unit to hold connection information for a predetermined time from the occurrence timing of the bus reset. The communication device according to claim 2, wherein: 前記所定時間は、1秒よりも長いことを特徴とする請求項4に記載の通信装置。   The communication apparatus according to claim 4, wherein the predetermined time is longer than 1 second. 前記接続情報は、相手機器の識別子および接続種別を含むことを特徴とする請求項1から5のいずれかに記載の通信装置。   The communication device according to claim 1, wherein the connection information includes an identifier of a counterpart device and a connection type. 他の機器とのコネクションを復旧する方法であって、
既に確立した相手機器とのコネクションの接続情報を記憶するステップと、
相手機器が存在しなくなったことを検出するステップと、
コネクション復旧用のタイマを設定するステップと、
タイマの終了前に相手機器の存在を検出すると、記憶した接続情報をもとにコネクションの復旧処理を行うステップと、
を備えることを特徴とするコネクション復旧方法。
A method for restoring a connection with another device,
Storing connection information of a connection with an already established partner device;
Detecting that the counterpart device no longer exists;
Setting a timer for connection recovery;
If the presence of the partner device is detected before the timer expires, a step of performing connection recovery processing based on the stored connection information;
A connection recovery method comprising:
JP2003322750A 2003-09-16 2003-09-16 Communication apparatus and connection recovery method Expired - Fee Related JP3920828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003322750A JP3920828B2 (en) 2003-09-16 2003-09-16 Communication apparatus and connection recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003322750A JP3920828B2 (en) 2003-09-16 2003-09-16 Communication apparatus and connection recovery method

Publications (2)

Publication Number Publication Date
JP2005094189A true JP2005094189A (en) 2005-04-07
JP3920828B2 JP3920828B2 (en) 2007-05-30

Family

ID=34454017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003322750A Expired - Fee Related JP3920828B2 (en) 2003-09-16 2003-09-16 Communication apparatus and connection recovery method

Country Status (1)

Country Link
JP (1) JP3920828B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104324A (en) * 2005-10-04 2007-04-19 Sharp Corp Record processing device, signal processing system, signal processing method, signal processing program, and recording medium recording the program
JP2008065737A (en) * 2006-09-11 2008-03-21 Matsushita Electric Ind Co Ltd Data stream transmitting and receiving device
CN1953382B (en) * 2005-10-19 2010-12-15 雅马哈株式会社 Music tone generation system and network processing method for music tone generation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104324A (en) * 2005-10-04 2007-04-19 Sharp Corp Record processing device, signal processing system, signal processing method, signal processing program, and recording medium recording the program
CN1953382B (en) * 2005-10-19 2010-12-15 雅马哈株式会社 Music tone generation system and network processing method for music tone generation system
JP2008065737A (en) * 2006-09-11 2008-03-21 Matsushita Electric Ind Co Ltd Data stream transmitting and receiving device

Also Published As

Publication number Publication date
JP3920828B2 (en) 2007-05-30

Similar Documents

Publication Publication Date Title
JP5295662B2 (en) CEC communication apparatus, audiovisual apparatus using the same, and CEC communication method
US6912596B2 (en) Automatic resume from suspend for IEEE-1394 PHY
JP4355351B2 (en) CONTROL DEVICE AND CONTROL METHOD, NETWORK SYSTEM, CONTROL DEVICE PROGRAM, AND INFORMATION RECORDING MEDIUM
KR101052032B1 (en) How to manage logical connections in a network of network stations and distributed stations
JP3920828B2 (en) Communication apparatus and connection recovery method
JP4221902B2 (en) Electronic device, electronic device system control method, and electronic device system
JP2001016221A (en) Network system, electronic equipment and power supply control method
JPH1168884A (en) Transmitting medium connection device, controller, controlled device and storage medium
US6985979B2 (en) Digital data processing device, bus controlling method, bus controlling program and recording medium
JP3664050B2 (en) Connection recovery device
JP4491956B2 (en) COMMUNICATION METHOD, COMMUNICATION SYSTEM, AND COMMUNICATION DEVICE
JP7283776B2 (en) Ethernet terminal, communication method and communication program
JP2001285828A (en) Inter-equipment connection system utilizing bi- directional communication line
WO2009128163A1 (en) Information processor, receiver, transmitter, control device, and control program
JP2001309459A (en) Remote control system and information selection device
JP2002063129A (en) System for managing device, and method for the same
KR100312065B1 (en) How to transfer data between different nodes
JP3637817B2 (en) Device connection method and program recording medium
JP4193043B2 (en) Data communication apparatus and data communication method
JP2005252920A (en) Network control apparatus
JPH11355329A (en) Data transmitter
KR100297060B1 (en) Protocol interface method
KR100607933B1 (en) Connection managing method of digital interface
JP2003323362A (en) Av network equipment
JP2002101116A (en) Data communication method and electronic apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20060815

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Effective date: 20061020

Free format text: JAPANESE INTERMEDIATE CODE: A523

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070215

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

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20110223

LAPS Cancellation because of no payment of annual fees