JP2005055983A - Service management method and apparatus, and control program - Google Patents

Service management method and apparatus, and control program Download PDF

Info

Publication number
JP2005055983A
JP2005055983A JP2003206274A JP2003206274A JP2005055983A JP 2005055983 A JP2005055983 A JP 2005055983A JP 2003206274 A JP2003206274 A JP 2003206274A JP 2003206274 A JP2003206274 A JP 2003206274A JP 2005055983 A JP2005055983 A JP 2005055983A
Authority
JP
Japan
Prior art keywords
service
web service
program
information
processing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003206274A
Other languages
Japanese (ja)
Inventor
Shinichi Uchikawa
慎一 内川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003206274A priority Critical patent/JP2005055983A/en
Publication of JP2005055983A publication Critical patent/JP2005055983A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a service management method for enabling a client to perform a necessary data processing when using service and enabling the client to use the service without preparing an exclusive program beforehand by the client. <P>SOLUTION: A Web service managing device 100 receives a WSDL file with the method of use of a Web service described therein from a Web service provider 200, the contents of the Web service and device information. On the basis of the WSDL file, the Web service managing device 100 prepares a Web service client program 100A for using the Web service of a Web service provider 200 and a Web service managing device server program 100B and a Web service managing device client program 300B for allowing a Web service client 300 to transmit a Web service request to the Web service managing device 100, and to receive the result (S2). Furthermore, the Web service managing device 100 prepares the UI data of a UI picture (S3). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、サービス管理装置が情報処理装置によって利用されるサービスを管理するサービス管理方法、サービス管理装置および制御プログラムに関する。
【0002】
【従来の技術】
従来、ネットワークシステムとして、クライアントからのサービスの要求に対し、サーバがサービスを提供するものが知られている(例えば、特許文献1)。
【0003】
このネットワークシステムでは、サーバがサービス情報に基づいて設定画面データを生成して、それをクライアントに送信し、クライアントはその設定画面を表示する。クライアントのユーザは、設定画面においてサービスを利用する上での条件を設定することにより、サーバが提供するサービスを利用する。
【0004】
【特許文献1】
特開2002−082785号公報
【0005】
【発明が解決しようとする課題】
サーバおよびクライアントがネットワークを介して接続されたデータ処理システムにおいて、Webサービス技術を使用することにより、サーバがクライアントにサービスを提供することが知られている。
【0006】
このWebサービス技術では、サーバとしてのWebサービスプロバイダ装置(以下、Webサービスプロバイダ)が、WSDL(Web ServicesDescription Language)で記述されたWSDLファイルをSOAP(Simple Object Access Protocol)を用いて、クライアントとしてのWebサービスリクエスタ装置(以下、Webサービスリクエスタ)に提供し、WebサービスリクエスタはそのWSDLファイルを解析して、Webサービスプロバイダがどのようなサービスを提供しているか、またはどのような手順及びプロトコルでサービスを受けるかを認識することができる。従って、Webサービスリクエスタは、希望するサービスを利用する場合、まず、Webサービス登録サーバ(以下、UDDIレジストリという)等を用いて、希望するサービスを提供しているWebサービスプロバイダを検索する、つぎに、検索によって見つかったWebサービスプロバイダからWSDLファイルを取得し、取得したWSDLファイルを使ってWebサービスクライアントプログラムを作成する。そして、Webサービスリクエスタのユーザは、作成したWebサービスクライアントプログラムを使って、Webサービスプロバイダが提供するサービスを利用する。
【0007】
しかしながら、上記Webサービス技術を用いたデータ処理システムでは、以下に掲げる問題がある。すなわち、WebサービスリクエスタがUDDIレジストリに登録されたサービスを利用する場合、Webサービスリクエスタは、WebサービスプロバイダからWSDLファイルを取得してWSDLファイルを解析しWebサービスクライアントプログラムを作成する専用のプログラムを必要とし、さらにその専用のプログラムを実行して作成処理を行わなければならないのでデータ処理の負担が大きかった。特に、WSDLの解析処理にはメモリ資源を必要とするので、限られたメモリ資源しか保有していないMFP(Multi Function Peripheral)等のデバイスにとっては負担が大きかった。
【0008】
また、上記従来の技術のように、Webサービスリクエスタが、Webファイルから作成された設定画面データを受信して、ユーザがその設定画面を使用してサービスを利用することも考えられる。しかし、設定画面データだけでは、条件を設定する設定処理はできても、例えば、サービスに合わせてデータのフォーマットを変換したり、サービス後の結果を受け取って処理したりすることは困難である。
【0009】
また、WebサービスプロバイダがUDDIレジストリにWebサービスを登録する場合、サービス提供者(Webサービスプロバイダ)に関する情報、提供するサービスの内容や名前、およびWebサービスを呼び出すためのインタフェース情報は登録されるが、提供するサービスのシステム環境(CPU、メモリ)や稼動実績等については通常登録されない。すると、優れたサービスを提供しているデバイス(Webサービスプロバイダ)がUDDIレジストリに登録されていても、利用した検索条件に合わず、利用者に知られないでいることがある。また、UDDIレジストリでサービスを検索した結果、同一のサービスを提供しているWebサービスプロバイダが複数登録されていた場合、Webサービスリクエスタは、どのWebサービスプロバイダを利用すると、最適なサービスを受けることができるのか判断することができない。
【0010】
そこで、本発明は、サーバとしてのいデータ処理装置が提供するサービスの内容に合わせてサービスを利用するためのプログラムを作成し、それをクライアントとしての情報処理装置に使用させることにより、クライアントがサービスを利用する際に必要なデータ処理を行えるようにし、クライアントが予め専用のプログラムを備えていなくてもサービスを利用できるようにするサービス管理方法、サービス管理装置および制御プログラムを提供することを目的とする。
【0011】
【課題を解決するための手段】
上記目的を達成するために、本発明のサービス管理方法は、情報処理装置によって利用されるサービスをサービス管理装置が管理するサービス管理方法であって、データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信ステップと、前記受信ステップで受信されたサービス記述情報を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成ステップと、前記作成ステップで作成されたプログラムを前記情報処理装置に送信する送信ステップと、前記情報処理装置で実行される前記プログラムと通信した後、前記データ処理装置にサービスの利用を要求する要求ステップと、前記データ処理装置が提供したサービスの利用結果を前記情報処理装置で実行されるプログラムに返信する返信ステップとを有することを特徴とする。
【0012】
本発明のサービス管理装置は、情報処理装置によって利用されるサービスを管理するサービス管理装置であって、データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信手段と、前記受信手段により受信されたサービス記述情報を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成手段と、前記作成手段により作成されたプログラムを前記情報処理装置に送信する送信手段と、前記情報処理装置で実行される前記プログラムと通信した後、前記データ処理装置にサービスの利用を要求する要求手段と、前記データ処理装置が提供したサービスの利用結果を前記情報処理装置で実行されるプログラムに返信する返信手段とを備えたことを特徴とする。
【0013】
【発明の実施の形態】
本発明のサービス管理方法、サービス管理装置および制御プログラムの実施の形態について図面を参照しながら説明する。本実施形態では、Webサービス技術を採用し、Webサービス管理装置、WebサービスプロバイダおよびWebサービスリクエスタ(Webサービスクライアント)がネットワークを介して接続されたネットワークシステムに適用される。
【0014】
[全体の構成]
図1は実施の形態におけるネットワークシステムの構成を示す図である。本実施形態のネットワークシステムは、Webサービス管理装置100およびデバイス200、210、300、310がネットワーク400を介して接続された構成を有する。Webサービス管理装置(Webサービス管理サーバ)100は、Webサービスおよびデバイスの情報の登録を受け付ける。デバイス200、210は、Webサービスプロバイダとなり、Webサービス管理装置100に自らの公開しているWebサービス情報およびデバイス情報を登録する。デバイス300、310は、Webサービス管理装置100に登録されたWebサービスを利用するWebサービスリクエスタ(Webサービスクライアント)となる。本実施形態では、デバイス200、300、310はMFP(Multi Function Peripheral)から構成されるが、一般的なPCから構成されてもよい。
【0015】
[Webサービス管理装置の構成]
図2はWebサービス管理装置の構成を示すブロック図である。このWebサービス管理装置は一般的なPCと同じ構成を有する。すなわち、Webサービス管理装置100は、ROM252もしくはハードディスク(HD)261に記憶された、あるいはフロッピー(登録商標)ディスクドライブ(FD)262から供給される各種ソフトウェアを実行するCPU251を有しており、CPU251はシステムバス254に接続された各部を総括的に制御する。
【0016】
253はRAMであり、CPU251の主メモリ、ワークエリア等として機能する。255はキーボードコントローラ(KBC)であり、キーボード(KB)259やポインティングデバイス(図示せず)等からの指示入力を制御する。256はCRTコントローラ(CRTC)であり、CRTディスプレイ(CRT)260の表示を制御する。
【0017】
257はディスクコントローラ(DKC)であり、ブートプログラム、分散サーバシステムプログラム、種々のアプリケーション、編集ファイル、ユーザファイル等を記憶するハードディスク(HD)261およびフロッピー(登録商標)ディスクドライブ(FD)262とのアクセスを制御する。258はネットワークインタフェースカード(NIC)であり、LAN400を介してネットワークプリンタ、他のネットワーク機器あるいは他のPCと双方向にデータをやりとりする。
【0018】
[Webサービスクライアントのソフトウェアモジュールの構成]
図3はWebサービスクライアントのソフトウェアモジュールの構成を示す図である。Webサービスクライアント300は、OS301、Device Main Module群302、Device Handle API303、UI Module304、Expand Module305およびExpand UI Module306を有する。Device Main Module群302は、ネットワーク機能、メモリ管理機能などを提供するOS301上で動作するデバイスの操作および制御を行う。UI Module304は、デバイスを操作する機能およびデバイスの情報を表示する機能を備える。Device Handle API303は、UI Module304のデバイス操作命令をDevice Main Moduleに指示する。Expand Module305は、Webサービス管理装置100から受信したプログラムを動作させるためのプラットフォームである。Expand UI Module306は、Webサービス管理装置100から受信したUIデータをデバイスに組み込み、動作させるためのプラットフォームである。
【0019】
[Webサービスを利用する際の流れ]
図4はWebサービス管理装置を使って、WebサービスクライアントがWebサービスを利用する際の処理の流れを示す図である。Webサービスクライアント300は、Webサービスプロバイダ210で提供しているWebサービス210Aを要求する場合、Webサービスクライアント300上で動作するUI(ユーザインターフェース)データ300Aから生成されるUI画面およびWebサービス管理装置クライアントプログラム300Bを利用する。UIデータ300A及びWebサービス管理装置クライアントプログラム300Bは、予めWebサービス管理装置100から受信しておく。
【0020】
そして、Webサービスの利用者は、Webサービスクライアント300のUI画面から利用したいWebサービスを選択し、必要な情報を入力する。Webサービス管理装置クライアントプログラム300Bによって、入力された情報はWebサービス管理装置サーバプログラム100Bに送信される。尚、このとき送信されるデータは、SOAP−XML形式である必要はなく、一般的なRPC形式、またはWebサービス管理装置およびWebサービスクライアント間でのみ理解できる特殊なフォーマットであってもよい。
【0021】
Webサービス管理装置100で動作するWebサービス管理装置サーバプログラム100Bは、Webサービスクライアント300からWebサービスのリクエストを受信すると、Webサービス登録データベース100Cに登録されたWebサービスクライアントプログラム100Aに、Webサービスの呼び出しに必要な情報を渡し、Webサービスのリクエストを送信する。尚、Webサービス登録データベース100Cに同一のWebサービスが存在する場合、同じくWebサービス登録データベースに登録されているWebサービスプロバイダの情報(CPU、メモリ情報など)を参照し、最適なWebサービスプロバイダを選択することができる。
【0022】
Webサービスクライアントプログラム100Aは、Webサービス管理装置サーバプログラム100Bから渡された情報を基に、Webサービスプロバイダ210で提供されているWebサービス210Aに対し、SOAP−XML技術を利用したサービスリクエスト送信およびレスポンス受信を行う。
【0023】
Webサービス管理装置サーバプログラム100Bは、Webサービスクライアントプログラム100AからWebサービスの結果を受信すると、Webサービス管理装置クライアントプログラム300Bにその結果を返信する。そして、Webサービス管理装置クライアントプログラム300Bは、UIデータ300Aから生成されたUI画面にその結果を表示する。
【0024】
[Webサービス管理装置へのデータ登録]
図5はWebサービス管理装置100のデータ登録処理手順を示すフローチャートである。この処理プログラムは、Webサービス管理装置100内のハードディスク261に格納されており、CPU251によって実行される。このデータ登録処理では、Webサービスプロバイダ(デバイス)200、210からのWebサービス情報およびデバイス情報がWebサービス管理装置100に登録される。
【0025】
まず、Webサービスプロバイダ200からデータ登録要求を受信する(ステップS1)。このデータ登録要求の受信処理では、Webサービス管理装置100は、Webサービスプロバイダ200からWebサービスの利用方法が記述されたWSDL(Web Service Description Language)ファイル(サービス記述情報)、Webサービスの内容およびデバイス情報(CPU、メモリ等)を受信する。
【0026】
受信したWebサービスの利用方法が記述されたサービス記述情報(WSDLファイル)を基に、Webサービス管理装置100は、Webサービスプロバイダ200のWebサービスを利用するためのWebサービスクライアントプログラム100A、およびWebサービスクライアント300、310がWebサービス管理装置100にWebサービス要求を送信してWebサービスの結果を受信するためのWebサービス管理装置サーバプログラム100B、Webサービス管理装置クライアントプログラム300Bを作成する(ステップS2)。
【0027】
そして、ステップS1でWebサービスクライアント300上で表示されるUIデータの一部として画像データ等の情報を受信している場合、受信した画像データ等の情報を基に、Webサービスクライアント300で動作するUI画面を生成するためのUIデータを作成し、一方、画像データ等の情報を受信していない場合、デフォルトのデータを用いてUIデータを作成する(ステップS3)。
【0028】
ステップS1で受信したデバイス情報、ステップS2で生成されたプログラム、およびステップS3で作成されたUIデータをWebサービス登録データベース100Cに登録する(ステップS4)。この後、本処理を終了する。
【0029】
[Webサービスクライアントプログラム作成]
図6はステップS2におけるWebサービスクライアントプログラム100Aを作成する処理手順を示すフローチャートである。Webサービスクライアントプログラム100Aは、Webサービスプロバイダ210で提供されるWebサービスを利用するためのものである。
【0030】
まず、WSDLファイルのメッセージフォーマット情報(<type>、<message>、<portType>)を基に、メッセージ解析処理プログラムを作成する(ステップS11)。
【0031】
WSDLファイルのデータ転送情報(<binding>、<port>)を基に、データ転送プログラムを作成する(ステップS12)。ステップS11、S12で作成されたプログラムコードを実行可能なコードに変換するコンパイル処理を行う(ステップS13)。この後、本処理を終了する。
【0032】
[Webサービス管理装置サーバ・クライアントプログラム作成]
図7はステップS2におけるWebサービス管理装置サーバプログラム100BおよびWebサービス管理装置クライアントプログラム300Bの作成処理手順を示すフローチャートである。Webサービス管理装置サーバプログラム100BおよびWebサービスクライアントプロラム300Bは、Webサービスクライアント300がWebサービスを利用する際、Webサービス管理装置100およびWebサービスクライアント300上でそれぞれ動作するものである。
【0033】
まず、WSDLファイルのメッセージフォーマット情報(<type>、<message>、<portType>)からWebサービスリクエストに必要な情報を解析する(ステップS21)。同様に、Webサービスレスポンスとして取得する情報を解析する(ステップS22)。
【0034】
Webサービス管理装置100およびWebサービスクライアント300間で、ステップS21、S22で解析された情報を通信するためのプログラムを作成する(ステップS23)。ここでは、サーバプログラムとクライアントプログラムを一緒に作成するので、通信手段および通信のデータ形式は、一般的でなくとも双方で理解できればよく、特に規定されない。例えば、単にTCP上の通信であり、お互いにやり取りするデータは「,」で区切られた文字列であってもよい。
【0035】
この後、ステップS23で作成されたプログラムコードを実行可能なコードに変換するコンパイル処理を行う(ステップS24)。そして、本処理を終了する。
【0036】
[Webサービス管理装置からのデータ取得]
図8はWebサービスクライアント300からのデータ取得要求に対し、Webサービス管理装置100がデータを送信する処理手順を示すフローチャートである。この処理プログラムは、Webサービス管理装置100内のハードディスク261に格納されており、CPU251によって実行される。このデータ取得処理では、新規に追加されたWebサービスの最新のリクエストプログラム(Webサービス管理装置クライアントプログラム、Webサービス呼び出しUIデータ)が送信される。
【0037】
まず、Webサービスクライアントとなるデバイス300からデータ取得要求を受信する(ステップS31)。このデータ取得要求に応じて、UIデータおよびWebサービス管理装置クライアントプログラムをデバイス300に送信する(ステップS32)。この後、本処理を終了する。ここで、UIデータは、前述したように、Webサービスクライアント300のUI画面を生成するためのものである。Webサービス管理装置クライアントプログラムは、WebサービスのリクエストをWebサービス管理装置100に送信するとともに、Webサービス管理装置100からWebサービスのレスポンスを受信するためのものである。
【0038】
[Webサービス管理装置へのWebサービスリクエスト]
図9はWebサービス管理装置100がWebサービスクライアントとなるデバイス300からWebサービス要求を受信した際の処理手順を示すフローチャートである。この処理プログラムは、Webサービス管理装置100内のハードディスク261に格納されており、CPU251によって実行される。
【0039】
まず、Webサービスクライアントとなるデバイス300から、後述するWebサービスのリストが表示されたUI画面(Webサービス選択画面、図11参照)を基に選択されたWebサービスの要求を受信する(ステップS41)。要求されたWebサービスを提供しているデバイスを、保有するWebサービス登録データベース100Cから検索する(ステップS42)。検索の結果、要求されたWebサービスが複数のデバイスで提供されているか否かを判別する(ステップS43)。
【0040】
単一のデバイスでしか提供されていない場合、そのままステップS45の処理に進む。一方、要求されたWebサービスが複数のデバイスで提供されている場合、どのデバイスに対してWebサービスを要求するかを決定する(ステップS44)。このWebサービスの要求先を決定する際、例えば事前に取得したデバイス情報(性能、利用実績等の付帯情報)を基に、高性能なデバイスを選択したり、過去のWebサービスのリクエストの結果から一番レスポンスの早かったデバイスを選択する方法等が用いられる。
【0041】
そして、Webサービス管理装置(Web管理サーバ)100からWebサービスを提供しているWebサービスプロバイダに対し、Webサービスのリクエストを送信する(ステップS45)。そして、送信したWebサービスリクエストに対するレスポンスを受信するまで待機し、Webサービスのレスポンスを受信すると、Webサービスクライアント300にそのレスポンスデータを送信する(ステップS46)。この後、本処理を終了する。
【0042】
[Webサービ管理装置クライアントUI画面]
図10はWebサービス管理装置100から配信されたUIデータを基に、Webサービスクライアント300に表示されるUI画面を示す図である。このUI画面には、MFPの各種機能ボタンの他、Web_Serviceボタン401が表示されている。このWeb_Serviceボタン401を押下する選択操作を行うことにより、Webサービスが利用可能となる。
【0043】
図11はWeb_Serviceボタン401が選択された場合のUI画面(Webサービス選択画面)を示す図である。このUI画面で表示されるデータは、ステップS32でWebサービス管理装置100から送信され、Webサービスクライアント300が受信したデータである。このUI画面には、Webサービスクライアントが利用可能なWebサービスのリストが表示されている。ここでは、Webサービスのリストとして、電話番号検索、E−Mail検索、認証およびPDF変換が挙げられている。この中からE−Mail検索サービスが選択された場合を以下に示す。
【0044】
図12はE−Mail検索サービスが選択された場合のUI画面を示す図である。このUI画面で表示されるデータも、Webサービス管理装置100からWeb管理装置クライアント300に配信されたものである。ここでは、検索に必要な情報(名前、会社名)をデータ入力部411、412に記入し、検索ボタン415を押下することにより、WebサービスのリクエストがWebサービス管理装置100に送信される。
【0045】
図13はWebサービス管理装置100にWebサービスの利用を要求した結果、送信されたレスポンスを表示するUI画面を示す図である。ここでは、入力された検索条件に該当するE−Mailアドレスが表示される。
【0046】
[Webサービス管理装置に登録されるWSDLファイル]
図14および図15はE−mail情報検索サービスのWSDLファイルを示す図である。WSDLファイルには、Webサービスクライアントプログラムを作成する際に必要なリクエストデータ、レスポンスデータの形式およびリクエストの送信先情報が記載されるが、ここでは、E−mail情報検索サービスを利用する際のデータフォーマット、リクエスト送信先URLなどの情報が記載されている。
【0047】
[UIデータ]
図16および図17はWebサービス管理装置100で作成され、Webサービスクライアント300に配信されるUIデータを示す図である。ここでは、HTMLファイルで作成されたUIデータ(Webサービス選択画面)が例示されている。
【0048】
このUIデータには、「電話番号検索サービス」が選択された場合、Java(登録商標) Scriptで記述された関数load_Search_telephone_Number()関数が呼ばれ、「E−Mail検索サービス」が選択された場合、load_Search_Email_Address()関数が呼ばれること等が記述されている。勿論、Java(登録商標) Scriptで記述された関数もWebサービス管理装置100からダウンロードされたものである。
【0049】
本実施形態では、Webサービスクライアントとなるデバイスは、Webサービス管理装置から受信したWebサービスリスト画面(Webサービス選択画面)およびその展開画面を使用することで、UI画面を共通にすることができる。また、デバイスの利用者は、現在利用している機能がWebサービスによって提供されている機能であるか、デバイス自身が提供している機能であるかを意識することなく、あたかもデバイスの一機能であるかのように、Webサービスを利用することができる。
【0050】
このように、本実施形態によれば、WebサービスクライアントのUI画面に、予め利用可能なWebサービスが表示されるので、デバイスの利用者は、Webサービスを利用する際、UDDIレジストリからWebサービスを検索しなくて済む。また、Webサービスのクライアント機能を実現するプログラムも、Webサービス管理装置によってUIデータと共に、予めWebサービスクライアントとなるデバイスに送信されている。したがって、Webサービスを利用する際の手間を省くことができる。このように、サーバとしてのデータ処理装置が提供するサービスの内容に合わせてサービスを利用するためのプログラムを作成し、それをクライアントとしての情報処理装置に使用させることにより、クライアントがサービスを利用する際に必要なデータ処理を行えるようにし、クライアントが予め専用のプログラムを備えていなくてもサービスを利用できるようにする。
【0051】
また、デバイスのUI画面には、Webサービス管理装置から配信された、利用可能なWebサービスのリストが表示されるので、UDDIレジストリからWebサービスを検索することなく、利用可能なWebサービスを知ることができる。さらに、デバイスのUI画面には、利用可能なWebサービスが表示されるので、デバイスの利用者は新規に追加されたWebサービスを容易に知ることができる。
【0052】
また、Webサービスクライアントは、WebサービスプロバイダからWSDLファイルを取得し、このWSDLファイルを基に、Webサービスクライアントを作成する作業をしなくとも、Webサービス管理装置から受信したWebサービス管理装置クライアントプログラム300Bを利用することにより、Webサービスを利用可能である。
【0053】
さらに、Webサービスクライアントは、Webサービス管理装置をWebサービス代理装置として利用することにより、Webサービスを利用する際、自らWebサービスプロバイダと通信する必要がないので、Webサービスプロバイダとの間のデータをSOAP−XMLで処理しなくても、Webサービスを利用可能である。
【0054】
また、Webサービスプロバイダは、Webサービスの内容だけでなく、デバイス情報などもWebサービス管理装置に登録するので、Webサービス管理装置は、Web管理装置クライアントからのWebサービスの利用要求に対し、データベースを参照して最適なWebサービスプロバイダにWebサービスのリクエストを送信することができる。
【0055】
さらに、Webサービス管理装置は、WebサービスクライアントのUI画面を、Web画面でなく、プログラムおよび画像データからなるデータとして配信するので、Webサービスクライアントは、配信されたプログラムおよび画像データをデバイス上で動作させることにより、画面遷移毎にWebサーバにリクエストを送信する必要がなく、デバイス操作を快適に行うことができる。
【0056】
また、Webサービス管理装置は、Webサービスクライアントに配信するUI画面を、Web画面でなく、プログラムおよび画像データからなるデータとして配信するので、配信されたデータを基に作成されたUI画面上でデバイス自身(具体的に、図10のUI画面上の「コピー」、「送信」、「ボックス」等)を指示することが可能である。
【0057】
以上が本発明の実施の形態の説明であるが、本発明は、これら実施の形態の構成に限られるものではなく、特許請求の範囲で示した機能、または実施の形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。
【0058】
例えば、上記実施形態では、ステップS32でWebサービス管理装置クライアントプログラムおよびUIデータを併せて送信していたが、WebサービスクライアントがUIデータから生成されるUI画面を保有している場合、UIデータを送信しなくてもよい。
【0059】
また、本発明の目的は、実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。
【0060】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0061】
又、プログラムコードを供給するための記憶媒体としては、例えば、ROM、フロッピー(登録商標)ディスク、PCMCIAカードやコンパクトフラッシュ(登録商標)等のメモリカード、ハードディスク、マイクロDAT、光磁気ディスク、CD−RやCD−RW等の光ディスク、DVD等の相変化型光ディスク等で構成されてもよい。
【0062】
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0063】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0064】
【発明の効果】
本発明によれば、サーバとしてのデータ処理装置が提供するサービスの内容に合わせてサービスを利用するためのプログラムを作成し、それをクライアントとしての情報処理装置に使用させることにより、クライアントがサービスを利用する際に必要なデータ処理を行えるようにし、クライアントが予め専用のプログラムを備えていなくてもサービスを利用できるようにする。
【図面の簡単な説明】
【図1】実施の形態におけるネットワークシステムの構成を示す図である。
【図2】Webサービス管理装置の構成を示すブロック図である。
【図3】Webサービスクライアントのソフトウェアモジュールの構成を示す図である。
【図4】Webサービス管理装置を使って、WebサービスクライアントがWebサービスを利用する際の処理の流れを示す図である。
【図5】Webサービス管理装置100のデータ登録処理手順を示すフローチャートである。
【図6】ステップS2におけるWebサービスクライアントプログラム100Aを作成する処理手順を示すフローチャートである。
【図7】ステップS2におけるWebサービス管理装置サーバプログラム100BおよびWebサービス管理装置クライアントプログラム300Bの作成処理手順を示すフローチャートである。
【図8】Webサービスクライアント300からのデータ取得要求に対し、Webサービス管理装置100がデータを送信する処理手順を示すフローチャートである。
【図9】Webサービス管理装置100がWebサービスクライアントとなるデバイス300からWebサービス要求を受信した際の処理手順を示すフローチャートである。
【図10】Webサービス管理装置100から配信されたUIデータを基に、Webサービスクライアント300に表示されるUI画面を示す図である。
【図11】Web_Serviceボタン401が選択された場合のUI画面を示す図である。
【図12】E−Mail検索サービスが選択された場合のUI画面を示す図である。
【図13】Webサービス管理装置100にWebサービスの利用を要求した結果、送信されたレスポンスを表示するUI画面を示す図である。
【図14】E−mail情報検索サービスのWSDLファイルを示す図である。
【図15】図14につづくE−mail情報検索サービスのWSDLファイルを示す図である。
【図16】Webサービス管理装置100で作成され、Webサービスクライアント300に配信されるUIデータを示す図である。
【図17】図16につづくWebサービス管理装置100で作成され、Webサービスクライアント300に配信されるUIデータを示す図である。
【符号の説明】
100 Webサービス管理装置(Web管理サーバ)
100A Webサービスクライアントプログラム
100B Webサービス管理装置サーバプログラム
100C Webサービス登録データベース
200、210 Webサービスプロバイダ(デバイス)
210A Webサービス
300、310 Webサービスクライアント
300A UIデータ
300B Webサービス管理装置クライアントプログラム
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a service management method, a service management apparatus, and a control program for managing a service used by an information processing apparatus.
[0002]
[Prior art]
Conventionally, a network system in which a server provides a service in response to a service request from a client is known (for example, Patent Document 1).
[0003]
In this network system, the server generates setting screen data based on the service information, transmits it to the client, and the client displays the setting screen. The client user uses the service provided by the server by setting the conditions for using the service on the setting screen.
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 2002-082785
[0005]
[Problems to be solved by the invention]
In a data processing system in which a server and a client are connected via a network, it is known that the server provides a service to the client by using Web service technology.
[0006]
In this Web service technology, a Web service provider device (hereinafter referred to as a Web service provider) as a server uses a WSDL (Web Services Description Language) WSDL file described in WSDL as a client as a client. The service is provided to a service requester device (hereinafter referred to as “Web service requester”), and the Web service requester analyzes the WSDL file to determine what service is provided by the Web service provider or in what procedure and protocol. Can recognize whether to receive. Accordingly, when using a desired service, the Web service requester first searches for a Web service provider that provides the desired service using a Web service registration server (hereinafter referred to as a UDDI registry) or the like. The WSDL file is acquired from the Web service provider found by the search, and the Web service client program is created using the acquired WSDL file. Then, the user of the Web service requester uses the service provided by the Web service provider using the created Web service client program.
[0007]
However, the data processing system using the Web service technology has the following problems. That is, when a web service requester uses a service registered in the UDDI registry, the web service requester needs a dedicated program for acquiring a WSDL file from the web service provider, analyzing the WSDL file, and creating a web service client program. In addition, since the creation process must be performed by executing the dedicated program, the burden of data processing is large. In particular, since WSDL analysis processing requires memory resources, the burden is great for devices such as MFPs (Multi Function Peripherals) that have only limited memory resources.
[0008]
In addition, as in the conventional technique described above, it is also conceivable that the Web service requester receives setting screen data created from a Web file, and the user uses the service using the setting screen. However, even with setting screen data alone, setting processing for setting conditions can be performed, but for example, it is difficult to convert the data format according to the service or to receive and process the result after the service.
[0009]
When a Web service provider registers a Web service in the UDDI registry, information about the service provider (Web service provider), the content and name of the service to be provided, and interface information for calling the Web service are registered. Normally, the system environment (CPU, memory), operation results, etc. of the service to be provided are not registered. Then, even if a device (Web service provider) providing an excellent service is registered in the UDDI registry, it may not be known to the user because the search condition used is not met. Further, as a result of searching for a service in the UDDI registry, when a plurality of Web service providers providing the same service are registered, the Web service requester can receive an optimal service by using which Web service provider. I can't judge whether I can do it.
[0010]
Therefore, the present invention creates a program for using a service in accordance with the contents of a service provided by a data processing apparatus as a server, and causes the information processing apparatus as a client to use the program so that the client can The purpose of the present invention is to provide a service management method, a service management apparatus, and a control program that enable a client to use a service even if it does not have a dedicated program in advance, so that it can perform necessary data processing when using To do.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, a service management method of the present invention is a service management method in which a service used by an information processing apparatus is managed by a service management apparatus, and information related to a service provided by a data processing apparatus is predetermined. A reception step for receiving service description information described in a language to be referred to when using the service, and a service provided by the data processing device is used based on the service description information received in the reception step. A creating step for creating a program for transmitting, a transmitting step for sending the program created in the creating step to the information processing device, and after communicating with the program executed in the information processing device, the data processing device A request step for requesting use of a service, and a service provided by the data processing device. It characterized by having a a usage result and replies step of returning to the program executed by the information processing apparatus.
[0012]
The service management apparatus of the present invention is a service management apparatus that manages a service used by an information processing apparatus, and uses the service in which information related to the service provided by the data processing apparatus is described in a predetermined language Receiving means for receiving service description information referred to, creating means for creating a program for using a service provided by the data processing device based on the service description information received by the receiving means, and the creating Transmitting means for transmitting a program created by the means to the information processing apparatus, request means for requesting the data processing apparatus to use a service after communicating with the program executed by the information processing apparatus, and the data A service result provided by the processing device is returned to the program executed by the information processing device. Characterized in that a return means.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a service management method, a service management apparatus, and a control program according to the present invention will be described with reference to the drawings. In the present embodiment, a web service technology is adopted, and the present invention is applied to a network system in which a web service management apparatus, a web service provider, and a web service requester (web service client) are connected via a network.
[0014]
[Overall configuration]
FIG. 1 is a diagram showing a configuration of a network system in the embodiment. The network system of this embodiment has a configuration in which the Web service management apparatus 100 and devices 200, 210, 300, 310 are connected via a network 400. The Web service management apparatus (Web service management server) 100 accepts registration of Web service and device information. The devices 200 and 210 become Web service providers and register their Web service information and device information that are publicly disclosed in the Web service management apparatus 100. The devices 300 and 310 are Web service requesters (Web service clients) that use Web services registered in the Web service management apparatus 100. In the present embodiment, the devices 200, 300, and 310 are configured by an MFP (Multi Function Peripheral), but may be configured by a general PC.
[0015]
[Configuration of Web Service Management Device]
FIG. 2 is a block diagram showing the configuration of the Web service management apparatus. This Web service management apparatus has the same configuration as a general PC. That is, the Web service management apparatus 100 includes a CPU 251 that executes various software stored in the ROM 252 or the hard disk (HD) 261 or supplied from the floppy (registered trademark) disk drive (FD) 262. Generally controls each part connected to the system bus 254.
[0016]
Reference numeral 253 denotes a RAM which functions as a main memory, work area, and the like for the CPU 251. A keyboard controller (KBC) 255 controls input of instructions from a keyboard (KB) 259, a pointing device (not shown), or the like. Reference numeral 256 denotes a CRT controller (CRTC), which controls display on a CRT display (CRT) 260.
[0017]
A disk controller (DKC) 257 is a hard disk (HD) 261 and a floppy (registered trademark) disk drive (FD) 262 for storing a boot program, a distributed server system program, various applications, edit files, user files, and the like. Control access. A network interface card (NIC) 258 bi-directionally exchanges data with a network printer, another network device, or another PC via the LAN 400.
[0018]
[Configuration of Web Service Client Software Module]
FIG. 3 is a diagram showing the configuration of the software module of the Web service client. The Web service client 300 includes an OS 301, a device main module group 302, a device handle API 303, a UI module 304, an expand module 305, and an expand UI module 306. The Device Main Module group 302 operates and controls devices operating on the OS 301 that provides a network function, a memory management function, and the like. The UI module 304 has a function of operating a device and a function of displaying device information. The device handle API 303 instructs the device main module to perform a device operation command of the UI module 304. The Expand Module 305 is a platform for operating a program received from the Web service management apparatus 100. The Expand UI Module 306 is a platform for incorporating UI data received from the Web service management apparatus 100 into a device and operating it.
[0019]
[Flow for using Web services]
FIG. 4 is a diagram illustrating a processing flow when a Web service client uses a Web service using the Web service management apparatus. When the Web service client 300 requests the Web service 210A provided by the Web service provider 210, the UI screen generated from the UI (user interface) data 300A operating on the Web service client 300 and the Web service management apparatus client The program 300B is used. The UI data 300A and the Web service management apparatus client program 300B are received from the Web service management apparatus 100 in advance.
[0020]
Then, the user of the Web service selects a Web service to be used from the UI screen of the Web service client 300 and inputs necessary information. The input information is transmitted to the Web service management apparatus server program 100B by the Web service management apparatus client program 300B. The data transmitted at this time does not need to be in the SOAP-XML format, but may be a general RPC format or a special format that can be understood only between the Web service management apparatus and the Web service client.
[0021]
When the web service management apparatus server program 100B operating on the web service management apparatus 100 receives a web service request from the web service client 300, the web service client program 100A registered in the web service registration database 100C calls the web service client program 100A. Necessary information is passed to and a web service request is transmitted. When the same Web service exists in the Web service registration database 100C, the optimal Web service provider is selected by referring to the Web service provider information (CPU, memory information, etc.) registered in the Web service registration database. can do.
[0022]
The Web service client program 100A sends a service request and response using SOAP-XML technology to the Web service 210A provided by the Web service provider 210 based on the information passed from the Web service management apparatus server program 100B. Receive.
[0023]
When the Web service management apparatus server program 100B receives the Web service result from the Web service client program 100A, the Web service management apparatus server program 100B returns the result to the Web service management apparatus client program 300B. Then, the Web service management apparatus client program 300B displays the result on the UI screen generated from the UI data 300A.
[0024]
[Data registration in Web service management device]
FIG. 5 is a flowchart showing a data registration processing procedure of the Web service management apparatus 100. This processing program is stored in the hard disk 261 in the Web service management apparatus 100 and is executed by the CPU 251. In this data registration process, Web service information and device information from the Web service providers (devices) 200 and 210 are registered in the Web service management apparatus 100.
[0025]
First, a data registration request is received from the Web service provider 200 (step S1). In this data registration request reception process, the Web service management apparatus 100 includes a Web Service Description Language (WSDL) file (service description information) describing how to use the Web service from the Web service provider 200, the contents of the Web service, and the device. Receive information (CPU, memory, etc.).
[0026]
Based on the received service description information (WSDL file) describing how to use the Web service, the Web service management apparatus 100 uses the Web service client program 100A for using the Web service of the Web service provider 200, and the Web service. The client 300, 310 creates a web service management apparatus server program 100B and a web service management apparatus client program 300B for transmitting a web service request to the web service management apparatus 100 and receiving the result of the web service (step S2).
[0027]
If information such as image data is received as part of the UI data displayed on the Web service client 300 in step S1, the Web service client 300 operates based on the received information such as image data. UI data for generating a UI screen is created. On the other hand, if information such as image data is not received, UI data is created using default data (step S3).
[0028]
The device information received in step S1, the program generated in step S2, and the UI data created in step S3 are registered in the Web service registration database 100C (step S4). Then, this process is complete | finished.
[0029]
[Create Web service client program]
FIG. 6 is a flowchart showing a processing procedure for creating the Web service client program 100A in step S2. The Web service client program 100A is for using a Web service provided by the Web service provider 210.
[0030]
First, a message analysis processing program is created based on message format information (<type>, <message>, <portType>) of the WSDL file (step S11).
[0031]
A data transfer program is created based on the data transfer information (<binding>, <port>) of the WSDL file (step S12). Compile processing for converting the program code created in steps S11 and S12 into executable code is performed (step S13). Then, this process is complete | finished.
[0032]
[Web service management device server / client program creation]
FIG. 7 is a flowchart showing the creation processing procedure of the Web service management apparatus server program 100B and the Web service management apparatus client program 300B in step S2. The Web service management apparatus server program 100B and the Web service client program 300B operate on the Web service management apparatus 100 and the Web service client 300, respectively, when the Web service client 300 uses the Web service.
[0033]
First, information necessary for the Web service request is analyzed from message format information (<type>, <message>, <portType>) of the WSDL file (step S21). Similarly, information acquired as a Web service response is analyzed (step S22).
[0034]
A program for communicating the information analyzed in steps S21 and S22 is created between the web service management apparatus 100 and the web service client 300 (step S23). Here, since the server program and the client program are created together, the communication means and the data format of the communication are not particularly defined as long as they can be understood by both, if not general. For example, the communication is simply TCP communication, and the data exchanged with each other may be a character string delimited by “,”.
[0035]
Thereafter, a compiling process for converting the program code created in step S23 into executable code is performed (step S24). Then, this process ends.
[0036]
[Data acquisition from Web service management device]
FIG. 8 is a flowchart illustrating a processing procedure in which the Web service management apparatus 100 transmits data in response to a data acquisition request from the Web service client 300. This processing program is stored in the hard disk 261 in the Web service management apparatus 100 and is executed by the CPU 251. In this data acquisition process, the latest request program (Web service management apparatus client program, Web service call UI data) of the newly added Web service is transmitted.
[0037]
First, a data acquisition request is received from the device 300 serving as a Web service client (step S31). In response to this data acquisition request, the UI data and the Web service management apparatus client program are transmitted to the device 300 (step S32). Then, this process is complete | finished. Here, the UI data is for generating the UI screen of the Web service client 300 as described above. The Web service management apparatus client program is for transmitting a Web service request to the Web service management apparatus 100 and receiving a Web service response from the Web service management apparatus 100.
[0038]
[Web service request to Web service management device]
FIG. 9 is a flowchart illustrating a processing procedure when the Web service management apparatus 100 receives a Web service request from the device 300 serving as the Web service client. This processing program is stored in the hard disk 261 in the Web service management apparatus 100 and is executed by the CPU 251.
[0039]
First, a request for a Web service selected based on a UI screen (Web service selection screen, see FIG. 11) on which a list of Web services to be described later is displayed is received from the device 300 serving as a Web service client (step S41). . A device that provides the requested Web service is searched from the Web service registration database 100C that is held (step S42). As a result of the search, it is determined whether or not the requested Web service is provided by a plurality of devices (step S43).
[0040]
If it is provided only by a single device, the process directly proceeds to step S45. On the other hand, when the requested web service is provided by a plurality of devices, it is determined to which device the web service is requested (step S44). When determining the request destination of this Web service, for example, based on device information (accompanying information such as performance and usage results) acquired in advance, a high-performance device is selected, or from the results of past Web service requests. The method of selecting the device with the fastest response is used.
[0041]
Then, a web service request is transmitted from the web service management apparatus (web management server) 100 to the web service provider that provides the web service (step S45). And it waits until the response with respect to the transmitted web service request is received, and if the response of a web service is received, the response data will be transmitted to the web service client 300 (step S46). Then, this process is complete | finished.
[0042]
[Web service management device client UI screen]
FIG. 10 is a diagram showing a UI screen displayed on the Web service client 300 based on the UI data distributed from the Web service management apparatus 100. On the UI screen, a Web_Service button 401 is displayed in addition to various function buttons of the MFP. By performing a selection operation of pressing the Web_Service button 401, the Web service can be used.
[0043]
FIG. 11 is a diagram showing a UI screen (Web service selection screen) when the Web_Service button 401 is selected. The data displayed on the UI screen is data that is transmitted from the web service management apparatus 100 and received by the web service client 300 in step S32. On this UI screen, a list of Web services that can be used by the Web service client is displayed. Here, as a list of Web services, telephone number search, E-Mail search, authentication, and PDF conversion are listed. The case where the E-Mail search service is selected from among these is shown below.
[0044]
FIG. 12 is a diagram showing a UI screen when the E-Mail search service is selected. Data displayed on the UI screen is also distributed from the Web service management apparatus 100 to the Web management apparatus client 300. Here, information (name, company name) necessary for the search is entered in the data input sections 411 and 412, and a search button 415 is pressed to transmit a Web service request to the Web service management apparatus 100.
[0045]
FIG. 13 is a diagram illustrating a UI screen that displays a response transmitted as a result of requesting the Web service management apparatus 100 to use a Web service. Here, an E-Mail address corresponding to the input search condition is displayed.
[0046]
[WSDL file registered in Web service management device]
14 and 15 are diagrams showing a WSDL file of the E-mail information search service. The WSDL file describes the request data, response data format, and request destination information required when creating the Web service client program. Here, the data when using the E-mail information search service is described. Information such as the format and the request transmission destination URL is described.
[0047]
[UI data]
FIGS. 16 and 17 are diagrams showing UI data created by the Web service management apparatus 100 and distributed to the Web service client 300. Here, UI data (Web service selection screen) created with an HTML file is illustrated.
[0048]
In this UI data, when “phone number search service” is selected, the function load_Search_telephone_Number () function described in Java (registered trademark) Script is called, and when “E-Mail search service” is selected, It describes that the load_Search_Email_Address () function is called. Of course, the function described in Java (registered trademark) Script is also downloaded from the Web service management apparatus 100.
[0049]
In this embodiment, a device serving as a Web service client can share a UI screen by using a Web service list screen (Web service selection screen) received from the Web service management apparatus and its expanded screen. In addition, the device user can use one function of the device without being conscious of whether the function currently used is a function provided by a Web service or a function provided by the device itself. Web services can be used as if there were.
[0050]
As described above, according to the present embodiment, the web service that can be used in advance is displayed on the UI screen of the web service client. Therefore, when the user of the device uses the web service, the web service is downloaded from the UDDI registry. You don't have to search. A program that realizes a client function of a Web service is also transmitted in advance to a device that becomes a Web service client together with UI data by the Web service management apparatus. Therefore, it is possible to save time and labor when using the Web service. In this way, the client uses the service by creating a program for using the service in accordance with the contents of the service provided by the data processing device as the server and using the program for the information processing device as the client. Data processing necessary for the process can be performed, and the service can be used even if the client does not have a dedicated program in advance.
[0051]
In addition, since a list of available Web services distributed from the Web service management apparatus is displayed on the UI screen of the device, it is possible to know available Web services without searching the Web services from the UDDI registry. Can do. Furthermore, since available Web services are displayed on the UI screen of the device, the user of the device can easily know the newly added Web service.
[0052]
Further, the Web service client acquires the WSDL file from the Web service provider, and the Web service management apparatus client program 300B received from the Web service management apparatus without performing the work of creating the Web service client based on the WSDL file. By using, Web services can be used.
[0053]
Furthermore, since the Web service client uses the Web service management device as a Web service proxy device, when using the Web service, the Web service client does not need to communicate with the Web service provider. A Web service can be used without processing with SOAP-XML.
[0054]
In addition, since the Web service provider registers not only the contents of the Web service but also device information and the like in the Web service management apparatus, the Web service management apparatus stores a database in response to a Web service use request from a Web management apparatus client. A Web service request can be transmitted to an optimal Web service provider by referring to the Web service provider.
[0055]
Further, since the Web service management apparatus distributes the UI screen of the Web service client as data composed of a program and image data instead of the Web screen, the Web service client operates the distributed program and image data on the device. By doing so, it is not necessary to send a request to the Web server for each screen transition, and device operation can be performed comfortably.
[0056]
In addition, since the Web service management apparatus distributes the UI screen distributed to the Web service client as data including programs and image data instead of the Web screen, the device is displayed on the UI screen created based on the distributed data. It is possible to instruct itself (specifically, “copy”, “send”, “box”, etc.) on the UI screen of FIG.
[0057]
The above is the description of the embodiments of the present invention, but the present invention is not limited to the configurations of these embodiments, and the functions shown in the claims or the functions of the configurations of the embodiments are included. Any configuration that can be achieved is applicable.
[0058]
For example, in the above embodiment, the Web service management apparatus client program and the UI data are transmitted together in step S32. However, if the Web service client has a UI screen generated from the UI data, the UI data is stored. You do not have to send it.
[0059]
Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the embodiments to a system or apparatus, and the computer (or CPU, MPU, etc.) of the system or apparatus stores the storage medium. It is also achieved by reading out and executing the program code stored in.
[0060]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0061]
Examples of the storage medium for supplying the program code include ROM, floppy (registered trademark) disk, memory card such as PCMCIA card and compact flash (registered trademark), hard disk, micro DAT, magneto-optical disk, CD- It may be composed of an optical disk such as R or CD-RW, a phase change optical disk such as DVD, or the like.
[0062]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on an instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
[0063]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes a case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0064]
【The invention's effect】
According to the present invention, a program for using a service is created in accordance with the contents of a service provided by a data processing device as a server, and the program is used by an information processing device as a client. Data processing necessary for use can be performed, and the service can be used even if the client does not have a dedicated program in advance.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a network system in an embodiment.
FIG. 2 is a block diagram illustrating a configuration of a Web service management apparatus.
FIG. 3 is a diagram illustrating a configuration of a software module of a Web service client.
FIG. 4 is a diagram illustrating a processing flow when a Web service client uses a Web service using a Web service management apparatus.
FIG. 5 is a flowchart showing a data registration processing procedure of the Web service management apparatus 100.
FIG. 6 is a flowchart showing a processing procedure for creating a Web service client program 100A in step S2.
FIG. 7 is a flowchart showing a creation processing procedure of a Web service management apparatus server program 100B and a Web service management apparatus client program 300B in step S2.
FIG. 8 is a flowchart illustrating a processing procedure in which the Web service management apparatus 100 transmits data in response to a data acquisition request from the Web service client 300.
FIG. 9 is a flowchart illustrating a processing procedure when the Web service management apparatus 100 receives a Web service request from a device 300 serving as a Web service client.
10 is a diagram showing a UI screen displayed on the Web service client 300 based on UI data distributed from the Web service management apparatus 100. FIG.
FIG. 11 is a diagram showing a UI screen when a Web_Service button 401 is selected.
FIG. 12 is a diagram showing a UI screen when an E-Mail search service is selected.
FIG. 13 is a diagram illustrating a UI screen that displays a response transmitted as a result of requesting the Web service management apparatus 100 to use a Web service.
FIG. 14 is a diagram showing a WSDL file of an E-mail information search service.
FIG. 15 is a diagram showing a WSDL file of the E-mail information search service continued from FIG. 14;
FIG. 16 is a diagram showing UI data created by the Web service management apparatus 100 and distributed to the Web service client 300;
17 is a diagram showing UI data created by the Web service management apparatus 100 continued from FIG. 16 and distributed to the Web service client 300. FIG.
[Explanation of symbols]
100 Web service management apparatus (Web management server)
100A Web service client program
100B Web service management device server program
100C Web service registration database
200, 210 Web service provider (device)
210A Web Service
300, 310 Web service client
300A UI data
300B Web service management device client program

Claims (10)

情報処理装置によって利用されるサービスをサービス管理装置が管理するサービス管理方法であって、
データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信ステップと、
前記受信ステップで受信されたサービス記述情報を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成ステップと、
前記作成ステップで作成されたプログラムを前記情報処理装置に送信する送信ステップと、
前記情報処理装置で実行される前記プログラムと通信した後、前記データ処理装置にサービスの利用を要求する要求ステップと、
前記データ処理装置が提供したサービスの利用結果を前記情報処理装置で実行されるプログラムに返信する返信ステップとを有することを特徴とするサービス管理方法。
A service management method in which a service management device manages a service used by an information processing device,
A reception step of receiving service description information referred to when using the service, in which information about the service provided by the data processing device is described in a predetermined language;
A creation step for creating a program for using the service provided by the data processing device based on the service description information received in the reception step;
A transmission step of transmitting the program created in the creation step to the information processing apparatus;
A requesting step for requesting the data processing device to use a service after communicating with the program executed by the information processing device;
A service management method comprising: a reply step of returning a use result of a service provided by the data processing apparatus to a program executed by the information processing apparatus.
前記情報処理装置が利用するサービスを提供可能な複数のデータ処理装置が登録されている場合、所定の条件を基に、特定のデータ処理装置を選択する選択ステップを有し、
前記要求ステップでは、前記選択ステップで選択された特定のデータ処理装置に要求することを特徴とする請求項1記載のサービス管理方法。
When a plurality of data processing devices capable of providing a service used by the information processing device are registered, the method includes a selection step of selecting a specific data processing device based on a predetermined condition.
2. The service management method according to claim 1, wherein in the request step, a request is made to the specific data processing device selected in the selection step.
前記作成ステップで作成されたプログラムは、前記情報処理装置から前記データ処理装置に直接サービスを要求するプログラムでなく、前記情報処理装置から前記サービス管理装置にサービスを要求するためのプログラムであることを特徴とする請求項1或いは2記載のサービス管理方法。The program created in the creating step is not a program for directly requesting a service from the information processing apparatus to the data processing apparatus, but a program for requesting a service from the information processing apparatus to the service management apparatus. The service management method according to claim 1 or 2, characterized in that 前記受信ステップで受信されたサービス記述情報を基に、前記データ処理装置及び前記サービス管理装置間でサービスの要求及びサービスの利用結果を転送するためのプログラムを作成する第2の作成ステップを有することを特徴とする請求項1乃至3のいずれか記載のサービス管理方法。A second creation step of creating a program for transferring a service request and a service use result between the data processing device and the service management device based on the service description information received in the reception step; The service management method according to any one of claims 1 to 3. 前記作成ステップでは、前記受信ステップで受信されたサービス記述情報を基に、前記プログラムおよび前記情報処理装置のユーザインタフェース画面を生成するためのデータを作成し、
前記送信ステップでは、前記作成ステップで作成されたプログラムおよびデータを前記情報処理装置に送信し、
前記情報処理装置は、前記データに基づいて、ユーザインタフェース画面を表示することを特徴とする請求項1乃至4のいずれか記載のサービス管理方法。
In the creation step, based on the service description information received in the reception step, create data for generating the program and a user interface screen of the information processing device,
In the transmission step, the program and data created in the creation step are transmitted to the information processing apparatus,
The service management method according to claim 1, wherein the information processing apparatus displays a user interface screen based on the data.
情報処理装置によって利用されるサービスをサービス管理装置が管理するサービス管理方法であって、
データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信ステップと、
前記受信ステップで受信されたサービス記述情報を解析する解析ステップと、
前記解析ステップでの解析を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成ステップと、
前記作成ステップで作成されたプログラムを前記情報処理装置に送信する送信ステップとを有することを特徴とするサービス管理方法。
A service management method in which a service management device manages a service used by an information processing device,
A reception step of receiving service description information referred to when using the service, in which information about the service provided by the data processing device is described in a predetermined language;
An analysis step of analyzing the service description information received in the reception step;
Based on the analysis in the analysis step, a creation step for creating a program for using the service provided by the data processing device;
A service management method comprising: a transmission step of transmitting the program created in the creation step to the information processing apparatus.
前記解析ステップでは、前記受信ステップで受信されたサービス記述情報に記述されたファーマット情報、または当該サービス記述情報に記述されたデータ転送情報を解析することを特徴とする請求項6に記載のサービス管理方法。7. The service according to claim 6, wherein in the analysis step, the format information described in the service description information received in the reception step or the data transfer information described in the service description information is analyzed. Management method. 情報処理装置によって利用されるサービスを管理するサービス管理装置であって、
データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信手段と、
前記受信手段により受信されたサービス記述情報を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成手段と、
前記作成手段により作成されたプログラムを前記情報処理装置に送信する送信手段と、
前記情報処理装置で実行される前記プログラムと通信した後、前記データ処理装置にサービスの利用を要求する要求手段と、
前記データ処理装置が提供したサービスの利用結果を前記情報処理装置で実行されるプログラムに返信する返信手段とを備えたことを特徴とするサービス管理装置。
A service management device for managing a service used by an information processing device,
Receiving means for receiving service description information referred to when using the service, in which information on the service provided by the data processing device is described in a predetermined language;
Creating means for creating a program for using the service provided by the data processing device based on the service description information received by the receiving means;
Transmitting means for transmitting the program created by the creating means to the information processing apparatus;
Request means for requesting the data processing apparatus to use a service after communicating with the program executed by the information processing apparatus;
A service management apparatus comprising: a return unit that returns a result of using a service provided by the data processing apparatus to a program executed by the information processing apparatus.
情報処理装置によって利用されるサービスを管理するサービス管理装置であって、
データ処理装置が提供するサービスに関する情報が所定の言語で記述された、当該サービスを利用する場合に参照するサービス記述情報を受信する受信手段と、
前記受信手段により受信されたサービス記述情報を解析する解析手段と、
前記解析手段による解析を基に、前記データ処理装置が提供するサービスを利用するためのプログラムを作成する作成手段と、
前記作成手段により作成されたプログラムを前記情報処理装置に送信する送信手段とを有することを特徴とするサービス管理装置。
A service management device for managing a service used by an information processing device,
Receiving means for receiving service description information referred to when using the service, in which information on the service provided by the data processing device is described in a predetermined language;
Analyzing means for analyzing service description information received by the receiving means;
Creating means for creating a program for using the service provided by the data processing device based on the analysis by the analyzing means;
A service management apparatus comprising: a transmission unit configured to transmit the program created by the creation unit to the information processing apparatus.
請求項1乃至7のいずれかに記載のサービス管理方法を実現するための制御プログラムであって、サービス管理装置内のコンピュータによって読み取り実行可能なコードを有する制御プログラム。A control program for realizing the service management method according to claim 1, comprising a code that can be read and executed by a computer in the service management apparatus.
JP2003206274A 2003-08-06 2003-08-06 Service management method and apparatus, and control program Withdrawn JP2005055983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003206274A JP2005055983A (en) 2003-08-06 2003-08-06 Service management method and apparatus, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003206274A JP2005055983A (en) 2003-08-06 2003-08-06 Service management method and apparatus, and control program

Publications (1)

Publication Number Publication Date
JP2005055983A true JP2005055983A (en) 2005-03-03

Family

ID=34363190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003206274A Withdrawn JP2005055983A (en) 2003-08-06 2003-08-06 Service management method and apparatus, and control program

Country Status (1)

Country Link
JP (1) JP2005055983A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007079761A (en) * 2005-09-13 2007-03-29 Ricoh Co Ltd Communication terminal device
JP2009520268A (en) * 2005-12-15 2009-05-21 マイクロソフト コーポレーション Web service compliance with updated contracts
EP2144162A1 (en) 2008-07-07 2010-01-13 Ricoh Company, Ltd. Image forming apparatus, information processing method, and image forming system
JP2010525426A (en) * 2007-03-29 2010-07-22 マイクロソフト コーポレーション Scriptable object model for network-based services
JP2012014510A (en) * 2010-07-01 2012-01-19 Mitsubishi Electric Corp Application execution device and program
JP2012099011A (en) * 2010-11-04 2012-05-24 Brother Ind Ltd Communication system and relay device
JP2020532011A (en) * 2017-08-31 2020-11-05 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation How to generate chatbots from the Web API specification, systems, and computer programs
CN113449948A (en) * 2020-12-31 2021-09-28 北京新氧科技有限公司 Service processing method, device, electronic equipment and medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007079761A (en) * 2005-09-13 2007-03-29 Ricoh Co Ltd Communication terminal device
JP2009520268A (en) * 2005-12-15 2009-05-21 マイクロソフト コーポレーション Web service compliance with updated contracts
JP2010525426A (en) * 2007-03-29 2010-07-22 マイクロソフト コーポレーション Scriptable object model for network-based services
EP2144162A1 (en) 2008-07-07 2010-01-13 Ricoh Company, Ltd. Image forming apparatus, information processing method, and image forming system
US8363238B2 (en) 2008-07-07 2013-01-29 Ricoh Company, Ltd. Image forming apparatus having a management unit and a shared processing unit, information processing method using the image forming apparatus, and image forming system having the image forming apparatus
JP2012014510A (en) * 2010-07-01 2012-01-19 Mitsubishi Electric Corp Application execution device and program
JP2012099011A (en) * 2010-11-04 2012-05-24 Brother Ind Ltd Communication system and relay device
JP2020532011A (en) * 2017-08-31 2020-11-05 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation How to generate chatbots from the Web API specification, systems, and computer programs
JP7052013B2 (en) 2017-08-31 2022-04-11 インターナショナル・ビジネス・マシーンズ・コーポレーション How to generate chatbots from Web API specifications, systems, and computer programs
CN113449948A (en) * 2020-12-31 2021-09-28 北京新氧科技有限公司 Service processing method, device, electronic equipment and medium
CN113449948B (en) * 2020-12-31 2024-05-03 北京新氧科技有限公司 Service processing method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US8826176B2 (en) Information processing apparatus and control method
EP1355231A2 (en) Processing data files using plug-ins
JP2006072978A (en) Service request device, service providing device, service request method, service providing method, service request program, service providing program, and recording medium
JP2012048457A (en) Print server device, printer, information processing method, and program
JP2004246867A (en) Printing device, printing system, and printing method
US8291089B2 (en) Image processing device, control method therefor, and program
JP2005055983A (en) Service management method and apparatus, and control program
JP2012053511A (en) Server device, information processor, service processing apparatus, network system, job management method, and program
JP2005322222A (en) Communication function adding method, program, storage medium and communication apparatus
JP2010109650A (en) Information processor and image-forming system including the same
JP2005293492A (en) Server, terminal, and information system
JP2006244428A (en) Session management method and session management system
JP2006171918A (en) Data transmission to client and execution control method of update data
JP2000250838A (en) Method and system for packaging application program, and recording medium programmed and recorded with the method
JP2009053957A (en) Information processor and its control method
JP2008181519A (en) System and method for finding document processor on network
JP3324566B2 (en) Image transfer system and method
JP4398192B2 (en) Data processing method and data processing system
JP2005321995A (en) Information processor, information processing method, recording medium and program
JP3770261B2 (en) Facsimile machine
JP2005157613A (en) Information management device
JP2003076563A (en) Distributed object middleware connection method and recording medium with program recorded thereon and program
JP2000059421A (en) Data communication method and system, device thereof
JP2010109649A (en) Information processor and image-forming system including the same
JP2006053893A (en) Data processing system, data processing method, processing device, terminal unit, portable terminal unit, and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060417

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061107