JP2006146900A - Network av system - Google Patents

Network av system Download PDF

Info

Publication number
JP2006146900A
JP2006146900A JP2005316064A JP2005316064A JP2006146900A JP 2006146900 A JP2006146900 A JP 2006146900A JP 2005316064 A JP2005316064 A JP 2005316064A JP 2005316064 A JP2005316064 A JP 2005316064A JP 2006146900 A JP2006146900 A JP 2006146900A
Authority
JP
Japan
Prior art keywords
server
update
request
notification
uploader
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
JP2005316064A
Other languages
Japanese (ja)
Inventor
Toshinobu Sano
年伸 佐野
Susumu Takemura
進 竹村
Yasushi Ikeda
泰 池田
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 JP2005316064A priority Critical patent/JP2006146900A/en
Publication of JP2006146900A publication Critical patent/JP2006146900A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network AV system that can reduce traffic between a server and a client when the server updates a database. <P>SOLUTION: An uploader UL first sends a request start notification indicating the start of registration requests to the server SV (1) and then sends a plurality of registration requests for music data M10 to M1n to the server SV (2). Upon receiving the plurality of registration requests from the uploader UL, the server SV registers the music data M10 to M1n in the database DB in an HDD 14 (3). After sending all the registration requests, the uploader UL sends a request completion notification indicating the completion of registration requests to the server SV (4). Upon receiving the request completion notification, the server SV sends an update notification to the audio client CL (5). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、音声又は映像の再生が可能なネットワークAV(Audio/Video)システムに関し、さらに詳しくは、サーバと、サーバに接続可能なクライアントと、サーバに接続可能なアップローダとを備えたネットワークAVシステムに関する。   The present invention relates to a network AV (Audio / Video) system capable of reproducing audio or video, and more specifically, a network AV system including a server, a client connectable to the server, and an uploader connectable to the server. About.

最近、クライアントサーバシステムを利用したネットワークAVシステムが提供されている。下記の先行出願1及び2は、多数の曲データを蓄積したデータベースを有するサーバと、LAN(Local Area Network)経由で接続されたオーディオクライアントとを備えたネットワークAVシステムを開示する。オーディオクライアントは所望の曲データをサーバに要求し、これに応じてサーバは要求された曲データをオーディオクライアントに配信する。オーディオクライアントはサーバから配信された曲データを再生する。   Recently, a network AV system using a client server system has been provided. The following prior applications 1 and 2 disclose a network AV system including a server having a database storing a large number of music data and an audio client connected via a LAN (Local Area Network). The audio client requests desired music data from the server, and in response to this, the server delivers the requested music data to the audio client. The audio client reproduces the music data distributed from the server.

ネットワークAVシステムでは、アップローダによりサーバに新たな曲データを登録する。アップローダとは、サーバに曲データを登録させる機能を有する装置である。アップローダは、ネットワークを介してサーバと接続される。サーバに曲データを登録する場合、アップローダはサーバに登録要求を送信し、さらに登録する曲データを送信する。サーバは登録要求を受け、送信された曲データをデータベースに登録する。アップローダは単体で存在する場合もあるし、サーバ等の他の装置に含まれる場合もある。アップローダから送信された曲データを登録したサーバは、データベースが更新された旨(以下、更新通知と称する)をオーディオクライアントに送信する。   In the network AV system, new song data is registered in the server by the uploader. An uploader is a device having a function of registering song data in a server. The uploader is connected to the server via the network. When registering music data in the server, the uploader transmits a registration request to the server and further transmits music data to be registered. The server receives the registration request and registers the transmitted music data in the database. The uploader may exist alone or may be included in another device such as a server. The server that registers the song data transmitted from the uploader transmits to the audio client that the database has been updated (hereinafter referred to as update notification).

オーディオクライアントは更新通知を受けると、サーバが蓄積する曲データに関する曲情報を取得する。ここで、曲情報とは曲名やアーティスト名といった曲データを特定するための情報であり、曲データ自体は含まれない。オーディオクライアントは曲情報を取得し、曲情報に基づいてサーバに所望の曲データを要求する。   When the audio client receives the update notification, the audio client acquires song information related to the song data stored in the server. Here, the song information is information for specifying song data such as a song name and an artist name, and does not include the song data itself. The audio client obtains song information and requests desired song data from the server based on the song information.

従来、アップローダにより複数の曲データをサーバに登録する場合、サーバは1曲登録するごとにオーディオクライアントに更新通知を送信していた。すなわち、サーバは登録する曲データの数と同じ更新通知をオーディオクライアントに送信していた。そのため、オーディオクライアントとサーバとの間で通信量が多くなっていた。   Conventionally, when a plurality of song data is registered in the server by the uploader, the server transmits an update notification to the audio client every time one song is registered. In other words, the server transmits an update notification equal to the number of pieces of music data to be registered to the audio client. Therefore, the amount of communication between the audio client and the server has increased.

また、サーバが複数の曲データを登録することで、オーディオクライアントが複数の更新通知を受けた場合、オーディオクライアントは、更新通知に応じて曲情報を取得している最中に、新たな更新通知を受けることになる。この場合、オーディオクライアントは、曲情報の取得を中断して、改めて曲情報を再取得しなければならず、このことも通信量の増加を助長していた。   Also, if the audio client receives multiple update notifications by registering multiple song data by the server, the audio client will receive a new update notification while acquiring song information in response to the update notification. Will receive. In this case, the audio client must interrupt the acquisition of the song information and re-acquire the song information again, which also promotes an increase in the amount of communication.

特開2000−115165号公報JP 2000-115165 A

[先行出願1]PCT/JP03/06552
[先行出願2]特願2003−290384号
[Prior Application 1] PCT / JP03 / 06552
[Prior Application 2] Japanese Patent Application No. 2003-290384

本発明の目的は、サーバがデータベースを更新したときのサーバとクライアントとの通信量を減らすことのできるネットワークAVシステムを提供することである。   An object of the present invention is to provide a network AV system that can reduce the amount of communication between a server and a client when the server updates a database.

本発明によるネットワークAVシステムは、複数のコンテンツが蓄積されたデータベースを有するサーバと、サーバにネットワーク経由で接続され、データベースをサーバに更新させるアップローダと、サーバにネットワーク経由で接続され、複数のコンテンツの中から選択されたコンテンツをサーバから受け、選択されたコンテンツを再生するクライアントとを備える。アップローダは更新要求手段と完了通知手段とを備える。更新要求手段は、サーバにデータベースを更新させるための1又は複数の更新要求をサーバに送信する。完了通知手段は、更新要求手段が1又は複数の更新要求を送信した後、要求完了通知をサーバに送信する。サーバは更新手段と更新通知手段とを備える。更新手段は、1又は複数の更新要求に応じてデータベースを更新する。更新通知手段は、要求完了通知を受けた後、データベースが更新された旨の更新通知をクライアントに送信する。ここで、更新とは、データベースに新たなコンテンツを登録したり、データベース内のコンテンツの内容を変更したり、データベース内のコンテンツを削除したりすることをいう。   A network AV system according to the present invention includes a server having a database in which a plurality of contents are stored, an uploader connected to the server via the network and updating the database to the server, and connected to the server via the network. A client for receiving content selected from the server and playing the selected content. The uploader includes an update request unit and a completion notification unit. The update request means transmits one or a plurality of update requests for causing the server to update the database. The completion notification unit transmits a request completion notification to the server after the update request unit transmits one or more update requests. The server includes update means and update notification means. The update means updates the database in response to one or more update requests. After receiving the request completion notification, the update notification means transmits an update notification indicating that the database has been updated to the client. Here, updating means registering new content in the database, changing the content of the content in the database, or deleting the content in the database.

本発明によるネットワークAVシステムのサーバは、更新手段がデータベースを更新しても、アップローダから要求完了通知を受けるまでは、更新通知をクライアントに送信しない。よって、データベースを更新するごとに更新通知を送信していた従来のネットワークAVシステムと比較して、更新処理時のサーバとクライアントとの間での通信量を少なくできる。また、アップローダは1又は複数の更新要求を送信した後に要求完了通知を送信する。そのため、サーバは連続してデータベースを更新した場合であっても、すべて更新した後に更新通知をクライアントに送信できる。   The server of the network AV system according to the present invention does not transmit the update notification to the client until the request completion notification is received from the uploader even if the update means updates the database. Therefore, compared with a conventional network AV system that transmits an update notification every time the database is updated, the amount of communication between the server and the client during the update process can be reduced. The uploader transmits a request completion notification after transmitting one or more update requests. Therefore, even if the server continuously updates the database, it can send an update notification to the client after all the updates.

好ましくは、クライアントは取得手段と要求手段とを備える。取得手段は、更新通知を受けたとき選択されたコンテンツに関する情報をサーバから取得する。要求手段は、取得した情報に基づいて、選択されたコンテンツをサーバに要求する。ここで、コンテンツに関する情報とは、コンテンツ自体ではなく、コンテンツを特定するための情報である。たとえば、コンテンツが曲データの場合は、曲名やアーティスト名がコンテンツに関する情報となる。   Preferably, the client includes an acquisition unit and a request unit. The acquisition unit acquires information about the content selected when the update notification is received from the server. The requesting unit requests the server for the selected content based on the acquired information. Here, the information related to the content is information for specifying the content, not the content itself. For example, when the content is song data, the song name or artist name is information about the content.

サーバが連続してデータベースを更新する場合、従来は、クライアントは更新通知に応じてコンテンツに関する情報を取得している最中に、新たな更新通知を受ける。そのため、クライアントは情報の取得を中断して、改めて情報を取得しなければならなかった。本発明によるクライアントは、サーバがデータベースを更新し終えた後に、サーバから更新通知を受けるため、情報を取得している最中に新たに更新通知を受けることはない。その結果、通信量を少なくすることができる。   When the server continuously updates the database, conventionally, the client receives a new update notification while acquiring information about the content in response to the update notification. Therefore, the client had to stop acquiring information and acquire information again. Since the client according to the present invention receives an update notification from the server after the server finishes updating the database, the client does not receive a new update notification while acquiring information. As a result, the amount of communication can be reduced.

好ましくは、アップローダはさらに、開始通知手段を備える。開始通知手段は、更新要求手段が複数の更新要求を送信する前に、要求開始通知をサーバに送信する。更新通知手段は、要求開始通知を受けた場合、要求完了通知を受けた後に更新通知を送信し、要求開始通知を受けることなく更新要求を受けた場合、更新手段が更新要求に応じてデータベースを更新した後に更新通知を送信する。   Preferably, the uploader further includes start notification means. The start notifying unit transmits a request start notification to the server before the update request unit transmits a plurality of update requests. When the update notification means receives a request start notification, the update notification means transmits an update notification after receiving a request completion notification, and when it receives an update request without receiving a request start notification, the update means updates the database according to the update request Send update notification after update.

アップローダが更新要求を1回だけサーバに送信する場合、たとえば、新たなコンテンツを1つだけサーバに登録するような場合、アップローダが要求開始通知や要求完了通知を送信したならば、かえって通信量が増加してしまう。そこで、アップローダが更新要求を1回だけサーバに送信する場合は、アップローダが要求開始通知を送信しなくてもサーバは更新要求に応じて更新通知を送信できる。   When the uploader transmits an update request to the server only once, for example, when only one new content is registered in the server, if the uploader transmits a request start notification or a request completion notification, the traffic volume is rather high. It will increase. Therefore, when the uploader transmits the update request to the server only once, the server can transmit the update notification in response to the update request without transmitting the request start notification.

好ましくは、サーバはさらに判断手段を備える。判断手段は、データベースが更新されたか否かを判断する。更新通知手段は、データベースが更新されたと判断手段が判断したとき、更新通知を送信する。   Preferably, the server further includes a determination unit. The determination means determines whether or not the database has been updated. The update notification unit transmits an update notification when the determination unit determines that the database has been updated.

この場合、サーバは仮に要求完了通知を受けても、データベースが更新されていない場合は更新通知を送信しない。よって、アップローダが誤動作等により、更新を要求することなく要求完了通知を送信しても、サーバは更新通知を送信しない。   In this case, even if the server receives a request completion notification, the server does not transmit an update notification if the database has not been updated. Therefore, even if the uploader transmits a request completion notification without requesting an update due to a malfunction or the like, the server does not transmit an update notification.

本発明によるサーバは、複数のコンテンツが蓄積されたデータベースを有するサーバと、サーバにネットワーク経由で接続され、データベースをサーバに更新させるアップローダと、サーバにネットワーク経由で接続され、複数のコンテンツの中から選択されたコンテンツをサーバから受け、選択されたコンテンツを再生するクライアントとを備えるネットワークAVシステムにおけるサーバであって、更新手段と、更新通知手段とを備える。更新手段は、アップローダから送信されるデータベースの更新要求に応じてデータベースを更新する。更新通知手段は、アップローダから更新要求を完了する旨の要求完了通知を受けた後、データベースが更新された旨の更新通知をクライアントに送信する。   The server according to the present invention includes a server having a database in which a plurality of contents are stored, an uploader connected to the server via the network and updating the database to the server, and connected to the server via the network. A server in a network AV system that includes a client that receives selected content from a server and reproduces the selected content, and includes an update unit and an update notification unit. The update means updates the database in response to the database update request transmitted from the uploader. After receiving the request completion notification for completing the update request from the uploader, the update notification means transmits an update notification indicating that the database has been updated to the client.

好ましくは、更新通知手段は、アップローダから更新要求を開始する旨の要求開始通知を受けた場合、要求完了通知を受けた後に更新通知を送信し、要求開始通知を受けることなく更新要求を受けた場合、更新手段が更新要求に応じてデータベースを更新した後に更新通知を送信する。   Preferably, when the update notification means receives a request start notification to start an update request from the uploader, it transmits the update notification after receiving the request completion notification, and receives the update request without receiving the request start notification. In this case, the update means transmits an update notification after updating the database in response to the update request.

本発明によるサーバは、要求開始通知や要求完了通知を送信しない従来のアップローダにも対応できる。具体的には、要求開始通知を受けることなく更新要求を受けた場合、サーバは更新要求を受けた後に更新通知をクライアントに送信する。よって、この場合、要求完了通知を受けなくても更新通知を送信できる。   The server according to the present invention can cope with a conventional uploader that does not transmit a request start notification or a request completion notification. Specifically, when an update request is received without receiving a request start notification, the server transmits an update notification to the client after receiving the update request. Therefore, in this case, an update notification can be transmitted without receiving a request completion notification.

以下、図面を参照し、本発明の実施の形態を詳しく説明する。図中同一又は相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

1.ネットワークシステムの構成
図1を参照して、ネットワークAVシステム1は、サーバSVと、オーディオクライアントCLと、アップローダULとを備える。
1. Configuration of Network System Referring to FIG. 1, a network AV system 1 includes a server SV, an audio client CL, and an uploader UL.

サーバSVは複数の曲データM1〜Mn(Nは自然数)を蓄積したデータベースDBを有する。サーバSVはオーディオクライアントCLの求めに応じて、データベースDB内の複数の曲データM1〜Mnのうち、オーディオクライアントCLのユーザが選択した曲データをオーディオクライアントCLに配信する。   The server SV has a database DB that stores a plurality of pieces of music data M1 to Mn (N is a natural number). In response to the request from the audio client CL, the server SV distributes music data selected by the user of the audio client CL among the music data M1 to Mn in the database DB to the audio client CL.

オーディオクライアントCLはサーバSVから配信される曲データを再生する。オーディオクライアントCLはLAN10を経由してサーバSVと接続される。   The audio client CL reproduces music data distributed from the server SV. The audio client CL is connected to the server SV via the LAN 10.

アップローダULはサーバSVに新たな曲データを登録させたり、データベースDB内の曲データMnの内容をサーバSVに変更させたり、データベースDB内の曲データMnをサーバSVに削除させたりする。アップローダULはLAN10を経由してサーバSVと接続される。   The uploader UL causes the server SV to register new song data, changes the content of the song data Mn in the database DB to the server SV, or causes the server SV to delete the song data Mn in the database DB. The uploader UL is connected to the server SV via the LAN 10.

図1では、サーバSVとオーディオクライアントCLとアップローダULとはそれぞれ1つずつ示したが、それぞれがネットワーク10上に複数存在していてもよい。   In FIG. 1, one server SV, one audio client CL, and one uploader UL are shown, but a plurality of them may exist on the network 10.

1.2.サーバの構成
図2を参照して、サーバSV1は、HDD(ハードディスクドライブ)14と、データベース管理部16及びネットワークプロトコル処理部18を含むCPU処理部20と、サーバSVとLAN10との間で信号を送受信するLANコントローラ22とを備える。HDD14は、データベースDBを保存する。データベースDBは複数の圧縮デジタル曲データM1〜Mnを蓄積する。データベース管理部16は、HDD14を管理する。具体的には、オーディオクライアントCLからの要求に応じ、HDD14から所望の曲データMnを選択する。また、アップローダULからの要求に応じ、新たな曲データをHDD14に登録したり、後述するHDD14内の曲データMnの曲情報を変更したり、曲データMnを削除したりする。ネットワークプロトコル処理部18は入出力されるデータをプロトコル処理する。
1.2. Configuration of Server Referring to FIG. 2, server SV1 transmits signals between HDD (Hard Disk Drive) 14, CPU processing unit 20 including database management unit 16 and network protocol processing unit 18, and server SV and LAN 10. And a LAN controller 22 for transmitting and receiving. The HDD 14 stores a database DB. The database DB stores a plurality of compressed digital music data M1 to Mn. The database management unit 16 manages the HDD 14. Specifically, desired music data Mn is selected from the HDD 14 in response to a request from the audio client CL. Further, in response to a request from the uploader UL, new song data is registered in the HDD 14, song information of song data Mn in the HDD 14 to be described later is changed, or song data Mn is deleted. The network protocol processing unit 18 performs protocol processing on input / output data.

HDD14には表1に示す曲リスト(Music List)MLが格納される。

Figure 2006146900
The HDD 14 stores a music list ML shown in Table 1.
Figure 2006146900

表1を参照して、曲リストMLは、複数の曲情報I1〜Inを含む。曲情報I1〜Inは、HDD14内のデータベースDBに蓄積された複数の曲データM1〜Mnに関する情報である。表2に曲情報Inの詳細を示す。

Figure 2006146900
Referring to Table 1, song list ML includes a plurality of song information I1 to In. The song information I1 to In is information related to a plurality of song data M1 to Mn stored in the database DB in the HDD 14. Table 2 shows details of the song information In.
Figure 2006146900

表2を参照して、曲情報Inはファイル名と、曲名と、アーティスト名と、アルバム名と、ジャンル名と、曲の長さ(時間)と、ファイルフォーマットと、曲IDとを含む。ファイル名には、当該曲データMnが格納されているHDD14のフルパス名が記録される。   Referring to Table 2, song information In includes a file name, song name, artist name, album name, genre name, song length (time), file format, and song ID. In the file name, the full path name of the HDD 14 storing the song data Mn is recorded.

サーバSVはさらに、HDD14に表3に示すクライアント情報CLI(Client Information)を格納する。クライアント情報CLIはクライアント装置(オーディオクライアントCL及びアップローダUL)に関する情報である。

Figure 2006146900
The server SV further stores client information CLI (Client Information) shown in Table 3 in the HDD 14. The client information CLI is information related to the client device (audio client CL and uploader UL).
Figure 2006146900

表3を参照して、クライアント情報CLI中の「flag」は、サーバSVとの接続の有無を示す。接続がある場合、「flag」はセットされ、接続がない場合、「flag」はリセットされる。「type」はクライアントCLやアップローダULといったクライアントタイプを示す。「status」は、再生、停止、完了、一時停止、早送り、巻き戻しなど、現在のステータス(動作状態)である。「停止」は、オーディオクライアントCL自身での操作に応じて、選択された曲の再生を途中で止めた状態である。「完了」は、選択された曲を最後まで再生し終えた状態である。「volume」は現在のボリューム値(音量)を示す。「productid」は、クライアントタイプごとに付与されたプロダクトID(機種情報)である。同じタイプのクライアントCLには同じプロダクトIDが付与される。たとえば、オーディオクライアントCLには「1」、アップローダULには「2」が付与される。「firmwareid」は、クライアント装置にインストールされているファームウェアのバージョンを示すファームウェアIDである。「hostname」は、クライアント装置に付与されたクライアント名である。「songID」は、再生中の曲を識別するための曲IDである。「curKey」は、再生中の曲リストであるプレイリストPLを作成するために必要なリスト構築キーである。プレイリストPLについては後述する。   Referring to Table 3, “flag” in the client information CLI indicates whether or not there is a connection with the server SV. If there is a connection, “flag” is set, and if there is no connection, “flag” is reset. “Type” indicates a client type such as client CL or uploader UL. “Status” is a current status (operation state) such as playback, stop, completion, pause, fast forward, and rewind. “Stop” is a state in which playback of the selected music piece is stopped halfway in response to an operation on the audio client CL itself. “Completed” is a state in which the selected song has been played to the end. “Volume” indicates the current volume value (volume). “Productid” is a product ID (model information) assigned to each client type. The same product ID is assigned to the same type of client CL. For example, “1” is assigned to the audio client CL, and “2” is assigned to the uploader UL. “Firmwareid” is a firmware ID indicating the version of the firmware installed in the client device. “Hostname” is a client name assigned to the client device. “SongID” is a song ID for identifying a song being reproduced. “CurKey” is a list construction key necessary for creating a playlist PL which is a list of songs being reproduced. The playlist PL will be described later.

リスト構築キーは、フィルタの種類と、キーワードとを含む。フィルタの種類には、タイトル名、ジャンル名、アーティスト名、アルバム名、ファイル名などがある。たとえばフィルタの種類がアーティスト名の場合、キーワードには所望のアーティストの名称が記録される。リスト構築キーでHDD14を検索することにより所望の曲リストMLを作成することができる。詳細は前述した先行出願1に開示されている。   The list construction key includes a filter type and a keyword. Filter types include title name, genre name, artist name, album name, and file name. For example, when the type of filter is an artist name, the name of the desired artist is recorded as the keyword. A desired music list ML can be created by searching the HDD 14 with a list construction key. Details are disclosed in the aforementioned prior application 1.

なお、クライアント装置がアップローダULの場合、表3中の「status」,「volume」,「songID」,「curKey」は登録されない。   When the client device is the uploader UL, “status”, “volume”, “songID”, and “curKey” in Table 3 are not registered.

1.3.オーディオクライアントの構成
図3を参照して、オーディオクライアントCLは、ネットワークプロトコル処理部24及びシステム動作部26を含むマイコン処理部28と、フラッシュメモリ30と、順次入力された圧縮デジタル曲データを一時的に記憶して順次出力するメモリ32と、圧縮デジタル曲データをデコードして非圧縮デジタル曲データを生成する音声処理部34と、デジタル曲データをアナログ曲データに変換するD/A変換器(DAC)36と、本オーディオクライアントCLとLAN10との間で信号を送受信するLANコントローラ38とを備える。システム動作部26はオーディオクライアントCL全体を制御する。
1.3. Configuration of Audio Client Referring to FIG. 3, the audio client CL temporarily stores a microcomputer processing unit 28 including a network protocol processing unit 24 and a system operation unit 26, a flash memory 30, and sequentially input compressed digital music data. A memory 32 for storing and sequentially outputting, a sound processing unit 34 for decoding compressed digital music data to generate uncompressed digital music data, and a D / A converter (DAC) for converting digital music data into analog music data ) 36, and a LAN controller 38 for transmitting and receiving signals between the audio client CL and the LAN 10. The system operation unit 26 controls the entire audio client CL.

オーディオクライアントCLは、サーバSVと異なり、曲データMnを蓄積するためのHDDを備えていない。   Unlike the server SV, the audio client CL does not include an HDD for storing the song data Mn.

1.4.アップローダの構成
図4を参照して、アップローダULは、要求作成部41とネットワークプロトコル処理部42とを含むCPU処理部40と、サーバSVに送信する1又は複数の曲データを記憶するHDD44と、本アップローダULとLAN10との間で信号を送受信するLANコントローラ43とを備える。要求作成部41は、曲データの登録、変更、削除といった更新要求と、後述する要求開始通知及び要求完了通知とを作成する。なお、HDD44はメモリであってもよい。
1.4. Configuration of Uploader Referring to FIG. 4, the uploader UL includes a CPU processing unit 40 including a request creation unit 41 and a network protocol processing unit 42, an HDD 44 that stores one or a plurality of song data to be transmitted to the server SV, A LAN controller 43 that transmits and receives signals between the uploader UL and the LAN 10 is provided. The request creation unit 41 creates an update request such as registration, change, and deletion of music data, and a request start notification and a request completion notification described later. The HDD 44 may be a memory.

2.ネットワークAVシステムの動作
2.1.アップローダが複数の曲データをサーバに登録させる場合
図5を参照して、本実施の形態によるネットワークAVシステム1で、アップローダULが複数の曲データM10〜M1nをサーバSVに登録させる場合、アップローダULは初めに登録要求を開始する旨の要求開始通知をサーバSVに送信する(図中(1))。続いて、アップローダULは複数の曲データM10〜M1nの登録要求をサーバSVに送信する(図中(2))。このとき、アップローダULは登録要求を曲データごとに送信する。サーバSVはアップローダULからの複数の登録要求を受け、曲データM10〜M1nをHDD14内のデータベースDBに登録する(図中(3))。
2. Operation of network AV system 2.1. When Uploader Registers Multiple Song Data with Server Referring to FIG. 5, when uploader UL registers multiple song data M10 to M1n with server SV in network AV system 1 according to the present embodiment, uploader UL Transmits a request start notification to start the registration request to the server SV ((1) in the figure). Subsequently, the uploader UL transmits a registration request for a plurality of pieces of music data M10 to M1n to the server SV ((2) in the figure). At this time, the uploader UL transmits a registration request for each piece of music data. The server SV receives a plurality of registration requests from the uploader UL and registers the song data M10 to M1n in the database DB in the HDD 14 ((3) in the figure).

アップローダULは登録すべき曲データM10〜M1nの全ての登録要求を送信した後、登録要求を完了した旨の要求完了通知をサーバSVに送信する(図中(4))。サーバSVは、アップローダULからの要求完了通知を受け、オーディオクライアントCLに更新通知を送信する(図中(5))。   The uploader UL transmits all the registration requests for the music data M10 to M1n to be registered, and then transmits a request completion notification indicating that the registration request has been completed to the server SV ((4) in the figure). The server SV receives the request completion notification from the uploader UL and transmits an update notification to the audio client CL ((5) in the figure).

複数の曲データM10〜M1nを連続してサーバSVに登録する場合、従来のサーバSVは1つの曲データM1nが登録されるごとにオーディオクライアントCLに更新通知を送信していた。具体的には、サーバSVは曲データM10を登録した後に更新通知を出し、曲データM11を登録した後に更新通知を出し、曲データM1nを登録した後に更新通知を出していた。本実施の形態によるネットワークAVシステムのサーバSVは、全ての曲データM10〜M1nを登録した後に、1回だけ更新通知をオーディオクライアントCLに送信する。このため、サーバSVとオーディオクライアントCLとの間の通信量は減少する。以下、詳細を説明する。   When a plurality of song data M10 to M1n are continuously registered in the server SV, the conventional server SV transmits an update notification to the audio client CL every time one song data M1n is registered. Specifically, the server SV issues an update notification after registering the song data M10, issues an update notification after registering the song data M11, and issues an update notification after registering the song data M1n. The server SV of the network AV system according to the present embodiment transmits an update notification to the audio client CL only once after registering all the music data M10 to M1n. For this reason, the amount of communication between the server SV and the audio client CL decreases. Details will be described below.

2.1.1.サーバとの接続動作
アップローダULがサーバSVに曲データM10〜M1nを登録させる場合、初めにアップローダULはサーバSVと接続を確立する。以下、アップローダULによるサーバSVとの接続処理を説明するが、オーディオクライアントCLによるサーバSVとの接続処理も同じである。
2.1.1. Connection Operation with Server When the uploader UL registers the music piece data M10 to M1n in the server SV, the uploader UL first establishes a connection with the server SV. Hereinafter, the connection process with the server SV by the uploader UL will be described, but the connection process with the server SV by the audio client CL is the same.

図6を参照して、アップローダULは、TCP(Transmission Control Protocol)に従い、サーバSVのIP(Internet Protocol)アドレス及びコマンドポートでソケットを生成し、このソケットでサーバSVに接続を要求する(S101)。コマンドポートは、アップローダULからサーバSVへのコマンドを受信し、かつサーバSVからアップローダULへの応答を送信するためのポートである。サーバSVはコマンドポートでの接続を受け付け(S251)、接続に成功した場合はステップS103に進む(S102)。これによりアップローダULはサーバSVのコマンドポートに接続を確立する。   Referring to FIG. 6, uploader UL generates a socket with the IP (Internet Protocol) address and command port of server SV according to TCP (Transmission Control Protocol), and requests connection to server SV using this socket (S101). . The command port is a port for receiving a command from the uploader UL to the server SV and transmitting a response from the server SV to the uploader UL. The server SV accepts connection at the command port (S251), and if the connection is successful, the process proceeds to step S103 (S102). As a result, the uploader UL establishes a connection to the command port of the server SV.

続いて、アップローダULはコマンドポートにクライアントインデックス要求コマンドを送信する(S103)。サーバSVはクライアントインデックス要求コマンドに応答してコマンドポートからクライアントインデックスをアップローダULに返信し(S252)、アップローダULはこれを受信する(S104)。クライアントインデックス要求コマンドは、アップローダULがサーバSVにクライアントインデックスを要求するコマンドである。クライアントインデックスは、サーバSVからアップローダULに割り当てられる識別子(ID)である。   Subsequently, the uploader UL transmits a client index request command to the command port (S103). In response to the client index request command, the server SV returns the client index from the command port to the uploader UL (S252), and the uploader UL receives this (S104). The client index request command is a command for the uploader UL to request a client index from the server SV. The client index is an identifier (ID) assigned from the server SV to the uploader UL.

続いて、アップローダULは、TCPに従い、サーバSVのIPアドレス及びプッシュポートでソケットを生成し、このソケットでサーバSVに接続を要求する(S105)。プッシュポートは、サーバSVからアップローダULへの要求を送信するためのポートである。サーバSVはプッシュポートでの接続を受け付け(S253)、接続が成功した場合はステップS107に進む(S106)。これによりアップローダULはサーバSVのプッシュポートに接続を確立する。ただし、この時点ではまだ、サーバSVはプッシュポートに接続された装置がアップローダULなのかオーディオクライアントCLなのか特定できていない。そのため、アップローダULはステップS104で受信したクライアントインデックスをサーバSVのプッシュポートに送信する(S107)。サーバSVはクライアントインデックスを受信し(S254)、これによりプッシュポートに接続された装置をアップローダULと特定する。   Subsequently, the uploader UL generates a socket with the IP address and push port of the server SV in accordance with TCP, and requests connection to the server SV using this socket (S105). The push port is a port for transmitting a request from the server SV to the uploader UL. The server SV accepts the connection at the push port (S253), and if the connection is successful, the process proceeds to step S107 (S106). As a result, the uploader UL establishes a connection to the push port of the server SV. However, at this time, the server SV has not yet identified whether the device connected to the push port is the uploader UL or the audio client CL. Therefore, the uploader UL transmits the client index received in step S104 to the push port of the server SV (S107). The server SV receives the client index (S254), and thereby identifies the device connected to the push port as the uploader UL.

2.1.2.曲データ更新動作
図7を参照して、アップローダULが曲データM10〜M1nをサーバSVに登録させる場合、初めにアップローダULはサーバSVに要求開始通知を送信する(S201)。サーバSVは要求開始通知を受け、開始通知受信処理を行う(S202)。開始通知受信処理とは、サーバSVがアップローダULから要求開始通知を受けたことを確認するための処理である。
2.1.2. Song Data Update Operation Referring to FIG. 7, when uploader UL registers song data M10 to M1n in server SV, uploader UL first transmits a request start notification to server SV (S201). The server SV receives the request start notification and performs start notification reception processing (S202). The start notification reception process is a process for confirming that the server SV has received a request start notification from the uploader UL.

アップローダULは要求開始通知を送信した後、曲データM10〜M1nの登録をサーバSVに要求する(S20)。このとき、アップローダULは曲データM10〜M1nごとに更新要求を行う(S203)。具体的には、曲データM10〜M1nをサーバSVに登録させるために、アップローダULはサーバSVに対してn回更新要求を行う(S20,S203)。サーバSVはアップローダULから更新要求を受けるごとに更新処理を実行する(S204)。更新処理とは、ここでは、サーバSVが曲データM1nをHDD14内データベースDBに登録する処理をいう。   After transmitting the request start notification, the uploader UL requests the server SV to register the song data M10 to M1n (S20). At this time, the uploader UL makes an update request for each piece of music data M10 to M1n (S203). Specifically, in order to register the song data M10 to M1n in the server SV, the uploader UL makes an update request n times to the server SV (S20, S203). The server SV executes an update process every time an update request is received from the uploader UL (S204). Here, the update process is a process in which the server SV registers the song data M1n in the HDD 14 database DB.

アップローダULは曲データM10〜M1nの登録を要求した後(S20)、要求完了通知をサーバSVに送信する(S205)。サーバSVは要求完了通知を受けた後、完了通知受信処理を実行する(S206)。具体的には、サーバSVは要求完了通知を受けたとき、アップローダULからの更新要求が完了したと判断し、データベースDBが更新された旨の通知(更新通知)をオーディオクライアントCL及びアップローダULに送信する(S206)。オーディオクライアントCL及びアップローダULはそれぞれ更新通知を受信する(S207、S208)。以下、ステップS202の開始通知受信処理、ステップS203の更新要求処理、ステップS204の更新処理、ステップS206の完了通知受信処理について詳細を説明する。   The uploader UL requests registration of the music data M10 to M1n (S20), and then transmits a request completion notification to the server SV (S205). After receiving the request completion notification, the server SV executes a completion notification reception process (S206). Specifically, when the server SV receives the request completion notification, the server SV determines that the update request from the uploader UL has been completed, and notifies the audio client CL and the uploader UL that the database DB has been updated (update notification). Transmit (S206). The audio client CL and the uploader UL each receive an update notification (S207, S208). Details of the start notification reception process in step S202, the update request process in step S203, the update process in step S204, and the completion notification reception process in step S206 will be described below.

[開始通知受信処理]
ステップS202では、アップローダULからの要求開始通知を受け、サーバSVが要求開始通知を受けた状態であることを記憶する。具体的には、サーバSVはHDD14に格納された更新ステータステーブルを更新する。

Figure 2006146900
[Start notification reception processing]
In step S202, a request start notification is received from the uploader UL, and the server SV is stored in a state in which the request start notification has been received. Specifically, the server SV updates the update status table stored in the HDD 14.
Figure 2006146900

表4を参照して、更新ステータステーブルのステータス値が「0」のとき、サーバSVはアップローダULから要求開始通知を受けていない状態である。ステータス値が「1」のとき、サーバSVはアップローダULから要求開始通知を受けているが、データベースDBが未だ更新されていない状態である。ステータス値が「2」のとき、サーバSVは要求開始通知を受け、かつデータベースDBが更新された状態である。   Referring to Table 4, when the status value in the update status table is “0”, the server SV has not received a request start notification from the uploader UL. When the status value is “1”, the server SV has received a request start notification from the uploader UL, but the database DB has not yet been updated. When the status value is “2”, the server SV receives a request start notification and the database DB is updated.

図8を参照して、アップローダULから要求開始通知を受けたとき、サーバSVは更新ステータステーブル内のステータス値が「0」であるか否かを判断する(S2021)。ステータス値が「0」の場合は、ステータス値を「1」に変更する(S2022)。これにより、サーバSVは自身が要求開始通知を受けていると判断できる。なお、ステップS2021での判断の結果、更新ステータスが「0」以外の場合、サーバSVはステータス値を変更せず、そのまま開始通知受信処理を終了する。   Referring to FIG. 8, when receiving a request start notification from uploader UL, server SV determines whether or not the status value in the update status table is “0” (S2021). If the status value is “0”, the status value is changed to “1” (S2022). As a result, the server SV can determine that it has received a request start notification. If the update status is other than “0” as a result of the determination in step S2021, the server SV does not change the status value and ends the start notification receiving process.

[更新要求処理及び更新処理]
図9を参照して、アップローダは曲データM1nの登録を要求する旨の更新要求をサーバSVに送信する(S2031)。このとき、アップローダULは曲データM1nの曲情報I1nを更新要求に付加して送信する。
[Update request processing and update processing]
Referring to FIG. 9, the uploader transmits an update request to request registration of song data M1n to server SV (S2031). At this time, the uploader UL adds the music information I1n of the music data M1n to the update request and transmits it.

サーバSVは更新要求を受信し(S2041)、曲データM1nを格納するためにデータベースDB内に新規曲IDを登録する(S2042)。サーバSVは新規曲IDをアップローダULに送信する(S2043)。アップローダULは新規曲IDを受信し(S2032)、受信した新規曲IDを付与した曲データM1nをサーバSVに送信する(S2033)。サーバSVは曲データM1nを受信し、データベースDB内の新規曲IDの領域に曲データM1nを登録する(S2044)。   The server SV receives the update request (S2041), and registers a new song ID in the database DB to store the song data M1n (S2042). The server SV transmits the new song ID to the uploader UL (S2043). The uploader UL receives the new song ID (S2032), and transmits the received song data M1n to which the new song ID is assigned to the server SV (S2033). The server SV receives the music data M1n, and registers the music data M1n in the area of the new music ID in the database DB (S2044).

曲データM1nを登録後、サーバSVは全曲データM1〜Mnの曲リストMLを更新する(S2045)。具体的にはサーバSVは曲リストMLに曲データM1nの曲情報I1nを登録する。   After registering the song data M1n, the server SV updates the song list ML of all the song data M1 to Mn (S2045). Specifically, the server SV registers the song information I1n of the song data M1n in the song list ML.

曲リストMLを更新後、サーバSVは更新ステータステーブルの更新を行う(S2046〜S2049)。初めに、サーバSVは更新ステータステーブル内のステータス値が「0」である否かを判断する(S2046)。判断の結果、ステータス値が「0」でない場合、サーバSVはステータス値が「1」であるか否かを判断する(S2048)。本実施の形態では、サーバSVはアップローダULから要求開始通知を受けているため(ステップS202)、ステータス値は通常「1」である。ステータス値が「1」である場合、サーバSVはステータス値を「2」に変更する(S2049)。つまり、サーバSVは自身が要求開始通知を受け、かつ曲データM1nの登録も行った状態であることを記憶する。   After updating the song list ML, the server SV updates the update status table (S2046 to S2049). First, the server SV determines whether or not the status value in the update status table is “0” (S2046). If the status value is not “0” as a result of the determination, the server SV determines whether the status value is “1” (S2048). In the present embodiment, since the server SV receives a request start notification from the uploader UL (step S202), the status value is normally “1”. If the status value is “1”, the server SV changes the status value to “2” (S2049). That is, the server SV stores that it has received a request start notification and has also registered the song data M1n.

なお、サーバSVが2曲目以降の曲データM11〜M1nを登録するときは、更新ステータステーブルのステータス値は既に「2」になっている。そのため、ステップS2048での判断の結果、ステータス値は「2」であるため、サーバSVはステータス値を変更することなく、そのまま更新処理を終了する。   When the server SV registers the music data M11 to M1n after the second music, the status value in the update status table is already “2”. Therefore, since the status value is “2” as a result of the determination in step S2048, the server SV ends the update process as it is without changing the status value.

[完了通知処理]
ステップS20で複数の曲データM10〜M1nがサーバSVのデータベースDBに登録された後、サーバSVは更新通知をオーディオクライアントCL及びアップローダULに送信する(S206)。図10を参照して、サーバSVは更新ステータステーブル内のステータス値が「2」であるか否かを判断する(S2061)。判断の結果、ステータス値が「2」である場合、サーバSVはオーディオクライアントCL及びアップローダULに更新通知を送信する(S2062)。更新通知を送信後、サーバSVはステータス値を「0」に戻し(S2064)、完了通知処理を終了する。
[Completion notification processing]
After the plurality of song data M10 to M1n are registered in the database DB of the server SV in step S20, the server SV transmits an update notification to the audio client CL and the uploader UL (S206). Referring to FIG. 10, the server SV determines whether or not the status value in the update status table is “2” (S2061). If the status value is “2” as a result of the determination, the server SV transmits an update notification to the audio client CL and the uploader UL (S2062). After transmitting the update notification, the server SV returns the status value to “0” (S2064), and ends the completion notification processing.

一方、ステップS2061での判断の結果、ステータス値が「2」でない場合、サーバSVはさらにステータス値が「1」であるか否かを判断する(S2063)。判断の結果、ステータス値が「1」である場合、アップローダULから要求開始通知を受けたものの、曲データM1nの登録がなかったことになる。よってこの場合は更新通知を送信せず、ステータス値を「0」に戻す(S2064)。なお、ステップS2063で判断の結果、更新ステータスが「1」でない場合、更新ステータス値は「0」であるため、サーバSVはそのまま完了通知処理を終了する。   On the other hand, if the status value is not “2” as a result of the determination in step S2061, the server SV further determines whether the status value is “1” (S2063). As a result of the determination, if the status value is “1”, the request start notification is received from the uploader UL, but the song data M1n is not registered. Therefore, in this case, the update notification is not transmitted and the status value is returned to “0” (S2064). If the update status is not “1” as a result of the determination in step S2063, the update status value is “0”, and thus the server SV ends the completion notification process.

以上の動作により、サーバSVはアップローダULから要求完了通知を受けた後、つまり、複数の曲データM10〜M1nを登録した後に更新通知を送信する。そのため、曲データM1nを登録するごとに更新通知を送信していた従来のネットワークAVシステムと比較して、サーバSVとオーディオクライアントCLとの間の通信量を減少させることができる。   With the above operation, the server SV transmits an update notification after receiving a request completion notification from the uploader UL, that is, after registering a plurality of song data M10 to M1n. Therefore, the communication volume between the server SV and the audio client CL can be reduced as compared with the conventional network AV system that transmits the update notification every time the music piece data M1n is registered.

さらに、サーバSVは更新ステータステーブルで、自身の状態を確認できる。具体的には、サーバSVが要求開始通知を受けたか否か、データベースDBを更新したか否かを更新ステータステーブルにより判断できる。その結果、要求開始通知を受けたものの、データベースDBが更新されてないといった場合に、要求完了通知が来ても、更新通知を送信しない。これにより、無駄な通信が発生するのを防止できる。   Furthermore, the server SV can confirm its own state in the update status table. Specifically, it can be determined from the update status table whether the server SV has received a request start notification and whether the database DB has been updated. As a result, when the request start notification is received but the database DB is not updated, the update notification is not transmitted even if the request completion notification is received. Thereby, it is possible to prevent unnecessary communication from occurring.

2.1.3.再生動作
図11を参照して、サーバSVから更新通知を受けたオーディオクライアントCLは(S207)、プレイリストPLをサーバSVに要求する(S210)。プレイリストPLとは、サーバSVに登録されている曲リストMLの曲情報I1〜Inのうち、オーディオクライアントCLのユーザがリスト構築キーにより選択した1又は複数の曲情報Inをリストにしたものである。たとえば、オーディオクライアントCLのユーザがアーティストPの曲を再生したい場合、ステップS210でオーディオクライアントCLは表5に示すリスト要求コマンドを送信する。

Figure 2006146900
2.1.3. Reproduction Operation Referring to FIG. 11, the audio client CL that has received the update notification from the server SV (S207) requests the play list PL from the server SV (S210). The playlist PL is a list of one or more pieces of music information In selected by the user of the audio client CL with the list construction key from the music information I1 to In of the music list ML registered in the server SV. is there. For example, when the user of the audio client CL wants to reproduce the music of artist P, the audio client CL transmits a list request command shown in Table 5 in step S210.
Figure 2006146900

リスト要求コマンドは、リスト構築キーのフィルタ種類とキーワードとを含む。サーバSVはオーディオクライアントCLからのリスト要求コマンドを受け(S211)、リスト構築キーに基づいてプレイリストPLを作成する。具体的には、サーバSVはアーティスト名「P」の曲情報Inを曲リストMLから選択し、選択された1又は複数の曲情報Inに基づいてプレイリストPLを作成する。作成されたプレイリストPLはオーディオクライアントCLに送信される(S212)。なお、受信したリスト構築キーはサーバSV内のクライアント情報CLIに登録される。   The list request command includes a list construction key filter type and a keyword. The server SV receives a list request command from the audio client CL (S211), and creates a playlist PL based on the list construction key. Specifically, the server SV selects the song information In of the artist name “P” from the song list ML, and creates a playlist PL based on the selected one or more pieces of song information In. The created playlist PL is transmitted to the audio client CL (S212). The received list construction key is registered in the client information CLI in the server SV.

オーディオクライアントCLはプレイリストPLを受信し(S213)、プレイリストPLに基づいて、曲データMnを再生する曲再生処理を実行する(S300)。このとき、サーバSVはオーディオクライアントCLからの要求に応じ、曲データMnをオーディオクライアントCLに配信する曲配信処理を実行する(S310)。以下、曲再生処理及び曲配信処理について詳細を説明する。   The audio client CL receives the playlist PL (S213), and executes a song reproduction process for reproducing the song data Mn based on the playlist PL (S300). At this time, the server SV executes a music distribution process for distributing the music data Mn to the audio client CL in response to a request from the audio client CL (S310). Hereinafter, the music reproduction process and the music distribution process will be described in detail.

図12を参照して、オーディオクライアントはコマンドポートを介して表6に示す曲データ転送要求コマンドを送信する(S301)。

Figure 2006146900
Referring to FIG. 12, the audio client transmits a song data transfer request command shown in Table 6 through the command port (S301).
Figure 2006146900

この曲データ転送要求コマンドは、転送すべき曲データMnの取得開始アドレス及び取得データ長を含む。なお、曲データMnはたとえばプレイリストPLのリスト順に転送要求される。   This song data transfer request command includes the acquisition start address and the acquisition data length of the song data Mn to be transferred. The song data Mn is requested to be transferred in the order of the playlist PL, for example.

サーバSVは曲データMnの転送要求コマンドに応答して、取得開始アドレスにより指定された先頭アドレスからその取得データ長分だけ曲データMnのデータをオーディオクライアントCLに配信する(S311)。オーディオクライアントCLは配信された曲データMnのデータをメモリ32に格納する。メモリ32は複数のバッファを含む。オーディオクライアントCLは曲データ転送要求コマンドで曲の先頭から1バッファ分(=取得データ長)の曲データを取得して格納する(S302)。格納後、オーディオクライアントCLはメモリ32のバッファが全て曲データで埋まったか判断し(S303)、バッファが全て埋まるまで曲データを取得して格納する。   In response to the song data Mn transfer request command, the server SV distributes the song data Mn to the audio client CL from the start address specified by the acquisition start address by the length of the obtained data (S311). The audio client CL stores the distributed music data Mn in the memory 32. The memory 32 includes a plurality of buffers. The audio client CL acquires and stores music data for one buffer (= acquired data length) from the head of the music by a music data transfer request command (S302). After the storage, the audio client CL determines whether all the buffers in the memory 32 are filled with music data (S303), and acquires and stores music data until all the buffers are filled.

ステップS301〜S303を繰り返し、バッファが曲データで全て埋まったら、オーディオクライアントCLは再生を開始する(S304)。具体的には、メモリ32内の先頭バッファから曲データを音声処理部34に出力し始める。曲データを出力して再生していると、やがて1バッファ分の空きが生じる。メモリ32に空きが生じると(S305)、オーディオクライアントCLは再び曲データ転送要求をサーバSVに送信し(S306)、サーバSVは要求分の曲データを配信する(S312)。オーディオクライアントCLは配信された曲データをメモリ32の空いたバッファに格納する(S307)。格納後、オーディオクライアントCLは曲データMnを全て受信したか否か確認する(S308)。曲データMnを全て受信していない場合、すなわち、サーバSVが曲データMnの全データを未だオーディオクライアントCLに送信していない場合、オーディオクライアントCL及びサーバSVは再生によりメモリ32に空きが生じるたびにステップS306、S312、S307を繰り返す。なお、上記では、バッファが曲データで全て埋まってから再生を開始しているが、全て埋まる前に再生し始めてもよい。   Steps S301 to S303 are repeated, and when the buffer is completely filled with music data, the audio client CL starts reproduction (S304). Specifically, the music data starts to be output from the head buffer in the memory 32 to the audio processing unit 34. When music data is output and played back, there will eventually be an empty space for one buffer. When the memory 32 becomes empty (S305), the audio client CL transmits a music data transfer request to the server SV again (S306), and the server SV distributes the music data for the request (S312). The audio client CL stores the distributed music piece data in an empty buffer in the memory 32 (S307). After the storage, the audio client CL confirms whether or not all the music piece data Mn has been received (S308). When all the song data Mn has not been received, that is, when the server SV has not yet sent all the data of the song data Mn to the audio client CL, the audio client CL and the server SV are freed up in the memory 32 due to reproduction. Steps S306, S312, and S307 are repeated. In the above description, the reproduction is started after the buffer is completely filled with music data. However, the reproduction may be started before the buffer is completely filled.

オーディオクライアントCLがサーバSVから曲データMnを全て受信した場合(S308)、オーディオクライアントCLは曲データMnを全て再生するまで再生動作を継続する(S309)。なお、曲データMnの再生が完了したら、オーディオクライアントCLはプレイリストPLに基づいて、次の曲データMnの転送要求をサーバSVに送信する。   When the audio client CL receives all the song data Mn from the server SV (S308), the audio client CL continues the reproduction operation until all the song data Mn is reproduced (S309). When the reproduction of the music data Mn is completed, the audio client CL transmits a transfer request for the next music data Mn to the server SV based on the playlist PL.

2.2.アップローダが曲データを1つだけサーバに登録させる場合
再び図7を参照して、アップローダULが曲データM10だけをサーバSVに登録させる場合、ステップS20での更新要求処理(S203)を1回だけ実行する。さらに、このとき、アップローダULはステップS201の要求開始通知の送信を行わない。つまり、アップローダULはステップS203の動作から開始する。そのため、サーバSVはステップS202の開始通知受信処理を行わず、更新ステータステーブルのステータス値は「0」のままとなる。このときのサーバSVの更新処理(S204)について説明する。
2.2. When Uploader Registers Only One Song Data with Server Referring to FIG. 7 again, when uploader UL registers only song data M10 with server SV, the update request process (S203) at step S20 is performed only once. Execute. At this time, the uploader UL does not transmit the request start notification in step S201. That is, the uploader UL starts from the operation of step S203. Therefore, the server SV does not perform the start notification reception process in step S202, and the status value in the update status table remains “0”. The server SV update process (S204) at this time will be described.

図9を参照して、サーバSVがアップローダULから更新要求を受け、曲リストMLを更新するまでの動作(S2041〜S2045)は上記2.1.2.の場合(複数の曲データM10〜M1nをサーバSVに登録させる場合)と同じである。   Referring to FIG. 9, the operation (S2041 to S2045) from when server SV receives an update request from uploader UL to update song list ML is the same as in 2.1.2. This is the same as the case (when a plurality of song data M10 to M1n are registered in the server SV).

曲リストMLを更新後、サーバSVは更新ステータステーブルのステータス値が「0」であるか否かを判断する(S2046)。このとき、ステータス値は「0」であるため、サーバSVは更新通知をクライアントCLに送信する(S2047)。つまり、アップローダULが1曲だけ曲データM1nを登録要求する場合、サーバSVは要求完了通知を受けなくても曲データM1nを登録すれば、更新通知を送信する。なお、このとき、アップローダULは要求完了通知(S205)も送信しない。   After updating the music list ML, the server SV determines whether or not the status value in the update status table is “0” (S2046). At this time, since the status value is “0”, the server SV transmits an update notification to the client CL (S2047). That is, when the uploader UL requests registration of the song data M1n for only one song, the server SV transmits an update notification if the song data M1n is registered without receiving the request completion notification. At this time, the uploader UL does not transmit a request completion notification (S205).

1曲だけ曲データM1nを登録する場合にも、アップローダULが要求開始通知や要求完了通知を送信したならば、かえってLAN10上の通信量が増加してしまう。そこで、本実施の形態によるネットワークSVシステムでは、1曲だけ曲データM1nを登録する場合は、アップローダULが要求開始通知や要求完了通知を送信しなくてもサーバSVが更新通知を送信できるようにすることで、通信量の増加を防ぐ。   Even when registering only one piece of music data M1n, if the uploader UL transmits a request start notification or a request completion notification, the traffic on the LAN 10 will increase. Therefore, in the network SV system according to the present embodiment, when registering only one song data M1n, the server SV can send the update notification without the uploader UL sending the request start notification or the request completion notification. By doing so, an increase in communication volume is prevented.

なお、本実施の形態によるサーバSVは従来のアップローダにも対応できる。すなわち、従来のアップローダは要求開始通知や要求完了通知をサーバSVに送信しない。よって、サーバSVは従来のアップローダから複数の曲データM10〜M1nの登録要求を受けた場合、1曲登録するごとに更新通知を送信する。   Note that the server SV according to the present embodiment can also support a conventional uploader. That is, the conventional uploader does not transmit a request start notification or a request completion notification to the server SV. Therefore, when the server SV receives a registration request for a plurality of song data M10 to M1n from a conventional uploader, the server SV transmits an update notification every time one song is registered.

本実施の形態によるネットワークAVシステム1では、曲データM1nを登録する場合について説明したが、曲データMnの曲情報Inを変更する場合、曲データMnを削除する場合についても同様の動作を行う。なお、曲データMnを削除する場合の動作では、削除すべき曲データMnを特定すれば足りるので、アップローダULは更新要求処理(S203)で曲データMn自体を送ることはない。また、曲データMnの曲情報Inの変更の場合も、アップローダULは曲データMn自体を送信せず、要求開始通知を送信するときに(S201)、変更する曲情報Inを添付して送信する。   In the network AV system 1 according to the present embodiment, the case where the song data M1n is registered has been described. However, when the song information In of the song data Mn is changed, the same operation is performed when the song data Mn is deleted. In the operation for deleting the song data Mn, it is sufficient to specify the song data Mn to be deleted. Therefore, the uploader UL does not send the song data Mn itself in the update request process (S203). Also, in the case of changing the song information In of the song data Mn, the uploader UL does not send the song data Mn itself, but sends the request start notification (S201) with the song information In to be changed attached. .

また、本実施の形態では、コンテンツを曲データとしたが、映像データであっても同じである。   In this embodiment, the content is music data, but the same applies to video data.

以上、本発明の実施の形態を説明したが、上述した実施の形態は本発明を実施するための例示に過ぎない。よって、本発明は上述した実施の形態に限定されることなく、その趣旨を逸脱しない範囲内で上述した実施の形態を適宜変形して実施することが可能である。   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.

本発明の実施の形態によるネットワークAVシステムの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the network AV system by embodiment of this invention. 図1中のサーバの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the server in FIG. 図1中のオーディオクライアントCLの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the audio client CL in FIG. 図1中のアップローダの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the uploader in FIG. 図1のネットワークAVシステムの動作を説明するための概略図である。It is the schematic for demonstrating operation | movement of the network AV system of FIG. 図1中のアップローダのサーバへの接続動作を示すフロー図である。It is a flowchart which shows the connection operation | movement to the server of the uploader in FIG. 図1中のネットワークAVシステムの曲データ更新動作を示すフロー図である。It is a flowchart which shows the music data update operation | movement of the network AV system in FIG. 図7中のステップS202の動作の詳細を示すフロー図である。It is a flowchart which shows the detail of operation | movement of step S202 in FIG. 図7中のS210の動作の詳細を示すフロー図である。It is a flowchart which shows the detail of operation | movement of S210 in FIG. 図7中のステップS206の動作の詳細を示すフロー図である。It is a flowchart which shows the detail of operation | movement of step S206 in FIG. 図1中のネットワークAVシステムの再生動作を示すフロー図である。It is a flowchart which shows the reproduction | regeneration operation | movement of the network AV system in FIG. 図11中のステップS300及びS310の動作の詳細を示すフロー図である。It is a flowchart which shows the detail of operation | movement of step S300 and S310 in FIG.

符号の説明Explanation of symbols

1 ネットワークAVシステム
10 LAN
14 HDD
16 データベース管理部
20,40 CPU処理部
22,38,43 LANコントローラ
28 マイコン処理部
41 要求作成部
CL オーディオクライアント
ML 曲リスト
Mn 曲データ
PL プレイリスト
UL アップローダ

1 Network AV system 10 LAN
14 HDD
16 Database management unit 20, 40 CPU processing unit 22, 38, 43 LAN controller 28 Microcomputer processing unit 41 Request creation unit CL Audio client ML Song list Mn Song data PL Playlist UL uploader

Claims (9)

複数のコンテンツが蓄積されたデータベースを有するサーバと、
前記サーバにネットワーク経由で接続され、前記データベースを前記サーバに更新させるアップローダと、
前記サーバにネットワーク経由で接続され、前記複数のコンテンツの中から選択されたコンテンツを前記サーバから受け、前記選択されたコンテンツを再生するクライアントとを備え、
前記アップローダは、
前記サーバに前記データベースを更新させるための1又は複数の更新要求を前記サーバに送信する更新要求手段と、
前記更新要求手段が前記1又は複数の更新要求を送信した後、要求完了通知を前記サーバに送信する完了通知手段とを備え、
前記サーバは、
前記1又は複数の更新要求に応じて前記データベースを更新する更新手段と、
前記要求完了通知を受けた後、前記データベースが更新された旨の更新通知を前記クライアントに送信する更新通知手段とを備えることを特徴とするネットワークAVシステム。
A server having a database in which a plurality of contents are stored;
An uploader connected to the server via a network and causing the server to update the database;
A client connected to the server via a network, receiving a content selected from the plurality of contents from the server, and playing the selected content;
The uploader is
Update request means for transmitting to the server one or more update requests for causing the server to update the database;
A completion notification means for transmitting a request completion notification to the server after the update request means has transmitted the one or more update requests;
The server
Updating means for updating the database in response to the one or more update requests;
An network AV system comprising: an update notification means for transmitting an update notification to the client that the database has been updated after receiving the request completion notification.
請求項1に記載のネットワークAVシステムであって、
前記クライアントは、
前記更新通知を受けたとき、前記選択されたコンテンツに関する情報を前記サーバから取得する取得手段と、
前記情報に基づいて、前記選択されたコンテンツを前記サーバに要求する要求手段とを備えることを特徴とするネットワークAVシステム。
The network AV system according to claim 1,
The client
When receiving the update notification, an acquisition means for acquiring information on the selected content from the server;
A network AV system comprising: request means for requesting the selected content from the server based on the information.
請求項1又は請求項2に記載のネットワークAVシステムであって、
前記アップローダはさらに、
前記更新要求手段が前記複数の更新要求を送信する前に、要求開始通知を前記サーバに送信する開始通知手段を備え、
前記更新通知手段は、前記要求開始通知を受けた場合、前記要求完了通知を受けた後に前記更新通知を送信し、前記要求開始通知を受けることなく前記更新要求を受けた場合、前記更新手段が前記更新要求に応じて前記データベースを更新した後に前記更新通知を送信することを特徴とするネットワークAVシステム。
The network AV system according to claim 1 or 2, wherein
The uploader further includes
Before the update request means transmits the plurality of update requests, comprising a start notification means for transmitting a request start notification to the server;
When receiving the request start notification, the update notification means transmits the update notification after receiving the request completion notification, and when receiving the update request without receiving the request start notification, the update means A network AV system, wherein the update notification is transmitted after updating the database in response to the update request.
請求項1〜請求項3のいずれか1項に記載のネットワークAVシステムであって、
前記サーバはさらに、
前記データベースが更新されたか否かを判断する判断手段を備え、
前記更新通知手段は、前記データベースが更新されたと前記判断手段が判断したとき、前記更新通知を送信することを特徴とするネットワークAVシステム。
The network AV system according to any one of claims 1 to 3,
The server further includes:
A determination means for determining whether or not the database has been updated;
The network AV system, wherein the update notification unit transmits the update notification when the determination unit determines that the database has been updated.
請求項1〜請求項4のいずれか1項に記載の手段をコンピュータに実行させるためのネットワークAVプログラム。   A network AV program for causing a computer to execute the means according to any one of claims 1 to 4. 複数のコンテンツが蓄積されたデータベースを有するサーバと、前記サーバにネットワーク経由で接続され、前記データベースを前記サーバに更新させるアップローダと、前記サーバにネットワーク経由で接続され、前記複数のコンテンツの中から選択されたコンテンツを前記サーバから受け、前記選択されたコンテンツを再生するクライアントとを備えるネットワークAVシステムにおける前記サーバであって、
前記アップローダから送信される前記データベースの更新要求に応じて前記データベースを更新する更新手段と、
前記アップローダから前記更新要求を完了する旨の要求完了通知を受けた後、前記データベースが更新された旨の更新通知を前記クライアントに送信する更新通知手段とを備えることを特徴とするサーバ。
A server having a database in which a plurality of contents are stored, an uploader connected to the server via the network and updating the database to the server, and connected to the server via the network and selected from the plurality of contents A server in a network AV system comprising: a client that receives received content from the server and reproduces the selected content;
Updating means for updating the database in response to an update request for the database transmitted from the uploader;
An update notification means for sending an update notification to the client that the database has been updated after receiving a request completion notification to complete the update request from the uploader.
請求項6に記載のサーバであって、
前記更新通知手段は、前記アップローダから更新要求を開始する旨の要求開始通知を受けた場合、前記要求完了通知を受けた後に前記更新通知を送信し、前記要求開始通知を受けることなく前記更新要求を受けた場合、前記更新手段が前記更新要求に応じて前記データベースを更新した後に前記更新通知を送信することを特徴とするサーバ。
The server according to claim 6, wherein
When the update notification means receives a request start notification to start an update request from the uploader, it transmits the update notification after receiving the request completion notification, and the update request without receiving the request start notification When the server receives the update, the update unit transmits the update notification after updating the database in response to the update request.
複数のコンテンツが蓄積されたデータベースを有するサーバと、前記サーバにネットワーク経由で接続され、前記データベースを前記サーバに更新させるアップローダとを備えるネットワークAVシステムにおける前記アップローダであって、
前記データベースを前記サーバに更新させるための1又は複数の更新要求を前記サーバに送信する更新要求手段と、
前記更新要求手段が前記1又は複数の更新要求を送信した後、要求完了通知を前記サーバに送信する完了通知手段とを備えることを特徴とするアップローダ。
An uploader in a network AV system, comprising: a server having a database in which a plurality of contents are stored; and an uploader connected to the server via a network and updating the database.
Update request means for transmitting to the server one or more update requests for causing the server to update the database;
An uploader, comprising: a completion notification unit that transmits a request completion notification to the server after the update request unit transmits the one or more update requests.
請求項8に記載のアップローダであってさらに、
前記更新要求手段が前記複数の更新要求を送信する前に、要求開始通知を前記サーバに送信する開始通知手段を備えることを特徴とするアップローダ。

The uploader according to claim 8, further comprising:
An uploader, comprising: a start notification unit that transmits a request start notification to the server before the update request unit transmits the plurality of update requests.

JP2005316064A 2005-10-31 2005-10-31 Network av system Pending JP2006146900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005316064A JP2006146900A (en) 2005-10-31 2005-10-31 Network av system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005316064A JP2006146900A (en) 2005-10-31 2005-10-31 Network av system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003354522A Division JP3865139B2 (en) 2003-10-15 2003-10-15 Network AV system

Publications (1)

Publication Number Publication Date
JP2006146900A true JP2006146900A (en) 2006-06-08

Family

ID=36626447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005316064A Pending JP2006146900A (en) 2005-10-31 2005-10-31 Network av system

Country Status (1)

Country Link
JP (1) JP2006146900A (en)

Similar Documents

Publication Publication Date Title
JP4270252B2 (en) Information processing apparatus, download method, download interruption method, download resume method, and program
JP2008518354A (en) Wireless synchronization between media player and host device
JPWO2005033952A1 (en) Information reproducing apparatus and method, and program
JP4232745B2 (en) Content reproduction system, content reproduction apparatus, and content reproduction method
JP2008165656A (en) Reproduction device and reproduction control method
JP2011054191A (en) Device and method for selecting music channel
KR20050113262A (en) Playlist synchronization
US9552364B2 (en) Portable content player, content storage device, and method of synchronizing content state lists between portable content player and content storage device
JP2009182369A (en) Television program recorded/reproducer, television program recording/reproducing method, and program for operating television program recorded/reproducer
JP2008113147A (en) Content receiving apparatus and video recorder, reproducing apparatus and receiving apparatus
JP2007042182A (en) Information processing apparatus, information processing method, and computer program
JP3865139B2 (en) Network AV system
JP2007066497A (en) Information processing apparatus, reproducing apparatus, communication method, and computer program
JP2008071229A (en) Network av system and controller
WO2005020076A1 (en) Data transmission/reception system, data transmission/reception method, and recording/reproduction device
JP5652065B2 (en) Content playback system, control device, and playback device
JP2006146900A (en) Network av system
JP4577221B2 (en) Content reproduction system and method
JP2005164635A (en) Reproducing device, information communications system, and program
JP2001014805A (en) Interactive optical disk broadcasting system
JP6963835B2 (en) Playback control device, playback control method, and program
JP2008004144A (en) Content recording device and its program
JP2007279945A (en) Information processor, reproduction control method, and program
JP5355251B2 (en) Karaoke background video display system
JP2006171444A (en) Audio reproduction system