JP5224858B2 - Information processing apparatus, information processing method, and program - Google Patents
Information processing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP5224858B2 JP5224858B2 JP2008060073A JP2008060073A JP5224858B2 JP 5224858 B2 JP5224858 B2 JP 5224858B2 JP 2008060073 A JP2008060073 A JP 2008060073A JP 2008060073 A JP2008060073 A JP 2008060073A JP 5224858 B2 JP5224858 B2 JP 5224858B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- event
- task
- user
- component
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、情報処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing method, and a program.
現在、外部から入力されたイベントに応じて複数のWebサービスなどのプログラムコンポーネント(以下、コンポーネントとする)を連携させてサービスを提供するシステムがある。従来技術では、コンポーネント毎に個別に起動条件を設定することで複数のコンポーネントを自立的に連携させていた。もしくは、コンポーネントの連携手順を記述したタスクを用意し、イベントを用いてタスクの起動条件を記述していた。しかしながら、これらの従来技術では制御が複雑になる、という課題があった。 Currently, there is a system that provides services by linking a plurality of program components (hereinafter referred to as components) such as Web services according to an event input from the outside. In the prior art, a plurality of components are linked independently by setting activation conditions individually for each component. Alternatively, a task describing the component linkage procedure is prepared, and the task activation condition is described using an event. However, these conventional techniques have a problem that the control is complicated.
この課題を解決するために、特許文献1に記載された情報処理装置では、イベントと、起動すべきコンポーネントの情報であるアクションを対応付けている。この情報処理装置は、外部からイベントを受信すると、そのイベントに対応したアクションを検索し、検索したアクションに記述されているコンポーネントを連携させる。これにより、イベントの種別や特徴に応じたコンポーネントの連携を容易に行うことができる。また、容易に新たなイベントを生成することができる。
ところで、イベントに応じてコンポーネントを連携させるシステムでは、タスクやアクションの生成者、サービスの利用者、さらにはコンポーネントの提供者がそれぞれ異なる場合がある。例えば、ある時刻になるとユーザの興味のあるニュースがユーザに配信されるサービスでは、興味のあるニュースを取得するコンポーネントと、取得したニュースを配信するコンポーネントを組み合わせたタスクが考えられる。この場合、タスク生成者はこの組み合わせを用いてサービスを提供するサービス提供者である。また、コンポーネントの提供者はWeb関連の開発者である。また、サービス利用者は、このサービスを利用する不特定多数のユーザである。このため、タスクやコンポーネントを作成する時点においては、それぞれのコンポーネント実行に必要な入力情報が明確ではない。先の例では、興味のあるニュースを取得するコンポーネントは、興味を特定するためのキーワードが入力情報として必要になるが、これはサービス利用者の興味に依存するところであるため、コンポーネントやタスクの作成時に静的に決定することはできない。 By the way, in a system in which components are linked according to an event, a task or action creator, a service user, and a component provider may be different. For example, in a service in which news that the user is interested in is distributed to the user at a certain time, a task that combines a component that acquires the news of interest and a component that distributes the acquired news can be considered. In this case, the task generator is a service provider that provides a service using this combination. The component provider is a Web developer. Service users are an unspecified number of users who use this service. For this reason, at the time of creating a task or component, input information necessary for executing each component is not clear. In the previous example, the component that obtains the news of interest requires a keyword to identify the interest as input information, but this depends on the interest of the service user, so creating components and tasks Sometimes it cannot be determined statically.
しかしながら、特許文献1に記載された技術では、アクションまたはコンポーネントにあらかじめ設定された情報のみがコンポーネントの入力情報として利用可能であり、動的に変化する情報を取得することは困難である、という問題がある。
本発明は上記の点に鑑みてなされたものであり、その目的は、コンポーネント利用時に必要となる入力情報を動的に取得可能となり、多様なイベントやコンポーネントを用いたサービスが提供可能となる情報処理装置、情報処理方法及びプログラムを提供することにある。
However, in the technique described in Patent Document 1, only information set in advance for an action or a component can be used as component input information, and it is difficult to acquire dynamically changing information. There is.
The present invention has been made in view of the above points, and an object of the present invention is to be able to dynamically acquire input information necessary when using a component and to provide services using various events and components. A processing apparatus, an information processing method, and a program are provided.
本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、イベント情報を受信し、当該イベント情報に応じてコンポーネントを連携させる情報処理装置であって、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、イベント情報を受信するイベント取得部と、前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、前記情報種別取得部により取得された情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定する判定部と、前記判定部によりイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得する第2の取得部と、を備え、前記第1の取得部は、前記判定部により含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、前記タスク実行部は、前記第1の取得部または前記第2の取得部により取得された情報をコンポーネントに入力してタスクを実行することを特徴とする情報処理装置である。 SUMMARY An advantage of some aspects of the invention is that it is an information processing apparatus that receives event information and links components according to the event information, and inputs the information to the component. Component information table for storing the type of information to be stored, an event-task correspondence DB for storing the task and event information in which the execution procedure of the component to be linked is stored in association with each other, and an input for storing information on the type of information for each user Included in the basic information table, an event acquisition unit that receives event information, a task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from an event-task correspondence DB, and the acquired task The component information table indicates the type of information input to the component. An information type acquisition unit acquired from the first acquisition unit that acquires information about the type of the acquired information from the input basic information table, and information acquired by the first acquisition unit is input to the component A task execution unit that executes a task , a determination unit that determines whether information about the type of information acquired by the information type acquisition unit is included in the received event information or acquisition information at the time of task execution, and And a second acquisition unit that acquires information to be input to the component from the event information when the determination unit determines that the event information includes the event information. The first acquisition unit is configured by the determination unit. When it is determined that it is not included, the task execution unit acquires information from the input basic information table, and the task execution unit performs the first acquisition unit or the second acquisition. The information obtained by the section to input the component is an information processing apparatus and executes the task.
また、本発明の一態様は、イベント情報を受信し、当該イベント情報に応じてコンポーネントを連携させる情報処理装置であって、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、イベント情報を受信するイベント取得部と、前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、を備え、前記イベント情報は、イベントを識別するイベントIDとイベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDとを含み、ユーザを識別するユーザIDを、イベント生成者IDと個別IDに対応させて記憶するID対応テーブルを更に備え、前記イベント取得部は、受信したイベント情報にイベント生成者IDと個別IDが含まれる場合に、当該イベント生成者IDと当該個別IDを、前記ID対応テーブルを用いてユーザIDに変換し、前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得することを特徴とする情報処理装置である。 One embodiment of the present invention is an information processing apparatus that receives event information and links components in accordance with the event information, and a component information table that stores types of information input to the components An event-task correspondence DB for storing the task describing the execution procedure and event information in association with each other, an input basic information table for storing information on the type of information for each user, an event acquisition unit for receiving event information, A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB, and a type of information that is input to a component included in the acquired task is acquired from the component information table. Information type acquisition unit and the acquired information A first acquisition unit that acquires information on a type from the input basic information table; and a task execution unit that inputs information acquired by the first acquisition unit into a component and executes a task, and the event The information includes an event ID for identifying the event, an event generator ID for identifying the event creator, and an individual ID for the event creator to manage the user. The user ID for identifying the user is the event creator ID, The event acquisition unit further includes an ID correspondence table that stores the event ID corresponding to the individual ID, and the event acquisition unit includes the event generator ID and the individual ID when the received event information includes the event generator ID and the individual ID. It converts into user ID using the ID correspondence table, and the task selection unit is based on the event ID and user ID. An information processing apparatus and obtains the disk.
また、本発明の一態様は、イベント情報を受信し、当該イベント情報に応じてコンポーネントを連携させる情報処理装置であって、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、イベント情報を受信するイベント取得部と、前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、を備え、前記イベント情報は、イベントを識別するイベントIDとユーザを識別するユーザIDを含み、前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得し、タスクとイベントIDが入力されると、当該タスクを当該イベントIDに対応させてイベント−タスク対応DBに登録するタスク登録部と、タスクを識別するタスクIDとユーザIDが入力されると、当該タスクの実行を許可するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク許可登録部と、タスクIDとユーザIDが入力されると、当該ユーザIDが当該タスクIDで識別されるタスクの実行を許可するユーザとして登録されている場合に、当該タスクを利用するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク利用登録部と、ユーザを識別するユーザIDを、イベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDに対応させて記憶するID対応テーブルと、を更に備え、前記タスク許可登録部は、個別IDとイベント生成者IDが入力された場合には、当該個別IDと当該イベント生成者IDを、ID対応テーブルを用いてユーザIDに変換し、変換したユーザIDをイベント−タスク対応DBに登録することを特徴とする情報処理装置である。 One embodiment of the present invention is an information processing apparatus that receives event information and links components in accordance with the event information, and a component information table that stores types of information input to the components An event-task correspondence DB for storing the task describing the execution procedure and event information in association with each other, an input basic information table for storing information on the type of information for each user, an event acquisition unit for receiving event information, A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB, and a type of information that is input to a component included in the acquired task is acquired from the component information table. Information type acquisition unit and the acquired information A first acquisition unit that acquires information on a type from the input basic information table; and a task execution unit that inputs information acquired by the first acquisition unit into a component and executes a task, and the event The information includes an event ID for identifying an event and a user ID for identifying a user. The task selection unit acquires a task based on the event ID and the user ID, and when the task and the event ID are input, the task Is registered in the event-task correspondence DB in association with the event ID, and when the task ID and user ID for identifying the task are input, the user ID is assigned to the event as a user who is permitted to execute the task. -When a task permission registration unit to be registered in the task correspondence DB, a task ID, and a user ID are input, the user A task use registration unit for registering the user ID in the event-task correspondence DB as a user who uses the task when the ID is registered as a user who permits execution of the task identified by the task ID; The task permission registration unit further comprising: an event correspondence ID for storing a user ID for identifying the event creator in association with an event creator ID for identifying the event creator and an individual ID for the event creator to manage the user. When an individual ID and an event generator ID are input, the individual ID and the event generator ID are converted into a user ID using an ID correspondence table, and the converted user ID is converted into an event-task correspondence DB. It is an information processing apparatus characterized by registering in the system .
また、本発明の一態様は、イベント情報を受信し、当該イベント情報に応じてコンポーネントを連携させる情報処理装置であって、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、イベント情報を受信するイベント取得部と、前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、を備え、前記イベント情報は、イベントを識別するイベントIDとイベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDとを含み、ユーザを識別するユーザIDを、イベント生成者IDと個別IDに対応させて記憶するID対応テーブルを備え、前記イベント取得部は、受信したイベント情報にイベント生成者IDと個別IDが含まれる場合に、当該イベント生成者IDと当該個別IDを、前記ID対応テーブルを用いてユーザIDに変換し、前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得し、タスクとイベントIDが入力されると、当該タスクを当該イベントIDに対応させてイベント−タスク対応DBに登録するタスク登録部と、タスクを識別するタスクIDとユーザIDが入力されると、当該タスクの実行を許可するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク許可登録部と、タスクIDとユーザIDが入力されると、当該ユーザIDが当該タスクIDで識別されるタスクの実行を許可するユーザとして登録されている場合に、当該タスクを利用するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク利用登録部と、ユーザを識別するユーザIDを、イベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDに対応させて記憶するID対応テーブルと、を更に備え、前記タスク許可登録部は、個別IDとイベント生成者IDが入力された場合には、当該個別IDと当該イベント生成者IDを、ID対応テーブルを用いてユーザIDに変換し、変換したユーザIDをイベント−タスク対応DBに登録することを特徴とする情報処理装置である。 One embodiment of the present invention is an information processing apparatus that receives event information and links components in accordance with the event information, and a component information table that stores types of information input to the components An event-task correspondence DB for storing the task describing the execution procedure and event information in association with each other, an input basic information table for storing information on the type of information for each user, an event acquisition unit for receiving event information, A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB, and a type of information that is input to a component included in the acquired task is acquired from the component information table. Information type acquisition unit and the acquired information A first acquisition unit that acquires information on a type from the input basic information table; and a task execution unit that inputs information acquired by the first acquisition unit into a component and executes a task, and the event The information includes an event ID for identifying the event, an event generator ID for identifying the event creator, and an individual ID for the event creator to manage the user. The user ID for identifying the user is the event creator ID, The event acquisition unit includes an ID correspondence table that stores information corresponding to an individual ID, and the event acquisition unit stores the event generator ID and the individual ID when the received event information includes the event generator ID and the individual ID. Using the ID correspondence table, the task selection unit converts the task ID into a user ID based on the event ID and the user ID. When a task and an event ID are input, a task registration unit that registers the task in the event-task correspondence DB in association with the event ID, a task ID that identifies the task, and a user ID are input. And a task permission registration unit that registers the user ID in the event-task correspondence DB as a user permitted to execute the task, and the task ID and the user ID are input, the user ID is identified by the task ID. A task usage registration unit that registers the user ID in the event-task correspondence DB as a user who uses the task, and a user ID that identifies the user The event generator ID for identifying the generator and the individual ID for managing the user by the event generator And an ID correspondence table that stores the ID, the task permission registration unit uses the ID correspondence table for the individual ID and the event generator ID when the individual ID and the event generator ID are input. The information processing apparatus is characterized in that the information is converted into a user ID and the converted user ID is registered in an event-task correspondence DB .
また、本発明の一態様は、イベント情報を受信し、当該イベント情報に応じてコンポーネントを連携させる情報処理方法であって、イベント情報を受信するステップと、前記受信したイベント情報に対応するタスクを、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBから取得するステップと、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルから取得するステップと、前記取得した情報の種別に関する情報を、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルから取得するステップと、前記取得した情報をコンポーネントに入力してタスクを実行するステップと、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定するステップと、前記取得した情報の種別に関する情報が前記受信したイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得するステップとを有し、前記取得した情報の種別に関する情報を取得するステップでは、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、前記タスクを実行するステップでは、前記入力基礎情報テーブルから取得した情報または前記イベント情報から取得した情報をコンポーネントに入力してタスクを実行することを特徴とする情報処理方法である。 One embodiment of the present invention is an information processing method for receiving event information and linking components in accordance with the event information, the step of receiving event information, and a task corresponding to the received event information. , Acquiring from the event-task correspondence DB that stores the task describing the execution procedure of the component to be linked and the event information in association with each other, and inputting the type of information to be input to the component included in the acquired task to the component Acquiring from the component information table storing the type of information to be acquired, acquiring information related to the acquired information type from an input basic information table storing information related to the type of information for each user, and the acquired Enter information into a component to perform a task That step a, the event information related to the type of the acquired information and determining whether or not included in the received event information or the information acquired during task execution, information related to the type of the acquired information to the received If it is determined to be included in the information it is to have the acquiring information input from the event information to the component, in the step of acquiring information related to the type of the acquired information, a type of the acquired information In the step of acquiring information from the input basic information table and executing the task when it is determined that the received information is not included in the received event information or acquisition information at the time of task execution, the input basic information table Enter the information obtained from the event information or the information obtained from the event information into the component. An information processing method characterized in that to perform the task.
また、本発明の一態様は、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、を備えるコンピュータに、イベント情報を受信するステップと、前記受信したイベント情報に対応するタスクをイベント−タスク対応DBから取得するステップと、前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得するステップと、前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得するステップと、前記取得した情報をコンポーネントに入力してタスクを実行するステップと、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定するステップと、前記取得した情報の種別に関する情報が前記受信したイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得するステップと、を実行させ、前記取得した情報の種別に関する情報を取得するステップでは、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、前記タスクを実行するステップでは、前記入力基礎情報テーブルから取得した情報または前記イベント情報から取得した情報をコンポーネントに入力してタスクを実行するためのプログラムである。 Further, according to one aspect of the present invention, a component information table that stores a type of information input to a component, an event-task correspondence DB that stores a task describing an execution procedure of a component to be linked and event information in association with each other, A step of receiving event information in a computer comprising an input basic information table for storing information on the type of information for each user; and a step of acquiring a task corresponding to the received event information from the event-task correspondence DB; Acquiring from the component information table the type of information input to the component included in the acquired task, acquiring from the input basic information table information related to the acquired information type, and the acquired information In the component Performing a task, and determining information about the type is whether included in the received event information or the information acquired when the task execution of the acquired information, information related to the type of the acquired information is the If it is determined that it is included in the received event information, the step of acquiring information to be input to the component from the event information is executed , and the step of acquiring information on the type of the acquired information includes the acquisition When it is determined that information regarding the type of information that is received is not included in the received event information or acquisition information at the time of task execution, the information is acquired from the input basic information table, and in the step of executing the task, Information acquired from the input basic information table or information acquired from the event information Enter the component is a program for executing the task.
本発明によれば、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルからコンポーネントへの入力情報を取得し、コンポーネントを連携させるタスクを実行するので、タスクまたはコンポーネント作成時にコンポーネントへの入力情報をタスクまたはコンポーネントに登録しておく必要がない。このため、コンポーネント利用時に必要となる入力情報を動的に取得でき、多様なイベントやコンポーネントを用いたサービスが提供可能になる。 According to the present invention, input information to a component is acquired from an input basic information table that stores information related to the type of information for each user, and a task for linking components is executed. There is no need to register information in tasks or components. For this reason, input information required when using the component can be dynamically acquired, and services using various events and components can be provided.
以下、図面を参照しながら本発明の実施形態について詳しく説明する。本実施形態では、マンションの居住者(以下、マンションユーザとする)向けにサービスを提供するマンションシステムについて説明する。マンションシステムの管理者(以下、MS管理者とする)は、電子錠の開閉等の多様なイベントを契機に、マンションユーザにコンポーネントを連携させたサービスを提供する。具体的には、マンションシステムは、マンションユーザの外出時にマンション周辺の天気情報を配信するサービスと、マンションユーザの帰宅時にマンションユーザが興味を持つ話題についてのブログ記事と関連広告を配信するサービスとをマンションユーザに提供する。なお、本例はあくまでも実施の一形態を示すものであり、特許請求の範囲を限定するものではない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, a condominium system that provides services for condominium residents (hereinafter referred to as condominium users) will be described. A condominium system administrator (hereinafter referred to as an MS administrator) provides a service in which components are linked to condominium users, triggered by various events such as opening and closing of an electronic lock. Specifically, the condominium system has a service that delivers weather information around the apartment when the condominium user goes out, and a service that delivers blog articles and related advertisements on topics that the condominium user is interested in when the condominium user returns home. Provide to condominium users. In addition, this example shows one Embodiment to the last, and does not limit a claim.
図1は、本発明の実施形態による情報処理装置200の構成を示すブロック図である。
この図に示すとおり、情報処理装置200は、複数のイベント生成装置100と接続されている。また、情報処理装置200は、Web上などに公開された複数のコンポーネント300を取得することができる。
FIG. 1 is a block diagram showing a configuration of an
As shown in this figure, the
イベント生成装置100は、イベントを生成し、生成したイベントの情報であるイベント情報を情報処理装置200へ送信する装置である。本実施形態では、イベント生成装置100は、マンションの電子錠の開閉時にイベントを生成する。イベント情報には、イベントの識別番号であるイベントIDと、イベントとタスクを生成するタスク生成者(本実施形態では、MS管理者)の識別番号であるイベント生成者ID、タスク生成者がユーザを管理するためのイベント送信用のユーザの識別番号であるイベントサービス内ユーザIDが含まれる。
The
コンポーネント300は、Web上に公開されたWebサービスなどのプログラムコンポーネントであり、SOAP(Simple Object Access Protocol)等を用いて利用することができる。
The
情報処理装置200は、イベント生成装置100から受信したイベント情報に基づいて、コンポーネント300を連携させる装置である。情報処理装置200は、タスク実行部201と、イベント取得部202と、タスク選択部203と、タスク登録部204と、タスク利用登録部205と、入力基礎情報テーブル211と、コンポーネント情報テーブル212と、ID対応テーブル213と、イベント−タスク対応DB214と、を含んで構成される。
The
イベント取得部202は、イベント生成装置100からイベント情報を受信し、受信したイベント情報をタスク選択部203へ出力する。タスク選択部203は、入力されたイベント情報を用いてイベント−タスク対応DB214からタスクを取得し、取得したタスクをタスク実行部201に出力する。タスクには、連携するコンポーネント300の実行手順が定義されている。タスク実行部201は、入力されたタスクを実行する。タスク登録部204は、タスクとイベントを対応させてイベント−タスク対応DB214に登録する。タスク利用登録部205は、タスクを利用するユーザをイベント−タスク対応DB214に登録する。
The
図2は、本実施形態における入力基礎情報テーブル211のデータ構成及びデータ例を示す概略図である。入力基礎情報テーブル211のデータは、サービス利用者であるユーザ(本実施形態では、マンションユーザ)により登録されるユーザの個人情報である。図示するように、入力基礎情報テーブル211は、行と列からなる2次元の表形式のデータであり、ユーザIDと、興味情報と、連絡先の各項目の列を有している。この入力基礎情報テーブル211の主キーはユーザIDである。入力基礎情報テーブル211の各行は、ユーザ毎に存在する。入力基礎情報テーブル211は、データの値によって他のテーブルと関連付けられている。ユーザIDは、ユーザの識別番号である。興味情報は、ユーザが興味を持つ項目である。連絡先は、ユーザの連絡先である。興味情報と連絡先は、情報の種別である。この図に示す例では、ユーザID「User1」の興味情報「健康」と連絡先「mail@mail.com」が登録されている。 FIG. 2 is a schematic diagram illustrating a data configuration and a data example of the input basic information table 211 in the present embodiment. The data in the input basic information table 211 is personal information of a user registered by a user who is a service user (in this embodiment, a condominium user). As shown in the figure, the input basic information table 211 is two-dimensional tabular data composed of rows and columns, and has columns of user ID, interest information, and contact items. The primary key of this input basic information table 211 is a user ID. Each row of the input basic information table 211 exists for each user. The input basic information table 211 is associated with other tables by data values. The user ID is a user identification number. Interest information is an item that the user is interested in. The contact information is the contact information of the user. Interest information and contact information are types of information. In the example shown in this figure, interest information “health” of user ID “User1” and contact information “mail@mail.com” are registered.
図3は、本実施形態におけるコンポーネント情報テーブル212のデータ構成及びデータ例を示す概略図である。コンポーネント情報テーブル212のデータは、コンポーネント300を提供するコンポーネント提供者により登録される。図示するように、コンポーネント情報テーブル212は、行と列からなる2次元の表形式のデータであり、コンポーネントIDと、入力の情報種別IDと、出力の情報種別IDの各項目の列を有している。このコンポーネント情報テーブル212の主キーはコンポーネントIDである。コンポーネント情報テーブル212の各行は、コンポーネント300毎に存在する。コンポーネント情報テーブル212は、データの値によって他のテーブルと関連付けられている。コンポーネントIDは、コンポーネント300の識別番号である。入力の情報種別IDは、コンポーネント300に入力する情報の種別を示す識別情報である。出力の情報種別IDは、コンポーネント300が出力する情報の種別を示す識別情報である。この図に示す例では、コンポーネントID「Weather1」の入力の情報種別IDは「住所」、出力の情報種別IDは「文字列」である。また、コンポーネントID「Blog1」の入力の情報種別IDは「興味情報」、出力の情報種別IDは「文字列」である。また、コンポーネントID「Ad1」の入力の情報種別IDは「興味情報」、出力の情報種別IDは「文字列」である。また、コンポーネントID「report1」の入力の情報種別IDは「連絡先」及び「文字列」である。
FIG. 3 is a schematic diagram illustrating a data configuration and a data example of the component information table 212 in the present embodiment. The data in the component information table 212 is registered by a component provider that provides the
図4は、本実施形態におけるID対応テーブル213のデータ構成及びデータ例を示す概略図である。図示するように、ID対応テーブル213は、行と列からなる2次元の表形式のデータであり、ユーザIDと、イベント生成者IDと、イベントサービス内ユーザID(個別ID)の各項目の列を有している。このID対応テーブル213の主キーはユーザIDである。ID対応テーブル213の各行は、ユーザ毎に存在する。この図に示す例では、ユーザID「User1」のイベント生成者IDは「eventGen1」、イベントサービス内ユーザIDは「MUser1」である。 FIG. 4 is a schematic diagram illustrating a data configuration and a data example of the ID correspondence table 213 in the present embodiment. As shown in the figure, the ID correspondence table 213 is two-dimensional tabular data composed of rows and columns, and columns of items of user ID, event generator ID, and event service user ID (individual ID). have. The primary key of this ID correspondence table 213 is a user ID. Each row of the ID correspondence table 213 exists for each user. In the example shown in this figure, the event generator ID of the user ID “User1” is “eventGen1”, and the event service user ID is “MUuser1”.
次に、イベント−タスク対応DB214に記憶されるデータについて説明する。イベント−タスク対応DB214に記憶されるデータはタスク生成者によって登録される。
図5は、本実施形態におけるイベント−タスク対応DB214に記憶されるタスクの例を示す概略図である。図示するように、タスクは、XML(Extensible Markup Language)で記述されている。タスクには、連携させるコンポーネント300と実行手順、コンポーネント300間で受け渡す値が定義されている。図に示すタスクは、タスクIDが「gaishutuTask1」である。また、このタスクは、天気コンポーネント「Weather1」と通知コンポーネント「report1」を順に実行する。また、天気コンポーネントの出力する文字列が通知コンポーネントに入力される文字列となる。
Next, data stored in the event-
FIG. 5 is a schematic diagram illustrating an example of tasks stored in the event-
図6は、本実施形態におけるイベント−タスク対応DB214に記憶されるタスクの例を示す概略図である。図に示すタスクは、タスクIDが「kitakuTask1」である。また、このタスクは、ブログコンポーネント「blog1」と広告コンポーネント「ad1」を同時に実行する。そして、このタスクは、ブログコンポーネントと広告コンポーネントの実行後に通知コンポーネント「report1」を実行する。また、ブログコンポーネントと広告コンポーネントが出力する文字列が通知コンポーネント「report1」に入力する文字列となる。
イベント−タスク対応DB214に記憶されるタスクテーブルには、図5、6に例示したようなタスクと、それを特定するための識別番号であるタスクIDが登録されている。
FIG. 6 is a schematic diagram illustrating an example of tasks stored in the event-
In the task table stored in the event-
図7は、本実施形態におけるイベント−タスク対応DB214に記憶されるイベント−タスク対応テーブルのデータ構成及びデータ例を示す概略図である。図示するようにイベント−タスク対応テーブルは、行と列からなる2次元の表形式のデータであり、イベントIDと、ユーザIDと、タスクIDの各項目の列を有している。このイベント−タスク対応テーブルの主キーはイベントIDとユーザIDである。イベント−タスク対応テーブルの各行は、イベントとユーザ毎に存在する。イベント−タスク対応テーブルは、データの値によって他のテーブルと関連付けられている。イベントIDはタスクの起動条件となるイベントの識別番号である。ユーザIDは、タスクを実行するユーザのユーザID、タスクIDは実行されるタスクの識別番号である。この図に示す例では、イベントID「gaishutuEvent1」とユーザID「User1」にタスクID「gaishutuTask1」が対応付けられて登録されている。また、イベントID「kitakuEvent1」とユーザID「User1」にタスクID「kitakuTask1」が対応付けられて登録されている。
FIG. 7 is a schematic diagram illustrating a data configuration and a data example of an event-task correspondence table stored in the event-
図8は、本実施形態におけるイベント−タスク対応DB214に記憶されるタスク起動ユーザテーブルのデータ構成及びデータ例を示す概略図である。タスク起動ユーザテーブルは、タスクの実行を許可するユーザを示すデータである。図示するようにタスク起動ユーザテーブルは、行と列からなる2次元の表形式のデータであり、タスクIDとユーザIDの各項目の列を有している。このタスク起動ユーザテーブルの主キーはタスクIDとユーザIDである。タスク起動ユーザテーブルはタスクとユーザ毎に存在する。タスク起動ユーザテーブルは、データの値によって他のテーブルと関連付けられている。この図に示す例では、タスクID「gaishutuTask1」とユーザID「User1」が対応付けられて登録されている。また、タスクID「kitakuTask1」とユーザID「User1」が対応付けられて登録されている。
FIG. 8 is a schematic diagram illustrating a data configuration and a data example of a task activation user table stored in the event-
次に、情報処理装置200による処理手順について説明する。
図9は、本実施形態におけるタスク登録処理の手順を示すフローチャートである。
まず、ステップS1では、タスク登録部204は、タスク生成者により選択された処理内容を判定する。処理内容がタスク登録である場合には、ステップS2へ進む。処理内容がイベント−タスク対応登録である場合には、ステップS3へ進む。処理内容がタスク起動ユーザ登録である場合には、ステップS4へ進む。
Next, a processing procedure performed by the
FIG. 9 is a flowchart showing a procedure of task registration processing in the present embodiment.
First, in step S1, the
ステップS2では、タスク登録部204は、入力されたタスクにタスクIDを付与してタスクテーブルに登録する。タスク登録部204には、あらかじめタスク生成者が生成したタスクが入力されている。
In step S2, the
ステップS3では、タスク登録部204は、タスクIDとタスクを起動するためのイベントIDをイベント−タスク対応テーブルに登録する。タスク登録部204には、あらかじめタスク生成者によりタスクIDとそのタスクを起動させるためのイベントIDが入力されている。図7に示す例では、タスク登録部204は、タスクID「gaishutuTask1」とイベントID「gaishutuEvent1」を対応させて登録している。また、タスク登録部204は、タスクID「kitakuTask1」とイベントID「kitakuEvent1」を対応させて登録している。
In step S3, the
次のステップS4及びS5では、タスクの実行を許可するユーザを登録する。タスク登録部204には、あらかじめタスク生成者によりイベント生成者ID、タスクID、及びイベントサービス内ユーザIDの組が入力されている。
ステップS4では、タスク登録部204は、入力されたイベント生成者IDとイベントサービス内ユーザIDを、ID対応テーブル213を用いてユーザIDに変換する。
In the next steps S4 and S5, a user who is permitted to execute the task is registered. In the
In step S <b> 4, the
次のステップS5では、タスク登録部204は、入力されたタスクIDと変換したユーザIDを対応させてタスク起動ユーザテーブルに登録する(タスク許可登録部に相当)。図8に示す例では、タスク登録部204は、タスクID「gaishutuTask1」と「kitakuTask1」をユーザID「User1」と対応付けて登録している。これにより、ユーザID「User1」のユーザは、「gaishutuTask1」と「kitakuTask1」が利用可能となる。なお、上述したタスク登録部204の機能はCGI(Common Gateway Interface)等を用いた一般的なWebアプリケーションによって実装可能である。
In the next step S5, the
図10は、本実施形態における利用登録処理の手順を示すフローチャートである。タスク生成者は、図9に示すタスク登録処理が完了すると、ユーザへその登録情報を通知する。ユーザは、その登録情報を用いてタスク利用登録を行う。具体的には、ユーザは、情報処理装置200にユーザIDとタスクIDを入力する。以下の処理は、ユーザによってユーザID及びタスクIDが入力されるとスタートする。
FIG. 10 is a flowchart showing the procedure of use registration processing in the present embodiment. When the task registration process shown in FIG. 9 is completed, the task generator notifies the user of the registration information. The user performs task use registration using the registration information. Specifically, the user inputs a user ID and a task ID to the
まず、ステップS11では、タスク利用登録部205は、入力されたユーザIDとタスクIDの組がタスク起動ユーザテーブルに登録されているか否かを判定する。登録されている場合には、ステップS12に進む。登録されていない場合には、処理を終了する。次のステップS12では、まず、タスク利用登録部205は、入力されたタスクIDで指定されたタスクを起動するためのイベントIDをイベント−タスク対応テーブルから取得する。次に、タスク利用登録部205は、イベント−タスク対応テーブルに、入力されたユーザIDとタスクIDと取得したイベントIDを登録する。図7に示す例では、タスク利用登録部205は、イベントID「gaishutuEvent1」、ユーザID「User1」、タスクID「gaishutuTask1」を対応付けて登録している。また、タスク利用登録部205は、イベントID「kitakuEvent1」、ユーザID「User1」、タスクID「kitakuTask1」を対応付けて登録している。これにより、「User1」の帰宅・外出時に「kitakuTask1」・「gaishutuTask1」が実行される。なお、上述したタスク利用登録部205の機能はCGI等を用いた一般的なWebアプリケーションによって実装可能である。
First, in step S11, the task use
図11は、本実施形態におけるイベント受信処理の手順を示すフローチャートである。この処理は、情報処理装置200がイベント生成装置100からイベント情報を受信するとスタートする。本実施形態では、ユーザがマンションから外出した場合には、イベント情報には「gaishutuEvent1」、「MUser1」、「eventGen1」及び「ユーザの住所」が含まれる。また、ユーザがマンションへ帰宅した場合には、イベント情報には「kitakuEvent1」、「MUser1」及び「eventGen1」が含まれる。以下では、ユーザが外出した場合を例にして説明する。なお、イベント生成装置100は、SOAP等を用いて情報処理装置200へイベント情報を送信する。
FIG. 11 is a flowchart showing a procedure of event reception processing in the present embodiment. This process starts when the
処理がスタートすると、まず、ステップS101で、イベント取得部202がイベント情報を受信し、受信したイベント情報にイベント生成者IDが含まれるか否かを判定する。含まれている場合には、ステップS102へ進む。一方、含まれていない場合には、ステップS103へ進む。本例では、イベント生成者IDが含まれるのでステップS102へ進む。なお、イベント情報にイベント生成者IDが含まれていない場合には、イベント情報にユーザIDが含まれている。
When the process starts, first, in step S101, the
ステップS102では、イベント取得部202がID対応テーブル213を用いて、イベント情報に含まれるイベント生成者IDとイベントサービス内ユーザIDをユーザIDに変換する。本例では、イベント取得部202は、イベント生成者ID「eventGen1」とイベントサービス内ユーザID「MUser1」をユーザID「User1」に変換する。
In step S102, the
続いて、ステップS103では、イベント取得部202は、イベント情報に含まれるイベントIDと、ユーザIDとその他の受信情報をタスク選択部203に入力する。本例では、イベント取得部202は、「gaishutuEvent1」、「User1」と「ユーザの住所」をタスク選択部203に入力する。
Subsequently, in step S <b> 103, the
次のステップS104では、タスク選択部203は、イベントID、ユーザIDをキーにして、イベント−タスク対応DB214内のイベント−タスク対応テーブルからタスクIDを取得する。本例では、タスク選択部203は、タスクID「gaishutuTask1」を取得する。次のステップS105では、タスク選択部203は、タスクIDをキーにして、イベント−タスク対応DB214内のタスクテーブルからタスクを取得する。本例では、タスク選択部203は、図5に示されるタスクを取得する。
In the next step S104, the
続いて、ステップS106では、タスク選択部203は、取得したタスク、ユーザID、その他の受信情報をタスク実行部201に入力する。本例では、タスク選択部203は、図5に示されるタスク、「User1」及び「ユーザの住所」をタスク実行部201に入力する。次のステップS107では、タスク実行部201が後述するタスク実行処理を行って、この処理を終了する。
In step S106, the
図12は、本実施形態におけるタスク実行処理の手順を示すフローチャートである。この処理はタスク実行部201にタスクとユーザIDが入力されるとスタートする。処理がスタートすると、ステップS201では、タスク実行部201は、入力されたタスクに含まれるコンポーネントIDを取得する。例では、タスク実行部201は、「Weather1」と「report1」を取得する。
FIG. 12 is a flowchart showing a procedure of task execution processing in the present embodiment. This process starts when a task and a user ID are input to the
次のステップS202では、タスク実行部201は、タスクで実行するコンポーネント300の入力の情報種別IDをコンポーネント情報テーブル212から取得する(情報種別取得部に相当)。例では、タスク実行部201は、「Weather1」の入力の情報種別ID「住所」と、「report1」の入力の情報種別ID「連絡先」「文字列」を取得する。
In the next step S202, the
次のステップS203では、タスク実行部201は、タスク内のinvoke項(タスク実行時の取得情報)を解析してタスク実行時に取得されない入力の情報種別IDを特定する。例では、「住所」と「連絡先」がタスク実行時に取得されない入力の情報種別IDである。
In the next step S203, the
次のステップS204では、タスク実行部201は、特定された入力の情報種別IDに対応する情報がその他の受信情報にあるか否かを判定する(判定部に相当)。例では、「住所」がその他の受信情報に含まれる。その他の受信情報にある場合には、ステップS206へ進む。その他の受信情報にない場合には、ステップS205へ進む。
In the next step S204, the
ステップS205では、タスク実行部201は、入力基礎情報テーブル211からユーザIDをキーにコンポーネント300への入力情報を取得する。例では、連絡先「mail@mail.com」を取得する(第1の取得部に相当)。一方、ステップS206では、タスク実行部201は、その他の受信情報からコンポーネント300への入力情報を取得する(第2の取得部に相当)。例では、住所「ユーザの住所」を取得する。
In step S <b> 205, the
次のステップS207では、タスク実行に必要な全ての入力の情報種別IDについて入力情報が取得されたか否かを判定する。入力情報が取得されていない場合には、ステップS204へ移行する。一方、入力情報が全て取得されている場合には、次のステップS208へ進んで、タスク実行部201がタスクを実行し、処理を終了する。例では、タスク実行部201は、図5に示すタスクの記述に従い、まず、天気コンポーネントを利用し、「ユーザの住所」近辺の天気を取得する。次に、タスク実行部201は、天気コンポーネントが出力した文字列と「mail@mail.com」を通知コンポーネントに入力し、ユーザへ天気情報を通知する。
In the next step S207, it is determined whether or not input information has been acquired for all input information type IDs necessary for task execution. If the input information has not been acquired, the process proceeds to step S204. On the other hand, if all the input information has been acquired, the process proceeds to the next step S208, where the
なお、上では、ユーザが外出した場合を例にして説明しているが、ユーザが帰宅した際にも同様の処理が行われる。異なる点は、広告コンポーネント「Ad1」とブログコンポーネント「Blog1」が並列に利用されることである。タスク実行部201において、入力基礎情報テーブル211からUser1の興味情報「健康」を取得した後には、取得した興味情報「健康」を広告コンポーネント、ブログコンポーネントの双方に並列に送信する。また、タスク実行部201は、広告コンポーネント、ブログコンポーネントの出力結果を別々に通知コンポーネントに入力するのではなく、広告コンポーネント、ブログコンポーネント両方からの出力文字列を合わせて1つの文字列とし、通知コンポーネント「report1」に入力する。なお、さらに、「キーワード」を入力とし、入力された「キーワード」に関連する「キーワード」の配列を出力するキーワードコンポーネントを利用してもよい。その場合、まず、興味情報を広告コンポーネント、ブログコンポーネントへ入力する前に、キーワードコンポーネントに興味情報を入力する。次に、キーワードコンポーネントから出力された各キーワードを入力として広告コンポーネント、ブログコンポーネントを利用する。
In the above description, the case where the user goes out is described as an example, but the same processing is performed when the user returns home. The difference is that the advertisement component “Ad1” and the blog component “Blog1” are used in parallel. After the
このように、本実施形態によれば、コンポーネント300作成時には、コンポーネント情報テーブル212に情報の種別のみを登録する。また、コンポーネント300実行時には、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブル211からコンポーネント300への入力情報を取得し、コンポーネント300を連携させるタスクを実行するので、タスクまたはコンポーネント300作成時にコンポーネント300への入力情報をタスクまたはコンポーネント300に登録しておく必要がない。これにより、コンポーネント300利用時に必要となる入力情報を動的に取得可能となる。
また、イベント情報に含まれたその他の受信情報をコンポーネント300への入力情報として利用できるため、入力基礎情報テーブル211に含まれない情報を入力とするコンポーネント300を連携させるタスクの生成が可能となる。
As described above, according to the present embodiment, when the
Further, since other received information included in the event information can be used as input information to the
また、図9、10、11、12に示す各ステップを実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、コンポーネント連携処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Also, a program for realizing the steps shown in FIGS. 9, 10, 11, and 12 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed. Thus, the component cooperation processing may be performed. Here, the “computer system” may include an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to
例えば、本実施形態では、イベント生成装置100及びコンポーネント300が情報処理装置200の外部に設置されているが、図13、図14に示すように構成してもよい。図13では、イベント生成装置100及び情報処理装置800にコンポーネント300が含まれている。情報処理装置800のタスク実行部801は、イベント生成装置100のコンポーネント300と、外部のコンポーネント300と、情報処理装置600に含まれるコンポーネント300を連携させて実行する。他の構成は上述した実施形態の情報処理装置200の構成と同様なので説明を省略する。
For example, in the present embodiment, the
また、図14では、情報処理装置900にイベント生成装置100が含まれる。情報処理装置900のイベント取得部902は、情報処理装置900に含まれるイベント生成装置100のイベントを受信してもよい。他の構成は上述した実施形態の情報処理装置200の構成と同様なので説明を省略する。
In FIG. 14, the
100…イベント生成装置 200,800,900…情報処理装置 201…タスク実行部 202…イベント取得部 203…タスク選択部 204…タスク登録部 205…タスク利用登録部 211…入力基礎情報テーブル 212…コンポーネント情報テーブル 213…ID対応テーブル 214…イベント−タスク対応DB 300…コンポーネント
DESCRIPTION OF
Claims (6)
コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、
連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、
ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、
イベント情報を受信するイベント取得部と、
前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、
前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、
前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、
前記情報種別取得部により取得された情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定する判定部と、
前記判定部によりイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得する第2の取得部と、
を備え、
前記第1の取得部は、前記判定部により含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、
前記タスク実行部は、前記第1の取得部または前記第2の取得部により取得された情報をコンポーネントに入力してタスクを実行する
ことを特徴とする情報処理装置。 An information processing apparatus that receives event information and links components according to the event information,
A component information table for storing the type of information to be input to the component;
An event-task correspondence DB for storing a task describing the execution procedure of the component to be linked and event information in association with each other;
An input basic information table for storing information related to the type of information for each user;
An event acquisition unit for receiving event information;
A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB;
An information type acquisition unit for acquiring the type of information input to the component included in the acquired task from the component information table;
A first acquisition unit that acquires information about the type of the acquired information from the input basic information table;
A task execution unit that inputs information acquired by the first acquisition unit to a component and executes a task;
A determination unit that determines whether or not information about the type of information acquired by the information type acquisition unit is included in the received event information or acquisition information at the time of task execution;
A second acquisition unit that acquires information to be input to the component from the event information, when the determination unit determines that the event information includes the event information;
With
The first acquisition unit acquires information from the input basic information table when it is determined that the first acquisition unit is not included by the determination unit;
The information processing apparatus , wherein the task execution unit executes a task by inputting information acquired by the first acquisition unit or the second acquisition unit to a component .
コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、
連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、
ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、
イベント情報を受信するイベント取得部と、
前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、
前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、
前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、
を備え、
前記イベント情報は、イベントを識別するイベントIDとイベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDとを含み、
ユーザを識別するユーザIDを、イベント生成者IDと個別IDに対応させて記憶するID対応テーブルを更に備え、
前記イベント取得部は、受信したイベント情報にイベント生成者IDと個別IDが含まれる場合に、当該イベント生成者IDと当該個別IDを、前記ID対応テーブルを用いてユーザIDに変換し、
前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得する
ことを特徴とする情報処理装置。 An information processing apparatus that receives event information and links components according to the event information,
A component information table for storing the type of information to be input to the component;
An event-task correspondence DB for storing a task describing the execution procedure of the component to be linked and event information in association with each other;
An input basic information table for storing information related to the type of information for each user;
An event acquisition unit for receiving event information;
A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB;
An information type acquisition unit for acquiring the type of information input to the component included in the acquired task from the component information table;
A first acquisition unit that acquires information about the type of the acquired information from the input basic information table;
A task execution unit that inputs information acquired by the first acquisition unit to a component and executes a task;
Equipped with a,
The event information includes an event ID for identifying the event, an event generator ID for identifying the event generator, and an individual ID for the event generator to manage the user,
An ID correspondence table for storing a user ID for identifying the user in association with the event generator ID and the individual ID;
The event acquisition unit, when the event generator ID and the individual ID are included in the received event information, converts the event generator ID and the individual ID into a user ID using the ID correspondence table,
The information processing apparatus , wherein the task selection unit acquires a task based on an event ID and a user ID .
コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、
連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、
ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、
イベント情報を受信するイベント取得部と、
前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、
前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、
前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、
を備え、
前記イベント情報は、イベントを識別するイベントIDとユーザを識別するユーザIDを含み、
前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得し、
タスクとイベントIDが入力されると、当該タスクを当該イベントIDに対応させてイベント−タスク対応DBに登録するタスク登録部と、
タスクを識別するタスクIDとユーザIDが入力されると、当該タスクの実行を許可するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク許可登録部と、
タスクIDとユーザIDが入力されると、当該ユーザIDが当該タスクIDで識別されるタスクの実行を許可するユーザとして登録されている場合に、当該タスクを利用するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク利用登録部と、
ユーザを識別するユーザIDを、イベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDに対応させて記憶するID対応テーブルと、
を更に備え、
前記タスク許可登録部は、個別IDとイベント生成者IDが入力された場合には、当該個別IDと当該イベント生成者IDを、ID対応テーブルを用いてユーザIDに変換し、変換したユーザIDをイベント−タスク対応DBに登録する
ことを特徴とする情報処理装置。 An information processing apparatus that receives event information and links components according to the event information,
A component information table for storing the type of information to be input to the component;
An event-task correspondence DB for storing a task describing the execution procedure of the component to be linked and event information in association with each other;
An input basic information table for storing information related to the type of information for each user;
An event acquisition unit for receiving event information;
A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB;
An information type acquisition unit for acquiring the type of information input to the component included in the acquired task from the component information table;
A first acquisition unit that acquires information about the type of the acquired information from the input basic information table;
A task execution unit that inputs information acquired by the first acquisition unit to a component and executes a task;
Equipped with a,
The event information includes an event ID for identifying an event and a user ID for identifying a user,
The task selection unit acquires a task based on an event ID and a user ID,
When a task and an event ID are input, a task registration unit that registers the task in the event-task correspondence DB in association with the event ID;
When a task ID and a user ID for identifying a task are input, a task permission registration unit that registers the user ID in the event-task correspondence DB as a user who is permitted to execute the task;
When the task ID and the user ID are input, if the user ID is registered as a user who is permitted to execute the task identified by the task ID, the user ID is set as an event-user as a user who uses the task. A task use registration unit registered in the task correspondence DB;
An ID correspondence table for storing a user ID for identifying a user in association with an event creator ID for identifying the event creator and an individual ID for the event creator to manage the user;
Further comprising
When the individual ID and the event generator ID are input, the task permission registration unit converts the individual ID and the event generator ID into a user ID using an ID correspondence table, and converts the converted user ID. An information processing apparatus that is registered in an event-task correspondence DB .
コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルと、
連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、
ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、
イベント情報を受信するイベント取得部と、
前記イベント取得部により受信されたイベント情報に対応するタスクをイベント−タスク対応DBから取得するタスク選択部と、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得する情報種別取得部と、
前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得する第1の取得部と、
前記第1の取得部により取得された情報をコンポーネントに入力してタスクを実行するタスク実行部と、
を備え、
前記イベント情報は、イベントを識別するイベントIDとイベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDとを含み、
ユーザを識別するユーザIDを、イベント生成者IDと個別IDに対応させて記憶するID対応テーブルを備え、
前記イベント取得部は、受信したイベント情報にイベント生成者IDと個別IDが含まれる場合に、当該イベント生成者IDと当該個別IDを、前記ID対応テーブルを用いてユーザIDに変換し、
前記タスク選択部は、イベントID及びユーザIDに基づいてタスクを取得し、
タスクとイベントIDが入力されると、当該タスクを当該イベントIDに対応させてイベント−タスク対応DBに登録するタスク登録部と、
タスクを識別するタスクIDとユーザIDが入力されると、当該タスクの実行を許可するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク許可登録部と、
タスクIDとユーザIDが入力されると、当該ユーザIDが当該タスクIDで識別されるタスクの実行を許可するユーザとして登録されている場合に、当該タスクを利用するユーザとして当該ユーザIDをイベント−タスク対応DBに登録するタスク利用登録部と、
ユーザを識別するユーザIDを、イベント生成者を識別するイベント生成者IDとイベント生成者がユーザを管理するための個別IDに対応させて記憶するID対応テーブルと、
を更に備え、
前記タスク許可登録部は、個別IDとイベント生成者IDが入力された場合には、当該個別IDと当該イベント生成者IDを、ID対応テーブルを用いてユーザIDに変換し、変換したユーザIDをイベント−タスク対応DBに登録する
ことを特徴とする情報処理装置。 An information processing apparatus that receives event information and links components according to the event information,
A component information table for storing the type of information to be input to the component;
An event-task correspondence DB for storing a task describing the execution procedure of the component to be linked and event information in association with each other;
An input basic information table for storing information related to the type of information for each user;
An event acquisition unit for receiving event information;
A task selection unit that acquires a task corresponding to the event information received by the event acquisition unit from the event-task correspondence DB;
An information type acquisition unit for acquiring the type of information input to the component included in the acquired task from the component information table;
A first acquisition unit that acquires information about the type of the acquired information from the input basic information table;
A task execution unit that inputs information acquired by the first acquisition unit to a component and executes a task;
Equipped with a,
The event information includes an event ID for identifying the event, an event generator ID for identifying the event generator, and an individual ID for the event generator to manage the user,
An ID correspondence table for storing a user ID for identifying a user in association with an event generator ID and an individual ID;
The event acquisition unit, when the event generator ID and the individual ID are included in the received event information, converts the event generator ID and the individual ID into a user ID using the ID correspondence table,
The task selection unit acquires a task based on an event ID and a user ID,
When a task and an event ID are input, a task registration unit that registers the task in the event-task correspondence DB in association with the event ID;
When a task ID and a user ID for identifying a task are input, a task permission registration unit that registers the user ID in the event-task correspondence DB as a user who is permitted to execute the task;
When the task ID and the user ID are input, if the user ID is registered as a user who is permitted to execute the task identified by the task ID, the user ID is set as an event-user as a user who uses the task. A task use registration unit registered in the task correspondence DB;
An ID correspondence table for storing a user ID for identifying a user in association with an event creator ID for identifying the event creator and an individual ID for the event creator to manage the user;
Further comprising
When the individual ID and the event generator ID are input, the task permission registration unit converts the individual ID and the event generator ID into a user ID using an ID correspondence table, and converts the converted user ID. An information processing apparatus that is registered in an event-task correspondence DB .
イベント情報を受信するステップと、
前記受信したイベント情報に対応するタスクを、連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBから取得するステップと、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を、コンポーネントに入力する情報の種別を記憶するコンポーネント情報テーブルから取得するステップと、
前記取得した情報の種別に関する情報を、ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルから取得するステップと、
前記取得した情報をコンポーネントに入力してタスクを実行するステップと、
前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定するステップと、
前記取得した情報の種別に関する情報が前記受信したイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得するステップと
を有し、
前記取得した情報の種別に関する情報を取得するステップでは、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、
前記タスクを実行するステップでは、前記入力基礎情報テーブルから取得した情報または前記イベント情報から取得した情報をコンポーネントに入力してタスクを実行する
ことを特徴とする情報処理方法。 An information processing method for receiving event information and linking components according to the event information,
Receiving event information;
Obtaining a task corresponding to the received event information from an event-task correspondence DB that stores a task describing event execution information in association with a task that describes an execution procedure of a component to be linked;
Acquiring a type of information to be input to a component included in the acquired task from a component information table storing a type of information to be input to the component;
Obtaining information related to the type of information acquired from an input basic information table storing information related to the type of information for each user;
Inputting the acquired information into a component and executing a task;
Determining whether information about the type of the acquired information is included in the received event information or acquisition information at the time of task execution;
If the information related to the type of the acquired information is determined to be included in the received event information, possess the acquiring information input from the event information to the component,
In the step of acquiring information related to the acquired information type, if it is determined that the information related to the acquired information type is not included in the received event information or acquired information at the time of task execution, the input basic information Get information from the table,
In the step of executing the task, the task is executed by inputting information acquired from the input basic information table or information acquired from the event information to a component .
連携させるコンポーネントの実行手順を記述したタスクとイベント情報を対応付けて記憶するイベント−タスク対応DBと、
ユーザ毎に情報の種別に関する情報を記憶する入力基礎情報テーブルと、
を備えるコンピュータに、
イベント情報を受信するステップと、
前記受信したイベント情報に対応するタスクをイベント−タスク対応DBから取得するステップと、
前記取得したタスクに含まれるコンポーネントに入力する情報の種別を前記コンポーネント情報テーブルから取得するステップと、
前記取得した情報の種別に関する情報を前記入力基礎情報テーブルから取得するステップと、
前記取得した情報をコンポーネントに入力してタスクを実行するステップと、
前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれるか否かを判定するステップと、
前記取得した情報の種別に関する情報が前記受信したイベント情報に含まれると判定された場合には、前記イベント情報からコンポーネントへ入力する情報を取得するステップと、
を実行させ、
前記取得した情報の種別に関する情報を取得するステップでは、前記取得した情報の種別に関する情報が前記受信したイベント情報もしくはタスク実行時の取得情報に含まれないと判定された場合に、前記入力基礎情報テーブルから情報を取得し、
前記タスクを実行するステップでは、前記入力基礎情報テーブルから取得した情報または前記イベント情報から取得した情報をコンポーネントに入力してタスクを実行する
ためのプログラム。 A component information table for storing the type of information to be input to the component;
An event-task correspondence DB for storing a task describing the execution procedure of the component to be linked and event information in association with each other;
An input basic information table for storing information related to the type of information for each user;
On a computer with
Receiving event information;
Obtaining a task corresponding to the received event information from the event-task correspondence DB;
Acquiring from the component information table the type of information input to the component included in the acquired task;
Obtaining information about the type of the acquired information from the input basic information table;
Inputting the acquired information into a component and executing a task;
Determining whether information about the type of the acquired information is included in the received event information or acquisition information at the time of task execution;
If it is determined that information about the type of the acquired information is included in the received event information, obtaining information to be input to the component from the event information;
Was executed,
In the step of acquiring information related to the acquired information type, if it is determined that the information related to the acquired information type is not included in the received event information or acquired information at the time of task execution, the input basic information Get information from the table,
In the step of executing the task, a program for inputting information acquired from the input basic information table or information acquired from the event information to a component and executing the task .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008060073A JP5224858B2 (en) | 2008-03-10 | 2008-03-10 | Information processing apparatus, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008060073A JP5224858B2 (en) | 2008-03-10 | 2008-03-10 | Information processing apparatus, information processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009217509A JP2009217509A (en) | 2009-09-24 |
JP5224858B2 true JP5224858B2 (en) | 2013-07-03 |
Family
ID=41189292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008060073A Expired - Fee Related JP5224858B2 (en) | 2008-03-10 | 2008-03-10 | Information processing apparatus, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5224858B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6884743B2 (en) * | 2018-11-27 | 2021-06-09 | アンリツ株式会社 | Measuring device, measuring system and measuring method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001216211A (en) * | 1999-11-24 | 2001-08-10 | Sharp Corp | Internet service provision system and method, and macro server used in internet service provision system |
JP2006196956A (en) * | 2005-01-11 | 2006-07-27 | Matsushita Electric Ind Co Ltd | Terminal unit |
-
2008
- 2008-03-10 JP JP2008060073A patent/JP5224858B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009217509A (en) | 2009-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6599906B2 (en) | Login account prompt | |
Atkinson et al. | A practical approach to web service discovery and retrieval | |
KR100739715B1 (en) | Method and apparatus for performing an agreement of web services policy | |
US8429673B2 (en) | Systems and methods of accessing information across distributed computing components | |
JP2016524765A (en) | Method and apparatus for generating a customized software development kit (SDK) | |
CN106528657A (en) | Control method and device for browser skipping to application program | |
CN101876978B (en) | Website navigation system and method | |
KR101107319B1 (en) | Method and System for Providing Web Portal Service based on Open Application Program Interface | |
US8290152B2 (en) | Management system for web service developer keys | |
KR20090005846A (en) | Method for generating electronic content guide and apparatus therefor | |
JP4444944B2 (en) | Service linkage method | |
JP2011170757A (en) | Management server for inputting personal information, client terminal, personal information input system, and program | |
US20110137855A1 (en) | Music recognition method and system based on socialized music server | |
JP2007149036A (en) | Device and method for generating meta data | |
KR102054020B1 (en) | Building of a web corpus with the help of a reference web crawl | |
JP5224858B2 (en) | Information processing apparatus, information processing method, and program | |
JP4429229B2 (en) | Directory information providing method, directory information providing apparatus, directory information providing system, and program | |
KR20120137629A (en) | System for providing shorten url browsing with branding , method thereof, and web client thereof | |
US20080086476A1 (en) | Method for providing news syndication discovery and competitive awareness | |
JP2010198223A (en) | Relevance analysis system and relevance analysis method | |
Gold et al. | Program comprehension for web services | |
US20070136338A1 (en) | Valid transformation expressions for structured data | |
JP2012133470A (en) | Screen transition control apparatus | |
Hsiao et al. | A secure proxy-based cross-domain communication for web mashups | |
JP4133438B2 (en) | Network failure influence display control device, method thereof, program thereof, recording medium storing the program, and monitoring device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100127 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120725 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120807 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121009 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130305 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130312 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160322 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |