JP2006252214A - Client or controller with automatic network connecting function and network connecting program - Google Patents

Client or controller with automatic network connecting function and network connecting program Download PDF

Info

Publication number
JP2006252214A
JP2006252214A JP2005068355A JP2005068355A JP2006252214A JP 2006252214 A JP2006252214 A JP 2006252214A JP 2005068355 A JP2005068355 A JP 2005068355A JP 2005068355 A JP2005068355 A JP 2005068355A JP 2006252214 A JP2006252214 A JP 2006252214A
Authority
JP
Japan
Prior art keywords
server
client
controller
connection
list
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.)
Pending
Application number
JP2005068355A
Other languages
Japanese (ja)
Inventor
Takashi Hirano
孝 平野
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.)
Onkyo Corp
Original Assignee
Onkyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Onkyo Corp filed Critical Onkyo Corp
Priority to JP2005068355A priority Critical patent/JP2006252214A/en
Publication of JP2006252214A publication Critical patent/JP2006252214A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a client and controller with automatic network connecting function, which can be automatically reconnected to the same server in such a case that the client is disconnected from a network by any cause in a client server system. <P>SOLUTION: The client with automatic network connecting function searches a first server, when disconnected from the first server and connected to a second server different from the first server, and executes reconnection with the first server if the first server can be found. The controller with automatic network connecting function monitors and/or controls the client, searches the second server the client is connected with when the client is disconnected from the first server and connected to the second server different from the first server, and connects the client to the same server if the second server can be found. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は自動ネットワーク接続機能付きクライアントおよびコントローラに関し、さらに詳しくは、クライアントサーバシステムにおいて、何らかの要因でクライアントとサーバとの接続が切断された場合、クライアントとコントローラとが再び同一サーバに接続することができる自動ネットワーク接続機能付きクライアントおよびコントローラに関する。   The present invention relates to a client and a controller with an automatic network connection function, and more particularly, in a client-server system, when a connection between a client and a server is disconnected for some reason, the client and the controller may connect to the same server again. The present invention relates to a client and a controller with an automatic network connection function.

現在、ネットワーク上でのクライアントサーバシステムを用いたコンテンツ配信がおこなわれている。コンテンツ配信中にサーバの異常などによりクライアントとサーバとの接続が切断された場合、クライアントはサーバと接続を回復しなければ中断したコンテンツの配信を受けることができない。そこで、クライアントに自動接続回復機能を持たせ、サーバとの接続が切断された場合であっても、ネットワーク上の別のサーバと接続することによって、ネットワークへ迅速な接続回復が図られている。クライアントが再生できることを最優先するならば、上記自動接続回復機能を有していることは非常に有利である。しかし、図1のように、多数の曲の音楽データを蓄積した複数のサーバSVと、複数のオーディオクライアントCLと、複数のコントローラCNとを備え、夫々がLAN(ローカルエリアネットワーク)101により相互に接続されているネットワークオーディオシステム100のようなクライアントサーバシステムでは、コントローラCN1からクライアントCL1をコントロール(監視および/または制御)するためには夫々が同一サーバSV1に接続されている必要がある。コントローラCN1は、サーバSV1経由でクライアントCL1をコントロールするからである。それ故、クライアントCL1が何らかの要因でサーバSV1との接続が切れ、上記自動接続回復機能によってクライアントCL1が別のサーバSV2と接続し、ネットワークNW1からコントローラCN1の監視/制御範囲外であるネットワークNW2へ移動した場合、コントローラCN1はサーバSV2に接続されているクライアントCL1をコントロールすることができなくなる。   Currently, content distribution using a client server system on a network is performed. If the connection between the client and the server is disconnected due to a server malfunction or the like during content distribution, the client cannot receive the interrupted content distribution unless the connection with the server is restored. Therefore, even if the client is provided with an automatic connection recovery function and the connection with the server is disconnected, the connection to another server on the network is connected, so that a quick connection recovery to the network is achieved. If the highest priority is to be played back by the client, it is very advantageous to have the automatic connection recovery function. However, as shown in FIG. 1, a plurality of servers SV storing a plurality of music data, a plurality of audio clients CL, and a plurality of controllers CN are provided, which are mutually connected by a LAN (local area network) 101. In a client server system such as the connected network audio system 100, in order to control (monitor and / or control) the client CL1 from the controller CN1, each needs to be connected to the same server SV1. This is because the controller CN1 controls the client CL1 via the server SV1. Therefore, the client CL1 is disconnected from the server SV1 for some reason, the client CL1 is connected to another server SV2 by the automatic connection recovery function, and the network NW1 is outside the monitoring / control range of the controller CN1. When moved, the controller CN1 cannot control the client CL1 connected to the server SV2.

WO 03/102919WO 03/102919

本発明は上記従来の課題を解決するためになされたものであり、その目的とするところは、クライアントサーバシステムにおいて、クライアントが何らかの要因でネットワークとの接続が切れた場合、クライアントとコントローラとが自動的に再び同一サーバに接続することができる自動ネットワーク接続機能付きクライアントおよびコントローラを提供することである。   The present invention has been made in order to solve the above-described conventional problems. The object of the present invention is to automatically connect a client and a controller in a client-server system when the client is disconnected from the network for some reason. It is another object to provide a client and a controller with an automatic network connection function that can connect to the same server again.

本発明の好ましい実施形態による自動ネットワーク接続機能付きクライアントは、複数のサーバの少なくとも1つと接続する接続手段と、第1のサーバとの接続が切断され、該接続手段が該第1のサーバとは異なる第2のサーバに接続した場合に、該第1のサーバを探索する探索手段とを備え、該探索手段が該第1のサーバを発見した場合に、該接続手段が該第1のサーバと再接続する。   The client with an automatic network connection function according to a preferred embodiment of the present invention disconnects the connection means connected to at least one of the plurality of servers and the first server, and the connection means is the first server. Search means for searching for the first server when connected to a different second server, and when the search means finds the first server, the connection means is connected to the first server. Reconnect.

何らかの要因によりクライアントとサーバとの接続が切れ、クライアントが第2のサーバに接続された場合(すなわち、クライアントがコントローラからの監視/制御範囲外のネットワークに移動した場合)でも、自動ネットワーク接続機能によって、クライアントは切断前に接続していた第1のサーバを探索し、再接続する。その結果、クライアントがコントローラからの監視/制御範囲外のネットワークに移動した場合でも、クライアントはサーバとの接続状態を自ら迅速に元通りに回復することができ、再度同じコントローラからの監視/制御が可能となる。   Even if the connection between the client and the server is lost due to some reason and the client is connected to the second server (that is, when the client moves to a network outside the monitoring / control range from the controller), the automatic network connection function The client searches for the first server connected before disconnection and reconnects. As a result, even when the client moves to a network outside the monitoring / control range from the controller, the client can quickly restore the connection state with the server by itself, and the monitoring / control from the same controller again. It becomes possible.

さらに好ましい実施形態においては、クライアントは第1のサーバのサーバ特定情報を登録するサーバ接続履歴手段と、現在稼動しているサーバのサーバ特定情報をサーバリストに登録するサーバリスト登録手段とをさらに備え、上記探索手段が、該サーバリスト内に該第1のサーバのサーバ特定情報が存在するか否かを判断する。   In a further preferred embodiment, the client further comprises server connection history means for registering server specifying information of the first server, and server list registration means for registering server specifying information of the currently operating server in the server list. The searching means determines whether or not the server specifying information of the first server exists in the server list.

クライアントは、接続が切断される前の第1のサーバのサーバ特定情報をサーバ接続履歴として登録し、さらに、ブロードキャストによりサーバを探索して、現在稼動中のサーバのサーバ特定情報をサーバリストに登録する。そして、サーバリスト内にサーバ接続履歴と一致するサーバ特定情報を探索することにより、第1のサーバが復旧したか否かを判断することができる。それ故、クライアントが別のサーバに接続された場合であっても、第1のサーバが復旧後、迅速に第1のサーバに再接続することができる。   The client registers the server identification information of the first server before the connection is cut off as the server connection history, searches for the server by broadcast, and registers the server identification information of the currently operating server in the server list. To do. Then, it is possible to determine whether or not the first server has been restored by searching for server specifying information that matches the server connection history in the server list. Therefore, even when the client is connected to another server, the first server can be quickly reconnected to the first server after recovery.

本発明の別の好ましい実施形態による自動ネットワーク接続機能付きコントローラは、複数のサーバの少なくとも1つと接続する接続手段と、クライアントを監視および/または制御する監視/制御手段と、該クライアントが、第1のサーバとの接続が切断され、該第1のサーバとは異なる第2のサーバに接続した場合に、該クライアントが接続されている第2のサーバを探索する探索手段とを備え、該探索手段が該第2のサーバを発見した場合に、該接続手段が、該クライアントと同一のサーバに接続する。   A controller with an automatic network connection function according to another preferred embodiment of the present invention comprises a connection means for connecting to at least one of a plurality of servers, a monitoring / control means for monitoring and / or controlling a client, Search means for searching for the second server to which the client is connected when the connection to the server is disconnected and the second server is connected to a second server different from the first server. Finds the second server, the connection means connects to the same server as the client.

何らかの要因でクライアントとサーバとの接続が切れ、クライアントが別のサーバに接続された場合であっても、コントローラはクライアントが接続されているサーバを探索し発見した場合に、コントローラとクライアントとが同一のサーバへ接続する。その結果、クライアントがコントローラからの監視/制御範囲外のネットワークに移動したとしても、迅速にクライアントとコントローラとが同一サーバに接続することができ、再度同じコントローラからクライアントを監視および/または制御することができる。   Even if the connection between the client and the server is broken for some reason and the client is connected to another server, the controller and the client are the same when searching for and finding the server to which the client is connected. Connect to the server. As a result, even if the client moves to a network outside the monitoring / control range from the controller, the client and the controller can quickly connect to the same server, and monitor and / or control the client from the same controller again. Can do.

さらに好ましい実施形態においては、コントローラは、監視および/または制御していた上記クライアントのクライアント特定情報を登録するクライアント監視/制御履歴手段と、サーバに接続されているクライアントのクライアント特定情報を含むクライアントリストを該サーバから受信するクライアントリスト受信手段とを備え、上記探索手段が該クライアントリスト内に該クライアントのクライアント特定情報が存在するか否かを判断する。   In a further preferred embodiment, the controller includes a client monitoring / control history means for registering client specifying information of the client that has been monitored and / or controlled, and a client list including client specifying information of the client connected to the server. Client list receiving means for receiving from the server, and the search means determines whether or not the client specifying information of the client exists in the client list.

コントローラは、監視および/または制御対象のクライアントのクライアント特定情報をクライアント監視/制御履歴として登録する。さらに、ブロードキャストによりサーバを探索して稼動しているサーバを探索し、発見されたサーバに対して順次接続し、クライアントリストをサーバから取得する。そして、クライアントリスト内にクライアント監視/制御履歴と一致するクライアント特定情報を探索することにより監視および/または制御対象のクライアントが接続されているサーバを探索することができる。それ故、クライアントが別のサーバに接続された場合であっても、迅速にクライアントが接続された別のサーバを発見することができる。   The controller registers the client specific information of the client to be monitored and / or controlled as a client monitoring / control history. Further, the server is searched by broadcasting to search for an operating server, and the servers that are found are sequentially connected to obtain a client list from the server. Then, by searching for client identification information that matches the client monitoring / control history in the client list, it is possible to search for a server to which a client to be monitored and / or controlled is connected. Therefore, even when the client is connected to another server, it is possible to quickly find another server to which the client is connected.

さらに好ましい実施形態においては、コントローラは、上記探索手段が前記クライアントが接続されている上記第2のサーバを発見した場合に、該クライアントを前記第1のサーバに再接続させる手段をさらに備える。   In a further preferred embodiment, the controller further comprises means for reconnecting the client to the first server when the search means discovers the second server to which the client is connected.

コントローラが第2のサーバに接続されたクライアントを第1のサーバへ戻すことにより、コントローラとクライアントとが同一のサーバに接続することができる。従って、切断前と同じコントローラからクライアントを再び監視および/または制御することが可能になる。第1のサーバと同じ音楽データや映像データが第2のサーバに無いなど第2のサーバに接続したのではコンテンツ再生を継続できないという事態を避けることができる。   When the controller returns the client connected to the second server to the first server, the controller and the client can connect to the same server. Accordingly, it becomes possible to monitor and / or control the client again from the same controller as before disconnection. It is possible to avoid a situation in which content reproduction cannot be continued by connecting to the second server, such as when the second server does not have the same music data and video data as the first server.

さらに好ましい実施形態においては、コントローラは、上記探索手段が前記クライアントが接続されている上記第2のサーバを発見した場合に、該第2のサーバへ接続する手段をさらに備える。   In a further preferred embodiment, the controller further comprises means for connecting to the second server when the searching means discovers the second server to which the client is connected.

コントローラが、クライアントが接続されているサーバに接続するので、コントローラとクライアントとが同一のサーバに接続することができる。再生を継続したいコンテンツが第2のサーバに存在する場合には、クライアントを第1のサーバに接続させる必要が無く、コントローラが監視および/または制御対象のクライアントが接続されているサーバに接続するだけで、元の接続状態に戻す事ができる。   Since the controller connects to the server to which the client is connected, the controller and the client can connect to the same server. When there is content to be reproduced on the second server, it is not necessary to connect the client to the first server, and the controller only connects to the server to which the client to be monitored and / or controlled is connected. You can return to the original connection state.

本発明の別の局面においては、クライアントプログラムが提供される。このプログラムは、複数のサーバの少なくとも1つと接続可能なクライアントを実行させるためのクライアントプログラムであって、複数のサーバのいずれかと接続するステップと、該第1のサーバとの接続が切断された場合に、該第1のサーバとは異なる第2のサーバに接続するステップと、該第1のサーバを探索する探索ステップと、該探索ステップにおいて、該第1のサーバが発見された場合に、該第1のサーバに再び接続するステップとをコンピュータに実行させる。   In another aspect of the present invention, a client program is provided. This program is a client program for executing a client that can be connected to at least one of a plurality of servers, and when the connection to one of the plurality of servers is disconnected from the first server. And connecting to a second server different from the first server, searching for the first server, and when the first server is found in the searching step, Re-connecting to the first server.

本発明のクライアントプログラムをコンピュータにインストールすることによって、何らかの要因によりクライアントと第1のサーバとの接続が切れ、クライアントが第2のサーバに接続された場合でも、探索ステップによりクライアントは切断前に接続していた第1のサーバを探索する。探索ステップにおいて第1のサーバを発見できれば、クライアントは第1のサーバに再接続するステップにより第1のサーバに再接続する。その結果、クライアントがコントローラからの監視/制御範囲外のネットワークに移動した場合でも、クライアントはサーバとの接続状態を自ら迅速に元通りに回復することができ、接続が切断される前と同じコントローラからクライアントを再び監視および/または制御することができる。   By installing the client program of the present invention in the computer, even if the connection between the client and the first server is cut off due to some cause and the client is connected to the second server, the client is connected before disconnection by the search step. The first server that has been searched is searched. If the first server can be found in the searching step, the client reconnects to the first server by reconnecting to the first server. As a result, even if the client moves to a network outside the monitoring / control range from the controller, the client can quickly restore the connection state with the server, and the same controller as before the connection is disconnected. The client can be monitored and / or controlled again.

さらに別の局面においては、コントローラプログラムが提供される。複数のサーバの少なくとも1つと接続可能なコントローラを実行させるためのクライアントプログラムであって、複数のサーバのいずれかと接続するステップと、クライアントを監視および/または制御する監視/制御ステップと、該クライアントが、第1のサーバとの接続が切断され、該第1のサーバとは異なる第2のサーバに接続した場合に、該クライアントが接続されている第2のサーバを探索する探索ステップと、該探索ステップにおいて該第2のサーバを発見した場合に、該クライアントと同一のサーバに接続するステップとをコンピュータに実行させる。   In yet another aspect, a controller program is provided. A client program for executing a controller connectable to at least one of a plurality of servers, the step of connecting to any of the plurality of servers, a monitoring / controlling step of monitoring and / or controlling the client, A search step for searching for a second server to which the client is connected when the connection with the first server is disconnected and a second server different from the first server is connected; When the second server is found in the step, the computer is caused to execute the step of connecting to the same server as the client.

本発明のコントローラプログラムをコンピュータにインストールすることによって、何らかの要因でクライアントとサーバとの接続が切れ、クライアントが別のサーバに接続された場合であっても、コントローラは探索ステップによりクライアントが接続されているサーバを探索する。探索ステップにおいてクライアントを発見できれば、接続ステップによりコントローラとクライアントとが同一のサーバへ接続する。その結果、クライアントがコントローラからの制御範囲外のネットワークに移動したとしても、迅速にクライアントとコントローラとが同一サーバに接続することができ、接続が切断される前と同じコントローラからクライアントを再び監視および/または制御することができる。   By installing the controller program of the present invention in the computer, even if the connection between the client and the server is cut for some reason and the client is connected to another server, the controller is connected to the client by the search step. Search for existing servers. If the client can be found in the search step, the controller and the client connect to the same server in the connection step. As a result, even if the client moves to a network outside the control range from the controller, the client and the controller can quickly connect to the same server, and monitor and re-monitor the client from the same controller before the connection is disconnected. And / or can be controlled.

本発明によれば、クライアントが何らかの要因でネットワークとの接続が切れ、クライアントが別のサーバに接続された場合であっても、ユーザに操作面で違和感を与えること無く迅速にクライアントとコントローラとが自動的に再び同一サーバに接続することができるクライアントサーバシステムを提供することが可能となる。   According to the present invention, even when the client is disconnected from the network for some reason and the client is connected to another server, the client and the controller can be quickly connected without giving the user a sense of incongruity in terms of operation. It is possible to provide a client server system that can automatically connect to the same server again.

以下、本発明の実施の形態をネットワーク型コンテンツ再生システムを例として図面を参照して詳しく説明する。図中同一又は相当部分には同一符号を付してその説明を援用する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings, taking a network content reproduction system as an example. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof is incorporated.

[ネットワーク型コンテンツ再生システムの全体構成]
図1は、本発明の好ましい実施形態によるネットワーク型コンテンツ再生システム100を示すブロック図である。ネットワーク型コンテンツ再生システム100は、複数のコンテンツ(例えば、音楽データ)を蓄積する複数のサーバSV(本例では、2つのサーバSV1、SV2)と、1または複数のオーディオクライアントCL(本例では、3つのオーディオクライアントCL1〜CL3)と、1または複数のコントローラCN(本例では、2つのコントローラCN1およびCN2)とを備える。サーバSV、オーディオクライアントCLおよびコントローラCNはLAN(ローカルエリアネットワーク)101等のネットワークにより相互に接続される。
[Overall configuration of networked content playback system]
FIG. 1 is a block diagram illustrating a network type content playback system 100 according to a preferred embodiment of the present invention. The network type content reproduction system 100 includes a plurality of servers SV (in this example, two servers SV1, SV2) that store a plurality of contents (for example, music data) and one or a plurality of audio clients CL (in this example, Three audio clients CL1 to CL3) and one or a plurality of controllers CN (two controllers CN1 and CN2 in this example). The server SV, audio client CL, and controller CN are connected to each other via a network such as a LAN (local area network) 101.

本例においてネットワークNW1は、サーバSV1と、サーバSV1に接続されているオーディオクライアントCL1およびオーディオクライアントCL2と、コントローラCN1とを備える。コントローラCN1はサーバSV1を介してオーディオクライアント(CL1およびCL2)に再生指示を出す(これを制御と呼ぶ)。オーディオクライアント(CL1およびCL2)は、コントローラCN1からの指示に従い(あるいは自発的に)、サーバSV1に蓄積されているコンテンツをサーバSV1から取得して再生する。また、オーディオクライアント(CL1およびCL2)は自身の情報(ステータスなど)をサーバSV1に送信し、コントローラCN1はサーバSV1からオーディオクライアント(CL1およびCL2)の情報を取得して表示装置に表示する(これを監視と呼ぶ)。この様に、サーバSV1を中心として、ネットワークNW1が構成される。   In this example, the network NW1 includes a server SV1, an audio client CL1 and an audio client CL2 connected to the server SV1, and a controller CN1. The controller CN1 issues a playback instruction to the audio clients (CL1 and CL2) via the server SV1 (this is called control). The audio clients (CL1 and CL2) acquire the content stored in the server SV1 from the server SV1 and reproduce it according to an instruction from the controller CN1 (or spontaneously). The audio clients (CL1 and CL2) transmit their own information (status, etc.) to the server SV1, and the controller CN1 acquires the information of the audio clients (CL1 and CL2) from the server SV1 and displays it on the display device (this). Is called monitoring). In this way, the network NW1 is configured around the server SV1.

ネットワークNW2は、サーバSV2およびサーバSV2に接続されているオーディオクライアントCL3とコントローラCN2とを備える。ネットワークNW2においてもサーバSV2とオーディオクライアントCL3とコントローラCN2とがネットワークNW1と同様に動作することができる。   The network NW2 includes a server SV2, an audio client CL3 connected to the server SV2, and a controller CN2. Also in the network NW2, the server SV2, the audio client CL3, and the controller CN2 can operate in the same manner as the network NW1.

次に、サーバSVのハードウェア構造に関して図面を参照して詳細に説明する。図2は、本発明の好ましい実施形態によるサーバSVのハードウェア構成を示すブロック図である。サーバSVは、コンテンツ(例えば、圧縮デジタル曲データ)を蓄積するための記憶装置(例えば、ハードディスクドライブ)205と、データベース管理部202およびネットワークプロトコル処理部203を含むCPU処理部201と、本サーバSVとLAN101との間で信号を送受信するLANコントローラ204とを備える。記憶装置205はコンテンツデータを保存する。   Next, the hardware structure of the server SV will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a hardware configuration of the server SV according to a preferred embodiment of the present invention. The server SV includes a storage device (for example, a hard disk drive) 205 for accumulating contents (for example, compressed digital music data), a CPU processing unit 201 including a database management unit 202 and a network protocol processing unit 203, and the server SV. And a LAN controller 204 that transmits and receives signals between the LAN 101 and the LAN 101. The storage device 205 stores content data.

下記表1は、記憶装置205に格納されるクライアントリストである。

Figure 2006252214
Table 1 below is a client list stored in the storage device 205.
Figure 2006252214

クライアントリストは、サーバSVに接続されているクライアントに関する情報(クライアント特定情報)が登録されている。コントローラCNは、サーバSVからクライアントリストを取得することにより、サーバSVに現在接続されているオーディオクライアントCLを知ることができる。ここで、クライアント特定情報とは各クライアントに付けられているクライアント名および固体識別子を含む。クライアント名はユーザが自由に変更できる文字列などからなる識別子であり、固体識別子はMACアドレスなどクライアント固有の識別子である。また、クライアント特定情報にIPアドレスおよびポート番号を利用しても良い。   In the client list, information (client specific information) related to clients connected to the server SV is registered. The controller CN can know the audio client CL currently connected to the server SV by acquiring the client list from the server SV. Here, the client specifying information includes a client name and a solid identifier assigned to each client. The client name is an identifier including a character string that can be freely changed by the user. Further, an IP address and a port number may be used for the client specifying information.

次に、オーディオクライアントCLのハードウェア構造に関して図面を参照して詳細に説明する。図3は、本発明の好ましい実施形態によるオーディオクライアントCLのハードウェア構成を示すブロック図である。オーディオクライアントCLは、ネットワークプロトコル処理部303およびシステム動作部302を含むマイコン処理部301と、フラッシュメモリ306と、順次入力されたコンテンツデータなど(本例では圧縮デジタル曲データ)を一時的に記憶して順次出力するメモリ305と、圧縮デジタル曲データをデコードして非圧縮デジタル曲を生成する音声処理部308と、デジタル曲データをアナログ曲データに変換するD/A変換機(DAC)307と、本オーディオクライアントCLとLAN101との間で信号を送受信するLANコントローラ304とを備える。   Next, the hardware structure of the audio client CL will be described in detail with reference to the drawings. FIG. 3 is a block diagram showing a hardware configuration of the audio client CL according to the preferred embodiment of the present invention. The audio client CL temporarily stores a microcomputer processing unit 301 including a network protocol processing unit 303 and a system operation unit 302, a flash memory 306, and sequentially input content data (compressed digital music data in this example). A memory 305 that sequentially outputs, an audio processing unit 308 that decodes the compressed digital song data to generate an uncompressed digital song, a D / A converter (DAC) 307 that converts the digital song data into analog song data, A LAN controller 304 that transmits and receives signals between the audio client CL and the LAN 101.

オーディオクライアントCLは、メモリ305に、下記表2に示すサーバリストが登録される。

Figure 2006252214
In the audio client CL, the server list shown in Table 2 below is registered in the memory 305.
Figure 2006252214

サーバリストには、現在稼動しているサーバのサーバ特定情報が登録される。サーバ特定情報は各サーバに付けられているサーバ名および固体識別子を含む。ここで、サーバ名はユーザが自由に変更できる文字列などからなる識別子であり、固体識別子はMACアドレスなどサーバ固有の識別子である。また、サーバ特定情報に各サーバSVのIPアドレスおよびポート番号を利用しても良い。このサーバリストによりオーディオクライアントCLは現在稼動しているサーバSVを把握することができる。   In the server list, server identification information of the currently operating server is registered. The server specifying information includes a server name and an individual identifier assigned to each server. Here, the server name is an identifier made up of a character string that can be freely changed by the user, and the solid identifier is an identifier unique to the server such as a MAC address. Further, the IP address and port number of each server SV may be used for the server specifying information. From this server list, the audio client CL can grasp the server SV currently operating.

また、オーディオクライアントCLは、メモリ305に下記表3に示すサーバ接続履歴を有する。サーバ接続履歴には、切断される前にオーディオクライアントCLが接続していたサーバSVのサーバ特定情報が登録される。

Figure 2006252214
The audio client CL has a server connection history shown in Table 3 below in the memory 305. In the server connection history, server identification information of the server SV to which the audio client CL was connected before being disconnected is registered.
Figure 2006252214

オーディオクライアントCLはサーバSVからの音楽データに基づいて音楽を再生する。なお、オーディオクライアントCLには、このような音楽再生機能だけでなく、ユーザの操作に応じて選曲、再生、停止などの制御機能も有する能動的なクライアントと、音楽再生機能だけを有する受動的なクライアントとがある。音楽再生機能だけを有するオーディオクライアントCLは、例えば壁や天井などに埋設され、コントローラCNからの指示に従って音楽を再生する。   The audio client CL reproduces music based on the music data from the server SV. The audio client CL includes an active client having not only such a music playback function but also a control function such as music selection, playback, and stop according to a user operation, and a passive client having only a music playback function. There is a client. The audio client CL having only the music playback function is embedded in, for example, a wall or a ceiling, and plays back music according to an instruction from the controller CN.

次に、コントローラCNのハードウェア構造に関して図面を参照して詳細に説明する。図4は、本発明の好ましい実施形態によるコントローラCNのハードウェア構成を示すブロック図である。コントローラCNは、サーバSVに対してクライアントとして機能する。コントローラCNは、LANコントローラ404と、システム動作部402およびネットワークプロトコル処理部403を含むマイコン処理部401と、フラッシュメモリ406と、メモリ405、CRTやLCDといった表示装置410と、キーボードやマウスといった入力装置409とを備える。コントローラCNがオーディオクライアントCLと異なる点は、オーディオクライアントCLは再生機能を有するのに対し、コントローラCNは再生機能を有さなくても良く、主としてオーディオクライアントCLを監視および/または制御する機能を有する点である。   Next, the hardware structure of the controller CN will be described in detail with reference to the drawings. FIG. 4 is a block diagram showing a hardware configuration of the controller CN according to a preferred embodiment of the present invention. The controller CN functions as a client for the server SV. The controller CN includes a LAN controller 404, a microcomputer processing unit 401 including a system operation unit 402 and a network protocol processing unit 403, a flash memory 406, a memory 405, a display device 410 such as a CRT and an LCD, and an input device such as a keyboard and a mouse. 409. The controller CN is different from the audio client CL in that the audio client CL has a reproduction function, whereas the controller CN may not have the reproduction function, and mainly has a function of monitoring and / or controlling the audio client CL. Is a point.

コントローラCNのメモリ405には、表2と同じ構成のサーバリストが登録される。サーバリストは各サーバに付けられてるサーバ名および固体識別子を含むサーバ特定情報が登録される。サーバリストは、コントローラがブロードキャストして、稼動中のサーバを発見するために使用される。   A server list having the same configuration as in Table 2 is registered in the memory 405 of the controller CN. In the server list, server identification information including a server name and an individual identifier assigned to each server is registered. The server list is used by the controller to broadcast and discover active servers.

さらにコントローラCNのメモリ405には、サーバSVから表1に示すクライアントリストを取得して記憶する。クライアントリストは、先述の通り、監視/制御対象のクライアントがサーバに接続されているかを判断するために使用される。   Furthermore, the client list shown in Table 1 is acquired from the server SV and stored in the memory 405 of the controller CN. As described above, the client list is used to determine whether a client to be monitored / controlled is connected to the server.

コントローラCNは、メモリ405に下記表4に示すクライアント監視/制御履歴を有する。クライアント監視/制御履歴は、切断される前にコントローラCNが監視/制御していたオーディオクライアントCLのクライアント特定情報が登録される。クライアント監視/制御履歴は、クライアントリストと比較することにより、監視/制御対象のクライアントが接続されているサーバを探索するために使用される。

Figure 2006252214
The controller CN has a client monitoring / control history shown in Table 4 below in the memory 405. In the client monitoring / control history, client specific information of the audio client CL monitored / controlled by the controller CN before being disconnected is registered. The client monitoring / control history is used to search for a server to which a client to be monitored / controlled is connected by comparing with the client list.
Figure 2006252214

[初期接続処理]
図5は、オーディオクライアントのサーバに対する初期接続処理を示すフロー図である。オーディオクライアントCLに電源が投入されると、そのオーディオクライアントCLはまずサーバSVを探索する(S501)。具体的には、オーディオクライアントCLはブロードキャストにより複数のサーバSVのサーバ特定情報を取得して、サーバリストに登録する。
[Initial connection processing]
FIG. 5 is a flowchart showing an initial connection process of the audio client to the server. When the audio client CL is powered on, the audio client CL first searches for the server SV (S501). Specifically, the audio client CL acquires server specifying information of a plurality of servers SV by broadcasting and registers it in the server list.

次に、オーディオクライアントCLはサーバ特定情報を取得した複数のサーバの中から1つのサーバを選択し、選択したサーバと接続する(S502)。接続が確立した後、オーディオクライアントCLは自身の情報であるクライアント情報を接続したサーバSVに送信する(S503)。ここで、クライアント情報は、[再生]、[停止]、[ポーズ]などのステータスや、音量情報、再生中の曲の情報である再生曲情報、およびリストを作成するためのリスト構築キーなどを含む。   Next, the audio client CL selects one server from the plurality of servers that have acquired the server specifying information, and connects to the selected server (S502). After the connection is established, the audio client CL transmits client information as its own information to the connected server SV (S503). Here, client information includes statuses such as [Play], [Stop], [Pause], volume information, playback song information that is information of the song being played, and a list construction key for creating a list. Including.

以上の動作により、オーディオクライアントCLは選択した1つのサーバSVと接続される。以降、オーディオクライアントCLはサーバSVに接続されたコントローラCNからの指示に従い、サーバSVから送信された音楽データを再生する。なお、コントローラCNによるサーバSVとの初期接続処理も図5と同じである。   Through the above operation, the audio client CL is connected to one selected server SV. Thereafter, the audio client CL reproduces the music data transmitted from the server SV in accordance with an instruction from the controller CN connected to the server SV. The initial connection process with the server SV by the controller CN is also the same as in FIG.

[接続監視処理および接続回復処理]
図6は、オーディオクライアントの監視処理および接続回復処理を示すフロー図である。オーディオクライアントCL(例えば、オーディオクライアントCL1)はサーバSV(例えば、サーバSV1)と接続してから所定期間が経過したか否かを判断する(S601)。所定期間後、オーディオクライアントCL1はサーバSV1との接続が維持されているか否かを判断する(S602、S603)。具体的には、オーディオクライアントCL1は接続確認コマンドをサーバSV1に送信する(S602)。サーバSV1からオーディオクライアントCL1に接続確認コマンドに対する返答がある場合(S603:YES)、接続は維持されていると判断される。一方、返答がない場合や送信エラーが起きる場合(S603:NO)、接続は切断されていると判断される。返答方法としては、たとえばサーバSV1が送信された接続確認コマンドと同じコマンドを返信する方法がある。
[Connection monitoring and connection recovery]
FIG. 6 is a flowchart showing audio client monitoring processing and connection recovery processing. The audio client CL (for example, the audio client CL1) determines whether or not a predetermined period has elapsed since the connection with the server SV (for example, the server SV1) (S601). After a predetermined period, the audio client CL1 determines whether or not the connection with the server SV1 is maintained (S602, S603). Specifically, the audio client CL1 transmits a connection confirmation command to the server SV1 (S602). If there is a response to the connection confirmation command from the server SV1 to the audio client CL1 (S603: YES), it is determined that the connection is maintained. On the other hand, when there is no response or when a transmission error occurs (S603: NO), it is determined that the connection is disconnected. As a response method, for example, there is a method of returning the same command as the connection confirmation command transmitted by the server SV1.

ステップS603で返答があった場合、オーディオクライアントCLは再びS601に戻って所定期間経過後に接続が維持されているか否かを判断する(S601〜S603)。これにより、オーディオクライアントCL1は所定期間ごとにサーバSVとの接続状態をチェックする。接続が切断されている場合、オーディオクライアントCL1は同じサーバSV1に対して再接続を試みる(S502)。   If there is a response in step S603, the audio client CL returns to S601 again and determines whether or not the connection is maintained after a predetermined period of time (S601 to S603). Accordingly, the audio client CL1 checks the connection state with the server SV every predetermined period. If the connection is disconnected, the audio client CL1 tries to reconnect to the same server SV1 (S502).

再接続を試みた結果、サーバSV1との接続に失敗した場合(S604:NO)、オーディオクライアントCL1は同じサーバSV1との接続を断念し、別のサーバSV2との接続回復処理を実行する(S501〜S503)。具体的には、オーディオクライアントCL1はブロードキャストにより接続可能なサーバSV2を探索し(S501)、探索したサーバSV2に接続する(S502)。そして、オーディオクライアントCL1はクライアント情報をサーバSV1に送信する(S503)。   If the connection with the server SV1 fails as a result of the reconnection attempt (S604: NO), the audio client CL1 abandons the connection with the same server SV1 and executes a connection recovery process with another server SV2 (S501). ~ S503). Specifically, the audio client CL1 searches for a server SV2 that can be connected by broadcasting (S501), and connects to the searched server SV2 (S502). Then, the audio client CL1 transmits client information to the server SV1 (S503).

[自動ネットワーク接続処理(1)]
上記の接続回復処理によりオーディオクライアントCL1が別サーバSV2に接続された場合、ネットワークの構成は図7のようになり、別のサーバ(第2のサーバ、例えば、サーバSV2)に接続されたオーディオクライアントCL1はコントローラCN1ではコントロールできない状態になっている。次に、再びコントローラCN1でオーディオクライアントCL1をコントロール可能にさせるための自動ネットワーク接続処理を説明する。
[Automatic network connection processing (1)]
When the audio client CL1 is connected to another server SV2 by the above connection recovery process, the network configuration is as shown in FIG. 7, and the audio client connected to another server (second server, eg, server SV2). CL1 cannot be controlled by the controller CN1. Next, an automatic network connection process for enabling the controller CN1 to control the audio client CL1 again will be described.

図8は、オーディオクライアントのネットワーク接続処理を示すフロー図である。接続回復処理後、オーディオクライアントCL1は所定期間が経過したか否かを判断する(S801)。所定期間後、オーディオクライアントCL1はまず現在ネットワーク上で稼動しているサーバSVを探索する。具体的には、オーディオクライアントCL1はブロードキャストにより複数のサーバSVのサーバ特定情報をサーバSVから取得して表2のようにサーバリストに登録する(S802、S803)。   FIG. 8 is a flowchart showing network connection processing of the audio client. After the connection recovery process, the audio client CL1 determines whether a predetermined period has elapsed (S801). After a predetermined period, the audio client CL1 first searches for a server SV currently operating on the network. Specifically, the audio client CL1 acquires server specifying information of a plurality of servers SV from the server SV by broadcasting and registers them in the server list as shown in Table 2 (S802, S803).

次に、オーディオクライアントCL1は、現在ネットワーク上で稼動しているサーバの中に、切断前に接続していたサーバSV1(第1のサーバ)が存在するか否かを判断する(S804)。詳細には、S803でサーバリストに登録されたサーバ特定情報の中に表3のサーバ接続履歴に登録されているサーバSV1のサーバ特定情報が存在するか否かを判断する。   Next, the audio client CL1 determines whether or not the server SV1 (first server) connected before disconnection exists among the servers currently operating on the network (S804). Specifically, it is determined whether or not the server identification information registered in the server connection history of Table 3 exists in the server identification information registered in the server list in S803.

サーバSV1が発見された(サーバSV1のサーバ特定情報がサーバリストに存在する)場合(S804:YES)、オーディオクライアントCL1はサーバSV2との接続を切断し、サーバSV1と再接続する(S805)。再接続後、オーディオクライアントCL1は自身のクライアント情報をサーバSV1に送信する(S806)。   If the server SV1 is found (the server identification information of the server SV1 exists in the server list) (S804: YES), the audio client CL1 disconnects from the server SV2 and reconnects to the server SV1 (S805). After the reconnection, the audio client CL1 transmits its client information to the server SV1 (S806).

オーディオクライアントCL1がサーバSV1に再接続した後、コントローラCN1はサーバSV1経由でクライアントCL1をコントロールすることができる。例えば、コントローラCN1はサーバSV1からオーディオクライアントCL1のクライアント情報を受信して、クライアントの状態を監視する(表示装置に表示する)。あるいは、コントローラCN1は、サーバSV1経由でオーディオクライアントCL1に再生指示コマンドを送信する。   After the audio client CL1 is reconnected to the server SV1, the controller CN1 can control the client CL1 via the server SV1. For example, the controller CN1 receives the client information of the audio client CL1 from the server SV1, and monitors the client status (displays it on the display device). Alternatively, the controller CN1 transmits a playback instruction command to the audio client CL1 via the server SV1.

一方、S804において、サーバSV1が発見できない場合、再びS801に戻って、所定期間後にブロードキャストして、サーバSV1を探索する。   On the other hand, if the server SV1 cannot be found in S804, the process returns to S801 again, and broadcasts after a predetermined period to search for the server SV1.

以上の動作によって、オーディオクライアントCLが何らかの要因でサーバSV1との接続が切れ、上記自動接続回復機能によってオーディオクライアントCLが別のサーバSV2に接続された場合であっても、オーディオクライアントCL自身がサーバSV1を探索し、再接続することができる。以降、オーディオクライアントCL1はサーバSV1に接続されたコントローラCN1からの指示に従い、サーバSV1から送信された音楽データの再生、停止などをおこなう。その結果、接続が切断される前と同じコントローラで再びオーディオクライアントをコントロールすることが可能となり、ユーザはクライアントとサーバが再接続したことを意識することなくクライアントを利用できる。   With the above operation, even when the audio client CL is disconnected from the server SV1 for some reason and the audio client CL is connected to another server SV2 by the automatic connection recovery function, the audio client CL itself is SV1 can be searched and reconnected. Thereafter, the audio client CL1 reproduces and stops the music data transmitted from the server SV1 in accordance with an instruction from the controller CN1 connected to the server SV1. As a result, the audio client can be controlled again by the same controller as before the disconnection, and the user can use the client without being aware that the client and the server are reconnected.

[自動ネットワーク接続処理(2)]
次に本発明の別の好ましい実施形態について図9および図10を参照して説明する。前の実施形態と同一部分については説明を省略する。
[Automatic network connection processing (2)]
Next, another preferred embodiment of the present invention will be described with reference to FIGS. The description of the same parts as in the previous embodiment is omitted.

図9は、本発明の好ましい実施形態による自動ネットワーク接続処理を示すブロック図である。本例における自動ネットワーク接続機能は、オーディオクライアントCL(例えば、オーディオクライアントCL1)が何らかの要因でサーバSV(第1のサーバ、例えば、サーバSV1)との接続が切れ、上記自動接続回復機能によってオーディオクライアントCL1が別のサーバ(第2のサーバ、例えば、サーバSV2)に接続された場合(図9の矢印A)、コントローラCN(例えば、コントローラCN1)がブロードキャストすることによってサーバを探索し、発見された各サーバに順次接続してオーディオクライアントCL1を探索する(図9の矢印B)。そして、サーバSV2にオーディオクライアントCL1が接続されていることを見つけると、コントローラCN1はオーディオクライアントCL1を元のネットワークに呼び戻す(図9の矢印C)と共に自身も元のネットワークに戻る(図9の矢印D)。   FIG. 9 is a block diagram illustrating an automatic network connection process according to a preferred embodiment of the present invention. In the automatic network connection function in this example, the audio client CL (for example, the audio client CL1) is disconnected from the server SV (first server, for example, the server SV1) for some reason. When CL1 is connected to another server (second server, eg, server SV2) (arrow A in FIG. 9), the controller CN (eg, controller CN1) searched for the server by broadcasting and found Each server is sequentially connected to search for the audio client CL1 (arrow B in FIG. 9). When the controller CN1 finds that the audio client CL1 is connected to the server SV2, the controller CN1 calls back the audio client CL1 to the original network (arrow C in FIG. 9) and returns to the original network (arrow in FIG. 9). D).

図10は、本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すフロー図である。接続回復処理後、コントローラCN1は所定期間が経過したか否かを判断する(S1001)。所定期間後、コントローラCN1はまずネットワーク上で稼動しているサーバSVを探索する。具体的には、コントローラCN1はブロードキャストによりサーバSVのサーバ特定情報を取得し(S1002)、表2のサーバリストに取得したサーバ特定情報を登録する(S1003)。次に、コントローラCN1はサーバ特定情報を取得した複数のサーバの中から(すなわちサーバリストの中から)1つのサーバ(例えば、サーバSV2)を選択し、選択したサーバSV2と接続する(S1004)。   FIG. 10 is a flowchart showing an automatic network connection process in the controller according to a preferred embodiment of the present invention. After the connection recovery process, the controller CN1 determines whether or not a predetermined period has elapsed (S1001). After a predetermined period, the controller CN1 first searches for a server SV operating on the network. Specifically, the controller CN1 acquires the server specifying information of the server SV by broadcasting (S1002), and registers the acquired server specifying information in the server list of Table 2 (S1003). Next, the controller CN1 selects one server (for example, the server SV2) from the plurality of servers that have acquired the server specifying information (that is, from the server list), and connects to the selected server SV2 (S1004).

サーバSV2と接続が確立した後、コントローラCN1はサーバSV2を介してオーディオクライアントCL1を探索する。具体的には、コントローラCN1はサーバSV2にクライアントリストを要求し(S1005)、サーバSV2は要求に応じてコントローラCN1にクライアントリストを返信し、コントローラCN1はクライアントリストを受信し、これをメモリ305に登録する(S1006)。   After the connection with the server SV2 is established, the controller CN1 searches for the audio client CL1 via the server SV2. Specifically, the controller CN1 requests the client list from the server SV2 (S1005), the server SV2 returns the client list to the controller CN1 in response to the request, and the controller CN1 receives the client list and stores it in the memory 305. Registration is performed (S1006).

コントローラCN1は、監視および/または制御対象のクライアントCL1がサーバSV2に接続されているか否かを判断する。すなわち、S1006で登録したクライアントリストの中に表4のクライアント監視/制御履歴に登録されているオーディオクライアントCL1のクライアント特定情報が存在するか否かを判断する(S1007)。   The controller CN1 determines whether the client CL1 to be monitored and / or controlled is connected to the server SV2. That is, it is determined whether or not the client specifying information of the audio client CL1 registered in the client monitoring / control history of Table 4 exists in the client list registered in S1006 (S1007).

クライアントリストにオーディオクライアントCL1のクライアント特定情報が存在しない場合(S1007:NO)、コントローラCN1はサーバリストに登録された他のサーバに順次接続し、サーバ毎にクライアントリストを取得し、オーディオクライアントCL1が接続されているか否かを判断する(S1004〜S1007)。   When the client identification information of the audio client CL1 does not exist in the client list (S1007: NO), the controller CN1 sequentially connects to other servers registered in the server list, acquires the client list for each server, and the audio client CL1 It is determined whether or not they are connected (S1004 to S1007).

本例では、サーバSV2にオーディオクライアントCL1が接続されている(すなわち、クライアントリストにクライアントCL1のクライアント特定情報が存在する)ので(S1007:YES)、コントローラCN1はオーディオクライアントCL1にサーバSV1への接続要求(すなわち、サーバSV2への切断要求)を送信する(S1008)。接続要求を送信した後、オーディオクライアントCL1から接続要求を受信した旨の通知を受信すると、コントローラCN1はサーバSV2との接続を切断し、サーバSV1へ再び接続する(S1009)。一方、接続要求を受け取ったオーディオクライアントCL1は、サーバSV2との接続を切断し、サーバSV1と接続する。オーディオクライアントCL1は、サーバSV1に自身のクライアント情報で送信し、サーバSV1はこれを受信する。   In this example, since the audio client CL1 is connected to the server SV2 (that is, the client specifying information of the client CL1 exists in the client list) (S1007: YES), the controller CN1 connects to the audio client CL1 to the server SV1. A request (that is, a disconnection request to the server SV2) is transmitted (S1008). After transmitting the connection request, upon receiving a notification that the connection request has been received from the audio client CL1, the controller CN1 disconnects from the server SV2 and reconnects to the server SV1 (S1009). On the other hand, the audio client CL1 that has received the connection request disconnects from the server SV2 and connects to the server SV1. The audio client CL1 transmits to the server SV1 with its own client information, and the server SV1 receives this.

コントローラCN1は、サーバSV1へ再接続した後、所定期間が経過したか否かを判断する(S1010)、所定期間経過後(S1010:YES)、コントローラCN1は、オーディオクライアントCL1がサーバSV1へ接続されたか否かを確認する。具体的には、コントローラCN1は、サーバSV1にクライアントリストを要求し(S1011)、サーバSV1はクライアントリストをコントローラCN1に返信し、コントローラCN1はクライアントリストを受信し、登録する(S1012)。そして、サーバSV1のクライアントリスト内にオーディオクライアントCL1のクライアント特定情報があるか否かを判断する(S1013)。オーディオクライアントCL1のクライアント特定情報がクライアントリスト内に存在する(すなわちオーディオクライアントCL1がサーバSV1に再接続された)場合(S1013:YES)、コントローラCN1は、オーディオクライアントCL1を制御および/または監視する(S1014)。オーディオクライアントCL1のクライアント特定情報がクライアントリスト内に存在しない(すなわちオーディオクライアントCL1がサーバSV1にまだ接続されていない)場合(S1013:NO)、コントローラCN1は、S1011〜S1013を再度実行する。   The controller CN1 determines whether or not a predetermined period has elapsed after reconnecting to the server SV1 (S1010). After the predetermined period has elapsed (S1010: YES), the controller CN1 connects the audio client CL1 to the server SV1. Confirm whether or not. Specifically, the controller CN1 requests a client list from the server SV1 (S1011), the server SV1 returns the client list to the controller CN1, and the controller CN1 receives and registers the client list (S1012). Then, it is determined whether or not there is client specifying information of the audio client CL1 in the client list of the server SV1 (S1013). When the client identification information of the audio client CL1 exists in the client list (that is, the audio client CL1 is reconnected to the server SV1) (S1013: YES), the controller CN1 controls and / or monitors the audio client CL1 ( S1014). When the client identification information of the audio client CL1 does not exist in the client list (that is, the audio client CL1 is not yet connected to the server SV1) (S1013: NO), the controller CN1 executes S1011 to S1013 again.

以上の動作によって、自動接続回復手段によってクライアントが別サーバに接続された場合であっても、コントローラがクライアントが接続されている別のサーバを迅速に探索し、コントローラ自らがそのサーバへ接続する。さらには、コントローラが別サーバに接続されたクライアントを元サーバへ再接続させることにより、同一サーバにクライアントとコントローラとが接続した状態にすることができる。以降、オーディオクライアントCLはサーバSVに接続されたコントローラCNからの指示に従い、サーバSVから送信された音楽データの再生、停止などをおこなう。その結果、接続が切断される前と同じコントローラで再びオーディオクライアントをコントロールすることが可能となり、ユーザはクライアントとサーバが再接続したことを意識することなくクライアントを利用できる。   With the above operation, even when the client is connected to another server by the automatic connection recovery means, the controller quickly searches for another server to which the client is connected, and the controller itself connects to that server. Furthermore, the client and the controller can be connected to the same server by reconnecting the client whose controller is connected to another server to the original server. Thereafter, the audio client CL performs reproduction, stop, and the like of music data transmitted from the server SV in accordance with instructions from the controller CN connected to the server SV. As a result, the audio client can be controlled again by the same controller as before the disconnection, and the user can use the client without being aware that the client and the server are reconnected.

[自動ネットワーク接続処理(3)]
次に本発明のさらに別の好ましい実施形態について図11および図12を参照して説明する。前の実施形態と同一部分については説明を省略する。
[Automatic network connection processing (3)]
Next, still another preferred embodiment of the present invention will be described with reference to FIGS. The description of the same parts as in the previous embodiment is omitted.

図11は、本発明の好ましい実施形態による自動ネットワーク接続処理を示すブロック図である。本例における自動ネットワーク接続機能は、オーディオクライアントCL(例えば、オーディオクライアントCL1)が何らかの要因でサーバSV(第1のサーバ、例えば、サーバSV1)との接続が切れ、上記自動接続回復機能によってオーディオクライアントCL1が別のサーバ(第2のサーバ、例えば、サーバSV2)に接続された場合(図11の矢印A)、コントローラCN(例えば、コントローラCN1)がブロードキャストすることによってサーバを探索し、発見された各サーバに順次接続してオーディオクライアントCL1を探索する。そして、サーバSV2にオーディオクライアントCL1が接続されていることを見つけると、コントローラCN1はオーディオクライアントCL1が接続されているサーバSV2に接続する(図11の矢印B)。   FIG. 11 is a block diagram illustrating automatic network connection processing according to a preferred embodiment of the present invention. In the automatic network connection function in this example, the audio client CL (for example, the audio client CL1) is disconnected from the server SV (first server, for example, the server SV1) for some reason. When CL1 is connected to another server (second server, eg, server SV2) (arrow A in FIG. 11), the controller CN (eg, controller CN1) searches for the server by broadcasting and is found The audio client CL1 is searched by sequentially connecting to each server. When the controller CN1 finds that the audio client CL1 is connected to the server SV2, the controller CN1 connects to the server SV2 to which the audio client CL1 is connected (arrow B in FIG. 11).

図12は、本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すフロー図である。自動ネットワーク接続処理をより詳細に説明する。接続回復処理後、コントローラCN1は所定期間が経過したか否かを判断する(S1201)。所定期間後、コントローラCN1はまずネットワーク上で稼動しているサーバSVを探索する。具体的には、コントローラCN1はブロードキャストによりサーバSVのサーバ特定情報を取得し(S1202)、表1のサーバリストに取得したサーバ特定情報を登録する(S1203)。次に、コントローラCN1はサーバ特定情報を取得した複数のサーバの中から(すなわちサーバリストの中から)1つのサーバ(例えば、サーバSV2)を選択し、選択したサーバSV2と接続する(S1204)。   FIG. 12 is a flowchart showing an automatic network connection process in the controller according to the preferred embodiment of the present invention. The automatic network connection process will be described in more detail. After the connection recovery process, the controller CN1 determines whether or not a predetermined period has elapsed (S1201). After a predetermined period, the controller CN1 first searches for a server SV operating on the network. Specifically, the controller CN1 acquires server identification information of the server SV by broadcasting (S1202), and registers the acquired server identification information in the server list of Table 1 (S1203). Next, the controller CN1 selects one server (for example, the server SV2) from the plurality of servers that have acquired the server specifying information (that is, from the server list), and connects to the selected server SV2 (S1204).

サーバSV2と接続が確立した後、コントローラCN1はサーバSV2を介してオーディオクライアントCL1を探索する(S1205)。具体的には、コントローラCN1にクライアントリストを要求し、サーバSV2は要求に応じてコントローラCNにクライアントリストを返信し、コントローラCN1はクライアントリストを受信し、これを登録する(S1206)。   After the connection with the server SV2 is established, the controller CN1 searches for the audio client CL1 via the server SV2 (S1205). Specifically, the client list is requested to the controller CN1, the server SV2 returns the client list to the controller CN in response to the request, and the controller CN1 receives the client list and registers it (S1206).

コントローラCN1は、監視および/または制御対象のクライアントCL1がサーバSV2に接続されているか否かを判断する。すなわち、S1206で登録したクライアントリストの中に表4のクライアント特定情報に登録されているオーディオクライアントCL1のクライアント特定情報が存在するか否かを判断する(S1207)。   The controller CN1 determines whether the client CL1 to be monitored and / or controlled is connected to the server SV2. That is, it is determined whether or not the client specific information of the audio client CL1 registered in the client specific information in Table 4 exists in the client list registered in S1206 (S1207).

オーディオクライアントCL1のクライアント特定情報がクライアントリスト内に存在する(すなわちオーディオクライアントCL1がサーバSV1に再接続された)場合(S1207:YES)、コントローラCN1は、オーディオクライアントCL1を制御および/または監視する(S1208)。クライアントリストにオーディオクライアントCL1のクライアント特定情報が存在しない場合(S1207:NO)、コントローラCN1はサーバリストに登録された他のサーバに順次接続し、サーバ毎にクライアントリストを取得し、オーディオクライアントCL1が接続されているか否かを判断する(S1204〜S1207)。   When the client identification information of the audio client CL1 exists in the client list (that is, the audio client CL1 is reconnected to the server SV1) (S1207: YES), the controller CN1 controls and / or monitors the audio client CL1 ( S1208). When the client identification information of the audio client CL1 does not exist in the client list (S1207: NO), the controller CN1 sequentially connects to other servers registered in the server list, acquires the client list for each server, and the audio client CL1 It is determined whether or not the connection is established (S1204 to S1207).

以上の動作によって、自動接続回復手段によってクライアントが別サーバに接続された場合であっても、コントローラがクライアントが接続されている別のサーバを迅速に探索し、コントローラ自らがそのサーバへ接続する。その結果、クライアントがサーバを移動した場合でも、再生可能なコンテンツ(音楽データや映像データなど)に影響が無い場合(再生したいコンテンツが接続した先の別サーバにも存在する場合など)は、コントローラおよびクライアントが元のサーバに再接続されずともよく、コントローラが監視および/または制御対象のクライアントが接続された別のサーバに接続するだけで、元の接続状態に戻す事ができ、再び監視および/または制御することができる。   With the above operation, even when the client is connected to another server by the automatic connection recovery means, the controller quickly searches for another server to which the client is connected, and the controller itself connects to that server. As a result, even if the client moves from server to server, if there is no effect on reproducible content (music data, video data, etc.) (such as when the content to be played also exists on another server to which it is connected), the controller And the client does not have to be reconnected to the original server, and the controller can return to the original connection state simply by connecting to another server to which the client to be monitored and / or controlled is connected. And / or can be controlled.

オーディオクライアントCLは、図5および図6に示した接続回復プログラムをコンピュータにインストールすることにより上述した自動接続回復機能を備える。さらにオーディオクライアントCLは図8に示したネットワーク接続プログラムをコンピュータにインストールすることにより、また、コントローラCNは図10または図12に示したネットワーク接続プログラムをインストールすることにより上述した自動ネットワーク接続機能を備える。   The audio client CL has the automatic connection recovery function described above by installing the connection recovery program shown in FIGS. 5 and 6 in the computer. Further, the audio client CL has the automatic network connection function described above by installing the network connection program shown in FIG. 8 in the computer, and the controller CN installs the network connection program shown in FIG. 10 or FIG. .

なお、本実施の形態では、オーディオクライアントCLが自動接続回復機能を備えているが、コントローラCNが自動接続回復機能を備えていても良い。   In the present embodiment, the audio client CL has an automatic connection recovery function, but the controller CN may have an automatic connection recovery function.

また、本実施の形態では、サーバSVが音楽データを蓄積しているが、これに変えて又はこれとともに映像データ(または静止画データ)を蓄積していても良く、その他、様々なコンテンツを蓄積していても良い。また、サーバSV、オーディオクライアントCLおよびコントローラCNはLAN101により相互に接続されるが、これに限定されることは無く、USB、IEEE1394など、コンピュータネットワークを構築するのに適切なものを採用すればよい。LAN101を採用する場合、PC(パーソナルコンピュータ)で標準的なTCP/IPプロトコルを採用するのが好ましいが、UDPプロトコルなどを採用しても良く、プロトコルは特に限定されない。また、図中ではLAN101の基幹配線から枝分かれするようにサーバSV、オーディオクライアントCLおよびコントローラCNが接続されているが、例えば10BASE−Tや100BASE−TXの場合にはハブを中心にしてスター状に接続される。   In this embodiment, the server SV stores the music data. However, instead of this, the video data (or still image data) may be stored in addition to this, or various other contents are stored. You may do it. The server SV, the audio client CL, and the controller CN are connected to each other via the LAN 101. However, the server SV, the audio client CL, and the controller CN are not limited to this, and any one suitable for constructing a computer network such as USB or IEEE 1394 may be adopted. . When the LAN 101 is adopted, it is preferable to adopt a standard TCP / IP protocol in a PC (personal computer), but a UDP protocol or the like may be adopted, and the protocol is not particularly limited. In the figure, the server SV, the audio client CL, and the controller CN are connected so as to branch from the basic wiring of the LAN 101. For example, in the case of 10BASE-T or 100BASE-TX, the hub is used as a star. Connected.

さらに、本発明はクライアントサーバシステムとして述べてきたが、P2P(ピアツーピア)システムにも適用することができる。サーバに相当するピアと、自動ネットワーク接続機能付きクライアントに相当するピアおよび/または自動ネットワーク接続機能付きコントローラに相当するピアとを備えた端末であれば、P2Pシステムの端末として機能することができる。その結果、P2Pシステムにおいても、端末が何らかの要因でネットワークとの接続が切れた場合、クライアントに相当するピアとコントローラに相当するピアとが自動的に再び同一ネットワークに接続することができる。   Furthermore, although the present invention has been described as a client-server system, it can also be applied to P2P (peer-to-peer) systems. Any terminal provided with a peer corresponding to a server and a peer corresponding to a client with an automatic network connection function and / or a peer corresponding to a controller with an automatic network connection function can function as a terminal of the P2P system. As a result, even in the P2P system, when the terminal is disconnected from the network for some reason, the peer corresponding to the client and the peer corresponding to the controller can automatically connect to the same network again.

以上、本発明の実施の形態を説明したが、上述した実施の形態は本発明を実施するための例示に過ぎない。よって、本発明は上述した実施の形態に限定されることなく、その趣旨を逸脱しない範囲内で上述した実施の形態を適宜変形して実施することが可能である。   While the embodiments of the present invention have been described above, the above-described embodiments are merely examples for carrying out the present invention. Therefore, the present invention is not limited to the above-described embodiment, and can be implemented by appropriately modifying the above-described embodiment without departing from the spirit thereof.

本発明の自動ネットワーク接続機能付きクライアントまたはコントローラは、あらゆる用途および規模のクライアントサーバシステムに用いられ得るが、特にネットワークオーディオシステムに好適に用いられ得る。   The client or controller with an automatic network connection function of the present invention can be used for a client server system of any application and scale, but can be particularly preferably used for a network audio system.

本発明の好ましい実施形態によるネットワーク型コンテンツ再生システムの全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a network type content reproduction system according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるサーバのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the server by preferable embodiment of this invention. 本発明の好ましい実施形態によるオーディオクライアントのハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration of an audio client according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるコントローラのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the controller by preferable embodiment of this invention. 本発明の好ましい実施形態によるオーディオクライアントにおける初期接続処理を示すフロー図である。FIG. 6 is a flowchart showing an initial connection process in an audio client according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるオーディオクライアントにおける監視処理および接続回復処理を示すフロー図である。It is a flowchart which shows the monitoring process and the connection recovery process in the audio client by preferable embodiment of this invention. 本発明の好ましい実施形態によるオーディオクライアントにおける接続回復処理を示すブロック図である。It is a block diagram which shows the connection recovery process in the audio client by preferable embodiment of this invention. 本発明の好ましい実施形態によるオーディオクライアントにおける自動ネットワーク接続処理を示すフロー図である。FIG. 6 is a flow diagram illustrating automatic network connection processing in an audio client according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すブロック図である。It is a block diagram which shows the automatic network connection process in the controller by preferable embodiment of this invention. 本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すフロー図である。FIG. 6 is a flowchart showing automatic network connection processing in a controller according to a preferred embodiment of the present invention. 本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すブロック図である。It is a block diagram which shows the automatic network connection process in the controller by preferable embodiment of this invention. 本発明の好ましい実施形態によるコントローラにおける自動ネットワーク接続処理を示すフロー図である。FIG. 6 is a flowchart showing automatic network connection processing in a controller according to a preferred embodiment of the present invention.

符号の説明Explanation of symbols

100 ネットワーク型コンテンツ再生システム
101 LAN
201 CPU処理部
202 データベース管理部
203 ネットワークプロトコル処理部
204 LANコントローラ
205 記憶装置
301 マイコン処理部
302 システム動作部
305 メモリ
306 フラッシュメモリ
307 DAC
308 音声処理部
409 入力装置
410 表示装置
CL オーディオクライアント
CN コントローラ
SV サーバ
NW ネットワーク
100 Network type content playback system 101 LAN
201 CPU Processing Unit 202 Database Management Unit 203 Network Protocol Processing Unit 204 LAN Controller 205 Storage Device 301 Microcomputer Processing Unit 302 System Operation Unit 305 Memory 306 Flash Memory 307 DAC
308 Audio processing unit 409 Input device 410 Display device CL Audio client CN Controller SV Server NW Network

Claims (8)

複数のサーバの少なくとも1つと接続する接続手段と、
第1のサーバとの接続が切断され、該接続手段が該第1のサーバとは異なる第2のサーバに接続した場合に、該第1のサーバを探索する探索手段とを備え、
該探索手段が該第1のサーバを発見した場合に、該接続手段が該第1のサーバと再接続するクライアント。
Connection means for connecting to at least one of the plurality of servers;
Search means for searching for the first server when the connection with the first server is disconnected and the connection means is connected to a second server different from the first server;
A client that the connection means reconnects to the first server when the search means finds the first server.
前記第1のサーバのサーバ特定情報を登録するサーバ接続履歴手段と、
現在稼動しているサーバのサーバ特定情報をサーバリストに登録するサーバリスト登録手段とをさらに備え、
前記探索手段が、該サーバリスト内に該第1のサーバのサーバ特定情報が存在するか否かを判断する、請求項1に記載のクライアント。
Server connection history means for registering server specifying information of the first server;
A server list registration means for registering server specific information of a currently operating server in the server list;
The client according to claim 1, wherein the search unit determines whether server specifying information of the first server exists in the server list.
複数のサーバの少なくとも1つと接続する接続手段と、
クライアントを監視および/または制御する監視/制御手段と、
該クライアントが、第1のサーバとの接続が切断され、該第1のサーバとは異なる第2のサーバに接続した場合に、該クライアントが接続されている第2のサーバを探索する探索手段とを備え、
該探索手段が該第2のサーバを発見した場合に、該接続手段が、該クライアントと同一のサーバに接続する、コントローラ。
Connection means for connecting to at least one of the plurality of servers;
Monitoring / control means for monitoring and / or controlling the client;
Search means for searching for a second server to which the client is connected when the client is disconnected from the first server and connected to a second server different from the first server; With
A controller that connects to the same server as the client when the searching means discovers the second server.
監視および/または制御していた前記クライアントのクライアント特定情報を登録するクライアント監視/制御履歴手段と、
サーバに接続されているクライアントのクライアント特定情報を含むクライアントリストを該サーバから受信するクライアントリスト受信手段とを備え、
前記探索手段が該クライアントリスト内に該クライアントのクライアント特定情報が存在するか否かを判断する、請求項3に記載のコントローラ。
Client monitoring / control history means for registering client specific information of the client that has been monitored and / or controlled;
Client list receiving means for receiving from the server a client list including client identification information of a client connected to the server,
The controller according to claim 3, wherein the search unit determines whether or not the client specifying information of the client exists in the client list.
前記探索手段が、前記クライアントが接続されている前記第2のサーバを発見した場合に、該クライアントを前記第1のサーバに再接続させる手段をさらに備える、請求項3または4に記載のコントローラ。 The controller according to claim 3 or 4, further comprising means for reconnecting the client to the first server when the searching means discovers the second server to which the client is connected. 前記探索手段が、前記クライアントが接続されている前記第2のサーバを発見した場合に、前記接続手段が該第2のサーバに接続する、請求項3または4に記載のコントローラ。 5. The controller according to claim 3, wherein when the search unit finds the second server to which the client is connected, the connection unit connects to the second server. 6. 複数のサーバの少なくとも1つと接続可能なクライアントを実行させるためのクライアントプログラムであって、
複数のサーバのいずれかと接続するステップと、
該第1のサーバとの接続が切断された場合に、該第1のサーバとは異なる第2のサーバに接続するステップと、
該第1のサーバを探索する探索ステップと、
該探索ステップにおいて、該第1のサーバが発見された場合に、該第1のサーバに再び接続するステップとをコンピュータに実行させる、クライアントプログラム。
A client program for executing a client connectable to at least one of a plurality of servers,
Connecting to any of a plurality of servers;
Connecting to a second server different from the first server when the connection to the first server is disconnected;
A search step for searching for the first server;
A client program for causing a computer to execute a step of reconnecting to the first server when the first server is found in the searching step.
複数のサーバの少なくとも1つと接続可能なコントローラを実行させるためのコントローラプログラムであって、
複数のサーバのいずれかと接続するステップと、
クライアントを監視および/または制御する監視/制御ステップと、
該クライアントが、第1のサーバとの接続が切断され、該第1のサーバとは異なる第2のサーバに接続した場合に、該クライアントが接続されている第2のサーバを探索する探索ステップと、
該探索ステップにおいて該第2のサーバを発見した場合に、該クライアントと同一のサーバに接続するステップとをコンピュータに実行させる、コントローラプログラム。
A controller program for executing a controller connectable to at least one of a plurality of servers,
Connecting to any of a plurality of servers;
Monitoring / control steps for monitoring and / or controlling the client;
A search step of searching for a second server to which the client is connected when the client is disconnected from the first server and connected to a second server different from the first server; ,
A controller program for causing a computer to execute a step of connecting to the same server as the client when the second server is found in the searching step.
JP2005068355A 2005-03-11 2005-03-11 Client or controller with automatic network connecting function and network connecting program Pending JP2006252214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005068355A JP2006252214A (en) 2005-03-11 2005-03-11 Client or controller with automatic network connecting function and network connecting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005068355A JP2006252214A (en) 2005-03-11 2005-03-11 Client or controller with automatic network connecting function and network connecting program

Publications (1)

Publication Number Publication Date
JP2006252214A true JP2006252214A (en) 2006-09-21

Family

ID=37092640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005068355A Pending JP2006252214A (en) 2005-03-11 2005-03-11 Client or controller with automatic network connecting function and network connecting program

Country Status (1)

Country Link
JP (1) JP2006252214A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165479A (en) * 2006-12-28 2008-07-17 Sony Corp Information reproducing apparatus and information reproducing method
JP2011198200A (en) * 2010-03-23 2011-10-06 Nec Corp Service providing system, virtual machine server, method and program for providing service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165479A (en) * 2006-12-28 2008-07-17 Sony Corp Information reproducing apparatus and information reproducing method
JP2011198200A (en) * 2010-03-23 2011-10-06 Nec Corp Service providing system, virtual machine server, method and program for providing service

Similar Documents

Publication Publication Date Title
US8412801B2 (en) Network AV system
EP2933978B1 (en) System for managing audiovideo streams using application layer structures in an avbnetwork
KR101943139B1 (en) Device linking
JP4333655B2 (en) Content receiving apparatus and content receiving method
JP2008520029A (en) Method, apparatus and software for tracking content
US9419936B2 (en) Method and apparatus for recovering interruption of network connection caused by IP address change of universal plug and play (UPnP) device
KR20040048363A (en) Peer-to-peer content broadcast transfer mechanism
US20100235427A1 (en) Content delivery system, server device, content delivery method, and program
US20100050006A1 (en) Communication apparatus, power supply control method, display apparatus, communication method, and computer program product
WO2008041421A1 (en) Content distribution system, content distribution method, terminal device in the content distribution system, and recording medium containing its program
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
JP2007081719A (en) Network type content reproducing system, its controller, and client
Chen et al. What a juke! A collaborative music sharing system
EP1473906A2 (en) Service management system, and method, communications unit and integrated circuit for use in such system
JP2007166572A (en) Method, computing system, and computer readable medium for group reproduction applied on network
KR100675130B1 (en) Method for providing contents to set-top box by third party&#39;s action and system thereof
JP2006252214A (en) Client or controller with automatic network connecting function and network connecting program
JP5092179B2 (en) Server and server program
JP4591308B2 (en) Music session system, server for music session system, and program for realizing control method for controlling server
JP2007179487A (en) Content delivery system, software update method, terminal device and program
JP2011022622A (en) Proxy processor, proxy request device, and proxy process switching system
JP2010033477A (en) Thin client system, application server, device management device, terminal control server and communication method
JP4588587B2 (en) Client terminal, connection error display method thereof, and computer program
JP2004348715A (en) Service management system, method used for same, communication equipment, and integrated circuit
JP2008085678A (en) Content distribution system, content distribution method, terminal device in the content distribution system and program thereof