JP2007310538A - Bi-directionally controllable client/server system composed of server equipment and client equipment - Google Patents

Bi-directionally controllable client/server system composed of server equipment and client equipment Download PDF

Info

Publication number
JP2007310538A
JP2007310538A JP2006137536A JP2006137536A JP2007310538A JP 2007310538 A JP2007310538 A JP 2007310538A JP 2006137536 A JP2006137536 A JP 2006137536A JP 2006137536 A JP2006137536 A JP 2006137536A JP 2007310538 A JP2007310538 A JP 2007310538A
Authority
JP
Japan
Prior art keywords
command
client
event
server device
server
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
JP2006137536A
Other languages
Japanese (ja)
Inventor
Takayuki Fukui
崇之 福井
Monta Nakatsuka
紋太 中塚
Takehito Yamaguchi
岳人 山口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006137536A priority Critical patent/JP2007310538A/en
Publication of JP2007310538A publication Critical patent/JP2007310538A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that it is impossible to output any instruction from server equipment to client equipment since it is possible to output an instruction from the client equipment to the server equipment in a general client server model. <P>SOLUTION: A command from server equipment can be transmitted to specific client equipment by using an event for notifying the client equipment of the status of the server equipment, and embedding the command in the event information. The client equipment which has received the command executes the command according to a predetermined rule. The client equipment having no predetermined rule performs is processed in the same way as the case of receiving a normal event, to secure the connectivity to existing equipment. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はネットワーク通信方式に関し、ネットワークで接続されたクライアント機器とサーバ機器の2つの機器で構成され、規格に基づきクライアント機器がネットワークを介してサーバ機器を一方的に制御するクライアントサーバシステムにおいて、サーバ機器がネットワークを介してクライアント機器にコマンドを送信し、そのコマンドに基づきクライアント機器を制御する方法に関する。   The present invention relates to a network communication system, which is composed of two devices, a client device and a server device connected via a network, in a client server system in which a client device controls a server device unilaterally via a network based on a standard. The present invention relates to a method in which a device transmits a command to a client device via a network and controls the client device based on the command.

近年、xDSL(x Digital Subscriber Line)や光ファイバーなどのブロードバンド環境が整ったことにより、企業、一般家庭を問わずインターネット接続が急速に普及してきている。また、家庭内のPCや家電機器をイーサネット(登録商標)や無線LANなどで接続するホームネットワーク環境も一般化してきている。この様な中で、パーソナルコンピュータだけでなく、テレビやDVDレコーダ、エアコン、冷蔵庫のような家電機器もIP(Internet Protocol)ネットワークにより相互に接続できるようになってきており、ホームネットワークにおいては家電機器をコントロールするプロトコルとしてUPnP AV(Universal Plug and Play Audio and Visual)規格が最近注目されている。かかる先行技術は、文献公知発明に係るものでないため、記載すべき先行技術文献情報はない。   In recent years, with the establishment of a broadband environment such as xDSL (x Digital Subscriber Line) and optical fiber, Internet connections are rapidly spreading regardless of companies and general households. In addition, a home network environment in which home PCs and home appliances are connected by Ethernet (registered trademark), wireless LAN, or the like has become common. Under such circumstances, not only personal computers but also home appliances such as TVs, DVD recorders, air conditioners, and refrigerators can be connected to each other via an IP (Internet Protocol) network. Recently, the UPnP AV (Universal Plug and Play Audio and Visual) standard has been attracting attention as a protocol for controlling the above. Since such prior art is not related to the literature known invention, there is no prior art document information to be described.

しかしながら、UPnP AV規格においては、“コントロールポイント”と呼ばれるクライアント機器が、“デバイス”と呼ばれるサーバ機器を制御するように規定されているため、双方の機器が他方の機器を制御可能とするためには、双方の機器においてそれぞれ“デバイス”と“コントロールポイント”の両機能を備える必要があった。   However, in the UPnP AV standard, since a client device called “control point” is regulated to control a server device called “device”, both devices can control the other device. Both devices need to have both “device” and “control point” functions.

本発明は、以上のような課題を解決するもので、UPnP AV規格におけるサーバ機器である“デバイス”からクライアント機器である“コントロールポイント”を制御するコマンドを送信することで、単一の機器に“デバイス”および“コントロールポイント”の両機能を備えることなく、どちらか一方の機能を備えるだけで双方向からの制御を可能とする、双方向制御可能なクライアントサーバシステムを提供することを目的とする。   The present invention solves the above-described problems, and transmits a command for controlling a “control point” that is a client device from a “device” that is a server device in the UPnP AV standard, to a single device. An object is to provide a bidirectionally controllable client-server system that enables control from both directions only by providing either of the functions of “device” and “control point”. To do.

上記課題を解決するために、本願の第1の発明(請求項1に対応)のクライアントサーバシステムは、ネットワークに接続されたサーバ機器と、規格に基づき前記サーバ機器における内部状態が変化した場合に前記サーバ機器から送信される前記サーバ機器の内部の状態を通知するイベントを、前記ネットワークを介して受信するように関係づけられたクライアント機器とで構成されるクライアントサーバシステムであって、前記サーバ機器は、前記ネットワークを介して通信パケットを送受信する通信手段(イ)と、前記通信手段(イ)を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記クライアント機器に対して内部の状態を通知する前記イベントを生成して送信するプロトコル処理手段(ロ)と、ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドに対応したID(IDentification)を予め取り決められた規則に基づいて生成し、前記プロトコル処理手段(ロ)に対して前記生成したIDを通知して前記生成したIDを前記イベントに埋め込ませるとともに、前記プロトコル処理手段(ロ)に対して前記イベントの発行を促すID生成手段と、前記ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドを受け付け、そのコマンドの内容を前記ID生成手段に伝えるクライアント指示手段を具備し、前記クライアント機器は、前記ネットワークを介して通信パケットを送受信する通信手段(ハ)と、前記通信手段(ハ)を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記サーバ機器から受信した前記イベントに埋め込まれた前記予め取り決められた規則に基づくIDを抽出するプロトコル処理手段(ニ)と、前記プロトコル処理手段(ニ)において抽出された前記予め取り決められた規則に基づくIDを前記予め取り決められた規則に基づいて解析し、その解析結果が前記予め取り決められた規則に基づくコマンドであった場合に前記コマンドの実行命令を発行するID解析手段と、前記ID解析手段で発行された前記コマンドの実行命令に従って前記コマンドを実行するコマンド実行手段を具備することを特徴とするものである。   In order to solve the above-described problem, the client server system according to the first invention of the present application (corresponding to claim 1) is a server device connected to a network and when the internal state of the server device changes based on the standard. A client server system configured with a client device related to receive an event transmitted from the server device and notifying an internal state of the server device via the network, the server device The communication means (a) for transmitting and receiving communication packets via the network and the communication packet for transmission and reception via the communication means (a) are processed in accordance with a protocol based on the standard, and for the client device A protocol processor that generates and sends the event to notify the internal state (B) and an ID (IDentification) corresponding to a command for the client device that is input from a user or the like or is voluntarily issued by the server device based on a predetermined rule, and the protocol processing means (B) notifying the generated ID and embedding the generated ID in the event, and urging the protocol processing means (b) to issue the event, the user, etc. The client device includes a client instruction unit that receives a command for the client device that is input from the server device or that is voluntarily issued by the server device, and transmits the content of the command to the ID generation unit. Means for transmitting and receiving communication packets C) and the communication packet transmitted / received via the communication means (c) according to a protocol based on the standard, and an ID based on the predetermined rule embedded in the event received from the server device A protocol processing means (d) for extracting the ID, and an ID based on the predetermined rule extracted by the protocol processing means (d) is analyzed based on the predetermined rule, An ID analysis unit that issues an execution instruction of the command when the command is based on an agreed rule; and a command execution unit that executes the command according to the execution instruction of the command issued by the ID analysis unit. It is characterized by this.

また、第2の発明(請求項2に対応)のサーバ機器は、ネットワークで接続されクライアント機器に対して、規格に基づき内部状態が変化した場合に内部の状態を通知するイベントを前記ネットワークを介して送信するように関係づけられ、前記クライアント機器とでクライアントサーバシステムを構成するサーバ機器であって、前記ネットワークを介して通信パケットを送受信する通信手段と、前記通信手段を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記クライアント機器に対して内部の状態を通知する前記イベントを生成して送信するプロトコル処理手段と、ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する、前記クライアント機器に対するコマンドに対応したIDを予め取り決められた規則に基づいて生成し、前記プロトコル処理手段に対して前記生成したIDを通知して前記生成したIDを前記イベントに埋め込ませるとともに、前記プロトコル処理手段に対して前記イベントの発行を促すID生成手段と、前記ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドを受け付け、そのコマンドの内容を前記ID生成手段に伝えるクライアント指示手段を具備することを特徴とするものである。   According to a second aspect of the present invention (corresponding to claim 2), an event for notifying the client device connected via a network of the internal state when the internal state changes based on the standard is sent via the network. A server device constituting a client server system with the client device, wherein the communication device transmits / receives a communication packet via the network, and the communication transmits / receives via the communication device. Protocol processing means for processing a packet in accordance with a protocol based on the standard and generating and transmitting the event for notifying the client device of an internal state, and input from a user or the server device is spontaneous Corresponding to the command issued to the client device. An ID is generated based on a predetermined rule, the generated ID is notified to the protocol processing unit, and the generated ID is embedded in the event. ID generation means for prompting issuance, and client instruction means for accepting a command for the client device that is input from the user or the like, or that the server device voluntarily issues, and transmits the contents of the command to the ID generation means It is characterized by doing.

また、第3の発明(請求項3に対応)のクライアント機器は、ネットワークで接続されたサーバ機器と、規格に基づき前記サーバ機器における内部状態が変化した場合に前記サーバ機器から送信される前記サーバ機器の内部の状態を通知するイベントを、前記ネットワークを介して受信するように関係づけられ、前記サーバ機器とでクライアントサーバシステムを構成するクライアント機器であって、前記ネットワークを介して通信パケットを送受信する通信手段と、前記通信手段を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記サーバ機器から受信した前記イベントに埋め込まれた前記予め取り決められた規則に基づくIDを抽出するプロトコル処理手段と、前記プロトコル処理手段において抽出された前記予め取り決められた規則に基づくIDを前記予め取り決められた規則に基づいて解析し、その解析結果が前記予め取り決められた規則に基づくコマンドであった場合に前記コマンドの実行命令を発行するID解析手段と、前記ID解析手段で発行された前記コマンドの実行命令に従って前記コマンドを実行するコマンド実行手段を具備することを特徴とするものである。   According to a third aspect of the present invention (corresponding to claim 3), there are a server device connected via a network and the server transmitted from the server device when an internal state of the server device changes based on a standard. An event for notifying an internal state of a device is received through the network, and is a client device that forms a client server system with the server device, and transmits and receives communication packets through the network. And processing the communication packet transmitted / received via the communication unit in accordance with a protocol based on the standard, and extracting an ID based on the predetermined rule embedded in the event received from the server device Protocol processing means for performing the protocol processing means And analyzing the ID based on the predetermined rule extracted based on the predetermined rule, and if the analysis result is a command based on the predetermined rule, It comprises an ID analysis means for issuing and a command execution means for executing the command in accordance with an execution instruction of the command issued by the ID analysis means.

また、第4の発明(請求項4に対応)のクライアントサーバシステムは、第1の発明のクライアントサーバシステムにおいて、前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とするものである。   A client server system according to a fourth aspect of the invention (corresponding to claim 4) is the client server system according to the first aspect of the invention, wherein the event is represented by a numerical value of a plurality of bits, depending on the numerical value or the numerical value. Is input from the user, etc. depending on which range of the predetermined range is included, or depending on the value of some bits in the numerical value represented by the plurality of bits, or the server device is spontaneous A command for the client device to be issued is assigned.

また、第5の発明(請求項5に対応)のサーバ機器は、第2の発明のサーバ機器において、前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とするものである。   The server device of the fifth invention (corresponding to claim 5) is the server device of the second invention, wherein the event is represented by a numerical value of a plurality of bits, and the numerical value is determined in advance according to the numerical value. Input from the user, etc. or issued spontaneously by the server device, depending on which range of the specified range is entered, or depending on the value of some bits in the numerical value represented by the plurality of bits A command for the client device is allocated.

また、第6の発明(請求項6に対応)のクライアント機器は、第2の発明のクライアント機器において、前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とするものである。   The client device of the sixth invention (corresponding to claim 6) is the client device of the second invention, wherein the event is represented by a numerical value of a plurality of bits, and the numerical value is determined in advance according to the numerical value. Input from the user, etc. or issued spontaneously by the server device, depending on which range of the specified range is entered, or depending on the value of some bits in the numerical value represented by the plurality of bits A command for the client device is allocated.

以上説明したように、本発明によれば、双方の機器にサーバ機能、クライアント機能の両機能を実装することなく、クライアント機器からサーバ機器へも、サーバ機器からクライアント機器へも双方向に命令を出すことが可能となる。またユーザはサーバ機能とクライアント機能の機能切り替えを行うことなく両機能をシームレスに扱うことができ、操作性の向上が期待できる。   As described above, according to the present invention, instructions are bidirectionally transmitted from the client device to the server device and from the server device to the client device without implementing both the server function and the client function in both devices. It becomes possible to put out. In addition, the user can handle both functions seamlessly without switching between the server function and the client function, and the operability can be expected to be improved.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1におけるサーバ機器10およびクライアント機器20の主要部の構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of main parts of a server device 10 and a client device 20 according to Embodiment 1 of the present invention.

図1において、サーバ機器10は、通信手段11、UPnP AVプロトコル処理手段12、ID生成手段13およびクライアント指示手段14で構成されている。   In FIG. 1, the server device 10 includes a communication unit 11, a UPnP AV protocol processing unit 12, an ID generation unit 13, and a client instruction unit 14.

通信手段11は、通信路3を介してクライアント機器20との間で通信パケットを送受信する手段である。ここで通信路3は、例えば、イーサネット(登録商標)などの有線通信路やIEEE802.11b/g、Bluetoothなどの無線通信路である。UPnP AVプロトコル処理手段12は、UPnP AV規格のプロトコルを処理する手段であり、UPnP AV規格に準拠した機器検索や能力交換などの処理を実行することができる。ID生成手段13は、イベントを送信する際に用いるID(IDentification)を生成する手段である。ID生成手段13で生成されるIDは、例えば、符号無し32ビットの数値で表される。クライアント指示手段14は、ユーザなどからのリモコン操作などによるクライアント機器20に対する指示(コマンド)を受け付けた場合に、その指示(コマンド)内容をID生成手段13に伝える手段である。   The communication unit 11 is a unit that transmits and receives communication packets to and from the client device 20 via the communication path 3. Here, the communication path 3 is, for example, a wired communication path such as Ethernet (registered trademark) or a wireless communication path such as IEEE802.11b / g or Bluetooth. The UPnP AV protocol processing means 12 is a means for processing the UPnP AV standard protocol, and can execute processing such as device search and capability exchange based on the UPnP AV standard. The ID generation unit 13 is a unit that generates an ID (IDentification) used when transmitting an event. The ID generated by the ID generation means 13 is represented by, for example, an unsigned 32-bit numerical value. The client instruction unit 14 is a unit that, when receiving an instruction (command) to the client device 20 by a remote control operation or the like from a user or the like, transmits the content of the instruction (command) to the ID generation unit 13.

以上のように構成されたサーバ機器10は、UPnP AV規格に準拠したクライアント機器20が送信したUPnP AVコマンドを受信してその受信したコマンドに従って動作し、さらに、サーバ機器10の状態が変更されたことをクライアント機器20に通知するイベントを送信する。また、サーバ機器10は、メディアサーバ(Media Server)と呼ばれる機器であり、内部に蓄積する動画や静止画、音楽などのコンテンツを管理するCDS(Content Directory Service)と各コンテンツを伝送する際のコネクション管理を行うCMS(Connection Manager Service)の両サービスを、UPnP AV規格に準拠したクライアント機器20に対して提供する。メディアサーバとは、後述するコントロールポイントからの要求に応じて処理を行う機器のことであり、メディアサーバは自発的にコントロールポイントに対して要求を行うことはない。   The server device 10 configured as described above receives the UPnP AV command transmitted from the client device 20 compliant with the UPnP AV standard, operates according to the received command, and the state of the server device 10 is changed. An event for notifying the client device 20 of this fact is transmitted. In addition, the server device 10 is a device called a media server (Media Server), and a connection for transmitting each content and a CDS (Content Directory Service) that manages content such as moving images, still images, and music stored therein. Both CMS (Connection Manager Service) services for management are provided to the client device 20 compliant with the UPnP AV standard. The media server is a device that performs processing in response to a request from a control point, which will be described later, and the media server does not spontaneously make a request to the control point.

一方、クライアント機器20は、通信手段21、UPnP AVプロトコル処理手段22、ID解析手段23およびコマンド実行手段24で構成されている。   On the other hand, the client device 20 includes a communication unit 21, a UPnP AV protocol processing unit 22, an ID analysis unit 23, and a command execution unit 24.

通信手段21は、通信路3を介してサーバ機器10との間で通信パケットを送受信する手段であり、UPnP AVプロトコル処理手段22は、UPnP AV規格のプロトコルを処理する手段であって、UPnP AV規格に準拠した機器検索や能力交換などの処理を実行することができるとともに、サーバ機器10が送信したイベントを処理してイベント情報中に含まれるIDを抽出し、その抽出したIDをID解析手段23に送信する手段である。ID解析手段23は、UPnP AVプロトコル処理手段22から送信されたIDを解析し、そのIDの解析結果に応じたコマンドをコマンド実行手段24に通知する手段であり、コマンド実行手段24は、イベント処理手段から通知されたコマンドを実行する手段である。   The communication means 21 is means for transmitting / receiving communication packets to / from the server device 10 via the communication path 3, and the UPnP AV protocol processing means 22 is means for processing a UPnP AV standard protocol, and is a UPnP AV standard. It is possible to execute processing such as device search and capability exchange conforming to the standard, process the event transmitted by the server device 10 to extract the ID included in the event information, and use the extracted ID as ID analysis means 23 is a means for transmitting to the terminal 23. The ID analysis unit 23 is a unit that analyzes the ID transmitted from the UPnP AV protocol processing unit 22 and notifies the command execution unit 24 of a command corresponding to the analysis result of the ID. A means for executing a command notified from the means.

以上のように構成されたクライアント機器20は、UPnP AV規格に準拠したサーバ機器10に対してUPnP AVコマンドを送信し、その結果をサーバ機器10から受信して解釈し、さらに、サーバ機器10の状態が変更された際にサーバ機器10から送信されるイベント情報を受信して解釈する。また、クライアント機器20は、コントロールポイント(Control Point)と呼ばれる機器であり、UPnP AV規格に準拠したサーバ機器10が提供するサービスを利用する。ここでは、クライアント機器20は、メディアサーバが提供するCDSを利用するコントロールポイントである。   The client device 20 configured as described above transmits a UPnP AV command to the server device 10 compliant with the UPnP AV standard, receives the result from the server device 10 and interprets the result. Event information transmitted from the server device 10 when the state is changed is received and interpreted. The client device 20 is a device called a control point and uses a service provided by the server device 10 compliant with the UPnP AV standard. Here, the client device 20 is a control point that uses the CDS provided by the media server.

サーバ機器10とクライアント機器20は、上述のように通信路3を介して接続されており、クライアント機器20は、定期的にサーバ機器10が同一ネットワークに存在するか否かの検索を行う。なお、図2は、この時の検索のシーケンスを示すものであって、本発明の実施の形態1における機器検索のシーケンスを示す図である。   The server device 10 and the client device 20 are connected via the communication path 3 as described above, and the client device 20 periodically searches whether the server device 10 exists in the same network. FIG. 2 shows a search sequence at this time, and is a diagram showing a device search sequence according to Embodiment 1 of the present invention.

次に、図2を用いて、クライアント機器20が、同一ネットワーク上にサーバ機器10が存在するか否かの検索を行なう場合の機器検索のシーケンスについて説明する。   Next, a device search sequence when the client device 20 performs a search to determine whether or not the server device 10 exists on the same network will be described with reference to FIG.

クライアント機器20においては、通信路3上のネットワークに新たに参加した機器あるいは引き続き参加している機器を検索するため、クライアント機器20内のUPnP AVプロトコル処理手段22が通信手段21に対して定期的に機器検索パケットを通信路3に送信するように要求し(S20)、通信手段21はUPnP AVプロトコル処理手段22からの要求に応じて通信路3に対して機器検索パケットを送信する(S21)。   In the client device 20, the UPnP AV protocol processing unit 22 in the client device 20 periodically searches the communication unit 21 in order to search for a device that has newly joined or continues to participate in the network on the communication path 3. Request the device search packet to be transmitted to the communication path 3 (S20), and the communication means 21 transmits the device search packet to the communication path 3 in response to the request from the UPnP AV protocol processing means 22 (S21). .

一方、通信手段21から送信された機器検索パケットを通信路3を介して受信したサーバ機器10において、通信手段11は受信した機器検索パケットの情報をUPnP AVプロトコル処理手段12に通知し、UPnP AVプロトコル処理手段12は通信手段11から通知された機器検索パケットの情報に応じた検索応答パケットを生成し(S22)、その生成した検索応答パケットを、通信手段11から通信路3を介してクライアント機器20に対して送信する(S23)。サーバ機器10から送信された検索応答パケットを受信したクライアント機器20は、通信手段21がこの受信した検索応答パケットをUPnP AVプロトコル処理手段22に通知し、UPnP AVプロトコル処理手段22が通信手段21から通知された検索応答パケットを解釈することにより、サーバ機器10がネットワークに新たに参加した、あるいは引き続き参加している、あるいは参加を取りやめたことなどを知る(S24)。   On the other hand, in the server device 10 that has received the device search packet transmitted from the communication unit 21 via the communication path 3, the communication unit 11 notifies the UPnP AV protocol processing unit 12 of the information of the received device search packet, and UPnP AV The protocol processing unit 12 generates a search response packet corresponding to the information of the device search packet notified from the communication unit 11 (S22), and sends the generated search response packet from the communication unit 11 via the communication path 3 to the client device. 20 (S23). In the client device 20 that has received the search response packet transmitted from the server device 10, the communication unit 21 notifies the received search response packet to the UPnP AV protocol processing unit 22, and the UPnP AV protocol processing unit 22 receives the search response packet from the communication unit 21. By interpreting the notified search response packet, it is known that the server device 10 has newly joined the network, has continued to participate, or has stopped participating (S24).

クライアント機器20は、同一ネットワーク上で新たなサーバ機器を発見するたびに、発見した新たなサーバ機器が発信する機器内部の状態変化を通知するイベントを受信するためのイベント購読登録を行う。なお、図3は、この時のシーケンスを示すものであって、本発明の実施の形態1におけるイベント購読登録のシーケンスを示す図である。   Each time the client device 20 discovers a new server device on the same network, the client device 20 performs event subscription registration for receiving an event notifying the internal state change of the device transmitted by the discovered new server device. FIG. 3 shows a sequence at this time, and is a diagram showing an event subscription registration sequence according to the first embodiment of the present invention.

次に、図3を用いて、クライアント機器20が、同一ネットワークに新たに参加したサーバ機器(ここではサーバ機器10とする)から、そのサーバ機器の状態変化を通知するイベントを受信するためのイベント購読登録を行なう場合のシーケンスについて説明する。   Next, referring to FIG. 3, an event for the client device 20 to receive an event for notifying a change in the state of the server device from a server device (in this case, the server device 10) newly participating in the same network. A sequence for performing subscription registration will be described.

クライアント機器20において、UPnP AVプロトコル処理手段22は、発見したサーバ機器10に対するイベント購読要求を行い(S30)、通信手段21は、UPnP AVプロトコル処理手段22から出力されたイベント購読要求パケットを、通信路3を介してサーバ機器10に送信する(S31)。通信路3を介してクライアント機器20から送信されたイベント購読要求パケットを受信したサーバ機器10では、UPnP AVプロトコル処理手段12がイベント登録処理を行う(S32)と共に、イベント登録処理が終わると、クライアント機器20に対して、通信手段11から通信路3を介してイベント登録応答を送信しイベント登録を受諾したことを通知する(S33)。   In the client device 20, the UPnP AV protocol processing means 22 makes an event subscription request to the found server device 10 (S30), and the communication means 21 communicates the event subscription request packet output from the UPnP AV protocol processing means 22. The data is transmitted to the server device 10 via the path 3 (S31). In the server device 10 that has received the event subscription request packet transmitted from the client device 20 via the communication path 3, the UPnP AV protocol processing means 12 performs event registration processing (S32), and when the event registration processing ends, the client device 10 An event registration response is transmitted from the communication means 11 via the communication path 3 to the device 20 to notify that the event registration has been accepted (S33).

サーバ機器10は、イベント登録を受諾した機器(ここではクライアント機器20)に対して、イベント登録完了後よりサーバ機器10の内部状態が変わるたびにイベント情報を送信する。例えば、サーバ機器10が動画コンテンツや静止画コンテンツ、音楽コンテンツを蓄積することのできるHDD(Hard Disk Drive)内蔵型のDVD(Digital Video Disk)レコーダであるならば、新しくコンテンツが録画または録音された場合や、既存のコンテンツが削除された場合などに、CDSのイベントであるSystemUpdateIDをイベント登録を受諾した機器に対して送信する。ここで、SystemUpdateIDは、ID生成手段13が生成する符号なしの32ビットで表される数値であるとする。   The server device 10 transmits event information to the device that accepted the event registration (here, the client device 20) every time the internal state of the server device 10 changes after the event registration is completed. For example, if the server device 10 is an HDD (Hard Disk Drive) built-in DVD (Digital Video Disk) recorder capable of storing video content, still image content, and music content, new content is recorded or recorded. In this case, or when existing content is deleted, SystemUpdateID, which is a CDS event, is transmitted to the device that has accepted the event registration. Here, SystemUpdateID is assumed to be a numerical value represented by unsigned 32 bits generated by the ID generation means 13.

UPnP AV規格のCDSでは、SystemUpdateIDにおけるID値は特に決まっておらず、メディアサーバがコントロールポイントにイベント通知を行う際は、前回のイベント通知に用いた値と異なるID値を持つことが条件となっている。   In the UPnP AV standard CDS, the ID value in SystemUpdateID is not particularly determined, and when the media server sends an event notification to the control point, the ID value is different from the value used for the previous event notification. ing.

次に、図4を用いて、サーバ機器10からクライアント機器20に対してコマンドを送信する場合の動作について説明する。なお、図4は、本発明の実施の形態1における、サーバ機器10からクライアント機器20に対してコマンドを送信する場合のサーバ機器における処理のシーケンスを示す図である。   Next, an operation when a command is transmitted from the server device 10 to the client device 20 will be described with reference to FIG. FIG. 4 is a diagram illustrating a processing sequence in the server device when a command is transmitted from the server device 10 to the client device 20 according to the first embodiment of the present invention.

サーバ機器10において、クライアント指示手段14によりユーザ等から入力されるクライアント機器20に対するコマンドが受け付けられる(S40)。クライアント機器20に対するコマンドは、サーバ機器10を操作するユーザなどによって入力されてもよいし、サーバ機器10の内部で実行されているプログラムなどによってサーバ機器10が自発的に発行するコマンドを受け付けてもよい。また、UPnP AV規格外で予め取り決められた複数あるコマンドのうちの特定のコマンドを選ぶことによって行われてもよい。コマンドを受け付けたクライアント指示手段14は、受け付けたコマンドの内容をID生成手段13に対して通知し(S41)、クライアント指示手段14からコマンドの内容の通知を受けたID生成手段13は、そのコマンドに対応したIDを予め取り決められた規則に従って生成する(S42)。   In the server device 10, a command for the client device 20 input from the user or the like by the client instruction means 14 is accepted (S40). A command for the client device 20 may be input by a user who operates the server device 10, or a command issued spontaneously by the server device 10 may be received by a program executed in the server device 10. Good. Further, it may be performed by selecting a specific command from a plurality of commands determined in advance outside the UPnP AV standard. The client instruction means 14 that has received the command notifies the ID generation means 13 of the contents of the received command (S41), and the ID generation means 13 that has received the notification of the command contents from the client instruction means 14 The ID corresponding to is generated in accordance with a predetermined rule (S42).

図8は、本発明の実施の形態1におけるID生成手段13が生成するIDのビットの構成例を示す図である。図8において、上位2ビットは予約領域であり、この予約領域の値はID発行の度に順次“00”、“01”、“10”、“11”、“00”、・・・のように毎回その値が変化する。このように毎回予約領域の値を変化させるのは、UPnP AV規格に基づく通常のイベントを発生させる時には前回と異なるID値をクライアント機器20に通知することにより、クライアント機器20に対してサーバ機器10における内部の状態が変化したことを示すためである。   FIG. 8 is a diagram illustrating a configuration example of ID bits generated by the ID generation unit 13 according to Embodiment 1 of the present invention. In FIG. 8, the upper 2 bits are a reserved area, and the value of the reserved area is “00”, “01”, “10”, “11”, “00”,. The value changes every time. In this way, the value of the reserved area is changed every time when an ordinary event based on the UPnP AV standard is generated, the client device 20 is notified of the ID value different from the previous one, thereby causing the server device 10 This is to show that the internal state has changed.

予約領域に続くビットは“コマンドフラグ”であり、このフラグに“1”がセットされている場合は、以下に続くビット列がUPnP AV規格外で予め取り決められたコマンドとして意味をなすものであることを示し、“0”がセットされている場合は、以下のコマンド列に格納されている値はUPnP AV規格外で予め取り決められたコマンドとしての意味を持たない、すなわち、UPnP AV規格に基づく通常のIDとして処理されるべきものであることを示す。   The bit following the reserved area is a “command flag”, and when this flag is set to “1”, the following bit string makes sense as a command decided in advance outside the UPnP AV standard. And “0” is set, the values stored in the following command sequence have no meaning as commands predetermined outside the UPnP AV standard, that is, normal based on the UPnP AV standard. It is to be processed as an ID.

ID生成手段13は、上記のようなビットの構成を有するIDを生成した(S42)後、UPnP AVプロトコル処理手段12に対し、その生成したIDを通知してUPnP AVプロトコル処理手段12が生成するイベントにその生成したIDを埋め込ませるとともに、イベント通知の発行を促す(S43)。   The ID generation unit 13 generates an ID having the bit configuration as described above (S42), and then notifies the UPnP AV protocol processing unit 12 of the generated ID and the UPnP AV protocol processing unit 12 generates the ID. The generated ID is embedded in the event and an event notification is issued (S43).

ID生成手段13からイベント通知の発行要求を受けたUPnP AVプロトコル処理手段12は、ID生成手段13が生成したIDを埋め込ませたイベントを生成し(S44)、その生成したイベントを通信手段11から通信路3を介してクライアント機器20に通知する(S45)。   Upon receiving the event notification issuance request from the ID generation unit 13, the UPnP AV protocol processing unit 12 generates an event in which the ID generated by the ID generation unit 13 is embedded (S44), and the generated event is transmitted from the communication unit 11. The client device 20 is notified via the communication path 3 (S45).

ここで、図5を用いて、サーバ機器10がUPnP AV規格に基づく通常のイベントを発生させる場合のイベント通知の動作について説明しておく。なお、図5は、UPnP AV規格に基づく通常のイベントを発生させる場合のサーバ機器10におけるイベント通知の動作のシーケンスを示す図である。通常のイベントを発生させる場合は、図5に示すように、UPnP AVプロトコル処理手段12において、IDを含むUPnP AV規格に基づくイベントが生成され(S50)、この生成されたイベントは通信手段11から通信路3を介してクライアント機器20に送信され、イベント通知が行なわれる(S51)。   Here, the operation of event notification when the server device 10 generates a normal event based on the UPnP AV standard will be described with reference to FIG. FIG. 5 is a diagram showing an event notification operation sequence in the server device 10 when a normal event based on the UPnP AV standard is generated. In the case of generating a normal event, as shown in FIG. 5, the UPnP AV protocol processing unit 12 generates an event based on the UPnP AV standard including the ID (S50), and the generated event is transmitted from the communication unit 11. An event notification is sent to the client device 20 via the communication path 3 (S51).

次に、図6を用いて、サーバ機器10が通信路3を介して送信したイベントを受信したクライアント機器20が、受信したイベントを処理し、そのイベント情報に埋め込まれているコマンドに従った処理を実行するまでのシーケンスを説明する。なお、図6は、本発明の実施の形態1におけるクライアント機器20が、サーバ機器10から受信したイベントを処理してそのイベント情報に埋め込まれているコマンドに従った処理を実行するまでのクライアント機器20におけるシーケンスを示す図である。   Next, referring to FIG. 6, the client device 20 that has received the event transmitted from the server device 10 via the communication path 3 processes the received event and performs processing according to the command embedded in the event information. The sequence until execution is performed will be described. FIG. 6 shows the client device 20 until the client device 20 according to the first embodiment of the present invention processes an event received from the server device 10 and executes a process according to a command embedded in the event information. FIG. 20 is a diagram showing a sequence in FIG.

クライアント機器20において、通信手段21は、通信路3を介してサーバ機器10より送信されたイベント情報を受信し(S60)、その受信したイベント情報、即ち受信データをUPnP AVプロトコル処理手段22に対して通知する。   In the client device 20, the communication unit 21 receives the event information transmitted from the server device 10 via the communication path 3 (S 60), and the received event information, that is, received data is sent to the UPnP AV protocol processing unit 22. To notify.

UPnP AVプロトコル処理手段22は、受信データを処理し、受信データがイベント情報であることを解釈してデータ中に埋め込まれたIDを抽出し(S61)、その抽出したIDをID解析手段23に通知する(S62)。ID解析手段23は、UPnP AVプロトコル処理手段22からIDを受け取ると、予め取り決められた規則に基づいて、例えば、図6を用いて説明したビットの構成に則り、受け取ったIDを解析し(S63)、その解析結果に基づいてコマンド実行手段24に対してコマンド内容の実行命令を行なう。例えば、サーバ機器10がクライアント機器20に対して送信したイベント情報が“クライアント機器20をシャットダウンせよ”というコマンドであった場合、ID解析手段23は、コマンド実行手段24に対してコマンド内容の実行命令を行い(S64)、コマンド実行手段24は、実行命令に従ってシャットダウン処理を行なってクライアント機器20をシャットダウンさせる(S65)。   The UPnP AV protocol processing means 22 processes the received data, interprets that the received data is event information, extracts the ID embedded in the data (S61), and sends the extracted ID to the ID analyzing means 23. Notification is made (S62). Upon receiving the ID from the UPnP AV protocol processing unit 22, the ID analysis unit 23 analyzes the received ID based on the predetermined rule, for example, according to the bit configuration described with reference to FIG. 6 (S63). ), An execution instruction of the command content is executed to the command execution means 24 based on the analysis result. For example, when the event information transmitted from the server device 10 to the client device 20 is a command “shut down the client device 20”, the ID analysis unit 23 instructs the command execution unit 24 to execute the command content. (S64), the command execution means 24 performs a shutdown process in accordance with the execution instruction to shut down the client device 20 (S65).

次に、図7を用いて、クライアント機器20においてUPnP AV規格に基づく通常のイベントを受信する場合における処理について説明する。なお、図7は、クライアント機器20においてUPnP AV規格に基づく通常のイベントを受信する場合における処理のシーケンスを示す図である。   Next, processing when the client device 20 receives a normal event based on the UPnP AV standard will be described with reference to FIG. FIG. 7 is a diagram showing a processing sequence when the client device 20 receives a normal event based on the UPnP AV standard.

上記のコマンドが埋め込まれているイベントを受信した場合の処理と同様に、通信手段21は、サーバ機器10からイベントを受信し(S70)、UPnP AVプロトコル処理手段22に対して受信データ(受信したイベント)を通知する。UPnP AVプロトコル処理手段22は、通信手段21から通知された受信データを処理し(S71)、受信データがイベント通知であることを解釈して受信データ中に埋め込まれたIDを抽出し、その抽出したIDをID解析手段23に通知する(S72)。ID解析手段23は、UPnP AVプロトコル処理手段22から通知されたIDを解析し(S73)、その結果、UPnP AV規格に基づいた通常のイベントであることを解釈する。この場合、ID解析手段23はコマンド実行手段24には何も通知せずに処理を終える。   Similar to the processing when an event in which the above command is embedded is received, the communication means 21 receives the event from the server device 10 (S70), and receives the received data (received) from the UPnP AV protocol processing means 22. Event). The UPnP AV protocol processing means 22 processes the received data notified from the communication means 21 (S71), interprets that the received data is an event notification, extracts the ID embedded in the received data, and extracts the extracted data. The ID is notified to the ID analysis means 23 (S72). The ID analysis means 23 analyzes the ID notified from the UPnP AV protocol processing means 22 (S73), and as a result, interprets it as a normal event based on the UPnP AV standard. In this case, the ID analysis unit 23 ends the process without notifying the command execution unit 24 of anything.

以上のように、本発明の実施の形態1においては、サーバ機器10からサーバ機器10の状態をクライアント機器20に対して通知するイベントを活用して、そのイベント情報の中にクライアント機器20に対するコマンドを埋め込ませることにより、特定のサーバ機器10から特定のクライアント機器20に対してコマンドを送信することが可能となる。この場合、該コマンドを受信した特定のクライアント機器は、予め取り決められた規則に従って、特定のサーバ機器から受信したイベントを解析して指示されたコマンドを実行する。予め取り決められた規則を持たない一般のクライアント機器では、サーバ機器からUPnP AV規格に基づいた通常のイベントを受信した場合と同様の処理をさせることで、既存の一般的な機器との接続性を確保することができる。   As described above, in the first embodiment of the present invention, the event that notifies the client device 20 of the state of the server device 10 from the server device 10 is used, and the command for the client device 20 is included in the event information. It is possible to transmit a command from the specific server device 10 to the specific client device 20 by embedding. In this case, the specific client device that has received the command executes the command instructed by analyzing the event received from the specific server device in accordance with a predetermined rule. In general client devices that do not have predetermined rules, connectivity with existing general devices is improved by performing the same processing as when receiving normal events based on the UPnP AV standard from server devices. Can be secured.

なお、実施の形態1においては、サーバ機器10とクライアント機器20が1対1対応の通信を行う例を示したがこれに限るものではなく、例えば、図9に示すように1台のサーバ機器10に対して、複数のクライアント機器(クライアント機器20、クライアント機器30)がそれぞれサーバ機器10にイベント登録を行うことで、サーバ機器10は2台以上の複数のクライアント機器に同時にコマンド送信が行えるようになる。   In the first embodiment, the server device 10 and the client device 20 perform one-to-one communication. However, the present invention is not limited to this. For example, as shown in FIG. 9, one server device 10, a plurality of client devices (client device 20, client device 30) perform event registration with the server device 10, respectively, so that the server device 10 can simultaneously transmit commands to two or more client devices. become.

また、実施の形態1においては、IDのビット構成の中に“コマンドフラグ”領域を設けたがこれに限るものではなく、“コマンドフラグ”領域は設けなくてもよい。 また、IDのビット構成の中に予約領域を設けたが、これに限るものではなく、最終的に生成されるID値が毎回変化していることが保証される限り予約領域は設けても、設けなくてもよい。   In the first embodiment, the “command flag” area is provided in the bit configuration of the ID. However, the present invention is not limited to this, and the “command flag” area may not be provided. In addition, although the reserved area is provided in the bit configuration of the ID, the present invention is not limited to this. Even if the reserved area is provided as long as it is guaranteed that the finally generated ID value is changed, It does not have to be provided.

また、予約領域、“コマンドフラグ”領域、コマンド領域は、任意のビット幅で設定してもよく、さらに、予約領域、“コマンドフラグ”領域、コマンド領域は任意の順序で出現してもよい。   In addition, the reserved area, the “command flag” area, and the command area may be set with an arbitrary bit width, and the reserved area, the “command flag” area, and the command area may appear in an arbitrary order.

また、本発明の実施の形態1においては、IDは符号なしの32ビットで表される数値であるとしたが、これに限るものではなく、例えば、符号なしの任意のビット長であってもよく、また符号つきであってもよい。   In the first embodiment of the present invention, the ID is a numerical value represented by 32 bits without a sign. However, the present invention is not limited to this. For example, an arbitrary bit length without a sign may be used. It may also be signed.

また、コマンドが1種類の場合には、コマンド領域を設けなくても同様の効果が得られる。   In addition, when there is one type of command, the same effect can be obtained without providing a command area.

また、本発明の実施の形態1においては、UPnP AVコマンドを例に取って説明したが、これに限るものではなく、例えば、IEEE1394 AVCコマンドを用いても同様の効果が得られる。   In the first embodiment of the present invention, the UPnP AV command has been described as an example. However, the present invention is not limited to this. For example, the same effect can be obtained by using an IEEE 1394 AVC command.

本発明によれば、クライアント機器のみからサーバ機器へ一方的な命令を行うサーバクライアント型のシステムにおいて、双方の機器にサーバ機能、クライアント機能の両機能を実装することなく、クライアント機器からサーバ機器へも、サーバ機器からクライアント機器へも双方向に命令を出すことが可能となる。   According to the present invention, in a server client type system in which a unidirectional command is issued from only a client device to a server device, the client device is transferred from the client device to the server device without implementing both the server function and the client function. In addition, it is possible to issue a command bidirectionally from the server device to the client device.

本発明の実施の形態1におけるサーバ機器およびクライアント機器の主要部の構成を示すブロック図The block diagram which shows the structure of the principal part of the server apparatus in Embodiment 1 of this invention, and a client apparatus. 本発明の実施の形態1における機器検索のシーケンスを示す図The figure which shows the apparatus search sequence in Embodiment 1 of this invention 本発明の実施の形態1におけるイベント購読登録のシーケンスを示す図The figure which shows the sequence of the event subscription registration in Embodiment 1 of this invention 本発明の実施の形態1におけるサーバ機器からクライアント機器に対してコマンドを送信する場合のサーバ機器における処理のシーケンスを示す図The figure which shows the sequence of the process in a server apparatus in the case of transmitting a command with respect to a client apparatus from the server apparatus in Embodiment 1 of this invention. UPnP AV規格に基づく通常のイベントを発生させる場合のイベント送信を行うまでのサーバ機器におけるシーケンスを示す図The figure which shows the sequence in the server apparatus until performing event transmission in the case of generating the normal event based on UPnP AV standard 本発明の実施の形態1におけるクライアント機器がサーバ機器から受信したイベントを処理してそのイベント情報に埋め込まれているコマンドに従った処理を実行するまでのクライアント機器におけるシーケンスを示す図The figure which shows the sequence in a client apparatus until the client apparatus in Embodiment 1 of this invention processes the event received from the server apparatus, and performs the process according to the command embedded in the event information. クライアント機器においてUPnP AV規格に基づく通常のイベントを受信する場合における処理のシーケンスを示す図The figure which shows the sequence of a process in the case of receiving the normal event based on UPnP AV specification in a client apparatus. 本発明の実施の形態1におけるID生成手段が生成するIDのビットの構成例を示す図The figure which shows the structural example of the bit of ID which the ID production | generation means in Embodiment 1 of this invention produces | generates 本発明の実施の形態1におけるサーバ機器と複数のクライアント機器が通信路を介して接続される構成を示す図The figure which shows the structure by which the server apparatus and several client apparatus in Embodiment 1 of this invention are connected via a communication channel.

符号の説明Explanation of symbols

3 通信路
10 サーバ機器
11 通信手段
12 UPnP AVプロトコル処理手段(サーバ機能)
13 ID生成手段
14 クライアント指示手段
20 クライアント機器
21 通信手段
22 UPnP AVプロトコル処理手段(クライアント機能)
23 ID解析手段
24 コマンド実行手段
30 クライアント機器
3 Communication path 10 Server device 11 Communication means 12 UPnP AV protocol processing means (server function)
13 ID generation means 14 Client instruction means 20 Client device 21 Communication means 22 UPnP AV protocol processing means (client function)
23 ID analysis means 24 Command execution means 30 Client device

Claims (6)

ネットワークに接続されたサーバ機器と、規格に基づき前記サーバ機器における内部状態が変化した場合に前記サーバ機器から送信される前記サーバ機器の内部の状態を通知するイベントを、前記ネットワークを介して受信するように関係づけられたクライアント機器とで構成されるクライアントサーバシステムであって、
前記サーバ機器は、
前記ネットワークを介して通信パケットを送受信する通信手段(イ)と、
前記通信手段(イ)を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記クライアント機器に対して内部の状態を通知する前記イベントを生成して送信するプロトコル処理手段(ロ)と、
ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドに対応したID(IDentification)を予め取り決められた規則に基づいて生成し、前記プロトコル処理手段(ロ)に対して前記生成したIDを通知して前記生成したIDを前記イベントに埋め込ませるとともに、前記プロトコル処理手段(ロ)に対して前記イベントの発行を促すID生成手段と、
前記ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドを受け付け、そのコマンドの内容を前記ID生成手段に伝えるクライアント指示手段を具備し、
前記クライアント機器は、
前記ネットワークを介して通信パケットを送受信する通信手段(ハ)と、
前記通信手段(ハ)を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記サーバ機器から受信した前記イベントに埋め込まれた前記予め取り決められた規則に基づくIDを抽出するプロトコル処理手段(ニ)と、
前記プロトコル処理手段(ニ)において抽出された前記予め取り決められた規則に基づくIDを前記予め取り決められた規則に基づいて解析し、その解析結果が前記予め取り決められた規則に基づくコマンドであった場合に前記コマンドの実行命令を発行するID解析手段と、
前記ID解析手段で発行された前記コマンドの実行命令に従って前記コマンドを実行するコマンド実行手段を具備する
ことを特徴とするクライアントサーバシステム。
A server device connected to the network and an event for notifying the internal state of the server device transmitted from the server device when the internal state of the server device changes based on the standard is received via the network. A client server system composed of client devices related to each other,
The server device is
Communication means (b) for transmitting and receiving communication packets via the network;
Protocol processing means (B) which processes the communication packet transmitted / received via the communication means (a) according to a protocol based on the standard and generates and transmits the event for notifying the client device of an internal state. )When,
An ID (IDentification) corresponding to a command to the client device that is input from a user or the like or issued spontaneously by the server device is generated based on a predetermined rule, and is sent to the protocol processing means (b) ID generation means for notifying the generated ID and embedding the generated ID in the event, and urging the protocol processing means (b) to issue the event;
A client instruction unit that receives a command for the client device that is input from the user or the like or that is voluntarily issued by the server device, and transmits the content of the command to the ID generation unit;
The client device is
A communication means (c) for transmitting and receiving communication packets via the network;
A protocol for processing the communication packet transmitted / received via the communication means (c) in accordance with a protocol based on the standard and extracting an ID based on the predetermined rule embedded in the event received from the server device Processing means (d);
When the ID based on the predetermined rule extracted in the protocol processing means (d) is analyzed based on the predetermined rule, and the analysis result is a command based on the predetermined rule ID analysis means for issuing an execution instruction of the command to
A client server system comprising command execution means for executing the command in accordance with an execution instruction of the command issued by the ID analysis means.
ネットワークで接続されクライアント機器に対して、規格に基づき内部状態が変化した場合に内部の状態を通知するイベントを前記ネットワークを介して送信するように関係づけられ、前記クライアント機器とでクライアントサーバシステムを構成するサーバ機器であって、
前記ネットワークを介して通信パケットを送受信する通信手段と、
前記通信手段を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記クライアント機器に対して内部の状態を通知する前記イベントを生成して送信するプロトコル処理手段と、
ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドに対応したIDを予め取り決められた規則に基づいて生成し、
前記プロトコル処理手段に対して前記生成したIDを通知して前記生成したIDを前記イベントに埋め込ませるとともに、前記プロトコル処理手段に対して前記イベントの発行を促すID生成手段と、
前記ユーザなどから入力される、あるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドを受け付け、そのコマンドの内容を前記ID生成手段に伝えるクライアント指示手段を具備する
ことを特徴とするサーバ機器。
When an internal state changes based on a standard to a client device connected via a network, an event for notifying the internal state is transmitted via the network, and a client server system is connected to the client device. A server device comprising:
Communication means for transmitting and receiving communication packets via the network;
Protocol processing means for processing the communication packet to be transmitted / received via the communication means according to a protocol based on the standard, and generating and transmitting the event for notifying the client device of an internal state;
An ID corresponding to a command for the client device that is input from a user or the like or is voluntarily issued by the server device is generated based on a predetermined rule,
An ID generating means for notifying the protocol processing means of the generated ID and embedding the generated ID in the event, and for urging the protocol processing means to issue the event;
Server equipment comprising client instruction means for accepting a command for the client equipment input from the user or the like or issued spontaneously by the server equipment and transmitting the contents of the command to the ID generation means .
ネットワークで接続されたサーバ機器と、規格に基づき前記サーバ機器における内部状態が変化した場合に前記サーバ機器から送信される前記サーバ機器の内部の状態を通知するイベントを、前記ネットワークを介して受信するように関係づけられ、前記サーバ機器とでクライアントサーバシステムを構成するクライアント機器であって、
前記ネットワークを介して通信パケットを送受信する通信手段と、
前記通信手段を介して送受信する前記通信パケットを前記規格に基づくプロトコルに従って処理するとともに、前記サーバ機器から受信した前記イベントに埋め込まれた前記予め取り決められた規則に基づくIDを抽出するプロトコル処理手段と、
前記プロトコル処理手段において抽出された前記予め取り決められた規則に基づくIDを前記予め取り決められた規則に基づいて解析し、その解析結果が前記予め取り決められた規則に基づくコマンドであった場合に前記コマンドの実行命令を発行するID解析手段と、
前記ID解析手段で発行された前記コマンドの実行命令に従って前記コマンドを実行するコマンド実行手段を具備する
ことを特徴とするクライアント機器。
A server device connected via a network and an event for notifying the internal state of the server device transmitted from the server device when the internal state of the server device changes based on a standard is received via the network. A client device constituting a client server system with the server device,
Communication means for transmitting and receiving communication packets via the network;
Protocol processing means for processing the communication packet transmitted / received via the communication means according to a protocol based on the standard, and extracting an ID based on the predetermined rule embedded in the event received from the server device; ,
If the ID based on the predetermined rule extracted by the protocol processing means is analyzed based on the predetermined rule, and the analysis result is a command based on the predetermined rule, the command ID analysis means for issuing an execution instruction of
A client device comprising command execution means for executing the command in accordance with an execution instruction of the command issued by the ID analysis means.
前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とする請求項1記載のクライアントサーバシステム。 The event is represented by a numerical value of a plurality of bits, according to the numerical value, according to which range of the predetermined range the numerical value falls within, or a part of the numerical value represented by the multiple bits. 2. The client server system according to claim 1, wherein a command for the client device, which is input from the user or the like or is issued voluntarily by the server device, is allocated according to a bit value. 前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とする請求項2記載のサーバ機器。 The event is represented by a numerical value of a plurality of bits, according to the numerical value, according to which range of the predetermined range the numerical value falls within, or a part of the numerical value represented by the multiple bits. 3. The server device according to claim 2, wherein a command for the client device, which is input from the user or the like or is issued voluntarily by the server device, is allocated according to a bit value. 前記イベントは、複数ビットの数値で表され、前記数値に応じて、もしくは前記数値が予め定められた範囲のどの範囲に入るかに応じて、もしくは前記複数ビットで表された数値における一部のビットの値に応じて、前記ユーザなどから入力されるあるいは前記サーバ機器が自発的に発行する前記クライアント機器に対するコマンドが割り振られていることを特徴とする請求項3記載のクライアント機器。 The event is represented by a numerical value of a plurality of bits, according to the numerical value, according to which range of the predetermined range the numerical value falls within, or a part of the numerical value represented by the multiple bits. 4. The client device according to claim 3, wherein a command is assigned to the client device that is input from the user or the like or is issued voluntarily by the server device in accordance with a bit value.
JP2006137536A 2006-05-17 2006-05-17 Bi-directionally controllable client/server system composed of server equipment and client equipment Pending JP2007310538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006137536A JP2007310538A (en) 2006-05-17 2006-05-17 Bi-directionally controllable client/server system composed of server equipment and client equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006137536A JP2007310538A (en) 2006-05-17 2006-05-17 Bi-directionally controllable client/server system composed of server equipment and client equipment

Publications (1)

Publication Number Publication Date
JP2007310538A true JP2007310538A (en) 2007-11-29

Family

ID=38843351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006137536A Pending JP2007310538A (en) 2006-05-17 2006-05-17 Bi-directionally controllable client/server system composed of server equipment and client equipment

Country Status (1)

Country Link
JP (1) JP2007310538A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012065058A (en) * 2010-09-15 2012-03-29 Hitachi Consumer Electronics Co Ltd Transmitter, receiver and transmission method
JP2013008191A (en) * 2011-06-24 2013-01-10 Sony Corp Information processor, program, information processing method and information processing system
JP6176764B1 (en) * 2016-11-28 2017-08-09 一般社団法人日本ケーブルラボ Television viewing operation method, set top box, terminal, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012065058A (en) * 2010-09-15 2012-03-29 Hitachi Consumer Electronics Co Ltd Transmitter, receiver and transmission method
JP2013008191A (en) * 2011-06-24 2013-01-10 Sony Corp Information processor, program, information processing method and information processing system
JP6176764B1 (en) * 2016-11-28 2017-08-09 一般社団法人日本ケーブルラボ Television viewing operation method, set top box, terminal, and program
JP2018088588A (en) * 2016-11-28 2018-06-07 一般社団法人日本ケーブルラボ Television viewing operation method, set-top box, terminal and program

Similar Documents

Publication Publication Date Title
US7912972B2 (en) Method of controlling device connected to universal plug and play home network via internet, and system and device for the method
JP5512630B2 (en) Control device, control method, control program, and system
CN1906888B (en) Home network system and method therefor
EP2424172B1 (en) Method and apparatus for establishing communication
JP2005175625A (en) Remote control system and method
EP2461523B1 (en) Systems and methods for operating an appliance control device for an appliance
JP2008252498A (en) Network system, device and program for information processing
JP2007158854A (en) Av server device, client apparatus, and file transfer system
JP2009231974A (en) Information processing unit, information reproducing unit, information processing method, information reproduction method, information processing system, and program
JP2006236354A (en) Service framework of home network and control method thereof
JP2015036900A (en) Information processing apparatus, control method of the same, and program
KR100949020B1 (en) Service method and system for multicast streaming
JP2010186271A (en) Information processing apparatus and method for controlling the same, service provision device and method for controlling the same, information processing system, information processing method, program and recording medium
US20150358363A1 (en) Method and apparatus for controlling session between devices on network including multiple devices
JP2006115471A (en) Data transmission system, data transmission method and media apparatus
JP2007310538A (en) Bi-directionally controllable client/server system composed of server equipment and client equipment
JP2005157603A (en) State information providing device and method, computer program for the same, recording medium with the program stored, and computer programmed by the program
JP2003308264A (en) Network equipment and method for controlling network equipment
US8171144B2 (en) AV server apparatus and connection management method
WO2017020607A1 (en) Rdp data playback method, server and system
WO2011033611A1 (en) Communication apparatus
JP2008102870A (en) Content management system, content supply device, content management method, program and storage medium
JP3840215B2 (en) COMMUNICATION DEVICE, METHOD, DEVICE CONTROL DEVICE, METHOD, AND PROGRAM
JP2009182667A (en) Electronic device, and network system
JP5220427B2 (en) Information processing apparatus, control terminal, device control system, and device control method