JP2005056079A - Service providing method and service providing system - Google Patents

Service providing method and service providing system Download PDF

Info

Publication number
JP2005056079A
JP2005056079A JP2003285235A JP2003285235A JP2005056079A JP 2005056079 A JP2005056079 A JP 2005056079A JP 2003285235 A JP2003285235 A JP 2003285235A JP 2003285235 A JP2003285235 A JP 2003285235A JP 2005056079 A JP2005056079 A JP 2005056079A
Authority
JP
Japan
Prior art keywords
policy
service
server
client
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003285235A
Other languages
Japanese (ja)
Inventor
Yasushi Yamazaki
康司 山嵜
Yoshimasa Masuoka
義政 増岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2003285235A priority Critical patent/JP2005056079A/en
Publication of JP2005056079A publication Critical patent/JP2005056079A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a service to be realized according to the hierarchical combination of a plurality of services for reflecting various policies concerning the service use of a client. <P>SOLUTION: This service providing method is provided by a server 401 connected to a client 301 who requests a service and a policy database 601 to which pieces of policy information corresponding to a service requested by the client 301 are stored, for providing hierarchically configured services. This service providing method comprises a first step to receive a request for a service from the client 301, and to acquire policy information corresponding to the request from a policy database 601, a second step to select a server which executes a service based on the policy information to configure the hierarchical services and a third step to transmit the execution result of the service by the selected server to the client. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、Webサービスのような、複数のサービスの階層的な組み合わせによって実現されるサービスにおいて、クライアントのサービス利用に関する多様なポリシーを反映したサービス及びサービスの提供方法に関する。   The present invention relates to a service and a service providing method reflecting various policies related to client service use in a service realized by a hierarchical combination of a plurality of services such as a Web service.

インターネットのような計算機ネットワークに接続された複数の計算機で分散処理を行うために、クライアント・サーバ方式が一般的に用いられている。このクライアント・サーバ方式は、1つのサービス毎にクライアント計算機とサーバ計算機という2つの役割を持つ計算機によって構成される。ただし、この役割は固定的なものではなく、それぞれの計算機は、あるサービスにおいてはクライアント計算機となり、他のサービスにおいてはサーバ計算機となることもある。同様にあるサービスにおいてサーバ計算機となるものが、他のサービスにおいてはクライアント計算機になることもある。   In order to perform distributed processing by a plurality of computers connected to a computer network such as the Internet, a client / server system is generally used. This client / server system is configured by a computer having two roles of a client computer and a server computer for each service. However, this role is not fixed, and each computer may be a client computer in one service and a server computer in another service. Similarly, a server computer in one service may become a client computer in another service.

また、クライアント計算機ではクライアントプログラムが動作し、サーバ計算機ではサーバプログラムが動作している。クライアントの役割はサーバに対してサービスの実行を要求し、当該サービスの実行結果を取得することである。サーバの役割はクライアントからのサービスの実行の要求を受けて、当該サービスを実行し、その結果をクライアントに返すことである。なお、本明細書では、クライアントプログラムが動作している計算機又はクライアントプログラムそのものを「クライアント」、サーバプログラムが動作している計算機又はサーバプログラムそのものを単に「サーバ」と呼ぶ。   In addition, a client program operates on the client computer, and a server program operates on the server computer. The role of the client is to request the server to execute the service and acquire the execution result of the service. The role of the server is to receive a service execution request from the client, execute the service, and return the result to the client. In this specification, the computer or client program itself in which the client program is operating is referred to as “client”, and the computer or server program in which the server program is operating is simply referred to as “server”.

クライアントプログラムやサーバプログラムは、コンパイラ型言語又はインタプリタ型言語で記述されている。コンパイラ型言語の場合はソースプログラムをコンパイラと呼ばれるプログラムによって計算機が実行できる形式(機械語)に変換した上で、計算機上で直接動作する。インタプリタ型言語では計算機上で動作しているインタプリタと呼ばれるプログラムによってソースプログラム又はそれを変換した中間コードを動的に解釈して実行される。   The client program and the server program are described in a compiler type language or an interpreter type language. In the case of a compiler type language, a source program is converted into a format (machine language) that can be executed by a computer by a program called a compiler, and then directly operates on the computer. In an interpreter language, a source program or an intermediate code obtained by converting the source program is dynamically interpreted and executed by a program called an interpreter operating on a computer.

特に、ネットワークにインターネットを用いたクライアント・サーバ方式の実現方法として、クライアントプログラム及びサーバプログラムをインタプリタ言語によって記述することが多い。さらに、中間コードを実行するインタプリタである「バーチャルマシン」と呼ばれるプログラムを含むミドルウェアをサーバ計算機上で実行し、そのミドルウェア上でサーバプログラムを実行することでサービスを提供する方法が一般的である。このようなバーチャルマシンを含むミドルウェアを「アプリケーションサーバ」と呼ぶ。   In particular, client programs and server programs are often described in an interpreter language as a method for realizing a client-server system using the Internet as a network. Furthermore, a method is generally provided in which middleware including a program called a “virtual machine” that is an interpreter that executes intermediate code is executed on a server computer, and the server program is executed on the middleware to provide a service. Such middleware including a virtual machine is called an “application server”.

また、クライアント・サーバ方式において、クライアントとサーバの間の通信をサービス毎に個別にプログラミングして実現することも可能であるが、サービスのインターフェイスの定義を予め規定し、規定した定義によってサービスを実現するサーバプログラムとそのクライアントプログラムのインターフェイス部分を自動生成する手法が一般的である。このインターフェイスの定義手段として知られている例としては、非特許文献1に示されるWebサービスにおけるWSDL(Web Service Description Language)や、非特許文献2に示されるCORBA(Common Object Request Broker Architecture)におけるIDL(Interface Definition Language)がある。Webサービス及びWSDLの詳細については、W3C(World Wide Web Consortium)発行の文献「Web Service Description Language」に記載があり、CORBA及びIDLについてはOMG(Object Management Group,Inc.)発行の文献「Common Object Request Broker Architecture: Core Specification」に詳しく記載されている。なお、本明細書では、Webサービスとはインターネット上のサービス全体をさす広義のWebサービスではなく、後述するXMLベースのWebサービス(XML Webサービスと呼ばれることもある)である。   In the client / server system, communication between the client and server can be realized by programming each service individually, but the service interface is defined in advance and the service is realized by the defined definition. Generally, a method of automatically generating an interface part of a server program to be executed and a client program thereof. Examples of known interface definition means include WSDL (Web Service Description Language) in Web services shown in Non-Patent Document 1, and IDL in CORBA (Common Object Request Broker Architecture) shown in Non-Patent Document 2. (Interface Definition Language). Details of the Web service and WSDL are described in the document “Web Service Description Language” published by the World Wide Web Consortium (W3C), and the CORBA and IDL documents “Common Object” published by OMG (Object Management Group, Inc.) It is described in detail in “Request Broker Architecture: Core Specification”. In this specification, the Web service is not a Web service in a broad sense that indicates the entire service on the Internet, but an XML-based Web service described later (sometimes referred to as an XML Web service).

これらのインターフェイス定義手段によって自動生成されるコードの多くは「遠隔手続き呼び出し」(RPC:Remote Procedure Call)モデルに基づいている。遠隔手続き呼び出しでは、クライアントのサーバに対する要求とそのサービスの処理結果とが一対となっている。すなわち、クライアントがサーバに対するサービス実行要求を発行すると、その要求に対応する処理(サービス)がサーバで行われ、サービスの実行結果がクライアントに対して通知される一連の流れが不可分になっているものである。プログラム上では、この遠隔手続き呼び出しは関数呼び出し又はオブジェクト指向言語におけるクラスメソッド呼び出しによってネットワーク透過的に扱われる。   Many of the codes automatically generated by these interface definition means are based on a “Remote Procedure Call” (RPC) model. In a remote procedure call, a request from a client server and a processing result of the service are paired. In other words, when a client issues a service execution request to the server, processing (service) corresponding to the request is performed by the server, and a series of flows in which the execution result of the service is notified to the client is inseparable It is. In the program, this remote procedure call is handled in a network transparent manner by a function call or a class method call in an object-oriented language.

Webサービスにおいてもサービスの実行には遠隔手続き呼び出しモデルを用いることが多い。これを「同期式Webサービス」と呼ぶ場合もある。これに対し、「非同期式Webサービス」では、クライアントからのサービス実行要求に対してサービスの実行結果が非同期的に返される。すなわち、サービスを実行した結果が即時に返されるわけではない。なお、本明細書では、Webサービスは「同期式Webサービス」を前提とする。   In Web services, a remote procedure call model is often used to execute services. This may be referred to as “synchronous web service”. On the other hand, in the “asynchronous Web service”, the service execution result is asynchronously returned in response to the service execution request from the client. That is, the result of executing the service is not returned immediately. In this specification, the Web service is assumed to be a “synchronous Web service”.

また、前述のように、WebサービスではWSDLによってサービスのインターフェイス記述が行われる。WSDL記述には、サービス実行時にクライアントがサーバに送信するメッセージのデータ形式の定義とサーバがクライアントに返信するサービスの実行結果メッセージのデータ形式の定義と、が含まれている。また、WSDL記述には、サービスを提供する場所に関する情報も含まれており、通常その場所の情報はサーバのURL(Uniform Resource Locator)によって示される(例えば、非特許文献3参照。)。クライアント・サーバ間のメッセージはXML(eXtensible Markup Language)を用いて記述されている(例えば、非特許文献4参照。)。   Further, as described above, in the Web service, the service interface description is performed by WSDL. The WSDL description includes the definition of the data format of the message that the client sends to the server during service execution and the definition of the data format of the service execution result message that the server sends back to the client. In addition, the WSDL description includes information about a place where the service is provided, and the information on the place is usually indicated by a URL (Uniform Resource Locator) of the server (for example, see Non-Patent Document 3). The message between the client and the server is described using XML (eXtensible Markup Language) (for example, see Non-Patent Document 4).

このメッセージは、クライアントプログラム又はサーバプログラムによってプログラムの内部形式からXML形式に変換されネットワーク経由で転送される。なお、WSDL記述自体もXMLで記述されている。このXMLはSGML(Standard Generalized Markup Language)をベースとした一種のマークアップ言語であり、文書の構造を示すための記述(タグ)を文書中に記述する言語仕様の一つである。XMLでは文書の構造を定義するDTD(Document Type Definition)を別途定義することで文書構造を切り離して伝達することが可能である。Webサービスでは、このXML形式のメッセージをSOAP(Simple Object Access Protocol)と呼ばれるプロトコル(例えば、非特許文献5参照。)を用いてクライアント・サーバ間で送受信する。SOAPは、通常はインターネットの標準プロトコルであるHTTP(Hypertext Transfer Protocol)(例えば、非特許文献6参照。)でカプセル化されて送信される。   This message is converted from the internal format of the program into the XML format by the client program or the server program and transferred via the network. Note that the WSDL description itself is also described in XML. This XML is a kind of markup language based on SGML (Standard Generalized Markup Language), and is one of language specifications for describing a description (tag) in the document to indicate the structure of the document. In XML, the document structure can be separated and transmitted by separately defining DTD (Document Type Definition) that defines the structure of the document. In the Web service, an XML format message is transmitted and received between a client and a server using a protocol called SOAP (Simple Object Access Protocol) (for example, see Non-Patent Document 5). SOAP is normally encapsulated and transmitted by HTTP (Hypertext Transfer Protocol) (for example, see Non-Patent Document 6), which is a standard protocol of the Internet.

このように、XML形式をベースとしたWebサービスのメッセージの枠組みは、サービスが後述するような、インターフェイスをもつ「部品」(コンポーネント)として独立したものになるために重要な意味をもつ。   As described above, the message framework of the Web service based on the XML format is important for the service to become independent as a “part” (component) having an interface as described later.

なお、URLについてはIETF(Internet Engineering Task Force)発行の文献「RFC1738:Uniform Resource Locators(URL)」に、HTTPについてはIETF発行の文献「RFC2616:Hypertext Transfer Protocol」に、XMLについてはW3C発行の文献「Extensible Markup Language(XML)1.0: W3C Recommendation」に、SOAPについてはW3C発行の文献「Simple Object Access Protocol (SOAP) 1.1: W3C Note」にそれぞれ詳しい記載がある。   The URL is a document “RFC1738: Uniform Resource Locators (URL)” issued by IETF (Internet Engineering Task Force), the document is “RFC2616: Hypertext Transfer Protocol” issued by IETF for HTTP, and the document issued by W3C for XML. “Extensible Markup Language (XML) 1.0: W3C Recommendation” and SOAP are described in detail in the document “Simple Object Access Protocol (SOAP) 1.1: W3C Note” published by W3C.

Webサービスは、クライアント・サーバ方式のサービス提供基盤の例として好適であり、サービスのインターフェイスの明確な定義によって、サービスのネットワーク内における部品(コンポーネント)化が容易になり、個々のサービス機能の汎用化が進む要因となる。このようなクライアント・サーバ方式のサービス提供の枠組みを用いてネットワーク上の分散システムを実現するための方法論のひとつが分散オブジェクトモデルである。分散オブジェクトモデルはコンポーネントオブジェクトモデル(Component Object Model)と呼ばれることもある。   A Web service is suitable as an example of a client-server service provision infrastructure. A clear definition of a service interface makes it easy to make components (components) in a network of services, and generalizes individual service functions. It becomes a factor to advance. One of the methodologies for realizing a distributed system on a network using such a client-server service provision framework is a distributed object model. The distributed object model is sometimes called a component object model.

分散オブジェクトモデルにおいては、サービスを、それを構成する部品の集合と考えて、それらの部品のひとつひとつをサービスとして実現する。次に、それらのサービスを組み合わせることで、全体のサービス機能を実現する。この様にすることでサービスの部品を再利用することができ、サービス構築の生産性を向上することができる。また、サービスの部品を用いて新しいサービスを作ることが可能になるので、サービスプロバイダは自身が提供するサービスのみに注力できるようになり、サービスの提供に必要なコストを削減できる。   In the distributed object model, a service is considered as a set of components constituting the service, and each of these components is realized as a service. Next, the overall service function is realized by combining these services. In this way, service components can be reused, and service construction productivity can be improved. In addition, since it becomes possible to create a new service using service components, the service provider can focus only on the service provided by the service provider, and the cost required for providing the service can be reduced.

このようなサービスの部品は、計算機ネットワークにおける再利用を可能にするために、レジストリと呼ばれるディレクトリサービスによって管理され、サービスの記述と共に保管される。レジストリとはサービスを登録し、インターフェイスや機能によって検索することが可能なサービスである。   Such service components are managed by a directory service called a registry and stored with a description of the service in order to enable reuse in a computer network. A registry is a service that registers services and can be searched by interface or function.

新しいサービスを構築しようとするサービスプロバイダは、レジストリからサービスを検索し、構築しようとするサービスに必要な部品を調達し、それらを結合することで新しいサービスを構成する。このレジストリからの検索は動的なものであってもよく、サービスの実行時に動的にレジストリを検索し、所望のサービスを利用して、新しいサービスを構成することも可能である。ただし、サービスの利用のためのインターフェイスすなわちWSDL記述は予め想定されたものでなくてはならない。すなわち個々のサービス機能そのものは静的なものである。   A service provider who intends to construct a new service searches for a service from the registry, procure parts necessary for the service to be constructed, and combine them to constitute a new service. This search from the registry may be dynamic, and the service may be dynamically searched when the service is executed, and a new service may be configured using a desired service. However, the interface for using the service, that is, the WSDL description must be assumed in advance. That is, each service function itself is static.

この分散オブジェクトモデルにおいては、各部品は一般に階層構造を持ち、ある部品は依存する部品によって構成されている。このような階層構造を持ったサービスでは、一般にそれを構成する個々のサービス間のつながりは希薄であり、公開されているインターフェイス定義とその機能によって結合されているのみである。それぞれのサービスはそれ単体で特定の機能を提供し、多くの場合、それぞれが別個のサービスプロバイダによって提供されている。   In this distributed object model, each part generally has a hierarchical structure, and a part is composed of dependent parts. In a service having such a hierarchical structure, in general, the connection between the individual services constituting the service is sparse, and only linked by the public interface definition and its function. Each service provides a specific function by itself, and in many cases, each service is provided by a separate service provider.

このようにサービスの部品がレジストリに豊富に登録されている状態になると、サービスプロバイダが階層構造をもつサービスを提供しようとするときには、サービスプロバイダは、提供しようとするサービスに固有の部分だけを実現すればよい。サービスに固有でない部分に関しては、レジストリから検索したサービスを利用することで実現できるからである。サービスの部品の市場が形成されると、特定のサービス部品の種類に対して、複数のサービスプロバイダが同種のサービスを提供することになる。すなわちサービスを構成しようとするときにレジストリを検索すれば、複数のサービスが検索結果として得られる。それらの複数のサービス部品から1つを選択することは、サービスを提供しようとするサービスプロバイダの意思(ポリシー)に依存している。このようにして構築されたサービスのなかから、クライアントがサービスを選ぶ基準は、上層のサービスを提供するサービスプロバイダに対するクライアントのポリシーか、あるいはサービスの内容に対するクライアントのポリシー等になる。   In this way, when service components are abundantly registered in the registry, when a service provider tries to provide a service with a hierarchical structure, the service provider realizes only the part specific to the service to be provided. do it. This is because the part not unique to the service can be realized by using the service retrieved from the registry. Once the service component market is formed, multiple service providers will provide the same type of service for a particular service component type. That is, if a registry is searched when trying to configure a service, a plurality of services are obtained as search results. Selecting one of the plurality of service components depends on the intention (policy) of the service provider to provide the service. Among the services constructed in this way, a criterion for the client to select a service is a client policy for a service provider providing an upper layer service, a client policy for a service content, or the like.

また、このポリシーを利用して、サーバ・クライアント方式のサービスを提供する方法として、クライアントからサーバに対して送る問い合わせメッセージに、サービスを提供するサーバを選択するためのポリシー情報を格納し、該ポリシー情報を受け取ったディレクトリサーバが該ポリシーの内容に基づいて、サーバを選択し、この選択したサーバをクライアントに通知するサーバ選択方法が知られている(例えば、特許文献1参照。)。
特開平9−198346号公報 「Web Service Description Language」,World Wide Web Consortium 「Common Object Request Broker Architecture: Core Specification」,Object Management Group,Inc. 「RFC1738:Uniform Resource Locators(URL)」,Internet Engineering Task Force 「Extensible Markup Language(XML)1.0: W3C Recommendation」,World Wide Web Consortium 「Simple Object Access Protocol (SOAP) 1.1: W3C Note」,World Wide Web Consortium 「RFC2616:Hypertext Transfer Protocol」,Internet Engineering Task Force
Further, as a method for providing a server / client system service using this policy, policy information for selecting a server providing the service is stored in an inquiry message sent from the client to the server, and the policy is stored. There is known a server selection method in which a directory server that receives information selects a server based on the contents of the policy and notifies the selected server to a client (see, for example, Patent Document 1).
JP-A-9-198346 "Web Service Description Language", World Wide Web Consortium “Common Object Request Broker Architecture: Core Specification”, Object Management Group, Inc. "RFC1738: Uniform Resource Locators (URL)", Internet Engineering Task Force “Extensible Markup Language (XML) 1.0: W3C Recommendation”, World Wide Web Consortium "Simple Object Access Protocol (SOAP) 1.1: W3C Note", World Wide Web Consortium "RFC2616: Hypertext Transfer Protocol", Internet Engineering Task Force

前述のような階層構造を持つサービスを提供するための基盤が普及するにつれて、個々のサービスが提供するサービス内容とクライアントのサービスに対する要求との適合性が問題になる。サービスを提供するサービスプロバイダによっては、サービスの品質管理に消極的な場合もある。また、サービス提供の対価を不法に詐取しようとする悪意のサービスプロバイダが出現する可能性がある。また、サービスを利用したときに、そのサービスの実行結果がインターフェイスとして正常であったとしても、クライアントの意図していたものかは実行してみるまで不明である。クライアントのサービスに対する要求は多様であり、サービスの品質に関わるもの、サービスを提供しているサービスプロバイダの信用に基づいたものなど多種多様である。   As the infrastructure for providing a service having a hierarchical structure as described above becomes widespread, compatibility between service contents provided by individual services and requests for client services becomes a problem. Some service providers providing services may be reluctant to quality control of services. Moreover, there is a possibility that a malicious service provider who illegally attempts to fraudulently pay for service provision. Also, even if the service execution result is normal as an interface when the service is used, it is unknown until the client tries to execute it. Client requests for services are diverse, such as those related to the quality of services and those based on the trust of service providers that provide services.

このような様々なクライアントのサービスに対する要求(クライアントのポリシー)の全てに適合する単一のサービスを用意することは困難である。サービスがサービス品質等に関する様々な属性を持つ状況において、クライアントにとってサービスが利用価値を持つためには、クライアントのポリシーを汲み上げて、サービスの構成に反映させる仕組みが必要となる。   It is difficult to prepare a single service that meets all of the various client service requests (client policies). In a situation where a service has various attributes relating to service quality and the like, in order for the service to have utility value for the client, a mechanism for drawing up the client policy and reflecting it in the service configuration is required.

前述したように、サービスは、一般に複数のサービスの組み合わせとして階層構造を持っているので、サービスを構成する個々のサービスが、異なるサービスプロバイダによって提供されることとなる。そのため、クライアントのポリシーを満たすサービスを構成するためには、階層構造をなすそれぞれのサービスを提供するサービスプロバイダと、クライアントとの間で煩雑なやり取りが必要となる。   As described above, since the service generally has a hierarchical structure as a combination of a plurality of services, individual services constituting the service are provided by different service providers. Therefore, in order to configure a service that satisfies the client policy, a complicated exchange is required between the client and the service provider that provides each hierarchical service.

サービスに対するクライアントのポリシーは、サービスの構成レベルのポリシーと、サービスのアプリケーションレベルのポリシーに大別される。サービスの構成レベルのポリシーはサービスがどのような属性のサービスによって構成されているかということに関するクライアントの要求であり、アプリケーションレベルのポリシーは、サービスの構成が与えられたときの、そのサービスの実行時の動作に関する要求である。   Client policies for services are broadly divided into service configuration level policies and service application level policies. The service configuration level policy is the client's request for what attributes the service is configured with, and the application level policy is the runtime of the service when given the service configuration. It is a request regarding the operation of

一般に、サービスの構成レベルのポリシーはサービス利用毎に変わるものではなく固定的なものであり、クライアントとしてのエンドユーザのサービス品質への要望、組織に対する信用度、個人的な習慣や嗜好を表す。階層構造を持つサービスでは、上層のサービスの独自のポリシーによって下層サービスが選択されており、サービス全体を利用するクライアントはトップレベルサービスのサービス構成ポリシーを受け入れてサービスを利用することしかできない。クライアントのサービス構成レベルのポリシーを反映させるには、サービス全体を複数の候補から選択するしかなく、サービス構成の自由度は低くなる。   In general, the policy at the service configuration level is not fixed for each service use, but is fixed, and represents the end user's desire for service quality as a client, the creditworthiness of the organization, personal habits and preferences. In a service having a hierarchical structure, a lower layer service is selected according to a unique policy of the upper layer service, and a client using the entire service can only use the service by accepting the service configuration policy of the top level service. In order to reflect the policy at the service configuration level of the client, the entire service can only be selected from a plurality of candidates, and the degree of freedom of the service configuration is low.

また、特許文献1に記載された発明のように、サービスにクライアントのポリシーを適用するためには、通常、サービスの実行時のパラメータとして、クライアントのポリシーを指定し、サービス側で入力されたポリシーに従ってサービスを実行するという方法が用いられる。この方法はアプリケーションレベルのポリシーを適用する場合には適切であるが、サービスの構成レベルのポリシーを適用すると、サービスの階層構造が大きくなるにつれて、サービスが多様なクライアントのポリシーに対応するためにパラメータ数が膨大なものになる欠点がある。パラメータ数の増加は、サービスプロバイダによるサービスの実装コストに直結するため、サービスの提供そのものが困難になる。さらに、上層のサービスが全ての下層サービスについてのパラメータを予め想定して受け付けることも困難である。   In addition, in order to apply a client policy to a service as in the invention described in Patent Document 1, a client policy is usually specified as a parameter at the time of executing the service, and the policy input on the service side The method of executing the service according to the above is used. This method is appropriate when applying application-level policies, but as service configuration-level policies are applied, as the service hierarchy grows, the service parameters can be used to accommodate diverse client policies. There is a drawback that the number becomes huge. Since the increase in the number of parameters is directly related to the service implementation cost by the service provider, it becomes difficult to provide the service itself. Furthermore, it is difficult for the upper layer service to accept parameters for all lower layer services in advance.

本発明は、このようなサービスの構成に対するポリシー適用の必要性から、以下の(A)〜(F)の各項目のサービスの提供方法を提供することを目的とする。

(A)サービスに対して、クライアントのポリシー情報を取得して、サービスの構成を変更できることが必要となる。前述のように階層構造を持つサービスにおいては、複数のサービスプロバイダによってサービスが構成されているため、トップレベルサービスに対してパラメータ指定することによるアプリケーションレベルでのサービスのカスタマイズ手法ではサービスの構成レベルのクライアントのポリシーに対応できないためである。
An object of the present invention is to provide a service providing method for each of the following items (A) to (F) in view of the necessity of applying a policy to such a service configuration.

(A) For a service, it is necessary to be able to acquire client policy information and change the service configuration. As described above, in a service having a hierarchical structure, the service is configured by a plurality of service providers. Therefore, in the service customization method at the application level by specifying parameters for the top-level service, the service configuration level This is because the policy of the client cannot be supported.

また、サービスの構成に対して、クライアントのポリシーを反映するためには、サービスにポリシー情報を伝達する手段が必要である。しかし、クライアントのポリシー情報は、プライバシーや機密情報に相当するものもあり、サービスの実行時にクライアントが全てのポリシー情報をトップレベルサービスに提供することは問題がある。従って、サービスに対して、サービスの構成に必要なポリシー情報のみを受け渡す仕組みが必要となる。   Further, in order to reflect the client policy to the service configuration, a means for transmitting policy information to the service is required. However, some of the client policy information corresponds to privacy and confidential information, and it is problematic for the client to provide all policy information to the top-level service when the service is executed. Therefore, a mechanism for transferring only policy information necessary for service configuration to the service is required.

(B)クライアントのポリシーとサービスの構成が適合しているかを判断するための画一的な方法が必要になる。   (B) A uniform method for determining whether the client policy and the service configuration are compatible is required.

(C)クライアントのポリシーを決定するときに、全てのポリシーをクライアント自身が決定することは、ポリシー情報の種類が多くなるにつれ困難になってくる。また、クライアントが特定の組織に属している場合には、クライアントが組織のポリシーに従わなければならない場合もある。このような場合に対応するため、第三者のポリシーをクライアントのポリシーと同じように、サービスの構成に反映できる手段が必要である。   (C) When determining a policy of a client, it becomes difficult for the client to determine all policies as the number of types of policy information increases. Also, if the client belongs to a particular organization, the client may have to follow the organization's policy. In order to cope with such a case, a means capable of reflecting the third party policy in the service configuration in the same way as the client policy is required.

(D)階層構造をもつサービスにおいて、サービスがクライアントのポリシーに従って、下層のサービスを構成するときでも、そのサービスプロバイダ自身のサービス提供に関するポリシーが存在する。このようなサービスプロバイダ自身のポリシーをサービスの構成に反映させるための手段が必要である。   (D) In a service having a hierarchical structure, even when a service configures a lower-layer service in accordance with a client policy, there is a policy regarding service provision of the service provider itself. A means for reflecting such a service provider's own policy in the service configuration is necessary.

(E)クライアントのポリシーとサービスのポリシーに対応する属性が適合しているかを判定するときに、サーバプログラム自身が判定することができる場合もあるが、そうでない場合もある。従って、そのような場合に、適合性を第三者によって判定する手段が必要である。   (E) When determining whether the attributes corresponding to the policy of the client and the policy of the service are compatible, the server program itself may or may not be able to make the determination. Therefore, in such a case, a means for determining suitability by a third party is required.

(F)以上のようなサービスの構成をクライアントのポリシーに従って変更するような枠組みを設けた場合に、サービスの実行毎に同様の手続きを行っていたのでは、サービスの実行効率に問題が生じる。   (F) When a framework for changing the service configuration as described above according to the policy of the client is provided, if the same procedure is performed every time the service is executed, a problem occurs in the service execution efficiency.

前述したように、サービスの構成について、クライアントのポリシーを反映することが困難な理由は、サービスを提供する基盤に、クライアントのポリシーを適用する枠組みが提供されていないためである。   As described above, the reason why it is difficult to reflect the client policy in the service configuration is that the framework for applying the client policy is not provided for the infrastructure for providing the service.

そのため本発明は、クライアントのサービスの構成に関するポリシーを適用する枠組みを与える。具体的には前述の(A)〜(F)の課題に対応して以下の(A)〜(F)の手段を提供する。   Therefore, the present invention provides a framework for applying a policy regarding the configuration of a client service. Specifically, the following means (A) to (F) are provided in response to the problems (A) to (F) described above.

(A)クライアントのポリシー情報を予め蓄積するデータベース(ポリシーデータベース)を備える。ポリシー情報を要求に応じて返送する機能を持つポリシーサーバプログラム(以下単にポリシーサーバ)を稼動させる。この状況で、次のような手続きに基づいてクライアントのポリシーを適用したサービスを実行する。   (A) A database (policy database) that stores policy information of clients in advance is provided. A policy server program (hereinafter simply referred to as policy server) having a function of returning policy information upon request is operated. In this situation, the service to which the client policy is applied is executed based on the following procedure.

最初に、サービスを実行しようとするクライアントは、サーバに対して、ポリシーサーバの位置情報と共にサービスの実行要求を出すと、サーバプログラムはサービスの構成に必要なポリシー情報をポリシーサーバに問い合わせる。次に、ポリシーサーバは、ポリシーデータベースを検索し、サーバにポリシー情報を返す。この際に、ポリシー情報の性質によってはポリシーサーバはクライアントにポリシー情報の送信について確認する。この処理によって必要以上のポリシー情報が流出することを避けることができる。次に、ポリシー情報を入手したサーバは、そのポリシー情報を用いてサービスを構成し、サービスを実行し、実行結果をクライアントに返す。また、階層構造をもつサービスに対して、階層的に前述した手続きを実行するために、依存するサービスに対して、ポリシーの問い合わせ先、すなわち、ポリシーサーバの位置情報を伝達する手段を設ける。   First, when a client who wants to execute a service issues a service execution request to the server along with the location information of the policy server, the server program inquires the policy server about the policy information necessary for the service configuration. Next, the policy server searches the policy database and returns policy information to the server. At this time, depending on the nature of the policy information, the policy server confirms the transmission of the policy information to the client. By this process, it is possible to avoid the leakage of unnecessary policy information. Next, the server that has obtained the policy information configures a service using the policy information, executes the service, and returns an execution result to the client. In addition, in order to execute the above-described procedure hierarchically for a service having a hierarchical structure, a means for transmitting a policy inquiry destination, that is, policy server location information to a dependent service is provided.

(B)クライアントのポリシーをサービスの構成に対して反映させるためには、クライアントのポリシー情報が明確になっていなければならない。そのため、クライアントのポリシーの記述について汎用的な書式を定め、ポリシーを定式化する。すなわち、ポリシー項目と、それに関する条件を一組として記述する。   (B) In order to reflect the client policy to the service configuration, the client policy information must be clear. Therefore, a general-purpose format is defined for the client policy description, and the policy is formulated. That is, a policy item and a condition related thereto are described as a set.

(C)ポリシーデータベースの特定のポリシー項目に対する条件として、ポリシーサーバの位置情報を含める、そのポリシー項目に対する問い合わせについては、そのポリシーサーバに対して問い合わせが転送されるようにする。すなわち、サービスを提供するサーバプログラムがポリシーサーバに対してポリシーを問い合わせると、問い合わせを受けたポリシーサーバはポリシーデータベースを検索し、そのポリシー情報がポリシーサーバへの転送を指示している場合は、ポリシーサーバの位置情報を返送する。次にサーバプログラムは返送されたポリシーサーバの位置情報を用いて再度ポリシーを問い合わせる。   (C) For a query for a policy item that includes policy server location information as a condition for a specific policy item in the policy database, the query is transferred to the policy server. That is, when a server program that provides a service queries the policy server for a policy, the policy server that received the query searches the policy database, and if the policy information indicates a transfer to the policy server, the policy server Returns server location information. Next, the server program inquires about the policy again using the returned position information of the policy server.

(D)サービスプロバイダが独自のポリシーデータベースを持ち、ポリシーサーバを稼動させる。サービスを提供するサーバはクライアントからサービスの要求があったときに、クライアントから受け取ったポリシーサーバの位置情報を、前記サービスプロバイダのポリシーデータベースに含める。次に、当該サーバは、クライアントのポリシーに応じて、依存する下層サービスを構成した後、それぞれの下層サービスに対して、前記サービスプロバイダのポリシーサーバの位置情報と共にサービスの要求を行う。   (D) The service provider has its own policy database and operates the policy server. When a service request is received from a client, the server providing the service includes the policy server location information received from the client in the policy database of the service provider. Next, the server configures a dependent lower layer service according to the policy of the client, and then requests each lower layer service together with location information of the policy server of the service provider.

(E)クライアントのポリシー情報と、サービスのポリシー情報に対応する属性をサーバプログラムから取得し、前記取得したポリシー情報とサービスの属性が適合しているかを独自の判断基準に従って判定し、その判定結果をサーバプログラムに返送する機能を有するポリシー適合性判定サーバを設置する。   (E) The client policy information and the attribute corresponding to the service policy information are acquired from the server program, and it is determined whether the acquired policy information and the service attribute are compatible according to a unique criterion, and the determination result A policy conformity determination server having a function of returning the message to the server program is installed.

(F)サービスを提供するサーバがポリシーサーバに対して、クライアントのポリシー情報を問い合わせた結果を、クライアントのポリシーが許容する期間だけサーバに保存しておき、当該期間の間はクライアントから同一のサービス要求があった場合でもポリシーサーバに対して再問い合わせをせずに保存しておいた問い合わせ結果を使用してサービスを構成する。また、クライアントのポリシー情報に基づいてサービスを構成した結果を、クライアントのポリシーが許容する期間だけサーバプログラムによって保存しておき、当該期間のあいだはクライアントから同一のサービス要求があった場合でも、再度サービス構成処理を行うことはせず、保存したサービス構成を用いてサービスを実行する。   (F) The result of inquiring the client policy information from the server providing the service to the policy server is stored in the server for a period allowed by the client policy, and the same service is received from the client during the period. Even if there is a request, the service is configured using the stored query result without re-querying the policy server. In addition, the result of configuring the service based on the client policy information is stored by the server program for a period allowed by the client policy, and even during the period, even if the same service request is received from the client, The service configuration process is not performed, and the service is executed using the stored service configuration.

従って、本発明によると、サービスの階層構造の構成に必要で、かつクライアントの許可するポリシー情報だけを、サービスを提供するサーバプログラムに伝達し、複数のサービスプロバイダによって提供される階層構造を持ったサービスに対しても、クライアントのポリシーを反映したサービスの構成、実行を行うことが可能となる。具体的には前述の(A)〜(F)の手段に対応して以下の(A)〜(F)の効果を奏する。   Therefore, according to the present invention, only the policy information necessary for the configuration of the hierarchical structure of the service and permitted by the client is transmitted to the server program that provides the service, and has a hierarchical structure provided by a plurality of service providers. It is possible to configure and execute a service that reflects a client policy. Specifically, the following effects (A) to (F) are exhibited in correspondence with the means (A) to (F) described above.

(A)クライアントのポリシー情報を蓄積するデータベース(ポリシーデータベース)を備え、ポリシー情報を要求に応じて返送する機能を持つポリシーサーバプログラムを稼動させることによって、サービスを提供するサーバがクライアントのポリシー情報を問い合わせることが可能になり、クライアントのポリシーに適合するようにサービスの階層を構成することが可能になる。また、サービスの実行時にポリシーサーバの問い合わせ先を通知する手段を設けることで、クライアントのポリシーに適合するようにサービスを構成する手続きを階層的に実行することが可能なり、サービスが複数のサービスプロバイダによって提供されるサービスで構成されている場合でも対応できるようになる。   (A) By providing a database (policy database) for storing client policy information and operating a policy server program having a function of returning policy information upon request, a server providing a service obtains client policy information. It is possible to query and to configure the service hierarchy to match the client policy. Also, by providing a means for notifying the policy server of the inquiry destination at the time of service execution, it is possible to execute the procedure for configuring the service in a hierarchical manner so as to conform to the policy of the client. Even if it is configured with a service provided by, it becomes possible to cope.

(B)クライアントのポリシーの表現をポリシー項目とそれに対応する条件の組という形で汎用的に定め、ポリシー情報を定式化することにより、クライアントとサービスの間でポリシーの受け渡しが容易になる。また、クライアントのポリシーへのサービスの適合性を容易に判定することができる。このポリシー情報を前述のポリシーデータベースに蓄積しておき、サービスの構成時にポリシーサーバ経由で引き出し、サービスのポリシーに対応する属性と比較することで、サービスとクライアントのポリシーとの適合性を判定することができる。   (B) The policy expression of the client is generally defined in the form of a set of policy items and corresponding conditions, and the policy information is formulated, so that the policy can be easily transferred between the client and the service. In addition, the suitability of the service to the client policy can be easily determined. This policy information is stored in the above-mentioned policy database, extracted through the policy server when configuring the service, and compared with the attribute corresponding to the service policy, the conformity between the service and the client policy is determined. Can do.

(C)ポリシーデータベースの特定の項目に対する条件として、他のポリシーデータベースに関連するポリシーサーバの位置情報を含めることで、クライアントのポリシー情報の問い合わせが転送されるようになる。この方法によって、クライアントが第三者のポリシーを自分のポリシーとして採用することができ、クライアントが全ての詳細なポリシーを予め用意する負担を軽減することができる。また、組織に属するクライアントが組織のポリシーを採用することも容易となる。   (C) By including the location information of the policy server related to another policy database as a condition for a specific item in the policy database, an inquiry about the policy information of the client is transferred. By this method, the client can adopt a third party policy as his own policy, and the burden of the client preparing all detailed policies in advance can be reduced. In addition, it becomes easy for clients belonging to the organization to adopt the policy of the organization.

(D)サービスプロバイダが独自のポリシーデータベースを持ち、ポリシーサーバを稼動させておき、クライアントのポリシーサーバの位置情報をサービスプロバイダの独自のポリシーデータベースに含めておくことで、クライアントのポリシーに加えて、サービスプロバイダのポリシーをサービスの構成及び実行に反映させることが可能になる。   (D) In addition to the client policy, the service provider has its own policy database, the policy server is running, and the location information of the client policy server is included in the service provider's own policy database. It becomes possible to reflect the service provider policy in the configuration and execution of the service.

(E)クライアントのポリシー情報と、サービスのポリシー情報に対応する属性とに基づいて、サービスがポリシーに適合しているかを判定する第三者によるポリシーの適合性判定サーバを設けることで、クライアントのサービスに要求するポリシーの表現の自由度が向上する。   (E) Based on the policy information of the client and the attribute corresponding to the policy information of the service, by providing a policy conformity determination server by a third party that determines whether the service conforms to the policy, The degree of freedom in expressing policies required for services is improved.

(F)保存した問い合わせ結果を使用してサービスを構成する、または、保存しておいたサービス構成を用いてサービスを実行するので、クライアントのポリシーを反映したサービスの実行にかかる処理を効率化することが可能になる。   (F) Since the service is configured using the saved inquiry result or the service is executed using the saved service configuration, the processing for executing the service reflecting the client policy is made more efficient. It becomes possible.

以下に本発明の実施の形態を図面に基づいて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

まず、本発明の第1の実施の形態における計算機ネットワークシステムの構成を、図1のブロック図を用いて説明する。   First, the configuration of the computer network system according to the first embodiment of the present invention will be described with reference to the block diagram of FIG.

計算機201〜205は、それぞれがネットワーク接続901〜905を通じてネットワーク101に接続されている。   The computers 201 to 205 are connected to the network 101 through network connections 901 to 905, respectively.

クライアント301は計算機201上で動作するサービスを要求し利用するクライアントプログラムであり、サーバ401は計算機202上で動作し、サーバ402は計算機203上で動作するサービスを提供するサーバプログラムである。   The client 301 is a client program that requests and uses a service that operates on the computer 201, the server 401 operates on the computer 202, and the server 402 is a server program that provides a service that operates on the computer 203.

ポリシーサーバ501は計算機204上で動作するサーバのポリシー問い合わせに応答する機能を持つサーバであり、ポリシーデータベース601は計算機204上で動作するクライアントのポリシー情報や他のポリシー情報を蓄積しておくデータベースである。   The policy server 501 is a server having a function of responding to a policy inquiry of a server operating on the computer 204, and the policy database 601 is a database for storing policy information of clients operating on the computer 204 and other policy information. is there.

レジストリ701は計算機206上で動作するどのサーバによってどのサービスが実行できるかを検索することができるディレクトリサーバである。   The registry 701 is a directory server that can search which service can be executed by which server operating on the computer 206.

なお、ネットワーク101は、インターネットのような大規模なネットワークでもよいし、企業内ネットワークなどの比較的小規模のものでもよい。また、図1ではネットワーク101は単一のネットワークによって構成しているが、必ずしも一つのネットワークでそれぞれの計算機が接続されている必要はなく、通信を行う必要のある計算機同士が個別のネットワークを通じて接続されていてもよい。また、計算機201〜205は、ネットワーク接続を行える機能を持った、パーソナルコンピュータ、ワークステーション、サーバ専用機など、どのような計算機でもよい。   The network 101 may be a large-scale network such as the Internet, or a relatively small-scale network such as a corporate network. In FIG. 1, the network 101 is constituted by a single network, but it is not always necessary that the computers are connected by a single network, and computers that need to communicate with each other are connected through individual networks. May be. Further, the computers 201 to 205 may be any computers such as a personal computer, a workstation, and a server dedicated machine having a function capable of network connection.

また、図1ではクライアントの計算機とサーバの計算機とを別々に示しているが、クライアント301とサーバ401、402のプログラムとが同一の計算機であってもよい。これは階層構造をもつサービスを構成しているサービスの場合には一般的なことである。   In FIG. 1, the client computer and the server computer are shown separately, but the programs of the client 301 and the servers 401 and 402 may be the same computer. This is common in the case of a service constituting a service having a hierarchical structure.

さらに、本実施の形態において、クライアント301、サーバ401、402等の各々のプログラムは同一の計算機上で動作していてもよく、ネットワーク内の異なる計算機に分散して動作していてもよい。   Furthermore, in the present embodiment, each program such as the client 301 and the servers 401 and 402 may operate on the same computer, or may operate by being distributed to different computers in the network.

次に、以上のように構成した第1の実施の形態の計算機ネットワークシステムにおいて、サービスがXMLベースのWebサービスである場合の動作を説明する。   Next, the operation when the service is an XML-based Web service in the computer network system according to the first embodiment configured as described above will be described.

図2は、第1の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理を説明する図である。   FIG. 2 is a diagram illustrating processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the first embodiment.

図2において、サーバ401及び402、レジストリ701、ポリシーサーバ501はWebサービスとして構成され、各々がサービスを提供できるようにシステムが実現されている。また、クライアント301が要求するサービスに対応したポリシー情報は、予めクライアント301によって設定され、ポリシーデータベース601に蓄積されている。   In FIG. 2, servers 401 and 402, a registry 701, and a policy server 501 are configured as Web services, and the system is implemented so that each can provide services. Policy information corresponding to the service requested by the client 301 is set in advance by the client 301 and stored in the policy database 601.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。この実行要求メッセージ1001の送信と同時に、クライアント301のポリシーの問い合わせ先であるポリシーサーバ501のサービス記述(WSDL記述)又はポリシーの問い合わせ先であるポリシーサーバ501のURLを、サービス呼び出し時のパラメータとして、サーバ401に対して送信する。このサービス構成のトップレベルサービスであるサーバ401に対するポリシーサーバ501のサービス記述は、クライアント301によって、レジストリ701を検索するか、又は他の方法によって予め取得しておく。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Simultaneously with the transmission of the execution request message 1001, the service description (WSDL description) of the policy server 501 that is the policy inquiry destination of the client 301 or the URL of the policy server 501 that is the policy inquiry destination is used as a parameter when the service is called. It transmits to the server 401. The service description of the policy server 501 for the server 401, which is the top-level service of this service configuration, is obtained in advance by searching the registry 701 by the client 301 or by another method.

次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501に送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   Next, the server 401 that has received the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

このポリシーデータベースに蓄積されているポリシー項目とポリシー条件の組の例を図3に示す。図3では、例えば、「応答時間」というポリシー項目に対して「1秒以内」というポリシー条件が、「信頼性規格B」というポリシー項目に対して「認証取得していること」というポリシー条件が、「格付け機関Aによる格付け」というポリシー項目に対して「格付けAA以上」というポリシー条件が、それぞれ蓄積されており、このポリシー項目とポリシー条件とから構成されるポリシー情報は予め定型化された記述によって蓄積されている。   An example of a set of policy items and policy conditions stored in the policy database is shown in FIG. In FIG. 3, for example, a policy condition “within 1 second” is assigned to the policy item “response time”, and a policy condition “authentication is acquired” is assigned to the policy item “reliability standard B”. , A policy condition of “rating AA or higher” is stored for a policy item of “rating by rating agency A”, and policy information composed of the policy item and the policy condition is a stylized description. Has been accumulated by.

また、それぞれのポリシー項目には、ポリシー情報公開についての属性(公開規則)を付与してもよい。ポリシー情報に予め公開を限定する属性(例えば、「非公開」)が付与されていた場合、ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   Further, each policy item may be given an attribute (publication rule) about policy information disclosure. If the policy information has previously been given an attribute that restricts disclosure (for example, “non-public”), the policy server 501 may disclose the policy information to the server 401 to the client 301. An inquiry message 1005 for inquiring is sent, and a result message 1006 that is a response to the inquiry is received.

クライアント301では、この問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであった場合、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されたポリシー情報の問い合わせに対する結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives this inquiry message 1005 and confirms whether or not the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry permits the disclosure of the policy, or if the policy information is not attached with an attribute that restricts the disclosure, the policy server 501 requests the service execution request message 1001. A result message 1007 that is a result of the policy information inquiry is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を、結果メッセージ1007として取得すると、取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。   Next, when the server 401 acquires the policy information requested by the inquiry message 1002 as a result message 1007, a hierarchical structure of services by lower servers is configured based on the acquired policy information.

具体的には、まず、サーバ401は、サービスが依存する下層サービスの候補となるサービス群(サービスを提供するサーバの情報)をレジストリ701から検索するために、レジストリ701に対して検索要求メッセージ1008を送信する。レジストリ701は、検索要求メッセージ1008を受け取ると、その要求に対する検索結果(サービスを実行可能な下位サーバの候補を示す情報)である検索結果メッセージ1009を、サーバ401に対して送信する。   Specifically, first, the server 401 searches the registry 701 for a service group (information of a server that provides a service) that is a candidate for a lower layer service on which the service depends, and sends a search request message 1008 to the registry 701. Send. When the registry 701 receives the search request message 1008, the registry 701 transmits a search result message 1009, which is a search result (information indicating a candidate of a subordinate server capable of executing the service), to the server 401.

サーバ401では、取得した下層サービスの候補となるサービス群のそれぞれについてポリシー情報に対応する属性情報を取得し、その属性情報を結果メッセージ1007によって取得したクライアントのポリシー情報と比較する。比較した結果、クライアントのポリシー情報に適合したサービスがあればそのサービスを用いて、下層のサービス階層を構成する。なお、図2では簡単のためサーバ402の一つのみを例示しているが、一般には複数の計算機によって複数の階層構造を持つ。   The server 401 acquires attribute information corresponding to the policy information for each acquired service group that is a candidate for the lower layer service, and compares the attribute information with the client policy information acquired by the result message 1007. As a result of the comparison, if there is a service conforming to the policy information of the client, the service hierarchy of the lower layer is configured using the service. In FIG. 2, only one server 402 is illustrated for simplicity, but in general, a plurality of computers have a plurality of hierarchical structures.

サーバ401は、下層サービスを構成すると決定したサーバ402に対してサービスの実行要求メッセージ1010を送信する。実行要求メッセージ1010を受け取ったサーバ402は、その実行要求に対する実行結果である結果メッセージ1011を送信する。また、サーバ401は実行要求メッセージ1010をサーバ402に対して送信すると共に、サーバ401が自ら実行するサービス(サーバ401が提供するサービス固有部分)を実行する。   The server 401 transmits a service execution request message 1010 to the server 402 that has been determined to constitute the lower layer service. The server 402 that has received the execution request message 1010 transmits a result message 1011 that is an execution result for the execution request. In addition, the server 401 transmits an execution request message 1010 to the server 402 and executes a service (a service-specific portion provided by the server 401) that the server 401 executes.

そして、サーバ401は、下位サーバ402によるサービスの実行結果(実行結果メッセージ1011)と共に、サーバ全体(サーバ401、402)のサービスの実行結果であるサービス実行結果メッセージ1012をクライアント301に対して送信する。   Then, the server 401 transmits a service execution result message 1012 that is a service execution result of the entire server (servers 401 and 402) to the client 301 together with a service execution result (execution result message 1011) by the lower server 402. .

以上のように構成された第1の実施の形態の計算機ネットワークシステムでは、クライアント301がサーバ401に対して実行要求を送信すると、サーバ401は、実行要求に対応するポリシー情報をポリシーサーバ501から取得する。サーバ401は、取得したポリシー情報に基づいて、レジストリ701に問い合わせ、サービスを実行する下位サーバ402を検索し、検索した下位サーバ402に対して実行要求を送信し、該実行要求の結果及びサーバ401の行う固有のサービスの実行結果をクライアント301に対して送信する。よって、階層構造を持つサービスにおいても、定型化したポリシー情報によってサービスを構成することができる。   In the computer network system according to the first embodiment configured as described above, when the client 301 transmits an execution request to the server 401, the server 401 acquires policy information corresponding to the execution request from the policy server 501. To do. The server 401 makes an inquiry to the registry 701 based on the acquired policy information, searches the lower server 402 that executes the service, transmits an execution request to the searched lower server 402, the result of the execution request, and the server 401. The result of the execution of the unique service performed is transmitted to the client 301. Therefore, even in a service having a hierarchical structure, the service can be configured with the standardized policy information.

また、ポリシーの公開に関する属性を用いることで、下位のサーバ402に対して、サービスの構成に必要なポリシーのみを受け渡すことができる。   Further, by using an attribute related to policy disclosure, only a policy necessary for service configuration can be delivered to the lower server 402.

次に、本発明の第2の実施の形態について説明する。   Next, a second embodiment of the present invention will be described.

第2の実施の形態では、トップレベルのサーバ401がレジストリ701に対して問い合わせることなく、下位レベルのサーバに対して実行要求を行う点が相違する。なお、第1の実施の形態と同一の動作をする構成には同一の符号を付し、その説明は省略する。   The second embodiment is different in that the top level server 401 makes an execution request to the lower level server without inquiring of the registry 701. In addition, the same code | symbol is attached | subjected to the structure which carries out the same operation | movement as 1st Embodiment, and the description is abbreviate | omitted.

図4は、第2の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理を説明する図である。   FIG. 4 is a diagram illustrating processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the second embodiment.

図4において、サーバ401及び402、ポリシーサーバ501はWebサービスとして構成され、サービスを提供できるようにシステムが実現されている。   In FIG. 4, servers 401 and 402 and a policy server 501 are configured as Web services, and the system is implemented so as to provide services.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501に送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Next, the server 401 that has received the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   The policy server 501 transmits to the client 301 an inquiry message 1005 that inquires whether or not the policy information can be disclosed to the server 401, and receives a result message 1006 that is a response to the inquiry.

クライアント301は、問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであれば、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されていたポリシー情報の問い合わせ結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives the inquiry message 1005 and confirms whether or not the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry allows the policy to be disclosed, or if the policy information does not have an attribute for limiting the disclosure, the policy server 501 is requested by the service execution request message 1001. A result message 1007 which is the inquiry result of the policy information that has been sent is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を結果メッセージ1007として取得すると、取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。   Next, when the server 401 acquires the policy information requested by the inquiry message 1002 as a result message 1007, a hierarchical structure of services by lower servers is configured based on the acquired policy information.

具体的には、サーバ401は、取得したポリシー情報を用いて、サーバ401が提供するサービスが依存する下位サーバの下層サービスを構成し、サービスの実行要求1010を、下位サーバ402に対して送信する。サーバ401は、サービスの実行要求1010と下位サーバ402に送信すると共に、クライアントのポリシーサーバ501のサービス記述(又はそのURL)を送信する。   Specifically, the server 401 uses the acquired policy information to configure a lower-layer service of a lower server on which the service provided by the server 401 depends, and transmits a service execution request 1010 to the lower server 402. . The server 401 transmits the service execution request 1010 and the lower server 402, and also transmits the service description (or its URL) of the client policy server 501.

下層サービスを提供するサーバ402は、サービスの実行要求と共に受け取ったポリシーサーバのサービス記述に基づいて、クライアントのポリシーを問い合わせる問い合わせメッセージ1013を、ポリシーサーバ501に対して送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、既に、ポリシーデータベース601を検索して得ている検索結果1004に基づいて、応答結果メッセージ1014を送信する。さらに、サーバ402は、同様に、依存する下層サービスを構成し、その下層サービスを提供する図示しないサーバに対して、サービスの実行要求をポリシーサーバのサービス記述(又はそのURL)と共に送信する。   Based on the service description of the policy server received together with the service execution request, the server 402 that provides the lower layer service transmits an inquiry message 1013 for inquiring the client policy to the policy server 501. The policy server 501 that has received this inquiry message 1002 transmits a response result message 1014 based on the search result 1004 that has already been obtained by searching the policy database 601. Further, the server 402 similarly configures a lower-layer service on which it depends, and transmits a service execution request together with the service description (or its URL) of the policy server to a server (not shown) that provides the lower-layer service.

最後に、サーバ401は、下位サーバ402によるサービスの実行結果(実行結果メッセージ1011)と共に、サーバ全体(サーバ401、402)のサービスの実行結果であるサービス実行結果メッセージ1012をクライアント301に対して送信する。   Finally, the server 401 transmits a service execution result message 1012 that is a service execution result of the entire server (servers 401 and 402) to the client 301 together with a service execution result (execution result message 1011) by the lower server 402. To do.

なお、図4ではサーバ402の一階層のみの例を図示しているが、一般には前述した処理が図示しない下位サーバによって階層的に繰り返されることによって、サービス全体を構成するそれぞれの階層において、クライアントのポリシーを反映したサービスが構成され、サービスが実行される。   In FIG. 4, an example of only one layer of the server 402 is shown. In general, the above-described processing is hierarchically repeated by a lower server (not shown), so that the client in each layer constituting the entire service. A service reflecting the policy is configured and the service is executed.

以上のように構成された第2の実施の形態の計算機ネットワークシステムでは、第1の実施の形態の効果に加え、サーバの構造を保持するディレクトリサーバを用いることなくポリシー情報を下位のサーバに送ることで、第1の実施の形態と同様の階層的サービスを提供することができる。   In the computer network system of the second embodiment configured as described above, in addition to the effects of the first embodiment, policy information is sent to a lower server without using a directory server that holds the server structure. Thus, a hierarchical service similar to that in the first embodiment can be provided.

次に、本発明の第3の実施の形態について説明する。   Next, a third embodiment of the present invention will be described.

第3の実施の形態では、計算機ネットワークシステムに複数のポリシーサーバ及びポリシーデータベースを持つ点で、前述した第1及び第2の実施の形態と相異する。なお、第1及び第2実施の形態と同一の動作をする構成には同一の符号を付し、その説明は省略する。   The third embodiment is different from the first and second embodiments described above in that the computer network system has a plurality of policy servers and a policy database. In addition, the same code | symbol is attached | subjected to the structure which carries out the same operation | movement as 1st and 2nd embodiment, and the description is abbreviate | omitted.

図5は、第3の実施の形態における計算機ネットワークシステムの構成を示したブロック図である。   FIG. 5 is a block diagram illustrating a configuration of a computer network system according to the third embodiment.

計算機206は、ネットワーク接続906を通じてネットワーク101に接続されている。この計算機206には、ポリシーサーバ502及びポリシーデータベース602が備えられている。ポリシーサーバ502は、ポリシーサーバ501と同様にサーバのポリシー問い合わせに応答する機能を持つサーバであり、ポリシーデータベース602はポリシーデータベース601と同様に、クライアントのポリシー情報や他のポリシー情報を蓄積するデータベースである。   The computer 206 is connected to the network 101 through a network connection 906. The computer 206 includes a policy server 502 and a policy database 602. Similar to the policy server 501, the policy server 502 is a server having a function of responding to a server policy inquiry. The policy database 602 is a database that stores client policy information and other policy information, similar to the policy database 601. is there.

次に、第3の実施の形態の計算機ネットワークシステムについて、サービスがXMLベースのWebサービスとして構成された場合の動作を説明する。   Next, the operation when the service is configured as an XML-based Web service in the computer network system according to the third embodiment will be described.

図6は、第3の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理を説明する図である。   FIG. 6 is a diagram for explaining processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the third embodiment.

図6において、サーバ401、ポリシーサーバ501及び502はWebサービスとして構成され、サービスを提供することができるようにシステムが実現されている。   In FIG. 6, a server 401 and policy servers 501 and 502 are configured as Web services, and the system is realized so that the services can be provided.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501に送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Next, the server 401 that has received the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   The policy server 501 transmits to the client 301 an inquiry message 1005 that inquires whether or not the policy information can be disclosed to the server 401, and receives a result message 1006 that is a response to the inquiry.

クライアント301では、問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであれば、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されていたポリシー情報の問い合わせ結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives the inquiry message 1005 and confirms whether the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry allows the policy to be disclosed, or if the policy information does not have an attribute for limiting the disclosure, the policy server 501 is requested by the service execution request message 1001. A result message 1007 which is the inquiry result of the policy information that has been sent is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を、結果メッセージ1007として取得すると、取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。   Next, when the server 401 acquires the policy information requested by the inquiry message 1002 as a result message 1007, a hierarchical structure of services by lower servers is configured based on the acquired policy information.

ここで、ポリシー情報の問い合わせ結果が、ポリシーサーバ502への問い合わせを指示している場合を考える。具体的には、ポリシーデータベース601に図7に示す内容が蓄積されている場合である。図7では、「応答時間」というポリシー項目は「1秒以内」というポリシー条件がポリシーデータベース601に保存(蓄積)されているが、「信頼性規格B」というポリシー項目に対しては、「ポリシーサーバ502のサービス記述(WSDL記述)」が保存されている。これは、このポリシー項目に対しては、ポリシーサーバ502へのポインタとして記述されており、ポリシーサーバ502にポリシー条件を問い合わせる必要があることを意味している。   Here, a case is considered where the policy information inquiry result indicates an inquiry to the policy server 502. More specifically, the policy database 601 stores the contents shown in FIG. In FIG. 7, the policy condition “response time” is stored (accumulated) in the policy database 601 with the policy condition “within 1 second”. However, for the policy item “reliability standard B”, “policy The server 502 service description (WSDL description) "is stored. This means that this policy item is described as a pointer to the policy server 502 and it is necessary to inquire the policy server 502 about the policy condition.

なお、「デフォルトのポリシー項目」というポリシー項目をポリシーデータベースに含めることも可能である。これは、サーバが問い合わせを行ったポリシーデータベースに、該当するポリシーが蓄積されていなかった場合に、「デフォルトのポリシー項目」で指定されたポリシーサーバに対して問い合わせる必要があることを、応答メッセージとして返信することを意味する。   A policy item “default policy item” can also be included in the policy database. This is a response message indicating that it is necessary to make an inquiry to the policy server specified in "Default Policy Item" when the corresponding policy has not been accumulated in the policy database that the server has inquired about. Means to reply.

ここで、サーバ401が、ポリシー問い合わせメッセージ1002によって、ポリシー項目「信頼性規格B」を要求している場合には、ポリシーサーバ501は、ポリシーデータベース601の内容(図7)から、ポリシーサーバ502のサービス記述を、ポリシーの問い合わせに対する結果メッセージ1007として送信する。サーバ401は、この問い合わせ結果メッセージ1007を受け取ると、ポリシー情報を問い合わせる問い合わせメッセージ1015を、ポリシーサーバ502に対して送信する。   Here, when the server 401 requests the policy item “reliability standard B” by the policy inquiry message 1002, the policy server 501 determines the policy server 502 from the contents of the policy database 601 (FIG. 7). The service description is transmitted as a result message 1007 for the policy inquiry. Upon receiving this inquiry result message 1007, the server 401 transmits an inquiry message 1015 for inquiring policy information to the policy server 502.

問い合わせメッセージ1015を受け取ったポリシーサーバ502は、該当するポリシー情報を検索するため、ポリシーデータベース602に対して検索要求メッセージ1016を送信する。検索要求メッセージ1016を受け取ったポリシーデータベース602は、該当するポリシーを検索し、その検索結果である検索結果メッセージ1017をポリシーサーバ502に対して送信する。検索結果メッセージ1017を受け取ったポリシーサーバ502は、サーバ401に対してポリシー情報の問い合わせ結果である結果メッセージ1018を送信する。   The policy server 502 that has received the inquiry message 1015 transmits a search request message 1016 to the policy database 602 in order to search for the corresponding policy information. The policy database 602 that has received the search request message 1016 searches for the corresponding policy, and transmits a search result message 1017 that is the search result to the policy server 502. The policy server 502 that has received the search result message 1017 transmits a result message 1018 that is a result of querying policy information to the server 401.

最後に、サーバ401は、取得したポリシー情報に基づいてサービスを構成する。この構成の手順は前述した第1の実施の形態と同様である。そして、サービスの実行結果を実行結果メッセージ1012としてクライアント301に送信する。   Finally, the server 401 configures a service based on the acquired policy information. The procedure of this configuration is the same as that of the first embodiment described above. The service execution result is transmitted to the client 301 as an execution result message 1012.

以上のように構成された第3の実施の形態の計算機ネットワークシステムでは、第1及び第2の実施の形態の効果に加え、ポリシーデータベースに蓄積されているポリシー情報に、他のポリシーサーバ位置情報(ポインタ)を含めることで、クライアントのポリシーに第三者のポリシーを含めることが可能となり、例えば、クラアイアントの属する組織のポリシーなどをサービスの実行への反映が可能となる。   In the computer network system of the third embodiment configured as described above, in addition to the effects of the first and second embodiments, other policy server location information is added to the policy information stored in the policy database. By including (pointer), it is possible to include a third-party policy in the client policy. For example, the policy of the organization to which the client belongs can be reflected in the execution of the service.

次に、本発明の第4の実施の形態について説明する。   Next, a fourth embodiment of the present invention will be described.

第4の実施の形態では、サーバを運営しているサービスプロバイダが独自のポリシーデータベースを持ち、クライアントのポリシーに独自のポリシー情報を加えて、サービスを構成する。なお、第1乃至第3の実施の形態と同一の動作をする構成には同一の符号を付し、その説明は省略する。   In the fourth embodiment, a service provider that operates a server has a unique policy database, and configures a service by adding unique policy information to a client policy. In addition, the same code | symbol is attached | subjected to the structure which carries out the same operation | movement as 1st thru | or 3rd Embodiment, and the description is abbreviate | omitted.

図8は、第4の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理を説明する図である。   FIG. 8 is a diagram illustrating processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the fourth embodiment.

図8において、サーバ401及び402、ポリシーサーバ501及び502はWebサービスとして構成され、サービスを提供できるようにシステムが実現されている。   In FIG. 8, servers 401 and 402 and policy servers 501 and 502 are configured as Web services, and the system is implemented so as to provide services.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501に送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Next, the server 401 that has received the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   The policy server 501 transmits to the client 301 an inquiry message 1005 that inquires whether or not the policy information can be disclosed to the server 401, and receives a result message 1006 that is a response to the inquiry.

クライアント301では、問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであった場合、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されていたポリシー情報の問い合わせ結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives the inquiry message 1005 and confirms whether the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry permits the disclosure of the policy, or if the policy information is not attached with an attribute that restricts the disclosure, the policy server 501 requests the service execution request message 1001. A result message 1007 that is the inquiry result of the policy information that has been sent is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を結果メッセージ1007として受け取ると、受け取ったポリシー情報に基づいてサーバのサービスの階層構造を構成する。   Next, when the server 401 receives the policy information requested by the inquiry message 1002 as a result message 1007, the server 401 forms a hierarchical structure of the server service based on the received policy information.

ここで、サーバ401が提供するサービスのポリシー(サーバ401を運営しているサービスプロバイダのポリシー)をサービスの構成に反映させるために、サーバ401の独自のポリシーサーバ502に対して、要求メッセージ1019を送信する。ポリシーサーバ502はこの要求メッセージを受け取ると、ポリシーサーバ501へのポインタを、ポリシーデータベース602に送信し、ポリシーデータベース602に、デフォルトのポリシー項目としてポリシーサーバ501のサービス記述(ポインタ)を追加する。このときのポリシーデータベース602の内容の一例を図9に示す。   Here, in order to reflect the policy of the service provided by the server 401 (the policy of the service provider operating the server 401) in the service configuration, a request message 1019 is sent to the unique policy server 502 of the server 401. Send. Upon receiving this request message, the policy server 502 transmits a pointer to the policy server 501 to the policy database 602, and adds a service description (pointer) of the policy server 501 as a default policy item to the policy database 602. An example of the contents of the policy database 602 at this time is shown in FIG.

図9に示すように、ポリシーデータベースの各項目に対して優先順位を示す項目を設ける。そして、クライアント301の設定したポリシー(ポリシーサーバ501によるポリシー)の優先度を、サーバ401の提供するサービスのポリシー(ポリシーサーバ502のポリシー)の優先度よりも高く設定している。よって、クライアント301の設定したポリシーは、サーバ401が提供するサービスのポリシーより優先的に適用される。   As shown in FIG. 9, an item indicating the priority order is provided for each item in the policy database. The priority of the policy set by the client 301 (policy by the policy server 501) is set higher than the priority of the policy of the service provided by the server 401 (policy of the policy server 502). Therefore, the policy set by the client 301 is applied with priority over the policy of the service provided by the server 401.

次に、サーバ401は、結果メッセージ1007によって取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。そして、下層サービスを提供するサーバ402にサービスの実行要求メッセージ1010を送信する。この際に、実行要求メッセージ1010と共にパラメータとしてポリシーサーバ502のサービス記述(又はそのURL)を送信する。このサービス実行要求メッセージ1010を受け取ったサーバ402は、まず、ポリシーサーバ502に対してポリシー情報を問い合わせる問い合わせメッセージ1020を送信する。   Next, the server 401 configures a hierarchical structure of services by lower servers based on the policy information acquired by the result message 1007. Then, a service execution request message 1010 is transmitted to the server 402 that provides the lower layer service. At this time, the service description (or its URL) of the policy server 502 is transmitted as a parameter together with the execution request message 1010. The server 402 that has received this service execution request message 1010 first transmits an inquiry message 1020 for inquiring policy information to the policy server 502.

この問い合わせメッセージ1020を受け取ったポリシーサーバ502は、該当するポリシー情報を検索するため、ポリシーデータベース602に対して、検索要求メッセージ1021を送信する。検索要求メッセージ1021を受け取ったポリシーデータベース602は、該当するポリシーを検索し、その検索結果である検索結果メッセージ1023をポリシーサーバ502に対して送信する。検索結果メッセージ1017を取得したポリシーサーバ502は、ポリシー情報の問い合わせ結果である結果メッセージ1024を、サーバ402に対して送信する。   The policy server 502 that has received the inquiry message 1020 transmits a search request message 1021 to the policy database 602 in order to search for the corresponding policy information. The policy database 602 that has received the search request message 1021 searches for the corresponding policy, and transmits a search result message 1023 that is the search result to the policy server 502. The policy server 502 that has acquired the search result message 1017 transmits a result message 1024 that is a policy information inquiry result to the server 402.

サーバ402は、取得した結果メッセージ1024から、図9のような優先順位付きのポリシー情報を得る。そして、結果メッセージ1024にポリシーサーバ501へのポインタが含まれるので、サーバ402は、ポリシーサーバ501に対しても、ポリシー情報を問い合わせる問い合わせメッセージ1025を送信し、結果メッセージ1026を受け取る。そして、ポリシーサーバ502から得たポリシー情報の優先度を考慮して、ポリシーサーバ501及び502から得たポリシー情報から、ポリシーサーバ501を優先したポリシー項目に対応する最終的なポリシー条件を決定する。   The server 402 obtains policy information with priorities as shown in FIG. 9 from the acquired result message 1024. Since the result message 1024 includes a pointer to the policy server 501, the server 402 also transmits an inquiry message 1025 for inquiring policy information to the policy server 501 and receives the result message 1026. Then, considering the priority of the policy information obtained from the policy server 502, the final policy condition corresponding to the policy item giving priority to the policy server 501 is determined from the policy information obtained from the policy servers 501 and 502.

このポリシー情報を用いて、サーバ402はさらに下層のサービスを階層的に構成する。そして、サーバ401は、下位サーバ402によるサービスの実行結果(実行結果メッセージ1011)と共に、サーバ全体(401、402)のサービスの実行結果であるサービス実行結果メッセージ1012をクライアント301に対して送信する。   Using this policy information, the server 402 hierarchically configures lower layer services. Then, the server 401 transmits a service execution result message 1012 that is a service execution result of the entire server (401, 402) to the client 301 together with a service execution result (execution result message 1011) by the lower server 402.

なお、図8ではサーバ402の一階層のみの例を図示しているが、サーバ402等の下位サーバによる下層のサービスにおいても独自のポリシーサーバ及びポリシーデータベースを設置して、そのサービスを提供しているサービスプロバイダのポリシーを反映してサービスを構成し、サービスを実行することもできる。   Although FIG. 8 illustrates an example of only one layer of the server 402, even in a lower-layer service by a lower server such as the server 402, an original policy server and a policy database are installed to provide the service. The service can be configured to reflect the service provider's policy, and the service can be executed.

以上のように構成された第4の実施の形態の計算機ネットワークシステムでは、第1から第3の実施の形態の効果に加え、サービスプロバイダが独自のポリシーデータベース602を備え、サービス構成時に下位サーバ402に対してサービスプロバイダのポリシーサーバ502の位置情報と共にサービス要求を行うので、サービスプロバイダのポリシー情報をクライアント301のポリシー情報(ポリシーデータベース601)に加えてサービスの構成に反映させることが可能になる。   In the computer network system of the fourth embodiment configured as described above, in addition to the effects of the first to third embodiments, the service provider has its own policy database 602, and when the service is configured, the lower server 402 Since the service request is made together with the location information of the service provider policy server 502, the service provider policy information can be reflected in the service configuration in addition to the policy information (policy database 601) of the client 301.

次に、本発明の第5の実施の形態について説明する。   Next, a fifth embodiment of the present invention will be described.

第5の実施の形態では、第三者の認証機関であるポリシー適合性判定サーバ801によって、ポリシーが正当なものであるかを判断する。なお、第1乃至第4の実施の形態と同一の動作をする構成には同一の符号を付し、その説明は省略する。   In the fifth embodiment, a policy conformity determination server 801 that is a third-party certification organization determines whether a policy is valid. In addition, the same code | symbol is attached | subjected to the structure which carries out the same operation | movement as the 1st thru | or 4th embodiment, and the description is abbreviate | omitted.

図10は、第5の実施の形態における計算機ネットワークシステムの構成を示したブロック図である。   FIG. 10 is a block diagram showing a configuration of a computer network system according to the fifth embodiment.

計算機207は、ネットワーク接続907を通じてネットワーク101に接続されている。この計算機207には、ポリシー適合性判定サーバ801が備えられている。このポリシー適合性判定サーバ801は、クライアントのポリシーとサーバの提供するサービスとが適合しているか否かを判断する機能を持つサーバである。   The computer 207 is connected to the network 101 through the network connection 907. This computer 207 is provided with a policy conformity determination server 801. The policy conformity determination server 801 is a server having a function of determining whether or not a client policy and a service provided by the server are compatible.

次に、第5の実施の形態の計算機ネットワークシステムについて、サービスがXMLベースのWebサービスとして構成された場合の動作を説明する。   Next, the operation when the service is configured as an XML-based Web service in the computer network system according to the fifth embodiment will be described.

図11は、第5の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理を説明する図である。   FIG. 11 is a diagram illustrating processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the fifth embodiment.

図11において、サーバ401、レジストリ701、ポリシーサーバ501、502、ポリシー適合性判定サーバ801はWebサービスとして構成され、サービスを提供することができるようにシステムが実現されている。   In FIG. 11, the server 401, the registry 701, the policy servers 501, 502, and the policy conformity determination server 801 are configured as Web services, and the system is realized so that the services can be provided.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Next, the server 401 receiving the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information, to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   The policy server 501 transmits to the client 301 an inquiry message 1005 that inquires whether or not the policy information can be disclosed to the server 401, and receives a result message 1006 that is a response to the inquiry.

クライアント301では、問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであれば、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されていたポリシー情報の問い合わせ結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives the inquiry message 1005 and confirms whether the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry allows the policy to be disclosed, or if the policy information does not have an attribute for limiting the disclosure, the policy server 501 is requested by the service execution request message 1001. A result message 1007 which is the inquiry result of the policy information that has been sent is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を、結果メッセージ1007として取得すると、取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。   Next, when the server 401 acquires the policy information requested by the inquiry message 1002 as a result message 1007, a hierarchical structure of services by lower servers is configured based on the acquired policy information.

ここで、サーバ401は、サービスの依存する下層サービス候補(サービスを提供するサーバの情報)を得るため、レジストリ701に対して検索要求メッセージ1008を送信する。レジストリ701は、検索要求メッセージ1008を受け取ると、その要求に対する検索結果(サービスを実行可能な下位サーバの候補を示す情報)である検索結果メッセージ1009を、サーバ401に対して送信する。   Here, the server 401 transmits a search request message 1008 to the registry 701 in order to obtain a lower layer service candidate (information on a server that provides the service) on which the service depends. When the registry 701 receives the search request message 1008, the registry 701 transmits a search result message 1009, which is a search result (information indicating a candidate of a subordinate server capable of executing the service), to the server 401.

サーバ401は、取得したクライアントのポリシー情報と、下層サービス候補の各々のサービスのポリシー情報に対応する属性とが適合するかを、適合性サーバ801を用いて判定する。まず、サービス候補の各々のサービスの属性情報を取得する。そして、ポリシー適合性判定要求メッセージ1027を、ポリシー適合性判定サーバ801に対して送信して、各サービスについてクライアントのポリシーに適合するかを判定する。ポリシー適合性判定サーバ801は、ポリシー適合性判定要求メッセージ1027に対する判定結果である判定結果メッセージ1028をサーバ401に対して送信する。   The server 401 uses the compatibility server 801 to determine whether the acquired policy information of the client and the attribute corresponding to the policy information of each service of the lower layer service candidate are compatible. First, the attribute information of each service candidate service is acquired. Then, a policy conformity determination request message 1027 is transmitted to the policy conformity determination server 801 to determine whether each service conforms to the client policy. The policy conformity determination server 801 transmits a determination result message 1028 that is a determination result for the policy conformity determination request message 1027 to the server 401.

その結果、サーバ401はクライアントのポリシー情報に適合しているサービスを提供するサーバのみを利用してサービス階層を構成し、構成したサービス階層によって実行したサービスの結果を、結果メッセージ1012としてクライアント301に送信する。   As a result, the server 401 uses only the server that provides the service that conforms to the policy information of the client to configure the service hierarchy, and the result of the service executed by the configured service hierarchy is sent to the client 301 as a result message 1012. Send.

以上のように構成された第5の実施の形態の計算機ネットワークシステムでは、第三者の機関であるサービス認証性適合サーバによって、クライアントのポリシーが要求するサービスとサーバの提供するサービスとが適合しているかを判定することができる。よって、例えば、サービス品質等の規格に適合していることをサービスの属性として要求するポリシーがあったときに、当該規格を認証している機関が運営するポリシー適合性判定サーバによって、その属性の正当性を確認することができる。   In the computer network system according to the fifth embodiment configured as described above, the service required by the client policy and the service provided by the server are matched by the service authenticity matching server which is a third party organization. Can be determined. Thus, for example, when there is a policy that requires that the service conforms to a standard such as service quality as an attribute of the service, the policy conformity determination server operated by the organization that has certified the standard Validity can be confirmed.

次に、本発明の第6の実施の形態について説明する。   Next, a sixth embodiment of the present invention will be described.

第6の実施の形態では、クライアントのポリシー情報の問い合わせ結果やサービスの構成結果を、トップレベルのサーバにキャッシュとして保存しておき、再び同一の要求があったときに該キャッシュを参照して、サービスの提供を行うサーバを構成するようにした。なお、第1乃至第5の実施の形態と同一の動作をする構成には同一の符号を付し、その説明は省略する。   In the sixth embodiment, the inquiry result of the client policy information and the service configuration result are stored as a cache in the top-level server, and when the same request is made again, the cache is referred to. Configured a server to provide services. In addition, the same code | symbol is attached | subjected to the structure which carries out the same operation | movement as 1st thru | or 5th Embodiment, and the description is abbreviate | omitted.

第6の実施の形態の計算機ネットワークシステムにおける、クライアントのポリシーを反映したサービスを階層的に構成して実行される処理について、図2を参照して説明する。   Processing executed by hierarchically configuring services reflecting client policies in the computer network system according to the sixth embodiment will be described with reference to FIG.

まず、クライアント301は、サーバ401に対して、クライアントの所望するサービスの実行要求である実行要求メッセージ1001を送信する。次に、サービスの実行要求メッセージ1001を受けたサーバ401は、必要とするポリシー情報を問い合わせる問い合わせメッセージ1002を、ポリシーサーバ501に送信する。この問い合わせメッセージ1002を受け取ったポリシーサーバ501は、該当するポリシー情報を検索するため、ポリシーデータベース601に対して検索要求メッセージ1003を送信する。検索要求メッセージ1003を受け取ったポリシーデータベース601は、該当するポリシーを検索し、その検索結果である応答結果メッセージ1004をポリシーサーバ501に対して送信する。   First, the client 301 transmits an execution request message 1001 that is an execution request of a service desired by the client to the server 401. Next, the server 401 that has received the service execution request message 1001 transmits an inquiry message 1002 for inquiring about necessary policy information to the policy server 501. The policy server 501 that has received the inquiry message 1002 transmits a search request message 1003 to the policy database 601 in order to search for relevant policy information. The policy database 601 that has received the search request message 1003 searches for the corresponding policy, and transmits a response result message 1004 that is the search result to the policy server 501.

ポリシーサーバ501は、クライアント301に対して、そのポリシー情報をサーバ401に対して公開してよいかどうかを問い合わせる問い合わせメッセージ1005を送信し、その問い合わせに対する返答である結果メッセージ1006を受け取る。   The policy server 501 transmits to the client 301 an inquiry message 1005 that inquires whether or not the policy information can be disclosed to the server 401, and receives a result message 1006 that is a response to the inquiry.

クライアント301では、問い合わせメッセージ1005を受けて、ユーザに対して直接問い合わせるなどの手法によって、ポリシー情報の公開の可否を確認する。例えば、この問い合わせに対する結果メッセージ1006がポリシーの公開を許容するものであれば、又は、ポリシー情報に公開を限定する属性が付されていなければ、ポリシーサーバ501は、サービス実行要求メッセージ1001によって要求されていたポリシー情報の問い合わせ結果である結果メッセージ1007を、サーバ401に対して送信する。ただし、ポリシー情報の公開をクライアント301が許容しなければ、その時点でサービスの実行は中止される。   The client 301 receives the inquiry message 1005 and confirms whether the policy information can be disclosed by a method of directly inquiring the user. For example, if the result message 1006 for this inquiry allows the policy to be disclosed, or if the policy information does not have an attribute for limiting the disclosure, the policy server 501 is requested by the service execution request message 1001. A result message 1007 which is the inquiry result of the policy information that has been sent is transmitted to the server 401. However, if the client 301 does not allow the policy information to be disclosed, the execution of the service is stopped at that time.

次に、サーバ401が、問い合わせメッセージ1002によって要求したポリシー情報を、結果メッセージ1007として取得すると、取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。   Next, when the server 401 acquires the policy information requested by the inquiry message 1002 as a result message 1007, a hierarchical structure of services by lower servers is configured based on the acquired policy information.

ここで、サーバ401は、その問い合わせ結果(ポリシー情報)に対して予め設定した有効期間が終了するまでの間はキャッシュメモリに保存(キャッシング)しておく。そして、ポリシー情報の有効期間の間に、同一のクライアント301からの同一のサービス要求があった場合は、再度ポリシーサーバ501への問い合わせることなく、メモリに保存しておいたポリシー情報を用いて、サービスを構成し、サービスの実行結果であるサービス実行結果メッセージ1012を、クライアント301に対して送信する。   Here, the server 401 stores (caches) it in the cache memory until the validity period preset for the inquiry result (policy information) ends. If there is the same service request from the same client 301 during the effective period of the policy information, the policy information stored in the memory is used without making an inquiry to the policy server 501 again. The service is configured, and a service execution result message 1012 that is a service execution result is transmitted to the client 301.

また、他の方法として、ポリシーデータベースの各項目に同様の有効期間を予め設定しておく。前述したように、サーバ401は、クライアント301のサービス実行要求メッセージ1001を受けて、サーバ401はポリシーサーバ501に対して、ポリシー情報の問い合わせメッセージ1002を送信し、その問い合わせ結果である結果メッセージ1007を取得する。   As another method, a similar effective period is set in advance for each item in the policy database. As described above, the server 401 receives the service execution request message 1001 of the client 301, the server 401 transmits a policy information inquiry message 1002 to the policy server 501, and receives a result message 1007 as the inquiry result. get.

ここで、サーバ401は取得したポリシー情報に基づいて下位のサーバによるサービスの階層構造を構成する。この際に、そのサービスの構成情報をサーバ401に備えられたメモリ等に保存(キャッシング)しておく。そして、ポリシー情報の有効期間の間に、同一のクライアント301からのサービス要求があった場合には、再度サービス階層を構成することなく、保存しておいたサービス構成を用いてサービスを実行する。   Here, the server 401 configures a hierarchical structure of services by lower servers based on the acquired policy information. At this time, the service configuration information is stored (cached) in a memory or the like provided in the server 401. If there is a service request from the same client 301 during the effective period of the policy information, the service is executed using the stored service configuration without configuring the service hierarchy again.

以上のように構成された本発明の第6の実施の形態の計算機ネットワークシステムでは、クライアントのポリシー情報の問い合わせ結果やサービスの構成結果をキャッシュとして一定期間保存しておき、再び同一の要求があったときに該キャッシュを参照して、下位のサーバによるサービスの階層構造を構成して、サービスを提供する。この最適化処理によって本発明によるポリシーを適用したサービスの実行に要する時間を削減することができ、サービスのコストを低減できる。   In the computer network system according to the sixth embodiment of the present invention configured as described above, the client policy information inquiry result and the service configuration result are stored as a cache for a certain period, and the same request is received again. The service is provided by referring to the cache and constructing a hierarchical structure of services by lower servers. This optimization process can reduce the time required to execute the service to which the policy according to the present invention is applied, thereby reducing the service cost.

本発明は、具体的には、以下に説明するサービスに適用することができる。   Specifically, the present invention can be applied to the services described below.

(a)株式売買等で、ポートフォリオを作成するサービスを利用する場合に、銘柄に関するポリシーを予めポリシーデータベースに入力しておく。該ポリシーを適用してポートフォリオ作成サービスを呼び出すと、様々な信託会社や証券会社のサービスから、ポリシーに適合するサービスを選択して実行することで、ポリシーに適合したポートフォリオを作成することができる。   (A) When using a service for creating a portfolio in stock trading or the like, a policy relating to a brand is input in the policy database in advance. When the portfolio creation service is called by applying the policy, a portfolio that conforms to the policy can be created by selecting and executing a service that conforms to the policy from the services of various trust companies and securities companies.

(b)ネットワーク分散した計算サービスを利用する際に、予め計算を依頼するサービスに関するポリシー(計算の信頼度、計算の終了時間)を入力しておく。該ポリシーを適用して計算サービスを呼び出すと、ポリシーに適合するサービスだけを利用して計算が行われる。   (B) When using a calculation service distributed over a network, a policy (calculation reliability, calculation end time) relating to a service for which calculation is requested is input in advance. When the calculation service is called by applying the policy, the calculation is performed using only the service conforming to the policy.

(c)製品の部品調達サービスを利用するときに、予め部品メーカーや部品販売店に関するポリシーを入力しておく。該ポリシーを適用して部品調達サービスを利用するときに、ポリシーにマッチする部品調達が行われる。部品を構成する部品についても階層的にサービスが構成されていれば、全ての部品についてポリシーを反映させることが可能となる。   (C) When using a parts procurement service for a product, a policy regarding a parts manufacturer or a parts store is input in advance. When using the parts procurement service by applying the policy, parts procurement that matches the policy is performed. If services are configured hierarchically for the components constituting the components, the policy can be reflected for all the components.

(d)人材バンクから人材確保サービスを利用するときに、予め人材に関するポリシーを入力しておくと、該ポリシーを適用して人材確保サービスを利用すると、該ポリシーに適合した所望の人材が確保できる。   (D) When a human resource policy is input in advance from the human resource bank, if a human resource policy is input in advance, using the human resource service by applying the policy can secure a desired human resource that conforms to the policy. .

(e)会社組織に属する社員がサービスを利用するときに、予め社員のポリシーデータベースに組織が反映するようにしておく。該ポリシーを適用してサービスを利用すると、社員によるサービスの実行が組織のポリシーに違反することがないようにすることができる。   (E) When an employee belonging to a company organization uses a service, the organization reflects in advance in the employee's policy database. When the service is used by applying the policy, the execution of the service by the employee can be prevented from violating the policy of the organization.

本発明の第1の実施の形態の計算機ネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the computer network system of the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるサービスの実行処理の説明図である。It is explanatory drawing of the execution process of the service in the 1st Embodiment of this invention. 本発明の第1の実施の形態のポリシーデータベースに蓄積されているポリシー情報の説明図である。It is explanatory drawing of the policy information accumulate | stored in the policy database of the 1st Embodiment of this invention. 本発明の第2の実施の形態におけるサービスの実行処理の説明図である。It is explanatory drawing of the execution process of the service in the 2nd Embodiment of this invention. 本発明の第3の実施の形態の計算機ネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the computer network system of the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるサービスの実行処理の説明図である。It is explanatory drawing of the execution process of the service in the 3rd Embodiment of this invention. 本発明の第3の実施の形態のポリシーデータベースに蓄積されているポリシー情報の説明図ある。It is explanatory drawing of the policy information accumulate | stored in the policy database of the 3rd Embodiment of this invention. 本発明の第4の実施の形態におけるサービスの実行処理の説明図である。It is explanatory drawing of the execution process of the service in the 4th Embodiment of this invention. 本発明の第4の実施の形態におけるポリシーデータベースに蓄積されているポリシー情報の説明図である。It is explanatory drawing of the policy information accumulate | stored in the policy database in the 4th Embodiment of this invention. 本発明の第5の実施の形態の計算機ネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the computer network system of the 5th Embodiment of this invention. 本発明の第5の実施の形態におけるサービスの実行処理の説明図である。It is explanatory drawing of the execution process of the service in the 5th Embodiment of this invention.

符号の説明Explanation of symbols

101 ネットワーク
201〜207 計算機
301 クライアント
401、402 サーバ
501、502 ポリシーサーバ
601、602 ポリシーデータベース
701 レジストリ
801 ポリシー適合性判定サーバ
901〜907 ネットワーク接続
DESCRIPTION OF SYMBOLS 101 Network 201-207 Computer 301 Client 401, 402 Server 501, 502 Policy server 601, 602 Policy database 701 Registry 801 Policy conformity determination server 901-907 Network connection

Claims (12)

サービスを要求するクライアント及び前記クライアントが要求するサービスに対するポリシー情報が蓄積されるポリシーデータベースに接続され、階層的に構成されるサービスを提供するサーバにおけるサービスの提供方法であって、
前記クライアントからサービスの要求を受け取ると、前記要求に対応するポリシー情報を前記ポリシーデータベースから取得する第1のステップと、
前記ポリシー情報に基づいて、前記サービスを実行するサーバを選択して、階層的なサービスを構成する第2のステップと、
前記選択されたサーバによるサービスの実行結果をクライアントに送信する第3のステップと、を実行することを特徴とするサービスの提供方法。
A service providing method in a server that provides a hierarchically configured service connected to a policy database in which policy information for a service requested by the client and the service requested by the client is accumulated,
Receiving a service request from the client, obtaining a policy information corresponding to the request from the policy database;
A second step of configuring a hierarchical service by selecting a server that executes the service based on the policy information;
And a third step of transmitting the execution result of the service by the selected server to the client.
前記ポリシー情報を取得する第1のステップは、前記クライアントが許可するポリシー情報のみを取得することを特徴とする請求項1に記載のサービスの提供方法。   2. The service providing method according to claim 1, wherein the first step of acquiring the policy information acquires only policy information permitted by the client. 前記ポリシーデータベースには、前記蓄積されたポリシー情報を管理するポリシーサーバが接続されており、
前記ポリシー情報を取得する第1のステップは、
前記ポリシーサーバに対してポリシー情報を要求するステップと、
前記ポリシーサーバが前記ポリシーデータベースを検索した結果であるポリシー情報を取得するステップと、を含むことを特徴とする請求項1又は2に記載のサービスの提供方法。
A policy server for managing the accumulated policy information is connected to the policy database,
The first step of obtaining the policy information is:
Requesting policy information from the policy server;
The service providing method according to claim 1, further comprising: obtaining policy information that is a result of the policy server searching the policy database.
前記ポリシーデータベースには、前記ポリシー情報として、ポリシーの内容と、これに対応するポリシー条件とが蓄積されることを特徴とする請求項1から3のいずれか一つに記載のサービス提供方法。   4. The service providing method according to claim 1, wherein the policy database stores policy contents and corresponding policy conditions as the policy information. 前記ポリシーデータベースは第1のポリシーデータベース及び第2のポリシーデータベースを含み、
前記第1のポリシーデータベースには、前記蓄積されたポリシー情報を管理する第1のポリシーサーバが接続され、
前記第2のポリシーデータベースには、前記蓄積されたポリシー情報を管理する第2のポリシーサーバが接続され、
前記第1のポリシーデータベースには、前記第2のポリシーサーバの場所を示す情報が蓄積されており、
前記ポリシー情報を取得する第1のステップは、
前記第1のポリシーサーバに対してポリシー情報を要求するステップと、
前記第1のポリシーサーバが前記第1のポリシーデータベースを検索した前記検索結果であるポリシー情報及び/又は第2のポリシーサーバの場所を示す情報を取得するステップと、
前記第2のポリシーサーバの場所を示す情報を取得した場合には、前記第2のポリシーサーバに対してポリシー情報を要求するステップと、
前記第2のポリシーサーバが前記第2のポリシーデータベースを検索した結果であるポリシー情報を取得するステップと、を含むことを特徴とする請求項1又は2に記載のサービスの提供方法。
The policy database includes a first policy database and a second policy database;
A first policy server that manages the accumulated policy information is connected to the first policy database,
A second policy server for managing the accumulated policy information is connected to the second policy database,
In the first policy database, information indicating the location of the second policy server is accumulated,
The first step of obtaining the policy information is:
Requesting policy information from the first policy server;
Obtaining policy information that is the search result of the first policy server searching the first policy database and / or information indicating a location of the second policy server;
When obtaining information indicating the location of the second policy server, requesting policy information from the second policy server;
The service providing method according to claim 1, further comprising: obtaining policy information that is a result of searching the second policy database by the second policy server.
前記第2のポリシーデータベースには、前記選択されたサーバのうち下位のサーバが提供するサービスに基づいたポリシー情報が保持されており、
前記サービスを構成する下位のサーバに対して、前記第2のポリシーサーバの場所を示す情報が通知されることを特徴とする請求項5に記載のサービスの提供方法。
In the second policy database, policy information based on services provided by lower servers among the selected servers is held,
The service providing method according to claim 5, wherein information indicating a location of the second policy server is notified to a lower-level server configuring the service.
前記サーバが取得したポリシー情報に対応して提供されるサービスが、該ポリシー情報に適合しているか否かを判定するポリシー適合性判定サーバを備え、
前記ポリシー適合性判定サーバは、
前記ポリシー条件と、これに対応するサービスの内容を取得するステップと、
前記サービスの内容が、前記ポリシー条件に適合するか否かを所定の基準によって判定するステップと、
前記判定結果を送信するステップと、を含むことを特徴とする、請求項1から6のいずれか一つに記載のサービス提供方法。
A policy conformity determination server for determining whether a service provided corresponding to the policy information acquired by the server conforms to the policy information;
The policy conformity determination server
Obtaining the policy condition and the content of the service corresponding thereto;
Determining whether the content of the service meets the policy condition according to a predetermined criterion;
The service providing method according to claim 1, further comprising: transmitting the determination result.
前記サーバは、前記第1のステップで取得したポリシー情報を保存し、前記保存したポリシー情報に関係するクライアントからのサービスの要求が所定の期間内になされた場合には、前記保存したポリシー情報に基づいて、前記サービスを実行するサーバを選択して、階層的なサービスを構成することを特徴とする請求項1から7のいずれか一つに記載のサービス提供方法。   The server stores the policy information acquired in the first step, and when a service request from a client related to the stored policy information is made within a predetermined period, the server stores the policy information in the stored policy information. The service providing method according to claim 1, wherein a hierarchical service is configured by selecting a server that executes the service based on the service. 前記サーバは、前記第2のステップにおいて構成した前記サービスの階層を保存し、前記保存したサービスの階層に関係するクライアントからのサービスの要求が所定の期間内になされた場合には、前記保存したサービスの階層に基づいてサービスを構成することを特徴とする請求項1から7のいずれか一つに記載のサービス提供方法。   The server stores the service hierarchy configured in the second step, and when a service request from a client related to the stored service hierarchy is made within a predetermined period, the server stores the service hierarchy. 8. The service providing method according to claim 1, wherein the service is configured based on a service hierarchy. 前記サーバは、下位のサーバに対して、サービスの実行要求と共にポリシー情報の問い合わせ先を通知し、
前記下位のサーバは、
通知された問い合わせ先にポリシー情報を問い合わせ、
前記問い合わせによって取得したポリシー情報に基づいて、前記サービスを実行するサーバを選択して、階層的なサービスを構成し、
前記問い合わせによって取得したポリシー情報に基づいて、サービスの階層を構成するために、さらに下層のサービスを提供するサーバに対して、前記ポリシー情報の問い合わせ先を通知し、
前記サーバは、前記選択されたサーバによるサービスの実行結果をクライアントに送信することを特徴とする請求項1から8のいずれか一つに記載のサービス提供方法。
The server notifies the lower server of the inquiry destination of the policy information together with the service execution request,
The subordinate server is
Contact the notified contact for policy information,
Based on the policy information acquired by the inquiry, select a server that executes the service, configure a hierarchical service,
Based on the policy information obtained by the inquiry, in order to configure a service hierarchy, the server that provides the lower-level service is notified of the inquiry destination of the policy information,
9. The service providing method according to claim 1, wherein the server transmits a result of executing the service by the selected server to the client.
サービスを要求するクライアントと、
前記クライアントが要求するサービスに対するポリシー情報が予め蓄積されるポリシーデータベースと、
前記クライアントから要求されたサービスを階層的に構成してサービスを選択するサーバと、よって構成されるサービス提供システムであって、
前記サーバは、
前記クライアントからサービスの要求を受け取ると、前記要求に対応するポリシー情報を前記ポリシーデータベースから取得する情報取得手段と、
前記ポリシー情報に基づいて、前記サービスを実行するサーバを選択して、階層的なサービスを構成するサービス構成手段と、
前記選択されたサーバによるサービスの実行結果をクライアントに送信する結果送信手段と、を備えることを特徴とするサービス提供システム。
A client requesting a service;
A policy database in which policy information for services requested by the client is stored in advance;
A service providing system configured by a server that hierarchically configures the services requested from the client and selects a service;
The server
Upon receiving a service request from the client, information acquisition means for acquiring policy information corresponding to the request from the policy database;
Service configuration means for selecting a server that executes the service based on the policy information and configuring a hierarchical service;
A service providing system comprising: result transmission means for transmitting a result of execution of a service by the selected server to a client.
前記情報取得手段は、前記クライアントが許可するポリシー情報のみを取得することを特徴とする請求項11に記載のサービス提供システム。   The service providing system according to claim 11, wherein the information acquisition unit acquires only policy information permitted by the client.
JP2003285235A 2003-08-01 2003-08-01 Service providing method and service providing system Pending JP2005056079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003285235A JP2005056079A (en) 2003-08-01 2003-08-01 Service providing method and service providing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003285235A JP2005056079A (en) 2003-08-01 2003-08-01 Service providing method and service providing system

Publications (1)

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

Family

ID=34364931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003285235A Pending JP2005056079A (en) 2003-08-01 2003-08-01 Service providing method and service providing system

Country Status (1)

Country Link
JP (1) JP2005056079A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007018122A (en) * 2005-07-06 2007-01-25 Hitachi Software Eng Co Ltd Web service customization system
JP2008123221A (en) * 2006-11-10 2008-05-29 Nippon Telegr & Teleph Corp <Ntt> Service cooperation device between networks, service cooperation method and service cooperation program
JP2008250952A (en) * 2007-03-30 2008-10-16 Nippon Telegr & Teleph Corp <Ntt> Service providing method, service providing apparatus and service providing program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007018122A (en) * 2005-07-06 2007-01-25 Hitachi Software Eng Co Ltd Web service customization system
JP4702835B2 (en) * 2005-07-06 2011-06-15 株式会社日立ソリューションズ Web service customization system
JP2008123221A (en) * 2006-11-10 2008-05-29 Nippon Telegr & Teleph Corp <Ntt> Service cooperation device between networks, service cooperation method and service cooperation program
JP4708311B2 (en) * 2006-11-10 2011-06-22 日本電信電話株式会社 Service cooperation device, service cooperation method, service cooperation program between networks
JP2008250952A (en) * 2007-03-30 2008-10-16 Nippon Telegr & Teleph Corp <Ntt> Service providing method, service providing apparatus and service providing program

Similar Documents

Publication Publication Date Title
Papazoglou et al. A survey of web service technologies
Michlmayr et al. Towards recovering the broken SOA triangle: a software engineering perspective
JP4594621B2 (en) Supplying aggregate services in a distributed computing environment
JP4303541B2 (en) Search method and search broker
US5944793A (en) Computerized resource name resolution mechanism
US6961735B2 (en) Method and a bridge for coupling a server and a client of different object types
KR100745480B1 (en) Method and System for Ranking Services in a Web Services Architecture
CN101065947B (en) Web service registry and method of operation
US20070011126A1 (en) Service-oriented architecture
US7475145B2 (en) Dynamic invocation of web services
US20030036917A1 (en) Service provision system and method
US20020143819A1 (en) Web service syndication system
US7304982B2 (en) Method and system for message routing based on privacy policies
US20060235976A1 (en) Method and apparatus for metadata driven web service mediation
US20090037514A1 (en) System And Method For Integration Of Streaming And Static Data
Sapkota et al. Distributed web service discovery architecture
JP2007109222A (en) Utilization of presence service system and method for distributed web service derivery and arrangement
Friese et al. Self-healing execution of business processes based on a peer-to-peer service architecture
JP4617309B2 (en) Web service contract selection system
JP2005056079A (en) Service providing method and service providing system
Choi et al. Design and implementation of Web Services-based NGOSS technology-specific architecture
Sunyaev et al. Web Services
Ismaili et al. Web services research challenges, limitations and opportunities
Mukhija et al. Dino: Dynamic and adaptive composition of autonomous services
Sinha et al. On the fly integration of applications using context aware approach